button{cursor:pointer}[hidden]{display:none!important}.release-info{display:grid;gap:5px}.copyright,.opening-copyright{font:400 clamp(10px,.72cqw,13px)/1.3 Barlow,sans-serif;letter-spacing:.03em;color:#c0cbd0}.opening-copyright{display:block;margin-top:4px}#resume-run{display:block;margin-top:8px;width:28.5cqw;min-height:3cqw;background:#07121cd9;border:1px solid #bba577;color:#e9d9b6;font:600 clamp(12px,1cqw,20px) Barlow,sans-serif;letter-spacing:.12em}.fighter-session{position:fixed;inset:0;z-index:100;background:#101626}.fighter-session iframe{display:block;width:100%;height:100%;border:0;background:#101626}.fighter-session .loading{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:20px;background:#0c1821}.loading p{font:20px Barlow,sans-serif}.loading button{padding:12px 20px;background:#162932;border:1px solid #bba577;color:#e9d9b6}.screen h1:focus-visible{outline:1px solid #d4bc86;outline-offset:7px}.single main{width:100%}
@media(max-width:650px) and (orientation:portrait){
 .single .screen{width:100vw;height:100dvh;min-height:0;aspect-ratio:auto}.through-glass header{left:22px;right:22px;top:max(20px,env(safe-area-inset-top));font-size:10px;letter-spacing:.12em;gap:7px}.signal{height:14px;gap:2px}.signal i{width:2px}.preview-controls{gap:5px}.preview-controls button{min-height:36px;font-size:10px;padding:6px}.through-glass .content{left:24px;right:24px;top:auto;bottom:140px;width:auto}.eyebrow{font-size:10px;letter-spacing:.17em;margin-bottom:8px}.citadel h1{font-size:43px;line-height:1}.identity .rule{width:100%;margin:10px 0}.rule span{font-size:10px}.menu p{text-shadow:0 1px 3px #000,0 0 8px #000;font-size:16px;line-height:1.45;margin:0 0 15px}.citadel .primary,#resume-run{width:100%;min-height:48px;font-size:18px;padding:8px 20px}.primary span{font-size:24px}.citadel .menu nav{width:100%;gap:8px;margin-top:10px}.citadel .menu nav button{min-height:42px;font-size:14px;padding:6px}.through-glass .shade{background:linear-gradient(0deg,#05111bf5 0%,#05111be5 35%,#05111b00 75%)}.through-glass footer{left:24px;right:24px;bottom:max(22px,env(safe-area-inset-bottom));display:grid;gap:10px;font-size:10px;letter-spacing:.04em}.through-glass footer>div:last-child{justify-content:space-between;gap:5px}.through-glass footer button{font-size:11px;min-height:36px}.opening-start{bottom:24px;gap:10px}.opening-start button{min-width:180px;min-height:48px;font-size:20px;padding:10px 20px}.opening-start button span{position:static;margin-left:14px;font-size:24px}.opening-start p{font-size:10px}.opening-copyright{font-size:11px}#opening-art{object-fit:contain}.copyright{font-size:11px}
}
@media(max-width:650px) and (orientation:portrait) and (max-height:700px){.through-glass .content{bottom:125px}.citadel h1{font-size:35px}.menu p{font-size:14px;margin-bottom:10px}.eyebrow{display:none}.through-glass footer{bottom:12px;gap:4px}}

.single main{display:grid;place-items:center;min-height:100dvh}
.single .screen{width:min(100vw,177.7778dvh)}
@media(orientation:landscape) and (max-height:550px){
 .through-glass header{top:8px;font-size:10px;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right))}
 .preview-controls button{min-height:36px;font-size:10px;padding:6px}
 .through-glass .content{top:52px;left:5%;width:39%}
 .eyebrow{display:none}
 .citadel h1{font-size:38px;line-height:1}
 .identity .rule{margin:6px 0;width:100%}
 .menu p{font-size:13px;line-height:1.35;margin:0 0 6px}
 .citadel .primary,#resume-run{width:100%;min-height:44px;font-size:15px;padding:6px 12px}
 .citadel .menu nav{width:100%;margin-top:4px;gap:4px}
 .citadel .menu nav button{min-height:44px;font-size:11px;padding:2px}
 .through-glass footer{bottom:6px;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));font-size:9px;letter-spacing:0;gap:8px}
 .through-glass footer button{font-size:10px;min-height:36px}
 .copyright{font-size:9px}
 .opening-start button{min-height:44px;font-size:18px;min-width:170px}
 .opening-start p{font-size:9px}
}

