/* Sunset Cinema 1.2.15: composition only. Colours, glass and semantic states
   remain in the accepted 1.2.13 stylesheets. No palette or surface overrides. */

/* Staff workspace: more room for working tables, fewer oversized headings. */
body.admin-app{--sb:232px;--topbar:72px}
body.admin-app .sb-top{padding:20px 16px;min-height:84px}
body.admin-app .sb-sec{padding:16px 10px 2px}
body.admin-app .sb-lbl{padding:0 10px;margin-bottom:6px;font-weight:600;font-size:11px;letter-spacing:0;text-transform:none}
body.admin-app .sb-a{padding:10px;gap:10px;font-weight:600}
body.admin-app .sb-bot{padding:12px 10px 16px;margin-top:10px}
body.admin-app .topbar{padding:0 28px;gap:14px}
body.admin-app .tb-title{font-size:21px;font-weight:700;letter-spacing:-.025em}
body.admin-app .tb-eyebrow{font-weight:500;letter-spacing:0;text-transform:none}
body.admin-app .pg{padding:26px 28px 40px}
body.admin-app .pg>*{max-width:1520px}
body.admin-app .stats-g{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
body.admin-app .sc{min-height:118px;padding:18px 20px}
body.admin-app .sc::before{top:20px;right:18px}
body.admin-app .sc-lbl{margin-bottom:9px;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;padding-right:18px}
body.admin-app .sc-val{font-size:30px;letter-spacing:-.035em;font-weight:700;line-height:1.2}
body.admin-app .sc-d{margin-top:6px}
body.admin-app .dash-panels{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px}
body.admin-app .panel-h{min-height:56px;padding:15px 20px}
body.admin-app .panel-t{font-size:14px;font-weight:650}
body.admin-app .chart{height:200px;padding:24px 24px 18px}
body.admin-app .tbl th{padding:12px 16px;font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
body.admin-app .tbl td{padding:13px 16px;line-height:1.5;vertical-align:middle}
body.admin-app .tbl .fc{gap:12px}
body.admin-app .tbl .ft{width:36px;height:50px;flex-shrink:0}
body.admin-app .tbl .fn{font-weight:600}
body.admin-app .tbl .ab{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center}
body.admin-app .filter-row{gap:10px 12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
body.admin-app .filter-row .s-bar{flex:1 1 220px;max-width:360px}
body.admin-app .filter-row .sel{min-width:130px}
body.admin-app .form-grid,body.admin-app .channel-form-grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
body.admin-app .form-section{padding:22px;margin-bottom:20px}
body.admin-app .form-section-title{font-size:14px;font-weight:650;letter-spacing:0;text-transform:none;margin-bottom:18px;padding-bottom:12px}
body.admin-app .fgrid{gap:16px 20px}
body.admin-app .fgrp label{font-weight:500}
body.admin-app .pg :is(.staff-eyebrow,.access-eyebrow,.permissions-eyebrow,.audit-eyebrow,.email-export-eyebrow){text-transform:none;letter-spacing:0;font-weight:500}
body.admin-app .pg :is(.staff-heading h2,.access-hero h2,.permissions-heading h2,.role-hero h2,.email-export-heading h2){font-size:24px;letter-spacing:-.025em;font-weight:700}
body.admin-app .permission-grid{gap:16px}
body.admin-app .audit-filters{padding:20px;gap:16px}

/* Account: header with identity and tools, tabs across, full-width content. */
body.sp-page main.sp-profile{max-width:1240px;padding:112px 32px 48px}
body.sp-page .sp-heading{margin-bottom:24px}
body.sp-page .sp-heading h1{font-size:30px;font-weight:700;letter-spacing:-.03em}
body.sp-page .p-layout{display:block}
body.sp-page .p-sidebar{position:static;top:auto;margin-bottom:30px}
body.sp-page .p-summary{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:24px;align-items:center;padding:30px 26px 24px}
body.sp-page .p-sid-top{grid-template-columns:64px minmax(0,1fr);gap:18px;padding:0;min-width:0}
body.sp-page .p-name{font-size:22px;font-weight:700}
body.sp-page .p-email{font-size:13px}
body.sp-page .p-stats{margin:0;padding:12px 0;align-self:center}
body.sp-page .p-stat-n{font-size:24px;font-weight:700}
body.sp-page .p-stat-l{font-size:11px}
body.sp-page .p-tools{display:flex;flex-direction:column;margin:0;padding:0;border-top-width:0;gap:3px}
body.sp-page .p-tools .pn{width:auto;min-height:40px;white-space:nowrap;font-weight:500;padding:8px 10px}
body.sp-page .p-nav{padding:0 18px 14px}
body.sp-page .p-tabs{display:flex;gap:4px;overflow-x:auto;max-width:100%;min-width:0;overscroll-behavior-inline:contain}
body.sp-page .p-tabs>.pn{width:auto;min-height:44px;flex:0 0 auto;white-space:nowrap;padding:10px 13px;font-weight:600;gap:8px}
body.sp-page .p-tabs .pn-label{white-space:nowrap}
body.sp-page .p-tabs .pn-count{margin-left:4px}
body.sp-page .p-content{min-width:0}
body.sp-page #sec-info.panel.on{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0 24px;align-items:start}
body.sp-page #sec-info>.p-title{grid-column:1/-1}
body.sp-page #sec-info>.fc{grid-column:1}
body.sp-page #sec-info>.p-preferences{grid-column:2;grid-row:2;grid-template-columns:minmax(0,1fr);gap:20px}
body.sp-page .p-title{font-size:21px;font-weight:700;margin-bottom:20px}
body.sp-page .fc{padding:24px}
body.sp-page .fc-h{font-size:16px;font-weight:650;margin-bottom:18px}
body.sp-page .frow{gap:18px;margin-bottom:22px}
body.sp-page #sec-security .fc{max-width:800px}
body.sp-page .fav-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px}
body.sp-page .c-item{padding:20px 22px}

/* Film/series: compact introduction, viewing, then information and discussion. */
body.sd-page .sd-main{max-width:1280px;padding:108px 32px 36px}
body.sd-page .sd-breadcrumb{margin-bottom:24px}
body.sd-page .sd-intro{grid-template-columns:176px minmax(0,1fr);gap:32px;align-items:center;margin-bottom:30px}
body.sd-page .sd-intro-copy{min-width:0}
body.sd-page .sd-intro h1{font-size:clamp(28px,3.6vw,44px);font-weight:750;line-height:1.15;letter-spacing:-.03em;max-width:900px}
body.sd-page .sd-eyebrow{font-size:12px;letter-spacing:0;text-transform:none;font-weight:500}
body.sd-page .sd-meta{gap:8px 16px;margin:14px 0;font-size:13px}
body.sd-page .sd-rating-sources{margin:0 0 18px;gap:7px}
body.sd-page .sd-source-badge{min-height:32px;padding:6px 10px;gap:8px}
body.sd-page .sd-source-brand span{font-size:11px}
body.sd-page .sd-source-score strong{font-size:13px}
body.sd-page .sd-actions{gap:10px}
body.sd-page .sd-button{min-height:44px;padding:11px 16px;font-size:13px}
body.sd-page .sd-action-message{margin:8px 0 0}
body.sd-page .sd-list-controls{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:8px 14px;margin:18px 0 0;padding:0}
body.sd-page .sd-list-controls h2{margin:0;font-size:12px;font-weight:500}
body.sd-page .sd-list-controls .sx-list-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.sd-page .sd-list-controls .sx-list-form :is(select,button){min-height:38px;font-size:12px;padding:8px 10px}
body.sd-page #player-wrap.sd-watch{margin-bottom:14px}
body.sd-page .sd-watch-header{padding:14px 18px;gap:16px}
body.sd-page .sd-watch-header h2{font-size:16px;font-weight:650}
body.sd-page .sd-watch-header .sd-eyebrow{margin-bottom:2px;font-size:11px}
body.sd-page .sd-watch-footer{padding:12px 18px}
body.sd-page .sd-report-disclosure{margin:0 0 32px}
body.sd-page .sd-report-disclosure>summary{display:flex;align-items:center;gap:8px;min-height:44px;width:fit-content;max-width:100%;font-size:13px;cursor:pointer;list-style:none}
body.sd-page .sd-report-disclosure>summary::-webkit-details-marker{display:none}
body.sd-page .sd-report-disclosure>summary::after{content:'+';font-size:18px;line-height:1;margin-left:5px}
body.sd-page .sd-report-disclosure[open]>summary::after{content:'−'}
body.sd-page .sd-report-disclosure .sd-video-report{margin:8px 0 0}
body.sd-page .sd-about{display:block;padding-top:26px;margin-bottom:36px}
body.sd-page .sd-about .sd-description{max-width:900px;margin:0 0 26px}
body.sd-page .sd-about .sd-description p{font-size:15px;line-height:1.75}
body.sd-page .sd-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 32px;max-width:none}
body.sd-page .sd-facts dt{font-size:12px}
body.sd-page .sd-facts dd{font-size:14px;line-height:1.65}
body.sd-page .sd-fact-wide{grid-column:1/-1}
body.sd-page .sd-section-heading h2{font-size:23px;font-weight:700}
body.sd-page .sd-community-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px;align-items:start}
body.sd-page .sd-community-layout>.sd-reviews{grid-column:1;grid-row:1;min-width:0;margin:0;padding-top:26px}
body.sd-page .sd-community-layout>.sd-reviews:only-child{grid-column:1/-1;max-width:940px}
body.sd-page .sd-community-layout>.sd-rating{grid-column:2;grid-row:1;position:sticky;top:96px;min-width:0;margin-top:26px;padding:20px}
body.sd-page .sd-rating legend{font-size:18px;margin-bottom:14px}
body.sd-page .sd-rating-preview{gap:12px;margin:0 0 16px}
body.sd-page .sd-rating-orb{width:65px;height:50px}
body.sd-page .sd-rating-orb strong{font-size:22px}
body.sd-page .sd-rating-options{margin-top:12px;gap:6px}
body.sd-page .sd-rating-options span{min-height:42px}
body.sd-page .sd-rating-scale{margin-bottom:16px}
body.sd-page .sd-main-composer{margin-bottom:22px}
body.sd-page .sd-review-form textarea{min-height:100px;font-size:14px}
body.sd-page .sd-review{padding:20px;gap:14px}
body.sd-page .sd-review-invite{flex-wrap:wrap;padding:20px;gap:14px}
body.sd-page .sd-review-invite>div{flex:1 1 180px}
body.sd-page .sd-no-reviews{padding:24px 16px}

