/* =====================================================================
   ARMA-GEDON – wspólny styl całej strony (strona główna, ranking, sklep)
   Kolory: stal + kość + ogień. Fonty z własnego serwera.
   ===================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/BigShouldersDisplay.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("fonts/SofiaSans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AG Icons";
  src: url("fonts/ag-icons.woff2?v=17") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  /* stal – tła */
  --stal-950: #131b23;
  --stal-900: #18222c;
  --stal-850: #1d2935;
  --stal-800: #233241;
  --stal-700: #2c3f51;
  --stal-600: #3a5166;
  --stal-500: #4f6a82;
  /* mgła – tekst drugiego planu */
  --mgla-400: #8ea3b4;
  --mgla-300: #b6c5d0;
  /* kość – tekst główny (kolor czaszki z logo) */
  --kosc: #f4f0e8;
  /* ogień – akcent i przyciski */
  --ogien: #ff6a2b;
  --ogien-jasny: #ff8f5a;
  --ogien-ciemny: #d94f17;
  /* stany */
  --ok: #4cc68d;
  --blad: #f26464;
  --uwaga: #f2b544;
  /* frakcje (gdy panel nie poda własnych) */
  --valkyra: #d9483b;
  --lonestar: #3d8bd9;
  --manticore: #3fae6a;

  /* znaczenia – nadpisywane w jasnych sekcjach */
  --bg: var(--stal-850);
  --panel: var(--stal-800);
  --panel-2: var(--stal-700);
  --line: rgba(182, 197, 208, 0.16);
  --line-2: rgba(182, 197, 208, 0.3);
  --text: var(--kosc);
  --text-2: var(--mgla-300);
  --text-3: var(--mgla-400);
  --accent: var(--ogien);
  --accent-text: var(--ogien-jasny);
  --on-accent: #1d1206;

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Sofia Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-panel: 14px;
  --r-ctl: 8px;
  --wrap: 1240px;
  --nav-h: 72px;
  --shadow: 0 18px 40px -18px rgba(8, 14, 20, 0.7);
}

.light {
  --bg: #eef1f2;
  --panel: #ffffff;
  --panel-2: #f5f7f8;
  --line: rgba(24, 34, 44, 0.12);
  --line-2: rgba(24, 34, 44, 0.24);
  --text: #17212b;
  --text-2: #445667;
  --text-3: #66798a;
  --accent-text: #c2410c;
  --shadow: 0 18px 36px -20px rgba(24, 34, 44, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--stal-850);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--ogien); color: var(--on-accent); }