#opening-art{object-fit:contain}

@media(orientation:landscape) and (max-height:350px){
 .through-glass .content{top:44px}
 .citadel h1{font-size:28px}
 .menu p{font-size:12px}
 .identity .rule{margin:3px 0}
 .through-glass footer{bottom:2px}
}

@media(orientation:landscape) and (max-height:550px){
 .menu:has(#resume-run:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px}
 .menu:has(#resume-run:not([hidden]))>p,.menu:has(#resume-run:not([hidden]))>nav{grid-column:1/-1}
 .menu:has(#resume-run:not([hidden])) .primary,.menu #resume-run:not([hidden]){width:100%;min-height:44px;margin:0;padding:6px 4px;font-size:11px;letter-spacing:.06em}
 .menu:has(#resume-run:not([hidden]))>nav{margin-top:0}
}

.landscape-required{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;padding:28px;text-align:center;background:#07151d;color:#f0dfb8;font-family:system-ui,sans-serif}
.landscape-required[hidden]{display:none!important}
.landscape-required>span{font-size:72px;line-height:1}
.landscape-required h2{font:400 25px/1.3 system-ui,sans-serif;letter-spacing:0;margin:0}
.landscape-required p{font:400 16px/1.5 system-ui,sans-serif;letter-spacing:0;color:#bdced3;margin:0}
@media(orientation:portrait) and (max-width:700px){body>main,body>#game{visibility:hidden}}

/* One definite frame follows Safari's visible viewport, including toolbar changes. */
html,body.single{width:100%;height:100%;min-height:0;overflow:hidden;overscroll-behavior:none}
.single main{position:fixed;left:var(--title-left,0px);top:var(--title-top,0px);width:var(--title-width,100vw);height:var(--title-height,100dvh);min-height:0;display:grid;place-items:center}
.single .screen{flex:none;min-height:0}
.opening-start{bottom:max(8px,env(safe-area-inset-bottom));padding-inline:max(12px,env(safe-area-inset-left),env(safe-area-inset-right))}

/* Keep the accepted opening visible through the handoff into the game too. */
.fighter-session .loading{background:#0b1117 url('assets/opening-unlocked.webp?v=ad9bcd313d83664c') center/contain no-repeat;align-content:end;justify-content:center;padding:16px 20px max(16px,env(safe-area-inset-bottom));gap:8px}
.fighter-session .loading p{margin:0;padding:8px 16px;background:#07111be8;color:#eef0df;text-shadow:0 1px 3px #000}
.fighter-session .loading button{min-height:44px;background:#07111bf0}

/* The opening and menu occupy the same visible viewport as fighter selection.
   Match the opening image and its authored boss overlay exactly when cropping. */
.single .screen{width:100%;height:100%;aspect-ratio:auto}
#opening-art,#opening .title-bosses{object-fit:cover!important;object-position:center 25%;transform:none}
.fighter-session .loading{background-size:cover;background-position:center 25%}
/* Width-based typography must stay readable and clear of the footer on wide screens. */
@media(orientation:landscape) and (min-height:551px){
 .through-glass .content{top:12%;width:40%}
 .citadel h1.brand-logo{font-size:min(4.8cqw,8.5vh)}
 .menu p{font-size:min(1.5cqw,2.8vh);margin-bottom:1.2cqw}
 .citadel .primary,#resume-run,.citadel .menu nav{width:100%}
 .through-glass footer{bottom:max(12px,env(safe-area-inset-bottom))}
}
