/* ClaimTheSpot — shared theme. Loaded by every page. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
  --bg: #07090a; --bg2: #0a0d0f; --panel: #0e1315; --panel2: #131a1d; --panel3: #182126;
  --line: #1c2529; --line2: #26323a;
  --text: #edf3f0; --dim: #8fa69e; --faint: #566b64;
  --acid: #b6ff2e; --acid2: #d4ff7a; --gold: #ffcf4d; --red: #ff4d6d; --blue: #52b4ff; --purple: #c792ff;
  --silver: #cfd8dc; --bronze: #e0a068;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(900px 400px at 50% -120px, rgba(182,255,46,.10), transparent 70%),
    radial-gradient(600px 300px at 100% 0, rgba(255,207,77,.05), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: rgba(182,255,46,.3); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 80px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,9,10,.78); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top .in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 18px; }
.logo { font-weight: 900; letter-spacing: .06em; font-size: 17px; white-space: nowrap; }
.logo em { font-style: normal; color: var(--acid); }
.nav { display: flex; gap: 4px; align-items: center; margin-left: 6px; }
.nav a { color: var(--dim); font-size: 14px; font-weight: 600; padding: 7px 11px; border-radius: 9px; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--panel2); }
.top .sp { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dim); border: 1px solid var(--line); background: var(--panel); padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.pill b { color: var(--text); font-weight: 700; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); display: inline-block; box-shadow: 0 0 0 3px rgba(182,255,46,.15); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 15px; padding: 11px 20px; border-radius: 12px; transition: transform .08s, box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn.acid { background: var(--acid); color: #0f1600; box-shadow: 0 8px 30px rgba(182,255,46,.22), inset 0 -2px 0 rgba(0,0,0,.15); }
.btn.acid:hover { background: var(--acid2); }
.btn.gold { background: var(--gold); color: #1a1200; box-shadow: 0 8px 30px rgba(255,207,77,.18), inset 0 -2px 0 rgba(0,0,0,.15); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--panel2); color: var(--text); border: 1px solid var(--line2); }
.btn.ghost:hover { border-color: var(--acid); color: var(--acid); }
.btn.sm { font-size: 13px; padding: 7px 12px; border-radius: 9px; font-weight: 700; }
.btn.xs { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; font-weight: 700; }
.btn.lg { font-size: 17px; padding: 14px 28px; border-radius: 14px; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- section heads ---------- */
.sec { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; }
.sec h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sec h2 b { color: var(--text); }
.sec .sub { color: var(--dim); font-size: 13.5px; }
.sec .sp { flex: 1; }
.sec a.more { color: var(--dim); font-size: 13.5px; font-weight: 600; }
.sec a.more:hover { color: var(--acid); }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 26px; }
.stats .st { background: var(--panel); padding: 14px 16px; }
.stats .st b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.stats .st > span { color: var(--dim); font-size: 12.5px; }
.stats .st.live b { color: var(--acid); }
.stats .st.gold b { color: var(--gold); }
.stats .st b i { font-style: normal; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); margin-right: 8px; vertical-align: middle; animation: pulse 1.8s infinite; }

