:root {
  --bg: #0a0d13; --panel: rgba(22,28,40,.72); --line: rgba(148,166,201,.16);
  --text: #e8edf6; --muted: #8fa1bd; --green: #3ddc84; --cyan: #46c8f5;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh; background: var(--bg); color: var(--text);
  font: 10.5px/1.9 "Press Start 2P", monospace; overflow-x: hidden;
}
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.glow-a { width: 640px; height: 640px; top: -240px; left: -160px; background: #123524; animation: drift 16s ease-in-out infinite alternate; }
.glow-b { width: 560px; height: 560px; bottom: -260px; right: -140px; background: #0e2d3f; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(70px,50px) scale(1.15); } }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 90% 70% at 50% 0%,#000 40%,transparent 100%); -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%,#000 40%,transparent 100%); }
.float-block { position: absolute; border: 1px solid rgba(61,220,132,.22); background: linear-gradient(135deg,rgba(61,220,132,.10),rgba(70,200,245,.06)); border-radius: 10px; transform: rotate(12deg); animation: float 9s ease-in-out infinite; }
.b1 { width: 90px; height: 90px; top: 18%; left: 6%; }
.b2 { width: 46px; height: 46px; top: 62%; right: 10%; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: rotate(12deg) translateY(0); } 50% { transform: rotate(12deg) translateY(-22px); } }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; min-height: 100vh; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.cube { width: 22px; height: 22px; border-radius: 6px; position: relative; background: linear-gradient(135deg,#57c07a,#27875a); box-shadow: 0 0 18px rgba(61,220,132,.5); }
.cube::after { content: ""; position: absolute; inset: 4px; border-radius: 3px; background: linear-gradient(135deg,#8ce8ae,#3ddc84); }
.brand-name { font-size: 13px; letter-spacing: .18em; }
.dot { color: var(--green); }
nav { display: flex; gap: 8px; align-items: center; }
.tab { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 10px 16px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 10px; text-decoration: none; transition: color .18s, border-color .18s; }
.tab:hover { color: var(--text); }
.panel { flex: 1; padding: 40px 0 40px; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.auth-card h2 { font-size: 15px; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 9.5px; margin-bottom: 18px; line-height: 2; }
.auth-form { display: flex; gap: 10px; flex-wrap: wrap; }
.auth-form input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: #0c1015; color: var(--text); font: inherit; font-size: 10px; outline: none; flex: 1; min-width: 160px; }
.auth-form input:focus { border-color: rgba(61,220,132,.55); }
.auth-form button { border: 1px solid rgba(61,220,132,.55); border-radius: 9px; background: rgba(61,220,132,.12); color: var(--green); padding: 11px 16px; cursor: pointer; font: inherit; font-size: 10px; }
.auth-form button.ghost { border-color: var(--line); background: transparent; color: var(--muted); }
#a-err { color: #ff8b8b; font-size: 9.5px; margin-top: 12px; min-height: 16px; }
.acct { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
#me-name { font-size: 13px; }
#me-badge.ok { color: var(--green); } #me-badge.warn { color: #ffb020; }
button.ghost { border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); padding: 9px 13px; cursor: pointer; font: inherit; font-size: 9.5px; }
button.ghost:hover { color: var(--text); }
/* ---------- styles ---------- */
[hidden] { display: none !important; }
.verify-box { padding: 12px 14px; border: 1px solid rgba(255,176,32,.4); border-radius: 10px; background: rgba(255,176,32,.07); font-size: 10px; line-height: 2; color: var(--muted); margin-bottom: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.verify-box b { color: #ffb020; }
.verify-box button { border: 1px solid rgba(255,176,32,.4); border-radius: 9px; background: transparent; color: #ffb020; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 9.5px; }
#verify-status { color: var(--green); }
.stat-group { margin-top: 20px; }
.g-title { color: var(--muted); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.g-box { background: rgba(148,166,201,.05); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.g-box span { color: var(--muted); font-size: 8px; display: block; margin-bottom: 6px; }
.g-box b { font-size: 10.5px; font-weight: 400; color: var(--text); }
.top-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.top-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: rgba(148,166,201,.05); border-radius: 999px; padding: 7px 11px; font-size: 9px; color: var(--muted); }
.top-chip i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.top-chip b { color: var(--text); font-weight: 400; }
.act-bars { display: flex; gap: 5px; align-items: flex-end; height: 64px; }
.act-col { display: flex; flex-direction: column; align-items: center; height: 100%; flex: 1; min-width: 0; }
.act-bar { width: 100%; background: linear-gradient(180deg, #3ddc84, #27875a); border-radius: 3px 3px 0 0; min-height: 4px; }
.act-label { color: var(--muted); font-size: 6.5px; margin-top: 4px; white-space: nowrap; }
button.link { border: 1px solid rgba(61,220,132,.55); border-radius: 9px; background: rgba(61,220,132,.12); color: var(--green); padding: 11px 16px; cursor: pointer; font: inherit; font-size: 10px; margin-top: 18px; }
button.link[hidden] { display: none; }
.empty { color: var(--muted); }
#p-map { margin-top: 18px; }
footer { display: flex; justify-content: space-between; padding: 18px 0 26px; color: var(--muted); font-size: 9px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .top { flex-direction: column; gap: 14px; } }
