#personalChannels {color:var(--text,#f4f4f7);background:var(--panel,#151821);border:1px solid #657085;border-radius:18px;width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;box-sizing:border-box;overflow:auto;}
#personalChannels::backdrop {background:#000b;}
#personalChannels * {box-sizing:border-box;}
#personalChannels h2 {margin:0;font-size:24px;}
#personalChannels h3 {margin:18px 0 8px;}
#personalChannels p,#personalChannels small {color:var(--muted,#aeb6c9);line-height:1.5;}
#personalChannels header,.pc-actions,.pc-row {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
#personalChannels header {justify-content:space-between;}
#personalChannels label {display:grid;gap:6px;font-size:14px;min-width:0;}
#personalChannels input,#personalChannels select,#personalChannels textarea {width:100%;background:var(--bg,#090d15);color:inherit;border:1px solid #657085;border-radius:8px;padding:10px;font:inherit;min-width:0;}
#pcYouTubeUrl {resize:vertical;min-height:110px;}
#pcYouTubeHelp {flex-basis:100%;}
#personalChannels button {min-height:40px;cursor:pointer;}
#personalChannels :focus-visible {outline:3px solid #62cfff;outline-offset:3px;}
.pc-grid {display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0;}
.pc-row {padding:12px 0;border-bottom:1px solid #65708555;}
.pc-row .pc-copy {flex:1;min-width:160px;overflow-wrap:anywhere;}
.pc-row .pc-copy strong,.pc-row .pc-copy small {display:block;}
.pc-row label {width:105px;}
.pc-source-list {max-height:270px;overflow:auto;margin:8px 0;}
.pc-selected {max-height:360px;overflow:auto;}
.pc-selected:empty::after {content:'Choose videos or streams below to build your channel.';display:block;padding:18px 0;color:#aeb6c9;}
#pcStatus {min-height:24px;color:#83d4ff;}
#pcStatus[data-error="true"] {color:#ffa7a7;}
#pcWeekly {border-top:1px solid #65708555;margin-top:18px;padding-top:12px;scroll-margin-top:80px;}
#pcWeekly details {margin:12px 0;border:1px solid #65708555;border-radius:10px;padding:10px;overflow-x:auto;}
#pcWeekly summary {cursor:pointer;font-weight:700;padding:8px;}
#pcWeekly table {width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed;}
#pcWeekly caption {text-align:left;padding:8px;color:var(--muted,#aeb6c9);}
#pcWeekly th,#pcWeekly td {text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px solid #65708544;overflow-wrap:anywhere;}
#pcWeekly th:first-child {width:90px;}
#pcWeekly th:nth-child(2) {width:30%;}
#pcEditor {border-top:1px solid #65708555;margin-top:18px;padding-top:12px;}
.pc-schedule {padding:0;list-style:none;}
.pc-schedule li {padding:8px 0;border-bottom:1px solid #65708555;}
#pcOpen {white-space:nowrap;padding:8px 12px;}
@media(max-width:600px){#personalChannels{padding:16px;max-height:calc(100dvh - 16px)}.pc-grid{grid-template-columns:1fr}.pc-row .pc-copy{flex-basis:100%}.pc-actions{gap:6px}#pcOpen{font-size:12px;padding:6px}}

#personalChannels [hidden] {display:none !important;}

#personalChannels header {position:sticky;top:-24px;background:var(--panel,#151821);z-index:2;padding:8px 0;}
@media(max-width:600px){#personalChannels header{top:-16px}}

#pcStation {width:auto;vertical-align:middle;margin-right:8px;}
.curated-intermission .up-next {display:none!important;}
#curatedControls {position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;z-index:45;padding:10px 14px;border-radius:12px;background:#111e;color:white;width:max-content;max-width:95%;font-size:12px;}
#curatedControls[hidden] {display:none;}
#curatedControls button {background:#292d34;color:white;border:1px solid #657085;border-radius:8px;padding:8px;cursor:pointer;}
#curatedControls label {display:flex;gap:5px;align-items:center;}
#curatedControls input {width:90px;}
.curated-broadcast #video::-webkit-media-controls {display:none!important;}
.curated-broadcast #previousEpisode,.curated-broadcast #nextEpisode,.curated-broadcast #playerSeriesLink,.curated-broadcast #togglePlayback,.curated-broadcast #playerTimeshift,.curated-broadcast #playerGoLive,.curated-broadcast #playerPictureInPicture,.curated-broadcast #playerCast,.curated-broadcast #playerDeviceShare,.curated-broadcast #openInVlc,.curated-broadcast #upNextOverlay,.curated-broadcast .vod-skip-button {display:none!important;}
.curated-broadcast [data-curated-skip] {display:none!important;}


@media(max-width:600px){#curatedControls{width:calc(100% - 24px);max-width:none;box-sizing:border-box;gap:8px;}#curatedControls strong{flex-basis:100%;text-align:center;}}

#curatedControls {position:static;transform:none;width:auto;max-width:none;padding:8px 0;border-radius:0;background:transparent;justify-content:flex-start;}
/* The export has a wide transparent right margin; center the visible mark. */
.tile-art img.station-logo-tile.loaded.has-image[src*="streamline-curated.png"] {
  width:120%!important;max-width:none!important;height:auto!important;max-height:none!important;
  aspect-ratio:1240/320!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;object-fit:contain!important;
  left:50%!important;top:50%!important;transform:translate(-37.4%,-50%)!important;filter:none!important;
}
/* Fit the visible 860 × 184 artwork, rather than its padded 1240 × 320 canvas.
   The same centered layout covers guide rows, loading tiles and channel info. */
[data-logo-key^="virtual:"].station-logo-tile.has-image {position:relative;background:#151920!important;padding:0!important;overflow:hidden!important;}
[data-logo-key^="virtual:"].station-logo-tile.has-image img {
  position:absolute!important;left:50%!important;top:50%!important;
  width:129.767442%!important;height:auto!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;object-fit:contain!important;background:transparent!important;
  transform:translate(-37.258065%,-48.75%)!important;transform-origin:center;filter:none!important;
}
.player-liquid-tile #playerMonogram[data-logo-key^="virtual:"],
.player-liquid-tile #playerLiquidMonogram[data-logo-key^="virtual:"] {
  inset:5%!important;width:90%!important;height:90%!important;padding:0!important;
  background:rgba(255,255,255,.06)!important;
}
.player-liquid-tile #playerMonogram[data-logo-key^="virtual:"] img,
.player-liquid-tile #playerLiquidMonogram[data-logo-key^="virtual:"] img {
  width:129.767442%!important;height:auto!important;
}

#curatedTransitionFrame {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;pointer-events:none;z-index:3;}
.curated-favorite {position:absolute;right:7px;top:7px;z-index:5;display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffffff66;border-radius:9px;background:#151920e8;color:#fff;font-size:25px;line-height:1;cursor:pointer;}
.curated-favorite[aria-pressed="true"] {color:#ffd45e;}
.curated-favorite:hover,.curated-favorite:focus-visible {border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px;}
#curatedTransitionFrame[hidden] {display:none;}
.curated-transition #playerPoster,.curated-transition #playerStatus {visibility:hidden!important;}
.player-modal.is-load-error #playerStatus.youtube-verification-message {max-width:min(760px,calc(100vw - 48px));}
@media(max-width:600px){
  .player-modal.is-load-error #playerStatus.youtube-verification-message {left:14px;right:160px;top:50%;bottom:auto;transform:translateY(-50%);max-width:none;max-height:calc(100dvh - 240px);overflow:auto;}
  .player-modal.is-load-error #playerStatus.youtube-verification-message p {font-size:12px;line-height:1.5;}
}

#channelArea .channel-logo[data-logo-key^="virtual:"] {background:#151920!important;}
.featured-art>#featuredMonogram[data-logo-key^="virtual:"] {
  position:absolute!important;background:#151920!important;padding:0!important;
}
.featured-art>#featuredMonogram[data-logo-key^="virtual:"] img {
  width:129.767442%!important;height:auto!important;max-width:none!important;max-height:none!important;
}

#curatedYouTubeMount {position:absolute;inset:0;z-index:4;background:#000;}
#curatedYouTubeMount[hidden] {display:none;}
#curatedYouTubeMount iframe {width:100%;height:100%;border:0;}
.curated-youtube #video {visibility:hidden;}
.streamline-native .curated-youtube #curatedYouTubeMount {inset:0;}
.streamline-native .curated-youtube #curatedControls [data-mute],.streamline-native .curated-youtube #curatedControls label {display:none;}

#curatedYouTubeInfo {position:absolute;top:24px;right:180px;z-index:45;border:1px solid #484d52;border-radius:12px;background:#15191de8;color:white;width:44px;height:44px;font-size:23px;cursor:pointer;}
#curatedYouTubeInfo[hidden]{display:none;}
