/* Go Next · leaderboard site. One file, no framework. Pixel font for headings and numbers, Inter for reading. */

@font-face { font-family: "Silkscreen"; src: url("../fonts/silkscreen.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0a14;
  --bg-2: #100e1d;
  --panel: #15132a;
  --panel-2: #1c1937;
  --panel-3: #252146;
  --line: #2c2856;
  --text: #eeeaf8;
  --muted: #a39dc2;
  --faint: #6f6993;
  --accent: #ff8a2a;
  --accent-2: #b46cff;
  --green: #84ff6a;
  --gold: #ffd25a;
  --silver: #d3d9e8;
  --bronze: #e39b5b;
  --steam: #1b6fd1;
  --radius: 10px;
  --wrap: 1120px;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* An element marked hidden stays hidden whatever display its class gives it (buttons, panels). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: .02em; }
/* Silkscreen draws lower-case accents small ("DéMO"): every pixel-font label is set in capitals. */
.pixel, .btn, .topnav, .lang, .seg button, .tabs button, .detail h3 { text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 8px; border: 2px solid transparent; font-family: var(--pixel); font-size: 15px; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-steam { background: var(--accent); color: #1a0b00; box-shadow: 0 3px 0 #9c4a0b; }
.btn-steam:hover { background: #ffa04f; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-small { min-height: 34px; padding: 0 14px; font-size: 13px; box-shadow: 0 2px 0 #9c4a0b; }
/* Discord invite (user 11-22: "bien voyant"): Discord's own blurple + a slow glow, so it reads first after the buy button. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn-discord { min-height: 52px; padding: 0 18px 0 14px; gap: 12px; background: #5865f2; color: #fff; text-align: left;
  box-shadow: 0 3px 0 #3640b8; animation: dc-glow 2.4s ease-in-out infinite; }
.btn-discord:hover { background: #6d78ff; }
.btn-discord svg { flex: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }
.dc-txt { display: flex; flex-direction: column; line-height: 1.15; }
.dc-txt b { font-weight: 400; font-size: 15px; }
.dc-txt small { font-family: var(--sans); font-size: 12px; text-transform: none; opacity: .9; }
@keyframes dc-glow { 0%, 100% { box-shadow: 0 3px 0 #3640b8, 0 0 0 rgba(88,101,242,0); }
  50% { box-shadow: 0 3px 0 #3640b8, 0 0 22px rgba(88,101,242,.75); } }
.discord-mini { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px;
  border-radius: 7px; background: #5865f2; color: #fff !important; transition: background-color .15s ease; }
.discord-mini:hover { background: #6d78ff; }

/* ── Top bar ───────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px max(16px, calc((100vw - var(--wrap)) / 2)); background: rgba(11,10,20,.86);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(44,40,86,.6); }
.brand img { height: 34px; width: auto; }
.topnav { display: flex; align-items: center; gap: 18px; font-family: var(--pixel); font-size: 13px; }
.topnav a:not(.btn) { color: var(--muted); }
.topnav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.lang { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; cursor: pointer; font-family: var(--pixel); font-size: 12px; color: var(--muted); }
.lang:hover { color: var(--text); border-color: var(--accent-2); }

/* ── Hero ──────────────────────────────────────────────── */
/* A banner, not a full screen: the top of the board stays in view on arrival (user 11-22). */
.hero { position: relative; height: clamp(400px, 50vh, 480px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2;
  background: url("../img/art/hero.jpg") center 42% / cover no-repeat;
  background-image: image-set(url("../img/art/hero.webp") type("image/webp"), url("../img/art/hero.jpg") type("image/jpeg")); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,10,20,.35) 0%, rgba(11,10,20,.25) 35%, rgba(11,10,20,.78) 80%, var(--bg) 100%); }
.hero-body { width: min(var(--wrap), 100% - 32px); padding: 16px 0; text-align: center; }
.hero-logo { margin: 0 auto 10px; width: min(300px, 62%); filter: drop-shadow(0 6px 0 rgba(0,0,0,.55)); }
.hero-line { margin: 0 auto 16px; max-width: 560px; font-size: 16px; color: #f4f1ff; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 0 auto; }
.stats div { background: rgba(21,19,42,.82); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
.stats dt { font-size: 12px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-family: var(--pixel); font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }

/* ── Board ─────────────────────────────────────────────── */
.board { width: min(var(--wrap), 100% - 32px); margin: 20px auto 0; }
/* Weekly reset countdown, right above the board (user 11-22). */
.reset { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; padding: 10px 14px;
  background: linear-gradient(90deg, rgba(255,138,42,.14), rgba(21,19,42,.82) 60%); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius); }
.reset svg { flex: none; color: var(--accent); }
.reset-txt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.reset-label { font-family: var(--pixel); font-size: 13px; text-transform: uppercase; color: var(--muted); }
.reset-time { font-family: var(--pixel); font-weight: 400; font-size: 20px; color: var(--gold); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.reset-note { margin-left: auto; font-size: 13px; color: var(--faint); }
@media (max-width: 640px) { .reset-note { margin-left: 0; flex-basis: 100%; } .reset-time { font-size: 17px; } }
.board-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.board-head h2 { margin: 0; font-size: 30px; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 6px; cursor: pointer; font-family: var(--pixel); font-size: 13px; color: var(--muted); }
.seg button[aria-checked="true"] { background: var(--panel-3); color: var(--text); }

.filters { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.tabs button { border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px; padding: 10px 6px; cursor: pointer;
  font-family: var(--pixel); font-size: 14px; color: var(--muted); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--panel-3); border-color: var(--accent); color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.select select, .search input { width: 100%; height: 42px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; }
.select select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.select select:hover, .search input:hover { border-color: var(--panel-3); }
.search { position: relative; margin: 0; }
.search input { padding-right: 44px; }
.search input::placeholder { color: var(--faint); }
.search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.board-meta { margin: 10px 2px 0; font-size: 13px; color: var(--muted); min-height: 20px; }
.board-meta button { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0 0 0 6px; }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row.is-me { border-color: var(--green); }
.row-main { display: grid; grid-template-columns: 64px 92px minmax(0, 1fr) auto 28px; align-items: center; gap: 12px;
  padding: 10px 14px; cursor: pointer; }
.row-main:hover { background: var(--panel-2); }
.rank { font-family: var(--pixel); font-size: 20px; color: #7fa8ff; font-variant-numeric: tabular-nums; }
.row[data-podium="1"] { border-color: rgba(255,210,90,.55); background: linear-gradient(90deg, rgba(255,210,90,.10), var(--panel) 40%); }
.row[data-podium="2"] { border-color: rgba(211,217,232,.45); background: linear-gradient(90deg, rgba(211,217,232,.08), var(--panel) 40%); }
.row[data-podium="3"] { border-color: rgba(227,155,91,.5); background: linear-gradient(90deg, rgba(227,155,91,.09), var(--panel) 40%); }
.row[data-podium="1"] .rank { color: var(--gold); }
.row[data-podium="2"] .rank { color: var(--silver); }
.row[data-podium="3"] .rank { color: var(--bronze); }
.kills small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.kills b { font-family: var(--pixel); font-weight: 400; font-size: 19px; font-variant-numeric: tabular-nums; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.face { width: 44px; height: 44px; border-radius: 8px; background: var(--panel-3); object-fit: cover; flex: none; border: 1px solid var(--line); }
.who-txt { display: flex; flex-direction: column; min-width: 0; }
.name { font-weight: 650; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build { display: flex; gap: 4px; align-items: center; }
.tile { position: relative; width: 38px; height: 38px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center; flex: none; }
.tile img { width: 30px; height: 30px; object-fit: contain; }
.tile.w { background: #241a14; border-color: #4a3423; }
.tile .lv { position: absolute; right: -3px; bottom: -4px; font-family: var(--pixel); font-size: 10px; background: #0b0a14;
  border: 1px solid var(--line); border-radius: 4px; padding: 0 3px; line-height: 14px; color: var(--text); }
.tile.empty { opacity: .35; }
.tile.more { font-family: var(--pixel); font-size: 12px; color: var(--muted); }
.build .gap { width: 6px; }
.chev { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); }
.chev::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform .15s ease; }
.row-main[aria-expanded="true"] .chev::before { transform: rotate(225deg) translate(-2px,-2px); }

/* Detail */
.detail { border-top: 1px solid var(--line); padding: 16px; background: var(--bg-2); display: grid; gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail[hidden] { display: none; }
.detail h3 { margin: 0 0 10px; font-family: var(--pixel); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.fact span { color: var(--muted); margin-right: 6px; }
.wlist { display: grid; gap: 6px; }
.wline { display: flex; align-items: center; gap: 10px; }
.wline .tile { width: 34px; height: 34px; }
.wline .tile img { width: 26px; height: 26px; }
.wline b { font-weight: 600; font-size: 14px; }
.wline em { font-style: normal; color: var(--muted); font-size: 13px; margin-left: auto; font-family: var(--pixel); }
.dmg { display: grid; gap: 8px; }
.dline { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; }
.dline img { width: 26px; height: 26px; object-fit: contain; }
.bar { height: 8px; background: var(--panel-3); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ffc35a); }
.dline .val { font-family: var(--pixel); font-size: 12px; color: var(--muted); text-align: right; }
.items { grid-column: 1 / -1; }
.igrid { display: flex; flex-wrap: wrap; gap: 6px; }
.igrid .tile { width: 40px; height: 40px; }
.igrid .tile .lv { color: var(--gold); }
.empty-note { color: var(--faint); font-size: 13px; margin: 0; }

.board-foot { display: flex; justify-content: center; padding: 18px 0 8px; }
.state { text-align: center; padding: 40px 16px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }
.skeleton { height: 66px; border-radius: var(--radius); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Item tiers, from the game's own card colours */
.t-Common { border-color: #5d5d72 !important; }
.t-Uncommon { border-color: #3f9b48 !important; }
.t-Rare { border-color: #3a7fd0 !important; }
.t-Legendary { border-color: #d98b1f !important; }
.t-Cosmic { border-color: #9ecbff !important; box-shadow: 0 0 8px rgba(158,203,255,.35); }
.t-Galaxy { border-color: #ff7ad9 !important; box-shadow: 0 0 8px rgba(255,122,217,.35); }
.t-Extreme { border-color: #ff8024 !important; box-shadow: 0 0 8px rgba(255,128,36,.4); }
.t-Divine { border-color: #ffeba0 !important; box-shadow: 0 0 8px rgba(255,235,160,.4); }
.t-Darkness { border-color: #c75cff !important; box-shadow: 0 0 8px rgba(199,92,255,.45); }
.t-God { border-color: #ffd76b !important; box-shadow: 0 0 10px rgba(255,215,107,.5); }

/* ── FAQ / footer ──────────────────────────────────────── */
.faq { width: min(780px, 100% - 32px); margin: 64px auto 0; }
.faq h2 { font-size: 26px; margin: 0 0 14px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--pixel); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 16px 16px; color: var(--muted); }
.footer { text-align: center; padding: 56px 16px 40px; color: var(--faint); font-size: 13px; }
.footer p { margin: 4px 0; }
.footer .small { font-size: 12px; }

/* ── Narrow screens ────────────────────────────────────── */
@media (max-width: 900px) {
  .row-main { grid-template-columns: 44px 76px minmax(0, 1fr) 24px; }
  .build { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; padding-left: 0; }
  .build .gap { display: none; }
}
@media (max-width: 640px) {
  .topnav a:not(.btn) { display: none; }
  .topnav a.discord-mini { display: inline-flex; }
  .brand img { height: 28px; }
  .hero { height: auto; min-height: 380px; }
  .hero-line { font-size: 16px; }
  .stats { gap: 6px; }
  .stats dd { font-size: 17px; }
  .stats dt { font-size: 11px; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; }
  .tabs button { font-size: 12px; padding: 9px 2px; }
  .row-main { grid-template-columns: 38px 64px minmax(0, 1fr) 20px; gap: 8px; padding: 10px; }
  .rank { font-size: 15px; }
  .kills b { font-size: 15px; }
  .face { width: 36px; height: 36px; }
  .name { font-size: 14.5px; }
  .tile { width: 32px; height: 32px; }
  .tile img { width: 24px; height: 24px; }
  .detail { grid-template-columns: 1fr; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skeleton { animation: none; }
  .btn, .chev::before { transition: none; }
  .btn-discord { animation: none; }
}

/* ── Steam sign-in, My runs, videos ────────────────────── */
.auth { display: inline-flex; align-items: center; gap: 8px; }
.auth .btn-small { box-shadow: none; }
.auth .me { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vid { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 6px; border-radius: 4px;
  background: #c4302b; color: #fff; font-family: var(--pixel); font-size: 10px; vertical-align: 2px; text-transform: uppercase; }
.vid::before { content: ""; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.watch { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid #5a2422;
  border-radius: 8px; padding: 10px 12px; color: var(--text); }
.watch:hover { border-color: #c4302b; text-decoration: none; }
.watch .play { width: 34px; height: 24px; border-radius: 6px; background: #c4302b; display: grid; place-items: center; flex: none; }
.watch .play::before { content: ""; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.watch b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch small { display: block; color: var(--muted); font-size: 12px; }

.dlg { width: min(640px, calc(100% - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-2); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.dlg::backdrop { background: rgba(5,4,10,.72); backdrop-filter: blur(3px); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.dlg-head h2 { margin: 0; font-size: 22px; }
.dlg-x { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; cursor: pointer; color: var(--muted); }
.dlg-x:hover { color: var(--text); border-color: var(--accent-2); }
.dlg-who { margin: 0 18px; color: var(--muted); font-size: 13px; }
.dlg-help { margin: 8px 18px 14px; font-size: 14px; }
.my-list { display: grid; gap: 10px; padding: 0 18px; }
.my-run { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 10px; }
.my-run-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.my-run-head b { font-family: var(--pixel); font-weight: 400; font-size: 13px; text-transform: uppercase; }
.my-run-head span { color: var(--muted); font-size: 13px; }
.my-field { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
.my-field input { height: 38px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; min-width: 0; }
.my-field input::placeholder { color: var(--faint); }
.my-field .btn { min-height: 38px; }
.my-msg { font-size: 13px; margin: 0; min-height: 0; }
.my-msg.err { color: #ff8a80; }
.my-msg.ok { color: var(--green); }
.my-empty { color: var(--muted); font-size: 14px; padding: 8px 0 4px; margin: 0; }
.dlg-foot { display: flex; justify-content: flex-end; padding: 14px 18px 16px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--panel-3); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 16px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100% - 32px); }
@media (max-width: 640px) {
  .auth .me { display: none; }
  .my-field { grid-template-columns: 1fr 1fr; }
  .my-field input { grid-column: 1 / -1; }
}

/* ── Embedded run video ────────────────────────────────── */
.player-wrap { grid-column: 1 / -1; width: 100%; max-width: 880px; justify-self: center; }
.player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 10px; overflow: hidden; background: #000;
  border: 1px solid var(--line); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-face { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #07060d;
  display: grid; place-items: center; }
.player-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s ease; }
.player-face:hover .player-thumb { opacity: 1; }
.player-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 35%, transparent 70%, rgba(0,0,0,.35) 100%); }
.player-btn { position: relative; z-index: 1; width: 76px; height: 54px; border-radius: 14px; background: #c4302b;
  box-shadow: 0 6px 20px rgba(0,0,0,.5); transition: transform .12s ease, background-color .12s ease; }
.player-btn::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.player-face:hover .player-btn { transform: scale(1.06); background: #e33b35; }
.player-title { position: absolute; z-index: 1; left: 14px; right: 14px; top: 12px; text-align: left; color: #fff; font-weight: 600;
  font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 12px; color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .player-btn, .player-thumb { transition: none; } }

/* ── Weapons + damage, one list over both columns ──────── */
.weapons { grid-column: 1 / -1; }
.weapons .dmg { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 12px; }
.weapons .dline { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; }
.weapons .dline .tile { width: 34px; height: 34px; }
.weapons .dline .tile img { width: 26px; height: 26px; }
.dmid { min-width: 0; }
.dhead { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.dhead b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dhead .rk { font-family: var(--pixel); font-size: 11px; color: var(--faint); flex: none; min-width: 18px; }
.dhead em {font-style: normal; font-family: var(--pixel); font-size: 11px; color: var(--muted); text-transform: uppercase; flex: none; }
@media (max-width: 760px) { .weapons .dmg { grid-template-columns: 1fr; } }
