/* CineBounce cinema layout: dark surfaces, full-width navigation, personal film artwork. */
:root{--bg:#0d0e11;--panel:#15161b;--line:#292a31;--muted:#a2a3ad;--ink:#f5f5f7;--accent:#f6f6f8;color-scheme:dark}
body.cinema-theme{background:#0d0e11;color:#f5f5f7;font-family:Manrope,'DM Sans',system-ui,sans-serif}.cinema-shell{display:block;min-height:100vh}.cinema-theme button{border-color:#34353d;border-radius:999px;background:#202127;color:#eeeef2}.cinema-theme button:hover{background:#303139;border-color:#60616b}.cinema-theme button.primary{background:#fafafa;border-color:#fafafa;color:#101114}.cinema-theme button.primary:hover{background:#dcdde5}.cinema-theme button.ghost{background:transparent}.cinema-theme h1,.cinema-theme h2,.cinema-theme h3{font-family:Manrope,'DM Sans',system-ui,sans-serif;color:#f6f6f8}.cinema-theme .eyebrow{color:#989ba8}.cinema-theme input,.cinema-theme textarea,.cinema-theme select{background:#202127;border-color:#35363e;border-radius:12px;color:#f3f3f6}.cinema-theme input:focus,.cinema-theme textarea:focus,.cinema-theme select:focus{outline-color:#7e9be8;border-color:#7e9be8}.cinema-theme option{background:#202127}.cinema-theme .panel,.cinema-theme .card{background:#15161b;border-color:#2c2d35;border-radius:20px}.cinema-theme .panel h2{font-family:Manrope,sans-serif}.cinema-theme .notice{background:#1a1c24;border-color:#383c4c;color:#c5c8d2;border-radius:14px}.cinema-theme .notice strong{color:#f4f4f7}.cinema-theme .tag,.cinema-theme .pill{color:#dbdce4;background:#20232bbf;border-color:#414550}.cinema-theme .tag{border-radius:999px}.cinema-theme .footnote{color:#9699a5}.cinema-theme a{color:#c4d3ff}.cinema-theme .card:hover{border-color:#6e758d}.cinema-theme button:focus-visible,.cinema-theme a:focus-visible{outline:2px solid #a8bfff;outline-offset:4px}
.cinema-topbar{height:76px;position:sticky;top:0;z-index:12;background:#0d0e12ee;backdrop-filter:blur(20px);border-bottom:1px solid #292a31;display:flex;align-items:center;padding:0 32px;gap:30px}.cinema-theme .cinema-brand{border:0;background:none;padding:0;font:800 25px Manrope,system-ui;letter-spacing:-1.6px;white-space:nowrap;color:#fafafa}.cinema-brand span{margin-left:5px;color:#dce4ff;font-size:18px}.cinema-topnav{display:flex;align-items:center;gap:7px;flex:1}.cinema-topnav button{font-size:13px;white-space:nowrap;color:#bcbec9;padding:10px 15px}.cinema-topnav button.active{background:#292a31;color:#fff}.cinema-topnav small{font-size:9px;background:#386bea;border-radius:8px;letter-spacing:.5px;padding:3px 5px;margin-left:5px;color:#fff}.cinema-top-actions,.cinema-live-actions,.cinema-top-actions .header-actions{display:flex;align-items:center;gap:14px}.cinema-theme .saved{font-size:10px;color:#c2c3cc;white-space:nowrap}.cinema-theme .saved:before{background:#67c7a0}.cinema-theme .studio-language{margin:0}.cinema-theme .studio-language>span{display:none}.cinema-theme .studio-language select{min-height:34px;min-width:95px;border-radius:999px;font-size:11px;padding:6px 12px;background:#17181f}.cinema-account{position:relative}.cinema-account summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px}.cinema-account summary::-webkit-details-marker{display:none}.cinema-avatar{height:38px;width:38px;background:linear-gradient(135deg,#6196ed,#2b59b6);border-radius:50%;display:grid;place-items:center;font-weight:800;border:2px solid #91b8ff45;box-shadow:0 0 15px #548cff35}.cinema-account-arrow{color:#9b9daa}.cinema-account-panel{position:absolute;right:0;top:52px;min-width:245px;padding:18px;background:#1a1b22;border:1px solid #3a3c48;border-radius:18px;box-shadow:0 20px 60px #0009;z-index:20}.cinema-account-panel strong{display:block;padding:8px 10px;color:#a9adbd;font-size:12px}.cinema-account-panel button{width:100%;text-align:left;border:0;font-size:12px;padding:12px 10px;border-radius:10px}.cinema-account-existing{border-top:1px solid #34363f;margin-top:8px;padding-top:8px}.cinema-menu-toggle{display:none}.cinema-theme .workspace{min-height:calc(100vh - 76px)}.cinema-theme .workspace>.cinema-context{height:64px;max-width:1440px;margin:auto;background:none;border:0;padding:10px 42px;gap:20px}.cinema-context .breadcrumb{color:#9296a6;flex:1}.cinema-context .breadcrumb strong{color:#e5e6ed}.cinema-theme .cinema-current-project{margin:0;padding:0;background:none;border:0;max-width:260px}.cinema-current-project>label{display:none}.cinema-current-project select{margin:0;padding:8px 12px;font-size:12px;font-weight:500;border:1px solid #30323d;background:#17181e}.cinema-context-actions{display:flex;gap:10px}.cinema-context-actions button{font-size:11px}.cinema-theme .content{max-width:1380px;padding:28px 42px 70px}.cinema-theme .title-row h1{font:700 clamp(26px,3vw,36px) Manrope,sans-serif}.cinema-theme .subtitle{color:#a3a7b7}.cinema-theme .cast-explainer,.cinema-theme .next-step{background:#191b23;border-color:#343947}.cinema-theme .cast-emblem{color:#c6d4fa;background:#292e3f}.cinema-theme .cast-explainer strong,.cinema-theme .next-step strong{color:#e2e6f4}.cinema-theme .reference-dots .filled,.cinema-theme .identity-badge.locked{color:#bbd4d0;border-color:#47655d;background:#22332f}.cinema-theme .steps{background:none;border:1px solid #30333e;border-radius:18px;padding:8px;gap:8px}.cinema-theme .steps button{background:#1a1c24;border:0;border-radius:12px;color:#c1c7db}.cinema-theme .steps button.current{background:#30394e;color:#fff}.cinema-theme .step-num{border-color:#5a6887;color:#d5def4;background:#262d3d}.cinema-theme .add-card{background:#16171d;border:1px dashed #484b5b;border-radius:20px;color:#c3c8d8}.cinema-theme .add-card:hover{border-color:#8fa5d8;background:#1c202b}.cinema-theme .shot-reference{background:#1a1c24;border-color:#353a49}.cinema-theme .shot-reference strong{color:#e6e8ef}.cinema-theme .reference-slot,.cinema-theme .portrait-prompt{background:#1b1d25;border-color:#373c4a}.cinema-theme .form-section{border-color:#30323c}.cinema-theme .voice-save-actions{background:#1b1d26;border-color:#414655}.cinema-theme .voice-save-actions p{color:#b7c1da}.cinema-theme dialog{background:#15161c;border:1px solid #3b3d49;border-radius:22px;box-shadow:0 40px 120px #000a;color:#f0f1f5}.cinema-theme dialog::backdrop{background:#05060bba;backdrop-filter:blur(7px)}.cinema-theme .modal-head h2{font:650 24px Manrope,sans-serif}.cinema-theme dialog .location-preview{background:#0b0c11}.cinema-theme .cost-table{overflow:auto}.cinema-theme #toast{background:#eeeef4;color:#11121a;border-radius:12px}
.cinema-drawer[hidden]{display:none!important}.cinema-theme .cinema-drawer:not([hidden]){display:flex;position:fixed;inset:76px auto 0 0;height:calc(100vh - 76px);width:290px;z-index:18;background:#14151c;overflow:auto;border-right:1px solid #373a49;box-shadow:20px 0 80px #0008}.cinema-drawer-close{align-self:flex-end}.cinema-drawer .logo{display:none}.cinema-mobile-nav{display:none}.cinema-theme .content.cinema-home-content{max-width:none;padding:0;background:radial-gradient(ellipse at 70% 5%,#101e2c,#0d0e11 65%)}.cinema-hero{position:relative;min-height:610px;isolation:isolate;overflow:hidden;display:flex;align-items:center;background:radial-gradient(ellipse at 76% 25%,#344a61 0,transparent 45%),linear-gradient(120deg,#07111e,#172631 55%,#090d14);padding:80px max(7vw,calc((100vw - 1250px)/2)) 100px}.cinema-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 42%;z-index:-3;filter:brightness(.6) saturate(.7)}.cinema-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#050a11e8 0%,#07101c90 50%,#070b1340),linear-gradient(0deg,#0d0e11 0%,transparent 45%)}.cinema-hero-copy{max-width:850px}.cinema-eyebrow{font-size:10px;letter-spacing:3px;font-weight:600;color:#b3c4da}.cinema-hero h1{font-weight:800;font-size:clamp(46px,5.7vw,82px);letter-spacing:-3px;line-height:1.08;margin:24px 0;color:#fff}.cinema-hero-copy>p{font-size:17px;line-height:1.8;color:#c5cbd5;max-width:560px;margin:22px 0 30px}.cinema-hero .actions{gap:12px}.cinema-hero .actions button{min-height:50px;padding:14px 25px;font-size:13px;font-weight:700}.cinema-hero .actions .ghost{border:1px solid #a8afbf80;backdrop-filter:blur(8px);background:#292f3b44}.cinema-hero-caption{position:absolute;bottom:45px;right:6vw;display:flex;align-items:center;gap:10px;font-size:11px;color:#c0c5d0;max-width:75%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cinema-live-dot{width:6px;height:6px;background:#b9cee9;border-radius:50%}.cinema-composer{position:relative;max-width:1080px;margin:20px auto 90px;text-align:center;padding:0 30px;scroll-margin-top:110px}.cinema-composer h2{font-family:Georgia,serif!important;font-size:clamp(30px,4vw,52px);font-weight:500;letter-spacing:6px;margin:18px 0}.cinema-composer>p{font-size:19px;color:#bfc4d1;letter-spacing:1px;margin-bottom:28px}.cinema-composer form{background:linear-gradient(120deg,#111e2acc,#171b24bb);border:1px solid #3a4351;border-radius:24px;padding:20px;box-shadow:0 20px 70px #0003}.cinema-composer textarea{border:0!important;background:none!important;outline:none;box-shadow:none;width:100%;min-height:125px;resize:vertical;font-size:16px;line-height:1.8;padding:6px;color:#e9ecf4}.cinema-composer textarea::placeholder{color:#8f9cae}.cinema-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:15px}.cinema-upload{border:1px solid #566174;border-radius:999px;display:flex;gap:12px;align-items:center;cursor:pointer;padding:12px 18px;font-size:12px;background:#222d3b80;color:#e1e5ed}.cinema-upload small{font-size:9px;color:#adb9cf}.cinema-theme .cinema-send{width:44px;height:44px;padding:0;border-radius:50%;font-size:25px;line-height:1;background:#e9ecf3;color:#111727}.cinema-composer-note{display:block;color:#777f90;font-size:11px;line-height:1.8;margin:20px auto;max-width:650px}.cinema-composer #cinemaUploadStatus{font-size:11px;text-align:left;margin-bottom:0;color:#a8b9d8}.cinema-library{max-width:1300px;padding:0 40px 80px;margin:auto;scroll-margin-top:110px}.cinema-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.cinema-section-title h2{font-size:23px;margin:12px 0}.cinema-section-title h2 span{font-size:12px;color:#9fa8bd;margin-left:10px}.cinema-movies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.cinema-movie{min-width:0}.cinema-theme .cinema-movie-cover{position:relative;display:block;text-align:left;width:100%;height:240px;border-radius:15px;padding:22px;border:1px solid #3b4151;overflow:hidden;color:#f7f8fa;background:radial-gradient(ellipse at 70% 15%,#49607699,transparent 55%),linear-gradient(135deg,#16232b,#293442 65%,#10151e)}.cinema-movie-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s;filter:saturate(.8)}.cinema-movie-cover:hover .cinema-movie-image{transform:scale(1.04)}.cinema-movie-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#090c15ee 0,transparent 90%)}.cinema-movie-label{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:10px;background:#0c1420aa;padding:6px 9px;border:1px solid #5a657e88;border-radius:20px}.cinema-movie-title{position:absolute;left:22px;right:22px;bottom:48px;font-family:Georgia,serif;font-size:27px;line-height:1.15;color:#f1f0e9;overflow-wrap:anywhere}.cinema-movie-open{position:absolute;bottom:20px;left:22px;font-size:10px;letter-spacing:1px;color:#c3cce0}.cinema-movie-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 0 8px}.cinema-movie-meta h3{font-size:13px;margin:0 0 8px}.cinema-movie-meta p{font-size:11px;color:#969daf;margin:0;line-height:1.5}.cinema-watch{font-size:11px!important}.cinema-theme .cinema-new-movie{min-height:240px;border:1px dashed #444b5c;border-radius:15px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;background:linear-gradient(130deg,#181c25,#11131a);color:#bcc8e1}.cinema-new-movie>span{font-size:40px;font-weight:300}.cinema-new-movie small{color:#7c89a2}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cinema-theme .film-studio{max-width:1180px}.cinema-theme .film-heading.cinema-project-heading{position:relative;isolation:isolate;overflow:hidden;padding:38px;border:1px solid #323743;border-radius:22px;background:linear-gradient(100deg,#17202f,#151820);min-height:160px}.cinema-project-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.28) saturate(.6);z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 70%)}.cinema-theme .film-heading h1{font:750 clamp(25px,3vw,38px) Manrope,sans-serif;letter-spacing:-1px;margin:12px 0}.cinema-theme .film-tabs{background:#1d1f27;border:1px solid #313540;border-radius:999px;padding:5px;max-width:650px;margin:0 auto 25px}.cinema-theme .film-tabs button{min-height:42px;border-radius:999px;background:transparent}.cinema-theme .film-tabs [aria-selected=true]{color:#14161d;background:#e9ebf1}.cinema-theme .film-roadmap{border:1px solid #333743;background:#13151c;border-radius:16px;padding:15px 20px}.cinema-theme .film-step-grid button{border-radius:10px;background:#1b1e27;color:#a7afc4;min-height:55px}.cinema-theme .film-step-grid button span{color:#788cbd}.cinema-theme .film-step-grid [aria-current=step]{background:#26344f;border:1px solid #6c8cce;color:#edf2ff}.cinema-theme .film-step-grid [aria-current=step] span{color:#b7d0ff}.cinema-theme .film-studio h2{font:650 clamp(24px,3vw,30px) Manrope,sans-serif;letter-spacing:-.6px}.cinema-theme .film-recording,.cinema-theme .film-studio .panel{background:#15171f;border-color:#323745;border-radius:20px}.cinema-theme .film-look{border-color:#363d4d;background:#171a23;border-radius:15px}.cinema-theme .film-look.chosen{border-color:#a9bde8;box-shadow:0 0 0 2px #7396d444}.cinema-theme .film-look small{color:#aebbd4}.cinema-theme .film-asset{background:#171a23;border-color:#303646;border-radius:18px}.cinema-theme .film-asset em{color:#a8c4e5}.cinema-theme .film-asset small{color:#989fb1}.cinema-theme .film-empty-thumb{background:linear-gradient(135deg,#344356,#202633);color:#a8bde0}.cinema-theme .film-format{border-color:#566076;color:#c1cce2}.cinema-theme .film-add{border-color:#475675;color:#c0d0eb;border-radius:999px}.cinema-theme .film-shot-row{background:#1d2230;border-radius:12px}.cinema-theme .film-shot-row>span,.cinema-theme .film-shot-number{color:#a8c4f6}.cinema-theme .film-references span{border-color:#435273;color:#aec5f0}.cinema-theme .film-warning{background:#30271c;border-color:#6f5834;color:#dcc299}.cinema-theme .film-prompt{background:#10131b;color:#aeb9d1}.cinema-theme .film-download{color:#c1d3ff}.cinema-theme .film-cast-checks label{border-color:#485570;background:#1b2130}.cinema-theme .film-cast-checks input{accent-color:#8db4ff}.cinema-theme .cinema-account-panel button:hover{background:#303749}.cinema-theme .film-studio button:focus-visible{outline-color:#a4c0ff}
@media(min-width:1600px){.cinema-topbar{padding:0 50px;gap:45px}.cinema-hero{min-height:680px}.cinema-topnav{gap:12px}}
@media(max-width:1150px){.cinema-topbar{gap:20px;padding:0 22px}.cinema-topnav button{padding:10px;font-size:12px}.cinema-topnav small{display:none}.cinema-top-actions .saved{display:none}.cinema-theme .content{padding:25px}.cinema-hero{padding-left:7vw}.cinema-theme .workspace>.cinema-context{padding-left:25px;padding-right:25px}}
@media(max-width:800px){.cinema-topbar{height:65px;padding:0 18px;gap:13px}.cinema-theme .cinema-brand{font-size:22px;flex:1}.cinema-topnav{display:none}.cinema-theme .cinema-menu-toggle{display:block;background:none;border:0;border-radius:10px;padding:8px;font-size:19px}.cinema-top-actions{gap:10px}.cinema-account-arrow{display:none}.cinema-avatar{width:32px;height:32px;font-size:12px}.cinema-top-actions .header-actions{gap:0}.cinema-theme .studio-language select{min-width:75px;width:80px;font-size:10px;min-height:30px;padding:5px}.cinema-theme .content{padding:20px 17px 100px}.cinema-theme .workspace>.cinema-context{height:auto;min-height:65px;padding:13px 17px;gap:12px}.cinema-context .breadcrumb{display:none}.cinema-theme .cinema-current-project{flex:1;min-width:0;max-width:none}.cinema-context-actions button{font-size:10px;padding:9px 12px}.cinema-theme .cinema-drawer:not([hidden]){top:65px;bottom:73px;height:auto;width:min(300px,85vw);padding:20px}.cinema-drawer .project-switch{display:none}.cinema-drawer nav{display:grid!important;overflow:visible!important}.cinema-drawer .film-legacy-nav{display:block!important}.cinema-drawer .side-bottom{display:block}.cinema-drawer .new-story{margin-top:10px}.cinema-mobile-nav{display:flex;justify-content:space-around;align-items:center;position:fixed;bottom:0;left:0;right:0;height:72px;padding-bottom:env(safe-area-inset-bottom,0);z-index:14;border-top:1px solid #373b48;background:#171a23f5;backdrop-filter:blur(20px)}.cinema-mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;border:0;background:none;border-radius:14px;min-width:55px;padding:8px 10px;color:#9fa8bc}.cinema-mobile-nav button>span{font-size:22px;line-height:1}.cinema-mobile-nav button.active{background:#30384d;color:#f8faff}.cinema-hero{min-height:510px;padding:60px 23px 80px}.cinema-hero h1{font-size:48px;letter-spacing:-2px;margin:20px 0}.cinema-hero-copy>p{font-size:14px;line-height:1.8;max-width:420px}.cinema-hero .actions{gap:9px}.cinema-hero .actions button{font-size:11px;padding:12px 16px;min-height:44px}.cinema-hero-caption{left:23px;right:auto;bottom:24px;font-size:9px;max-width:85%}.cinema-composer{margin:20px auto 55px;padding:0 18px;scroll-margin-top:90px}.cinema-composer h2{font-size:29px;letter-spacing:3px;line-height:1.3;margin:18px 0}.cinema-composer>p{font-size:14px;letter-spacing:.3px}.cinema-eyebrow{font-size:8px;letter-spacing:2px}.cinema-composer form{padding:15px;border-radius:20px}.cinema-composer textarea{font-size:13px;min-height:155px;line-height:1.9}.cinema-upload{font-size:10px;padding:10px 12px;gap:8px}.cinema-upload small{font-size:8px}.cinema-composer-note{font-size:10px;max-width:340px}.cinema-library{padding:0 18px 110px;scroll-margin-top:90px}.cinema-section-title{align-items:flex-start;gap:10px;flex-wrap:wrap}.cinema-section-title .actions{gap:7px}.cinema-section-title h2{font-size:22px}.cinema-section-title .actions button{font-size:10px;padding:9px 12px}.cinema-movies{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.cinema-theme .cinema-movie-cover{height:190px;padding:12px}.cinema-movie-title{font-size:22px;left:12px;right:12px;bottom:42px}.cinema-movie-open{left:12px;font-size:8px;bottom:18px;letter-spacing:.4px}.cinema-movie-label{font-size:8px;padding:5px 7px}.cinema-movie-meta{padding-top:12px;gap:4px}.cinema-movie-meta h3{font-size:11px}.cinema-movie-meta p{font-size:9px}.cinema-movie-meta button{padding:5px}.cinema-watch{font-size:9px!important;padding:8px!important}.cinema-theme .cinema-new-movie{min-height:190px;font-size:11px;gap:13px}.cinema-new-movie small{font-size:9px}.cinema-theme .film-heading.cinema-project-heading{padding:23px 20px;min-height:145px}.cinema-theme .film-heading h1{font-size:28px;line-height:1.2}.cinema-theme .film-heading p{font-size:12px;line-height:1.7}.cinema-theme .film-tabs{max-width:none}.cinema-theme .film-tabs button{font-size:11px}.cinema-theme .film-roadmap{padding:14px 16px}.cinema-theme .film-step-grid button{min-height:46px;font-size:11px;gap:7px}.cinema-theme .film-studio .panel{padding:20px 17px}.cinema-theme .film-studio h2{font-size:25px}.cinema-theme dialog{max-width:calc(100vw - 20px);padding:22px 18px}.cinema-theme .modal-head h2{font-size:21px}.cinema-account-panel{min-width:210px;right:-5px;top:45px}.cinema-theme .content.cinema-home-content{padding:0}.cinema-theme .film-next{padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){.cinema-theme *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.cinema-theme [hidden]{display:none!important}.cinema-theme .login-page{background:linear-gradient(140deg,#1c2636,#15171e 70%);border:1px solid #343d50;border-radius:26px;padding:35px!important;box-shadow:0 30px 120px #0008}.cinema-theme .login-page .logo{color:#f5f6fb;font-family:Manrope,sans-serif}.cinema-theme .login-page h1{font-size:28px}.cinema-theme .login-page p{color:#a4b1c9}.cinema-theme .social-login{background:#252b38;border-color:#45516a}.cinema-theme #cloudLogin{border-color:#3a4459}.cinema-theme .login-page .studio-language{margin-bottom:18px}

/* Uploaded homepage film: muted, inline playback with a still-image fallback. */
.cinema-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-3;background:#111b26}
.cinema-theme .cinema-video-toggle{position:absolute;bottom:32px;left:7vw;z-index:1;width:42px;height:42px;padding:0;border:1px solid #a8afbf80;background:#151e2c99;backdrop-filter:blur(8px);color:white;border-radius:50%;font-size:17px}
@media(max-width:800px){.cinema-theme .cinema-video-toggle{left:auto;right:23px;bottom:20px;width:35px;height:35px}.cinema-hero-caption{max-width:70%}}

/* Cinematic sign-in, keeping the existing Google/Apple and owner authentication. */
.cinema-auth-stage{position:relative;isolation:isolate;min-height:100svh;padding:56px 28px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#101217}
.cinema-auth-backdrop{position:absolute;z-index:-1;inset:-50px;background:linear-gradient(#05080dbb,#05080de6),url('/media/home-hero.jpg') center/cover;filter:blur(22px);opacity:.9}
.cinema-theme .login-page.cinema-auth-card{display:grid;grid-template-columns:1fr 1fr;gap:25px;width:1120px;max-width:100%;padding:18px!important;margin:0;border:1px solid #4a4d55;border-radius:29px;background:linear-gradient(150deg,#292a2edb,#090c11f5 60%);box-shadow:0 35px 120px #0009;overflow:hidden;backdrop-filter:blur(18px)}
.cinema-auth-form{position:relative;min-width:0;padding:40px 36px 28px;display:flex;flex-direction:column;justify-content:center}
.cinema-theme .cinema-auth-form .logo{justify-content:center;text-align:center;font-size:34px;letter-spacing:-1.5px;margin:0 0 32px;font-weight:800;line-height:1.1}
.cinema-auth-form .logo span{font-size:21px;color:#c5d0e3;margin-left:5px}
.cinema-auth-intro{text-align:center}.cinema-theme .cinema-auth-intro h1{font-size:36px;letter-spacing:-1px;line-height:1.15;margin:15px 0 13px;color:#fff}.cinema-theme .cinema-auth-intro>p{font-size:15px;color:#b3b8c3;margin:0 0 10px}
.cinema-auth-form .social-login-options{margin-top:26px;gap:11px}.cinema-theme .cinema-auth-form .social-login{min-height:51px;background:#20242bcc;border:1px solid #484e5d;border-radius:999px;color:#f6f7fa;font-size:14px;font-weight:600}.cinema-auth-form .social-login>span{font-size:20px}.cinema-auth-form .social-login small{margin-left:auto;font-size:9px;max-width:96px}.cinema-auth-form .social-login[disabled]{opacity:.4}.cinema-auth-form>.footnote{font-size:11px;line-height:1.7;text-align:center;margin:14px 0 0;color:#9a9fab}
.cinema-auth-divider{display:flex;align-items:center;gap:13px;margin:25px 0;color:#8c93a2;font-size:10px;text-align:center}.cinema-auth-divider:before,.cinema-auth-divider:after{content:'';height:1px;background:#3c414b;flex:1}
.cinema-theme .cinema-auth-card #cloudLogin{border:0;padding:0;margin:0}.cinema-auth-card #cloudLogin label{display:block;font-size:12px;color:#c8cdd7;margin:0 0 10px}.cinema-theme .cinema-auth-card #cloudLogin input{height:53px;font-size:14px;background:#181d24cc;border:1px solid #434a58;border-radius:14px;padding:0 16px;width:100%;color:white}.cinema-theme .cinema-auth-card #cloudLogin input::placeholder{color:#848d9e}.cinema-auth-card #cloudLogin .primary{width:100%;min-height:51px;border-radius:999px;background:linear-gradient(105deg,#3b6bff,#2950e1);box-shadow:0 8px 25px #2149db38;color:white;border:1px solid #5076ff;font-size:14px}.cinema-auth-card #cloudLogin .primary:hover{background:linear-gradient(105deg,#507dff,#3764ef)}.cinema-auth-error{font-size:12px;line-height:1.6;min-height:0;margin:10px 0;color:#ffc2bd!important}.cinema-auth-error:empty{margin:14px 0 0}.cinema-theme .cinema-auth-owner-note{font-size:10px;line-height:1.7;text-align:center;color:#858e9f;margin:15px 8px 0}
.cinema-auth-film{position:relative;isolation:isolate;min-height:690px;overflow:hidden;border-radius:22px;background:#182431 url('/media/home-hero.jpg') center/cover;border:1px solid #3c4653}.cinema-login-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% center;z-index:-2}.cinema-auth-film-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#030912ed,transparent 80%),linear-gradient(90deg,#07111b33,transparent)}.cinema-auth-film-copy{position:absolute;bottom:105px;left:35px;right:30px}.cinema-auth-film-copy h2{font-size:48px;line-height:1.08;letter-spacing:-2px;color:white;margin:21px 0}.cinema-theme .cinema-auth-film-copy p{font-size:14px;line-height:1.8;color:#c1cad8}.cinema-auth-film-label{position:absolute;bottom:37px;left:35px;font-size:10px;letter-spacing:2px;color:#aab7ca}.cinema-theme .cinema-auth-film .cinema-video-toggle{left:auto;right:28px;bottom:25px}
.cinema-auth-form>.studio-language{position:absolute;right:24px;top:2px;margin:0!important}.cinema-auth-form>.studio-language>span{display:none}.cinema-theme .cinema-auth-form .studio-language select{background:transparent;color:#a4adbd;border:0;font-size:10px;min-height:25px;padding:4px 6px;width:100px;min-width:0}
@media(max-width:800px){.cinema-auth-stage{padding:20px 14px;align-items:flex-start}.cinema-theme .login-page.cinema-auth-card{grid-template-columns:1fr;padding:10px!important;gap:10px;border-radius:24px;max-width:520px}.cinema-auth-form{padding:52px 18px 24px}.cinema-theme .cinema-auth-form .logo{font-size:30px;margin-bottom:26px}.cinema-theme .cinema-auth-intro h1{font-size:31px}.cinema-auth-film{min-height:260px;border-radius:17px}.cinema-auth-film-copy{left:25px;bottom:58px}.cinema-auth-film-copy h2{font-size:32px;margin:12px 0;letter-spacing:-1px}.cinema-auth-film-copy p{display:none}.cinema-auth-film-label{left:25px;bottom:23px;font-size:8px}.cinema-auth-film .cinema-eyebrow{font-size:7px}.cinema-theme .cinema-auth-film .cinema-video-toggle{right:18px;bottom:15px}.cinema-login-video{object-position:center 45%}.cinema-auth-form>.studio-language{right:12px;top:4px}.cinema-theme .cinema-auth-intro>p{font-size:13px}}

/* Show saved references and pending proposals beside their character name. */
.film-asset>span.film-cast-gallery{flex:0 0 126px;display:grid;grid-template-columns:80px 40px;grid-template-rows:43px 43px;gap:6px;width:126px;align-self:center}
.film-asset .film-cast-gallery img{width:100%;height:100%;object-fit:cover;border:1px solid #48536a;border-radius:8px;min-width:0}
.film-cast-gallery img:first-of-type{grid-column:1;grid-row:1 / 3;object-position:center 25%}.film-cast-gallery img:nth-of-type(2){grid-column:2;grid-row:1}.film-cast-gallery img:nth-of-type(3){grid-column:2;grid-row:2}
.film-asset>span.film-cast-gallery.count-1{flex-basis:80px;width:80px;grid-template-columns:80px}.film-cast-gallery .sr-only{position:absolute}
@media(max-width:800px){.film-asset>span.film-cast-gallery{flex-basis:88px;width:88px;grid-template-columns:55px 28px;grid-template-rows:34px 34px;gap:5px}.film-asset>span.film-cast-gallery.count-1{flex-basis:60px;width:60px;grid-template-columns:60px}.film-asset .film-cast-gallery img{border-radius:6px}.film-asset:has(.film-cast-gallery){gap:12px;align-items:flex-start}.film-asset:has(.film-cast-gallery)>span:not(.film-cast-gallery){padding-top:3px}}

/* Show image-request feedback before the first asynchronous save. */
.cinema-theme :is(#creatorProgress,#filmPropStatus,#scriptEditorStatus,#filmLoadingStatus).creator-working{display:flex;align-items:center;gap:14px;min-height:68px;margin:18px 0 8px;padding:16px 18px;border:1px solid #5777b0;border-radius:14px;background:#203250;color:#e5eeff;font-size:14px;font-weight:600;line-height:1.65}
.creator-working:before{content:'';display:block;flex:0 0 22px;width:22px;height:22px;border:3px solid #a7c5ff55;border-top-color:#c7dcff;border-radius:50%;animation:creator-request-spin .9s linear infinite}
@keyframes creator-request-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.creator-working:before{animation:none;border-color:#a7c5ff;border-top-color:transparent}}

.film-asset-row{position:relative;min-width:0}.film-asset-row .film-asset{width:100%;min-width:0;padding-right:68px}.film-asset-row .film-asset-delete{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid transparent;background:transparent;color:#ff626d;border-radius:12px;z-index:1}.film-asset-row .film-asset-delete:hover{color:#ff929a;background:#ff626d19;border-color:#ff626d55}.film-asset-row .film-asset-delete:focus-visible{outline:2px solid #ff929a;outline-offset:2px}.film-asset-delete svg{display:block;pointer-events:none;flex-shrink:0}@media(max-width:600px){.film-asset-row .film-asset{padding-right:58px}.film-asset-row .film-asset-delete{right:8px}}

.character-reference-set{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.character-reference-set .candidate img{aspect-ratio:2/3;object-fit:contain;background:#555a5c}.character-reference-set .candidate{padding:6px}.character-reference-set .candidate strong{font-size:12px}@media(max-width:480px){.character-reference-set{gap:5px}.character-reference-set .candidate{padding:4px}.character-reference-set .candidate strong,.character-reference-set .candidate button{font-size:9px}.character-reference-set .candidate button{padding:8px 4px;min-height:44px}}

#characterForm .reference-slot[data-reference-kind=backImage] .reference-image img,#characterForm .reference-slot[data-reference-kind=fullImage] .reference-image img{object-fit:contain;background:#555a5c}

.character-slot-image{aspect-ratio:2/3;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#29281f,#1d1d19);border:1px solid #3d3c32}.character-reference-set .character-slot-image img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}.character-slot-plus{font-size:52px;font-weight:300;color:#b69b62}.character-slot-state{display:block;color:#b9b4a7;font-size:12px;margin:7px 0}.character-slot strong{display:block;margin-top:10px}.character-slots>p{color:#b9b4a7}@media(max-width:480px){.character-slot-plus{font-size:34px}.character-slot-state{font-size:10px}}

.outfit-slot{max-width:260px;width:100%;margin:12px 0;padding:9px;border:1px solid #373c4a;border-radius:12px;background:#1b1d25}.outfit-slot .character-slot-image img{width:100%;height:100%;object-fit:contain}.outfit-choice>.outfit-slot{border:0;margin:0;padding:0;max-width:none}.outfit-choice .character-slot-image{width:100%}

.outfit-add-card{display:block;padding:0;border:0;background:transparent;text-align:left;max-width:260px;width:100%}.outfit-add-card .outfit-slot{margin:0;width:auto;transition:border-color .2s,background .2s}.outfit-add-card:hover .outfit-slot,.outfit-add-card:focus-visible .outfit-slot{border-color:#bdab76;background:#25252b}.outfit-editor{width:min(620px,calc(100vw - 32px));max-height:85dvh;padding:24px;overflow:auto}.outfit-editor::backdrop{background:#05060bcc}.outfit-editor .modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.outfit-editor h2{margin:0}.outfit-editor #wardrobeForm{margin:0}

.character-slot-make{width:100%;height:100%;border:0;background:transparent;cursor:pointer}.character-slot-make:hover,.character-slot-make:focus-visible{background:#ffffff0b;outline:2px solid #bdab76;outline-offset:-3px}

/* Use the same square image frame for character and outfit cards. */
.character-slot-image{aspect-ratio:1/1}
.cinema-theme .character-slots .character-slot{padding:9px;border:1px solid #373c4a;border-radius:12px;background:#1b1d25}
.cinema-theme .character-slots .character-slot-image>.character-slot-make{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#b69b62;font:300 52px/1 Manrope,system-ui,sans-serif;box-shadow:none}
.cinema-theme .character-slots .character-slot-image>.character-slot-make:hover{background:#ffffff08}
.cinema-theme .character-slots .character-slot-image>.character-slot-make:focus-visible{outline:2px solid #bdab76;outline-offset:-3px}
@media(max-width:480px){.cinema-theme .character-slots .character-slot-image>.character-slot-make{font-size:34px}}

/* Portrait-shaped frames show the full generated image without cropping. */
.character-slot-image{aspect-ratio:2/3}
.character-slots .character-slot-image img,.outfit-slot .character-slot-image img{object-fit:contain}
.film-asset>span.film-cast-gallery.count-1{flex:0 0 88px;width:88px;grid-template-columns:88px;grid-template-rows:126px;gap:0}
.film-asset .film-cast-gallery.count-1 img{object-fit:cover;object-position:center 25%}
@media(max-width:800px){.film-asset>span.film-cast-gallery.count-1{flex-basis:68px;width:68px;grid-template-columns:68px;grid-template-rows:98px}}

/* Fill the portrait preview frame; keep the original image unchanged. */
.character-reference-set .character-slot-image{position:relative}
.character-reference-set .character-slot-image>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
.character-reference-set [data-character-angle=face] .character-slot-image>img{object-position:center 25%}
.outfit-slot .character-slot-image{position:relative}
.outfit-slot .character-slot-image>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}

.shoot-studio{max-width:850px;margin:auto}.shoot-camera,.shoot-episode{border-radius:24px;padding:28px;margin:22px 0;background:linear-gradient(145deg,#191a21,#121319);border:1px solid #33353e}.shoot-camera>strong{font-size:22px}.shoot-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.shoot-settings label{display:grid;gap:9px;color:#bfc0c9}.shoot-episode h3{font-size:26px;margin:12px 0}.shoot-progress{display:flex;gap:6px;margin-top:28px}.shoot-progress button{flex:1;height:10px;min-height:10px;border:0;border-radius:5px;padding:0;background:#333640}.shoot-progress button.ready{background:#6bbf9d}.shoot-progress button.stale{background:#d49643}.shoot-primary-actions{display:grid;gap:12px;margin:24px 0}.shoot-primary-actions>button,.shoot-primary-actions>a{width:100%;min-height:54px;text-align:center;justify-content:center}.shoot-studio #shootDetails>summary{padding:20px;border:1px solid #353740;border-radius:18px;cursor:pointer}.shoot-studio .film-recording{margin-top:18px}@media(max-width:550px){.shoot-camera,.shoot-episode{padding:20px}.shoot-settings{grid-template-columns:1fr}.shoot-episode h3{font-size:23px}}

.script-card-top{display:flex;justify-content:space-between;gap:16px;color:var(--muted,#aaa);font-size:13px}.script-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.script-episode>button{width:100%;min-height:56px;border-radius:30px}.script-editor-modal{width:min(860px,calc(100vw - 24px));max-height:94dvh}.script-editor-modal .modal-head{position:sticky;top:-24px;z-index:4;background:#1b1b1e}.script-editor-toolbar{display:flex;justify-content:space-between;gap:16px;position:sticky;top:40px;background:#1b1b1e;padding:12px 0;z-index:3}.script-editor-text{min-height:45dvh;font-family:ui-monospace,SFMono-Regular,monospace;font-size:16px;line-height:1.5}.script-editor-modal .film-references{display:flex;flex-wrap:wrap;gap:8px}.script-editor-modal #scriptEditorStatus{padding:16px 0;color:#d7c49a}.script-editor-modal .field{font-size:20px;margin-top:24px}@media(max-width:600px){.script-editor-modal{width:100%;max-width:100%;max-height:96dvh;margin:auto 0 0;border-radius:28px 28px 0 0}.script-editor-modal .actions{display:grid}.script-editor-text{min-height:48dvh}.script-editor-modal .modal-head{top:-20px}}

.cinema-theme .shoot-primary-actions .shoot-make-episode{min-height:78px;font-size:22px;font-weight:750;border-radius:22px;width:100%;margin:10px 0}.shoot-episode .notice strong{display:block;font-size:17px}.shoot-episode .notice li{margin:10px 0}
/* Private cinema detail page */
#modal.series-dialog{width:min(1060px,96vw);max-width:1060px;padding:0;border:1px solid #ffffff15;border-radius:18px;background:#171819;color:#f8f8f6;max-height:94dvh;overflow:auto;box-shadow:0 40px 160px #000c}#modal.series-dialog::backdrop{background:#000c;backdrop-filter:blur(8px)}.series-dialog .series-close{position:absolute;right:20px;top:20px;z-index:4;border:1px solid #ffffff25;border-radius:50%;width:44px;height:44px;background:#151617dc;color:white;font-size:28px;padding:0}.series-hero{height:480px;position:relative;background:radial-gradient(ellipse at 70% 20%,#374e50,#101617 75%);overflow:hidden}.series-backdrop{width:100%;height:100%;object-fit:cover;object-position:center 30%}.series-gradient{position:absolute;inset:0;background:linear-gradient(0deg,#171819 0%,#17181955 40%,transparent 80%)}.series-title{position:absolute;bottom:22px;left:5.5%;right:5.5%}.series-title h1{font-size:clamp(32px,5vw,58px);line-height:1.05;margin:15px 0 0;letter-spacing:-2px;text-transform:uppercase}.series-info{padding:15px 5.5% 48px}.series-actions{display:flex;gap:12px;margin-bottom:28px}.series-actions button{border-radius:30px;padding:14px 27px;font-weight:700}.series-actions .series-edit{background:#204e49;border:1px solid #76b5a944;color:#e5fff6}.series-description{display:grid;grid-template-columns:2fr 1fr;gap:40px;margin-bottom:34px}.series-description p{font-size:16px;line-height:1.7;white-space:pre-line;max-height:230px;overflow:auto}.series-meta{color:#a9b0b2;font-size:13px!important}.series-meta span{padding:0 8px}.series-description aside{background:none;padding:0;position:static;width:auto;display:block;border:0}.series-description aside span{font-size:12px;text-transform:uppercase;letter-spacing:2px;color:#8e9899}.series-description aside p{color:#c4cccc;font-size:14px}.series-info h2{font-size:24px;margin:28px 0 20px}.series-info h2 small{color:#7d898a;font-size:15px;margin-left:10px}.series-episodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.series-episode{padding:0;background:transparent;text-align:left;border:0;color:white;overflow:hidden;border-radius:8px}.series-episode-cover{aspect-ratio:16/9;position:relative;background:linear-gradient(135deg,#1d3436,#0b1012);overflow:hidden}.series-episode-cover video,.series-episode-image{width:100%;height:100%;object-fit:cover}.series-episode-play{position:absolute;inset:0;display:grid;place-items:center;font-size:27px;background:#0002;text-shadow:0 2px 15px #000}.series-episode-state{position:absolute;right:7px;top:7px;padding:4px 7px;border-radius:4px;background:#000a;font-size:10px}.series-episode-label{display:flex;gap:10px;padding:12px 1px}.series-episode-label span{color:#788a8d;font-size:13px}.series-episode-label strong{font-size:14px}.series-episode:disabled{opacity:.55}.series-episode:not(:disabled):hover .series-episode-play{background:#0005}.series-loading{margin:70px 30px}#seriesPlayback:empty{display:none}#seriesPlayback{padding:12px 0 22px}@media(max-width:650px){#modal.series-dialog{width:100vw;max-height:100dvh;border-radius:0}.series-hero{height:350px}.series-description{grid-template-columns:1fr;gap:12px}.series-episodes{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.series-title h1{letter-spacing:-1px}.series-info{padding-bottom:32px}.series-description p{font-size:14px}}
/* Series content must not inherit the full-height studio sidebar. */
#modal.series-dialog .series-description aside{height:auto;min-height:0;align-self:start;inset:auto}.series-description{gap:32px;margin-bottom:18px;align-items:start}.series-description p{margin:8px 0 12px}.series-info h2{margin-top:20px}.series-preview{display:block;width:100%;height:100%;object-fit:cover}.series-gradient,.series-title{pointer-events:none}.series-playing .series-preview{object-fit:contain;background:#080909}.series-playing .series-gradient,.series-playing .series-title{display:none}.series-now-playing{display:flex;justify-content:space-between;align-items:center;gap:16px}.series-actions{margin-bottom:22px}.series-info{padding-top:8px}.series-hero{height:auto;aspect-ratio:16/9;max-height:590px}.series-backdrop{position:absolute;inset:0}.series-title{bottom:28px}.series-episode-label{position:absolute;bottom:0;left:0;right:0;padding:28px 12px 12px;background:linear-gradient(transparent,#000c)}.series-episode{position:relative}.series-episode-label span{color:#d1d7d8}.series-episode-label strong{color:#fff}@media(max-width:650px){.series-hero{height:auto;aspect-ratio:16/10}.series-title{bottom:16px}.series-description{gap:12px}.series-title h1{font-size:30px}.series-now-playing{align-items:flex-start;flex-direction:column;gap:0}}
.prop-reference-slot{width:min(100%,340px);margin:18px 0;border:1px solid #ffffff20;border-radius:18px;padding:12px;background:#1b1d25}.prop-reference-image{aspect-ratio:2/3;overflow:hidden;border:1px solid #a9986038;border-radius:12px;background:linear-gradient(145deg,#28281e,#1d1e19);display:grid;place-items:center}.prop-reference-image>img{width:100%;height:100%;object-fit:contain;display:block}.prop-reference-image>.character-slot-plus{width:100%;height:100%;border:0;background:none;color:#c3a762;font-size:48px;border-radius:0}.prop-reference-caption{display:grid;gap:8px;padding:16px 0}.prop-reference-caption small{color:#aca99f}.prop-reference-slot>.primary,.prop-reference-slot>.danger{width:100%;margin:4px 0}.film-prop-row .film-asset img,.film-prop-row .film-empty-thumb{width:90px;height:132px;object-fit:contain;background:#111318}.prop-reference-slot .danger{color:#f27e7e}
#filmPropForm button[hidden]{display:none!important}

/* Rectangular episode tiles and accessible series actions. */
.series-dialog .series-episode,.series-dialog .series-episode-cover,.series-dialog .series-episode-cover video,.series-dialog .series-episode-image{border-radius:0}
.series-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.series-actions .series-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;padding:11px;border:2px solid #878787;border-radius:50%;background:transparent;color:#eee}
.series-icon svg{display:block;width:24px;height:24px}.series-icon:hover{background:#ffffff18;border-color:white}.series-icon.is-favorite{color:#ee8a9e}.series-icon.is-favorite svg{fill:#ee8a9e33}.series-icon:focus-visible{outline:3px solid #80aaff;outline-offset:3px}.series-icon:disabled{opacity:.35;cursor:not-allowed}

/* Immediate labels for icon actions, also available on keyboard focus. */
.series-actions .series-icon{position:relative;overflow:visible}
.series-actions .series-icon::after{content:attr(aria-label);position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);z-index:10;width:max-content;max-width:210px;padding:8px 11px;border:1px solid #555;border-radius:6px;background:#242428;color:#fff;font-size:12px;line-height:1.4;font-weight:500;text-align:center;white-space:normal;box-shadow:0 4px 16px #0008;pointer-events:none;visibility:hidden;opacity:0}
.series-actions .series-icon:hover::after,.series-actions .series-icon:focus-visible::after{visibility:visible;opacity:1}

/* Account profile: settings navigation, editable details and a live identity card. */
.profile-settings>h1{font-size:32px;margin:0 0 32px}.profile-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 280px;gap:48px;align-items:start}.profile-sidebar{display:grid;gap:8px}.profile-sidebar button{border:0;border-radius:8px;text-align:left;background:transparent;color:#aaa;padding:15px}.profile-sidebar button.active{background:#ffffff0a;color:white;box-shadow:inset 3px 0 #438aff}.profile-identity{display:flex;align-items:center;gap:12px;padding:16px 8px 28px;border-bottom:1px solid #ffffff12;margin-bottom:14px}.profile-identity small{display:block;color:#999;margin-top:7px}.profile-avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;border:1px solid #ffffff20;background:linear-gradient(135deg,#3272f4,#35c7e5);color:white;font-size:23px;font-weight:700;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar.large{width:120px;height:120px;font-size:44px}.profile-avatar.cinema-avatar{width:38px;height:38px;font-size:15px}.profile-main h2{margin:4px 0 40px}.profile-main h3{margin:0 0 12px}.profile-main p,.profile-main small{color:#b4b6c0;line-height:1.6}.profile-field{padding:24px 0;border-bottom:1px solid #ffffff12}.profile-field label{display:block;font-weight:600;margin-bottom:14px}.profile-field input:not([type=file]){width:100%;max-width:580px}.profile-field small{display:block;margin-top:12px}.profile-upload{cursor:pointer;margin:0!important;padding:10px 16px;border:1px solid #555;border-radius:24px;font-size:14px}.profile-main form>.primary{margin-top:24px}.profile-section{margin-top:42px}.profile-preview{position:sticky;top:110px;background:none!important;min-height:0!important;height:auto!important;padding:0!important;text-align:center}.profile-preview-card{border:1px solid #ffffff18;border-radius:20px;background:#15161c;padding:34px 20px}.profile-preview>small{display:block;padding:18px;color:#9fa5b5;font-size:11px;letter-spacing:1.3px}.profile-data{border:1px solid #ffffff18;padding:24px;border-radius:16px}.profile-studio-settings{grid-column:2/-1;min-width:0}.profile-language .studio-language{display:flex!important;gap:16px;justify-content:flex-start;margin:12px 0}.profile-main{min-width:0}
@media(max-width:1150px){.profile-layout{grid-template-columns:190px minmax(0,1fr);gap:30px}.profile-preview{display:none}}
@media(max-width:700px){.profile-layout{display:block}.profile-sidebar{display:flex;overflow-x:auto;gap:8px;margin-bottom:26px}.profile-identity{display:none}.profile-sidebar button{white-space:nowrap}.profile-settings>h1{margin-bottom:20px}.profile-main h2{margin-bottom:24px}}

/* Spacious reference-inspired settings with quiet read-only rows. */
.cinema-shell:has(.profile-settings)>.workspace>.content{max-width:none;padding:0 0 70px;background-image:radial-gradient(#ffffff05 .7px,transparent .7px);background-size:12px 12px}
.cinema-shell:has(.profile-settings) .cinema-context{display:none}
.profile-settings>h1{padding:32px 36px 28px;margin:0;border-bottom:1px solid #ffffff0b;font-size:32px;letter-spacing:-.8px}
.profile-layout{grid-template-columns:280px minmax(0,850px) 326px;gap:clamp(28px,4vw,80px);padding:40px 36px 0 18px;justify-content:space-between}
.profile-sidebar{position:sticky;top:110px;min-height:calc(100vh - 220px);border-right:1px solid #ffffff0b;padding-right:18px;align-content:start;gap:8px}
.profile-sidebar button{font-size:16px;padding:17px 14px;border-radius:12px}
.profile-identity{border:1px solid #ffffff0b;background:#ffffff04;border-radius:18px;padding:14px;margin: -16px 0 34px;gap:12px}.profile-identity .profile-avatar{width:48px;height:48px;font-size:18px;background:#28292d}
.profile-main{padding-top:10px}.profile-main h2{font-size:32px;letter-spacing:-.7px;margin:0 0 48px}.profile-main h3{font-size:23px;letter-spacing:-.35px}.profile-main p{font-size:15px}.profile-field{padding:28px 0;border-color:#ffffff09}.profile-row-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.profile-row-heading label{margin:0}.profile-edit-link{padding:0!important;background:none!important;border:0!important;color:#62a3ff!important;font-size:12px!important;font-weight:700;letter-spacing:.8px;border-radius:0!important}
.profile-field input[readonly]{padding:4px 0;background:transparent!important;border:1px solid transparent!important;box-shadow:none;border-radius:0;color:#c0c2cd;cursor:default;min-height:32px}.profile-field input[readonly]::placeholder{color:#8a8d99}.profile-main form>.primary{display:none}.profile-main form.profile-editing>.primary{display:inline-flex}.profile-main input:not([readonly]){background:#202126;border:1px solid #555;border-radius:8px}
.profile-preview{margin-top:3px}.profile-preview-card{padding:32px 24px;background:#15161b;border-radius:22px}.profile-preview-card .large{background:#27282c;border-color:#ffffff14;width:126px;height:126px}.profile-preview-card h3{font-size:20px;margin:20px 0}.profile-preview>small{background:linear-gradient(#11131b88,transparent);padding:16px;font-weight:600}.profile-preview-card .tag{background:#ffffff08;border:1px solid #ffffff12;border-radius:24px;padding:8px 15px;color:#c1c7d5}
.profile-section{margin-top:56px}.profile-data{margin-top:56px;border-color:#5b292c;background:#29191c55;border-radius:22px;padding:26px}.profile-data h3{font-size:14px;text-transform:uppercase;letter-spacing:.7px;color:#ef777a}.profile-language select{border-radius:24px;background:#24252a}
@media(min-width:1700px){.profile-layout{grid-template-columns:280px minmax(0,850px) 326px;justify-content:space-evenly}}
@media(max-width:1300px){.profile-layout{grid-template-columns:210px minmax(0,1fr) 260px;gap:28px}.profile-sidebar{padding-right:14px}}
@media(max-width:1050px){.profile-layout{grid-template-columns:190px minmax(0,1fr);padding-right:28px}.profile-preview{display:none}}
@media(max-width:700px){.profile-settings>h1{padding:24px 20px}.profile-layout{padding:20px;display:block}.profile-sidebar{position:static;min-height:0;border:0;padding:0;display:flex;margin-bottom:28px}.profile-sidebar button{padding:12px}.profile-main h2{font-size:27px;margin-bottom:32px}.profile-field{padding:22px 0}.profile-section{margin-top:36px}}
@media(min-width:1051px){.profile-preview{display:block}}

/* Shared settings frame for connected tools, owner accounting and files. */
.settings-related .profile-layout{grid-template-columns:280px minmax(0,1fr);justify-content:stretch;gap:clamp(28px,4vw,80px)}
.settings-secondary,.profile-studio-settings{min-width:0;max-width:1400px;padding:8px 0 40px}
.settings-secondary .title-row h1,.profile-studio-settings .title-row h1{font-size:32px;letter-spacing:-.7px;margin-top:0}
.settings-secondary .eyebrow{font-size:11px;letter-spacing:1.6px;color:#9299ab}
.settings-secondary .subtitle{font-size:15px;line-height:1.7;margin-bottom:32px}
.profile-studio-settings>.panel,.profile-studio-settings>.notice{border:0;border-bottom:1px solid #ffffff0d;border-radius:0;background:transparent;box-shadow:none;padding:24px 0;margin:0 0 24px}
.profile-studio-settings h2{font-size:23px;letter-spacing:-.4px}.profile-studio-settings p{font-size:15px;line-height:1.7;color:#aeb2bf}
.settings-secondary>.panel{background:transparent;border:1px solid #ffffff12;border-radius:14px;box-shadow:none;padding:24px;margin-bottom:24px}
.settings-secondary>.three{gap:20px;margin:24px 0}.settings-secondary .three .panel{background:#15161b;border:1px solid #ffffff12;border-radius:16px;padding:24px}
.settings-secondary .notice{border-radius:12px;background:#151820;border-color:#ffffff15;font-size:14px;line-height:1.7}
.settings-secondary table{font-size:13px}.settings-secondary th{color:#aeb5c6;font-size:12px;text-align:left;white-space:nowrap}.settings-secondary td{padding-top:20px;padding-bottom:20px;border-color:#ffffff0d}.settings-secondary td small{color:#9298a8}
.settings-secondary .asset{border-radius:12px;background:#15161b;border-color:#ffffff12;padding:16px}.settings-secondary .asset .tag{display:inline-block;margin-bottom:14px;color:#9facbf;font-size:11px;letter-spacing:1px}.settings-secondary .asset img{height:260px;max-height:260px;object-fit:contain;border-radius:0}.settings-secondary .asset h3{font-size:16px;line-height:1.5}.settings-secondary .asset button{width:100%;margin-top:10px}
@media(max-width:1300px){.settings-related .profile-layout{grid-template-columns:210px minmax(0,1fr);gap:28px}}
@media(max-width:900px){.settings-secondary .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-secondary .three{grid-template-columns:1fr}}
@media(max-width:700px){.settings-related .profile-layout{display:block}.settings-secondary,.profile-studio-settings{padding:0}.settings-secondary>.panel{padding:18px}.settings-secondary .grid{grid-template-columns:1fr}.settings-secondary .title-row h1{font-size:26px}}
.portfolio-settings{max-width:1000px}.portfolio-settings>h2{font-size:32px;margin:6px 0 16px}.portfolio-settings p{color:#acb2c1;line-height:1.7}.portfolio-identity{display:flex;align-items:center;gap:24px;border:1px solid #ffffff12;border-radius:22px;padding:32px;margin:40px 0}.portfolio-identity h2{font-size:28px;margin:0 0 14px}.portfolio-identity .tag{font-size:11px;color:#a6afbe}.portfolio-identity code{color:#abb3c4}.portfolio-switch{display:flex!important;align-items:center;gap:10px;margin:0!important}.portfolio-switch input{width:20px;height:20px}.portfolio-settings textarea{width:100%}.portfolio-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:60vh;overflow-y:auto;margin:20px 0}.portfolio-choice{display:block;padding:12px;border:1px solid #ffffff20;border-radius:10px;cursor:pointer}.portfolio-choice:has(input:checked){border-color:#609dff;background:#1a2944}.portfolio-choice img{width:100%;height:120px;object-fit:contain}.portfolio-choice strong{display:block;font-size:12px;line-height:1.5}.portfolio-choice small{color:#9fa9bc}.portfolio-type{display:flex;align-items:center;justify-content:center;height:120px;background:#10131b;font-size:32px;color:#9fb6e0}.portfolio-selected{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portfolio-selected article{border:1px solid #ffffff12;padding:10px}.portfolio-selected img{width:100%;height:150px;object-fit:contain}.portfolio-selected strong{font-size:12px;line-height:1.5;display:block}@media(max-width:700px){.portfolio-picker,.portfolio-selected{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-identity{padding:20px;gap:16px}.portfolio-identity .large{width:70px;height:70px;font-size:24px}}


/* Script intake and review use the existing studio's restrained visual language. */
.script-route-choices{border:0;padding:0;margin:24px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}.script-route-choices legend{padding:0 0 12px;font-weight:600}.script-route-choices label{display:flex;align-items:flex-start;gap:12px;padding:18px;background:#17181c;border:1px solid #34353d;border-radius:12px;cursor:pointer}.script-route-choices label:has(input:checked){border-color:#bfa879;background:#24221d}.script-route-choices input,.import-split input,.import-ai-option input{width:auto;flex:none}.script-route-choices strong,.script-route-choices small{display:block}.script-route-choices small{margin-top:6px;color:#aaaab6;line-height:1.5}.script-import-modal{width:min(1000px,94vw);max-width:1000px}.script-import-review h2{margin-top:12px}.import-tabs{display:flex;overflow-x:auto;gap:8px;margin:24px 0 16px;border-bottom:1px solid #333;padding-bottom:12px}.import-tabs button{white-space:nowrap}.import-tabs [aria-selected=true]{background:#f6f3eb;color:#151515}.import-card{border:1px solid #33353f;padding:22px;margin:16px 0;background:#18191e;border-radius:10px}.import-card-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.import-card-heading span{color:#b8bdc9;font-size:13px}.import-card details{margin:18px 0}.import-card details summary{cursor:pointer;padding:8px 0}.import-card details p{white-space:pre-wrap}.import-card .field{margin-top:16px}.import-card textarea{width:100%;min-height:70px}.import-card select[multiple]{min-height:110px}.import-card.is-excluded{opacity:.65}.import-split{padding:20px;border:1px solid #ad8c4c;background:#272218;margin:18px 0}.import-error{color:#ffb9ad!important;white-space:pre-line}.import-footer{border-top:1px solid #373737;padding:22px 0;display:grid;gap:12px}.import-footer .primary{min-height:54px}.import-shot-grid{display:grid;grid-template-columns:1fr 150px;gap:16px}.import-ai-option{display:flex;align-items:center;gap:12px;margin-top:20px}.import-dialogue{padding:14px;border-left:2px solid #bfa879;margin:18px 0;background:#202127}.script-import-review .actions{flex-wrap:wrap}.script-import-review .import-card .actions{margin-top:18px}.script-import-review input,.script-import-review select{max-width:100%}#cinemaStart{min-height:52px;width:100%}@media(max-width:600px){.script-route-choices{grid-template-columns:1fr}.import-card{padding:15px}.import-card-heading{display:grid}.import-shot-grid{grid-template-columns:1fr}.import-tabs{margin-inline:-8px}.script-import-modal{padding:18px}}

/* Outfit results use the same full-width portrait frame as the empty slot. */
#wardrobeSection .outfit-proposals{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
#wardrobeSection .outfit-proposals>.outfit-choice{width:100%;min-width:0;box-sizing:border-box}
#wardrobeSection .outfit-slot{width:100%;max-width:none;box-sizing:border-box}
#wardrobeSection .outfit-slot .character-slot-image{width:100%;aspect-ratio:2/3;min-width:0}
#wardrobeSection .outfit-slot .character-slot-image>img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}

.cinema-theme #filmActivityStatus.creator-working{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #5777b0;border-radius:14px;background:#203250;color:#e5eeff;margin:18px 0}.cinema-theme #filmActivityStatus strong{font-size:18px}.cinema-theme #filmActivityStatus p{margin:8px 0}