/* Channel: broadcast on the left, the existing schedule on the right. */
html.sc-v2 body.sc-tv-page main.sc-tv-main{max-width:1400px;padding:108px 32px 40px}
body.sc-tv-page .ch-hero{padding:22px 26px;gap:20px;margin-bottom:24px;flex-direction:row}
body.sc-tv-page .ch-logo-wrap{width:72px;height:72px}
body.sc-tv-page .ch-info .ch-name{font-size:30px;font-weight:700;margin-bottom:6px}
body.sc-tv-page .ch-desc{max-width:820px;font-size:14px}
body.sc-tv-page .ch-watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start;margin-bottom:32px}
body.sc-tv-page .ch-watch{min-width:0}
body.sc-tv-page .ch-watch:only-child{grid-column:1/-1}
body.sc-tv-page .player-glass{margin-bottom:20px}
body.sc-tv-page .ch-history{padding:18px 20px;margin-bottom:0!important}
body.sc-tv-page .ch-history h2{font-weight:650}
body.sc-tv-page .epg-section{min-width:0;margin:0}
body.sc-tv-page .epg-title{font-size:19px;line-height:1.4;font-weight:650;margin-bottom:16px}
body.sc-tv-page .epg-list{max-height:580px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;gap:8px}
body.sc-tv-page .epg-item{display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px 10px;align-items:start;padding:12px}
body.sc-tv-page .epg-prog{min-width:0;overflow-wrap:anywhere;font-size:13px}
body.sc-tv-page .epg-time{width:auto;font-size:12px}
body.sc-tv-page .epg-live{grid-column:2;justify-self:start}

