/* dududaniel.com — customy LoL. Ciemny motyw w barwach kanału (Unbounded + Outfit, pomarańcz i złoto). */
:root {
  color-scheme: dark;
  --bg: #0b0907;
  --bg2: #100c09;
  --card: #17120e;
  --card2: #1e1813;
  --card3: #261f18;
  --line: #2e261d;
  --line2: #3b3127;
  --ink: #f6efe4;
  --ink2: #cfc5b6;
  --muted: #8f8475;
  --accent: #ff9d3a;
  --accent2: #e2c27a;
  --accent-ink: #1b0f04;
  --blue: #3987e5;
  --red: #e66767;
  --blue-wash: rgba(57, 135, 229, .12);
  --red-wash: rgba(230, 103, 103, .12);
  --good: #0ca30c;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --f-title: 'Unbounded', system-ui, sans-serif;
  --f-text: 'Outfit', system-ui, sans-serif;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-text);
  -webkit-font-smoothing: antialiased; min-height: 100vh;
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 157, 58, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(226, 194, 122, .06), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.num, td, .tile-value { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 700; letter-spacing: -.01em; margin: 0; line-height: 1.15; }
h2 { font-size: 22px; }
h3 { font-size: 15px; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink2); }
.eyebrow { font: 600 12px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11, 9, 7, .72); border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-title); font-weight: 800; font-size: 19px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), #ff6a2b); color: var(--accent-ink);
  box-shadow: 0 6px 18px -6px rgba(255, 120, 40, .7);
}
.logo small { display: block; font: 500 11px/1 var(--f-text); color: var(--muted); letter-spacing: .08em; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink2); font-weight: 500; font-size: 15px; transition: .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-links a.on { color: var(--accent-ink); background: var(--accent); }
.search { margin-left: auto; position: relative; width: 280px; }
.search input {
  width: 100%; height: 40px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card);
  color: var(--ink); padding: 0 16px 0 40px; font: 500 15px var(--f-text); outline: none; transition: .15s;
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 157, 58, .15); }
.search svg { position: absolute; left: 14px; top: 12px; width: 16px; height: 16px; color: var(--muted); }
.search-res {
  position: absolute; top: 48px; left: 0; right: 0; background: var(--card2); border: 1px solid var(--line2);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; display: none;
}
.search-res.on { display: block; }
.search-res a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.search-res a:hover, .search-res a.sel { background: var(--card3); }
.search-res img { width: 30px; height: 30px; border-radius: 8px; }
.search-res .r { margin-left: auto; font-size: 13px; color: var(--muted); }
.nav-tw svg { width: 18px; height: 18px; flex: none; }
.nav-tw {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: #9146ff; color: #fff; font-weight: 600; font-size: 14px;
}
.burger { display: none; }