:focus-visible { outline: 3px solid var(--ogien-jasny); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

@font-face {
  font-family: "AG Icons Bold";
  src: url("fonts/ag-icons-bold.woff2?v=17") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/* ---------- ikony (wycinek Phosphor Icons, licencja MIT) ---------- */
.ic {
  font-family: "AG Icons" !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  flex: none;
}

/* ---------- typografia ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 0.94;
  letter-spacing: 0.01em;
}
.h2-s { font-size: clamp(32px, 4vw, 52px); }
.h3 { font: 700 22px/1.25 var(--body); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 60ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--r-ctl);
  font: 800 20px/1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn .ic { font-size: 1.15em; }
.btn:active { transform: translateY(1px); }
.btn-fire { background: var(--ogien); color: var(--on-accent); }
.btn-fire:hover { background: var(--ogien-jasny); }
.btn-line { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--text); }
.btn-glass { background: rgba(19, 27, 35, 0.55); border-color: rgba(244, 240, 232, 0.35); color: var(--kosc); backdrop-filter: blur(6px); }
.btn-glass:hover { border-color: var(--kosc); background: rgba(19, 27, 35, 0.75); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-off { opacity: 0.5; pointer-events: none; }

.textlink { color: var(--accent-text); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.textlink:hover { border-bottom-color: currentColor; }

/* ---------- nawigacja ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.25s, box-shadow 0.25s;
  background: linear-gradient(180deg, rgba(13, 19, 25, 0.72), rgba(13, 19, 25, 0));
}
.nav.is-solid, .nav.always-solid {
  background: rgba(24, 34, 44, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--kosc); margin-right: auto; }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); }
.brand b { font: 900 30px/1 var(--display); letter-spacing: 0.03em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--r-ctl);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--kosc);
  opacity: 0.86;
}
.nav-links a:hover { opacity: 1; background: rgba(244, 240, 232, 0.1); }
.nav-links a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -3px 0 var(--ogien); border-radius: 0; }
.nav-cta { display: flex; gap: 10px; }
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--r-ctl);
  background: rgba(244, 240, 232, 0.1);
  color: var(--kosc);
  font-size: 26px;
  align-items: center;
  justify-content: center;
}
.sheet {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 49;
  background: var(--stal-900);
  padding: 20px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow: auto;
}
.sheet.is-open { display: flex; }
.sheet a:not(.btn) {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font: 800 30px/1 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sheet .btn { margin-top: 20px; }

/* ---------- sekcje ---------- */
.band { background: var(--bg); color: var(--text); padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.band-tight { padding: clamp(48px, 6vw, 80px) 0; }
.band-deep { --bg: var(--stal-900); }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.band-head .lead { margin-top: 14px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); }

/* ---------- pigułki / statusy ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(182, 197, 208, 0.14);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.pill.ok { background: rgba(76, 198, 141, 0.16); color: #7fe0b1; }
.pill.off { background: rgba(242, 100, 100, 0.16); color: #ff9c9c; }
.pill.warn { background: rgba(242, 181, 68, 0.18); color: #f7cd7c; }
.light .pill.ok { color: #12784a; background: rgba(40, 160, 105, 0.16); }
.light .pill.off { color: #b42323; background: rgba(210, 60, 60, 0.12); }
.light .pill.warn { color: #8a5a00; background: rgba(230, 160, 30, 0.2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.dot.live { box-shadow: 0 0 0 0 currentColor; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(76, 198, 141, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(76, 198, 141, 0); } }

/* ---------- HERO (strona główna) ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--stal-900);
}
/* Tło zapasowe, gdy żadna grafika się nie wczyta: jasne niebo o świcie i dwa pasma wzgórz */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(90% 60% at 68% 60%, rgba(255, 196, 140, 0.75), rgba(255, 196, 140, 0) 62%),
    linear-gradient(180deg, #46627a 0%, #7d95a6 40%, #d6c3a6 64%, #8497a2 100%);
}
.hero-art::before, .hero-art::after { content: ""; position: absolute; inset: 0; }
.hero-art::before { background: #51697b; clip-path: polygon(0 66%, 12% 60%, 24% 64%, 38% 56%, 52% 63%, 66% 57%, 80% 62%, 100% 55%, 100% 100%, 0 100%); }
.hero-art::after { background: #2f4354; clip-path: polygon(0 78%, 10% 72%, 22% 76%, 36% 70%, 50% 77%, 64% 71%, 82% 78%, 100% 70%, 100% 100%, 0 100%); }
.hero-art img {
  z-index: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform-origin: 60% 50%;
}
.hero-art img.is-on { opacity: 1; animation: drift 26s linear forwards; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.16) translate3d(-1.2%, -0.8%, 0); } }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(19, 27, 35, 0.5) 0%, rgba(19, 27, 35, 0) 20%, rgba(19, 27, 35, 0) 52%, rgba(24, 34, 44, 0.5) 100%),
    linear-gradient(90deg, rgba(19, 27, 35, 0.55) 0%, rgba(19, 27, 35, 0.22) 44%, rgba(19, 27, 35, 0) 70%);
}
.hero-fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-body { padding: calc(var(--nav-h) + 40px) 0 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero h1 {
  font-size: clamp(64px, 12.4vw, 184px);
  text-shadow: 0 6px 30px rgba(10, 16, 22, 0.55);
  margin-left: -0.03em;
}
.hero h1 span { display: block; }
.hero .lead { margin-top: 22px; color: var(--kosc); opacity: 0.94; text-shadow: 0 2px 12px rgba(10, 16, 22, 0.7); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-seal { width: clamp(180px, 22vw, 320px); margin-bottom: 6px; filter: drop-shadow(0 24px 40px rgba(6, 10, 14, 0.7)); transition: transform 0.2s; }
.hero-seal.is-hit { animation: hit 0.45s ease-out; }
@keyframes hit { 0% { transform: scale(1); } 18% { transform: scale(0.955) rotate(-1.4deg); } 100% { transform: scale(1); } }
.hero-now {
  position: absolute;
  top: calc(var(--nav-h) + 18px);
  right: max(24px, calc((100% - var(--wrap)) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(19, 27, 35, 0.6);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
  color: var(--kosc);
  max-width: calc(100% - 48px);
}
.hero-now .dot { color: var(--ok); }
.hero-now span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero-strip { border-top: 1px solid rgba(244, 240, 232, 0.16); background: rgba(24, 34, 44, 0.72); backdrop-filter: blur(10px); }
.hero-strip .wrap { display: flex; align-items: stretch; gap: 0; min-height: 76px; }
.stat { display: flex; flex-direction: column; justify-content: center; padding: 12px 28px 12px 0; margin-right: 28px; border-right: 1px solid rgba(244, 240, 232, 0.14); white-space: nowrap; }
.stat b { font: 800 34px/1 var(--display); letter-spacing: 0.02em; }
.stat span { font-size: 14px; color: var(--mgla-300); margin-top: 2px; }
.ticker { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 40px; white-space: nowrap; will-change: transform; animation: ticker var(--ticker-s, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.kill { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.kill b { font-weight: 700; }
.kill .ic { color: var(--mgla-400); font-size: 16px; }
.kill em { font-style: normal; color: var(--mgla-300); }
.kill .hs { color: var(--ogien-jasny); font-weight: 700; }
.ticker-empty { color: var(--mgla-300); font-size: 15px; }

/* ---------- SERWERY ---------- */
.servers { display: grid; gap: 20px; }
.srv {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) minmax(240px, 300px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.srv-art { position: relative; min-height: 230px; background: var(--stal-700); overflow: hidden; }
.srv-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.srv:hover .srv-art img { transform: scale(1.05); }
.srv-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 27, 35, 0) 40%, rgba(19, 27, 35, 0.82)); }
.srv-art.is-off img { filter: grayscale(1) brightness(0.6); }
.srv-map { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; }
.srv-map b { display: block; font: 800 34px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.srv-map span { font-size: 14px; color: var(--mgla-300); }
.srv-main { padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.srv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.srv-name { font: 800 30px/1.02 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.srv-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--text-2); }
.srv-meta b { color: var(--text); font-weight: 700; }
.meter { height: 8px; border-radius: 99px; background: rgba(182, 197, 208, 0.16); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--kosc); transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.players-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; font-size: 15px; color: var(--text-2); }
.players-row b { font: 800 30px/1 var(--display); color: var(--text); letter-spacing: 0.02em; }
.scores { display: grid; gap: 9px; }
.score { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.score .meter i { background: var(--c, var(--mgla-400)); }
.score .v { text-align: right; font-variant-numeric: tabular-nums; }
.score.lead-f .name::after { content: " ▲"; color: var(--c); font-size: 11px; }
.srv-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--text-2); margin-top: auto; }
.srv-id code { font: 700 15px/1 var(--body); letter-spacing: 0.04em; padding: 9px 12px; border-radius: 6px; background: rgba(19, 27, 35, 0.5); color: var(--kosc); user-select: all; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; font-size: 14px; font-weight: 700; }
.copy:hover { border-color: var(--text); }
.copy.is-done { color: var(--ok); border-color: var(--ok); }
.srv-side { padding: 22px 24px; background: rgba(19, 27, 35, 0.28); border-left: 1px solid var(--line); min-width: 0; }
.srv-side h4 { font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 10px; }
.board-mini li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.board-mini li:last-child { border-bottom: 0; }
.board-mini .pos { color: var(--text-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.board-mini .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; display: flex; align-items: center; gap: 8px; min-width: 0; }
.board-mini .who a { overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.board-mini .who a:hover { text-decoration: underline; }
.board-mini .who i { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--mgla-400)); flex: none; }
.board-mini .kd { font-variant-numeric: tabular-nums; color: var(--text-2); }
.board-mini .kd b { color: var(--text); }
.srv-empty { font-size: 15px; color: var(--text-2); }

/* ---------- NAJLEPSI TYGODNIA (jasna sekcja) ---------- */
.week { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.week .h2 { margin-bottom: 18px; }
.week .btn { margin-top: 28px; }
.top5 { display: grid; gap: 4px; }
.top5 li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 20px 14px 8px; border-radius: 12px; }
.top5 li:first-child { background: var(--stal-850); color: var(--kosc); --text-2: var(--mgla-300); --line: rgba(182, 197, 208, 0.2); padding-block: 20px; }
.top5 .pos { font: 900 52px/0.9 var(--display); text-align: center; color: var(--text-3); }
.top5 li:first-child .pos { color: var(--ogien); font-size: 72px; }
.top5 .who { min-width: 0; }
.top5 .who a { display: block; font-weight: 800; font-size: 19px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top5 .who a:hover { text-decoration: underline; }
.top5 .bar { height: 6px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.top5 .bar i { display: block; height: 100%; background: var(--ogien); border-radius: 99px; width: 0; transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.top5 .val { text-align: right; white-space: nowrap; }
.top5 .val b { display: block; font: 800 30px/1 var(--display); letter-spacing: 0.02em; }
.top5 .val span { font-size: 14px; color: var(--text-2); }

/* ---------- SPOŁECZNOŚĆ ---------- */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.perk { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; }
.perk .ic { grid-row: span 2; font-size: 32px; color: var(--accent-text); margin-top: 2px; }
.perk p { color: var(--text-2); font-size: 16px; }

/* ---------- TWÓRCY ---------- */
.creators { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.creator { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.creator:hover { border-color: var(--line-2); transform: translateY(-2px); }
.creator img, .creator .av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--stal-600); flex: none; }
.creator .av { display: grid; place-items: center; font: 800 30px/1 var(--display); text-transform: uppercase; color: var(--kosc); }
.creator .who { min-width: 0; flex: 1; }
.creator b { display: block; font-size: 19px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator .what { display: block; font-size: 14px; line-height: 1.35; color: var(--text-2); margin-top: 2px; }
.creator.is-live { border-color: var(--ogien); }
.creator.is-live img, .creator.is-live .av { box-shadow: 0 0 0 3px var(--ogien); }
.creator.is-live .what { color: var(--ogien-jasny); font-weight: 700; }
.note-card { margin-top: 16px; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-panel); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.note-card p { color: var(--text-2); max-width: 62ch; }
.note-card b { color: var(--text); }

/* ---------- KLIPY ---------- */
.clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.clip { border-radius: var(--r-panel); overflow: hidden; background: var(--stal-900); border: 1px solid var(--line); }
.clip-frame { position: relative; padding-top: 177.77%; }
.clip-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-frame .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--text-3); font-size: 15px; }
.clip-frame .ph .ic { font-size: 40px; display: block; margin: 0 auto 10px; }
.clip-cap { padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; gap: 8px; }

/* ---------- PAS Z WEZWANIEM ---------- */
.callout { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; text-align: center; background: var(--stal-900); }
.callout img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.callout::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 34, 44, 0.55) 0%, rgba(24, 34, 44, 0.3) 45%, rgba(24, 34, 44, 0.6) 100%); }
.callout .h2, .callout .lead { text-shadow: 0 4px 24px rgba(10, 16, 22, 0.7); }
.callout .h2 { font-size: clamp(48px, 8vw, 112px); }
.callout .lead { margin: 18px auto 30px; color: var(--kosc); }

/* ---------- STOPKA ---------- */
.foot { background: var(--stal-950); padding: 56px 0 28px; font-size: 15px; color: var(--mgla-300); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-brand { display: flex; gap: 18px; align-items: center; }
.foot-brand img { width: 84px; height: 84px; }
.foot-brand b { display: block; font: 900 34px/1 var(--display); color: var(--kosc); letter-spacing: 0.03em; }
.foot h4 { font-size: 15px; font-weight: 800; color: var(--kosc); margin-bottom: 12px; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--kosc); text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px; color: var(--kosc); }
.socials a:hover { background: var(--kosc); color: var(--stal-900); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: var(--mgla-400); }
.foot-bottom a { color: var(--mgla-400); }

/* ---------- NAGŁÓWEK PODSTRON ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(36px, 5vw, 72px)) 0 clamp(28px, 4vw, 48px); background: radial-gradient(90% 90% at 70% 40%, rgba(255, 196, 140, 0.5), rgba(255, 196, 140, 0) 60%), linear-gradient(180deg, #46627a, #7d95a6); }
.page-head img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; opacity: 0; transition: opacity 1.2s; }
.page-head img.bg.is-on { opacity: 1; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 27, 35, 0.45) 0%, rgba(19, 27, 35, 0.05) 30%, rgba(24, 34, 44, 0.3) 70%, var(--stal-850) 100%), linear-gradient(90deg, rgba(19, 27, 35, 0.5), rgba(19, 27, 35, 0) 65%); }
.page-head h1 { font-size: clamp(64px, 10vw, 132px); text-shadow: 0 6px 30px rgba(10, 16, 22, 0.6); }
.page-head .lead { margin-top: 12px; color: var(--kosc); text-shadow: 0 2px 12px rgba(10, 16, 22, 0.8); }

/* ---------- KONTROLKI ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: rgba(19, 27, 35, 0.5); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; height: 38px; padding: 0 14px; border-radius: 7px; font-weight: 700; font-size: 15px; color: var(--text-2); white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--kosc); color: var(--stal-900); }
.ctl { display: flex; flex-direction: column; gap: 6px; }
.ctl > span, .label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.field {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line-2);
  background: rgba(19, 27, 35, 0.5);
  color: var(--text);
  font: 500 17px/1 var(--body);
}
.field::placeholder { color: var(--text-3); }
.field:focus { outline: 0; border-color: var(--ogien); box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.25); }
.light .field { background: #fff; }
.search { position: relative; }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--text-3); pointer-events: none; }
.search .field { padding-left: 46px; }
.hint { font-size: 14px; color: var(--text-2); }
.alert { padding: 14px 16px; border-radius: var(--r-ctl); font-size: 15px; font-weight: 500; background: rgba(242, 100, 100, 0.14); color: #ffb1b1; border: 1px solid rgba(242, 100, 100, 0.4); }
.light .alert { color: #9a1c1c; background: rgba(210, 60, 60, 0.08); }
.alert.info { background: rgba(182, 197, 208, 0.12); border-color: var(--line-2); color: var(--text-2); }

/* ---------- OKNA ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 15, 20, 0.78); backdrop-filter: blur(4px); overflow: auto; }
.modal.is-open { display: flex; }
.modal-box { width: min(480px, 100%); background: var(--stal-800); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 40px 80px -30px #000; animation: pop 0.2s ease-out; margin: auto; }
@keyframes pop { from { transform: translateY(10px) scale(0.98); opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font: 800 28px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.x { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; font-size: 22px; color: var(--text-2); display: grid; place-items: center; }
.x:hover { background: rgba(182, 197, 208, 0.14); color: var(--text); }
.modal-body { padding: 22px; display: grid; gap: 16px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(182, 197, 208, 0.2); border-top-color: var(--ogien); animation: spin 0.8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 90; padding: 12px 18px; border-radius: 10px; background: var(--kosc); color: var(--stal-900); font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 20px 40px -16px #000; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.skeleton { border-radius: 8px; background: linear-gradient(90deg, rgba(182, 197, 208, 0.1), rgba(182, 197, 208, 0.2), rgba(182, 197, 208, 0.1)); background-size: 200% 100%; animation: sk 1.4s linear infinite; min-height: 18px; }
@keyframes sk { to { background-position: -200% 0; } }

/* =====================================================================
   RANKING
   ===================================================================== */
.rank-bar { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(29, 41, 53, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.rank-bar .wrap { display: flex; align-items: end; gap: 16px 24px; flex-wrap: wrap; }
.rank-bar .search { flex: 1; min-width: 240px; }
.rank-bar .field { height: 46px; }

.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 12px; }
.leader { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; color: var(--text); padding: 18px 18px 16px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); text-align: left; min-width: 0; transition: border-color 0.15s, transform 0.15s; }
.leader:hover { border-color: var(--ogien); transform: translateY(-2px); }
.leader .ic { font-size: 22px; color: var(--ogien-jasny); }
.leader .cat { display: block; max-width: 100%; font-size: 14px; font-weight: 700; color: var(--text-2); margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader .val { display: block; align-self: stretch; max-width: 100%; font: 800 36px/1 var(--display); letter-spacing: 0.02em; margin: 2px 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.leader .val small { font: 700 0.44em/1 var(--body); letter-spacing: 0; margin-left: 6px; color: var(--text-2); }
.leader .who { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; max-width: 100%; font-weight: 800; font-size: 16px; line-height: 1.25; overflow: hidden; overflow-wrap: anywhere; }
.leader .rest { display: block; max-width: 100%; font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: auto; padding-top: 4px; }

.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; margin-bottom: 28px; }
.pod { position: relative; border-radius: var(--r-panel); background: var(--stal-850); color: var(--kosc); padding: 22px 22px 20px; text-align: left; border: 0; overflow: hidden; min-width: 0; --text-2: var(--mgla-300); transition: transform 0.15s; }
.pod:hover { transform: translateY(-3px); }
.pod .place { position: absolute; right: 10px; top: -18px; font: 900 150px/1 var(--display); color: rgba(244, 240, 232, 0.08); pointer-events: none; }
.pod.p1 { background: var(--ogien); color: var(--on-accent); padding-block: 32px 26px; --text-2: rgba(29, 18, 6, 0.74); }
.pod.p1 .place { color: rgba(29, 18, 6, 0.14); font-size: 190px; }
.pod .medal { font-size: 14px; font-weight: 800; }
.pod .name { display: block; font-weight: 800; font-size: 22px; margin: 6px 0 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; }
.pod.p1 .name { font-size: 26px; }
.pod .big { display: block; max-width: 100%; font: 900 64px/0.9 var(--display); letter-spacing: 0.02em; white-space: nowrap; position: relative; }
.pod .big small { font: 800 0.34em/1 var(--body); letter-spacing: 0; margin-left: 8px; color: var(--text-2); }
.pod.p1 .big { font-size: 84px; }
.pod .of { font-size: 14px; font-weight: 700; color: var(--text-2); }
.pod .line { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--text-2); position: relative; }
.pod .line b { color: inherit; font-weight: 800; }

.tablewrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); }
.tablescroll { overflow-x: auto; }
table.rank { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 1040px; }
.rank th, .rank td { padding: 13px 11px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rank th:nth-child(2), .rank td:nth-child(2) { text-align: left; width: 99%; min-width: 190px; max-width: 360px; }
.rank th:first-child, .rank td:first-child { text-align: center; width: 64px; padding-left: 18px; }
.rank thead th { position: sticky; top: 0; background: var(--panel-2); font-size: 14px; font-weight: 800; color: var(--text-2); padding-block: 12px; }
.rank th button { border: 0; background: none; font: inherit; color: inherit; padding: 4px 6px; margin: -4px -6px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.rank th button:hover { color: var(--text); background: var(--line); }
.rank th[aria-sort] button { color: var(--accent-text); }
.rank th[aria-sort] button::after { content: "↓"; font-size: 13px; }
.rank th[aria-sort="ascending"] button::after { content: "↑"; }
.rank tbody tr { cursor: pointer; transition: background-color 0.1s; }
.rank tbody tr:hover { background: var(--panel-2); }
.rank tbody tr:last-child td { border-bottom: 0; }
.rank tbody tr.is-me { background: rgba(255, 106, 43, 0.12); box-shadow: inset 4px 0 0 var(--ogien); }
.rank td.pos { font: 800 22px/1 var(--display); color: var(--text-3); }
.rank td.who { font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.rank td.who small { display: block; font-weight: 500; font-size: 13px; color: var(--text-3); }
.rank td.sorted { font-weight: 800; color: var(--text); }
.rank td { color: var(--text-2); }
.rank td.who { color: var(--text); }
.rank .pinbtn { border: 0; background: none; color: var(--text-3); font-size: 17px; padding: 6px; border-radius: 6px; }
.rank .pinbtn:hover, .rank .pinbtn[aria-pressed="true"] { color: var(--accent-text); background: var(--line); }
.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); border-top: 1px solid var(--line); }
.pager { display: flex; align-items: center; gap: 6px; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; font-weight: 800; display: grid; place-items: center; padding: 0 10px; }
.pager button:hover:not([disabled]) { border-color: var(--text); }
.pager button[disabled] { opacity: 0.35; cursor: default; }
.pager .now { font-weight: 800; color: var(--text); padding: 0 8px; }
.state { padding: 56px 24px; text-align: center; color: var(--text-2); }
.state .ic { font-size: 40px; color: var(--text-3); display: block; margin-bottom: 12px; }
.state b { display: block; color: var(--text); font-size: 19px; margin-bottom: 4px; }

.finds { display: grid; gap: 6px; margin-top: 14px; }
.finds button { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.finds button:hover { border-color: var(--ogien); }
.finds .pos { font: 800 24px/1 var(--display); color: var(--accent-text); }
.finds .nm { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finds .kd { font-size: 14px; color: var(--text-2); white-space: nowrap; }

/* szuflada gracza */
.drawer { position: fixed; inset: 0; z-index: 70; display: none; }
.drawer.is-open { display: block; }
.drawer-shade { position: absolute; inset: 0; background: rgba(10, 15, 20, 0.6); backdrop-filter: blur(3px); }
.drawer-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--stal-850); border-left: 1px solid var(--line-2); overflow-y: auto; animation: slide 0.22s ease-out; box-shadow: -30px 0 60px -30px #000; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 22px 24px 18px; background: var(--stal-850); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 800 22px/1.2 var(--body); overflow-wrap: anywhere; }
.drawer-head .rankline { font-size: 15px; color: var(--text-2); margin-top: 4px; }
.drawer-head .rankline b { color: var(--ogien-jasny); }
.drawer-body { padding: 22px 24px 40px; display: grid; gap: 26px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--stal-800); border: 1px solid var(--line); }
.kpi b { display: block; font: 800 30px/1.05 var(--display); letter-spacing: 0.02em; white-space: nowrap; }
.kpi b small { font: 700 0.5em/1 var(--body); letter-spacing: 0; margin-left: 5px; color: var(--text-2); }
.kpi span { font-size: 13px; color: var(--text-2); }
.sub-h { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sub-h span { font-weight: 500; color: var(--text-2); font-size: 14px; }
.wld { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--stal-700); }
.wld i { display: block; height: 100%; }
.wld .w { background: var(--ok); }
.wld .d { background: var(--mgla-400); }
.wld .l { background: var(--blad); }
.wld-legend { display: flex; gap: 18px; font-size: 14px; color: var(--text-2); margin-top: 8px; flex-wrap: wrap; }
.wld-legend b { color: var(--text); }
.bars { display: grid; gap: 10px; }
.barrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; }
.barrow .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barrow .meter i { background: var(--c, var(--kosc)); }
.barrow .v { font-size: 14px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.matches { display: grid; gap: 6px; }
.match { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--stal-800); font-size: 15px; }
.match .res { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--stal-600); }
.match .res.win { background: var(--ok); color: #06301c; padding: 0; text-align: center; overflow: visible; }
.match .res.loss { background: var(--blad); color: #3a0808; }
.match .info { min-width: 0; }
.match .info b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match .info span { font-size: 13px; color: var(--text-2); }
.match .kd { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.drawer-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* porównanie */
.duel { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; width: min(720px, calc(100% - 24px)); background: var(--stal-950); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -20px #000; padding: 14px 16px; display: none; }
.duel.is-on { display: block; animation: pop 0.2s ease-out; }
.duel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.duel-head b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duel-head b:nth-of-type(2) { text-align: right; }
.duel-head .vs { font: 900 26px/1 var(--display); color: var(--ogien); }
.duel-rows { display: grid; gap: 7px; margin-top: 12px; }
.duel-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 96px minmax(0, 1fr) 92px; gap: 10px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.duel-row .lab { text-align: center; color: var(--text-2); font-weight: 700; }
.duel-row .a { text-align: right; font-weight: 800; }
.duel-row .b { font-weight: 800; }
.duel-row .track { height: 8px; border-radius: 99px; background: var(--stal-700); overflow: hidden; display: flex; }
.duel-row .track.l { justify-content: flex-end; }
.duel-row .track i { display: block; height: 100%; border-radius: 99px; background: var(--mgla-400); }
.duel-row .track.win i { background: var(--ogien); }
.duel-hint { font-size: 14px; color: var(--text-2); }

/* =====================================================================
   SKLEP
   ===================================================================== */
html:has(.subnav) { scroll-padding-top: calc(var(--nav-h) + 76px); }
.subnav { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(29, 41, 53, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { padding: 16px 14px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--text-2); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--text); }
.subnav a.is-on { color: var(--text); border-bottom-color: var(--ogien); }

.closed { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-panel); background: rgba(242, 181, 68, 0.14); border: 1px solid rgba(242, 181, 68, 0.45); color: #f7d48f; font-weight: 700; margin-bottom: 28px; }
.closed .ic { font-size: 26px; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offers.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.offers.n1, .offers.n0 { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
.offer { --c: var(--ogien); position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); }
.offer.s1 { --c: #e5534b; }
.offer.s2 { --c: #3fb574; }
.offer.s3 { --c: #4a90e2; }
.offer-art { position: relative; height: 150px; background: var(--stal-700); overflow: hidden; }
.offer-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 27, 35, 0.1), var(--panel)); }
.offer-tag { position: absolute; left: 20px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; }
.offer-body { padding: 4px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.offer h3 { font: 800 34px/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.offer h3 small { display: block; font: 700 15px/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--text-2); margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font: 900 60px/0.9 var(--display); letter-spacing: 0.01em; }
.price span { color: var(--text-2); font-size: 15px; font-weight: 700; }
.price s { color: var(--text-3); font-size: 18px; }
.price .cut { background: var(--ogien); color: var(--on-accent); font-weight: 800; font-size: 14px; padding: 3px 8px; border-radius: 6px; }
.ticks { display: grid; gap: 9px; font-size: 16px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.ticks .ic { color: var(--c, var(--ok)); font-size: 20px; margin-top: 2px; }
.offer .btn { margin-top: auto; background: var(--c); color: #fff; }
.offer .btn:hover { filter: brightness(1.12); }
.offer .avail { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.offer.is-out .btn { background: var(--stal-600); color: var(--mgla-300); pointer-events: none; }

.check { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.check form { display: grid; gap: 12px; margin-top: 24px; }
.check .row { display: flex; gap: 10px; }
.check .row .field { flex: 1; min-width: 0; }
.results { display: grid; gap: 14px; }
.res-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 22px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); --c: var(--ogien); }
.res-card.s1 { --c: #e5534b; }
.res-card.s2 { --c: #3fb574; }
.res-card.s3 { --c: #4a90e2; }
.ring { position: relative; width: 92px; height: 92px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bgc { stroke: var(--line); }
.ring .fgc { stroke: var(--c); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ring .in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .in b { font: 900 34px/0.9 var(--display); }
.ring .in span { font-size: 12px; font-weight: 700; color: var(--text-2); }
.res-card h3 { font: 800 28px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.res-card h3 .pill { font: 700 14px/1 var(--body); text-transform: none; letter-spacing: 0; }
.res-card .srvname { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.res-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 12px 0 0; font-size: 15px; }
.res-card dt { color: var(--text-2); }
.res-card dd { margin: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.res-card .msg { font-size: 14px; color: var(--text-2); margin-top: 10px; }
.results-empty { padding: 36px 28px; border: 1px dashed var(--line-2); border-radius: var(--r-panel); color: var(--text-2); }
.results-empty b { display: block; color: var(--text); font-size: 19px; margin-bottom: 6px; }

.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tile h3 { font: 800 38px/0.96 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.amounts button { height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; font-weight: 800; }
.amounts button:hover { border-color: var(--text); }
.amounts button[aria-pressed="true"] { background: var(--kosc); color: var(--stal-900); border-color: var(--kosc); }
.amount-row { display: flex; align-items: center; gap: 12px; }
.amount-row .field { width: 150px; font: 800 28px/1 var(--display); text-align: center; height: 56px; }
.amount-row b { font: 800 28px/1 var(--display); color: var(--text-2); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--stal-700); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; text-align: left; font-size: 14px; font-weight: 800; color: var(--kosc); background: linear-gradient(180deg, transparent, rgba(13, 19, 25, 0.9)); }
.lightbox { position: fixed; inset: 0; z-index: 85; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(8, 12, 16, 0.92); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80vh; border-radius: 12px; }
.lightbox p { font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 900 72px/0.9 var(--display); color: var(--accent-text); margin-bottom: 10px; }
.steps b { display: block; font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--text-2); font-size: 16px; }
.faq { display: grid; gap: 8px; margin-top: clamp(32px, 5vw, 56px); max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.faq summary { padding: 16px 20px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 26px/1 var(--display); color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--text-2); max-width: 70ch; }

.order { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 10px; background: var(--stal-900); border: 1px solid var(--line); }
.order small { display: block; font-size: 13px; color: var(--text-2); font-weight: 700; }
.order b { font-weight: 800; }
.order .sum { font: 900 34px/1 var(--display); white-space: nowrap; color: var(--c, var(--kosc)); }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; }
.done > .ic { font-size: 48px; color: var(--ok); }
.done h4 { font: 800 30px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.done .code { font: 800 18px/1 var(--body); letter-spacing: 0.06em; padding: 12px 16px; border-radius: 8px; background: var(--stal-900); border: 1px dashed var(--line-2); user-select: all; }
.done ol { text-align: left; display: grid; gap: 8px; padding-left: 22px; list-style: decimal; color: var(--text-2); font-size: 16px; width: 100%; }
.done ol b { color: var(--text); }

.checkline { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; color: var(--text-2); cursor: pointer; }
.checkline input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ogien); cursor: pointer; }
.done > .ic.is-wait { color: var(--uwaga); }
.done > .ic.is-bad { color: var(--blad); }

/* =====================================================================
   REGULAMIN
   ===================================================================== */
.doc-page { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }
.doc { max-width: 780px; }
.doc .h2 { font-size: clamp(44px, 7vw, 84px); }
.doc-meta { color: var(--text-2); margin-top: 10px; }
.doc section { margin-top: 40px; }
.doc h2 { font: 800 22px/1.25 var(--body); margin-bottom: 12px; }
.doc ol { list-style: decimal; padding-left: 26px; display: grid; gap: 9px; }
.doc ol ol { list-style: lower-alpha; margin-top: 8px; }
.doc li { padding-left: 4px; }
.doc a:not(.btn) { color: var(--accent-text); font-weight: 700; }
.doc-back { margin-top: 48px; }

/* =====================================================================
   MNIEJSZE EKRANY
   ===================================================================== */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .srv { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); }
  .srv-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .board-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .offers.n2, .offers.n1, .offers.n0 { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .hero-body { grid-template-columns: 1fr; padding-bottom: 28px; }
  .hero-seal { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(19, 27, 35, 0.5) 0%, rgba(19, 27, 35, 0) 18%, rgba(19, 27, 35, 0.3) 42%, rgba(19, 27, 35, 0.82) 100%); }
  .hero-art img { object-position: 30% 50%; }
  .hero-now { right: 16px; }
  .hero-strip .wrap { flex-wrap: wrap; min-height: 0; }
  .stat { padding: 12px 20px 12px 0; margin-right: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .ticker { flex-basis: 100%; height: 44px; border-top: 1px solid rgba(244, 240, 232, 0.12); }
  .srv { grid-template-columns: 1fr; }
  .srv-art { min-height: 170px; }
  .board-mini { grid-template-columns: 1fr; }
  .week, .check, .duo { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; gap: 28px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .podium { grid-template-columns: 1fr; }
  .pod.p1 { order: -1; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duel-row { grid-template-columns: 78px minmax(0, 1fr) 70px minmax(0, 1fr) 78px; gap: 6px; font-size: 13px; }
  .rank-bar { position: static; }
  .rank-bar .ctl { width: 100%; }
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .pod, .pod.p1 { padding: 16px 18px; }
  .pod .name, .pod.p1 .name { font-size: 19px; margin: 2px 0 8px; }
  .pod .big, .pod.p1 .big { font-size: 48px; display: inline-block; margin-right: 8px; }
  .pod .place, .pod.p1 .place { font-size: 120px; top: -14px; }
  .pod .line { margin-top: 8px; }
  .subnav a { padding: 14px 10px; font-size: 15px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand b { font-size: 26px; }
  .brand img { width: 40px; height: 40px; }
  .btn { min-height: 50px; padding: 0 20px; }
  .hero-actions .btn { width: 100%; }
  .score { grid-template-columns: 84px minmax(0, 1fr) 36px; }
  .srv-main { padding: 20px; }
  .srv-side { padding: 18px 20px; }
  .top5 li { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; padding-right: 12px; }
  .top5 .pos { font-size: 40px; }
  .top5 li:first-child .pos { font-size: 54px; }
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .res-card { grid-template-columns: 1fr; }
  .check .row { flex-direction: column; }
  .check .row .field { flex: none; }
  .tile { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .ticker-track { animation: none !important; }
  .hero-art img.is-on { animation: none; transform: scale(1.04); }
}

/* =====================================================================
   Strona główna: wipe i eventy, pierwszy raz u nas, tydzień na serwerach
   ===================================================================== */
.plan { background: var(--stal-950); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; }
.plan.has-both .plan-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.wipe-title, .events-title { font: 800 20px/1.2 var(--body); color: var(--text-2); }
.wipe-clock { display: flex; gap: 10px; margin: 12px 0 14px; }
.wipe-clock > span { display: grid; justify-items: center; min-width: 86px; padding: 12px 8px 9px; border-radius: 10px; background: var(--stal-850); border: 1px solid var(--line); }
.wipe-clock b { font: 900 clamp(46px, 6vw, 76px)/0.9 var(--display); color: var(--kosc); letter-spacing: 0.02em; }
.wipe-clock > span:first-child b { color: var(--ogien); }
.wipe-clock i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--text-3); margin-top: 6px; }
.wipe-when { color: var(--text-2); margin-bottom: 16px; }
.wipe-when::first-letter { text-transform: uppercase; }
.wipe.is-on .wipe-title { font: 900 clamp(36px, 4.6vw, 60px)/0.95 var(--display); color: var(--ogien); letter-spacing: 0.01em; margin-bottom: 12px; }
.events-title { margin-bottom: 12px; }
.ev-list { display: grid; gap: 10px; }
.ev { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border-radius: 12px; background: var(--stal-850); border: 1px solid var(--line); }
.ev.is-live { border-color: rgba(76, 198, 141, 0.55); }
.ev-date { display: grid; justify-items: center; padding: 6px 0 8px; border-radius: 10px; background: var(--stal-800); }
.ev-date b { font: 900 34px/1 var(--display); color: var(--ogien-jasny); }
.ev-date span { font-size: 13px; font-weight: 800; color: var(--text-2); }
.ev-body { min-width: 0; }
.ev-body h3 { font: 800 18px/1.25 var(--body); }
.ev-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); margin-top: 2px; }
.ev-meta::first-letter { text-transform: uppercase; }
.ev-text { font-size: 15px; color: var(--text-2); margin-top: 4px; }
.ev-ics { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 21px; }
.ev-ics:hover { color: var(--kosc); border-color: var(--kosc); }

.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.step-link { display: inline-block; margin-top: 12px; font-weight: 800; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.step-link:hover { color: var(--text); }

.wk-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-bottom: 16px; }
.wk-top > :only-child, .wk-top > :first-child:nth-last-child(2)[hidden] + * { grid-column: 1 / -1; }
.potw { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-panel); background: var(--ogien); color: var(--on-accent); --text-2: rgba(29, 18, 6, 0.74); }
.potw::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; border: 34px solid rgba(29, 18, 6, 0.07); pointer-events: none; }
.potw-h, .goal-h { display: flex; align-items: center; gap: 8px; font: 800 16px/1.2 var(--body); }
.potw-h .ic { font-size: 22px; }
.potw-name { position: relative; font: 900 clamp(40px, 5.2vw, 72px)/0.95 var(--display); letter-spacing: 0.01em; margin: 12px 0 20px; overflow-wrap: anywhere; }
.potw-stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0 0 16px; }
.potw-stats dt { font-size: 13px; font-weight: 700; color: var(--text-2); }
.potw-stats dd { margin: 0; font: 800 32px/1 var(--display); }
.potw-how { font-size: 14px; color: var(--text-2); max-width: 58ch; margin-bottom: 18px; }
.potw .btn-fire { background: var(--stal-900); color: var(--kosc); }
.potw .btn-fire:hover { background: var(--stal-800); }
.goal { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-panel); background: var(--stal-850); border: 1px solid var(--line); }
.goal-h { color: var(--text-2); }
.goal-h .ic { color: var(--ogien-jasny); font-size: 20px; }
.goal-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 14px 0 14px; }
.goal-num b { font: 900 clamp(46px, 5vw, 66px)/0.9 var(--display); letter-spacing: 0.02em; }
.goal-num span { font-weight: 700; color: var(--text-2); }
.goal-bar { position: relative; height: 30px; border-radius: 8px; background: var(--stal-950); border: 1px solid var(--line); overflow: hidden; }
.goal-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(135deg, var(--ogien) 0 14px, var(--ogien-jasny) 14px 28px); transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.goal-bar.is-done i { background: var(--ok); }
.goal-bar span { position: relative; display: block; padding-right: 10px; text-align: right; font: 800 15px/28px var(--body); color: var(--kosc); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.goal-text { margin-top: 12px; font-size: 15px; color: var(--text-2); }
.goal-reward { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 16px; font-size: 15px; }
.goal-reward .ic { font-size: 22px; color: var(--ogien-jasny); }
.goal-reward b { color: var(--text); }

.wk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wk-tile { position: relative; min-width: 0; overflow: hidden; padding: 22px; border-radius: var(--r-panel); background: var(--stal-850); border: 1px solid var(--line); }
.wk-tile.wide { grid-column: span 2; }
.wk-tile h3 { display: flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--body); color: var(--text-2); }
.wk-tile h3 .ic { font-size: 20px; color: var(--ogien-jasny); }
.wk-tile > b { display: block; margin: 10px 0 6px; font: 900 clamp(40px, 4vw, 56px)/0.95 var(--display); letter-spacing: 0.02em; white-space: nowrap; }
.wk-tile > b small { margin-left: 6px; font: 700 0.4em/1 var(--body); letter-spacing: 0; color: var(--text-2); }
.wk-tile p { font-size: 15px; color: var(--text-2); }
.shot-who strong { color: var(--text); overflow-wrap: anywhere; }
.shot-more { display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.shot-more .num { display: inline-block; min-width: 66px; font-weight: 800; color: var(--text-2); }
.wk-tile > b.gun-name { font-size: clamp(34px, 3.4vw, 46px); white-space: normal; }
.gun-list { display: grid; gap: 8px; margin-top: 10px; }
.gun-list li { display: grid; grid-template-columns: minmax(84px, 140px) minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 14px; }
.gun-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--text-2); }
.gun-bar { height: 8px; border-radius: 99px; background: var(--stal-950); overflow: hidden; }
.gun-bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--stal-500); transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gun-list li:first-child .gun-bar i { background: var(--ogien); }
.gun-v { text-align: right; font-weight: 800; color: var(--text-2); }
.map-tile { display: flex; align-items: flex-end; min-height: 230px; padding: 0; }
.map-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.map-tile.has-art img { opacity: 1; }
.map-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 27, 35, 0.05) 15%, rgba(19, 27, 35, 0.92) 100%); }
.map-in { position: relative; z-index: 1; padding: 22px; }
.map-in b { display: block; margin: 8px 0 4px; font: 900 clamp(40px, 4vw, 56px)/0.95 var(--display); letter-spacing: 0.02em; }
.map-tile.has-art h3, .map-tile.has-art p { color: var(--mgla-300); }


@media (max-width: 1100px) {
  .wk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .plan.has-both .plan-grid, .wk-top { grid-template-columns: minmax(0, 1fr); }
  .steps-3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  .wipe-clock { gap: 6px; }
  .wipe-clock > span { min-width: 0; flex: 1; }
  .ev { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 10px; }
  .ev-date b { font-size: 28px; }
  .wk-tiles { grid-template-columns: minmax(0, 1fr); }
  .wk-tile.wide { grid-column: auto; }
  .potw-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .goal-bar i, .gun-bar i, .map-tile img { transition: none; }
}

/* =====================================================================
   Ranking: rywal, wyzwania tygodnia, klany
   ===================================================================== */
.mine-rival { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.mine-rival .ic { font-size: 18px; color: var(--ogien-jasny); }
.mine-rival b { color: var(--text); }
.mine-rival button { padding: 0; border: 0; background: none; font-weight: 800; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.mine-rival button:hover { text-decoration-color: var(--ogien-jasny); }

.ch-reset { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--text-2); }
.ch-reset .ic { color: var(--ogien-jasny); font-size: 18px; }
.challenges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ch { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-panel); background: var(--stal-850); border: 1px solid var(--line); }
.ch-level { align-self: flex-start; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 800; color: var(--text-2); background: var(--stal-800); }
.ch:nth-child(2) .ch-level { color: #f7cd7c; background: rgba(242, 181, 68, 0.14); }
.ch:nth-child(3) .ch-level { color: var(--ogien-jasny); background: rgba(255, 106, 43, 0.14); }
.ch h3 { display: flex; align-items: flex-start; gap: 10px; font: 800 19px/1.3 var(--body); }
.ch h3 .ic { font-size: 22px; color: var(--ogien-jasny); margin-top: 1px; }
.ch-bar { height: 10px; border-radius: 99px; background: var(--stal-950); overflow: hidden; margin-top: auto; }
.ch-bar i { display: block; height: 100%; border-radius: 99px; background: var(--ogien); }
.ch-p { font-size: 14px; font-weight: 700; color: var(--text-2); }
.ch.is-done { border-color: rgba(76, 198, 141, 0.5); }
.ch.is-done h3 .ic { color: var(--ok); }
.ch.is-done .ch-bar i { background: var(--ok); }
.ch.is-done .ch-p { color: #7fe0b1; }

.clans { display: grid; gap: 10px; }
.clan { display: grid; grid-template-columns: 56px minmax(150px, 1.1fr) minmax(0, 2.2fr) minmax(0, 1.6fr); gap: 12px 24px; align-items: center; padding: 16px 20px 16px 10px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.clan.is-first { border-color: var(--ogien); box-shadow: 0 18px 40px -26px rgba(255, 106, 43, 0.8); }
.clan-pos { font: 900 46px/0.9 var(--display); text-align: center; color: var(--text-3); }
.clan.is-first .clan-pos { color: var(--ogien); }
.clan-id { min-width: 0; }
.clan-tag { display: block; font: 900 40px/0.95 var(--display); letter-spacing: 0.03em; overflow-wrap: anywhere; }
.clan-id span { font-size: 14px; color: var(--text-2); }
.clan-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.clan-stats dt { font-size: 13px; font-weight: 700; color: var(--text-3); }
.clan-stats dd { margin: 0; font: 800 26px/1.05 var(--display); letter-spacing: 0.02em; white-space: nowrap; }
.clan-top { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.clan-top button { max-width: 100%; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clan-top button:hover { border-color: var(--ogien-jasny); }

@media (max-width: 1100px) {
  .clan { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 2fr); }
  .clan-top { grid-column: 2 / -1; }
}
@media (max-width: 860px) {
  .challenges { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .clan { grid-template-columns: 40px minmax(0, 1fr); padding: 14px 14px 14px 6px; }
  .clan-pos { font-size: 34px; }
  .clan-tag { font-size: 32px; }
  .clan-stats, .clan-top { grid-column: 2 / -1; }
  .clan-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clan-stats dd { font-size: 22px; }
}

/* IKONY:START (plik generowany – lista ikon użytych na stronie) */
.ic-arrow-square-out::before { content: "\e5de"; }
.ic-arrows-left-right::before { content: "\e0a0"; }
.ic-bank::before { content: "\e0b4"; }
.ic-bell-ringing::before { content: "\e5e8"; }
.ic-calendar-plus::before { content: "\e714"; }
.ic-caret-down::before { content: "\e136"; }
.ic-caret-left::before { content: "\e138"; }
.ic-caret-right::before { content: "\e13a"; }
.ic-caret-up::before { content: "\e13c"; }
.ic-chats-circle::before { content: "\e17e"; }
.ic-check-circle::before { content: "\e184"; }
.ic-clock::before { content: "\e19a"; }
.ic-coins::before { content: "\e78e"; }
.ic-copy::before { content: "\e1ca"; }
.ic-crosshair::before { content: "\e1d6"; }
.ic-crown::before { content: "\e614"; }
.ic-discord-logo::before { content: "\e61a"; }
.ic-eye::before { content: "\e220"; }
.ic-facebook-logo::before { content: "\e226"; }
.ic-film-strip::before { content: "\e792"; }
.ic-fire::before { content: "\e242"; }
.ic-flag::before { content: "\e244"; }
.ic-flag-banner::before { content: "\e622"; }
.ic-game-controller::before { content: "\e26e"; }
.ic-gift::before { content: "\e276"; }
.ic-globe-hemisphere-west::before { content: "\e28c"; }
.ic-graduation-cap::before { content: "\e62c"; }
.ic-heart::before { content: "\e2a8"; }
.ic-image::before { content: "\e2ca"; }
.ic-lightning::before { content: "\e2de"; }
.ic-list::before { content: "\e2f0"; }
.ic-lock-key::before { content: "\e2fe"; }
.ic-magnifying-glass::before { content: "\e30c"; }
.ic-map-trifold::before { content: "\e31a"; }
.ic-medal::before { content: "\e320"; }
.ic-plant::before { content: "\ebae"; }
.ic-push-pin::before { content: "\e3e2"; }
.ic-shield-star::before { content: "\ec34"; }
.ic-shopping-cart::before { content: "\e41e"; }
.ic-skull::before { content: "\e916"; }
.ic-sword::before { content: "\e5ba"; }
.ic-target::before { content: "\e47c"; }
.ic-tiktok-logo::before { content: "\eaf2"; }
.ic-trophy::before { content: "\e67e"; }
.ic-user-circle::before { content: "\e4c4"; }
.ic-users-three::before { content: "\e68e"; }
.ic-warning-circle::before { content: "\e4e2"; }
.ic-x::before { content: "\e4f6"; }
.ic-x-circle::before { content: "\e4f8"; }
.ic-youtube-logo::before { content: "\e4fc"; }
.ic-arrow-square-out, .ic-arrows-left-right, .ic-caret-down, .ic-caret-left, .ic-caret-right, .ic-caret-up, .ic-copy, .ic-list, .ic-magnifying-glass, .ic-x { font-family: "AG Icons Bold" !important; }
/* IKONY:END */


/* =====================================================================
   Stopnie, osiągnięcia, „Twój profil”, wyszukiwarka graczy, wolne miejsce
   ===================================================================== */
.insignia { flex: none; color: var(--ogien-jasny); }

/* stopień w panelu gracza */
.gradebox { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: var(--stal-800); border: 1px solid var(--line); }
.gradebox .insignia { width: 48px; height: 48px; }
.gradebox > div { flex: 1; min-width: 0; }
.gradebox b { display: block; font: 800 28px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.gradebox span { display: block; font-size: 14px; color: var(--text-2); margin-top: 4px; }
.gradebox .meter { height: 6px; margin-top: 10px; }
.gradebox .meter i { background: var(--ogien); }

/* osiągnięcia */
.achs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ach { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(35, 50, 65, 0.5); }
.ach > .ic { font-size: 24px; line-height: 1; color: var(--stal-500); flex: none; margin-top: 2px; }
.ach > div { min-width: 0; flex: 1; }
.ach b { display: block; font-size: 15px; color: var(--text-2); }
.ach span { display: block; font-size: 13px; line-height: 1.35; color: var(--text-3); }
.ach em { display: block; font-style: normal; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ach .meter { height: 5px; margin: 8px 0 4px; }
.ach .meter i { background: var(--mgla-400); }
.ach.is-done { background: var(--stal-800); border-color: rgba(255, 106, 43, 0.55); }
.ach.is-done > .ic { color: var(--ogien-jasny); }
.ach.is-done b { color: var(--text); }
.ach.is-done span { color: var(--text-2); }

/* kto gra teraz */
.nowdot { display: inline-block; color: var(--ok); margin-right: 8px; vertical-align: 1px; }
.nowline { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: #7fe0b1; font-weight: 700; }
.pod .name .nowdot { margin-right: 10px; }
.board-mini li.is-me .who { color: var(--ogien-jasny); }

/* „Twoja pozycja” (ranking) i „Twój profil” (strona główna) */
.mine { background: var(--stal-900); border-bottom: 1px solid var(--line); padding: 12px 0; }
.mine .wrap { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.mine-who { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.mine-who .ic { color: var(--ogien-jasny); font-size: 20px; }
button.mine-who:hover b { text-decoration: underline; }
.mine-pos { font: 800 32px/1 var(--display); color: var(--ogien-jasny); letter-spacing: 0.02em; }
.mine-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.mine-delta.up { color: #7fe0b1; }
.mine-delta.down { color: #ff9c9c; }
.mine-stats { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 15px; color: var(--text-2); }
.mine-stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.mine-note { margin-left: auto; font-size: 14px; color: var(--text-3); }
.mine-home { padding: 18px 0; }
.mine-home .insignia { width: 44px; height: 44px; }
.mine-id { min-width: 0; }
.mine-id b { display: block; font-weight: 800; font-size: 18px; }
.mine-id span { font-size: 14px; color: var(--text-2); }
.mine-home .btn { margin-left: auto; }

/* wyszukiwarka graczy z każdej strony */
.nav-find { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-ctl, 10px); border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; }
.nav-find:hover { border-color: var(--text); }
.nav-find-m { display: none; margin-left: auto; margin-right: 10px; }
.nav-links a.nav-me { display: inline-flex; align-items: center; gap: 6px; }
.nav-links a.nav-me .ic { color: var(--ogien-jasny); }
.sheet a[data-me-link] .ic { margin-right: 10px; color: var(--ogien-jasny); }
.findbox { position: fixed; inset: 0; z-index: 85; display: none; padding: 14vh 20px 20px; background: rgba(10, 15, 20, 0.8); backdrop-filter: blur(4px); overflow: auto; }
.findbox.is-open { display: block; }
.findbox-in { width: min(560px, 100%); margin: 0 auto; padding: 18px; border-radius: 16px; background: var(--stal-800); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px #000; animation: pop 0.2s ease-out; }
.findbox .field { height: 52px; font-size: 18px; }
.findbox-out { margin-top: 14px; }
.finds a { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--stal-850); text-decoration: none; color: var(--text); }
.finds a:hover, .finds a:focus-visible { border-color: var(--ogien); }

/* pełny serwer: powiadomienie o wolnym miejscu */
.srv-watch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.srv-watch .hint { flex-basis: 100%; }

@media (max-width: 860px) {
  .nav-find-m { display: inline-flex; }
  .mine-note { margin-left: 0; flex-basis: 100%; }
  .mine-home .btn { margin-left: 0; }
}
@media (max-width: 560px) {
  .mine-home .mine-id { flex: 1 1 60%; }
  .achs { grid-template-columns: 1fr; }
  .mine-stats { flex-basis: 100%; }
  .finds a { grid-template-columns: 54px minmax(0, 1fr); }
  .finds a .kd { grid-column: 2; }
}

/* =====================================================================
   Sala chwały (strona główna), wykres profilu, drabinka stopni, nowe osiągnięcie
   ===================================================================== */
.hall { overflow: hidden; }
.hall::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 80% at 85% 0%, rgba(255, 106, 43, 0.2), transparent 70%),
  repeating-linear-gradient(135deg, rgba(244, 240, 232, 0.025) 0 1px, transparent 1px 34px); }
.hall .wrap { position: relative; }
.hall .band-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.records { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.record { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: var(--r-panel); background: linear-gradient(160deg, rgba(44, 63, 81, 0.9), rgba(24, 34, 44, 0.9)); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; overflow: hidden; opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s, box-shadow 0.2s; }
.record.is-in { opacity: 1; transform: none; }
.record::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(244, 240, 232, 0.12), transparent); transform: skewX(-18deg); transition: left 0.7s ease; pointer-events: none; }
.record:hover { border-color: var(--ogien); box-shadow: 0 18px 40px -22px rgba(255, 106, 43, 0.7); transform: translateY(-4px); }
.record:hover::after { left: 130%; }
.record-top { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.record-top .ic { font-size: 20px; color: var(--ogien-jasny); }
.record-val { font: 900 clamp(38px, 3.6vw, 56px)/0.95 var(--display); letter-spacing: 0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.record-val small { font: 700 0.36em/1 var(--body); letter-spacing: 0; margin-left: 8px; color: var(--text-2); }
.record[data-key="cash"] .record-val { color: var(--ogien-jasny); }
.record-who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.record-who .insignia { width: 30px; height: 30px; }
.record-who > span { min-width: 0; }
.record-who strong { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-who small { display: block; font-size: 13px; color: var(--text-3); }
.stat-rank b { color: var(--ogien-jasny); }

/* wykres profilu */
.radar { display: block; width: 100%; max-width: 340px; margin: 0 auto; overflow: visible; }
.radar-ring { fill: none; stroke: rgba(182, 197, 208, 0.22); stroke-width: 1; }
.radar text { font: 600 11px var(--body); fill: var(--mgla-300); }
.radar-p { fill: var(--c); fill-opacity: 0.28; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; }
.radar-g { transform-box: view-box; animation: radar 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes radar { from { transform: scale(0.1); opacity: 0; } }

/* porównanie: wykres obok pasków */
.duel-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 8px 18px; align-items: center; margin-top: 10px; }
.duel-body .duel-rows { margin-top: 0; }
.duel-body > .duel-rows:only-child { grid-column: 1 / -1; }
.duel-row .track i { background: #6fb1ff; opacity: 0.38; }
.duel-row .track.l i { background: var(--ogien); }
.duel-row .track.win i { background: #6fb1ff; opacity: 1; }
.duel-row .track.l.win i { background: var(--ogien); }
.duel-head .da { color: var(--ogien-jasny); }
.duel-head .db { color: #8fc3ff; }
.duel.is-on { width: min(980px, calc(100% - 24px)); }

/* drabinka stopni */
.ladder { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.rung { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(35, 50, 65, 0.5); color: var(--text-3); min-height: 138px; }
.rung .insignia { width: 36px; height: 36px; color: var(--stal-500); margin-bottom: 6px; }
.rung b { font: 800 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-2); }
.rung span { font-size: 13px; }
.rung em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--on-accent); background: var(--ogien); padding: 2px 8px; border-radius: 99px; margin-top: 8px; }
.rung .meter { width: 100%; height: 5px; margin-top: 8px; }
.rung .meter i { background: var(--ogien); }
.rung.is-done { background: var(--stal-800); color: var(--text-2); }
.rung.is-done .insignia { color: var(--mgla-300); }
.rung.is-done b { color: var(--text); }
.rung.is-me { background: var(--stal-800); border-color: var(--ogien); box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.18); color: var(--text-2); }
.rung.is-me .insignia { color: var(--ogien-jasny); }
.rung.is-me b { color: var(--text); }

/* nowe osiągnięcie na własnym profilu */
.unlock { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: var(--ogien); color: var(--on-accent); overflow: hidden; animation: pop 0.35s ease-out; }
.unlock .ic { font-size: 30px; }
.unlock b { display: block; font: 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.unlock span { font-size: 15px; font-weight: 700; }
.unlock::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: skewX(-18deg); animation: sheen 1.6s ease-out 0.3s 2; }
@keyframes sheen { to { left: 130%; } }

/* podium: korona lidera */
.pod .medal { display: inline-flex; align-items: center; gap: 6px; }
.pod .medal .ic { font-size: 20px; }

@media (max-width: 1100px) {
  .records { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .duel-body { grid-template-columns: 1fr; }
  .duel-body .radar { display: none; }
  .stat-rank { display: none; }
}
@media (max-width: 560px) {
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .record { opacity: 1; transform: none; transition: none; }
  .radar-g, .unlock, .unlock::after { animation: none; }
}

/* ---------- ROZKAZY DNIA I TYGODNIA ---------- */
.ord-sum { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 26px; padding: 14px 18px; border-radius: var(--r-panel); background: var(--stal-850); border: 1px solid var(--line); font-size: 16px; color: var(--text-2); }
.ord-sum span { display: inline-flex; align-items: center; gap: 8px; }
.ord-sum .ic { font-size: 20px; color: var(--ogien-jasny); }
.ord-sum b { font: 800 26px/1 var(--display); letter-spacing: 0.02em; color: var(--text); }
.ord-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 12px; }
.challenges + .ord-h, .ord-board + .ord-h { margin-top: 30px; }
.ord-h h3 { font: 800 28px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ch-pts { font-size: 14px; font-weight: 800; color: var(--text-2); }
.ch.is-done .ch-pts { color: #7fe0b1; }
.ch.is-fresh { animation: ordDone 1.4s ease-out 1; }
@keyframes ordDone { 0% { box-shadow: 0 0 0 0 rgba(76, 198, 141, 0.7); } 100% { box-shadow: 0 0 0 22px rgba(76, 198, 141, 0); } }
.ord-board { display: grid; gap: 8px; counter-reset: none; }
.ord-board li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 10px; background: var(--stal-850); border: 1px solid var(--line); }
.ord-board li:first-child { border-color: rgba(255, 106, 43, 0.5); }
.ord-board .pos { font: 800 24px/1 var(--display); color: var(--text-3); }
.ord-board li:first-child .pos { color: var(--ogien-jasny); }
.ord-board button, .ord-board li > span:not(.pos) { justify-self: start; max-width: 100%; padding: 0; border: 0; background: none; font-weight: 800; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-board button:hover { text-decoration: underline; text-decoration-color: var(--ogien-jasny); text-underline-offset: 3px; }
.ord-board b { font: 800 22px/1 var(--display); letter-spacing: 0.02em; }
.ord-board small { min-width: 92px; text-align: right; font-size: 14px; color: var(--text-2); }
.ord-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; color: var(--text-2); font-size: 15px; }

/* Przyciski raportu z sezonu pokazują się dopiero, gdy panel serwerów daje do niego dane */
[data-season] { display: none; }
.has-combat [data-season]:not([hidden]) { display: inline-flex; }
.mine-btns { display: inline-flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.mine-home .mine-btns .btn { margin-left: 0; }
.wipe-report { margin-left: 10px; }
#wipeIcs[hidden] + .wipe-report { margin-left: 0; }

/* ---------- RAPORT Z SEZONU (pełny ekran, slajd po slajdzie) ---------- */
.sz { position: fixed; inset: 0; z-index: 86; display: none; flex-direction: column; background: var(--stal-950); color: var(--kosc); overflow: hidden; }
.sz.is-open { display: flex; }
.sz::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--ogien); z-index: 2; }
.sz-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(0.75); transition: opacity 0.8s; }
.sz-art.is-on { opacity: 0.34; }
.sz-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19, 27, 35, 0.96) 0%, rgba(19, 27, 35, 0.78) 55%, rgba(19, 27, 35, 0.5) 100%); }
.sz-top, .sz-stage, .sz-nav { position: relative; z-index: 1; }
.sz-top { display: flex; align-items: center; gap: 16px; padding: 18px clamp(20px, 4vw, 48px) 0 clamp(30px, 5vw, 64px); }
.sz-bars { flex: 1; display: flex; gap: 6px; }
.sz-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(244, 240, 232, 0.2); }
.sz-bars i.is-done { background: var(--kosc); }
.sz-bars i.is-on { background: var(--ogien); }
.sz-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: rgba(19, 27, 35, 0.6); color: var(--kosc); font-size: 20px; }
.sz-x:hover { border-color: var(--kosc); }
.sz-stage { flex: 1; min-height: 0; display: flex; align-items: center; overflow-y: auto; padding: 24px clamp(20px, 4vw, 48px) 24px clamp(30px, 5vw, 64px); cursor: pointer; }
.sz-slide { width: min(980px, 100%); margin: auto 0; }
.sz-kicker { font: 800 clamp(18px, 2vw, 24px)/1.2 var(--body); color: var(--mgla-300); margin-bottom: 10px; overflow-wrap: anywhere; }
.sz-cover { font: 900 clamp(84px, 19vw, 236px)/0.84 var(--display); text-transform: uppercase; letter-spacing: 0.005em; margin-bottom: 22px; }
.sz-cover-s { font-size: clamp(52px, 9vw, 110px); }
.sz-big { display: inline-block; max-width: 100%; font: 900 clamp(104px, 23vw, 280px)/0.8 var(--display); letter-spacing: 0.01em; color: var(--kosc); }
.sz-word { display: block; font-size: clamp(60px, 13vw, 168px); line-height: 0.9; text-transform: uppercase; color: var(--ogien-jasny); white-space: nowrap; overflow: hidden; padding-bottom: 0.06em; }
.sz-unit { margin-left: 14px; font: 800 clamp(30px, 5vw, 64px)/1 var(--display); text-transform: uppercase; color: var(--mgla-300); }
.sz-what { margin-top: 6px; font: 800 clamp(30px, 4.6vw, 58px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; color: var(--ogien-jasny); }
.sz-line { margin-top: 20px; max-width: 34em; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.sz-note { margin-top: 12px; max-width: 40em; font-size: clamp(16px, 1.5vw, 19px); color: var(--mgla-300); overflow-wrap: anywhere; }
.sz-list { margin-top: 20px; display: grid; gap: 6px; width: min(420px, 100%); }
.sz-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--mgla-300); }
.sz-list b { color: var(--kosc); }
.sz-hours { display: flex; align-items: flex-end; gap: 4px; height: 96px; width: min(560px, 100%); margin-top: 22px; }
.sz-hours i { flex: 1; min-width: 0; border-radius: 3px 3px 0 0; background: rgba(244, 240, 232, 0.28); }
.sz-hours i.is-top { background: var(--ogien); }
.sz-hours-x { display: flex; justify-content: space-between; width: min(560px, 100%); margin-top: 6px; font-size: 13px; color: var(--mgla-400); }
.sz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sz-nav { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 20px 22px; }
.sz-nav button { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line-2); background: rgba(19, 27, 35, 0.6); color: var(--kosc); font-size: 22px; }
.sz-nav button:hover:not(:disabled) { border-color: var(--kosc); }
.sz-nav button:disabled { opacity: 0.3; cursor: default; }
.sz-count { min-width: 74px; text-align: center; font-weight: 700; color: var(--mgla-300); }

@media (max-width: 860px) {
  .ord-board li { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .ord-board small { display: none; }
  .wipe-report, #wipeIcs[hidden] + .wipe-report { margin: 10px 0 0; }
  #wipeIcs[hidden] + .wipe-report { margin-top: 0; }
}
@media (max-width: 560px) {
  .ord-h h3 { font-size: 24px; }
  .mine-btns { margin-left: 0; width: 100%; }
  .sz-nav button { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch.is-fresh { animation: none; }
  .sz-art { transition: none; }
}

/* ---------- pojazdy: ikony SVG, oznaczenie przy nicku, karty pilotów i pancerniaków ---------- */
svg.ic.vic { width: 1em; height: 1em; vertical-align: -0.14em; overflow: visible; }
.role { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 1px 8px 1px 6px; border-radius: 999px; font: 800 12px/1.2 var(--body); letter-spacing: 0.02em; white-space: nowrap; vertical-align: 1px; border: 1px solid rgba(111, 177, 255, 0.5); color: #9ccaff; background: rgba(111, 177, 255, 0.12); }
.role .ic { font-size: 15px; }
.role-land { border-color: rgba(242, 181, 68, 0.5); color: #f6c96f; background: rgba(242, 181, 68, 0.12); }
.light .role { border-color: rgba(31, 100, 180, 0.4); color: #1b5a9e; background: rgba(61, 139, 217, 0.12); }
.light .role-land { border-color: rgba(150, 100, 0, 0.42); color: #855600; background: rgba(230, 160, 30, 0.18); }
.role-snip { border-color: rgba(190, 150, 255, 0.5); color: #cdb2ff; background: rgba(170, 120, 255, 0.12); }
.role-inf { border-color: rgba(190, 180, 120, 0.5); color: #d9cf98; background: rgba(190, 180, 120, 0.12); }
.role-hs { border-color: rgba(255, 120, 100, 0.5); color: #ff9c8c; background: rgba(255, 100, 80, 0.12); }
.light .role-snip { border-color: rgba(110, 60, 190, 0.4); color: #5b2ea6; background: rgba(140, 90, 230, 0.12); }
.light .role-inf { border-color: rgba(110, 100, 40, 0.42); color: #5d5418; background: rgba(170, 160, 80, 0.16); }
.light .role-hs { border-color: rgba(180, 50, 35, 0.4); color: #a22e1e; background: rgba(230, 90, 70, 0.12); }
.role-seed { border-color: rgba(120, 200, 110, 0.5); color: #9edb8f; background: rgba(120, 200, 110, 0.12); }
.light .role-seed { border-color: rgba(40, 120, 40, 0.4); color: #2d6e25; background: rgba(80, 170, 70, 0.14); }
.role + .role, .mine .role + .role { margin-left: 4px; }
/* Rangi sezonowe: Top 1 złoto, Top 2 srebro, Top 3 brąz */
.role-t1 { border-color: rgba(242, 193, 78, 0.6); color: #f6d27a; background: rgba(242, 193, 78, 0.14); }
.role-t2 { border-color: rgba(201, 211, 220, 0.6); color: #dfe6ec; background: rgba(201, 211, 220, 0.13); }
.role-t3 { border-color: rgba(205, 127, 50, 0.6); color: #e7a467; background: rgba(205, 127, 50, 0.14); }
.light .role-t1 { border-color: rgba(160, 110, 0, 0.45); color: #8a5c00; background: rgba(242, 181, 68, 0.2); }
.light .role-t2 { border-color: rgba(90, 104, 118, 0.4); color: #4a5866; background: rgba(150, 165, 178, 0.18); }
.light .role-t3 { border-color: rgba(140, 80, 30, 0.42); color: #84461a; background: rgba(205, 127, 50, 0.17); }
h1 .role { font-size: 14px; vertical-align: middle; text-transform: none; letter-spacing: 0.02em; font-family: var(--body); }
/* Puchar i kolor nicku za miejsce 1–3 w rankingu */
.cup { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-right: 7px; font-size: 14px; color: #2a1a00; vertical-align: -5px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.25); flex: none; }
.cup.c1 { background: radial-gradient(circle at 35% 30%, #fff3c4, #f2b544 55%, #b97a0c); }
.cup.c2 { background: radial-gradient(circle at 35% 30%, #ffffff, #c9d3dc 55%, #7c8a97); color: #1f2a33; }
.cup.c3 { background: radial-gradient(circle at 35% 30%, #ffd9b5, #cd7f32 55%, #7a4416); color: #2b1505; }
.pod .name .cup { width: 28px; height: 28px; font-size: 16px; vertical-align: -4px; }
.pnick { font-weight: 800; }
.pnick.pn1 { color: #f2c14e; }
.pnick.pn2 { color: #cdd6de; }
.pnick.pn3 { color: #d98c48; }
.light .pnick.pn1 { color: #9a6a00; }
.light .pnick.pn2 { color: #5d6b78; }
.light .pnick.pn3 { color: #9a531c; }
.light .pod .pnick.pn2 { color: #cdd6de; }
.light .pod .pnick.pn3 { color: #d98c48; }
.pod.p1 .pnick.pn1, .light .pod.p1 .pnick.pn1 { color: #3b2400; text-shadow: 0 1px 0 rgba(255, 220, 140, 0.55); }
.pnick .nick.is-gold { color: transparent; }
.light .pod .role { border-color: rgba(111, 177, 255, 0.5); color: #9ccaff; background: rgba(111, 177, 255, 0.12); }
.light .pod .role-land { border-color: rgba(242, 181, 68, 0.5); color: #f6c96f; background: rgba(242, 181, 68, 0.12); }
.light .pod .role-snip { border-color: rgba(190, 150, 255, 0.5); color: #cdb2ff; background: rgba(170, 120, 255, 0.12); }
.light .pod .role-inf { border-color: rgba(190, 180, 120, 0.5); color: #d9cf98; background: rgba(190, 180, 120, 0.12); }
.light .pod .role-hs { border-color: rgba(255, 120, 100, 0.5); color: #ff9c8c; background: rgba(255, 100, 80, 0.12); }
.light .pod .role-seed { border-color: rgba(120, 200, 110, 0.5); color: #9edb8f; background: rgba(120, 200, 110, 0.12); }
.light .pod .role-t1 { border-color: rgba(242, 193, 78, 0.6); color: #f6d27a; background: rgba(242, 193, 78, 0.14); }
.light .pod .role-t2 { border-color: rgba(201, 211, 220, 0.6); color: #dfe6ec; background: rgba(201, 211, 220, 0.13); }
.light .pod .role-t3 { border-color: rgba(205, 127, 50, 0.6); color: #e7a467; background: rgba(205, 127, 50, 0.14); }
.pod .name .role { font-size: 12px; vertical-align: 4px; }
.rank td.who .role { margin-block: -2px; }
.pod.p1 .role, .light .pod.p1 .role { border-color: rgba(29, 18, 6, 0.45); color: #1d1206; background: rgba(29, 18, 6, 0.12); }
.rankline .role { margin: 0 10px 0 0; }
.mine .role { margin-left: -12px; }
.finds .nm .role { vertical-align: 1px; }
.veh-only { display: none; }
.has-veh .veh-only { display: list-item; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.specs[hidden] { display: none; }
.spec { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); min-width: 0; --c: #6fb1ff; }
.spec-land { --c: var(--uwaga); }
.spec-head { display: flex; align-items: center; gap: 14px; }
.spec-head > .ic { flex: none; font-size: 30px; color: var(--c); padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--stal-850); border: 1px solid var(--line); }
.spec-head b { display: block; font: 800 24px/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.spec-head span { display: block; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spec-list button { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--stal-850); color: var(--text); text-align: left; font: inherit; transition: border-color 0.15s; }
.spec-list button:hover { border-color: var(--c); }
.spec-list .pos { font: 800 18px/1 var(--display); color: var(--text-3); text-align: center; }
.spec-list li:first-child .pos { color: var(--c); }
.spec-list .nm { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spec-list .v { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.spec-list .v b { font-size: 16px; color: var(--text); }
.spec > .copy { align-self: flex-start; margin-top: auto; }
.spec > .copy .ic { font-size: 14px; }

.kpis-veh .kpi { position: relative; padding-right: 40px; }
.kpis-veh .kpi > .ic { position: absolute; right: 12px; top: 12px; font-size: 22px; color: var(--stal-500); }
.ach > svg.ic { font-size: 24px; }

/* sala chwały z rekordami pilotów i pancerniaków: 4 + 3 albo 3 + 3 zamiast pięciu w rzędzie */
@media (min-width: 1101px) {
  .records[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .records[data-n="7"] { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .records[data-n="7"] .record { grid-column: span 3; }
  .records[data-n="7"] .record:nth-child(n+5) { grid-column: span 4; }
}
@media (max-width: 1100px) and (min-width: 561px) {
  .records[data-n="7"] .record:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .records[data-n="7"] .record:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; }
  .rank td.who .role span, .pod .name .role span { display: none; }
  .rank td.who .role, .pod .name .role { padding: 2px 6px; }
}

/* =====================================================================
   KONTO GRACZA, KOŁO FORTUNY, PROFIL (v21)
   ===================================================================== */

/* ---------- menu: logowanie i punkty ---------- */
.sic { width: 1.15em; height: 1.15em; flex: none; }
.nav-acct { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); text-decoration: none; font-weight: 800; font-size: 16px; color: var(--kosc); white-space: nowrap; }
.nav-acct:hover { border-color: var(--kosc); }
.nav-acct .ic { font-size: 20px; color: var(--ogien-jasny); }
.nav-acct.is-ready { border-color: var(--ogien); box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.2); }
.nav-acct small { font-size: 13px; font-weight: 700; color: var(--mgla-300); }
.sheet a.sheet-acct { display: flex; align-items: center; gap: 12px; }
.sheet a.sheet-acct .ic, .sheet a.sheet-acct .sic { color: var(--ogien-jasny); }
.sheet a.sheet-acct small { font: 700 15px/1 var(--body); text-transform: none; letter-spacing: 0; color: var(--mgla-300); margin-left: auto; }
@media (max-width: 1260px) { .nav .brand b { display: none; } .nav .wrap { gap: 16px; } }

/* ---------- złoty nick (nagroda z koła) ---------- */
.nick.is-gold {
  background: linear-gradient(100deg, #f2b544 0%, #fff3c4 30%, #f7cd7c 50%, #e09a1f 75%, #f2b544 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 800;
  animation: goldshine 3.6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(242, 181, 68, 0.35));
}
.light .nick.is-gold { background-image: linear-gradient(100deg, #a8650a 0%, #e09a1f 30%, #c27d0e 50%, #8a5206 75%, #a8650a 100%); filter: none; }
@keyframes goldshine { to { background-position: -220% 0; } }

/* ---------- koło fortuny ---------- */
.page-head.is-compact { padding: calc(var(--nav-h) + clamp(20px, 3vw, 36px)) 0 clamp(8px, 1.5vw, 16px); }
.page-head.is-compact h1 { font-size: clamp(46px, 6.4vw, 88px); overflow-wrap: anywhere; }
.page-head.is-compact .lead { margin-top: 8px; font-size: clamp(16px, 1.3vw, 18px); max-width: 68ch; }
.band-wheel { padding-top: clamp(24px, 3vw, 40px); }
.wheel-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wheel-stage { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.wheel-stage::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 43, 0.28), rgba(255, 106, 43, 0) 100%); filter: blur(34px); z-index: 0; transition: opacity 0.4s; opacity: 0.55; }
.wheel-stage.is-spinning::before { opacity: 1; }
.wheel-svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 26px 40px rgba(6, 10, 14, 0.65)); }
.wheel-rot { transform-origin: 0 0; will-change: transform; }
.wheel-svg text { font-family: var(--display); font-weight: 800; text-anchor: middle; letter-spacing: 0.04em; pointer-events: none; }
.wheel-svg .w-main { font-size: 21px; }
.wheel-svg .w-cap { font: 800 9px/1 var(--body); letter-spacing: 0.08em; opacity: 0.82; }
.wheel-svg .w-pct { font: 700 10px/1 var(--body); letter-spacing: 0.04em; opacity: 0.6; }
.wheel-seg.is-win { animation: segwin 0.5s ease-in-out 5; }
@keyframes segwin { 50% { filter: brightness(1.7); } }
.wheel-pointer { position: absolute; z-index: 3; left: 50%; top: -3.2%; width: 9.5%; height: auto; transform: translateX(-50%); transform-origin: 50% 18%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)); }
.wheel-pointer.is-tick { animation: ptick 0.11s ease-out; }
@keyframes ptick { 40% { transform: translateX(-50%) rotate(-16deg); } }
.wheel-hub { position: absolute; z-index: 2; left: 50%; top: 50%; width: 23%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3a5166, #131b23 70%); border: 3px solid #0d1319; box-shadow: 0 0 0 5px rgba(255, 106, 43, 0.85), 0 10px 24px rgba(0, 0, 0, 0.6); display: grid; place-items: center; }
.wheel-hub img { width: 76%; height: 76%; object-fit: contain; }
.wheel-side { display: grid; gap: 18px; }
.wallet { padding: 22px 24px; border-radius: var(--r-panel); background: var(--stal-800); border: 1px solid var(--line); display: grid; gap: 14px; }
.wallet-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wallet-pts { font: 900 clamp(52px, 7vw, 76px)/0.9 var(--display); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.wallet-pts small { font: 700 18px/1 var(--body); letter-spacing: 0; color: var(--text-2); margin-left: 8px; }
.wallet-tok { text-align: right; font-size: 15px; color: var(--text-2); }
.wallet-tok b { display: block; font: 800 30px/1 var(--display); color: var(--ogien-jasny); }
.wallet .meter { height: 10px; background: var(--stal-950); }
.wallet .meter i { background: linear-gradient(90deg, var(--ogien-ciemny), var(--ogien-jasny)); }
.wallet-note { font-size: 14px; color: var(--text-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-spin { min-height: 68px; font-size: 28px; letter-spacing: 0.04em; box-shadow: 0 14px 30px -12px rgba(255, 106, 43, 0.7); }
.btn-spin small { font: 700 14px/1 var(--body); letter-spacing: 0; text-transform: none; opacity: 0.85; margin-left: 4px; }
.btn-steam { background: #1b2838; color: #fff; border-color: #2a475e; }
.btn-steam:hover { background: #2a475e; }
.pity { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.pity-dots { display: inline-flex; gap: 5px; }
.pity-dots i { width: 22px; height: 8px; border-radius: 99px; background: var(--stal-700); }
.pity-dots i.on { background: var(--ogien); }
.pity-dots i.sure { background: var(--ok); box-shadow: 0 0 0 3px rgba(76, 198, 141, 0.25); }
.odds { width: 100%; border-collapse: collapse; font-size: 15px; }
.odds th { text-align: left; font-size: 13px; font-weight: 700; color: var(--text-3); padding: 0 0 8px; }
.odds th:last-child, .odds td:last-child { text-align: right; }
.odds td { padding: 9px 0; border-top: 1px solid var(--line); }
.odds td:first-child { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.odds .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.odds td:last-child { font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 700; }
.odds tr.is-top td:first-child { color: var(--ogien-jasny); }
.odds tr.is-bad td:first-child { color: var(--text-2); font-weight: 600; }
.sound-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; font-weight: 700; color: var(--text-2); }
.sound-btn:hover { color: var(--text); border-color: var(--text); }
.howto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.howto li { padding: 22px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.howto .ic { font-size: 28px; color: var(--accent-text); }
.howto b { font-size: 18px; }
.howto p { font-size: 15px; color: var(--text-2); }
.howto em { margin-top: auto; padding-top: 8px; font-style: normal; font: 800 24px/1 var(--display); letter-spacing: 0.02em; color: var(--accent-text); }
.wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wins li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 16px; border-radius: 10px; background: var(--stal-850); border: 1px solid var(--line); }
.wins li.is-big { border-color: rgba(255, 106, 43, 0.55); }
.wins .who { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.wins a.who:hover { text-decoration: underline; text-underline-offset: 3px; }
.wins .what { grid-column: 1; font-size: 14px; color: var(--text-2); }
.wins li.is-big .what { color: var(--ogien-jasny); font-weight: 700; }
.wins li.is-bad { border-color: rgba(217, 72, 59, 0.45); }
.wins li.is-bad .what { color: #f29b92; }
.wins time { grid-row: 1 / span 2; grid-column: 2; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.notes { display: grid; }
.notes li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.notes li:first-child { border-top: 0; padding-top: 0; }
.notes b { color: var(--text); }
.fineprint { font-size: 14px; color: var(--text-3); max-width: 80ch; }
.fineprint a { color: var(--text-2); }

/* okno wygranej */
.win { text-align: center; padding: 34px 26px 28px; display: grid; gap: 14px; justify-items: center; position: relative; overflow: hidden; }
.win-badge { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; font-size: 52px; color: var(--on-accent); background: radial-gradient(circle at 35% 30%, #ffb38a, var(--ogien) 60%, var(--ogien-ciemny)); box-shadow: 0 0 0 8px rgba(255, 106, 43, 0.18), 0 18px 40px -12px rgba(255, 106, 43, 0.8); animation: winpop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.win-badge.gold { background: radial-gradient(circle at 35% 30%, #fff3c4, #f2b544 60%, #c27d0e); box-shadow: 0 0 0 8px rgba(242, 181, 68, 0.18), 0 18px 40px -12px rgba(242, 181, 68, 0.8); }
.win-badge.green { background: radial-gradient(circle at 35% 30%, #b9f3d5, #4cc68d 60%, #1f7a48); box-shadow: 0 0 0 8px rgba(76, 198, 141, 0.18), 0 18px 40px -12px rgba(76, 198, 141, 0.8); }
.win-badge.bad { color: #ffe3de; background: radial-gradient(circle at 35% 30%, #e0584c, #a3221b 60%, #5c1210); box-shadow: 0 0 0 8px rgba(217, 72, 59, 0.2), 0 18px 40px -12px rgba(217, 72, 59, 0.8); }
.win-badge.calm { background: radial-gradient(circle at 35% 30%, #5d7890, var(--stal-600) 60%, var(--stal-700)); color: var(--kosc); box-shadow: 0 0 0 8px rgba(182, 197, 208, 0.12); }
@keyframes winpop { from { transform: scale(0.3) rotate(-25deg); opacity: 0; } }
.win small { font-size: 14px; font-weight: 800; letter-spacing: 0.14em; color: var(--text-2); }
.win h3 { font: 900 clamp(38px, 6vw, 54px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.win p { color: var(--text-2); max-width: 40ch; }
.win .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 95; pointer-events: none; }

/* ---------- profil gracza ---------- */
.prof-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.prof-head .insignia { width: 64px; height: 64px; color: var(--ogien-jasny); flex: none; }
.prof-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.prof-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.card { padding: 22px 24px; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--line); }
.card > h3 { font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card > h3 span { font: 600 14px/1.2 var(--body); text-transform: none; letter-spacing: 0; color: var(--text-2); }
.boosts { display: flex; gap: 8px; flex-wrap: wrap; }
.boost { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; font-size: 14px; font-weight: 700; background: rgba(255, 106, 43, 0.14); color: var(--ogien-jasny); }
.boost.gold { background: rgba(242, 181, 68, 0.16); color: #f7cd7c; }
.boost.off { background: rgba(182, 197, 208, 0.12); color: var(--text-2); }
.bons { display: grid; gap: 12px; }
.bon { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); border-radius: 12px; background: linear-gradient(135deg, #2c3f51, #233241); border: 1px solid rgba(255, 106, 43, 0.45); overflow: hidden; }
.bon::before, .bon::after { content: ""; position: absolute; left: 104px; width: 16px; height: 16px; border-radius: 50%; background: var(--panel); border: 1px solid rgba(255, 106, 43, 0.45); }
.bon::before { top: -9px; }
.bon::after { bottom: -9px; }
.bon-days { display: grid; place-content: center; text-align: center; padding: 16px 8px; background: linear-gradient(160deg, var(--ogien), var(--ogien-ciemny)); color: var(--on-accent); border-right: 2px dashed rgba(29, 18, 6, 0.45); }
.bon-days b { font: 900 46px/0.85 var(--display); }
.bon-days span { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.bon-body { padding: 14px 18px; display: grid; gap: 8px; align-content: center; }
.bon-body b { font-size: 17px; }
.bon-body span { font-size: 14px; color: var(--text-2); }
.bon-body .btn { justify-self: start; }
.bon.is-used, .bon.is-expired { border-color: var(--line); filter: saturate(0.45); opacity: 0.8; }
.bon.is-used .bon-days, .bon.is-expired .bon-days { background: var(--stal-600); color: var(--kosc); }
.qrows { display: grid; gap: 8px; }
.qrow { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--stal-900); border: 1px solid var(--line); font-size: 15px; }
.qrow b { font-weight: 800; }
.qrow span { color: var(--text-2); text-align: right; }
.plog { display: grid; }
.plog li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plog li:first-child { border-top: 0; padding-top: 0; }
.plog time { grid-column: 1; font-size: 13px; color: var(--text-3); }
.plog b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.plog b.plus { color: #7fe0b1; }
.plog b.minus { color: #ff9c9c; }
.plog b.zero { color: var(--text-3); font-size: 16px; }
.code-row { display: flex; gap: 10px; }
.code-row .field { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.ach { position: relative; }
.ach.has-pts b { padding-right: 62px; }
.ach .pts { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; background: rgba(182, 197, 208, 0.14); color: var(--text-2); }
.ach.is-done .pts { background: rgba(255, 106, 43, 0.18); color: var(--ogien-jasny); }
.ach.is-pre .pts { background: rgba(182, 197, 208, 0.14); color: var(--text-3); text-decoration: line-through; }
.achs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.ach-tabs { display: flex; flex-wrap: wrap; overflow: visible; margin-bottom: 14px; }
.ach-tabs button { height: 36px; padding: 0 12px; font-size: 14px; }
.ach-tabs small { font-size: 12px; font-weight: 700; opacity: 0.7; margin-left: 2px; }
.login-box { max-width: 620px; margin-inline: auto; text-align: center; padding: clamp(28px, 5vw, 48px); display: grid; gap: 18px; justify-items: center; }
.login-box .ic-shield-star { font-size: 54px; color: var(--ogien-jasny); }
.login-box ul { text-align: left; display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.login-box li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.login-box li .ic { color: var(--ok); font-size: 20px; margin-top: 1px; }

/* ---------- koło na stronie głównej ---------- */
.wheel-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-panel); background: linear-gradient(120deg, rgba(255, 106, 43, 0.2), rgba(255, 106, 43, 0) 55%), var(--stal-800); border: 1px solid rgba(255, 106, 43, 0.4); }
.wheel-teaser .mini { width: 116px; height: 116px; animation: spin 26s linear infinite; }
.wheel-teaser h3 { font: 900 clamp(34px, 4.4vw, 52px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.wheel-teaser p { color: var(--text-2); margin-top: 8px; max-width: 62ch; }
.wheel-teaser .last { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ogien-jasny); }

/* ---------- sklep: przedłużanie ---------- */
.offer-ext { font-size: 14px; color: var(--text-2); margin-top: -4px; }
.res-ext { margin-top: 12px; }

@media (max-width: 1100px) {
  .wheel-grid, .prof-grid { grid-template-columns: minmax(0, 1fr); }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .achs-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wins { grid-template-columns: 1fr; }
  .wheel-teaser { grid-template-columns: 1fr; text-align: left; }
  .wheel-teaser .mini { width: 84px; height: 84px; }
}
@media (max-width: 560px) {
  .howto, .achs-3 { grid-template-columns: 1fr; }
  /* Na telefonie zostaje sam główny napis pola (szanse są w tabeli pod kołem) */
  .wheel-svg .w-cap { display: none; }
  .wheel-svg .w-main { font-size: 24px; transform: translateY(8px); }
  .bon { grid-template-columns: 92px minmax(0, 1fr); }
  .bon::before, .bon::after { left: 84px; }
  .code-row { flex-direction: column; }
  .code-row .field { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nick.is-gold, .wheel-teaser .mini, .win-badge, .wheel-seg.is-win { animation: none; }
}

/* =====================================================================
   KRÓTSZE STRONY (v23): zakładki zamiast długiego przewijania,
   zwarte rozkazy, liderzy w jednym pasku
   ===================================================================== */
.is-away { display: none !important; }
.band-slim { padding: clamp(30px, 4vw, 52px) 0; }
.lead-wide { max-width: none; }
#rozkazy > .wrap > .lead { margin-bottom: 14px; font-size: clamp(16px, 1.3vw, 18px); }
.page-head.has-tabs .lead { max-width: none; }
.band-head-tight { align-items: center; flex-wrap: nowrap; margin-bottom: clamp(16px, 2.2vw, 24px); }
.band-head-tight > div { flex: 1; min-width: 0; }
.band-head-tight > .btn { flex: none; }
.band-head-tight .lead { margin-top: 8px; font-size: clamp(16px, 1.3vw, 18px); }

/* ---------- zakładki ---------- */
.tabs { display: flex; gap: 0 clamp(18px, 2.6vw, 34px); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs.is-single { display: none; }
.tabs > a, .tabs > button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 0 15px; border: 0; background: none; font: 800 clamp(20px, 2vw, 26px)/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); text-decoration: none; white-space: nowrap; cursor: pointer; }
.tabs > [hidden] { display: none; }
.tabs > a:hover, .tabs > button:hover { color: var(--text); }
.tabs > [aria-current="true"] { color: var(--kosc); }
.tabs > a::after, .tabs > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--ogien); transform: scaleX(0); transform-origin: left center; transition: transform 0.22s ease; }
.tabs > [aria-current="true"]::after { transform: scaleX(1); }
.tabs small { padding: 3px 8px; border-radius: 99px; font: 800 13px/1 var(--body); letter-spacing: 0; background: rgba(182, 197, 208, 0.16); color: var(--mgla-300); }
.tabs small[hidden] { display: none; }
.tabs small.is-full { background: rgba(76, 198, 141, 0.2); color: #7fe0b1; }
.page-head.has-tabs { padding-bottom: 0; border-bottom: 1px solid var(--line); }
.page-head.has-tabs .tabs { margin-top: clamp(12px, 1.8vw, 20px); }
.page-head.has-tabs .tabs > a { text-shadow: 0 2px 10px rgba(10, 16, 22, 0.7); }
/* wejście z adresem ranking#rozkazy: przeglądarka nie przewija do sekcji, strona zostaje na górze z zakładkami */
.page-head.has-tabs ~ main > [data-pane]:not(#tabela) { scroll-margin-top: 100vh; }

/* ---------- strona główna: ranking w jednym miejscu ---------- */
.zone-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 40px; margin-bottom: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.zone-head .h2 { padding-bottom: 12px; }
.zone .week { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.zone .week .btn { margin-top: 24px; }
.zone-lead { margin-bottom: 22px; }
.zone-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; margin-bottom: 22px; }
#rozkazy.band-slim:not([hidden]) + #koloBand { padding-top: 0; }

/* ---------- ranking: liderzy jako jeden pasek nad tabelą ---------- */
.mini-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.mini-head h2 { font: 800 28px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.mini-head p { font-size: 15px; color: var(--text-2); }
.leader { padding: 13px 16px 12px; }
.leader .ic { position: absolute; top: 12px; right: 12px; font-size: 18px; opacity: 0.85; }
.leader .cat { margin-top: 0; padding-right: 22px; font-size: 13.5px; }
.leader .val { font-size: 30px; margin: 6px 0 4px; }
.leader .who { display: block; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal; }
.specs { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.spec { flex-direction: row; align-items: center; gap: 12px; padding: 8px 10px; }
.spec-head { flex: none; display: inline-flex; align-items: center; gap: 8px; min-width: 196px; padding: 4px 8px 4px 4px; border: 0; border-radius: 10px; background: none; color: var(--text); cursor: pointer; }
.spec-head:hover { background: var(--stal-850); }
.spec-head > .ic:first-child { font-size: 22px; padding: 6px; border-radius: 9px; }
.spec-head > .ic:last-child { font-size: 14px; padding: 0; border: 0; background: none; color: var(--text-3); }
.spec-head b { display: inline; font-size: 21px; line-height: 1; }
.spec-list { flex: 1; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec-list button { padding: 7px 10px; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; }
.spec-list .pos { font-size: 16px; }
.spec-list .v b { font-size: 15px; }

/* ---------- rozkazy: wąskie wiersze ---------- */
.ord-sum { gap: 8px 26px; margin-bottom: 14px; padding: 10px 16px; font-size: 15px; }
.ord-sum b { font-size: 22px; }
.ord-sum .ord-left { margin-left: auto; font-size: 14px; }
.ch-reset.ord-left .ic, .ord-cols .ch-reset .ic { font-size: 16px; }
.ord-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; align-items: start; }
.ord-cols .ord-h { align-items: center; min-height: 30px; margin-bottom: 10px; }
.ord-cols .ord-h h3 { font-size: 26px; }
.ord-cols .ch-reset { gap: 6px; font-size: 14px; font-weight: 700; }
.ord-cols .ord-board small { min-width: 0; }
.ord-cols .ord-board li { gap: 10px; padding: 12px 14px; }
.ord-empty { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 15px; color: var(--text-2); }
.ords { display: grid; gap: 7px; }
.page-head.has-tabs ~ main > #rozkazy.band-slim { padding-top: clamp(20px, 2.2vw, 28px); }
.ords-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 8px 12px; }
.ord { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 8px 14px 10px 10px; border-radius: 12px; background: var(--stal-850); border: 1px solid var(--line); overflow: hidden; }
.band-slim .ord, .band-slim .ord-sum, .band-slim .ord-board li { background: var(--stal-800); }
.ord-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 106, 43, 0.12); color: var(--ogien-jasny); font-size: 19px; }
.ord-t { min-width: 0; }
.ord-t b { display: block; font-size: 16px; font-weight: 800; line-height: 1.25; }
.ord-t span { display: block; margin-top: 1px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.ord-sredni .ord-t span { color: #f7cd7c; }
.ord-trudny .ord-t span { color: var(--ogien-jasny); }
.ord.is-spec .ord-t span { color: #9cc8f2; }
.ord.is-spec .ord-ic { background: rgba(61, 139, 217, 0.16); color: #9cc8f2; }
.ord-r { text-align: right; white-space: nowrap; }
.ord-r b { display: block; font: 800 19px/1.1 var(--display); letter-spacing: 0.02em; }
.ord-r span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }
.ord-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(182, 197, 208, 0.1); }
.ord-bar i { display: block; height: 100%; background: var(--ogien); }
.ord.is-done { border-color: rgba(76, 198, 141, 0.5); }
.ord.is-done .ord-ic { background: rgba(76, 198, 141, 0.14); color: var(--ok); }
.ord.is-done .ord-bar i { background: var(--ok); }
.ord.is-done .ord-r span { color: #7fe0b1; }
.ord.is-fresh { animation: ordDone 1.4s ease-out 1; }

@media (max-width: 1100px) {
  .ord-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ord-col-board { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .zone .week { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ord-cols, .ords-2 { grid-template-columns: minmax(0, 1fr); }
  .ords-2 { grid-template-rows: none; grid-auto-flow: row; }
  .ord-sum .ord-left { margin-left: 0; }
  .spec { flex-direction: column; align-items: stretch; }
  .spec-head { min-width: 0; }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .band-head-tight { flex-wrap: wrap; align-items: flex-start; }
  .band-head-tight > div { flex-basis: 100%; }
  /* liderzy na telefonie: jeden pasek przesuwany palcem zamiast czterech rzędów kart */
  .leaders { display: flex; gap: 10px; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .leaders::-webkit-scrollbar { display: none; }
  .leader { flex: 0 0 158px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .tabs > a::after, .tabs > button::after { transition: none; }
  .ord.is-fresh { animation: none; }
}

/* ---- Sklep: dodatkowe dni do zakupu („+2 dni gratis”, ustawiane w panelu admina) ---- */
.bonus-note { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-panel); background: rgba(242, 181, 68, 0.12); border: 1px solid rgba(242, 181, 68, 0.45); color: var(--text); margin-bottom: 24px; }
.bonus-note .ic { font-size: 30px; color: var(--uwaga); flex-shrink: 0; }
.bonus-note b { display: block; font: 800 20px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: #f7d48f; }
.bonus-note span { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }
.bonus-note span:empty { display: none; }
.price .bonus-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(242, 181, 68, 0.16); color: #f7d48f; border: 1px solid rgba(242, 181, 68, 0.45); font-size: 14px; font-weight: 800; padding: 3px 9px; border-radius: 6px; }
.price .bonus-tag .ic { font-size: 15px; }
.ticks b { color: #f7d48f; font-weight: 800; }
@media (max-width: 560px) { .bonus-note { align-items: flex-start; padding: 14px 16px; } .bonus-note b { font-size: 17px; } }
.offer .btn.offer-extbtn { margin-top: 0; background: transparent; color: var(--text); border: 1px solid var(--c); }
.offer .btn.offer-extbtn:hover { background: color-mix(in srgb, var(--c) 18%, transparent); filter: none; }

/* ---------- Gracze sezonów (ranking): dyskretny pasek nad liderami ---------- */
.band-hall { padding: 18px 0 0; }
.hall { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(19, 27, 35, 0.35); font-size: 14px; }
.hall-k { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.hall-k .ic { color: #f2c14e; font-size: 15px; }
.hall-top { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; min-width: 0; }
.hall-top button, .hall-old button { display: inline-flex; align-items: center; max-width: 100%; padding: 2px 0; border: 0; background: none; color: var(--text); font-weight: 700; text-align: left; }
.hall-top button:hover .nick, .hall-old button:hover .nick { text-decoration: underline; text-underline-offset: 3px; }
.hall-top .cup { width: 20px; height: 20px; font-size: 12px; margin-right: 6px; vertical-align: 0; }
.hall-old { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin-left: auto; }
.hall-old button { font-weight: 600; font-size: 13px; color: var(--text-3); gap: 4px; }
.hall-old button .nick { color: var(--text-2); }
@media (max-width: 560px) {
  .hall-old { margin-left: 0; }
}

/* ---------- Poprzedni sezon w karierze gracza i w profilu ---------- */
.past-title { display: flex; align-items: center; gap: 2px; margin: 0 0 10px; font-size: 15px; }
.past-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.past-seasons { display: grid; gap: 12px; }
.past-row { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; }
.past-row h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 20px/1.1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.past-row .past-nums { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.past-row .past-nums b { color: var(--text); font-variant-numeric: tabular-nums; }
