:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#090e19;color:#eee}*{box-sizing:border-box}body{margin:0}header{height:76px;padding:20px 5vw;display:flex;justify-content:space-between;border-bottom:1px solid #293041}a{color:inherit;text-decoration:none;font-weight:800;letter-spacing:.15em}a span{font-size:11px;display:block;letter-spacing:.05em;color:#adb3c3}main{padding:4vw 7vw}h1{font-size:clamp(36px,5vw,70px);line-height:1.15;margin:18px 0}p{line-height:1.8;color:#b6bdcc}.eyebrow{color:#e0b46f;letter-spacing:.2em;font-size:12px}button,.file{border:1px solid #586079;background:#182438;color:white;border-radius:8px;padding:12px 18px;cursor:pointer;font:inherit}button:hover{background:#304463}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f2c278;outline-offset:3px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:42px}article{padding:36px;border:1px solid #374050;border-radius:16px;background:linear-gradient(135deg,#203453,#0b111c);min-height:260px}.deco{background:linear-gradient(135deg,#423622,#17141b)}article span{font-size:11px;letter-spacing:.2em;color:#e0b46f}h2{font-size:25px}footer{padding:24px 7vw;font-size:10px;letter-spacing:.16em;color:#838c9e}#theater{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}#viewport{height:65vh;min-height:380px;background:#070b12;border-radius:12px;overflow:hidden;touch-action:none}canvas{display:block}aside{background:#131c2c;padding:20px;border-radius:12px}aside h2{font-size:19px;margin-top:0}aside p{font-size:12px}label{display:block;margin:12px 0;font-size:13px}select{margin-left:12px;padding:6px}input[type=range]{width:100%}input[type=file]{max-width:100%;margin-top:8px;font-size:11px}small{display:block;font-size:11px;color:#9faac0;line-height:1.6;margin:10px 0}.hud{position:absolute;left:15px;top:15px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hud span{background:#121b2be0;padding:10px;border-radius:8px;font-size:12px}.hud button{font-size:11px;padding:9px}#touch{position:absolute;left:20px;top:calc(65vh - 65px);display:flex;gap:4px}#touch button{touch-action:none;background:#19273bdd}#video{display:none;width:100%;max-height:65vh;grid-column:1;grid-row:1}#caption{pointer-events:none;position:absolute;left:3%;top:calc(65vh - 80px);bottom:auto;width:62%;text-align:center;color:white;white-space:pre-line;text-shadow:0 2px 4px black;font-size:20px}.flat #viewport,.flat #touch,.flat #caption{display:none}.flat #video{display:block}.hint{font-size:11px}#error{color:#ffb8a9}body:has(#theater:not([hidden])) main{padding:24px 3vw}[hidden]{display:none!important}@media(max-width:760px){.cards{grid-template-columns:1fr}#theater{grid-template-columns:1fr}#viewport{height:48vh;min-height:300px}#video{max-height:48vh}#touch{top:calc(48vh - 55px)}aside{padding:16px}.hud{max-width:90%}#caption{width:90%;top:36vh;bottom:auto}h1{font-size:42px}main{padding:30px 6vw}}
/* Cinema editorial redesign */
:root{background:#0b1013;color:#f5f0e6;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}header{height:88px;border-color:#ffffff16;padding:22px 6vw}header a{font-family:Georgia,serif;font-size:24px;letter-spacing:.28em}header a span{font-family:system-ui;font-weight:400;font-size:9px;letter-spacing:.2em;margin-top:5px}header button{border:0;background:transparent;font-size:12px;color:#c8c4b9}main{max-width:1600px;margin:auto;padding:54px 6vw}h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;letter-spacing:.04em;font-size:clamp(46px,6.3vw,86px);line-height:1.28}h1 em{font-style:normal;color:#d9bd85}.eyebrow{letter-spacing:.26em;color:#bfa674;font-size:10px}#lobby>p:not(.eyebrow){font-size:14px;line-height:2.2;color:#a8adae}.cards{gap:28px;margin-top:45px}article{border-radius:0;padding:0;background:#12191d!important;border:1px solid #ffffff17}.cards article{overflow:hidden}.cards img{width:100%;height:300px;object-fit:cover;display:block;transition:transform .6s}.cards article:hover img{transform:scale(1.025)}.card-body{padding:28px 30px}.card-body h2{font-family:"Yu Mincho",serif;font-size:28px;font-weight:500;margin:12px 0}.card-body p{font-size:12px;line-height:2;color:#a8adae;margin-bottom:22px}.card-body button{border-color:#b99b68;background:transparent;color:#e7ce9e;width:100%;text-align:left;display:block;border-radius:0}button,.file{border-radius:4px;border-color:#ffffff25;background:#20292e}button:hover{background:#354047}button[aria-pressed=true]{border-color:#bfa674;color:#e7ce9e}#catalog article{padding:34px;max-width:720px;margin:36px 0}#theater{display:block}#viewport{height:70vh;min-height:440px;border-radius:3px}#caption{width:90%;top:calc(70vh - 90px)}.hud{top:16px;left:16px;right:16px;padding:8px;background:#0b1013b8;border:1px solid #ffffff20;border-radius:5px;width:fit-content;backdrop-filter:blur(10px)}.hud span{background:transparent}#touch{top:calc(70vh - 65px)}aside{margin-top:20px;background:#12191d;border:1px solid #ffffff17;border-radius:3px;padding:26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px}aside h2,aside #status{grid-column:1/-1}aside h2{font-family:"Yu Mincho",serif;font-weight:500;font-size:24px;margin-bottom:0}aside label{margin:8px 0}aside details,aside #error{grid-column:1/-1}.controls{border-left:1px solid #ffffff18;padding-left:24px;grid-column:3;grid-row:3/span 6}aside .hint{grid-column:1}aside small{margin:2px 0}#video{max-height:70vh;background:black}footer{border-top:1px solid #ffffff12;margin-top:40px;padding:25px 6vw}body:has(#theater:not([hidden])) main{padding:20px 3vw;max-width:none}@media(max-width:760px){header{height:76px;padding:18px 6vw}header a{font-size:20px}main{padding:38px 6vw}h1{font-size:49px}.cards img{height:220px}.card-body{padding:23px}.card-body h2{font-size:25px}#viewport{height:55vh;min-height:350px}.hud{gap:3px;padding:5px;max-width:calc(100% - 24px);left:12px;right:12px;top:12px}.hud button{padding:7px;font-size:10px}.hud span{font-size:10px;padding:5px}#caption{top:calc(55vh - 95px);font-size:16px}#touch{top:calc(55vh - 59px)}aside{display:block;padding:20px}.controls{border-left:0;border-top:1px solid #ffffff18;padding:20px 0 0;margin-top:20px}#video{max-height:55vh}}@media(prefers-reduced-motion:reduce){.cards img{transition:none}}
.seat-panel{grid-column:1;grid-row:3}.media-panel{grid-column:2;grid-row:3}.controls{grid-column:3;grid-row:3}.seat-panel .hint{margin-top:18px}.seat-panel #sit{width:100%;margin-top:12px}.media-panel .file{margin-top:0}.media-panel #test{margin:12px 0;width:100%;font-size:12px}.media-panel #subs{font-size:12px}#status{margin:0 0 14px}#lobby .cards article span{font-size:10px} .controls label{margin:14px 0}@media(max-width:760px){.media-panel{margin-top:24px;padding-top:20px;border-top:1px solid #ffffff18}}
/* Gentle lobby preview movement; pause remains available to every visitor. */
.cards img{animation:cinema-preview 18s ease-in-out infinite alternate;transform-origin:50% 55%}.cards article:nth-child(2) img{animation-delay:-9s}.cards.preview-paused img{animation-play-state:paused}#previewMotion{margin-top:25px;background:transparent;color:#a8adae;font-size:11px;padding:9px 13px}@keyframes cinema-preview{from{transform:scale(1.02) translateX(-.4%)}to{transform:scale(1.09) translateX(.4%)}}@media(prefers-reduced-motion:reduce){.cards img{animation:none!important;transform:none!important}}
header nav{display:flex;align-items:center;gap:14px}.access-note{color:#d9bd85!important;font-size:11px!important;letter-spacing:.05em}#auth{max-width:900px;padding:20px 0 40px}#auth h1{font-size:clamp(32px,5vw,65px)}#authTitle:focus{outline:none}#authSetup{padding:20px;background:#182027;border-left:2px solid #bfa674;font-size:13px;max-width:650px}#auth button{margin:12px 12px 0 0}#authError{color:#ffb8a9}@media(max-width:760px){header nav{gap:0}header nav button{padding:8px;font-size:10px}header a{font-size:18px}}
.film-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:35px 0}.film-card{padding:0 0 20px;text-align:left;overflow:hidden;background:#12191d;border:1px solid #ffffff22;border-radius:3px}.film-card img{display:block;width:100%;aspect-ratio:5/7;object-fit:cover}.film-card strong,.film-card span{display:block;margin:16px 20px 0}.film-card strong{font-family:"Yu Mincho",serif;font-size:21px;font-weight:500}.film-card span{font-size:11px;color:#a9b2ac}.film-card[aria-pressed=true]{border:2px solid #d9bd85}.film-card:hover{background:#202a2c}#catalog #filmDetail{max-width:none;padding:30px;margin:0;background:#141d21!important}#filmDetail h2{font-family:Georgia,"Yu Mincho",serif;font-weight:500;font-size:30px}#filmRights,#filmCredit{font-size:12px}#filmSource{font-size:11px;letter-spacing:0;font-weight:400;color:#d9bd85}.film-actions{display:flex;gap:12px;margin-top:24px}.technical-films{margin-top:30px;font-size:12px}.test-film{margin:15px 10px 0 0;font-size:12px}aside #nowShowing,aside #screenCredit{grid-column:1/-1;margin:0}.seat-panel,.media-panel,.controls{grid-row:5}header a{font-size:20px;letter-spacing:.18em}@media(max-width:760px){.film-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.film-card strong,.film-card span{margin:12px 12px 0}.film-card strong{font-size:15px}.film-card span{font-size:10px}.film-actions{flex-direction:column}#catalog #filmDetail{padding:22px}header a{font-size:16px}.film-grid .film-card:last-child{grid-column:1/-1;width:calc(50% - 6px)}}
#creators{max-width:1050px}.submission-notice{padding:22px;border-left:2px solid #d9bd85;background:#172125;font-size:13px}.creator-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:30px 0}.creator-columns article{padding:26px}.creator-columns h2{font-family:"Yu Mincho",serif;font-weight:500}.creator-columns ol{padding-left:22px;line-height:2.3;color:#b6bdcc;font-size:13px}.creator-columns dt{color:#dfc99d;font-size:13px;margin-top:20px}.creator-columns dd{margin:8px 0;line-height:1.9;color:#a8adae;font-size:12px}#creators h1{font-size:clamp(36px,5vw,66px)}#creators>button{margin:12px 12px 0 0}@media(max-width:760px){.creator-columns{grid-template-columns:1fr}header nav{gap:0}header nav button{font-size:9px;padding:7px 5px}header a{font-size:14px}}
#filmLicense{font-size:11px;letter-spacing:0;font-weight:400;color:#d9bd85;margin-left:20px}
.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.cards img{height:240px}.card-body{padding:24px}.card-body h2{font-size:24px}#spaceNotice{grid-column:1/-1;font-size:12px;color:#ddc79d}@media(max-width:950px){.cards{grid-template-columns:1fr}.cards img{height:280px}}@media(max-width:760px){.cards img{height:220px}.card-body{padding:22px}}
/* Actual model previews start when visible; reduced motion uses the photo. */
.live-preview{height:260px;width:100%;overflow:hidden;touch-action:none;background:#101219;cursor:grab}.live-preview:active{cursor:grabbing}.live-preview:focus-visible{outline:2px solid #d9bd85;outline-offset:-3px}.live-preview canvas{width:100%;height:100%}.cards .live-preview-button{font-size:11px;padding:8px 12px;margin:0 0 18px;background:#ffffff09;border-color:#ffffff35}@media(max-width:760px){.live-preview{height:220px}}
/* Language switching preserves the current screening; English copy may wrap. */
.language-switch{display:flex;margin:0;align-items:center}.language-switch select{margin:0;border:1px solid #ffffff35;border-radius:4px;background:#12191d;color:#eee;font:inherit;font-size:11px;padding:7px;max-width:94px}header{height:auto;min-height:88px;gap:12px}header nav{flex-wrap:wrap;justify-content:flex-end}header>a{flex-shrink:0}html[lang=en] h1{font-size:clamp(36px,4.8vw,64px)}html[lang=en] .card-body h2{font-size:27px}html[lang=en] .hud{max-width:calc(100% - 30px)}html[lang=en] .hud button{white-space:normal}html[lang=en] #theater aside{overflow-wrap:anywhere}@media(max-width:760px){header nav{flex:1;gap:4px}header nav button{font-size:10px;padding:7px}header{min-height:76px}.language-switch select{font-size:10px;padding:5px}html[lang=en] h1{font-size:40px}html[lang=en] .hud button{font-size:9px;padding:6px}html[lang=en] .card-body h2{font-size:24px}}
/* Attribution must stay readable in either UI language, including long URLs. */
#theater,#theater>aside,#theater aside>*{min-width:0}#theater>aside{max-width:100%;overflow-wrap:anywhere}#screenCredit,#filmCredit,#filmRights,#filmSource,#filmLicense{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}#screenCredit{width:100%}@media(max-width:760px){#theater>aside{width:100%}#theater aside input[type=file]{width:100%;min-width:0}}

.build-stamp{position:fixed;bottom:6px;left:6px;z-index:50;display:block;padding:4px 7px;background:#090e19ed;font-size:10px;color:#e2d2ad;overflow-wrap:anywhere;max-width:min(500px,calc(100vw - 12px));pointer-events:none}

.live-preview-hint{padding:10px 18px;margin:0!important;font-size:11px!important;color:#d9bd85!important;background:#101219}

.top-bgm-controls{display:flex;align-items:center;gap:10px;font-size:11px}.top-bgm-controls button{white-space:nowrap;border:1px solid #ffffff24;border-radius:20px;padding:8px 12px}.top-bgm-controls button[aria-pressed=true]{color:#e2c28b;border-color:#9d8050}.top-bgm-controls label{display:flex;align-items:center;gap:6px;margin:0;font-size:10px}.top-bgm-controls input[type=range]{width:72px;accent-color:#c3a46a}.top-bgm-controls small{margin:0;font-size:9px;max-width:140px}.top-bgm-controls[hidden]{display:none!important}@media(max-width:760px){header:has(.top-bgm-controls:not([hidden])){height:auto;min-height:88px;flex-wrap:wrap;gap:8px}header nav:has(.top-bgm-controls:not([hidden])){display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.top-bgm-controls{width:100%;justify-content:flex-end}.top-bgm-controls small{display:none}}