@media(max-width:1150px){
 body.admin-app .stats-g{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.admin-app .dash-panels{grid-template-columns:minmax(0,1fr)}
 body.sp-page .p-summary{grid-template-columns:minmax(0,1fr) 190px;gap:18px}
 body.sp-page .p-tools{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:8px}
 body.sp-page .fav-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 body.sd-page .sd-community-layout{grid-template-columns:minmax(0,1fr) 290px;gap:24px}
 body.sc-tv-page .ch-watch-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}
}
@media(max-width:900px){
 body.admin-app .topbar{padding:0 20px}
 body.admin-app .pg{padding:24px 20px 32px}
 body.admin-app .form-grid,body.admin-app .channel-form-grid{grid-template-columns:minmax(0,1fr)}
 body.sp-page main.sp-profile{padding:100px 24px 40px}
 body.sp-page #sec-info.panel.on{grid-template-columns:minmax(0,1fr)}
 body.sp-page #sec-info>.p-preferences{grid-column:1;grid-row:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.sp-page .fav-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.sd-page .sd-main{padding:96px 24px 28px}
 body.sd-page .sd-intro{grid-template-columns:150px minmax(0,1fr);gap:24px}
 body.sd-page .sd-community-layout{grid-template-columns:minmax(0,1fr)}
 body.sd-page .sd-community-layout>.sd-reviews{grid-column:1;grid-row:2}
 body.sd-page .sd-community-layout>.sd-reviews:only-child{grid-row:1}
 body.sd-page .sd-community-layout>.sd-rating{position:static;grid-column:1;grid-row:1;max-width:none;margin-top:0;display:block}
 body.sd-page .sd-rating-options{grid-template-columns:repeat(10,minmax(0,1fr))}
 body.sd-page .sd-rating .sd-button{width:auto;min-width:180px}
 body.sd-page .sd-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.sc-v2 body.sc-tv-page main.sc-tv-main{padding:96px 24px 32px}
 body.sc-tv-page .ch-watch-layout{grid-template-columns:minmax(0,1fr)}
 body.sc-tv-page .epg-list{max-height:400px}
 body.sc-tv-page .epg-item{grid-template-columns:48px minmax(0,1fr) auto}
 body.sc-tv-page .epg-live{grid-column:auto}
}
@media(max-width:640px){
 body.admin-app .topbar{height:68px;padding:0 16px}
 body.admin-app .tb-title{font-size:17px}
 body.admin-app .pg{padding:20px 14px 30px}
 body.admin-app .sc{min-height:112px;padding:16px}
 body.admin-app .sc-lbl{min-height:0;font-size:11px;line-height:1.4}
 body.admin-app .sc-val{font-size:27px}
 body.admin-app .tbl .ab{width:40px;height:40px}
 body.admin-app .filter-row .s-bar{max-width:none}
 body.admin-app .filter-row .sel{min-width:0;flex:1 1 130px}
 body.admin-app .form-section{padding:18px 16px}
 body.sp-page main.sp-profile{padding:92px 16px 28px}
 body.sp-page .sp-heading{gap:16px;margin-bottom:20px;align-items:center}
 body.sp-page .sp-heading h1{font-size:25px}
 body.sp-page .sp-heading>a{font-size:12px;gap:5px}
 body.sp-page .p-summary{grid-template-columns:minmax(0,1fr);padding:34px 18px 18px;gap:20px}
 body.sp-page .p-name{font-size:20px}
 body.sp-page .p-stats{max-width:100%;width:100%;padding:10px 0}
 body.sp-page .p-tools{grid-column:auto;justify-content:space-between}
 body.sp-page .p-tools .pn{min-height:44px;padding:8px 4px;font-size:12px;gap:7px}
 body.sp-page .p-nav{padding:0 10px 12px}
 body.sp-page .p-tabs>.pn{min-height:46px;padding:11px 12px;font-size:12px}
 body.sp-page .p-sidebar{margin-bottom:24px}
 body.sp-page .fc{padding:20px}
 body.sp-page #sec-info>.p-preferences{grid-template-columns:minmax(0,1fr)}
 body.sp-page .fav-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px}
 body.sd-page .sd-main{padding:90px 16px 24px}
 body.sd-page .sd-intro{grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:start;margin-bottom:24px}
 body.sd-page .sd-intro h1{font-size:24px}
 body.sd-page .sd-intro-copy{display:contents}
 body.sd-page .sd-intro :is(.sd-eyebrow,h1,.sd-original,.sd-meta,.sd-rating-sources){grid-column:2;min-width:0}
 body.sd-page .sd-poster-column{grid-column:1;grid-row:1/span 4}
 body.sd-page .sd-intro .sd-eyebrow{margin:0}
 body.sd-page .sd-intro h1{margin:0}
 body.sd-page .sd-meta{margin:0;gap:7px 10px;font-size:12px}
 body.sd-page .sd-rating-sources{margin:0;gap:6px}
 body.sd-page .sd-source-badge{min-height:29px;padding:5px 8px;gap:6px}
 body.sd-page .sd-actions,body.sd-page .sd-list-controls,body.sd-page .sd-action-message{grid-column:1/-1}
 body.sd-page .sd-actions{display:flex;flex-wrap:wrap;margin-top:4px;gap:8px}
 body.sd-page .sd-actions .sd-button-primary{flex:1 1 100%}
 body.sd-page .sd-actions .sd-button-secondary{flex:1 1 130px}
 body.sd-page .sd-list-controls{margin:0;gap:8px 12px}
 body.sd-page .sd-list-controls .sx-list-form{flex:1;min-width:0}
 body.sd-page .sd-list-controls .sx-list-form select{flex:1;min-width:0}
 body.sd-page .sd-watch-header{padding:13px 14px}
 body.sd-page .sd-watch-header h2{font-size:14px}
 body.sd-page .sd-watch-footer{padding:12px 14px}
 body.sd-page .sd-rating{padding:18px}
 body.sd-page .sd-rating fieldset{display:block}
 body.sd-page .sd-rating-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0 8px}
 body.sd-page .sd-rating-options span{min-height:44px}
 body.sd-page .sd-rating-scale{margin-bottom:16px}
 body.sd-page .sd-rating .sd-button{width:100%;min-width:0}
 body.sd-page .sd-facts{gap:18px 24px}
 body.sd-page .sd-about{margin-bottom:28px}
 body.sd-page .sd-section-heading h2{font-size:21px}
 body.sd-page .sd-review{padding:18px 14px;gap:12px}
 body.sd-page .sd-main-composer textarea{min-height:110px}
 html.sc-v2 body.sc-tv-page main.sc-tv-main{padding:90px 16px 28px}
 body.sc-tv-page .ch-hero{padding:18px;gap:14px;align-items:flex-start}
 body.sc-tv-page .ch-logo-wrap{width:60px;height:60px}
 body.sc-tv-page .ch-info .ch-name{font-size:25px}
 body.sc-tv-page .ch-desc{font-size:13px}
 body.sc-tv-page .ch-history{padding:18px}
 body.sc-tv-page .epg-item{grid-template-columns:42px minmax(0,1fr)}
 body.sc-tv-page .epg-live{grid-column:2}
}
@media(max-width:380px){
 body.sp-page .fav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.sd-page .sd-intro{grid-template-columns:88px minmax(0,1fr);gap:12px}
 body.sd-page .sd-intro h1{font-size:22px}
 body.sd-page .sd-facts{grid-template-columns:minmax(0,1fr)}
}