/* ---------- boards / rows ---------- */
.board { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: grid; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 16px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.row:hover { border-color: var(--line2); }
.row.r1 { border-color: rgba(255,207,77,.6); box-shadow: 0 0 0 1px rgba(255,207,77,.15), 0 0 34px rgba(255,207,77,.10); background: linear-gradient(90deg, rgba(255,207,77,.06), var(--panel) 40%); }
.row.r2 { border-color: rgba(207,216,220,.35); background: linear-gradient(90deg, rgba(207,216,220,.04), var(--panel) 40%); }
.row.r3 { border-color: rgba(224,160,104,.4); background: linear-gradient(90deg, rgba(224,160,104,.05), var(--panel) 40%); }
.row.me { box-shadow: inset 3px 0 0 var(--acid); }
.row.flash { animation: flash 1.2s; }
@keyframes flash { 0% { background: #1c260f } 100% { background: var(--panel) } }
.rank { font-family: var(--mono); font-weight: 800; font-size: 18px; color: var(--faint); text-align: center; min-width: 44px; }
.rank small { display: block; font-size: 11px; font-weight: 700; }
.rank .up { color: var(--acid); } .rank .down { color: var(--red); }
.r1 .rank { color: var(--gold); font-size: 22px; } .r2 .rank { color: var(--silver); } .r3 .rank { color: var(--bronze); }
.av { width: 40px; height: 40px; border-radius: 11px; background: var(--panel2); border: 1px solid var(--line); object-fit: cover; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #0f1600; flex: none; }
.meta { min-width: 0; }
.meta .name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.25; }
.meta .name a:hover { text-decoration: underline; }
.meta .sub { color: var(--faint); font-size: 13px; margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.meta .sub a:hover { color: var(--blue); }
.meta .sub .live { color: var(--acid); font-weight: 600; }
.meta .sub .live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); margin-right: 5px; vertical-align: middle; animation: pulse 1.8s infinite; }
.tag { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line2); color: var(--dim); white-space: nowrap; }
.tag.shield { color: var(--blue); border-color: rgba(82,180,255,.4); }
.tag.crown { color: var(--gold); border-color: rgba(255,207,77,.4); }
.tag.prod { color: var(--acid); border-color: rgba(182,255,46,.35); background: rgba(182,255,46,.06); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
a.tag.prod:hover { background: rgba(182,255,46,.14); }
.right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.score { font-family: var(--mono); font-weight: 800; font-size: 22px; color: var(--acid); letter-spacing: -.03em; line-height: 1; }
.score small { display: block; font-family: var(--font); color: var(--dim); font-weight: 500; font-size: 12px; margin-top: 4px; letter-spacing: 0; }
.actions { display: flex; gap: 6px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin: 10px 0 2px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.empty { border: 1px dashed var(--line2); border-radius: var(--r); padding: 34px 20px; text-align: center; color: var(--dim); }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }

/* ---------- panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 17px; margin-bottom: 12px; }
.panel h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; font-weight: 800; }
.panel ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.panel li { color: var(--dim); }
.panel li b { color: var(--text); font-weight: 600; }
.panel .empty { border: 0; padding: 6px 0; text-align: left; color: var(--faint); font-size: 13.5px; }
.panel .t { color: var(--faint); font-size: 12px; }

/* ---------- ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--bg2); overflow: hidden; white-space: nowrap; font-size: 13px; color: var(--dim); height: 34px; display: flex; align-items: center; }
.ticker .lab { flex: none; padding: 0 14px; color: var(--acid); font-weight: 800; letter-spacing: .1em; font-size: 11px; border-right: 1px solid var(--line); height: 100%; display: flex; align-items: center; background: var(--bg2); z-index: 1; }
.ticker .track { display: inline-flex; gap: 40px; padding-left: 20px; animation: ticker 60s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker .track span b { color: var(--text); font-weight: 600; }
.ticker .track span .amt { color: var(--gold); font-weight: 700; }
.ticker .track span .pts { color: var(--acid); font-weight: 700; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

footer { text-align: center; color: var(--faint); font-size: 13px; margin-top: 56px; line-height: 1.8; }
footer a { color: var(--dim); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .wrap { padding: 0 14px 60px; }
  .sec { flex-wrap: wrap; gap: 8px; }
  .sec h2 { white-space: nowrap; }
  .sec .sub { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats .st { padding: 12px 12px; }
  .stats .st b { font-size: 18px; }
  .stats .st > span { font-size: 11.5px; }
  .right { gap: 4px; }
  .top .in { padding: 0 14px; gap: 10px; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .row { gap: 10px; padding: 11px 12px; }
  .score { font-size: 19px; }
}
