/* Busflix — a small cinema for the journey home. */
.bf-library{font-size:12px;line-height:1.6;color:#e6cfaa;padding:15px 2px 0}.bf-season-badge{position:absolute;left:7px;top:7px;background:#0d191de8;color:#f3d49a;padding:4px 6px;border:1px solid #8d784a;border-radius:4px;font-size:8px;letter-spacing:.06em}.bf-more{display:flex;margin:0 auto 28px}.bf-unwatched{font-size:11px}.bf-episodes{border:1px solid #334352;border-radius:10px;padding:14px;margin-top:22px}.bf-episodes summary{font-size:13px;line-height:1.5;color:#f3d49a;cursor:pointer;font-weight:650}.bf-episodes>p{font-size:11px;line-height:1.6;color:#a8bcca;margin:12px 0}.bf-episodes>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:300px;overflow:auto;overscroll-behavior:contain;padding:3px}.bf-episodes button{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #293e4d;border-radius:7px;text-align:left;min-width:0;min-height:50px;font-size:11px;line-height:1.4;background:#101e29}.bf-episodes button>span:first-child{color:#e9cf9f;font-size:16px;min-width:23px;text-align:center}.bf-episodes small{display:block;color:#89a1b3;font-size:9px;margin-top:4px}.bf-episodes button[aria-current=true]{border-color:#f3d49a;background:#253032}.bf-next{border-color:#a9925f;color:#f3d49a}
@media(max-width:560px){.bf-unwatched{flex:1;min-height:38px;font-size:11px}.bf-episodes>div{grid-template-columns:1fr}.bf-episodes{padding:10px}.bf-library{font-size:11px}.bf-hero-copy>small{display:block}}
main:has(#page-busflix.active){max-width:1220px}
nav:has([data-page="busflix"]){display:grid;grid-template-columns:repeat(8,minmax(0,1fr))}
nav:has([data-page="busflix"]) button{min-width:0;letter-spacing:.025em}
@media(max-width:400px){nav:has([data-page="busflix"]) button{font-size:8px}}
#busflixRoot{--bf-gold:#f3d49a;--bf-soft:#a4b3c1;--bf-panel:#111a24;--bf-line:#2b3541;min-width:0;padding:8px 0 12px}
.bf-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 24px}
.bf-wordmark{font:900 clamp(25px,4.5vw,37px)/1 system-ui;letter-spacing:-.05em;color:#eef0f4;display:flex;align-items:center}
.bf-wordmark>span,.bf-gold{color:#f3d49a}.bf-wordmark>i{font:24px/1 Georgia;margin-left:12px;color:#f3d49a;font-style:normal}
.bf-heading p{font-size:12px;color:var(--bf-soft);margin-top:8px}.bf-free{border:1px solid #6a5940;border-radius:6px;padding:7px 10px;color:var(--bf-gold);font-size:10px;white-space:nowrap;letter-spacing:.05em}
.bf-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px}.bf-search{flex:1;display:flex;align-items:center;gap:8px;background:#101924;border:1px solid var(--bf-line);border-radius:9px;padding-left:12px;min-width:0}.bf-search>span{font-size:27px;color:var(--bf-soft)}.bf-search input{border:0;background:transparent;min-width:0;width:100%;font-size:13px;padding:12px 8px;box-shadow:none}.bf-search:focus-within{outline:2px solid var(--bf-gold)}
.bf-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#172330;border:1px solid #405061;border-radius:8px;min-height:44px;padding:10px 16px;font-size:12px;font-weight:650;line-height:1.3;color:#e9edf3;white-space:normal}.bf-button:hover{background:#233344}.bf-button.bf-primary{background:#f3d49a;color:#171b21;border-color:#f3d49a}.bf-primary:hover{background:#ffe4b7}.bf-button.on{border-color:#f3d49a;color:#f3d49a}.bf-button:focus-visible,.bf-genres button:focus-visible,.bf-card button:focus-visible,.bf-row-head button:focus-visible,.bf-viewer button:focus-visible{outline:3px solid #f3d49a;outline-offset:3px}
.bf-filters{display:flex;gap:12px;margin-bottom:12px}.bf-filters label{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--bf-soft);flex:1;min-width:0}.bf-filters select{padding:9px 25px 9px 9px;font-size:11px;min-height:38px;flex:1;min-width:0;background:#101924;border-color:#2b3541;border-radius:7px}
.bf-genres{display:flex;gap:7px;overflow-x:auto;padding:3px 2px 12px;scrollbar-width:thin;overscroll-behavior-x:contain}.bf-genres button{flex-shrink:0;font-size:11px;color:#a9b5c4;border:1px solid #253343;min-height:36px;padding:7px 14px;border-radius:99px}.bf-genres button.on{background:#ede1ca;color:#141c23;border-color:#ede1ca}
.bf-hero{position:relative;isolation:isolate;border-radius:16px;min-height:395px;overflow:hidden;background:radial-gradient(ellipse at 80% 20%,#577061,#172422 55%,#0b141b);border:1px solid #303b41;margin-top:2px;display:flex;align-items:center}
.bf-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;object-position:70% center}.bf-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(8,16,21,.99) 0%,rgba(8,16,21,.88) 33%,rgba(8,16,21,.15) 82%),linear-gradient(0deg,#0a121ae6,transparent 65%)}
.bf-hero-copy{padding:38px;max-width:550px}.bf-kicker{font-size:10px;letter-spacing:.17em;color:#f3d49a;font-weight:750}.bf-hero h1{font:850 clamp(32px,5.7vw,58px)/1.05 system-ui;letter-spacing:-.04em;margin:15px 0 12px;color:#fff}.bf-meta{font-size:11px;color:#c4cdd6;display:flex;gap:8px;align-items:center;flex-wrap:wrap;line-height:1.6}.bf-meta>span{color:#667786}.bf-hero-copy>p{font-size:13px;line-height:1.7;color:#d5dde3;margin:16px 0 8px;max-width:430px}.bf-hero-copy>small{font-size:10px;color:#95a5b2}.bf-hero-actions{display:flex;gap:10px;margin:23px 0 17px}.bf-provider{font-size:9px;color:#8c9caa;letter-spacing:.05em}
.bf-count{font-size:10px;color:#798b9b;margin:15px 2px 20px}.bf-row{margin:0 0 25px;min-width:0}.bf-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;gap:10px}.bf-row h2{font-size:17px;font-weight:720;letter-spacing:-.02em}.bf-row-head>div{display:flex;gap:5px}.bf-row-head button{border:1px solid #2b3541;border-radius:7px;width:32px;height:32px;font-size:23px;line-height:1;color:#afbdc9}.bf-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/4);overflow-x:auto;gap:12px;scroll-snap-type:x proximity;padding:3px 2px 13px;scrollbar-width:thin;overscroll-behavior-x:contain}.bf-card{position:relative;min-width:0;scroll-snap-align:start}.bf-card-open{display:block;text-align:left;width:100%;padding:0 0 3px;border-radius:9px}.bf-art{position:relative;aspect-ratio:16/9;background:linear-gradient(140deg,#2b414b,#17212f 55%,#34332b);overflow:hidden;border:1px solid #344150;border-radius:9px}.bf-art img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.bf-card:hover img{transform:scale(1.035)}.bf-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #eee6ce77;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;padding-left:3px;background:#0d182a99;font-size:17px;color:#fff;opacity:0;transition:opacity .15s}.bf-card:hover .bf-play,.bf-card:focus-within .bf-play{opacity:1}.bf-runtime,.bf-watched{position:absolute;bottom:7px;right:7px;background:#0b131de8;border-radius:4px;padding:4px 6px;font-size:9px;color:#e0e6eb}.bf-watched{left:7px;right:auto;color:#f3d49a}.bf-card h3{font-size:12px;line-height:1.4;margin:10px 30px 4px 0;font-weight:680;color:#e9eef3}.bf-card p{font-size:9px;line-height:1.5;color:#91a2b3}.bf-save{position:absolute;right:0;top:calc(100% - 43px);border:1px solid #394a59;background:#111f2de6;border-radius:50%;width:28px;height:28px;font-size:18px;line-height:1}.bf-save[aria-pressed=true]{color:#f3d49a;border-color:#af915b}.bf-progress{height:3px;background:#2d3b47;border-radius:3px;margin:8px 0 5px;overflow:hidden}.bf-progress i{display:block;height:100%;background:#f3d49a}.bf-card small{font-size:9px;color:#bcc8d2}.bf-image-failed{visibility:hidden}
.bf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 14px;margin-bottom:30px}.bf-empty{text-align:center;padding:55px 15px;border:1px dashed #374553;border-radius:14px}.bf-empty>span{font-size:35px;color:#f3d49a}.bf-empty h2{font-size:20px;margin:12px}.bf-empty p{font-size:12px;color:#9eafbd;margin-bottom:20px}.bf-network{padding:12px 16px;background:#39301e;border:1px solid #66543a;border-radius:9px;font-size:12px;line-height:1.5;color:#f3d49a;margin-bottom:14px}.bf-sources{border-top:1px solid #283442;padding:20px 0;font-size:11px;color:#96a7b6;line-height:1.7}.bf-sources summary{cursor:pointer;color:#c3ced7;margin-bottom:8px}.bf-sources a,.bf-film-source a{color:#efce90}
.bf-viewer{border:1px solid #3b4855;border-radius:15px;padding:0;margin:auto;width:min(1000px,96vw);max-width:none;max-height:94dvh;background:#0b141e;color:#e9eef5;overflow:auto;box-shadow:0 28px 120px #000c;overscroll-behavior:contain}.bf-viewer::backdrop{background:#02060ceb;backdrop-filter:blur(7px)}.bf-viewer-head{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#101c27;min-height:48px}.bf-viewer-head>span{font-weight:850;letter-spacing:-.035em;font-size:17px}.bf-viewer-head>button{font-size:19px;border:1px solid #344452;border-radius:7px;min-width:36px;height:34px}.bf-screen{position:relative;aspect-ratio:16/9;min-height:200px;background:#000;width:100%}.bf-screen iframe{display:block;width:100%;height:100%;position:absolute;inset:0;border:0}.bf-screen-poster{position:absolute;inset:0;overflow:hidden}.bf-screen-poster img{width:100%;height:100%;object-fit:contain;opacity:.8}.bf-big-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:70px;height:70px;border:1px solid #e7d6ad;border-radius:50%;background:#162530de;color:#f3d49a;font-size:27px;padding-left:5px}.bf-screen:fullscreen{width:100vw;height:100dvh;max-height:none;aspect-ratio:auto}.bf-screen:-webkit-full-screen{width:100vw;height:100vh;aspect-ratio:auto}.bf-movie-info{padding:23px 26px}.bf-movie-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.bf-movie-info h2{font-size:clamp(22px,4vw,32px);letter-spacing:-.035em;line-height:1.15}.bf-movie-info>p{font-size:13px;line-height:1.65;margin:14px 0;color:#b8c7d3}.bf-movie-info .bf-cast{font-size:11px;color:#91a6b7}.bf-rights-tag{font-size:9px;white-space:nowrap;padding:5px 7px;color:#d9c094;border:1px solid #66573b;border-radius:5px}.bf-viewer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.bf-viewer-actions .bf-button{font-size:11px;min-height:40px;padding:9px 13px}.bf-movie-info .bf-player-status{padding:10px 12px;background:#14212c;border-radius:8px;font-size:11px;color:#b8cbdc}.bf-film-source{font-size:10px;color:#95a8b9;line-height:1.6;margin-top:18px}.bf-film-source summary{cursor:pointer;color:#c5d3df}.bf-film-source p{margin:8px 0}
@media(max-width:800px){.bf-track{grid-auto-columns:calc((100% - 24px)/3)}.bf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bf-filters label{flex-direction:column;align-items:stretch;gap:5px}.bf-hero-copy{padding:28px;max-width:500px}.bf-hero{min-height:365px}}
@media(max-width:560px){.bf-heading{margin-bottom:19px}.bf-heading p{font-size:10px}.bf-free{font-size:8px;padding:6px}.bf-toolbar{gap:6px;flex-wrap:wrap}.bf-search{flex:1 1 100%}.bf-list-toggle,.bf-shuffle{flex:1;font-size:11px;min-height:38px}.bf-filters{gap:7px}.bf-filters label{font-size:9px}.bf-filters select{font-size:10px;padding:9px 3px;min-height:38px}.bf-genres{padding-top:1px}.bf-genres button{font-size:10px;padding:7px 11px}.bf-hero{min-height:430px;align-items:flex-end}.bf-hero-image{object-position:65% top;height:68%}.bf-hero-shade{background:linear-gradient(0deg,#081015 5%,#081015fa 38%,#08101566 79%,#08101522 100%)}.bf-hero-copy{padding:25px 20px 20px;max-width:none;width:100%}.bf-hero h1{font-size:40px;margin-top:13px}.bf-hero-copy>p{font-size:12px;line-height:1.65;max-width:360px}.bf-hero-copy>small{font-size:9px}.bf-hero-actions{margin:18px 0 14px}.bf-meta{font-size:10px;gap:6px}.bf-track{grid-auto-columns:72%;gap:11px}.bf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}.bf-row h2{font-size:16px}.bf-card h3{font-size:12px}.bf-grid .bf-card h3{font-size:11px}.bf-count{margin-bottom:16px}.bf-viewer{width:100vw;max-height:100dvh;border-radius:0}.bf-movie-info{padding:20px 15px}.bf-movie-top{align-items:flex-start;flex-direction:column;gap:9px}.bf-viewer-actions{gap:6px}.bf-viewer-actions .bf-button{flex-grow:1}.bf-movie-info>p{font-size:12px}}
@media(orientation:landscape) and (max-height:560px){.bf-viewer{width:96vw;max-height:96dvh}.bf-screen{aspect-ratio:auto;height:calc(96dvh - 50px);min-height:200px}.bf-viewer-head{position:sticky;top:0;z-index:1}}
@media(orientation:landscape) and (max-height:560px){#busflixRoot{padding-top:0;display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,2fr);column-gap:20px}.bf-heading{margin:0 0 10px;gap:8px}.bf-wordmark{font-size:27px}.bf-wordmark>i{font-size:20px;margin-left:8px}.bf-heading p{font-size:9px;margin-top:5px}.bf-free{display:none}.bf-toolbar{margin-bottom:10px;gap:7px}.bf-search input{padding:10px 5px;font-size:12px}.bf-toolbar .bf-button{font-size:10px;padding:8px 10px;min-height:40px}.bf-filters,.bf-genres,.bf-network,#bfResults,.bf-sources{grid-column:1/-1}.bf-filters{margin-bottom:7px}.bf-filters label{flex-direction:row;align-items:center;font-size:9px}.bf-filters select{min-height:32px;padding-top:6px;padding-bottom:6px}.bf-genres{padding-bottom:8px}.bf-genres button{min-height:32px;padding:6px 12px}.bf-hero{min-height:285px}.bf-hero-copy{padding:23px 28px;max-width:490px}.bf-hero h1{font-size:39px;margin:10px 0}.bf-hero-copy>p{font-size:12px;line-height:1.5;margin-top:10px}.bf-hero-actions{margin:15px 0 12px}}
@media(prefers-reduced-motion:reduce){.bf-art img,.bf-play{transition:none}}
html[data-red] #busflixRoot{--bf-gold:#ffb2a0;--bf-soft:#bc8880}html[data-red] .bf-art img,html[data-red] .bf-hero-image{filter:grayscale(1) sepia(1) saturate(3) hue-rotate(-25deg) brightness(.7)}

.bf-stars{display:flex;flex-wrap:wrap;gap:8px}.bf-stars .bf-button{min-width:48px;min-height:48px}.bf-stars [aria-pressed="true"]{background:#edc36a;color:#101820;border-color:#edc36a}.bf-rating-summary{display:block;color:#edc36a;margin:6px 0}.bf-rating-note{color:#b9cbd2}#bfRatingPanel{margin:18px 0;padding:16px;border:1px solid #45606d;border-radius:12px}

.bf-credits{display:grid;grid-template-columns:100px 1fr;gap:8px}.bf-credits dt{color:#a8bdc8}.bf-credits dd{margin:0}.bf-season-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.bf-season-tabs [aria-current="true"]{border-color:#edc36a;color:#edc36a}.bf-episode-list{display:grid;gap:8px;max-height:480px;overflow:auto}.bf-episode-list>button{display:flex;gap:12px;padding:10px;background:#142530;color:#eaf3f8;border:1px solid #35505f;border-radius:8px;text-align:left;width:100%}.bf-episode-list>button[aria-current="true"]{border-color:#edc36a}.bf-episode-list img{width:110px;height:70px;object-fit:cover;border-radius:5px}.bf-episode-list small,.bf-related small{display:block;color:#a8bdc8;margin:5px 0}.bf-episode-list span span{font-size:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.bf-related>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bf-related button{padding:0 0 10px;background:#142530;color:#eaf3f8;border:1px solid #35505f;border-radius:8px;overflow:hidden}.bf-related img{width:100%;aspect-ratio:16/9;object-fit:cover}.bf-related strong{display:block;padding:8px;font-size:13px}.bf-related small{padding:0 6px}.bf-season-info{margin:20px 0}@media(max-width:450px){.bf-episode-list img{width:80px;height:55px}.bf-related>div{gap:6px}.bf-related strong{font-size:12px;padding:5px}.bf-credits{grid-template-columns:80px 1fr}}
