/* =============================================================================
 * Libra Rating — theme
 * Dark base + refined Libra gold. Tier colours come in inline per element.
 * ===========================================================================*/

/* the default Minecraft typeface, for the wordmark only */
@font-face {
  font-family: 'Minecraft';
  src: url('https://cdn.jsdelivr.net/npm/@south-paw/typeface-minecraft@1.0.0/files/minecraft.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/@south-paw/typeface-minecraft@1.0.0/files/minecraft.woff') format('woff');
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  /* base surfaces — deep dark, faint cool tint, panels lift toward the viewer */
  --bg:        #05070b;
  --bg-2:      #080b11;
  --panel:     #0d1118;
  --panel-2:   #11151f;
  --panel-hi:  #181d2b;
  --line:      #1d2433;
  --line-soft: #151a26;

  /* text */
  --text:      #eef2fb;
  --muted:     #9aa6c0;
  --faint:     #67718c;

  /* brand */
  --gold:      #ffcf4d;     /* brightened from #F5C84C for screen contrast */
  --gold-deep: #e0a92e;
  --gold-soft: rgba(255, 207, 77, 0.12);

  /* semantics */
  --win:       #38d39f;
  --loss:      #ff5d72;

  /* shape */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6);
  --card-shadow: 0 8px 24px -14px rgba(0,0,0,.75);
  --maxw: 1360px;

  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Space Grotesk', var(--font);
  --font-brand: 'Minecraft', var(--font-head);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -200px, rgba(255,207,77,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(91,141,239,.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.head { border-radius: 6px; background: #0c0f17; image-rendering: pixelated; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ----------------------------------------------------------------- header */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,13,19,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.hdr-inner {
  max-width: 1640px; margin: 0 auto; padding: 0 34px;
  height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 13px; justify-self: start; }
.brand-logo { width: 42px; height: 42px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.brand-lines { display: flex; flex-direction: column; gap: 3px; }
.brand-text {
  font-family: var(--font-brand); font-weight: 400; font-size: 18px;
  letter-spacing: .5px; line-height: 1.1;
}
.brand-accent { color: var(--gold); margin-left: 7px; }
.brand-by { font-family: var(--font); font-size: 12px; color: var(--faint); letter-spacing: .2px; }
.hdr-nav { display: flex; gap: 6px; justify-self: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--r-sm); color: var(--muted);
  font-weight: 500; font-size: 14px; transition: .15s;
}
.nav-ico { opacity: .85; }
.nav-link:hover { color: var(--text); background: var(--panel); }
.nav-link.is-active { color: var(--gold); background: var(--gold-soft); }

/* search */
.search { position: relative; justify-self: end; width: 300px; max-width: 42vw; }
.search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--faint); pointer-events: none;
}
#search-input {
  width: 100%; height: 40px; padding: 0 14px 0 38px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-family: var(--font); font-size: 14px;
  transition: .15s;
}
#search-input::placeholder { color: var(--faint); }
#search-input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow);
  overflow: hidden; display: none;
}
.search.open .search-results { display: block; }
.search-item {
  display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 10px;
  padding: 9px 12px; border-bottom: 1px solid var(--line-soft); transition: .12s;
}
.search-item:last-child { border-bottom: 0; }
.search-item:hover { background: var(--panel-hi); }
.si-nick { font-weight: 600; font-size: 14px; }
.si-meta { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.si-rank { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.search-empty { padding: 14px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------------------------------------------------------------- tooltip */
.tip {
  position: fixed; z-index: 100; pointer-events: none;
  max-width: 280px; padding: 9px 12px;
  background: #060810; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 12px 28px -8px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(5px) scale(.98);
  transition: opacity .32s ease, transform .32s ease;
  display: flex; flex-direction: column; gap: 3px;
}
.tip.show { opacity: 1; transform: translateY(0) scale(1); }
.tip.below { transform: translateY(-5px) scale(.98); }
.tip.below.show { transform: translateY(0) scale(1); }
.tip-main { font-size: 12.5px; font-weight: 600; color: var(--text); }
.tip-sub { font-size: 12px; color: var(--muted); font-weight: 400; }

/* ------------------------------------------------------------- page header */
.page-head { padding: 38px 0 8px; }
.page-title {
  font-family: var(--font-head); font-size: 30px; font-weight: 700; margin: 0;
  letter-spacing: -.3px;
}
.page-sub { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.season-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid rgba(255,207,77,.25);
  padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  margin-bottom: 12px;
}

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--line); background: var(--panel);
}
.pill.tier { color: var(--tc); border-color: color-mix(in srgb, var(--tc) 40%, transparent); background: color-mix(in srgb, var(--tc) 12%, transparent); }
.tier-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 8px var(--tc); }
.pill.region { color: var(--muted); }
.region-badge {
  display: inline-grid; place-items: center; min-width: 50px;
  padding: 6px 12px; border-radius: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .5px;
  color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, #05070b);
  border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent);
}

