.sol-live-panel[data-sol-channel] {
  position: relative;
  container-type: inline-size;
  isolation: isolate;
}

.sol-live-panel[data-sol-channel] > .sol-live-channel-card {
  /* Bounds of the YouTube pane in the 1240 × 732 Live Control screenshot. */
  position: absolute;
  left: 1.6129%;
  top: 10.2459%;
  width: 62.0968%;
  height: 71.0383%;
  z-index: 1;
  display: grid;
  grid-template-rows: 34% minmax(0, .9fr) minmax(0, 1.15fr);
  gap: 1.2cqw;
  padding: 1.3cqw;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 1cqw;
  background: #111315;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.15;
}

.sol-live-panel[data-sol-channel] > .sol-live-channel-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 6px #005fcc;
}

.sol-live-panel[data-sol-channel] .sol-channel-banner,
.sol-live-panel[data-sol-channel] .sol-channel-videos img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .9cqw;
}

.sol-live-panel[data-sol-channel] .sol-channel-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
}

.sol-live-panel[data-sol-channel] .sol-channel-avatar {
  flex: none;
  width: 7.5cqw;
  height: 7.5cqw;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}

.sol-live-panel[data-sol-channel] .sol-channel-identity {
  display: grid;
  min-width: 0;
  gap: .45cqw;
  color: #c5c8cb;
  font-size: clamp(10px, 1.6cqw, 17px);
}

.sol-live-panel[data-sol-channel] .sol-channel-identity strong {
  color: #fff;
  font-size: clamp(13px, 3.1cqw, 32px);
  line-height: 1.06;
  white-space: nowrap;
}

.sol-live-panel[data-sol-channel] .sol-channel-open {
  flex: none;
  margin-inline-start: auto;
  padding: .85cqw 1.35cqw;
  border-radius: 99px;
  background: #eff2f4;
  color: #161719;
  font-size: clamp(9px, 1.6cqw, 17px);
  font-weight: 700;
  white-space: nowrap;
}

.sol-live-panel[data-sol-channel] .sol-live-channel-card:hover .sol-channel-open {
  background: #fff;
  text-decoration: underline;
}

.sol-live-panel[data-sol-channel] .sol-channel-videos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1.1cqw;
  min-height: 0;
}

.sol-live-panel[data-sol-channel] .sol-channel-videos img {
  min-height: 0;
}

.sol-live-panel[data-sol-channel] .sol-live-channel-card:not(:has(.sol-channel-videos img)) {
  grid-template-rows: minmax(0, 1.4fr) minmax(0, 1fr);
}

.sol-live-panel[data-sol-channel] .sol-channel-videos:empty {
  display: none;
}

@container (max-width: 310px) {
  .sol-live-panel[data-sol-channel] .sol-channel-profile {
    gap: 1.5cqw;
  }
  .sol-live-panel[data-sol-channel] .sol-channel-avatar {
    width: 6cqw;
    height: 6cqw;
  }
  .sol-live-panel[data-sol-channel] .sol-channel-open {
    padding: .7cqw .9cqw;
  }
}

.sol-live-channel-dialog {
  position: fixed;
  inset: 0;
  width: min(1240px, calc(100vw - 24px), calc(169.4vh - 136px));
  width: min(1240px, calc(100vw - 24px), calc(169.4dvh - 136px));
  max-width: none;
  max-height: calc(100% - 16px);
  box-sizing: border-box;
  margin: auto;
  padding: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #50625a;
  border-radius: 12px;
  background: #101917;
  color: #fff;
}

.sol-live-channel-dialog::backdrop {
  background: rgb(3 9 7 / 85%);
}

.sol-live-channel-dialog:not([open]) {
  display: none;
}

.sol-live-channel-dialog > button {
  display: block;
  min-height: 36px;
  margin: 0 0 6px auto;
  padding: 4px 12px;
  border: 1px solid #80998d;
  border-radius: 6px;
  background: #192b23;
  color: #fff;
  font: 600 14px/1.2 Arial, sans-serif;
  text-transform: none;
  cursor: pointer;
}

.sol-live-channel-dialog > button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sol-live-channel-dialog > .sol-live-panel[data-sol-channel] {
  margin: 0;
}
