@font-face{font-family:LumeyiArabic;src:url('assets/arabic.ttf')}*{box-sizing:border-box}body{font-family:LumeyiArabic,system-ui,sans-serif;background:#090808 url('assets/theater-concept.png') center/cover fixed;color:#fff6e6}#cinema-world{opacity:.1;pointer-events:none}.shade{background:linear-gradient(180deg,rgba(8,7,7,.68),rgba(8,7,7,.32) 44%,rgba(8,7,7,.86));position:fixed;inset:0;pointer-events:none}main{max-width:1300px;margin:auto;padding:26px 32px;position:relative}.game-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 22px;position:relative}.game-head h1{font-size:30px;margin:0}.game-head>div{display:flex;flex-direction:column-reverse}.save-state{font-size:11px;color:#bcad97}.connected-header{display:flex;align-items:center;gap:10px}.connected-header a,.connected-header button{border:1px solid #ffffff24;background:#171516cc;color:#e8dcc7;border-radius:14px;padding:11px 15px;font-size:12px;text-decoration:none;min-height:44px}.connected-header .lumeyi-return{color:#bfb2a1}.icon{border-radius:50%;height:46px;width:46px;background:#221b19;border:1px solid #ffffff30}.view-head{border:0;padding:5px 0 20px}.view-head h2{font-size:34px;margin:4px 0}.view-head p{color:#bdb2a1}.library-filters{display:flex;gap:10px;margin-bottom:20px}.library-filters input{flex:1;background:#121112;border:1px solid #ffffff1f;border-radius:14px;padding:14px;min-width:0;color:#fff}.library-filters button{border:1px solid #ffffff1f;background:#1b1715;border-radius:14px;color:#e5d4b7;padding:10px 15px}.catalog-options{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 24px}.catalog-options select{max-width:190px;min-height:42px;background:#171314;color:#dbc8a6;border:1px solid #b8985d33;padding:9px 11px;border-radius:12px;font:inherit;font-size:12px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.scene-entry{position:relative;background:#181718e8;border:1px solid #ffffff19;border-radius:20px;overflow:hidden}.scene-card{padding:0;background:none;border:0;width:100%;text-align:right;color:#fff;box-shadow:none;display:block}.sample-frame{aspect-ratio:16/10;border:0;border-radius:0;overflow:hidden;background:#000}.sample-frame img{width:100%;height:100%;object-fit:cover}.scene-card>div:last-child{padding:18px 20px;display:grid;gap:6px}.scene-card strong{font-size:22px}.scene-card span{font-size:12px;color:#b8ad9c}.scene-card .card-cta{color:#e6cd9a;margin-top:6px}.scene-favorite{position:absolute;left:13px;top:13px;border-radius:50%;width:36px;height:36px;border:1px solid #ffffff44;background:#111c;color:#ead7b5}.scene-favorite[aria-pressed=true]{color:#ffd46f}.view[data-empty=true]{min-height:300px}#studio>.view-head{display:none}#performance{background:rgba(9,8,8,.4);border:0;box-shadow:none;padding:0;margin:auto;max-width:1060px;overflow:visible}.dub-demo-head{padding:0 4px 12px;background:none;border:0}.dub-demo-title{font-size:21px}.dub-demo-scene{border:10px solid #121111;outline:1px solid #a58c5a50;box-shadow:0 18px 50px #000a,0 0 36px #b8803433;border-radius:10px;background:#000;aspect-ratio:16/9;overflow:hidden}.dub-scene-video{object-fit:contain!important;width:100%;height:100%}.dub-demo-scene-label{font-size:10px;opacity:.68}.dub-demo-script{max-width:940px;margin:20px auto 0;border:1px solid #b8935240;border-radius:19px;padding:16px 22px;background:#141110e8;box-shadow:0 12px 35px #0004}.dub-demo-role-row{justify-content:space-between}.dub-demo-role-row button,.capture-mode select{border:1px solid #bca17438;background:#25201b;border-radius:11px;padding:8px 13px;min-height:40px}.dub-demo-line{font-size:29px;padding:10px 0;margin:0;font-weight:700}.dub-demo-progress{height:3px;background:#9e82552b}.dub-demo-status,.record-duration{color:#bead93;font-size:11px}.dub-demo-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:20px 0 0}#record{flex-basis:100%;max-width:390px;min-height:66px;background:linear-gradient(145deg,#fff1d0,#e7c889);border:1px solid #fff4df;color:#17120e;font:700 24px LumeyiArabic,system-ui;border-radius:100px;box-shadow:0 0 34px #e0b05a38}#reference{min-height:45px;padding:8px 22px;border-radius:100px;background:#191513dd;border:1px solid #fff0cf33;color:#e3d1af;font-size:13px}.performance-waves{margin-top:8px}.sound-options{font-size:12px}.editor-player{background:#050505}.editor-header{border:0}.editor-header h2{font-size:28px}.editor-transport{gap:10px}.editor-transport button{min-height:46px}.editor-transport [data-command=original]{border:1px solid #b8965b66;background:#211b17;color:#e8d8b9}.voice-properties{background:#1d1813;border:1px solid #b3946070;border-radius:24px;color:#f4e9d7}.sheet-tabs button{min-height:46px;border-radius:12px}.effect-choices button{min-height:44px}.editor-more,.editor-status{font-size:12px}.end-session{margin-top:24px;text-align:center}.end-session button{background:none;border:0;color:#baa889;text-decoration:underline;min-height:44px}.library-note{font-size:12px;color:#b4a28b;padding-top:18px}dialog{max-width:min(600px,calc(100vw - 24px));background:#171311;color:#eee2cd;border:1px solid #b8985d55;border-radius:22px;padding:24px}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}dialog a{color:#f1d08a}.access-dialog button{min-height:45px;padding:8px 18px;border-radius:12px;border:1px solid #b99861;background:#ebd09b;color:#17120e}.access-dialog p{line-height:1.9;font-size:14px}.access-dialog .secondary{background:#211b17;color:#e5d2b2}.filters-toggle{display:none}.catalog-options[hidden]{display:none}.account-access{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body[data-view=library] .game-head{margin-bottom:5px}body[data-view=home] #home{display:none}body[data-view=library] #home{display:none}.dub-control-demo.fullscreen .dub-demo-scene{border:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:900px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:22px}.game-head h1{font-size:25px}.connected-header .lumeyi-return{display:none}}
@media(max-width:620px){body{background-image:url('assets/theater-mobile-concept.png');background-position:center top}main{padding:18px 14px}.game-head{padding-bottom:16px;gap:8px}.game-head h1{font-size:23px}.save-state{font-size:9px}.connected-header{gap:6px}.connected-header a,.connected-header button{padding:9px 10px;font-size:10px;min-height:40px}.account-access{max-width:115px}.game-head .icon{width:40px;height:40px}.library-grid{grid-template-columns:1fr;gap:16px}.view-head h2{font-size:29px}.view-head p{font-size:12px}.library-filters{gap:7px}.library-filters input{padding:12px;font-size:13px}.library-filters button{font-size:11px;padding:8px 10px}.catalog-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.catalog-options select{width:100%;max-width:none;font-size:11px}.scene-card strong{font-size:23px}.scene-card>div:last-child{padding:17px 18px}.sample-frame{aspect-ratio:16/9}.filters-toggle{display:block}#performance{margin:8px -1px 0}.dub-demo-head{gap:6px;flex-wrap:wrap;font-size:12px}.dub-demo-title{font-size:15px}.dub-demo-scene{border-width:6px;border-radius:8px}.dub-demo-script{padding:12px 13px;margin:16px 0 0}.dub-demo-line{font-size:24px;padding:15px 0 8px}.dub-demo-role-row button,.capture-mode select{padding:7px 9px;font-size:11px;max-width:150px}.dub-demo-actions{margin-top:18px;gap:9px}#record{min-height:62px;font-size:22px;max-width:none}#reference{min-height:44px;font-size:12px}.editor-header h2{font-size:24px}.editor-transport{flex-wrap:wrap}.editor-transport [data-command=original]{font-size:12px}.editor-player .dub-demo-scene{aspect-ratio:16/9}.voice-properties{padding:18px}.sheet-tabs,.effect-choices{gap:7px}.library-note{line-height:1.8}.connected-header #friends-button{font-size:0;min-width:38px}.connected-header #friends-button:after{content:'الأصدقاء';font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}

#performance[data-dub-style=cinema]{display:block!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;padding:0!important}#performance .dub-demo-head{display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;padding:0 5px 12px}#performance .dub-demo-scene{height:min(52vh,calc(100svh - 420px));min-height:210px;aspect-ratio:auto;border:10px solid #101010!important;border-radius:10px;box-shadow:0 16px 45px #000a!important}#performance .dub-demo-script{width:100%!important;max-width:940px;display:block!important;margin:18px auto 0;padding:13px 22px!important;border:1px solid #b8935240!important;border-radius:19px;background:#151210ed!important}#performance .dub-demo-role-row{display:flex;gap:10px;padding:0;align-items:center}#performance .dub-demo-line{margin:4px 0!important;padding:5px 0 8px!important;font-size:28px!important}#performance .record-duration{margin:0 0 8px;font-size:11px}#performance .dub-demo-actions{display:flex!important;align-items:center;justify-content:center;gap:14px!important;margin:13px 0 0!important}#performance #record{flex-basis:auto!important;width:min(390px,60%);height:64px;min-height:64px;font-size:24px}#performance #reference{width:auto;min-width:150px;min-height:46px}#performance .sound-options{margin:5px 0}#performance .dub-demo-progress{margin:4px 0}#performance .scene-text-note{font-size:10px;margin:8px 0 0}body[data-view=library] .end-session{display:none}.editor-transport [data-command=original]{min-height:44px}
@media(max-width:620px){#performance .dub-demo-scene{height:auto;min-height:0;aspect-ratio:16/9;border-width:6px!important}#performance .dub-demo-script{padding:12px 13px!important;margin-top:14px}#performance .dub-demo-line{font-size:24px!important;padding:9px 0!important}#performance .dub-demo-actions{flex-direction:column;margin:12px 0 0!important;gap:8px!important}#performance #record{width:100%;min-height:60px;height:60px;font-size:22px}#performance #reference{width:auto;min-width:160px;min-height:43px}#performance .dub-demo-role-row{flex-wrap:wrap;gap:6px}#performance .dub-demo-status{margin-right:auto}.game-head .connected-header{gap:5px}.game-head .connected-header a{font-size:10px;padding:8px}.end-session{margin-top:12px}}

body[data-discord=true] #mic-check,body[data-discord=true] .hear-self-option{display:none}

body[data-view=studio] .game-head{display:flex;padding-bottom:12px;margin-bottom:0}body[data-view=studio] main{padding-top:12px}#performance:not([data-screen-expanded]) .dub-demo-stage{display:block}#performance:not([data-screen-expanded]) .dub-demo-scene{width:100%!important;max-width:min(920px,calc((100svh - 340px)*1.7778))!important;height:auto!important;min-height:0;max-height:none!important;aspect-ratio:16/9!important;margin:auto}#performance:not([data-screen-expanded]) .dub-demo-script{display:block!important;max-width:920px!important;gap:0;margin:12px auto 0!important;padding:10px 18px!important}#performance:not([data-screen-expanded]) .dub-demo-head{padding-bottom:8px}#performance:not([data-screen-expanded]) .dub-demo-line{font-size:25px!important;margin:0!important;padding:7px 0!important}#performance:not([data-screen-expanded]) .dub-demo-role-row{min-height:40px}#performance:not([data-screen-expanded]) .record-duration{margin:0;font-size:10px}#performance:not([data-screen-expanded]) .dub-demo-hint{display:none}#performance:not([data-screen-expanded]) .studio-extra:has(>button:not([hidden])){margin-top:7px}#performance:not([data-screen-expanded]) .studio-extra:has(>button[hidden]):not(:has(>button:not([hidden]))){display:none}#performance:not([data-screen-expanded]) .dub-demo-actions{display:flex;gap:12px;justify-content:center;margin-top:8px!important}#performance:not([data-screen-expanded]) #reference{flex:0 0 auto;width:auto;min-width:140px}#performance:not([data-screen-expanded]) .scene-text-note,#performance:not([data-screen-expanded]) .reference-note{font-size:10px;margin:8px 0 0}#performance:not([data-screen-expanded]) .sound-options{margin-top:2px}#performance[data-dub-phase=recording]:not([data-screen-expanded]) .dub-demo-scene{max-width:min(780px,calc((100svh - 450px)*1.7778))!important}body[data-view=studio] footer{display:none}
@media(max-width:620px){body[data-view=studio] .game-head{padding-bottom:8px}body[data-view=studio] main{padding:10px 12px}#performance:not([data-screen-expanded]) .dub-demo-scene{width:100%!important;max-width:none!important;max-height:none!important}#performance:not([data-screen-expanded]) .dub-demo-script{padding:10px 12px!important;margin-top:10px!important}#performance:not([data-screen-expanded]) .dub-demo-head{font-size:10px}#performance:not([data-screen-expanded]) .dub-demo-head .dub-demo-simulation{display:none}#performance:not([data-screen-expanded]) .dub-demo-line{font-size:23px!important}#performance:not([data-screen-expanded]) .dub-demo-actions{flex-direction:column;gap:6px!important}#performance:not([data-screen-expanded]) #reference{min-width:0;width:100%;min-height:44px}#performance:not([data-screen-expanded]) .dub-demo-primary{margin:0!important}body[data-view=studio] .end-session{margin-top:10px}
}

.filters-toggle{display:inline-block}#performance:not([data-screen-expanded]) .dub-demo-scene{max-width:min(920px,calc((100svh - 420px)*1.7778))!important}#performance:not([data-screen-expanded]) .dub-demo-head{font-size:11px}#performance:not([data-screen-expanded]) .dub-demo-primary{margin:0!important}#performance:not([data-screen-expanded]) .dub-demo-script .dub-demo-progress{margin:4px 0!important;width:100%}#performance:not([data-screen-expanded]) .studio-extra button[hidden]{display:none!important}
@media(max-width:620px){#performance:not([data-screen-expanded]) .dub-demo-scene{max-width:none!important}#performance .dub-demo-actions{position:sticky;bottom:8px;z-index:4;background:#151210f5;border-radius:18px;padding:5px}#performance[data-dub-phase=recording]:not([data-screen-expanded]) .dub-demo-line{font-size:20px!important}#performance[data-dub-phase=recording]:not([data-screen-expanded]) .record-duration{display:none}}

.creator-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px;padding:10px 14px;border:1px dashed #e0bd6860;border-radius:14px;background:#16120fea;font-size:12px;color:#ccba98}.creator-tools[hidden]{display:none}.creator-tools button{font-size:11px;min-height:44px;color:#efd8a5;border:1px solid #b7925550;border-radius:10px;background:#211a13;padding:8px 12px}body[data-view=studio] .creator-tools{margin:0 0 8px;padding:6px 10px;font-size:10px}body[data-view=studio][data-creator-preview=true] .dub-demo-scene{max-width:min(920px,calc((100svh - 460px)*1.7778))!important}@media(max-width:620px){.creator-tools{flex-wrap:wrap}body[data-view=studio] .creator-tools{display:none}}

#performance[data-screen-expanded=true],.editor-player[data-screen-expanded=true]{display:flex!important;flex-direction:column!important;background:#050505!important;max-width:none!important;width:100%!important;height:100dvh!important;margin:0!important;padding:0!important}#performance[data-screen-expanded=true] .dub-demo-head{display:none!important}#performance[data-screen-expanded=true] .dub-demo-stage,.editor-player[data-screen-expanded=true] .dub-demo-stage{flex:1;min-height:0;display:grid!important;place-items:center}#performance[data-screen-expanded=true] .dub-demo-scene,.editor-player[data-screen-expanded=true] .dub-demo-scene{height:auto!important;min-height:0!important;max-width:100%!important;border:0!important;margin:auto!important;aspect-ratio:var(--scene-aspect,16/9)!important}#performance[data-screen-expanded=true] .dub-demo-script{display:block!important;flex:0 0 auto;max-width:100%!important;margin:0!important;padding:8px 16px!important;border:0!important;border-radius:0!important;background:#100d0b!important}#performance[data-screen-expanded=true] .dub-demo-actions{display:flex!important;margin:5px 0!important;justify-content:center}#performance[data-screen-expanded=true] .record-duration,#performance[data-screen-expanded=true] .reference-note,#performance[data-screen-expanded=true] .dub-demo-hint{display:none}#performance[data-screen-expanded=true] #record{width:260px;min-height:48px;height:48px;font-size:20px}#performance[data-screen-expanded=true] #reference{min-height:44px;font-size:12px}.editor-player[data-screen-expanded=true] .dub-demo-script{flex:0 0 auto;margin:0!important;width:100%;padding:10px!important;background:#100d0b}@media(max-width:620px){#performance[data-screen-expanded=true] .dub-demo-line{font-size:20px!important}#performance[data-screen-expanded=true] .dub-demo-actions{flex-direction:row!important;position:static}#performance[data-screen-expanded=true] #record{flex:1;width:auto}#performance[data-screen-expanded=true] #reference{width:auto;min-width:100px}.editor-player[data-screen-expanded=true] .dub-demo-script{flex-direction:column!important}}

.game-back{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #745d3b;border-radius:12px;padding:8px 14px;text-decoration:none;color:#e4d3b7}

.edition-note{font-size:11px;line-height:1.8;color:#bba989;max-width:780px;margin:0 0 18px}

.edition-badge{position:absolute;bottom:10px;left:10px;display:inline-block!important;font-size:10px!important;background:#100e0bdd!important;border:1px solid #b7925550;border-radius:9px;padding:4px 9px;color:#e8d1a1!important;margin:0!important;line-height:1.5}

body[data-view=studio] .creator-tools{display:none!important}

/* Center fixed-size vector icons independently of global button padding/font. */
.scene-favorite{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;line-height:1;font-size:0;flex-shrink:0}.scene-favorite svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.scene-favorite[aria-pressed=true] svg{fill:currentColor}

.cast-finder{margin:0 0 22px}.cast-finder-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:12px}.cast-finder-heading>span{color:#aa9f93;font-size:10px}.cast-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cast-filter{position:relative;display:flex;align-items:center;gap:12px;padding:12px 15px;min-height:72px;min-width:0;border:1px solid #ffffff23;border-radius:14px;background:#201b22;cursor:pointer}.cast-filter select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font:inherit;min-height:44px}.cast-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#ffffff08;color:#e5c68b}.cast-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cast-icon .icon-fill{fill:currentColor;fill-opacity:.16}.cast-filter-copy{display:grid;gap:2px;min-width:0}.cast-filter-copy strong{font-size:13px;line-height:1.6}.cast-filter-copy>span{font-size:11px;color:#b7ad9e;line-height:1.6}.cast-chevron{margin-inline-start:auto;color:#cabb9d;line-height:1}.cast-filter:focus-within{outline:2px solid #e5c990;outline-offset:3px}.cast-filter[data-active=true]{border-color:#dbb872;background:#31251b}.cast-filter[data-active=true] .cast-filter-copy>span{color:#f3d395}.composition-meta{display:block;font-size:11px;color:#bcae9a;line-height:1.8}.catalog-options .filter-field:has(>#content-roles),.catalog-options .filter-field:has(>#content-gender){display:none}.catalog-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}@media(max-width:620px){.cast-finder{margin-bottom:16px}.cast-finder-heading{font-size:11px;gap:5px}.cast-finder-heading>span{font-size:9px}.cast-filters{gap:7px}.cast-filter{padding:9px 8px;gap:6px;min-height:66px;border-radius:12px}.cast-icon{width:29px;height:29px;flex-basis:29px;border-radius:9px}.cast-icon svg{width:23px;height:23px}.cast-filter-copy strong{font-size:12px}.cast-filter-copy>span{font-size:10px}.cast-chevron{font-size:12px}.composition-meta{font-size:10px}}