/* unified ELO chip — dark shade of the tier colour, text in the tier colour */
.elo-pill {
  display: inline-block; flex: none;
  font-family: var(--font-head); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: 13.5px; letter-spacing: -.2px;
  color: var(--tc, var(--text));
  background: color-mix(in srgb, var(--tc) 15%, #0a0d13);
  border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
  border-radius: 7px; padding: 2px 9px;
}
.elo-pill.lg { font-size: 16px; padding: 4px 12px; border-radius: 9px; }

/* ============================================================ DISTRIBUTION */
.dist {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px 14px; margin: 18px 0 26px; box-shadow: var(--shadow);
}
.dist-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dist-title { font-family: var(--font-head); font-weight: 600; font-size: 16px; margin: 0; }
.dist-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.dist-stat { text-align: right; }
.dist-stat b { font-family: var(--font-head); font-size: 20px; }
.dist-stat span { display: block; color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; }

.dist-bars {
  display: flex; align-items: flex-end; gap: 3px; height: 150px;
  margin-top: 18px; padding-bottom: 2px;
}
.dist-bar {
  position: relative;
  flex: 1; min-width: 0; height: 100%;
  display: flex; align-items: flex-end; cursor: default;
}
.dist-bar i {
  display: block; width: 100%; border-radius: 3px 3px 1px 1px;
  background: var(--bc, #444);
  min-height: 3px; transition: filter .15s, transform .15s;
}
.dist-bar:hover i { filter: brightness(1.2); }
/* vertical dashed marker that drops from the top of the chart on hover */
.dist-bar::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  border-left: 2px dashed rgba(150, 160, 180, .55);
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.dist-bar:hover::before { opacity: 1; }
.dist-axis {
  display: flex; justify-content: space-between; margin-top: 8px;
  color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums;
}
.dist-top-right { display: flex; align-items: center; gap: 22px; }
.tiers-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel-hi); border: 1px solid var(--line); color: var(--text);
  border-radius: 9px; padding: 8px 14px; font-family: var(--font); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: .15s;
}
.tiers-btn::after { content: '▾'; font-size: 10px; color: var(--muted); transition: transform .2s; }
.tiers-btn:hover { border-color: var(--gold); color: var(--gold); }
.tiers-btn.open::after { transform: rotate(180deg); }
.tiers-panel {
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.tiers-panel[hidden] { display: none; }
.tiers-panel .ladder {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}

/* title + server info share one row, sitting just above the distribution */
.head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; padding: 22px 0 0;
}
.head-row .page-head { padding: 0; }

