/* Approved Cinema Red theme and Integrated play. Film imagery stays untouched. */
:root{--bg:#000;--surface:#111;--line:#ffffff18;--accent:#f0444e;--action:#e52635;background:#000}
body{background:#000}
.header{background:#000;border-bottom:1px solid #202020}
.primary-button{background:var(--action);color:#fff;border-radius:4px}
.outline-button[aria-pressed=true],[data-save][aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:#f0444e12}
.desktop-nav a.active{color:var(--accent)}
.discovery-heading-line{border-left:3px solid var(--accent);padding-left:9px;gap:10px;flex-wrap:wrap}
.discovery-page .discovery-heading-line p{color:var(--accent)}
.discovery-film{border-radius:4px}
.discovery-play{display:none}
.discovery-card:focus-visible{outline-color:var(--accent)}
.filter{border-radius:3px;background:#151515;border-color:#2c2c2c}
.filter.active{color:#fff;background:var(--action);border-color:var(--action)}
.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:24px 32px}
.library-card{display:flex;gap:18px;align-items:center;padding-bottom:20px;border-bottom:1px solid #222;min-width:0}
.library-card .library-image{display:block;aspect-ratio:auto;width:90px;height:144px;flex-shrink:0;border-radius:3px;border:0}
.library-card .library-image:after{display:none}
.library-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:10px}
.library-card .library-show-logo{position:static;display:block;max-width:175px;width:100%;height:40px}
.library-card .library-show-logo img{display:block;width:auto;height:100%;max-width:100%;max-height:40px;object-fit:contain;object-position:left center}
.library-meta{font-size:11px;line-height:1.4;color:#999}
.library-synopsis{font-size:12px;line-height:1.5;color:#b8b8b8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.library-cta{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:12px;font-weight:600;min-height:24px}
.library-cta .ui-icon{width:14px;height:14px}
.search-field:focus-within{border-color:var(--accent)}
.search-field>.ui-icon{color:var(--accent)}
.resume-card{padding:0;gap:15px;background:transparent;border:0;border-radius:0}
.resume-image{width:58px;height:87px;border-radius:5px}
.resume-copy{display:flex;flex-direction:column;gap:8px}
.resume-copy>.eyebrow{font-size:10px;font-weight:500;letter-spacing:1.25px;color:#b0b0b0;line-height:1.3}
.resume-title{display:block;font-size:16px;line-height:1.3;font-weight:600;letter-spacing:-.25px}
.resume-meta{display:block;font-size:11px;line-height:1.4;color:#999}
.resume-progress{width:100%;max-width:none;margin-top:5px;height:2px;background:#292929}
.resume-progress>span{background:var(--accent)}
.resume-play{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;border:1px solid #5b5b5b;border-radius:50%;color:#fff}
.resume-play .ui-icon{width:16px;height:16px;margin-left:2px}
.resume-card:hover .resume-play{border-color:#fff;background:#141414}
.focus-library-dialog .resume-card{padding:0;gap:12px}
.focus-library-dialog .resume-title{font-size:13px}
.focus-library-dialog .resume-play{width:37px;height:37px}
.focus-library-dialog .resume-copy{gap:6px}
.focus-library-dialog .resume-copy>.eyebrow{font-size:9px}
.focus-library-dialog .resume-meta{font-size:10px}
.focus-mode{--accent:#f0444e}
.focus-mode .ambient-progress span{background:var(--accent)}
.focus-mode .focus-copy #focus-series{color:var(--accent)}
.focus-mode .shorts-toolbar .rail-button[aria-pressed=true],.focus-mode .shorts-toolbar .rail-button[aria-pressed=true] small,.shorts-toolbar .rail-button[aria-pressed=true]{color:var(--accent)}
#player-captions[aria-pressed=true] .cc-glyph{color:var(--accent);background:transparent;border-color:var(--accent)}
.focus-library-tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}
.focus-autoplay input,.seek-row input{accent-color:var(--accent)}
.video-status.ready-prompt,.focus-mode .video-status.ready-prompt{padding:27px 23px 25px;background:#111;border:1px solid #303030;border-top:3px solid var(--accent);border-radius:8px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.ready-brand{width:69px;margin:0 0 20px}
.ready-brand img{opacity:1}
.ready-prompt .ready-episode{color:var(--accent);font-size:10px;letter-spacing:1px;margin-bottom:17px}
.ready-episode>span{font-size:11px;color:#a5a5a5;margin-top:6px}
.ready-prompt h2{font-size:25px;line-height:1.15;letter-spacing:-.8px;margin:0 0 11px}
.ready-prompt .ready-description{font-size:12px;color:#999;line-height:1.4;margin:0}
.ready-prompt #start-with-sound{min-height:47px;margin-top:25px;padding:12px;background:var(--action);color:#fff;border-radius:4px;box-shadow:none;font-size:14px;font-weight:600;gap:9px}
.episodes-dialog{background:#101010}
.sheet-heading .eyebrow{color:var(--accent)}
.episode-picker{display:grid;grid-template-columns:1fr;gap:7px}
.episode-tile{display:flex;align-items:center;gap:13px;min-height:68px;padding:13px 12px;text-align:left;background:transparent;border:1px solid #303030;border-radius:4px}
.episode-tile>span{position:static;right:auto;bottom:auto}
.episode-picker-number{font-size:16px;color:#888;width:28px;flex-shrink:0}
.episode-picker-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.episode-picker-copy strong{font-size:13px;line-height:1.3;font-weight:600}
.episode-picker-copy small{font-size:11px;line-height:1.4;color:#999;font-weight:400}
.episode-picker-icon{flex-shrink:0;color:#777}
.episode-picker-icon .ui-icon{width:17px;height:17px;color:inherit}
.episode-tile.active{background:#251013;border-color:var(--accent);color:#fff}
.episode-tile.active .episode-picker-number,.episode-tile.active .episode-picker-icon{color:var(--accent)}
.episode-row.active{background:#251013}
.episode-row.active>svg,.episode-row.active h3{color:var(--accent)}
.setting-row input[role=switch]{appearance:none;-webkit-appearance:none;position:relative;width:38px;height:22px;border:0;border-radius:12px;background:#444;margin:0;flex-shrink:0;cursor:pointer}
.setting-row input[role=switch]:before{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff}
.setting-row input[role=switch]:checked{background:var(--action)}
.setting-row input[role=switch]:checked:before{left:19px}
.danger{color:var(--accent)}
#toast{background:#1c1c1c;color:#eee;border-left:3px solid var(--accent);border-radius:4px;box-shadow:none}
@media(min-width:1100px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-card{gap:14px}.library-card .library-image{width:78px;height:128px}.library-synopsis{font-size:11px}.resume-list{gap:28px}}
@media(max-width:760px){
 .header{height:76px;border-bottom:1px solid #202020;background:#000}
 .header .brand{width:112px;height:36px}
 .discovery-page{padding-top:18px}
 .discovery-page .discovery-heading-line h1,.discovery-page .discovery-heading-line p{font-size:15px;letter-spacing:-.4px}
 .discovery-page .page-heading>p{margin-top:9px}
 .discovery-page .discovery-grid{margin-top:23px;margin-bottom:24px}
 .discovery-film{border-radius:4px}
 .discovery-info>span{font-size:11px;line-height:1.5;color:#999}
 .discovery-page .continue-section{margin-top:26px}
 .continue-section .section-heading h2{font-size:18px}
 .continue-section .section-heading>.muted{display:none}
 .library-grid{grid-template-columns:1fr;gap:16px}
 .library-card{gap:15px;padding-bottom:16px}
 .library-card .library-image{width:72px;height:118px}
 .library-copy{gap:9px}
 .library-card .library-show-logo{height:32px;max-width:150px}
 .library-card .library-show-logo img{max-height:32px}
 .library-meta,.library-synopsis,.library-cta{font-size:11px}
 .resume-card{padding:0;gap:15px}
 .resume-image{width:58px;height:87px}
 .resume-copy>.eyebrow{font-size:10px}
 .resume-title{font-size:16px}
 .resume-play{width:43px;height:43px}
 .mobile-nav{background:#080808;border-top:1px solid #202020;backdrop-filter:none}
 .mobile-nav a{position:relative;font-size:10px;font-weight:400;color:#888}
 .mobile-nav a>span{background:transparent;border-radius:0}
 .mobile-nav a.active{color:var(--accent)}
 .mobile-nav a.active>span{background:transparent;color:var(--accent)}
 .mobile-nav a.active:after{content:'';position:absolute;bottom:4px;width:20px;height:3px;background:var(--accent)}
 .episodes-dialog{max-height:85dvh;overflow:auto;padding-top:22px}
 .episode-picker{grid-template-columns:1fr;gap:7px}
}
@media(max-width:350px){.discovery-page .discovery-heading-line h1,.discovery-page .discovery-heading-line p{font-size:14px}.discovery-heading-line{gap:8px}.resume-card{gap:12px}.resume-title{font-size:14px}.resume-play{width:40px;height:40px}.library-card .library-image{width:65px;height:106px}}
@media(max-height:500px) and (orientation:landscape){.ready-prompt h2{font-size:23px}.ready-prompt .ready-episode{margin-bottom:10px}.video-status.ready-prompt,.focus-mode .video-status.ready-prompt{padding:16px 20px}.ready-brand{width:48px;margin-bottom:12px}.ready-prompt #start-with-sound{margin-top:15px;min-height:44px}.ready-prompt .ready-description{font-size:11px}}

.episode-credits{display:block;min-height:44px;background:transparent;padding:6px 0;color:#ddd;font-size:12px;text-decoration:underline;text-underline-offset:3px}.audio-credit{margin:18px 0}.audio-credit a{text-decoration:underline;text-underline-offset:3px}.audio-credit p{overflow-wrap:anywhere}

.discovery-film[data-poster-branded="true"]>img{object-fit:contain;object-position:center;background:#000}.discovery-film[data-poster-branded="true"]::after{display:none}.discovery-film[data-poster-branded="true"] .discovery-play{top:50%;bottom:auto;transform:translate(-50%,-50%)}

.discovery-card[data-series="eppy-fight-league"] .discovery-title{mix-blend-mode:screen}.discovery-card[data-series="eppy-fight-league"] .discovery-title img{filter:none}.library-card:has(.library-image[data-series="eppy-fight-league"]) .library-show-logo{mix-blend-mode:screen}
