/* TAKENMC — dark gaming dashboard */
:root {
  --bg: #0b0f17;
  --bg-2: #111827;
  --card: #111827;
  --card-2: #0f172a;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --green: #22c55e;
  --green-dark: #16a34a;
  --red: #ef4444;
  --amber: #f59e0b;
  --blue: #38bdf8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 380px at 15% -5%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
button { font: inherit; cursor: pointer; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 23, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
.brand span span, .brand-name span { color: var(--green); }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 9px; color: #0b0f17; box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 500; transition: .15s; }
.nav-links a:hover { color: var(--text); background: rgba(148, 163, 184, 0.1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------- pills / badges / dots ---------- */
.pill, .badge, .chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  white-space: nowrap;
}
.pill-muted, .badge-muted { color: var(--muted); background: rgba(148, 163, 184, 0.08); }
.pill-green, .badge-online { color: #4ade80; background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); }
.badge-offline { color: #fca5a5; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }
.badge-syncing { color: #fcd34d; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-green { background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); animation: pulse 2s infinite; }
.dot-red { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-grey { background: var(--muted-2); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; padding: 9px 15px;
  border-radius: 10px; border: 1px solid var(--border-strong);
  background: rgba(148, 163, 184, 0.08); color: var(--text);
  transition: .15s; white-space: nowrap;
}
.btn:hover { background: rgba(148, 163, 184, 0.16); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-color: transparent; color: #04120a; }
.btn-primary:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.btn-discord { background: #5865f2; border-color: transparent; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-copy { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }
.btn-copy:hover { background: rgba(34, 197, 94, 0.2); }
.btn-copy.copied { background: var(--green); color: #04120a; border-color: transparent; }
.btn-ghost { background: transparent; }
.spinning svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 66px 0 34px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -60px -20% auto; height: 420px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(34, 197, 94, 0.20), transparent 70%) center/60% 100% no-repeat,
    radial-gradient(closest-side, rgba(56, 189, 248, 0.12), transparent 70%) 70% 0/45% 80% no-repeat;
  filter: blur(18px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { opacity: 0.75; transform: translateY(0) scale(1); }
  to { opacity: 1; transform: translateY(10px) scale(1.06); }
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: #4ade80; font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em;
  background: rgba(34, 197, 94, 0.09); border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px; padding: 6px 14px;
}
.kicker-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pulse 2s infinite;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(54px, 11vw, 104px);
  line-height: 1; letter-spacing: 0.015em; margin: 16px 0 10px;
  background: linear-gradient(180deg, #ffffff 30%, #9fb3c8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(34, 197, 94, 0.25);
}
.hero-title span {
  background: linear-gradient(180deg, #4ade80 20%, #16a34a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tagline { color: var(--muted); font-size: 15px; font-weight: 500; }
.hero-motd { color: var(--text); font-size: 15.5px; margin-top: 6px; opacity: 0.9; }
.hero-ip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 23, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 7px 7px 7px 8px; box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.hero-ip:hover { border-color: rgba(34, 197, 94, 0.5); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08), var(--shadow); }
.hero-ip-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: #0b0f17;
  background: var(--green); border-radius: 8px; padding: 5px 8px;
}
.hero-ip code { font-size: 16.5px; font-weight: 700; color: #fff; letter-spacing: 0.02em; padding-right: 4px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 18px; }
.chip { color: var(--muted); background: rgba(148, 163, 184, 0.07); transition: .18s; }
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.btn-lg { padding: 12px 20px; font-size: 14px; border-radius: 12px; }
.btn-store { background: linear-gradient(135deg, #f59e0b, #d97706); border-color: transparent; color: #1a1203; }
.btn-store:hover { filter: brightness(1.08); background: linear-gradient(135deg, #f59e0b, #d97706); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 30px;
  background: var(--border); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden;
}
.hero-stat {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(11, 15, 23, 0.9));
  padding: 14px 10px; text-align: center;
}
.hero-stat b {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: #fff;
}
.hero-stat span { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- sections & cards ---------- */
.section { padding: 26px 0; scroll-margin-top: 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; }
.section-sub { color: var(--muted); font-size: 13.5px; }
.refresh-box { display: flex; align-items: center; gap: 12px; }
.last-updated { color: var(--muted-2); font-size: 12.5px; }
.progress-track { height: 3px; background: rgba(148, 163, 184, 0.12); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 99px; transition: width 1s linear; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--border-strong); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 17px; font-family: 'Space Grotesk', sans-serif; }
.card-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.card-note { color: var(--muted-2); font-size: 12px; margin-top: 12px; }
.card-note code { color: var(--muted); background: rgba(148, 163, 184, 0.1); padding: 1px 6px; border-radius: 6px; font-size: 11.5px; }
.edition { display: flex; align-items: center; gap: 12px; }
.edition-badge {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 7px 10px; border-radius: 9px; color: #04120a;
}
.edition-java { background: linear-gradient(135deg, #4ade80, #16a34a); }
.edition-bedrock { background: linear-gradient(135deg, #7dd3fc, #0284c7); color: #04121f; }
.big-count { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; margin: 16px 0 8px; line-height: 1; }
/* ---------- combined players card ----------
   Java and Bedrock players share one world, so the page leads with ONE
   total number. Per-edition cards were removed — two sets of numbers looked
   like two separate servers. */
.total-card { border-color: rgba(34, 197, 94, 0.28); }
.total-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.total-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.total-count { font-family: 'Space Grotesk', sans-serif; font-size: 46px; font-weight: 700; line-height: 1.05; margin: 4px 0 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.total-bar { max-width: 460px; }
.badge.small { font-size: 9.5px; padding: 4px 7px; }
.big-count-max { font-size: 16px; color: var(--muted); font-weight: 500; }
/* One compact facts row on the single status card (ping / split / version). */
.status-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(148, 163, 184, 0.07); border: 1px solid var(--border);
  border-radius: 9px; padding: 7px 11px; font-size: 12.5px;
}
.status-chip-label { color: var(--muted-2); font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.status-chip b { font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; color: var(--text); font-weight: 700; }
.bar { height: 8px; background: rgba(148, 163, 184, 0.14); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), #4ade80); border-radius: 99px; transition: width .6s ease; }
.bar-fill.full { background: linear-gradient(90deg, var(--amber), #fbbf24); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 4px; }
.stats > div { background: rgba(148, 163, 184, 0.06); border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; }
.stats dt { color: var(--muted-2); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
.stats dd { font-size: 15px; font-weight: 700; margin-top: 2px; word-break: break-word; }
.motd {
  color: var(--muted); font-size: 13.5px; margin-top: 14px;
  border-left: 3px solid var(--green); padding-left: 12px; min-height: 20px;
}
.motd.motd-error { border-left-color: var(--red); color: #fca5a5; }
.card.is-offline { border-color: rgba(239, 68, 68, 0.28); }
.card-actions { display: flex; gap: 10px; margin-top: 16px; }
.ip-code {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: rgba(11, 15, 23, 0.6); border: 1px dashed var(--border-strong);
  border-radius: 10px; padding: 9px 12px; font-size: 13.5px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- players ---------- */
.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.player-card {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px;
  transition: .15s;
}
.player-card:hover { border-color: rgba(34, 197, 94, 0.45); transform: translateY(-2px); }
.player-card > div { min-width: 0; }
.player-card img { width: 42px; height: 42px; border-radius: 9px; image-rendering: pixelated; background: rgba(148, 163, 184, 0.12); flex: none; }
.player-name {
  font-weight: 700; font-size: 14.5px;
  /* Keep the username on ONE line — no mid-word breaks like "TAKEN/MC".
     Overflow is handled with an ellipsis, the full name stays in the title. */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.player-status { color: var(--green); font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.empty-state {
  text-align: center; padding: 44px 20px; color: var(--muted);
  border: 1px dashed var(--border-strong); border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.04);
}
.empty-state h3 { color: var(--text); margin: 12px 0 4px; font-size: 16px; }
.empty-state p { font-size: 13.5px; }


/* ---------- how to join ---------- */
.section-note { margin-top: 12px; color: var(--muted-2); font-size: 12.5px; text-align: center; }
.ip-inline { color: var(--muted); font-size: 11.5px; }
.step-list { list-style: none; counter-reset: step; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.step-list li {
  counter-increment: step;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.step-list li::before {
  content: counter(step);
  flex: none; width: 21px; height: 21px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(34, 197, 94, 0.16); color: #4ade80;
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 800;
}

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feature-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); transition: .15s;
}
.feature-card:hover { border-color: rgba(34, 197, 94, 0.4); transform: translateY(-2px); }
.feature-icon {
  width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 12px;
  border-radius: 10px; color: #4ade80;
  background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.28);
}
.feature-name { font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 700; }
.feature-desc { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.55; }

/* ---------- rules ---------- */
.rules-list { display: flex; flex-direction: column; gap: 10px; }
.rule-item {
  display: flex; gap: 13px; align-items: flex-start;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border); border-left: 3px solid rgba(148, 163, 184, 0.4);
  border-radius: 12px; padding: 14px 16px;
}
.rule-item.rule-instant { border-left-color: var(--red); }
.rule-item.rule-warn { border-left-color: var(--amber); }
.rule-icon { flex: none; color: var(--muted); margin-top: 2px; }
.rule-item.rule-instant .rule-icon { color: #fca5a5; }
.rule-item.rule-warn .rule-icon { color: #fbbf24; }
.rule-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.rule-title { font-weight: 700; font-size: 14.5px; }
.rule-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 6px;
}
.rule-tag-instant { color: #fca5a5; background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.32); }
.rule-tag-warn { color: #fcd34d; background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.32); }
.rule-desc { color: var(--muted); font-size: 13px; margin-top: 5px; line-height: 1.55; }

/* ---------- vote ---------- */
.vote-card { border-color: rgba(245, 158, 11, 0.3); }
.vote-desc { color: var(--muted); font-size: 13.5px; margin: 12px 0 14px; }
.vote-steps { counter-reset: vote-step; display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.vote-steps li {
  counter-increment: vote-step;
  display: block;
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  background: rgba(245, 158, 11, 0.07); border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 10px; padding: 10px 12px 10px 40px;
  position: relative; min-width: 0;
}
/* The step number is a pseudo-element, so it can never affect text flow or
   wrap the copy letter-by-letter (the old span-based badge did exactly that). */
.vote-steps li::before {
  content: counter(vote-step);
  position: absolute; left: 12px; top: 10px;
  width: 21px; height: 21px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(245, 158, 11, 0.2); color: #fbbf24;
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 800;
}
.vote-steps li > b { color: var(--text); font-weight: 700; }
.vote-step-text { color: var(--muted); }
.vote-cta { width: 100%; justify-content: center; padding: 12px 16px; font-size: 14px; margin-bottom: 4px; }

/* ---------- footer / toast ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 34px; padding: 30px 0 26px; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.footer-brand { max-width: 420px; }
.footer-brand .brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); }
.footer-brand .brand-name span { color: var(--green); }
.footer-brand p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; }
.footer-ip { color: var(--muted-2); }
.footer-ip code { color: var(--muted); background: rgba(148, 163, 184, 0.1); padding: 2px 7px; border-radius: 6px; font-size: 11.5px; }
.footer-links h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 10px;
}
.footer-link-grid { display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr)); gap: 7px 18px; }
.footer-link-grid a { color: var(--muted); font-size: 13px; transition: .15s; }
.footer-link-grid a:hover { color: var(--green); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border);
  color: var(--muted-2); font-size: 12px;
}
.footer-note { color: var(--muted-2); font-size: 12px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--green); color: #04120a; font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 100; box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav-inner { height: 56px; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .footer-link-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .pill { display: none; }
  .hero { padding: 38px 0 20px; }
  .hero-ip { width: 100%; justify-content: space-between; }
  .card { padding: 18px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stats dd { font-size: 13px; }
  .big-count { font-size: 38px; }
  .total-count { font-size: 36px; }
  .card-actions { flex-direction: column; }
  .card-actions .btn { justify-content: center; }
  .players-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
}

/* ---------- accessibility ---------- */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(40px, 15vw, 52px); }
  .hero-ip { padding-left: 14px; }
  .hero-ip code { font-size: 14px; }
  .chip { font-size: 11px; padding: 5px 10px; }
}

/* ---------- load watchdog ---------- */
.load-notice {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 18px 0 0; padding: 12px 16px;
  font-size: 13.5px; color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
}
.load-notice strong { color: #fde68a; }
.load-notice-btn { margin-left: auto; padding: 6px 12px; font-size: 12.5px; }