/* server info (no background) — block on the right, content left-aligned */
.server-strip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  margin: 0;
}
.ss-top { display: flex; align-items: center; gap: 11px; }
.ss-bottom { display: flex; align-items: center; gap: 8px; }
.server-logo { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.server-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.server-ip { display: inline-flex; align-items: baseline; gap: 6px; }
.server-ip .ip-prefix { color: var(--faint); font-size: 13px; font-weight: 600; }
.server-ip code { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 15px; }
.copy-icon-btn {
  display: inline-flex; align-items: center; gap: 0;
  background: transparent; border: none; color: var(--muted);
  cursor: pointer; padding: 6px; border-radius: 8px; transition: color .15s, background .15s;
}
.copy-icon-btn:hover { color: var(--gold); background: var(--panel-hi); }
.copy-icon-btn .ci-text {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; opacity: 0;
  transition: max-width .25s ease, opacity .2s ease, margin-left .25s ease;
}
.copy-icon-btn:hover .ci-text { max-width: 70px; opacity: 1; margin-left: 6px; }
.discord-icon { display: inline-grid; place-items: center; opacity: .9; transition: opacity .15s, transform .15s; }
.discord-icon:hover { opacity: 1; transform: translateY(-1px); }

/* ============================================================ LEADERBOARD */
.board { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.board-head, .row {
  display: grid;
  grid-template-columns: 64px 1fr 130px 130px 92px 120px;
  align-items: center;
}
.board-head {
  padding: 13px 20px; border-bottom: 1px solid var(--line);
  color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; font-weight: 600;
  background: var(--bg-2);
}
.board-head .col-r { text-align: right; }
.board-head .col-c { text-align: center; }

.row {
  padding: 13px 20px; border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: background .14s, transform .16s ease, border-radius .16s; position: relative;
}
.row:last-child { border-bottom: 0; }
/* the whole highlighted plate slides left on hover (mctiers-style) */
.row:hover,
.row.top1:hover, .row.top2:hover, .row.top3:hover {
  background: var(--panel-hi); transform: translateX(-8px); border-radius: 10px;
}
.row:hover .rank-num { color: var(--text); }

.rank { display: flex; align-items: center; }
.rank-num { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--muted); font-variant-numeric: tabular-nums; }
.medal {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #1a1205;
  position: relative; overflow: hidden;
}
.medal > span { position: relative; z-index: 1; }
.medal.g { background: linear-gradient(145deg,#ffe27a,#e0a92e); box-shadow: 0 4px 14px -4px #e0a92e; }
.medal.s { background: linear-gradient(145deg,#eef2fb,#b3bccd); box-shadow: 0 4px 14px -4px #b3bccd; color:#1a1d24; }
.medal.b { background: linear-gradient(145deg,#f0a86a,#c0703a); box-shadow: 0 4px 14px -4px #c0703a; }
/* quick shine that sweeps across every few seconds */
.medal::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.9) 50%, transparent 65%);
  transform: translateX(-130%);
}
.medal.g::after { animation: medal-shine 3.2s ease-in-out infinite; }
.medal.s::after { animation: medal-shine 3.2s ease-in-out .35s infinite; }
.medal.b::after { animation: medal-shine 3.2s ease-in-out .7s infinite; }
@keyframes medal-shine {
  0% { transform: translateX(-130%); }
  12% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

.player-cell { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-cell .head { width: 46px; height: 46px; }
.p-name { font-weight: 700; font-size: 17.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-sub { display: flex; align-items: center; gap: 8px; margin-top: 5px; }

.elo-cell { text-align: right; font-variant-numeric: tabular-nums; }
.elo-val { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ec, var(--text)); letter-spacing: -.2px; }
.elo-best { color: var(--muted); font-weight: 500; font-size: 15px; }
.wins-cell { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; color: var(--muted); }
.tier-cell { text-align: right; }

/* top-3 row tint */
.row.top1 { background: linear-gradient(90deg, rgba(255,207,77,.10), transparent 60%); }
.row.top2 { background: linear-gradient(90deg, rgba(200,210,225,.08), transparent 60%); }
.row.top3 { background: linear-gradient(90deg, rgba(200,120,60,.08), transparent 60%); }

/* loading / skeleton */
.skeleton { color: var(--faint); padding: 40px; text-align: center; }
.spin { width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================ PROFILE */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 16px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--muted); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: .15s;
}
.back-btn:hover { color: var(--text); border-color: var(--gold); background: var(--panel-hi); }

.prof-hero {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px; box-shadow: var(--card-shadow); position: relative;
}
.prof-head {
  width: 96px; height: 96px; border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.8);
}
.prof-id { min-width: 0; }
.prof-name { font-family: var(--font-head); font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -.3px; }
.prof-elo { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.prof-elo b { font-family: var(--font-head); font-size: 30px; color: var(--hc, var(--gold)); letter-spacing: -.5px; }
.prof-elo .lbl { color: var(--faint); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.prof-tier-row { margin-top: 12px; }

/* tier progress bar in hero */
.tier-progress { margin-top: 14px; max-width: 360px; }
.tp-track { height: 7px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line-soft); }
.tp-fill { height: 100%; border-radius: 999px; background: var(--hc, var(--gold)); }
.tp-label { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: var(--faint); }

/* stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.stat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; position: relative;
}
.stat-card .sc-label { color: var(--faint); font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat-card .sc-value { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-top: 6px; }
.stat-card .sc-extra { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sc-help { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--faint); color: var(--faint); font-size: 10px; display: inline-grid; place-items: center; cursor: help; }

.wl-ring { display:flex; align-items:center; gap:14px; margin-top:8px; }
.wl-w { color: var(--win); font-weight: 600; }
.wl-l { color: var(--loss); font-weight: 600; }
.ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; display:grid; place-items:center; flex:none;
  background: conic-gradient(var(--win) calc(var(--p)*1%), var(--loss) 0); }
.ring i { width: 44px; height: 44px; border-radius: 50%; background: var(--panel); display:grid; place-items:center; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 14px; }

/* matches */
.sec-title { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin: 26px 0 12px; display:flex; align-items:center; gap:10px; }
.sec-title .count { color: var(--faint); font-size: 13px; font-weight: 500; }
.match {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-left-width: 3px;
  border-radius: var(--r); padding: 12px 16px; margin-bottom: 10px;
}
.match.win  { border-left-color: var(--win); }
.match.loss { border-left-color: var(--loss); }
.m-result { display: flex; flex-direction: column; gap: 3px; }
.m-badge { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.m-badge.win { color: var(--win); }
.m-badge.loss { color: var(--loss); }
.m-kit { font-size: 12px; color: var(--muted); }
.m-id { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }

.m-teams { display: flex; align-items: center; gap: 14px; min-width: 0; }
.m-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; align-items: flex-start; }
.m-side.right { align-items: flex-end; }
.m-vs { color: var(--faint); font-family: var(--font-head); font-weight: 700; font-size: 12px; flex: none; }
.m-player { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; }
a.m-player { cursor: pointer; transition: color .12s; }
a.m-player:hover .m-pn { color: var(--gold); }
.m-player.me .m-pn { color: var(--gold); }
.m-player .head { width: 28px; height: 28px; flex: none; }
.m-pn { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-delta { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.m-delta.up { color: var(--win); }
.m-delta.down { color: var(--loss); }
.m-when { color: var(--faint); font-size: 12px; text-align: right; min-width: 64px; }

/* ==================================================================== INFO */
.info-hero { padding: 40px 0 10px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 40px; }
.faq-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px;
}
.faq-card h3 { font-family: var(--font-head); font-size: 17px; margin: 0 0 8px; display:flex; align-items:center; gap:10px; }
.faq-card p { color: var(--muted); margin: 0 0 10px; font-size: 14.5px; }
.faq-card .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.faq-card.span2 { grid-column: 1 / -1; }
.ip-box { display:inline-flex; align-items:center; gap:10px; background: var(--bg); border:1px dashed var(--line); border-radius:10px; padding:10px 14px; margin-top:6px; }
.ip-box code { font-family: var(--font-head); font-weight:700; color: var(--gold); font-size:15px; }
.copy-btn { border:1px solid var(--line); background:var(--panel-hi); color:var(--muted); border-radius:7px; padding:5px 10px; font-size:12px; cursor:pointer; transition:.15s; }
.copy-btn:hover { color:var(--text); border-color: var(--gold); }

/* tier ladder table on info page */
.ladder { display: grid; gap: 8px; margin-top: 10px; }
.ladder-row { display:grid; grid-template-columns: 18px 130px 1fr; align-items:center; gap:14px; padding:9px 12px; background:var(--bg); border:1px solid var(--line-soft); border-radius:10px; }
.ladder-dot { width: 12px; height:12px; border-radius:50%; box-shadow:0 0 10px currentColor; }
.ladder-name { font-weight:700; font-family: var(--font-head); }
.ladder-range { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13.5px; }

.site-foot { border-top:1px solid var(--line-soft); margin-top: 50px; padding: 26px 0; color: var(--faint); font-size: 13px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--gold); }

/* notice / not-found */
.notice { text-align:center; padding: 70px 20px; }
.notice h2 { font-family: var(--font-head); font-size: 22px; margin: 0 0 8px; }
.notice p { color: var(--muted); }

/* ============================================================== RESPONSIVE */
@media (max-width: 880px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .board-head, .row { grid-template-columns: 52px 1fr 96px 70px; }
  .board-head .col-best, .col-best, .board-head .col-tier, .tier-cell { display: none; }
  .hdr-nav { display: none; }
  .search { max-width: none; }
}
@media (max-width: 560px) {
  .board-head, .row { grid-template-columns: 46px 1fr 88px; }
  .board-head .col-wins, .wins-cell { display: none; }
  .page-title { font-size: 24px; }
  .dist-bars { height: 110px; }
  .match { grid-template-columns: 80px 1fr; }
  .m-when { display: none; }
  .prof-name { font-size: 22px; }
}