/* ---------- elementy ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 20px; }
.section { margin: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head a { color: var(--accent); font-weight: 600; font-size: 14px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--card3); border: 1px solid var(--line2); font-size: 13px; font-weight: 500; color: var(--ink2);
  white-space: nowrap;
}
.chip img { width: 16px; height: 16px; border-radius: 4px; }
.chip.acc { background: rgba(255, 157, 58, .14); border-color: rgba(255, 157, 58, .35); color: var(--accent); }
.chip.gold { background: rgba(226, 194, 122, .12); border-color: rgba(226, 194, 122, .35); color: var(--accent2); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--line2); background: var(--card2); transition: .15s;
}
.btn:hover { border-color: var(--accent); }
.btn.pri { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.pri:hover { filter: brightness(1.08); }
.btn.tw { background: #9146ff; border-color: transparent; color: #fff; }
.btn.dc { background: #5865f2; border-color: transparent; color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ikony LoL */
.ci { width: 40px; height: 40px; border-radius: 10px; background: var(--card3); flex: none; }
.ci.s { width: 28px; height: 28px; border-radius: 7px; }
.ci.l { width: 56px; height: 56px; border-radius: 14px; }
.ci.xl { width: 88px; height: 88px; border-radius: 22px; }
.champ { position: relative; flex: none; }
.champ .lvl {
  position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 6px;
  background: var(--bg); border: 1px solid var(--line2); font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.items { display: flex; gap: 3px; }
.items .it { width: 26px; height: 26px; border-radius: 6px; background: var(--card3); }
.items .it.e { background: rgba(255, 255, 255, .03); border: 1px dashed var(--line2); }
.spells { display: grid; grid-template-columns: 18px; gap: 3px; }
.spells img, .spells span { width: 18px; height: 18px; border-radius: 5px; background: var(--card3); }
.rune { width: 22px; height: 22px; border-radius: 50%; background: #000; padding: 1px; }

/* rangi */
.tier { --t: var(--muted); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.tier::before {
  content: ''; width: 10px; height: 10px; transform: rotate(45deg); border-radius: 2px; background: var(--t);
  box-shadow: 0 0 10px var(--t);
}
.tier.IRON { --t: #8a8582; } .tier.BRONZE { --t: #b8754a; } .tier.SILVER { --t: #a7b1bd; }
.tier.GOLD { --t: #e8b64c; } .tier.PLATINUM { --t: #43bfae; } .tier.EMERALD { --t: #2fc27a; }
.tier.DIAMOND { --t: #7c95ff; } .tier.MASTER { --t: #c066e8; } .tier.GRANDMASTER { --t: #e05252; }

/* ocena */
.score {
  display: inline-grid; place-items: center; min-width: 46px; height: 28px; padding: 0 8px; border-radius: 8px;
  font: 700 14px var(--f-title); background: var(--card3); color: var(--ink);
}
.score.hi { background: linear-gradient(135deg, var(--accent), #ffb86b); color: var(--accent-ink); }
.score.mid { background: rgba(226, 194, 122, .16); color: var(--accent2); }
.badge {
  display: inline-grid; place-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font: 800 10px var(--f-title);
  letter-spacing: .06em;
}
.badge.mvp { background: var(--accent); color: var(--accent-ink); }
.badge.ace { background: #8a6cf0; color: #fff; }

/* wyniki */
.wl-w { color: var(--blue); } .wl-l { color: var(--red); }
.bar { height: 6px; border-radius: 999px; background: var(--card3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.wr-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; }
.wr-bar i { background: var(--blue); border-radius: 999px 0 0 999px; }
.wr-bar b { background: var(--red); border-radius: 0 999px 999px 0; flex: 1; }

/* kafelki liczb */
.tile { padding: 18px 20px; }
.tile-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.tile-value { font: 700 28px/1.1 var(--f-title); margin-top: 6px; }
.tile-sub { font-size: 13px; color: var(--ink2); margin-top: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0 0 0 30%; opacity: .55; background-size: cover; background-position: center 18%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(11, 9, 7, .55) 55%, rgba(11, 9, 7, .2)),
    linear-gradient(0deg, var(--bg) 2%, transparent 50%);
}
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 66px); font-weight: 800; max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 19px; color: var(--ink2); max-width: 620px; margin: 18px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; max-width: 900px; }
.counter { padding: 16px 18px; border-radius: 14px; background: rgba(23, 18, 14, .7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.counter b { display: block; font: 800 32px/1 var(--f-title); }
.counter span { font-size: 14px; color: var(--muted); }

/* podium */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; }
.pod { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: transform .2s; }
.pod:hover { transform: translateY(-4px); }
.pod.p1 { min-height: 360px; border-color: rgba(255, 157, 58, .5); box-shadow: 0 30px 60px -30px rgba(255, 140, 40, .55); }
.pod-bg { position: absolute; inset: 0; background-size: cover; background-position: center 20%; }
.pod-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 18%, rgba(11, 9, 7, .25) 70%, rgba(11, 9, 7, .1)); }
.pod > *:not(.pod-bg) { position: relative; }
.pod-place { position: absolute !important; top: 16px; left: 16px; font: 800 40px/1 var(--f-title); color: rgba(255, 255, 255, .9); text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.pod.p1 .pod-place { color: var(--accent); }
.pod-name { font: 700 22px var(--f-title); }
.pod-stats { display: flex; gap: 14px; margin-top: 8px; color: var(--ink2); font-size: 14px; flex-wrap: wrap; }
.pod-stats b { color: var(--ink); }

/* karty ról */
.rolecard { padding: 18px; position: relative; overflow: hidden; }
.rolecard .rbg { position: absolute; inset: 0; background-size: cover; background-position: center 18%; opacity: .22; }
.rolecard .rbg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--card) 35%, transparent); }
.rolecard > *:not(.rbg) { position: relative; }
.role-name { display: flex; align-items: center; gap: 8px; font: 700 13px var(--f-title); letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); }
.role-ico { width: 22px; height: 22px; opacity: .9; }
.leader { display: block; margin: 16px 0 12px; }
.leader-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.leader b { font: 700 16px var(--f-title); display: block; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader .muted { font-size: 13px; }
.runner > span:nth-child(3) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.runner .v { flex: none; }
.runner { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.runner .n { width: 16px; color: var(--muted); font-weight: 700; }
.runner .v { margin-left: auto; font-weight: 600; }

/* ---------- lista gier (historia) ---------- */
.match {
  display: grid; grid-template-columns: 6px 104px 56px 138px 200px minmax(0, 1fr) 64px; align-items: center; gap: 14px;
  padding: 12px 16px 12px 0; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  margin-bottom: 8px; transition: .15s; position: relative; overflow: hidden;
}
.match:hover { border-color: var(--line2); background: var(--card2); }
.match .stripe { align-self: stretch; }
.match.w { background: linear-gradient(90deg, var(--blue-wash), var(--card) 40%); }
.match.l { background: linear-gradient(90deg, var(--red-wash), var(--card) 40%); }
.match.w .stripe { background: var(--blue); } .match.l .stripe { background: var(--red); }
.match .res b { display: block; font: 700 15px var(--f-title); }
.match.w .res b { color: var(--blue); } .match.l .res b { color: var(--red); }
.match .res > span { font-size: 13px; color: var(--muted); display: block; }
.match[data-href] { cursor: pointer; }
.match .kda b { font: 700 17px var(--f-title); }
.match .kda > span { font-size: 13px; color: var(--muted); display: block; }
.match .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; font-size: 12px; color: var(--ink2); }
.match .mini { min-width: 0; }
.match .mini > div { min-width: 0; }
.match .mini a { display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.match .mini a:hover { color: var(--ink); }
.match .mini img { width: 16px; height: 16px; border-radius: 4px; }
.match .mini .me { color: var(--accent); font-weight: 600; }

/* lista gier dnia */
.game-row { display: grid; grid-template-columns: 70px 1fr 100px 1fr 90px; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); transition: .15s; }
.game-row:hover { background: var(--card2); }
.game-row .team { display: flex; gap: 4px; }
.game-row .team.r { justify-content: flex-end; }
.game-row .team img { width: 34px; height: 34px; border-radius: 9px; }
.game-row .team.lost img { opacity: .45; filter: grayscale(.6); }
.game-row .mid { text-align: center; font: 700 14px var(--f-title); }
.game-row .mid span { display: block; font: 500 12px var(--f-text); color: var(--muted); }

/* ---------- profil ---------- */
.ph { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center 18%; opacity: .5; }
.ph-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 22%, rgba(11, 9, 7, .55) 60%, rgba(11, 9, 7, .25)), linear-gradient(0deg, var(--bg), transparent 60%); }
.ph .wrap { position: relative; padding-top: 48px; padding-bottom: 36px; display: flex; gap: 26px; align-items: flex-end; }
.ph-icon { position: relative; }
.ph-icon img { width: 112px; height: 112px; border-radius: 28px; border: 3px solid var(--accent); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8); }
.ph-icon .lvl { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); }
.ph h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.ph .tagline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ph .ranks { margin-left: auto; display: flex; gap: 12px; }
.rank-box { padding: 14px 18px; border-radius: 14px; background: rgba(23, 18, 14, .8); border: 1px solid var(--line2); min-width: 190px; backdrop-filter: blur(6px); }
.rank-box .tile-label { margin-bottom: 6px; }
.rank-box .tier { font: 700 18px var(--f-title); }
.rank-box small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.layout2 { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 20px; align-items: start; }
.side > .card { margin-bottom: 16px; }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kv:first-of-type { border-top: 0; }
.kv span { color: var(--muted); }
.role-row { display: grid; grid-template-columns: 24px 70px 1fr 54px; gap: 10px; align-items: center; padding: 8px 0; font-size: 14px; }
.role-row .bar { height: 8px; }
.ch-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ch-row:first-of-type { border-top: 0; }
.ch-row b { display: block; font-weight: 600; }
.ch-row small { color: var(--muted); }
.ch-row .r { text-align: right; }
.duo-row { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.duo-row img { width: 30px; height: 30px; border-radius: 8px; }

/* ---------- strona gry ---------- */
.gh { padding: 36px 0 24px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 157, 58, .06), transparent); }
.gh-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gh h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 26px; }
.vs-team { display: flex; align-items: center; gap: 14px; }
.vs-team.r { flex-direction: row-reverse; text-align: right; }
.vs-team .big { font: 800 44px/1 var(--f-title); }
.vs-team.b .big { color: var(--blue); } .vs-team.r .big { color: var(--red); }
.vs-team .lbl { font: 700 14px var(--f-title); letter-spacing: .08em; text-transform: uppercase; }
.vs-team .lbl small { display: block; font: 500 13px var(--f-text); letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 4px; }
.vs-mid { text-align: center; color: var(--muted); font-size: 14px; }
.vs-mid b { display: block; font: 700 20px var(--f-title); color: var(--ink); }
.obj { display: flex; gap: 10px; flex-wrap: wrap; }
.vs-team.r .obj { justify-content: flex-end; }
.obj span { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink2); }
.obj svg { width: 16px; height: 16px; }
.board { overflow: hidden; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px; font: 700 14px var(--f-title); letter-spacing: .06em; text-transform: uppercase; }
.board.b .board-head { background: var(--blue-wash); border-bottom: 2px solid var(--blue); }
.board.r .board-head { background: var(--red-wash); border-bottom: 2px solid var(--red); }
.board-head .res { margin-left: auto; font-size: 13px; }
.prow { display: grid; grid-template-columns: 44px 22px 22px minmax(120px, 1fr) 96px 64px 150px 64px 196px; gap: 12px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.prow:first-of-type { border-top: 0; }
.prow.me { background: rgba(255, 157, 58, .06); }
.prow .who b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .who small { color: var(--muted); font-size: 12px; }
.prow .kda b { font-weight: 700; }
.prow .kda small { display: block; color: var(--muted); font-size: 12px; }
.dmg { font-size: 12px; color: var(--ink2); }
.dmg .bar { margin-top: 4px; height: 6px; }
.dmg-split { display: flex; height: 6px; border-radius: 999px; overflow: hidden; gap: 2px; margin-top: 4px; }
.dmg-split i { display: block; }
.dmg-split .f { background: #d95926; } .dmg-split .m { background: #9085e9; } .dmg-split .t { background: #cfc5b6; }
.bans { display: flex; gap: 4px; }
.bans img { width: 26px; height: 26px; border-radius: 7px; filter: grayscale(1); opacity: .7; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .axis text { fill: var(--muted); font: 500 11px var(--f-text); }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.tip {
  position: fixed; z-index: 100; pointer-events: none; background: var(--card3); border: 1px solid var(--line2);
  border-radius: 10px; padding: 8px 11px; font-size: 13px; box-shadow: var(--shadow); max-width: 260px;
  opacity: 0; transition: opacity .1s; line-height: 1.4;
}
.tip.on { opacity: 1; }
.tip b { font-weight: 600; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.mapbox { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #0a1a1f; }
.mapbox img { width: 100%; height: 100%; opacity: .55; filter: saturate(.7) brightness(.8); }
.mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.clip { overflow: hidden; transition: .15s; }
.clip:hover { transform: translateY(-3px); border-color: var(--accent); }
.clip-img { position: relative; aspect-ratio: 16 / 9; background: var(--card3) center / cover; }
.clip-img span { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .75); border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.clip-img::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: #fff; opacity: 0; transition: .15s; background: rgba(0, 0, 0, .35); }
.clip:hover .clip-img::after { opacity: 1; }
.clip-b { padding: 10px 12px; font-size: 14px; }
.clip-b b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-b small { color: var(--muted); }

/* ---------- tabele ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font: 600 12px var(--f-text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl th[data-sort] { cursor: pointer; user-select: none; }
.tbl th[data-sort]:hover { color: var(--ink); }
.tbl th.asc::after { content: ' ▲'; color: var(--accent); }
.tbl th.desc::after { content: ' ▼'; color: var(--accent); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:hover td { background: var(--card2); }
.tbl .pl { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tbl .pl img { width: 32px; height: 32px; border-radius: 9px; }
.tbl .rk { color: var(--muted); font-weight: 700; width: 36px; }
.tbl tr.top1 .rk { color: var(--accent); }
.tbl-wrap { overflow-x: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--ink2); font: 600 14px var(--f-text); cursor: pointer; transition: .15s; }
.tabs button:hover { color: var(--ink); border-color: var(--muted); }
.tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.panel[hidden] { display: none; }

/* bohaterowie */
.champ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.champ-card { padding: 14px; text-align: center; transition: .15s; }
.champ-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.champ-card img { margin: 0 auto 10px; }
.champ-card b { display: block; font-weight: 600; }
.champ-card small { color: var(--muted); font-size: 13px; }

/* rekordy */
.rec { padding: 18px; display: flex; gap: 14px; align-items: center; transition: .15s; }
.rec:hover { border-color: var(--accent); }
.rec .rt { font: 600 12px var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); }
.rec .rv { font: 800 22px var(--f-title); margin: 4px 0 2px; }
.rec small { color: var(--muted); font-size: 13px; }

/* stopka */
.foot { border-top: 1px solid var(--line); margin-top: 70px; padding: 34px 0 50px; color: var(--muted); font-size: 13px; }
.foot .wrap { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; }
.foot a { color: var(--ink2); }
.foot a:hover { color: var(--accent); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* animacje */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- telefon ---------- */
@media (max-width: 1100px) {
  .prow { grid-template-columns: 44px 22px 22px minmax(110px, 1fr) 90px 60px 64px 160px; }
  .prow .dmgcol { display: none; }
  .match { grid-template-columns: 6px 96px 52px 130px 1fr 110px; }
  .match .mini { display: none; }
}
@media (max-width: 900px) {
  .split2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.on { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg2); padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); cursor: pointer; }
  .search { width: auto; flex: 1; }
  .nav-tw span { display: none; }
  .layout2 { grid-template-columns: 1fr; }
  .g3, .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .podium { grid-template-columns: 1fr; }
  .pod, .pod.p1 { min-height: 240px; }
  .ph .wrap { flex-wrap: wrap; align-items: flex-start; }
  .ph .ranks { margin-left: 0; width: 100%; }
  .rank-box { flex: 1; min-width: 0; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs { grid-template-columns: 1fr; }
  .vs-team.r { flex-direction: row; text-align: left; }
  .vs-team.r .obj { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .logo small { display: none; }
  .prow { grid-template-columns: 40px minmax(0, 1fr) 80px 54px; gap: 10px; padding: 10px 12px; }
  .prow .sp, .prow .ru, .prow .cscol, .prow .itcol, .prow .dmgcol { display: none; }
  .match { grid-template-columns: 5px 80px 44px 1fr; gap: 10px; }
  .match .itcol, .match .sc { display: none; }
  .game-row { grid-template-columns: 1fr 70px 1fr; }
  .game-row .when, .game-row .go { display: none; }
  .game-row { padding: 12px; gap: 8px; grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); }
  .game-row .team { gap: 2px; }
  .game-row .team img { width: 22px; height: 22px; border-radius: 6px; }
  .hero .wrap { padding-top: 44px; }
}

.split2 { align-items: start; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

@media (max-width: 900px) {
  .split2 { grid-template-columns: 1fr; }
  .layout2 > aside { order: 2; }
}
@media (max-width: 640px) {
  .grid.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 14px; }
  .tile-value { font-size: 22px; }
  .rank-box { padding: 12px; }
  .rank-box .tier { font-size: 15px; white-space: normal; }
  .ph-icon img { width: 84px; height: 84px; border-radius: 22px; }
}
