body.menu-view #display{width:min(100%,1180px);max-width:100%;height:100%;aspect-ratio:auto;overflow:hidden}
body:not(.field-view) #screen,body:not(.field-view) #world{visibility:hidden}
#remake-menu{position:absolute;inset:0;display:grid;align-items:center;overflow:auto;color:#f2f3e8;background:linear-gradient(95deg,#112826 12%,#142c29ed 51%,#1428258c 100%),url('assets/arenas/selection/0.webp') center/cover;font-family:"Microsoft YaHei",system-ui,sans-serif}
#remake-menu[hidden],#remake-menu [hidden]{display:none}
.remake-sheet{width:min(90%,900px);margin:auto;padding:clamp(16px,4vh,46px) 0;display:grid;gap:clamp(8px,1.8vh,18px)}
.remake-sheet h2{margin:0;color:#fffaf0;font-size:clamp(26px,5.8vmin,65px);font-weight:900;line-height:1.1;letter-spacing:.035em}
.remake-caption{margin:0;color:#dce9dd;font-size:clamp(14px,2.3vmin,24px);max-width:34em;line-height:1.6;background:#102420ca;border-left:3px solid #e7fb4c;padding:.55em .9em}
.remake-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(4px,.8vmin,9px)}
.remake-choices>*{color:#f4f4e8;background:#203b36eb;border:1px solid #668776;border-radius:3px;margin:0;padding:clamp(7px,1.6vmin,18px);text-align:left;font-size:clamp(13px,2.25vmin,24px);line-height:1.25}
.remake-choices [aria-current=true]{border-color:#e9fa67;background:#dfed75;color:#172a20;box-shadow:inset 4px 0 #739040}
.remake-choices small{display:block;font-size:.65em;opacity:.8;margin-bottom:.2em}
#remake-menu[data-view=rules] .remake-choices{grid-template-columns:1fr}
#remake-menu[data-view=roster] .remake-choices{grid-template-columns:repeat(4,1fr)}
#remake-menu[data-view=editor] .remake-choices{grid-template-columns:repeat(12,minmax(0,1fr));gap:2px}
#remake-menu[data-view=editor] .remake-choices>*{text-align:center;padding:2px;font-size:clamp(11px,1.9vmin,19px)}
.registration-detail{grid-column:span 3}
.remake-controls{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.remake-controls button{background:#102925;border:1px solid #809385;color:#f0f3df;padding:4px 12px;min-height:35px}
.remake-controls button:last-child{background:#dfed75;color:#172a20;font-weight:bold}
.menu-view:not(.running) #remake-menu{visibility:hidden}
.handheld .menu-view #touch{display:none}
.handheld .menu-view #display{width:100%;height:100dvh;max-width:100%}
.handheld .menu-view .remake-sheet{width:min(84%,900px);margin-left:4%;padding-block:8px;gap:6px}
@media(max-height:500px){.remake-choices>*{padding:4px 8px}.remake-sheet h2{font-size:24px}.remake-caption{line-height:1.3;padding:4px 8px}.remake-controls button{min-height:30px}.remake-sheet{gap:5px}}


.field-view #display #screen{left:var(--fighters-x);width:var(--fighters-w)}
.field-view #display :is(.fighter-shadows,.elbow-effects,.punch-effects,.tornado-effects,.blast-kick-effects,.team-special-effects){inset:auto;left:var(--fighters-x);width:var(--fighters-w);top:var(--field-top);height:var(--field-height);pointer-events:none}
#display :is(.fighter-shadows,.elbow-effects,.punch-effects,.tornado-effects,.blast-kick-effects,.team-special-effects)[hidden],body:not(.field-view) #display :is(.fighter-shadows,.elbow-effects,.punch-effects,.tornado-effects,.blast-kick-effects,.team-special-effects){display:none}
.field-view #display #screen,.field-view #display .field-tint{top:var(--field-top);height:var(--field-height);bottom:auto}

#display .fighter-shadows{position:absolute;image-rendering:auto;filter:blur(.6px)}
