/* same tokens as endlessmc.net */
:root {
  color-scheme: dark;
  --bg: #040814; --glass: rgba(9, 19, 44, .66); --glass-2: rgba(13, 27, 60, .78); --solid: #08122b;
  --line: rgba(143, 220, 255, .14); --line-2: rgba(143, 220, 255, .3);
  --text: #eef5ff; --text-2: #a9bbd6; --text-3: #6f82a3;
  --ice: #8fdcff; --ice-hi: #d6f4ff; --blue: #3a8dff;
  --online: #5be37d; --offline: #ff5f57; --gold: #ffc94a; --bronze: #e39a68;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e6f7ff 40%, #9fe0ff 50%, #4aa3ff 72%, #2366e0 100%);
  --chrome-gold: linear-gradient(180deg, #fffbe8 0%, #ffe9a8 40%, #ffc94a 50%, #e8960f 75%, #a86200 100%);
  --chrome-red: linear-gradient(180deg, #ffffff 0%, #ffe1dc 40%, #ff9a8c 50%, #ff4d40 72%, #b81c1c 100%);
  --chrome-bronze: linear-gradient(180deg, #fff3e8 0%, #ffd2ad 40%, #e39a68 50%, #b8642c 75%, #7a3c12 100%);
  --button: linear-gradient(#d4f3ff 0%, #79d3ff 48%, #3592ff 100%);
  --series-1: #3a8dff; --series-2: #e8503f; --grid: rgba(143, 220, 255, .09);
  --gutter: clamp(16px, 4vw, 48px); --wrap: 1240px; --header-h: 68px;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { position: relative; margin: 0; color: var(--text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  url("stars-a.svg") 0 0 / 480px repeat,
  url("stars-b.svg") 130px 210px / 760px repeat,
  radial-gradient(900px 640px at 12% 18%, rgba(37, 94, 214, .2), rgba(37, 94, 214, 0) 70%),
  radial-gradient(800px 600px at 92% 70%, rgba(104, 64, 214, .16), rgba(104, 64, 214, 0) 70%),
  radial-gradient(700px 500px at 50% 110%, rgba(30, 120, 220, .14), rgba(30, 120, 220, 0) 70%),
  var(--bg); }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { flex: none; }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .96; letter-spacing: .01em; text-wrap: balance; }
.h-lg { font-size: clamp(2.7rem, 5.6vw, 4.6rem); }
.h-md { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.chrome, .chrome-gold, .chrome-red, .chrome-bronze { background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(2, 6, 18, .7)) drop-shadow(0 0 22px rgba(79, 179, 255, .32)); }
.chrome { background-image: var(--chrome); }
.chrome-gold { background-image: var(--chrome-gold); filter: drop-shadow(0 2px 0 rgba(2, 6, 18, .7)) drop-shadow(0 0 22px rgba(255, 180, 60, .3)); }
.chrome-red { background-image: var(--chrome-red); filter: drop-shadow(0 2px 0 rgba(2, 6, 18, .7)) drop-shadow(0 0 22px rgba(255, 80, 64, .32)); }
.chrome-bronze { background-image: var(--chrome-bronze); filter: drop-shadow(0 2px 0 rgba(2, 6, 18, .7)) drop-shadow(0 0 22px rgba(227, 154, 104, .3)); }
.heading { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); }
.heading::after { content: ""; flex: 1 1 0; height: 2px; min-width: 40px; background: linear-gradient(90deg, rgba(143, 220, 255, .85), rgba(143, 220, 255, 0)); box-shadow: 0 0 14px rgba(143, 220, 255, .55); }
.kicker { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.lead { color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 62ch; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.section { position: relative; padding-block: clamp(36px, 5vw, 60px); }
.glass { background: var(--glass); border: 1px solid var(--line-2); border-radius: 14px; backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -30px rgba(0, 0, 0, .9); min-width: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(9, 19, 44, .6); color: var(--text); backdrop-filter: blur(8px); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; white-space: nowrap; transition: border-color .15s, box-shadow .15s, background-color .15s, transform .15s, color .15s; }
.button:hover { border-color: var(--ice); color: #fff; box-shadow: 0 0 22px rgba(79, 179, 255, .3); }
.button:active { transform: translateY(1px); }
.button--primary, .button.on { border-color: #a8e6ff; color: #031230; background: var(--button); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 0 26px rgba(79, 179, 255, .45); }
.button--primary:hover, .button.on:hover { color: #031230; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 0 36px rgba(79, 179, 255, .7); }
.button--small { min-height: 38px; padding: 0 16px; font-size: .8rem; border-radius: 8px; }

.topbar { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); background: rgba(4, 9, 24, .86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: auto; height: 26px; filter: drop-shadow(0 0 8px rgba(79, 179, 255, .45)); }
.brand span { font-family: var(--display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ice); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--text-2); font-weight: 600; font-size: .95rem; padding: 10px 12px; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
.topbar .search { width: 240px; }

.search { position: relative; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 40px; background: rgba(9, 19, 44, .6); border: 1px solid var(--line-2); border-radius: 8px; outline: none; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(143, 220, 255, .18); }
.search > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #091630; border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .7), 0 0 40px rgba(79, 179, 255, .16); z-index: 40; text-align: left; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 8px; }
.suggest a:hover, .suggest a.on { background: rgba(143, 220, 255, .09); }
.suggest .meta { margin-left: auto; color: var(--text-3); font-size: .82rem; font-variant-numeric: tabular-nums; }
.suggest .none { padding: 10px; color: var(--text-2); font-size: .9rem; }

.hero { position: relative; z-index: 5; text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(28px, 4vw, 44px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 50% 30%, rgba(37, 94, 214, .2), rgba(37, 94, 214, 0) 70%); }
.hero .wrap { display: grid; justify-items: center; gap: 16px; }
.plate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; width: min(580px, 100%); margin-top: 14px; padding: 10px 10px 10px 8px; background: linear-gradient(rgba(16, 36, 80, .88), rgba(5, 12, 30, .92)); border: 1px solid rgba(143, 220, 255, .5); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 4px rgba(143, 220, 255, .06), 0 0 40px rgba(79, 179, 255, .3); transition: border-color .15s, box-shadow .15s; }
.plate:focus-within { border-color: var(--ice); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 4px rgba(143, 220, 255, .1), 0 0 56px rgba(79, 179, 255, .5); }
.plate input { height: 48px; padding-left: 44px; background: none; border: 0; font-size: 1.1rem; font-weight: 600; }
.plate input:focus { box-shadow: none; }
.plate > .ic { left: 22px; color: var(--ice); }
.plate button { padding: 14px 18px; border: 0; border-radius: 9px; background: var(--button); color: #031230; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75); }
.tryit { font-size: .9rem; color: var(--text-3); }
.tryit a { color: var(--ice); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tryit a:hover { color: var(--ice-hi); }

.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.card { padding: clamp(18px, 2vw, 24px); }
.chead { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.chead h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.chead h3 .ic { color: var(--ice); filter: drop-shadow(0 0 8px rgba(143, 220, 255, .6)); }
.chead p { margin-top: 4px; color: var(--text-3); font-size: .85rem; }
.legend { flex: none; white-space: nowrap; display: flex; gap: 14px; font-size: .82rem; font-weight: 600; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

.head { image-rendering: pixelated; background: rgba(143, 220, 255, .07); flex: none; display: block; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who .nm { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.who:hover .nm { color: var(--ice); }
.tier { display: inline-block; font-family: var(--display); font-size: .82rem; letter-spacing: .06em; line-height: 1; padding: 4px 7px 3px; border-radius: 6px; color: var(--c); text-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); flex: none; }
.tier.none { --c: var(--text-3); text-shadow: none; }
.tier.big { font-size: 1.5rem; padding: 8px 12px 6px; border-radius: 8px; }

.cat ol { list-style: none; padding: 0; }
.cat li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.cat li:first-child { border-top: 0; }
.cat .n { width: 18px; font-family: var(--display); color: var(--text-3); font-size: 1rem; }
.cat li:first-child .n { color: var(--gold); text-shadow: 0 0 12px rgba(255, 201, 74, .5); }
.cat .v { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.cat .button { width: 100%; margin-top: 12px; }
.cat .none { padding: 8px 0; color: var(--text-3); font-size: .9rem; }
.cat { display: flex; flex-direction: column; }
.cat ol { flex: 1; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.seg { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 16px 0 22px; }
.toolbar .search { width: 290px; }
.toolbar .note { color: var(--text-3); font-size: .9rem; }

.podium { display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: clamp(14px, 1.8vw, 22px); align-items: end; margin-bottom: clamp(14px, 1.8vw, 22px); }
.pod { position: relative; overflow: hidden; display: block; padding: 22px 20px 20px; text-align: center; border-color: color-mix(in srgb, var(--m) 40%, transparent); transition: border-color .25s, box-shadow .25s; }
.pod::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 160px at 50% 0, color-mix(in srgb, var(--m) 18%, transparent), transparent 72%); pointer-events: none; }
.pod:hover { border-color: color-mix(in srgb, var(--m) 85%, transparent); box-shadow: 0 0 50px color-mix(in srgb, var(--m) 22%, transparent), 0 30px 70px -30px rgba(0, 0, 0, .9); }
.pod > * { position: relative; z-index: 1; }
.pod .ghost { position: absolute; z-index: 0; right: 12px; top: -6px; font-family: var(--display); font-size: 8rem; line-height: 1; color: var(--m); opacity: .1; }
.pod .place { font-family: var(--display); font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }
.pod .head { margin: 0 auto 14px; outline: 2px solid color-mix(in srgb, var(--m) 80%, white); outline-offset: 3px; box-shadow: 0 0 26px color-mix(in srgb, var(--m) 45%, transparent); }
.pod .nm { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pod .big { font-family: var(--display); font-size: 2.4rem; line-height: 1.1; letter-spacing: .02em; margin-top: 8px; }
.pod .unit { color: var(--text-3); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pod .extra { display: flex; justify-content: center; gap: 22px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .8rem; }
.pod .extra b { display: block; color: var(--text); font-size: .95rem; font-variant-numeric: tabular-nums; }
.pod.p1 { padding-top: 30px; padding-bottom: 26px; }
.pod.p1 .big { font-size: 3.2rem; }
.pod.p1 .place { font-size: 2rem; }

.board { overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { color: var(--text-3); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-block: 14px; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr { cursor: pointer; transition: background .15s; }
tbody tr:hover { background: rgba(143, 220, 255, .06); }
/* takes what the other columns leave, so a long name is cut short and the table never grows past its card */
td.pl { width: 100%; max-width: 0; }
.num { text-align: right; }
td.sec { color: var(--text-2); }
.rank { font-family: var(--display); font-size: 1.15rem; color: var(--text-3); }
.rank.r1 { color: var(--gold); text-shadow: 0 0 14px rgba(255, 201, 74, .55); }
.rank.r2 { color: var(--ice-hi); text-shadow: 0 0 14px rgba(143, 220, 255, .55); }
.rank.r3 { color: var(--bronze); text-shadow: 0 0 14px rgba(227, 154, 104, .5); }
td.val { width: 220px; }
td.val b { display: block; text-align: right; font-weight: 700; }
.bar { display: block; height: 4px; border-radius: 2px; background: rgba(143, 220, 255, .1); margin-top: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #3592ff, #9fe0ff); }
.empty { padding: 34px; text-align: center; color: var(--text-2); }

.back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: .9rem; margin: 28px 0 16px; }
.back:hover { color: var(--ice); }
.phead { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; padding: clamp(20px, 2.6vw, 30px); }
.phead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 240px at 0 0, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%); pointer-events: none; }
.phead > * { position: relative; }
.phead .head { outline: 2px solid color-mix(in srgb, var(--c) 85%, white); outline-offset: 4px; box-shadow: 0 0 34px color-mix(in srgb, var(--c) 45%, transparent); }
.phead h1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: none; }
/* Anton draws an underscore under the box the gradient fills, names are full of them */
.phead h1 .chrome { padding-bottom: .2em; }
.phead .meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; color: var(--text-2); font-size: .9rem; font-weight: 500; }
.phead .meta span { display: inline-flex; align-items: center; gap: 6px; }
.phead .meta .ic { color: var(--text-3); }
.places { margin-left: auto; display: flex; gap: 10px; }
.place-box { background: rgba(4, 8, 20, .5); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 18px; text-align: center; min-width: 96px; }
.place-box b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.2; letter-spacing: .02em; }
.place-box span { color: var(--text-3); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.tile .lab { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: .9rem; font-weight: 600; }
.tile .lab .ic { color: var(--ice); }
.tile .val { font-family: var(--display); font-size: 2.3rem; line-height: 1.15; letter-spacing: .02em; margin-top: 8px; }
.tile .sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; color: var(--text-3); font-size: .8rem; min-height: 24px; }
.pos { display: inline-block; font-weight: 700; color: var(--ice-hi); background: rgba(143, 220, 255, .08); border: 1px solid var(--line); border-radius: 5px; padding: 0 7px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.pos.top { color: #2a1a00; background: var(--gold); border-color: var(--gold); }

.ladder .top { display: flex; align-items: center; gap: 14px; }
.ladder .rating { font-family: var(--display); font-size: 2.6rem; line-height: 1; letter-spacing: .02em; }
.ladder .rating small { display: block; font: 500 .8rem var(--font); letter-spacing: 0; color: var(--text-3); margin-top: 6px; }
.prog { margin: 18px 0 4px; }
.track { display: block; height: 8px; border-radius: 4px; background: rgba(143, 220, 255, .1); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #3592ff, #9fe0ff); }
.prog .track i { background: var(--c); box-shadow: 0 0 12px var(--c); }
.prog .ends { display: flex; justify-content: space-between; color: var(--text-3); font-size: .78rem; margin-top: 6px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.kv div { color: var(--text-3); font-size: .8rem; }
.kv b { display: block; color: var(--text); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.form { display: flex; gap: 4px; margin-top: 16px; }
.form i, .res { display: grid; place-items: center; border-radius: 5px; font: 800 .68rem var(--font); }
.form i { flex: 1; max-width: 22px; height: 22px; }
.res { display: inline-grid; width: 24px; height: 24px; font-size: .75rem; }
.w { background: rgba(91, 227, 125, .14); color: var(--online); }
.l { background: rgba(255, 95, 87, .14); color: var(--offline); }
.delta.w, .delta.l { background: none; }
.kind { display: block; color: var(--text-3); font-size: .78rem; font-weight: 500; }

.meter { display: grid; grid-template-columns: 110px 1fr 78px; align-items: center; gap: 12px; padding: 8px 0; font-size: .9rem; font-weight: 500; }
.meter .r { text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }
.meter .r b { color: var(--text); }
.rival { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.rival:first-of-type { border-top: 0; }
.rival .who { flex: 1 1 auto; }
.rival .wl { flex: none; white-space: nowrap; margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-2); font-size: .9rem; font-weight: 600; }
.rival .split { flex: none; width: 90px; height: 6px; border-radius: 3px; background: rgba(255, 95, 87, .55); overflow: hidden; }
.rival .split i { display: block; height: 100%; background: var(--online); border-right: 2px solid var(--solid); }

.chart { width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { font: 500 11.5px var(--font); fill: var(--text-3); font-variant-numeric: tabular-nums; }
.cal-legend { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 10px; color: var(--text-3); font-size: .78rem; }
.cal-legend i { width: 11px; height: 11px; border-radius: 3px; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: #050c1f; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 11px; font-size: .8rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .7), 0 0 24px rgba(79, 179, 255, .18); min-width: 120px; }
.tip b { display: block; margin-bottom: 3px; }
.tip div { display: flex; align-items: center; gap: 7px; color: var(--text-2); }
.tip div i { width: 8px; height: 8px; border-radius: 2px; }
.tip div span { margin-left: auto; padding-left: 14px; color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }

.footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 72px; color: var(--text-3); font-size: .85rem; background: rgba(3, 6, 16, .7); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .g3, .g21 { grid-template-columns: minmax(0, 1fr); }
  .phead { flex-wrap: wrap; }
  .places { margin-left: 0; width: 100%; }
  .place-box { flex: 1; }
}
@media (max-width: 720px) {
  .topbar { height: auto; flex-wrap: wrap; gap: 8px 14px; padding-block: 10px; }
  .topbar .search { width: 100%; order: 3; }
  .topbar .button { display: none; }
  .g2, .g4 { grid-template-columns: minmax(0, 1fr); }
  .podium { grid-template-columns: 1fr; }
  .pod.p1 { order: -1; }
  .sec { display: none; }
  td, th { padding-inline: 12px; }
  td.val { width: 120px; }
  .toolbar .search { width: 100%; }
  .plate button { display: none; }
  .meter { grid-template-columns: 84px 1fr 72px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
