/* Earthora Tiers – shares the look of store.earthora.net */
:root {
  --bg: #061024;
  --bg-2: #081631;
  --panel: #0b1d3d;
  --panel-2: #10284f;
  --edge: #1d4c94;
  --edge-lo: #132f5e;
  --edge-hi: #2f6fd6;
  --blue: #2f7bff;
  --blue-dk: #1b56c7;
  --sky: #6fb2ff;
  --ink: #eef4ff;
  --ink-2: #a9bfe2;
  --ink-3: #6f87b0;
  --t1: #ffc83d; --t1-dk: #a8790a;
  --t2: #cfd9ea; --t2-dk: #7d8aa1;
  --t3: #ee8c4c; --t3-dk: #9a4b1b;
  --t4: #a08cff; --t4-dk: #5a45bf;
  --t5: #7f93b8; --t5-dk: #46587a;
  --up: #4ade80;
  --down: #ff6b78;
  --r: 14px;
  --r-sm: 9px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Lilita One", "Montserrat", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 500 15px/1.5 var(--font); color: var(--ink);
  background:
    radial-gradient(1100px 520px at 50% -160px, rgba(47, 123, 255, .28), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { image-rendering: pixelated; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 900; letter-spacing: -.01em; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.num { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 30; background: rgba(6, 16, 36, .92); backdrop-filter: blur(10px); border-bottom: 2px solid var(--edge-lo); }
.top-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wm { font: 400 30px/1 var(--display); letter-spacing: .02em; transform: rotate(-2deg); display: inline-block; }
.wm span { -webkit-text-stroke: 2px #04102a; paint-order: stroke fill; }
.wm-a { color: #e9f1ff; text-shadow: 0 3px 0 #8aa6cf, 0 5px 0 #04102a; }
.wm-b { color: var(--sky); text-shadow: 0 3px 0 var(--blue-dk), 0 5px 0 #04102a; }
.brand-tag { font: 800 11px var(--font); text-transform: uppercase; letter-spacing: .12em; color: #fff; background: var(--blue); padding: 4px 8px 3px; border-radius: 6px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 700; font-size: 14px; transition: color .15s, background .15s; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--blue); }
.search { position: relative; margin-left: auto; display: flex; align-items: center; gap: 8px; width: 250px; padding: 0 10px; border-radius: var(--r-sm); background: var(--bg-2); border: 2px solid var(--edge-lo); color: var(--ink-3); transition: border-color .15s; }
.search:focus-within { border-color: var(--sky); }
.search input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: none; color: var(--ink); font: 600 14px var(--font); }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font: 700 11px var(--font); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--edge); color: var(--ink-3); }
.suggest { position: absolute; top: calc(100% + 8px); left: -2px; right: -2px; padding: 6px; border-radius: 12px; background: var(--panel); border: 2px solid var(--edge); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; color: var(--ink); font-weight: 700; font-size: 14px; }
.suggest a.on, .suggest a:hover { background: var(--panel-2); }
.suggest img { width: 26px; height: 26px; border-radius: 5px; }
.suggest .empty { padding: 10px; color: var(--ink-2); font-size: 13px; }
.menu-btn { display: none; padding: 6px; border: 0; background: none; }

/* ── generic ── */
main { flex: 1; padding-top: 30px; padding-bottom: 64px; }
.panel { background: var(--panel); border: 2px solid var(--edge-lo); border-radius: var(--r); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; white-space: nowrap;
  border: 0; border-radius: var(--r-sm); background: var(--panel-2); color: #cfe1ff; font: 800 14px var(--font);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); transition: background .15s, transform .15s;
}
.btn:hover { background: #16346a; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dk); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.btn svg { width: 18px; height: 18px; }
.h-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.h-title small { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.loading { display: grid; place-items: center; min-height: 40vh; }
.spinner { width: 30px; height: 30px; border: 3px solid var(--edge-lo); border-top-color: var(--sky); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── banner (same as the store) ── */
.banner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) auto; align-items: center; gap: 28px;
  padding: 34px 38px; margin-bottom: 30px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, #3d8bff, #1e5fd8 75%, #174bb0);
  border-bottom: 6px solid #133f97;
  box-shadow: 0 20px 40px rgba(20, 70, 170, .3);
}
.banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, .06) 2px, transparent 2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.banner > * { position: relative; }
.banner h1 { margin-bottom: 10px; font-size: 34px; text-transform: uppercase; }
.banner p { max-width: 520px; margin: 0 0 20px; color: #e3eeff; font-size: 14px; font-weight: 600; line-height: 1.6; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.banner .btn { background: rgba(6, 16, 36, .35); color: #fff; }
.banner .btn:hover { background: rgba(6, 16, 36, .55); }
.banner .btn.white { background: #fff; color: #133f97; }
.banner .btn.white:hover { background: #e3eeff; }
.ip-btn { font-family: var(--font); letter-spacing: .01em; }
.ip-btn small { padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 10px; }
.stat { padding: 14px 18px; border-radius: 11px; background: rgba(6, 16, 36, .28); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14); }
.stat b { display: block; font: 400 30px/1 var(--display); color: #fff; }
.stat span { display: block; margin-top: 6px; color: #cfe0ff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

/* ── mode tabs ── */
.tabs { display: flex; gap: 8px; margin-bottom: 22px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; height: 44px; padding: 0 15px;
  border-radius: var(--r-sm); border: 2px solid var(--edge-lo); background: var(--panel); color: var(--ink-2);
  font-weight: 800; font-size: 14px; transition: border-color .15s, color .15s, background .15s;
}
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: #fff; border-color: var(--edge); }
.tab.on { color: #fff; background: var(--blue); border-color: var(--sky); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .h-title { margin: 0; }
.toolbar .grow { flex: 1; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 2px solid var(--edge-lo); }
.seg button { height: 30px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: var(--ink-3); font-size: 12px; font-weight: 800; }
.seg button:hover { color: #fff; }
.seg button.on { background: var(--panel-2); color: #fff; box-shadow: inset 0 -2px 0 var(--blue); }

/* ── podium ── */
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 14px; margin-bottom: 22px; }
.pod {
  --c: var(--t1); --cd: var(--t1-dk);
  position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 14px 16px; text-align: center;
  border-radius: var(--r); background: var(--panel); border: 2px solid var(--edge-lo); border-bottom: 5px solid var(--cd);
  transition: transform .15s, border-color .15s;
}
.pod:hover { transform: translateY(-3px); border-color: var(--c); }
.pod.p1 { padding-top: 26px; }
.pod.p2 { --c: var(--t2); --cd: var(--t2-dk); }
.pod.p3 { --c: var(--t3); --cd: var(--t3-dk); }
.pod-rank { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--c); color: #061024; font: 400 20px/1 var(--display); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.pod img { height: 120px; width: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.pod.p1 img { height: 150px; }
.pod-name { margin-top: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 900; }
.pod-sub { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 12px; font-weight: 800; }
.pod-pts { margin-top: 8px; color: var(--c); font: 400 24px/1 var(--display); }
.pod-pts small { margin-left: 4px; color: var(--ink-3); font: 800 11px var(--font); text-transform: uppercase; }

/* ── layout with sidebar ── */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.side .panel { padding: 16px 18px; }
.side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: var(--sky); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.side-head a { color: var(--ink-3); }
.side-head a:hover { color: #fff; }

/* ── overall table ── */
.board { overflow: hidden; }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 70px; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 2px solid var(--bg-2); transition: background .12s; }
.row:last-child { border-bottom: 0; }
a.row:hover { background: var(--panel-2); }
.row.head { padding: 11px 16px; background: var(--bg-2); color: var(--ink-3); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.rank { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--panel-2); color: var(--ink-2); font: 400 18px/1 var(--display); }
.rank.p1 { background: var(--t1); color: #061024; box-shadow: inset 0 -3px 0 var(--t1-dk); }
.rank.p2 { background: var(--t2); color: #061024; box-shadow: inset 0 -3px 0 var(--t2-dk); }
.rank.p3 { background: var(--t3); color: #061024; box-shadow: inset 0 -3px 0 var(--t3-dk); }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who img { width: 40px; height: 40px; flex-shrink: 0; border-radius: 7px; background: var(--panel-2); box-shadow: 0 0 0 2px var(--edge-lo); }
.who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 800; }
.who-sub { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.region { padding: 1px 6px; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--edge-lo); color: var(--ink-3); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.pts { text-align: right; font: 400 21px/1 var(--display); }
.pts small { display: block; margin-top: 3px; color: var(--ink-3); font: 800 10px var(--font); text-transform: uppercase; letter-spacing: .06em; }
.more { display: flex; justify-content: center; padding: 14px; background: var(--bg-2); }

/* tier badge: mode icon + tier */
.tb { --c: var(--t5); --cd: var(--t5-dk); display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 7px 0 5px; border-radius: 7px; font: 800 12px var(--font); color: var(--c); background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.tb svg { width: 15px; height: 15px; color: var(--ink-2); }
.tb.ht { background: var(--c); border-color: var(--c); color: #061024; box-shadow: inset 0 -2px 0 var(--cd); }
.tb.ht svg { color: #061024; }
.tb.ret { opacity: .5; text-decoration: line-through; }
.l1 { --c: var(--t1); --cd: var(--t1-dk); } .l2 { --c: var(--t2); --cd: var(--t2-dk); } .l3 { --c: var(--t3); --cd: var(--t3-dk); }
.l4 { --c: var(--t4); --cd: var(--t4-dk); } .l5 { --c: var(--t5); --cd: var(--t5-dk); }

/* ── mode tier columns ── */
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tcol { overflow: hidden; }
.tcol-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--c); color: #061024; box-shadow: inset 0 -4px 0 var(--cd); }
.tcol-head b { font: 400 21px/1 var(--display); letter-spacing: .02em; }
.tcol-head span { padding: 2px 8px; border-radius: 6px; background: rgba(6, 16, 36, .18); font-size: 12px; font-weight: 800; }
.tcol-list { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.tp { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border-radius: 8px; transition: background .12s; }
.tp:hover { background: var(--panel-2); }
.tp img { width: 26px; height: 26px; flex-shrink: 0; border-radius: 5px; }
.tp span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.tp i { padding: 1px 6px; border-radius: 5px; font: normal 800 10px var(--font); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.tp i.ht { background: var(--c); color: #061024; border-color: var(--c); }
.tp.ret { opacity: .45; }
.tcol-empty { padding: 18px 10px; text-align: center; color: var(--ink-3); font-size: 12px; font-weight: 600; }

/* ── feed / testers ── */
.feed { display: flex; flex-direction: column; }
.fe { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 2px solid var(--bg-2); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fe:last-child { border-bottom: 0; }
.fe img { width: 30px; height: 30px; flex-shrink: 0; border-radius: 6px; }
.fe .tb { flex-shrink: 0; }
.fe-main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fe-main b { color: var(--ink); font-weight: 800; }
.fe-sub { color: var(--ink-3); font-size: 12px; }
.arrow { min-width: 26px; text-align: right; font-size: 12px; font-weight: 900; }
.arrow.up { color: var(--up); } .arrow.down, .arrow.rm { color: var(--down); } .arrow.new { color: var(--sky); } .arrow.same { color: var(--ink-3); }
.tl { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 2px solid var(--bg-2); }
.tl:last-child { border-bottom: 0; }
.tl .n { width: 22px; color: var(--ink-3); font: 400 15px var(--display); }
.tl .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.tl .c { color: var(--sky); font: 400 17px var(--display); }

/* ── player profile ── */
.prof { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 22px; align-items: start; }
.prof-card { position: sticky; top: 90px; overflow: hidden; text-align: center; }
.prof-skin { display: grid; place-items: end center; height: 250px; padding-top: 16px; background: linear-gradient(180deg, #3d8bff, #1e5fd8 75%, #174bb0); border-bottom: 5px solid #133f97; }
.prof-skin img { height: 220px; width: auto; margin-bottom: -6px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .4)); }
.prof-body { padding: 18px 20px 20px; }
.prof-name { margin-bottom: 6px; font-size: 26px; word-break: break-all; }
.prof-title { display: inline-block; margin-bottom: 16px; padding: 3px 10px; border-radius: 6px; background: var(--bg-2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.prof-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.prof-nums div { padding: 10px 4px; border-radius: 10px; background: var(--bg-2); }
.prof-nums b { display: block; font: 400 22px/1.1 var(--display); }
.prof-nums span { color: var(--ink-3); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.prof-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.prof-meta { margin-top: 14px; color: var(--ink-3); font-size: 11px; font-weight: 600; word-break: break-all; }
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.mc.none { --c: var(--ink-3); --cd: var(--edge-lo); }
.mc { position: relative; padding: 14px 16px 16px; border-bottom: 5px solid var(--cd); transition: transform .15s, border-color .15s; }
a.mc:hover { transform: translateY(-3px); border-color: var(--c); border-bottom-color: var(--cd); }
.mc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.mc-top svg { width: 18px; height: 18px; color: var(--c); }
.mc-tier { color: var(--c); font: 400 36px/1 var(--display); }
.mc-sub { min-height: 18px; margin-top: 8px; color: var(--ink-3); font-size: 12px; font-weight: 700; }
.mc.none { background: var(--bg-2); }
.mc.none .mc-tier { padding: 9px 0 8px; color: var(--ink-3); font: 800 14px var(--font); text-transform: uppercase; letter-spacing: .05em; }
.mc.ret .mc-tier { text-decoration: line-through; opacity: .6; }
.timeline { padding: 4px 18px; }

/* ── compare ── */
.cmp-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.cmp-form input { flex: 1; min-width: 150px; height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 2px solid var(--edge-lo); background: var(--bg-2); color: var(--ink); font: 700 14px var(--font); outline: 0; }
.cmp-form input:focus { border-color: var(--sky); }
.cmp { overflow-x: auto; }
.cmp table { width: 100%; min-width: 520px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 2px solid var(--bg-2); text-align: center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-weight: 800; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-3); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.cmp thead img { display: block; width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 9px; }
.cmp .win { background: rgba(74, 222, 128, .08); box-shadow: inset 0 -2px 0 rgba(74, 222, 128, .5); }

/* ── about ── */
.prose { max-width: 820px; }
.prose h1 { margin-bottom: 14px; font-size: 32px; text-transform: uppercase; }
.prose h2 { margin: 32px 0 10px; font-size: 20px; text-transform: uppercase; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.7; }
.prose b { color: var(--ink); }
.prose a { color: var(--sky); font-weight: 700; }
.prose code { padding: 1px 6px; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--edge-lo); color: var(--sky); font-size: 13px; }
.pts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 14px 0; }
.pts-grid div { padding: 12px; text-align: center; border-bottom: 4px solid var(--cd); }
.pts-grid b { display: block; color: var(--c); font: 400 22px/1.1 var(--display); }
.pts-grid span { color: var(--ink-3); font-size: 12px; font-weight: 700; }
.steps { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 14px 16px 14px 58px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--blue); color: #fff; font: 400 16px var(--display); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }

/* ── empty / 404 ── */
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state h1 { margin-bottom: 8px; font: 400 36px var(--display); }
.empty-state .btn { margin-top: 16px; }

/* ── footer & toast ── */
.foot { padding: 34px 0; background: #040b1a; border-top: 3px solid #0c2149; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.foot-copy { color: var(--sky); font-weight: 700; }
.foot-copy b { color: #fff; }
.foot-note { margin: 6px 0 0; color: var(--ink-3); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: #fff; }
.foot-social { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: #5865f2; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.foot-social svg { width: 24px; height: 24px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; transform: translateX(-50%); padding: 12px 20px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 12px 30px rgba(0, 0, 0, .4); }

/* ── responsive ── */
@media (max-width: 1080px) {
  .cols { grid-template-columns: 1fr; }
  .side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; padding: 10px 16px 14px; background: var(--bg); border-bottom: 2px solid var(--edge-lo); }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .search { flex: 1; width: auto; min-width: 0; }
  .search kbd { display: none; }
  .banner { grid-template-columns: 1fr; padding: 28px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prof { grid-template-columns: 1fr; }
  .prof-card { position: static; }
}
@media (max-width: 640px) {
  .top-in { gap: 12px; }
  .wm { font-size: 24px; }
  .brand-tag { display: none; }
  .banner { padding: 22px 20px; }
  .banner h1 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat b { font-size: 24px; }
  .podium { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .pod { padding: 40px 6px 12px; }
  .pod.p1 { padding-top: 40px; }
  .pod-rank { top: 8px; left: 8px; width: 26px; height: 26px; font-size: 15px; }
  .pod img, .pod.p1 img { height: 84px; }
  .pod-name { font-size: 13px; }
  .pod-sub { display: none; }
  .pod-pts { font-size: 18px; }
  .side { grid-template-columns: 1fr; }
  .tiers, .modes { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 36px minmax(0, 1fr) 54px; gap: 10px; padding: 10px 12px; }
  .row .badges { grid-column: 2 / 4; grid-row: 2; justify-content: flex-start; }
  .row .pts { grid-column: 3; grid-row: 1; }
  .row.head .badges { display: none; }
  .rank { width: 32px; height: 32px; font-size: 16px; }
  .who img { width: 34px; height: 34px; }
  .pts-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
