:root { --ink:#0b1020; --panel:#141b33; --line:#28325a; --text:#f3f5ff; --dim:#9aa4cc; --sun:#ffd23f; --bad:#ff5d73; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin:0; height:100%; background:var(--ink); color:var(--text); overflow:hidden;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input { font: inherit; color: inherit; }
.hidden { display:none !important; }
.fill { position:fixed; inset:0; }
canvas.fill { width:100%; height:100%; display:block; background:#000; }
.btn { border:0; border-radius:999px; background:var(--sun); color:#1a1400; font-weight:800; padding:.85em 1.5em; cursor:pointer;
  box-shadow:0 6px 0 #b98f00, 0 10px 24px rgba(0,0,0,.35); transition:transform .06s, box-shadow .06s; }
.btn:active { transform:translateY(4px); box-shadow:0 2px 0 #b98f00; }
.btn:disabled { background:#3a4470; color:#8891b8; box-shadow:none; cursor:default; }
.btn.ghost { background:rgba(11,16,32,.82); color:var(--text); box-shadow:0 0 0 2px var(--line) inset; backdrop-filter:blur(8px); }
.field { width:100%; background:#0d1430; border:2px solid var(--line); border-radius:16px; padding:.8em 1em; font-weight:700; outline:none; }
.field:focus { border-color:var(--sun); }
.card { background:var(--panel); border:1px solid var(--line); border-radius:28px; padding:28px; box-shadow:0 30px 80px rgba(0,0,0,.5); }
.center { display:grid; place-items:center; padding:20px; }
.logo { font-weight:900; letter-spacing:-.03em; }
.logo b { color:var(--sun); }
.dim { color:var(--dim); }
.timer { font-variant-numeric:tabular-nums; font-weight:900; background:rgba(11,16,32,.85); border:2px solid var(--line);
  border-radius:999px; padding:.25em .8em; backdrop-filter:blur(8px); min-width:2.6em; text-align:center; }
.timer.hot { color:#fff; background:var(--bad); border-color:var(--bad); animation:pulse .5s infinite alternate; }
@keyframes pulse { to { transform:scale(1.12); } }
.chip { display:inline-flex; align-items:center; gap:.5em; background:rgba(11,16,32,.85); border:2px solid var(--line);
  border-radius:999px; padding:.3em .85em .3em .4em; font-weight:800; backdrop-filter:blur(8px); }
.chip i { width:1.1em; height:1.1em; border-radius:50%; background:var(--c); display:inline-block; }
.chip.off { opacity:.45; }
.chip.locked { border-color:var(--c); }
.pin { transform-origin:bottom center; filter:drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.pin span { display:grid; place-items:center; min-width:30px; height:30px; padding:0 6px; border-radius:16px; background:var(--c);
  color:#0b1020; font-weight:900; font-size:14px; border:3px solid #fff; white-space:nowrap; position:relative; margin-bottom:9px; }
.pin span::after { content:""; position:absolute; left:50%; bottom:-11px; margin-left:-6px; border:6px solid transparent; border-top-color:#fff; }
.pin.target span { font-size:18px; min-width:38px; height:38px; border-radius:50%; }
.pin.wide span { font-size:clamp(14px,1.5vw,24px); height:auto; padding:.25em .7em; }
.maplibregl-ctrl-attrib { font-size:10px; }
.toast { position:fixed; left:50%; top:14px; transform:translateX(-50%); background:var(--bad); color:#fff; font-weight:800;
  padding:.5em 1em; border-radius:999px; z-index:50; }
