/* FRAME Cinema Universe — unified page language. All art is supplied by verified title records. */
.frame-cinema-shell{
 --cinema-ink:#f6f7fa; --cinema-muted:#adb7c8;
 background:var(--bg); min-height:100dvh;
}
.frame-cinema-shell .frame-cinema-top{
 min-height:78px;height:auto;padding:13px clamp(17px,2.5vw,42px);
 background:linear-gradient(90deg,rgba(7,9,16,.98),rgba(13,17,27,.95));
 border-bottom:1px solid rgba(255,255,255,.11);
 box-shadow:0 10px 36px rgba(0,0,0,.2);
}
.frame-cinema-shell .frame-cinema-brand{align-items:center;gap:12px}
.frame-cinema-shell .frame-cinema-brand strong{font-size:26px;letter-spacing:-.085em}
.frame-cinema-shell .frame-cinema-brand small{
 display:inline-block;max-width:94px;white-space:normal;line-height:1.2;
 font-size:9px;letter-spacing:.11em;text-transform:uppercase;
}
.frame-cinema-shell .frame-cinema-nav{gap:2px}
.frame-cinema-shell .frame-cinema-nav button{
 border-radius:8px;font-size:12px;font-weight:680;min-height:40px;padding:10px clamp(8px,.8vw,13px);
 transition:background .18s,color .18s;
}
.frame-cinema-shell .frame-cinema-nav button[aria-current="page"]{
 background:color-mix(in srgb,var(--accent) 12%,#10141f);
 box-shadow:inset 0 -2px var(--accent);
}
.frame-cinema-top-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;min-width:0}
.frame-cinema-search{
 display:flex;align-items:center;gap:7px;width:clamp(135px,13vw,235px);
 background:#ffffff0d;border:1px solid #ffffff24;border-radius:99px;
 padding:9px 12px;color:#c8d2e1;transition:border-color .18s,background .18s;
}
.frame-cinema-search:focus-within{border-color:var(--accent);background:#ffffff16}
.frame-cinema-search span{font-size:24px;line-height:15px;font-weight:300}
.frame-cinema-search input{min-width:0;width:100%;background:transparent;border:0;outline:0!important;color:#f7f9fd;font-size:12px}
.frame-cinema-search input::placeholder{color:#bac4d0}
.frame-cinema-shell .frame-cinema-tools button{border-radius:9px}
.frame-cinema-shell .frame-cinema-tools .frame-cinema-add{
 border-color:color-mix(in srgb,var(--accent) 45%,#ffffff21);
 color:#fff;background:color-mix(in srgb,var(--accent) 13%,#10131a);
}
.frame-cinema-shell .frame-cinema-tools .frame-cinema-exit{
 background:transparent;color:#b9c3d1;border-color:#ffffff24;
 font-size:11px;
}
.frame-cinema-shell .frame-cinema-tools .frame-cinema-exit:hover{background:#ffffff1b;color:#fff}
.frame-cinema-shell .frame-cinema-page:not(.cinema-is-home){
 width:100%;max-width:1900px;margin:0 auto;
 padding:clamp(24px,3vw,52px) clamp(18px,4vw,68px) 110px;
 background:radial-gradient(ellipse 70% 400px at 82% 0%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 88%),var(--bg);
}
.frame-cinema-shell .frame-cinema-page:not(.cinema-is-home)>:first-child{max-width:none;margin-left:0;margin-right:0}
.frame-cinema-shell .frame-page-kicker{
 display:block;font-size:10px;text-transform:uppercase;
 letter-spacing:.27em;font-weight:820;color:var(--accent);margin-bottom:11px;
}
.frame-cinema-shell .page-head{
 min-height:122px;align-items:center;margin:0 0 24px;
 padding:22px 0 25px;border-bottom:1px solid color-mix(in srgb,var(--line) 85%,transparent);
 position:relative;
}
.frame-cinema-shell .page-head:after{
 content:"";position:absolute;bottom:-1px;left:0;width:clamp(90px,20%,190px);height:2px;
 background:linear-gradient(90deg,var(--accent),transparent);
}
.frame-cinema-shell .page-head h1{
 font-size:clamp(37px,4.4vw,69px);letter-spacing:-.062em;
 line-height:1.04;font-weight:880;margin:0 0 7px;text-wrap:balance;
}
.frame-cinema-shell .page-head p{font-size:14px;max-width:760px}
.frame-cinema-shell :is(.secondary,.primary,.chip,.library-view,.library-filter-toggle,.taste-switch-button){
 transition:background .18s,border-color .18s,color .18s,transform .18s;
}
.frame-cinema-shell :is(.secondary,.primary):hover{transform:translateY(-1px)}
.frame-cinema-shell .primary{background:var(--accent);color:#10121a}
.frame-cinema-shell .catalog-grid{
 grid-template-columns:repeat(auto-fill,minmax(clamp(145px,14vw,190px),1fr));
 gap:clamp(23px,2.5vw,38px) clamp(13px,1.5vw,22px);
}
.frame-cinema-shell .poster-card{transition:transform .23s ease}
.frame-cinema-shell .poster-card:hover,.frame-cinema-shell .poster-card:focus-visible{transform:translateY(-5px)}
.frame-cinema-shell .poster{
 border:1px solid #ffffff1d;border-radius:13px;
 background:linear-gradient(155deg,var(--surface2),var(--surface3));
 box-shadow:0 9px 26px rgba(0,0,0,.18);
 transition:box-shadow .22s,border-color .22s;
}
.frame-cinema-shell .poster-card:hover .poster,.frame-cinema-shell .poster-card:focus-visible .poster{
 box-shadow:0 22px 43px rgba(0,0,0,.35);
 border-color:color-mix(in srgb,var(--accent) 48%,transparent);
}
.frame-cinema-shell .poster-card .pc-name{
 font-size:13px;font-weight:770;line-height:1.38;margin-top:13px;
 white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 overflow:hidden;max-width:100%;
}
.frame-cinema-shell .poster-card .pc-meta{font-size:11px;line-height:1.5}
.frame-cinema-shell .library-ui{
 border-radius:17px;padding:12px 13px 14px;
 background:color-mix(in srgb,var(--surface) 90%,transparent);
 border:1px solid var(--line);margin:0 0 21px;
}
.frame-cinema-shell .library-views{scrollbar-width:none}
.frame-cinema-shell .library-views::-webkit-scrollbar{display:none}
.frame-cinema-shell .library-view[aria-pressed="true"]{
 box-shadow:inset 0 -2px var(--accent);
}
.frame-cinema-shell .library-summary{margin:16px 0 23px}
.frame-cinema-shell .frame-library-group h2{
 font-size:clamp(23px,2.2vw,30px);letter-spacing:-.04em;
}
.frame-gallery-masthead{
 position:relative;isolation:isolate;overflow:hidden;min-height:290px;
 display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,41%);
 align-items:center;margin-bottom:27px;border:1px solid var(--line);
 border-radius:24px;
 background:linear-gradient(110deg,color-mix(in srgb,var(--surface) 90%,#080e19),color-mix(in srgb,var(--surface2) 86%,var(--accent) 14%));
}
.frame-gallery-atmosphere{
 position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse at 72% 24%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 62%),
 linear-gradient(90deg,color-mix(in srgb,var(--surface) 32%,transparent),transparent);
}
.frame-gallery-copy{position:relative;z-index:3;padding:38px clamp(25px,4vw,62px);min-width:0}
.frame-gallery-kicker{font-size:10px;letter-spacing:.23em;font-weight:850;color:var(--accent)}
.frame-gallery-copy h1{
 font-size:clamp(43px,5vw,79px);line-height:1;letter-spacing:-.067em;margin:12px 0 15px;
 text-wrap:balance;
}
.frame-gallery-copy p{color:var(--muted);font-size:14px;line-height:1.6;margin:0}
.frame-gallery-foot{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:26px}
.frame-gallery-foot span{
 font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:750;
}
.frame-gallery-foot button{
 background:var(--accent);color:#10121a;border:0;border-radius:10px;
 min-height:38px;padding:10px 16px;font-weight:830;font-size:12px;
}
.frame-gallery-foot button:hover{filter:brightness(1.08)}
.frame-gallery-art{height:290px;position:relative;isolation:isolate;overflow:hidden}
.frame-gallery-art:after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(90deg,var(--surface),transparent 25%,transparent 74%,color-mix(in srgb,var(--surface) 30%,transparent));
 opacity:.46;
}
.frame-gallery-cover{
 position:absolute;top:50%;left:50%;width:clamp(126px,12.5vw,183px);
 aspect-ratio:2/3;overflow:hidden;border-radius:12px;border:1px solid #ffffff30;
 transform:translate(-50%,-50%) translate(var(--shift-x),var(--shift-y)) rotate(var(--rotate));
 box-shadow:0 24px 45px #0009;z-index:var(--layer);
}
.frame-gallery-cover img{width:100%;height:100%;object-fit:cover}
.frame-gallery-cover-0{--shift-x:-72px;--shift-y:2px;--rotate:-9deg;--layer:4}
.frame-gallery-cover-1{--shift-x:70px;--shift-y:-10px;--rotate:8deg;--layer:3}
.frame-gallery-cover-2{--shift-x:-175px;--shift-y:12px;--rotate:-17deg;--layer:2}
.frame-gallery-cover-3{--shift-x:171px;--shift-y:17px;--rotate:17deg;--layer:1}
.cinema-home{background:#080b11}
.cinema-intro{background:#080b11;border-bottom:1px solid #ffffff12}
.cinema-hero{height:clamp(525px,71vh,800px)}
.cinema-hero-backdrop{filter:saturate(.94) contrast(1.02);opacity:.94}
.cinema-hero-backdrop-soft{filter:blur(43px) saturate(.87);transform:scale(1.18);opacity:.72}
.cinema-hero-shade{background:linear-gradient(90deg,#080b11 3%,#080b11f2 21%,#080b11b3 52%,#080b1138 88%),linear-gradient(0deg,#080b11 0%,#080b1199 23%,transparent 65%)}
.cinema-hero-eyebrow{display:flex;align-items:center;gap:11px}
.cinema-hero-eyebrow:before{content:"";height:2px;width:26px;background:var(--accent);border-radius:2px}
.cinema-hero h1{max-width:860px}
.cinema-hero-actions button{border-radius:10px}
.cinema-hero .cinema-primary{box-shadow:0 12px 30px #0007}
.cinema-overview{
 max-width:1760px;margin:0 auto;padding:36px clamp(20px,5vw,80px) 6px;
 color:#f9fbff;
}
.cinema-overview-title{margin-bottom:17px}
.cinema-overview-title>span{font-size:10px;color:var(--accent);font-weight:800;letter-spacing:.23em}
.cinema-overview-title h2{font-size:clamp(23px,2.5vw,33px);letter-spacing:-.05em;margin:10px 0}
.cinema-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.cinema-overview-card{
 position:relative;isolation:isolate;overflow:hidden;min-height:152px;
 border:1px solid #ffffff23;border-radius:16px;background:linear-gradient(125deg,#151b27,#202638);
 color:#fff;text-align:left;padding:19px;cursor:pointer;transition:transform .2s,border-color .2s;
}
.cinema-overview-card:hover,.cinema-overview-card:focus-visible{
 transform:translateY(-3px);border-color:color-mix(in srgb,var(--accent) 55%,#ffffff45);
}
.cinema-overview-copy{position:relative;z-index:2;display:flex;flex-direction:column;gap:3px;max-width:58%}
.cinema-overview-copy strong{font-size:clamp(27px,3vw,42px);letter-spacing:-.05em}
.cinema-overview-copy>span{font-size:12px;font-weight:750;color:#f3f5fa}
.cinema-overview-copy small{font-size:10px;margin-top:11px;color:#bac5d4}
.cinema-overview-art{position:absolute;inset:0;z-index:1;pointer-events:none}
.cinema-overview-art:before{
 content:"";position:absolute;inset:0;z-index:5;
 background:linear-gradient(90deg,#151b27 16%,#151b27c9 43%,transparent 100%);
}
.cinema-overview-cover{
 position:absolute;top:50%;right:11%;height:116px;width:78px;object-fit:cover;
 border-radius:7px;border:1px solid #ffffff34;box-shadow:0 7px 23px #000b;
 transform:translateY(-50%) translateX(var(--x)) rotate(var(--rot));z-index:var(--layer);
}
.cinema-overview-cover-0{--x:0px;--rot:7deg;--layer:4}
.cinema-overview-cover-1{--x:-22px;--rot:-8deg;--layer:3}
.cinema-overview-cover-2{--x:22px;--rot:15deg;--layer:2}
.cinema-overview-cover-3{--x:-44px;--rot:-16deg;--layer:1}
.cinema-shelves{padding-top:17px}
.cinema-shelf-title h2{font-size:clamp(24px,2.5vw,33px)}
.cinema-card-cover{border:1px solid #ffffff20;border-radius:13px}
.cinema-card-name{font-size:14px;line-height:1.4;white-space:normal}
.frame-cinema-shell .frame-tracker-group,
.frame-cinema-shell .taste-panel,
.frame-cinema-shell .cx-summary>div,
.frame-cinema-shell .fs-panel{
 box-shadow:0 11px 35px color-mix(in srgb,#000 13%,transparent);
}
.frame-cinema-shell :is(.taste-feature,.cx-hero,.fs-hero,.greenlit-feature,.cu-hero){
 border-radius:24px;
 box-shadow:0 18px 49px color-mix(in srgb,#000 16%,transparent);
}
.frame-cinema-shell :is(.live-rec,.rec,.greenlit-card,.frame-tracker-row){
 transition:border-color .18s,box-shadow .18s,transform .18s;
}
.frame-cinema-shell :is(.live-rec,.rec,.greenlit-card,.frame-tracker-row):hover{
 border-color:color-mix(in srgb,var(--accent) 37%,var(--line));
}
body:has(.frame-cinema-shell) .frame-cinematic-modal{
 width:min(1120px,100%);max-height:min(94dvh,1080px);
 border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));
 box-shadow:0 35px 95px #000a;
}
body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-backdrop{height:235px}
body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-main{grid-template-columns:190px minmax(0,1fr)}
body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-main h2{font-size:clamp(31px,3.6vw,49px);letter-spacing:-.05em}
body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-side{border:1px solid var(--line)}
@media(max-width:1450px){
 .frame-cinema-shell .frame-cinema-brand small{display:none}
 .frame-cinema-shell .frame-cinema-nav button{padding:9px 8px}
 .frame-cinema-search{width:155px}
 .frame-cinema-top-actions{gap:8px}
 .frame-cinema-shell .frame-cinema-tools{gap:5px}
}
@media(max-width:1120px){
 .frame-cinema-shell .frame-cinema-top{flex-wrap:wrap;gap:8px 18px}
 .frame-cinema-shell .frame-cinema-brand{order:0}
 .frame-cinema-top-actions{order:1;margin-left:auto}
 .frame-cinema-shell .frame-cinema-nav{order:2;flex:0 0 100%;width:100%;padding:2px 0;overflow-x:auto}
 .frame-cinema-shell .frame-cinema-nav button{padding:8px 12px}
 .cinema-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .frame-gallery-masthead{grid-template-columns:minmax(0,1fr) minmax(210px,40%)}
}
@media(max-width:750px){
 .frame-cinema-shell .frame-cinema-top{padding:12px 14px 7px;gap:8px}
 .frame-cinema-shell .frame-cinema-brand strong{font-size:24px}
 .frame-cinema-shell .frame-cinema-nav{order:3;flex:0 0 100%;padding-top:5px}
 .frame-cinema-top-actions{order:2;display:contents}
 .frame-cinema-search{order:1;width:100%;flex:1 1 100%;max-width:none}
 .frame-cinema-shell .frame-cinema-tools{order:0;margin-left:auto}
 .frame-cinema-shell .frame-cinema-tools button{padding:7px 10px}
 .frame-cinema-shell .frame-cinema-page:not(.cinema-is-home){padding:19px 15px 95px}
 .frame-cinema-shell .page-head{min-height:94px;padding:16px 0 19px;margin-bottom:20px}
 .frame-cinema-shell .page-head h1{font-size:clamp(34px,8vw,52px)}
 .frame-cinema-shell .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}
 .frame-cinema-shell .library-ui{padding:8px}
 .frame-gallery-masthead{min-height:236px;grid-template-columns:minmax(0,1fr) 34%;border-radius:18px}
 .frame-gallery-copy{padding:27px 22px}
 .frame-gallery-copy h1{font-size:clamp(33px,7.5vw,54px)}
 .frame-gallery-copy p{font-size:12px}
 .frame-gallery-foot{gap:10px;margin-top:17px}
 .frame-gallery-foot button{font-size:11px;padding:9px 11px}
 .frame-gallery-art{height:236px}
 .frame-gallery-cover{width:115px}
 .frame-gallery-cover-0{--shift-x:-9px;--shift-y:3px}
 .frame-gallery-cover-1{--shift-x:38px;--shift-y:-8px}
 .frame-gallery-cover-2{--shift-x:-53px;--shift-y:13px}
 .frame-gallery-cover-3{--shift-x:60px;--shift-y:15px}
 .cinema-hero{min-height:570px}
 .cinema-hero-shade{background:linear-gradient(0deg,#080b11 2%,#080b11f0 28%,#080b1168 75%,#080b111f),linear-gradient(90deg,#080b1170,transparent)}
 .cinema-overview{padding:24px 19px 4px}
 .cinema-overview-card{min-height:130px;padding:15px}
 .cinema-overview-cover{height:106px;width:71px;right:10%}
 .cinema-overview-copy strong{font-size:29px}
 .cinema-overview-copy>span{font-size:11px}
 body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-backdrop{height:150px}
 body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-main{grid-template-columns:104px minmax(0,1fr)}
 body:has(.frame-cinema-shell) .frame-cinematic-modal .detail-main h2{font-size:clamp(23px,5.5vw,31px)}
}
@media(max-width:450px){
 .frame-cinema-shell .frame-cinema-nav button{font-size:11px;padding:8px 11px}
 .frame-cinema-shell .frame-cinema-tools .frame-cinema-add{display:inline-flex}
 .frame-cinema-shell .frame-cinema-tools .frame-cinema-exit{font-size:10px;padding:7px}
 .frame-cinema-shell .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .frame-gallery-masthead{grid-template-columns:minmax(0,1fr) 27%;min-height:219px}
 .frame-gallery-copy{padding:24px 18px}
 .frame-gallery-copy h1{font-size:35px}
 .frame-gallery-copy p{max-width:220px}
 .frame-gallery-foot{align-items:flex-start;flex-direction:column}
 .frame-gallery-art{height:219px}
 .frame-gallery-cover{width:96px}
 .frame-gallery-cover-0{--shift-x:0px}
 .frame-gallery-cover-1{--shift-x:33px}
 .frame-gallery-cover-2{--shift-x:-32px}
 .frame-gallery-cover-3{--shift-x:48px}
 .cinema-overview-grid{gap:9px}
 .cinema-overview-card{padding:12px;min-height:126px}
 .cinema-overview-copy{max-width:72%}
 .cinema-overview-art:before{background:linear-gradient(90deg,#151b27 22%,#151b27be 63%,transparent)}
 .cinema-overview-cover{right:0}
}
@media(prefers-reduced-motion:reduce){
 .frame-cinema-shell .poster-card,.frame-cinema-shell .poster,
 .cinema-overview-card,.frame-cinema-shell :is(.secondary,.primary,.chip,.library-view,.library-filter-toggle,.taste-switch-button){transition:none!important}
 .frame-cinema-shell .poster-card:hover,.cinema-overview-card:hover{transform:none}
}
body.frame-reduced-motion .frame-cinema-shell .poster-card,
body.frame-reduced-motion .cinema-overview-card{transition:none!important}
body.frame-reduced-motion .frame-cinema-shell .poster-card:hover,
body.frame-reduced-motion .cinema-overview-card:hover{transform:none}
