* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #080b10; color: #f3f5f7; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 78% 20%, rgba(31,83,111,.22), transparent 40%), #080b10; }
.lobby { width: min(100% - 32px, 760px); min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; }
.hero { margin: auto 0; padding: 56px 0 40px; }
.eyebrow { margin: 0 0 18px; color: #f06673; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(44px, 9vw, 84px); line-height: .92; letter-spacing: -.06em; }
h1 em { color: #f06472; font-style: normal; }
.support { margin: 18px 0 26px; max-width: 520px; color: #c1cad3; line-height: 1.55; }
.card { margin: 0 0 14px; padding: 18px; border: 1px solid rgba(190,207,223,.17); border-radius: 10px; background: rgba(16,22,30,.82); }
label { display: block; margin: 0 0 10px; color: #8f9cab; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.field-label { margin: 0 0 10px; color: #8f9cab; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.map-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.map-option { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; padding: 10px; border: 1px solid rgba(190,207,223,.18); border-radius: 8px; background: #0b1017; color: #f3f5f7; text-align: left; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.map-option img { display: block; width: 96px; height: 96px; border-radius: 4px; object-fit: cover; }
.map-option-copy { display: grid; min-width: 0; gap: 5px; }
.map-option-copy strong { color: #e7ebef; font-size: 12px; letter-spacing: .08em; }
.map-option-copy span { color: #9eabb8; font-size: 11px; line-height: 1.3; }
.map-option[aria-pressed="true"] { border-color: #f06472; background: rgba(200,60,76,.12); box-shadow: inset 0 0 0 1px rgba(240,100,114,.25); }
.map-option[aria-pressed="true"] .map-option-copy strong { color: #ff8993; }
.map-option:hover { border-color: rgba(240,100,114,.7); transform: translateY(-1px); }
.map-option:focus-visible { outline: 2px solid #ff8993; outline-offset: 2px; }
input[type=text], input:not([type]), select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(190,207,223,.2); border-radius: 6px; background: #0b1017; color: #fff; font: inherit; }
input[type=file] { color: #c1cad3; max-width: 100%; }
.row { display: flex; gap: 10px; }
button { font: inherit; cursor: pointer; }
#play { min-width: 170px; height: 48px; border: 0; border-radius: 6px; background: #c83c4c; color: #fff; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
#play:disabled { opacity: .5; cursor: not-allowed; }
.hint { margin: 10px 0 0; color: #9eabb8; font-size: 12px; }
.stored { margin: 10px 0 0; padding-left: 18px; color: #b6c1cc; font-size: 12px; }
.link { margin-top: 8px; padding: 0; border: 0; background: none; color: #9eabb8; text-decoration: underline; font-size: 12px; }
.status { min-height: 16px; margin: 10px 0 0; color: #b6c1cc; font-size: 12px; }
.status.error { color: #ff8993; }
.arena-live { margin: 14px 0 0; color: #c9d3dc; font-size: 13px; font-weight: 600; }
footer { padding: 18px 0; border-top: 1px solid rgba(210,223,235,.12); color: #7f8c99; font-size: 11px; }
a { color: #bec8d2; }
.game { position: fixed; inset: 0; z-index: 10; background: #000; }
.game[hidden], [hidden] { display: none; }
.game iframe { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.back { position: absolute; z-index: 2; top: 12px; left: 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; padding: 9px 12px; background: rgba(8,11,16,.72); color: #fff; font-size: 10px; font-weight: 800; }

.game-status { position: absolute; z-index: 1; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 9px 13px; border-radius: 20px; background: rgba(8,11,16,.72); color: #d1d7df; font-size: 12px; pointer-events: none; }
.game-status:empty { display: none; }
.game-status.error { color: #ff8993; }
@media (max-width: 560px) { .row { flex-direction: column; } #play { width: 100%; } .map-option { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; padding: 7px; } .map-option img { width: 60px; height: 60px; } .map-option-copy strong { font-size: 11px; } .map-option-copy span { font-size: 10px; } }
@media (max-width: 360px) { .map-options { grid-template-columns: 1fr; } .map-option { grid-template-columns: 74px minmax(0, 1fr); } .map-option img { width: 74px; height: 74px; } }
