*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#07131d;color:#f5f8fa;font-family:Inter,system-ui,sans-serif}button,a{font:inherit}#gl{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}header{position:fixed;z-index:5;top:0;left:0;right:0;height:62px;padding:8px 14px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#06121ee8,#06121e70,transparent)}header a{display:flex;gap:8px;align-items:center;color:#fff;text-decoration:none;font-weight:900;letter-spacing:.08em}header a b{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#70e1ce;color:#09232b;font-size:22px}header small{display:block;font-size:8px;letter-spacing:.18em;color:#9eb5c3}button{border:1px solid #547182;background:#0b2232e8;color:#fff;border-radius:12px;font-weight:850}header button{padding:10px 13px}#hud{position:fixed;z-index:4;top:72px;left:14px;width:min(380px,calc(100% - 28px));padding:12px 14px;border:1px solid #345062;background:#071725dd;border-radius:14px}#hud small{display:block;font-size:8px;letter-spacing:.18em;color:#9eb5c3}#hud>strong{display:block;margin-top:4px;font-size:15px}#hud div{display:flex;align-items:center;gap:9px;margin-top:8px;color:#8ff0dd;font-size:12px}#hud div b{margin-left:auto;color:#fff}#arrow{display:inline-block;color:#ffd36d;font-size:22px;transition:transform .1s}#mode{position:fixed;z-index:4;right:14px;bottom:96px;padding:9px 12px;background:#071725dd;border:1px solid #345062;border-radius:13px;text-align:center;min-width:94px}#mode small{display:block;color:#8ff0dd;font-size:8px;font-weight:900}#mode strong{font-size:28px}#mode span{font-size:9px;margin-left:3px}#touch{position:fixed;z-index:5;left:14px;right:14px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;justify-content:space-between;gap:10px}#touch>div{display:flex;gap:7px}#touch button{width:58px;height:64px;touch-action:none;user-select:none}#touch #action{width:78px;border-color:#6de1ce;color:#9ff5e5}#touch .go{background:#70d9c7;color:#08272d;border-color:#70d9c7}#intro{position:fixed;z-index:10;inset:0;display:grid;place-content:center;padding:28px;background:radial-gradient(circle at 70% 25%,#244f5e99,transparent 32%),linear-gradient(125deg,#06111be8,#07131dc7)}#intro p{font-size:10px;letter-spacing:.2em;color:#8ff0dd;font-weight:900}#intro h1{font-size:clamp(52px,11vw,110px);line-height:.82;margin:12px 0 20px;letter-spacing:-.06em}#intro em{color:#76e2cf;font-style:normal}#intro>span{max-width:560px;color:#c4d4dd;line-height:1.55}#intro button,#intro a{display:inline-block;width:max-content;margin-top:22px;padding:14px 18px;border-radius:12px;text-decoration:none}#intro button{background:#70d9c7;color:#08272d;border:0}#intro a{color:#c7d8df;padding-left:0}dialog{border:1px solid #456577;border-radius:18px;background:#071725;color:#fff;padding:24px;width:min(520px,calc(100% - 28px))}dialog::backdrop{background:#02070bbd}dialog button,dialog a{display:inline-block;padding:12px 14px;margin:8px 8px 0 0;color:#fff;text-decoration:none}#error{position:fixed;z-index:20;inset:20%;background:#1c1113;padding:30px;border-radius:18px}[hidden]{display:none!important}@media(max-width:520px){header{height:58px}header a span{font-size:12px}#hud{top:64px}#touch button{width:48px;height:58px;font-size:11px}#touch #action{width:70px}#mode{bottom:84px}}
.wallet{text-align:center}.wallet strong,.wallet small{display:block}.wallet small{font-size:8px;color:#8ff0dd;letter-spacing:.12em}
#toast{position:fixed;z-index:7;left:50%;bottom:105px;transform:translateX(-50%);max-width:min(420px,calc(100% - 28px));padding:10px 14px;border-radius:12px;background:#071725e8;border:1px solid #476577;color:#fff;font-size:12px;opacity:0;transition:opacity .2s;pointer-events:none}#toast.show{opacity:1}
.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.menu-grid button{min-height:54px}.eyebrow{font-size:9px;letter-spacing:.18em;color:#8ff0dd;font-weight:900}.close{float:right;width:42px;height:42px}.cards{display:grid;gap:10px;max-height:55vh;overflow:auto;margin-top:16px}.card{border:1px solid #365364;background:#0a1e2b;border-radius:14px;padding:13px}.card strong,.card small{display:block}.card small{margin:5px 0 10px;color:#aac0ca;line-height:1.45}.card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.card button{padding:9px 11px}.card button:disabled{opacity:.45}.card .owned{color:#8ff0dd;font-weight:900;font-size:11px}
@media(max-width:520px){.menu-grid{grid-template-columns:1fr}.wallet strong{font-size:15px}.wallet small{font-size:7px}#toast{bottom:92px}}
