/* Generated with docs/counters/ pages by scripts/generate-counter-pages.mjs.
 * Mirrors the index.css token palette; edit the generator, not this file. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0c0c10;
  --surface: rgba(255,255,255,0.045);
  --surface-hi: rgba(255,255,255,0.075);
  --border: rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.14);
  --gold: #ffd60a;
  --text: #f5f5f7;
  --text-2: rgba(245,245,247,0.48);
  --text-3: rgba(245,245,247,0.28);
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.25rem 4rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 40% at 15% 0%, rgba(255,214,10,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(80,80,220,0.06) 0%, transparent 100%),
    var(--bg);
  background-attachment: fixed;
}
.crumbs {
  width: 100%;
  max-width: 720px;
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 2rem;
}
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
header { text-align: center; margin-bottom: 2.5rem; max-width: 560px; }
.portrait { border-radius: 18px; background: var(--surface); margin-bottom: 1rem; }
h1 {
  font-family: 'Brawl Stars', sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  background: linear-gradient(160deg, #ffffff 30%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle { font-size: 0.9rem; color: var(--text-2); line-height: 1.5; }
main { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 2rem; }
section h2 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.9rem;
}
.grid { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 84px;
  padding: 0.55rem 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.72rem;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.card:hover { background: var(--surface-hi); border-color: var(--border-hi); color: var(--text); }
.card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.card span { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.index-grid { justify-content: center; }
.note { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.classes { font-size: 0.85rem; color: var(--text-2); }
.chip {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  margin: 0 0.15rem;
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text);
  background: var(--surface);
}
.cta {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease;
}
.cta:hover { background: rgba(255,255,255,0.16); }
footer {
  margin-top: 4rem;
  font-size: 0.7rem;
  color: var(--text-3);
  text-align: center;
  line-height: 1.7;
  max-width: 560px;
}
footer strong { color: var(--text-2); font-weight: 500; }
footer p + p { margin-top: 0.5rem; }
footer a { color: var(--text-2); }
footer a:hover { color: var(--text); }
footer .disclaimer { font-size: 0.64rem; }
