:root {
  color-scheme: dark;
  /* League-Blau statt Neon-Violett, Hextech-Gold als zweite Farbe. Magenta nur noch für alles, was gerade live ist. */
  --bg: #050b16;
  --bg-raised: #08101f;
  --panel: #0a1426;
  --panel-hover: #122038;
  --line: #1d2c44;
  --line-strong: #37506e;
  --text: #f0f4ff;
  --text-2: #a9b7cf;
  --text-3: #8496ae;
  --cyan: #00e5ff;
  --cyan-dim: rgb(0 229 255 / 0.12);
  --brass: #c89b3c;
  --brass-dim: rgb(200 155 60 / 0.14);
  --neon: #ff2a8d;
  --neon-dim: rgb(255 42 141 / 0.12);
  --acid: #e8c463;
  --gold: #ffc94d;
  --win: #19ffb0;
  --win-dim: rgb(25 255 176 / 0.09);
  --loss: #ff4d6d;
  --loss-dim: rgb(255 77 109 / 0.09);
  --remake: #8a90a6;
  --display: "Chakra Petch", "Segoe UI", sans-serif;
  --body: "Inter Variable", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --page: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --cut: 10px;
  --glow-cyan: 0 0 6px rgb(0 229 255 / 0.75), 0 0 20px rgb(0 229 255 / 0.3);
  --glow-brass: 0 0 6px rgb(200 155 60 / 0.8), 0 0 20px rgb(200 155 60 / 0.35);
  --glow-neon: 0 0 6px rgb(255 42 141 / 0.8), 0 0 20px rgb(255 42 141 / 0.35);
  --edge-neon: linear-gradient(135deg, rgb(0 229 255 / 0.7), var(--line-strong) 30%, var(--line-strong) 70%, rgb(200 155 60 / 0.9));
  --edge-hot: linear-gradient(135deg, var(--cyan), var(--brass));
  --hazard: repeating-linear-gradient(-45deg, var(--acid) 0 6px, #050b16 6px 12px);
  /* Echte Poro-Emotes aus dem Spiel */
  --poro-sleeping: url("/asset/cdragon/latest/plugins/rcp-be-lol-game-data/global/default/assets/loadouts/summoneremotes/events/poolparty/em_pool_party_poro_01_inventory.png");
  --poro-ghost: url("/asset/cdragon/latest/plugins/rcp-be-lol-game-data/global/default/assets/loadouts/summoneremotes/events/s3a1_2026/5124_ghostly_poro_inventory.accessories_16_15.png");
  --poro-happy: url("/asset/cdragon/latest/plugins/rcp-be-lol-game-data/global/default/assets/loadouts/summoneremotes/flairs/poro_happy_cheers_inventory.png");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scrollbar-color: var(--brass) var(--bg); }
::selection { color: #050b16; background: var(--cyan); }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font: 400 15px/1.5 var(--body);
}
/* Hintergrund und Scanlines auf eigenen Ebenen, damit sie beim Scrollen nicht neu gezeichnet werden */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  transform: translateZ(0);
  pointer-events: none;
  background:
    radial-gradient(1000px 560px at 88% -8%, rgb(200 155 60 / 0.11), transparent 70%),
    radial-gradient(1000px 640px at 4% 0%, rgb(0 229 255 / 0.12), transparent 70%),
    linear-gradient(transparent, var(--bg) 75vh),
    url("/img/hex.svg") 0 0 / 56px 97px,
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  transform: translateZ(0);
  pointer-events: none;
  /* Nur auf dem Hintergrund. Über dem Inhalt machen die Linien Icons und Text unscharf. */
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / 0.1) 0 1px, transparent 1px 3px);
}
/* height: auto, sonst gilt das height-Attribut weiter, während die Breite sich anpasst, und das Bild wird verzerrt */
img { display: block; max-width: 100%; height: auto; }
img.broken { visibility: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: 0.02em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
strong { font-weight: 600; }
kbd {
  font: 400 11px var(--mono);
  padding: 1px 6px;
  color: var(--cyan);
  border: 1px solid rgb(0 229 255 / 0.45);
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 8px 14px; background: var(--acid); color: #050b16; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* --- Schräg abgeschnittene Ecken: Der Hintergrund ist die Kante, ::before die Füllung --- */

.panel, .stat, .record, .feed-row, .podium-row, .match, .champ-card, .chip, .btn-ghost, .search-trigger, .hero-search, .live-player {
  --c: var(--cut);
  --edge: var(--edge-neon);
  --fill: var(--panel);
  position: relative;
  isolation: isolate;
  background: var(--edge);
  border: 0;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.panel::before, .stat::before, .record::before, .feed-row::before, .podium-row::before, .match::before, .champ-card::before, .chip::before, .btn-ghost::before, .search-trigger::before, .hero-search::before, .live-player::before {
  content: "";
  position: absolute; inset: 1px; z-index: -1;
  background: var(--fill);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
/* Die Kante schneidet Fokusrahmen ab, deshalb nach innen */
a.record:focus-visible, a.feed-row:focus-visible, a.podium-row:focus-visible, .champ-card:focus-visible, .chip:focus-visible, .btn:focus-visible, .btn-ghost:focus-visible, .search-trigger:focus-visible, .hero-search:focus-visible, .match-summary:focus-visible { outline-offset: -4px; }

/* Farbiger Balken links für Sieg, Niederlage und Team */
.feed-row::after, .match::after, .live-player::after {
  content: "";
  position: absolute; left: 0; top: var(--c); bottom: 0; width: 3px;
  background: var(--state, var(--line-strong));
}

/* --- Rahmen der Seite --- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: clamp(12px, 3vw, 32px);
  padding: 10px var(--gutter);
  background: rgb(5 11 22 / 0.84);
  backdrop-filter: blur(10px);
}
.topbar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--brass) 55%, var(--acid));
  box-shadow: 0 0 10px rgb(200 155 60 / 0.6);
}
.brand { display: flex; align-items: center; gap: 8px; font: 700 19px var(--display); letter-spacing: 0.1em; text-shadow: 1.5px 0 0 rgb(200 155 60 / 0.8), -1.5px 0 0 rgb(0 229 255 / 0.8); }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: clamp(2px, 1vw, 8px); }
.nav a {
  padding: 6px 14px;
  font: 600 14px var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.nav a:hover { color: var(--text); background: rgb(255 255 255 / 0.06); }
.nav a[aria-current="page"] { color: #050b16; background: var(--cyan); }

.search-trigger {
  --c: 8px;
  --fill: var(--bg-raised);
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  min-width: 250px; padding: 7px 10px;
  color: var(--text-3);
  cursor: pointer;
}
.search-trigger:hover { --edge: var(--cyan); --fill: var(--panel-hover); color: var(--text); }
.search-trigger kbd { margin-left: auto; }

.notice { padding: 8px var(--gutter); font-size: 14px; font-weight: 600; color: #050b16; background: var(--acid); }
.footer {
  position: relative;
  margin-top: auto; padding: 24px var(--gutter) 32px;
  font-size: 12px; color: var(--text-3);
  border-top: 1px solid var(--line);
  background: rgb(5 11 22 / 0.7);
}
.footer p { max-width: 80ch; }
.footer p + p { margin-top: 6px; }
.footer a { text-decoration: underline; }
.footer a:hover { color: var(--cyan); }
.footer-links { margin-top: 10px; }
.legal-page { max-width: 820px; }
.legal-section { margin-top: 26px; }
.legal-section h2 { margin-bottom: 8px; font-size: 18px; color: var(--cyan); }
.legal-section p { max-width: 75ch; color: var(--text-2); line-height: 1.6; }
.legal-section p + p { margin-top: 10px; }
.legal-section a { color: var(--cyan); text-decoration: underline; }
.legal-address { color: var(--text) !important; }

main { width: 100%; }
.page { width: 100%; max-width: var(--page); margin: 0 auto; padding: 32px var(--gutter) 56px; }
.page-title {
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 2px 0 0 rgb(200 155 60 / 0.75), -2px 0 0 rgb(0 229 255 / 0.75), 0 0 24px rgb(0 229 255 / 0.25);
}
.page-title::after {
  content: "";
  display: block;
  width: 132px; height: 3px; margin-top: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--brass));
  box-shadow: 0 0 12px rgb(200 155 60 / 0.6);
}
.page-lead { margin-top: 12px; color: var(--text-2); max-width: 74ch; }
.page-head { margin-bottom: 26px; }

/* --- Bausteine --- */

.label {
  font: 600 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.section { margin-top: 36px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; padding-bottom: 8px;
  background: linear-gradient(90deg, var(--line-strong), transparent 70%) left bottom / 100% 1px no-repeat;
}
.section-title { font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; }
.section-title::before { content: "◆ "; font: 600 13px var(--mono); color: var(--brass); text-shadow: var(--glow-brass); }
.section-link { font: 600 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.section-link::after { content: " >>"; }
.section-link:hover { text-shadow: var(--glow-cyan); }

.panel { padding: 16px; }
/* Leuchtender Strich oben rechts */
.panel::after {
  content: "";
  position: absolute; top: 0; right: 0; width: 56px; height: 2px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  font: 700 14px var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #050b16;
  background: var(--acid);
  border: 0;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn:hover { background: #fff; }
.btn[disabled] { background: var(--line-strong); color: var(--text-2); cursor: default; }
.btn-ghost { --fill: var(--panel-hover); background: var(--edge); color: var(--text); }
.btn-ghost:hover { --edge: var(--cyan); background: var(--edge); }

.select, .input {
  padding: 7px 10px;
  color: var(--text);
  font: inherit; font-size: 14px;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
}
.select:hover, .input:hover, .input:focus { border-color: var(--cyan); }
.input::placeholder { color: var(--text-3); }

.chip {
  --c: 6px;
  --fill: var(--bg-raised);
  padding: 5px 13px;
  font: 600 13px var(--display);
  letter-spacing: 0.03em;
  color: var(--text-2);
  cursor: pointer;
}
.chip:hover { --edge: var(--cyan); color: var(--text); }
.chip[aria-pressed="true"] { --edge: var(--cyan); --fill: var(--cyan); color: #050b16; }

.empty { padding: 28px 16px; text-align: center; color: var(--text-2); }
.error-box { padding: 28px 16px; text-align: center; }
.error-box h1, .error-box h2 { font-size: 22px; margin-bottom: 8px; color: var(--loss); text-transform: uppercase; }
.error-box p { color: var(--text-2); }
.error-box .btn { margin-top: 16px; }

.skeleton {
  height: 200px;
  background: linear-gradient(100deg, var(--panel) 30%, rgb(0 229 255 / 0.14) 50%, var(--panel) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.win { color: var(--win); }
.loss { color: var(--loss); }

/* Rang-Farben */
.tier-iron { --tier: #b4a9a9; }
.tier-bronze { --tier: #e0996f; }
.tier-silver { --tier: #c5d3d8; }
.tier-gold { --tier: #ffc94d; }
.tier-platinum { --tier: #4fe6d4; }
.tier-emerald { --tier: #33eb8d; }
.tier-diamond { --tier: #8ea6ff; }
.tier-master { --tier: #cf8aff; }
.tier-grandmaster { --tier: #ff6a6a; }
.tier-challenger { --tier: #ffe58f; }

.icon { background: var(--bg-raised); flex: none; }
.icon-champ { width: 44px; height: 44px; }
.icon-champ-sm { width: 22px; height: 22px; }
.icon-champ-md { width: 34px; height: 34px; }
.icon-champ-lg { width: 56px; height: 56px; }
.icon-spell { width: 20px; height: 20px; }
.icon-item { width: 26px; height: 26px; border: 1px solid var(--line); }
.icon-item-empty { display: block; width: 26px; height: 26px; background: var(--bg-raised); border: 1px solid var(--line); }
.icon-rune { width: 20px; height: 20px; border-radius: 50%; background: #000; }
.avatar { width: 28px; height: 28px; border-radius: 50%; }
.emblem { position: relative; display: block; flex: none; width: var(--size); height: var(--size); overflow: hidden; }
.emblem img { position: absolute; left: 50%; top: 50%; width: 360%; height: auto; max-width: none; transform: translate(-50%, -50%); }

/* --- Startseite --- */

.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: clamp(420px, 62vh, 600px);
  padding: 48px var(--gutter) 80px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, rgb(5 11 22 / 0.2), rgb(8 28 52 / 0.55) 62%, rgb(5 11 22 / 0.9));
  border-bottom: 1px solid var(--brass);
  box-shadow: 0 1px 18px rgb(200 155 60 / 0.45);
}
/* PROJECT-Skin hinter dem Titel: League und Cyberpunk in einem Bild */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / 0.3) 0 1px, transparent 1px 3px),
    url("/asset/ddragon/cdn/img/champion/splash/Yasuo_2.jpg") center 22% / cover no-repeat;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
}
/* Untere Kante */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--brass) 70%, transparent);
  box-shadow: 0 0 22px 3px rgb(200 155 60 / 0.55);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-title {
  position: relative;
  font-size: clamp(56px, 13vw, 148px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 4px 0 0 var(--brass), -4px 0 0 var(--cyan), 0 0 40px rgb(0 229 255 / 0.55), 0 0 80px rgb(200 155 60 / 0.4);
}
/* Glitch: zwei versetzte Kopien, die nur kurz aufblitzen */
.hero-title::before, .hero-title::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  pointer-events: none;
  text-shadow: none;
  opacity: 0;
}
.hero-title::before { color: var(--cyan); animation: glitch-a 6s steps(1) infinite; }
.hero-title::after { color: var(--brass); animation: glitch-b 6s steps(1) infinite; }
@keyframes glitch-a {
  0%, 90%, 100% { opacity: 0; }
  91% { opacity: 1; transform: translateX(-9px); clip-path: inset(10% 0 62% 0); }
  93% { opacity: 1; transform: translateX(7px); clip-path: inset(58% 0 12% 0); }
  95% { opacity: 1; transform: translateX(-4px); clip-path: inset(34% 0 44% 0); }
}
@keyframes glitch-b {
  0%, 90%, 100% { opacity: 0; }
  91% { opacity: 1; transform: translateX(9px); clip-path: inset(66% 0 8% 0); }
  93% { opacity: 1; transform: translateX(-7px); clip-path: inset(18% 0 58% 0); }
  96% { opacity: 1; transform: translateX(5px); clip-path: inset(46% 0 30% 0); }
}
.hero-sub { margin-top: 18px; color: var(--text); font: 400 clamp(13px, 1.8vw, 16px) var(--mono); text-shadow: 0 0 10px rgb(5 11 22); }
.hero-sub::before { content: "> "; color: var(--acid); }
.hero-sub::after { content: ""; display: inline-block; width: 0.55em; height: 1em; margin-left: 4px; vertical-align: -0.12em; background: var(--acid); animation: cursor 1.1s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
.hero-search {
  --edge: var(--cyan);
  --fill: rgb(10 12 27 / 0.96);
  --c: 12px;
  display: flex; align-items: center; gap: 12px;
  width: min(560px, 100%); margin-top: 28px; padding: 14px 18px;
  font-size: 16px; text-align: left;
  color: var(--text-2);
  cursor: pointer;
}
.hero-search:hover { --edge: var(--acid); --fill: var(--panel-hover); color: var(--text); }
.hero-search kbd { margin-left: auto; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 14px 16px; }
.stat::after {
  content: "";
  position: absolute; left: var(--c); right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--brass));
}
.stat .label { color: var(--cyan); }
.stat-value { display: block; margin-top: 2px; font: 600 clamp(22px, 3.2vw, 32px) var(--mono); font-variant-numeric: tabular-nums; text-shadow: var(--glow-cyan); }

.home-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; }

/* Ein Eintrag im Feed */
.feed-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 14px;
}
.feed-row + .feed-row { margin-top: 6px; }
.feed-row:hover { --fill: var(--panel-hover); --edge: var(--cyan); }
.feed-row.is-win { --state: var(--win); --fill: linear-gradient(90deg, var(--win-dim), transparent 45%), var(--panel); }
.feed-row.is-loss { --state: var(--loss); --fill: linear-gradient(90deg, var(--loss-dim), transparent 45%), var(--panel); }
.feed-row.is-win:hover { --fill: linear-gradient(90deg, var(--win-dim), transparent 45%), var(--panel-hover); }
.feed-row.is-loss:hover { --fill: linear-gradient(90deg, var(--loss-dim), transparent 45%), var(--panel-hover); }
.feed-main { min-width: 0; flex: 1; }
.feed-name { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-meta { font-size: 13px; color: var(--text-2); }
.feed-kda { text-align: right; white-space: nowrap; }
.feed-result { font: 600 13px var(--display); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.feed-group { flex-direction: column; align-items: stretch; gap: 8px; }
.feed-group-head, .feed-group-player { display: flex; align-items: center; gap: 10px; }
.feed-badge { padding: 0 7px; font: 600 11px/18px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #050b16; background: var(--acid); }
.feed-live-names { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.feed-live-rank { margin-left: 6px; font-size: 13px; color: var(--tier, var(--text-2)); }

.podium-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
.podium-row + .podium-row { margin-top: 6px; }
.podium-row:hover { --fill: var(--panel-hover); --edge: var(--cyan); }
.podium-place { width: 22px; font: 600 15px var(--mono); color: var(--cyan); text-shadow: var(--glow-cyan); }

.record-group { margin: 22px 0 10px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.records { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.record { display: flex; align-items: center; gap: 12px; padding: 12px; }
.record:hover { --fill: var(--panel-hover); --edge: var(--brass); }
.record-value { display: block; font: 600 19px var(--mono); color: #fff; }
.record:hover .record-value { text-shadow: var(--glow-brass); }
.record-name { display: block; font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record > div { min-width: 0; }

/* --- Champions --- */

.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.filter-row .input { flex: 1 1 200px; max-width: 320px; }
.filter-row [data-sort] { margin-left: auto; }

.champ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
/* Das Icon füllt die Karte bis zur Kante, in Ruhe bleibt der Rahmen schlicht: Bei 173 Karten wäre alles andere zu unruhig */
.champ-card { --edge: var(--line-strong); display: block; padding: 1px 1px 8px; }
.champ-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.15s ease-out; }
.champ-card:hover { --edge: var(--cyan); --fill: var(--panel-hover); }
.champ-card:hover::before { box-shadow: inset 0 0 22px rgb(0 229 255 / 0.28); }
.champ-card:hover img { transform: scale(1.04); }
.champ-card:hover .champ-card-name { color: var(--cyan); }
.champ-card-name { display: block; margin-top: 6px; padding: 0 6px; font: 600 13px var(--display); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.champ-card-stat { display: block; font: 400 11px var(--mono); text-align: center; color: var(--text-2); min-height: 16px; }

.champ-hero { position: relative; min-height: clamp(320px, 50vh, 480px); display: flex; align-items: flex-end; border-bottom: 1px solid var(--brass); box-shadow: 0 1px 18px rgb(200 155 60 / 0.4); overflow: hidden; }
.champ-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(1.15) contrast(1.05); }
.champ-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgb(5 11 22 / 0.55) 40%, rgb(5 11 22 / 0.1) 75%), linear-gradient(90deg, rgb(0 229 255 / 0.14), transparent 40%, transparent 60%, rgb(200 155 60 / 0.16)); }
.champ-hero-text { position: relative; z-index: 1; width: 100%; max-width: var(--page); margin: 0 auto; padding: 32px var(--gutter) 20px; }
.champ-name { font-size: clamp(42px, 8vw, 84px); line-height: 0.95; text-transform: uppercase; text-shadow: 3px 0 0 rgb(200 155 60 / 0.8), -3px 0 0 rgb(0 229 255 / 0.8), 0 0 30px rgb(0 229 255 / 0.35); }
.champ-title { margin-top: 6px; font-size: clamp(16px, 2vw, 20px); color: var(--text-2); }
.role-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.role-tag { padding: 2px 9px; font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); background: var(--cyan-dim); border: 1px solid rgb(0 229 255 / 0.45); }

.two-col { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }

.ability-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ability-tab { position: relative; padding: 0; background: none; border: 2px solid var(--line); cursor: pointer; }
.ability-tab img { width: 48px; height: 48px; }
.ability-tab-key { position: absolute; right: 0; bottom: 0; padding: 0 4px; font: 600 11px var(--mono); color: #050b16; background: var(--cyan); }
.ability-tab:hover { border-color: var(--line-strong); }
.ability-tab[aria-selected="true"] { border-color: var(--cyan); box-shadow: 0 0 14px rgb(0 229 255 / 0.55); }
.ability-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ability-video-box[hidden] { display: none; }
.ability-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-raised); border: 1px solid var(--line-strong); }
.ability-name { font-size: 18px; margin-bottom: 6px; color: var(--cyan); }
.ability-text { color: var(--text-2); white-space: pre-line; }

.meter-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; font-size: 13px; }
.meter-row + .meter-row { margin-top: 8px; }
.meter { display: flex; gap: 3px; }
.meter i { flex: 1; height: 8px; background: var(--line); transform: skewX(-20deg); }
.meter i.on { background: var(--cyan); box-shadow: 0 0 6px rgb(0 229 255 / 0.7); }

.skins { display: flex; gap: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: thin; }
.cmp-panel { margin-bottom: 18px; }
.profile-tabs { margin-bottom: 16px; }
[data-profile-panel][hidden] { display: none; }
.cmp-lanes { margin-bottom: 14px; }
.cmp-picker { position: relative; }
.cmp-picker-button { min-width: 220px; max-width: 320px; text-align: left; }
.cmp-picker-current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-picker-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(340px, calc(100vw - 32px)); padding: 8px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgb(0 0 0 / 0.55); }
.cmp-picker-search { width: 100%; }
.cmp-picker-list { max-height: 320px; margin-top: 8px; overflow-y: auto; }
.cmp-picker-group { padding: 8px 8px 4px; font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.cmp-picker-option { padding: 7px 8px; font-size: 14px; border-radius: 3px; cursor: pointer; }
.cmp-picker-option:hover, .cmp-picker-option.is-active { background: var(--cyan-dim); }
.cmp-picker-option[aria-selected="true"] { color: var(--cyan); font-weight: 600; }
.cmp-picker-empty { padding: 10px 8px; font-size: 13px; }
.cmp-picker-group[hidden], .cmp-picker-option[hidden] { display: none; }
.panel-more { width: 100%; margin-top: 10px; justify-content: center; }
.mastery-table td:first-child { min-width: 170px; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; font-size: 13px; color: var(--text-2); }
.cmp-legend li { display: flex; align-items: center; gap: 6px; }
.cmp-swatch { width: 12px; height: 12px; border-radius: 3px; }
.cmp-swatch.is-a, .cmp-fill.is-a { background: #2f7fd6; }
.cmp-swatch.is-b, .cmp-fill.is-b { background: #c96f1e; }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cmp-card { padding: 12px; background: var(--bg-raised); border: 1px solid var(--line); }
.cmp-title { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 14px; }
.cmp-hint { display: inline-grid; place-items: center; width: 16px; height: 16px; font: 700 11px var(--mono); color: var(--text-3); border: 1px solid var(--line-strong); border-radius: 50%; cursor: help; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-label { color: var(--text-2); }
.cmp-bars { display: grid; gap: 4px; }
.cmp-bar-line { display: grid; grid-template-columns: minmax(0, 1fr) 62px; align-items: center; gap: 8px; }
.cmp-bar { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: var(--line); }
.cmp-fill { display: block; height: 100%; border-radius: 3px; }
.cmp-value { font-size: 12px; text-align: right; }
.pc-hero { min-height: clamp(260px, 38vh, 380px); }
.pc-links { margin-top: 10px; font-size: 14px; }
.pc-links a { color: var(--cyan); }
.pc-date { font-size: clamp(16px, 2vw, 22px); }
.section-tight { margin-top: 14px; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; align-items: start; }
.pc-matches { display: grid; }
.skins-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.skins-summary { font-size: 13px; }
.skin { flex: 0 0 220px; margin: 0; padding: 0; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.skin-image { position: relative; display: block; }
.skin-badges { position: absolute; top: 6px; left: 6px; display: flex; align-items: center; gap: 4px; }
.skin-gem { filter: drop-shadow(0 0 3px #000); }
.skin-tag { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; font: 600 10px/18px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); background: rgb(5 11 22 / 0.85); border: 1px solid var(--line-strong); border-radius: 3px; }
.skin-tag.is-legacy { color: var(--gold); border-color: var(--brass); }
.skin-tag.is-rarity { color: var(--text); }
.skin-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.skin-name { overflow: hidden; font-size: 13px; color: var(--text-2); text-overflow: ellipsis; white-space: nowrap; }
.skin:hover .skin-name, .skin:focus-visible .skin-name { color: var(--text); }
.skin:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.skin-chroma-dots { display: flex; flex: none; gap: 3px; }
.skin-chroma-dots span { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25); }
.skin-viewer { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; color: var(--text); background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 0 40px rgb(0 0 0 / 0.7); }
.skin-viewer::backdrop { background: rgb(2 6 14 / 0.82); }
.skin-viewer-frame { position: relative; }
.skin-viewer-splash { display: block; width: 100%; height: auto; aspect-ratio: 1215 / 717; object-fit: cover; background: var(--bg-raised); }
.skin-viewer-close, .skin-viewer-nav { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; font-size: 26px; line-height: 1; color: var(--text); background: rgb(5 11 22 / 0.75); border: 1px solid var(--line-strong); cursor: pointer; }
.skin-viewer-close { top: 10px; right: 10px; }
.skin-viewer-nav { top: 50%; transform: translateY(-50%); }
.skin-viewer-nav.is-prev { left: 10px; }
.skin-viewer-nav.is-next { right: 10px; }
.skin-viewer-close:hover, .skin-viewer-nav:hover { color: var(--cyan); border-color: var(--cyan); }
.skin-viewer-info { padding: 16px 20px 20px; }
.skin-viewer-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.skin-viewer-title h3 { font-size: 22px; }
.skin-viewer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.skin-viewer-text { margin-top: 12px; max-width: 75ch; }
.skin-viewer-label { margin: 16px 0 8px; }
.skin-chromas { display: flex; flex-wrap: wrap; gap: 10px; }
.skin-chromas li { display: grid; gap: 4px; width: 72px; }
.skin-chromas img { width: 72px; height: 72px; object-fit: contain; background: var(--bg-raised); border: 1px solid var(--line); }
.skin-chroma-color { height: 5px; border-radius: 3px; }
.skin img { width: 220px; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--bg-raised); border: 1px solid var(--line-strong); }
.skin:hover img, .skin:focus-visible img { border-color: var(--brass); }

/* --- Spielerprofil --- */

.player-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.player-icon { position: relative; flex: none; }
.player-icon img { width: 88px; height: 88px; border: 2px solid var(--cyan); background: var(--bg-raised); box-shadow: 0 0 18px rgb(0 229 255 / 0.5); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.player-level { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); padding: 0 7px; font: 600 11px var(--mono); color: #050b16; background: var(--acid); }
.player-name { font-size: clamp(26px, 4vw, 40px); overflow-wrap: anywhere; text-shadow: 2px 0 0 rgb(200 155 60 / 0.7), -2px 0 0 rgb(0 229 255 / 0.7); }
.player-tag { color: var(--text-3); font-weight: 500; text-shadow: none; }
.player-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--text-2); }
.owner { display: inline-flex; align-items: center; gap: 7px; }
.owner img { width: 22px; height: 22px; border-radius: 50%; }
.player-actions { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--text-3); }


.progress { margin-top: 16px; padding: 10px 14px; font: 400 13px var(--mono); color: var(--cyan); background: var(--cyan-dim); border: 1px solid rgb(0 229 255 / 0.45); }
.progress.is-error { color: var(--loss); background: var(--loss-dim); border-color: rgb(255 77 109 / 0.45); }

.player-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 24px; }
.sidebar { display: grid; gap: 14px; }
.sidebar-title { margin-bottom: 10px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }

.rank-card { display: flex; align-items: center; gap: 12px; }
.rank-card + .rank-card { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rank-tier { font: 700 18px var(--display); text-transform: capitalize; }

.form { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 10px; }
.form span { width: 18px; height: 18px; font: 600 11px/18px var(--mono); text-align: center; }
.form .w { color: #03241a; background: var(--win); }
.form .l { color: #2a040e; background: var(--loss); }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.kv-value { display: block; font: 600 17px var(--mono); }
.kv-wide { grid-column: 1 / -1; }

.row-list > li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.row-list > li + li { border-top: 1px solid var(--line); }
.row-list a { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.row-list a:hover .row-name { color: var(--cyan); }
.row-main { flex: 1; min-width: 0; }
.row-name { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: block; font-size: 12px; color: var(--text-2); }
.row-right { text-align: right; font-size: 13px; white-space: nowrap; }

.history-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.history-tabs { position: relative; display: flex; gap: 2px; margin-bottom: 12px; overflow-x: auto; border-bottom: 1px solid var(--line-strong); scrollbar-width: none; }
.history-tab {
  flex: none;
  padding: 8px 12px;
  font: 600 14px var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.history-tab:hover { color: var(--text); }
.history-tab[aria-selected="true"] { color: var(--cyan); border-bottom-color: var(--cyan); background: linear-gradient(0deg, var(--cyan-dim), transparent); text-shadow: var(--glow-cyan); }
.history-tab-count { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--text-3); }

.match + .match { margin-top: 8px; }
.match.is-win { --state: var(--win); --edge: rgb(25 255 176 / 0.4); --fill: linear-gradient(90deg, rgb(25 255 176 / 0.14), transparent 40%), var(--panel); }
.match.is-loss { --state: var(--loss); --edge: rgb(255 77 109 / 0.4); --fill: linear-gradient(90deg, rgb(255 77 109 / 0.14), transparent 40%), var(--panel); }
.match-summary {
  display: grid;
  grid-template-columns: 112px auto minmax(92px, 1fr) minmax(92px, 1fr) auto auto;
  align-items: center; gap: 14px;
  width: 100%; padding: 10px 12px 10px 14px;
  text-align: left;
  background: none; border: 0; cursor: pointer;
}
.match-summary:hover { background: rgb(255 255 255 / 0.04); }
.match-result { display: block; font: 700 15px var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.match-result.win { text-shadow: 0 0 10px rgb(25 255 176 / 0.6); }
.match-result.loss { text-shadow: 0 0 10px rgb(255 77 109 / 0.6); }
.match-queue { display: block; font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-when { display: block; font-size: 12px; color: var(--text-3); }
.loadout { display: flex; align-items: center; gap: 6px; }
.loadout-stack { display: grid; grid-template-columns: 20px 20px; gap: 2px; }
.match-kda { display: block; font: 600 15px var(--mono); white-space: nowrap; }
.match-ratio { font-size: 12px; color: var(--text-2); }
.match-stats { font-size: 12px; color: var(--text-2); }
.items { display: grid; grid-template-columns: repeat(4, 26px); gap: 2px; }
.lineup { display: grid; grid-template-columns: repeat(2, 104px); gap: 1px 8px; font-size: 11px; color: var(--text-2); }
.lineup-player { display: flex; align-items: center; gap: 4px; min-width: 0; line-height: 16px; }
.lineup-player img { width: 15px; height: 15px; }
.lineup-player span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lineup-player.me { color: var(--acid); font-weight: 600; }
.chevron { color: var(--text-3); transition: transform 0.15s; }
[aria-expanded="true"] > .chevron { transform: rotate(180deg); color: var(--cyan); }
.score-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 0 5px; border: 1px solid var(--line-strong); font: 600 12px var(--mono); color: var(--text-2); white-space: nowrap; }
.score-chip.is-good { color: var(--cyan); border-color: rgb(0 229 255 / 0.4); }
.score-chip.is-top { color: var(--gold); border-color: rgb(255 201 77 / 0.6); box-shadow: 0 0 8px rgb(255 201 77 / 0.25); }
.score-chip.is-low { color: var(--loss); border-color: rgb(255 77 109 / 0.4); }
.score-badge { padding: 0 4px; font: 700 10px var(--mono); letter-spacing: 0.04em; }
.score-badge.is-mvp { color: #2a1e00; background: var(--gold); }
.score-badge.is-ace { color: #04161a; background: var(--cyan); }
.badge-multi { display: inline-block; margin-top: 3px; padding: 0 6px; font: 600 11px var(--mono); color: #2a0416; background: var(--neon); box-shadow: 0 0 10px rgb(255 42 141 / 0.6); }
.match-detail { padding: 0 12px 14px; }

.load-more { display: flex; justify-content: center; margin-top: 14px; }

/* --- Scoreboard --- */

.team-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 8px 10px; font-size: 13px; background: var(--bg-raised); border: 1px solid var(--line-strong); }
.team-head + .table-scroll { border-top: 0; }
.team-block + .team-block { margin-top: 12px; }
.team-result { font: 700 15px var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.team-bans { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.team-bans img { width: 20px; height: 20px; filter: grayscale(1) brightness(0.8); }
.table-scroll { overflow-x: auto; background: rgb(10 20 38 / 0.9); border: 1px solid var(--line-strong); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { padding: 8px 10px; font: 600 11px var(--mono); letter-spacing: 0.08em; text-align: left; text-transform: uppercase; white-space: nowrap; color: var(--cyan); background: var(--bg-raised); border-bottom: 1px solid var(--line-strong); }
.table td { padding: 7px 10px; vertical-align: middle; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }
.table tbody tr:hover { background: var(--cyan-dim); }
.table tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--brass); }
.table tr.is-tracked td { background: rgb(232 196 99 / 0.05); }
.table tr.is-tracked td:first-child { box-shadow: inset 3px 0 0 var(--acid); }
.sb-player { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.sb-name { font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.sb-name:hover { color: var(--cyan); }
.sb-pos { display: block; font: 400 11px var(--mono); color: var(--text-3); }
.sb-items { display: flex; gap: 2px; }
.dmg { min-width: 90px; }
.dmg-bar { display: block; height: 4px; margin-top: 3px; background: var(--line); }
.dmg-bar i { display: block; height: 100%; background: var(--brass); box-shadow: 0 0 6px rgb(200 155 60 / 0.8); }

.match-page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }

/* --- LP-Verlauf --- */

.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-tick { fill: var(--text-3); font: 400 11px var(--mono); }
.chart-line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px rgb(0 229 255 / 0.8)); }
.chart-cross { stroke: var(--brass); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-dot { fill: var(--acid); stroke: var(--panel); stroke-width: 2; }
.chart-tip { position: absolute; top: 0; padding: 6px 10px; font-size: 12px; white-space: nowrap; pointer-events: none; background: var(--bg-raised); border: 1px solid var(--cyan); }
.chart-table { margin-top: 10px; font-size: 13px; color: var(--text-2); }
.chart-table summary { cursor: pointer; }
.chart-table summary:hover { color: var(--cyan); }
.chart-table .table-scroll { margin-top: 8px; max-height: 220px; overflow-y: auto; }

/* --- Rangliste --- */

.th-sort { padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.th-sort:hover { color: var(--text); }
th[aria-sort="descending"] .th-sort, th[aria-sort="ascending"] .th-sort { color: var(--acid); }
.lb-user { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.lb-name { display: block; font-weight: 600; }
.lb-account { display: block; font-size: 12px; color: var(--text-2); }
.lb-rank { display: flex; align-items: center; gap: 6px; }
.table a:hover .lb-name { color: var(--cyan); }

/* --- Meta --- */

.meta-status { margin-top: 10px; }
.meta-filter { display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; }
.meta-note { margin-bottom: 10px; font-size: 13px; }
.meta-champ { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.meta-champ:hover { color: var(--cyan); }
.meta-rune { display: flex; gap: 2px; }
.meta-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; align-items: start; }
[data-lanes] { margin-top: 14px; }
[data-lanes]:empty { display: none; }
.lane-columns { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; align-items: start; }
.lane-columns .meta-note { margin: 10px 0 0; font-size: 12px; }
.skill-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.skill-order { display: flex; align-items: center; gap: 8px; }
.skill-step { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.skill-icon { width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 4px; }
.skill-arrow { color: var(--brass); font-size: 18px; line-height: 1; }
.skill-table { width: 100%; min-width: 300px; border-collapse: separate; border-spacing: 2px; table-layout: fixed; font-size: 12px; }
.skill-table th { width: auto; padding: 2px 0; color: var(--text-3); font-weight: 600; text-align: center; }
.skill-table tbody th { color: var(--text-2); }
.skill-table td { height: 24px; padding: 0; border-radius: 3px; background: var(--line); text-align: center; }
.skill-table td.on { color: #050b16; background: var(--brass); font-weight: 700; }

/* --- Build auf der Champion-Seite --- */

[data-lane-chips]:empty { display: none; }
.lane-share { margin-left: 8px; opacity: 0.8; }
[data-lane-content] { display: grid; gap: 14px; min-width: 0; }
[data-lane-content] > * { min-width: 0; }
[data-lane-content] .meta-columns { margin-top: 0; }
.lane-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lane-kpis .stat-value { font-size: clamp(18px, 2.2vw, 26px); white-space: nowrap; }
.build-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 12px; }
.build-head .sidebar-title { margin-bottom: 0; }
.build-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.build-panel h4.label { margin-bottom: 8px; }
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: start; }
.build-side { display: grid; gap: 18px; min-width: 0; }
.build-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.build-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.build-icons .icon-item, .build-options .icon-item, .slot-list .icon-item { width: 38px; height: 38px; flex: none; }
.build-spells .icon-spell { width: 38px; height: 38px; }
.build-stack { position: relative; display: block; }
.build-count { position: absolute; right: 1px; bottom: 1px; padding: 0 3px; font-size: 11px; color: var(--text); background: rgb(5 11 22 / 0.85); }
.build-result { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 6px; font-size: 13px; }
.build-pending { padding: 8px 0; font-size: 13px; }
.build-flow { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.build-options { display: grid; gap: 8px; }
.build-options li, .slot-list li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.build-option-text, .slot-text { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.35; }
.build-note { margin: 14px 0 0; font-size: 12px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px 24px; }
.slot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: 12px; }
.slot-main { display: flex; flex: 1; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.35; }
.slot-name { overflow: hidden; font: 600 13px var(--body); color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.slot-side { display: flex; flex: none; flex-direction: column; align-items: flex-end; font-size: 12px; line-height: 1.35; }
.wrap-names .row-name { white-space: normal; }
.opening-icons { display: flex; flex: none; align-items: center; gap: 3px; }
.build-core-names { margin-top: 6px; font-size: 13px; color: var(--text-2); }
.slot-list { display: grid; gap: 8px; }
.slot-note { margin: 12px 0 0; font-size: 12px; }
.choice-subtitle { margin-top: 16px; }
.lane-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.lane-note { margin: -6px 0 0; font-size: 12px; }
.lane-table .icon-champ-sm { flex: none; }
.dmg { margin-bottom: 14px; }
.dmg-physical { --dmg: #c96f1e; }
.dmg-magic { --dmg: #2f7fd6; }
.dmg-true { --dmg: #c56cb0; }
.dmg-bar { display: flex; gap: 2px; height: 10px; }
.dmg-bar > span { min-width: 2px; background: var(--dmg); }
.dmg-bar > span:first-child { border-radius: 4px 0 0 4px; }
.dmg-bar > span:last-child { border-radius: 0 4px 4px 0; }
.dmg-bar > span:only-child { border-radius: 4px; }
.dmg-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; color: var(--text-2); }
.dmg-legend li { display: flex; align-items: center; gap: 5px; }
.dmg-swatch { width: 9px; height: 9px; border-radius: 2px; background: var(--dmg); }
.lane-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line-strong); }
.lane-tab { flex: none; padding: 10px 16px; font: 600 13px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.lane-tab:hover { color: var(--text); }
.lane-tab:focus-visible { outline-offset: -2px; }
.lane-tab[aria-selected="true"] { color: var(--cyan); border-bottom-color: var(--cyan); text-shadow: var(--glow-cyan); }
.lane-tab-content { display: grid; gap: 14px; min-width: 0; }
.lane-tab-content > * { min-width: 0; }
.lane-stack { display: grid; gap: 14px; min-width: 0; }
.partner-lanes { margin-bottom: 10px; }
.combat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.skill-path { letter-spacing: 0.12em; }
.rune-chip { display: inline-flex; align-items: center; gap: 6px; }
.rune-trees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rune-trees h4.label { margin-bottom: 8px; }
.rune-stat-grid { display: grid; gap: 10px; margin-top: 12px; }
.rune-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rune-stat-row:last-child { border-bottom: 0; padding-bottom: 0; }
.rune-stat { display: flex; align-items: center; gap: 7px; min-width: 0; }
.rune-stat img { flex: none; width: 34px; height: 34px; border-radius: 50%; }
.rune-stat.is-unused img { filter: grayscale(1); opacity: 0.35; }
.rune-stat-text { display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.rune-shards-title { margin-top: 16px; }
.duration-chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.duration-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; font-size: 12px; }
.duration-plot { position: relative; display: block; width: 100%; height: 130px; border-bottom: 0; background: linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 1px no-repeat; }
.duration-bar { position: absolute; left: 50%; width: min(26px, 70%); transform: translateX(-50%); }
.duration-bar.is-up { bottom: 50%; background: var(--win); border-radius: 3px 3px 0 0; }
.duration-bar.is-down { top: 50%; background: var(--loss); border-radius: 0 0 3px 3px; }
.duration-col.is-thin .duration-bar { opacity: 0.35; }
.duration-col.is-thin .duration-value { color: var(--text-3); }
.duration-label { white-space: nowrap; }
.lead-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; font-size: 12px; color: var(--text-2); }
.lead-legend li { display: flex; align-items: center; gap: 6px; }
.lead-swatch { width: 12px; height: 3px; border-radius: 2px; }
.lead-swatch.lead-opponent, .lead-dot.lead-opponent { background: #2f7fd6; fill: #2f7fd6; }
.lead-swatch.lead-lane, .lead-dot.lead-lane { background: #c96f1e; fill: #c96f1e; }
.lead-chart { display: block; width: 100%; height: auto; margin-bottom: 12px; }
.lead-grid { stroke: var(--line); stroke-width: 1; }
.lead-grid.is-zero { stroke: var(--line-strong); }
.lead-axis { fill: var(--text-3); font: 11px var(--mono); }
.lead-line { fill: none; stroke-width: 2; stroke-linejoin: round; }
.lead-line.lead-opponent { stroke: #2f7fd6; }
.lead-line.lead-lane { stroke: #c96f1e; }
.lead-hit { fill: transparent; }
.lead-cross { stroke: var(--text-3); stroke-width: 1; opacity: 0; }
.lead-dot { stroke: var(--panel); stroke-width: 2; opacity: 0; }
.lead-col:hover .lead-cross, .lead-col:hover .lead-dot { opacity: 1; }
.heat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.heat { margin: 0; }
.heat figcaption { margin-bottom: 6px; }
.heat-map { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-strong); }
.heat-map img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(0.7); }
.heat-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.heat-kill { fill: var(--cyan); }
.heat-death { fill: var(--neon); }
.lane-stats { display: grid; gap: 9px; }
.lane-stats li { display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; gap: 3px 10px; align-items: baseline; font-size: 13px; }
.lane-stat-name { color: var(--text-2); }
.lane-stat-rank { font-size: 12px; text-align: right; }
.lane-stat-bar { position: relative; grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line); }
.lane-stat-fill { display: block; height: 100%; border-radius: 2px; background: var(--cyan); }
.lane-stat-tick { position: absolute; top: -2px; width: 2px; height: 8px; margin-left: -1px; background: var(--text); box-shadow: 0 0 0 1px var(--panel); }

/* --- Live --- */

.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon), 0 0 16px var(--neon); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.page-title .live-dot { width: 14px; height: 14px; margin-right: 12px; vertical-align: 0.14em; }
.live-game { --edge: rgb(255 42 141 / 0.55); --fill: linear-gradient(180deg, rgb(255 42 141 / 0.07), transparent 120px), var(--panel); }
.live-game::after { background: var(--neon); box-shadow: var(--glow-neon); }
.live-game + .live-game { margin-top: 14px; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; }
.live-banner { position: relative; margin: -16px -16px 14px; padding: 16px; overflow: hidden; border-bottom: 1px solid var(--line-strong); }
.live-splash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0.45; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 75%); mask-image: linear-gradient(90deg, transparent 15%, #000 75%); }
.live-banner-text { position: relative; }
.live-timer { font-size: 22px; font-weight: 600; color: var(--neon); text-shadow: var(--glow-neon); }
.live-tracked { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.live-tracked li { display: flex; align-items: center; gap: 6px; }
.live-compare { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.live-compare-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 220px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 5px 0; font-size: 13px; }
.live-compare-row + .live-compare-row { border-top: 1px solid var(--line); }
.live-compare-label { color: var(--text-2); text-align: center; }
.live-compare-value { color: var(--text-3); }
.live-compare-row > :first-child { text-align: right; }
.live-compare-value.is-higher { font-weight: 700; color: var(--text); }
.live-compare-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.live-compare-rich > :first-child { justify-content: flex-end; }
.live-compare-side .dmg-bar { flex: 1; max-width: 200px; }
.live-damage-text { flex: none; font-size: 12px; color: var(--text-2); }
.live-rank-row { display: flex; align-items: center; gap: 3px; }
.live-rank-none { display: inline-block; width: 24px; color: var(--text-3); text-align: center; }
.live-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 3px; }
.live-form { display: inline-flex; gap: 2px; }
.live-form-dot { width: 15px; height: 15px; border-radius: 3px; font: 700 9px/15px var(--mono); text-align: center; color: #050b16; }
.live-form-dot.is-win { background: var(--win); }
.live-form-dot.is-loss { background: var(--loss); }
.live-tag { padding: 0 6px; font: 600 10px/16px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 3px; white-space: nowrap; }
.live-tag.is-hot { color: var(--gold); border-color: var(--gold); }
.live-tag.is-main { color: var(--acid); border-color: var(--brass); }
.live-tag.is-new { color: var(--cyan); border-color: rgb(0 229 255 / 0.5); }
.live-duels { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.live-duel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 0; }
.live-duel + .live-duel { border-top: 1px solid var(--line); }
.live-duel-side { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 600; }
.live-duel-side.is-right { justify-content: flex-end; text-align: right; }
.live-duel-side .icon-champ-sm { width: 30px; height: 30px; }
.live-duel-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-duel-middle { display: grid; gap: 3px; min-width: 0; }
.live-duel-lane { text-align: center; }
.live-duel-bar { display: flex; gap: 2px; height: 8px; }
.live-duel-bar .is-blue { background: var(--cyan); border-radius: 4px 0 0 4px; }
.live-duel-bar .is-red { background: var(--neon); border-radius: 0 4px 4px 0; }
.live-duel-text { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 12px; }
.live-duel-text.is-center { justify-content: center; }
.live-badge { display: inline-flex; align-items: center; padding: 1px 9px; font: 600 11px/20px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--neon); background: var(--neon-dim); border: 1px solid var(--neon); }
.live-queue { font: 700 19px var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.live-teams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; }
.live-teams > div { display: grid; grid-row: span 7; grid-template-rows: subgrid; align-content: start; }
.live-team-100 { --team: var(--cyan); }
.live-team-200 { --team: var(--neon); }
.live-team-label { display: block; margin-bottom: 8px; color: var(--team, var(--text-3)); }
.live-player {
  --c: 7px;
  --edge: var(--line);
  --fill: var(--bg-raised);
  --state: var(--team, var(--line-strong));
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 6px 10px;
  font-size: 14px;
}
.live-player + .live-player { margin-top: 0; }
.live-player:hover { --edge: var(--team, var(--cyan)); --fill: var(--panel-hover); }
.live-player.is-tracked { --edge: rgb(232 196 99 / 0.65); --state: var(--acid); --fill: linear-gradient(90deg, rgb(232 196 99 / 0.1), transparent 55%), var(--bg-raised); }
.live-player a:hover { color: var(--cyan); }
.live-position { flex: none; width: 54px; color: var(--team, var(--text-3)); }
.live-player-main { display: flex; flex: 1; flex-direction: column; gap: 1px; min-width: 0; }
.live-player-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-rank { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); }
.live-rank strong { color: var(--tier, var(--text)); }
.live-rank-stats { color: var(--text-2); white-space: nowrap; }
.live-champion { flex: none; font-size: 12px; line-height: 1.35; text-align: right; white-space: nowrap; }
.live-champion .win, .live-champion .loss { margin-right: 4px; font-size: 14px; font-weight: 600; }

/* --- Runen --- */

.rune-toggle {
  padding: 0;
  font: 600 11px var(--mono);
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: none;
  border: 0;
  cursor: pointer;
}
.rune-toggle:hover { text-shadow: var(--glow-cyan); }
.rune-toggle .chevron, .rune-row-toggle .chevron { display: inline-block; margin-left: 4px; color: var(--cyan); }
.rune-row-toggle {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 0;
  text-align: left;
  background: none; border: 0;
  cursor: pointer;
}
.rune-row-toggle:hover .row-name { color: var(--cyan); }
.rune-list-row { flex-wrap: wrap; }
.rune-panel { flex: 0 0 100%; width: 100%; min-width: 0; }
.rune-panel[hidden], .rune-table-row[hidden] { display: none; }
.rune-note { margin-top: 8px; font-size: 12px; color: var(--text-2); }
.rune-page {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
  max-width: 560px; margin-top: 8px; padding: 12px;
  white-space: normal;
  text-align: left;
  background: rgb(5 11 22 / 0.75);
  border: 1px solid var(--line-strong);
}
.rune-tree { min-width: 0; }
.rune-tree-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 5px 8px; font: 600 13px var(--display); letter-spacing: 0.04em; color: var(--text); background: var(--panel-hover); }
.rune-row { position: relative; display: flex; align-items: center; justify-content: space-evenly; min-height: 38px; padding-left: 12px; }
.rune-row.has-pick::before {
  content: "";
  position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.rune { display: block; flex: none; width: 30px; height: 30px; border-radius: 50%; filter: grayscale(1) brightness(0.6); opacity: 0.5; }
.rune.is-picked { background: #000; filter: none; opacity: 1; box-shadow: 0 0 0 2px var(--cyan), 0 0 10px rgb(0 229 255 / 0.65); }
.rune-keystones { min-height: 46px; }
.rune-keystones .rune { width: 34px; height: 34px; }
.rune-keystones .rune.is-picked { width: 40px; height: 40px; background: none; box-shadow: none; filter: drop-shadow(0 0 7px rgb(0 229 255 / 0.9)); }
.rune-shards { min-height: 28px; }
.rune-shards .rune { width: 20px; height: 20px; }
.rune-shards .rune.is-picked { box-shadow: 0 0 0 1.5px var(--cyan), 0 0 7px rgb(0 229 255 / 0.65); }
.rune-sep { height: 1px; margin: 6px 0; background: var(--line); }
.table tbody tr.rune-table-row:hover { background: none; }
.table tbody tr.rune-table-row:hover td:first-child { box-shadow: none; }
.table tr.rune-table-row td { padding-top: 0; }

/* --- Augments --- */

.match-gear { display: grid; gap: 4px; justify-items: start; }
.augment-strip { display: flex; flex-wrap: wrap; gap: 2px; }
.augment-icon { width: 22px; height: 22px; padding: 1px; background: #000; border: 1px solid var(--rarity, var(--line-strong)); }
.rarity-silver { --rarity: #c5d3d8; }
.rarity-gold { --rarity: #ffc94d; }
.rarity-prismatic { --rarity: #e58bff; }
.augment-grid, .augment-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.augment-list { max-width: 900px; margin-top: 8px; white-space: normal; text-align: left; }
.augment-card {
  display: flex; gap: 12px;
  padding: 12px;
  background: rgb(10 20 38 / 0.92);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rarity, var(--line-strong));
}
.augment-card:hover { border-color: var(--rarity, var(--cyan)); }
.augment-card-icon { flex: none; width: 48px; height: 48px; padding: 2px; background: #000; border: 1px solid var(--rarity, var(--line-strong)); box-shadow: 0 0 10px color-mix(in srgb, var(--rarity, transparent) 45%, transparent); }
.augment-card-body { min-width: 0; }
.augment-name { font-size: 15px; letter-spacing: 0.02em; color: var(--text); }
.augment-rarity { color: var(--rarity, var(--text-3)); }
.augment-text { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.augment-group + .augment-group { margin-top: 32px; }
.augment-group-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rarity, var(--text)); border-bottom: 1px solid var(--rarity, var(--line-strong)); text-shadow: 0 0 14px color-mix(in srgb, var(--rarity, transparent) 55%, transparent); }
.augment-group-count { font-size: 13px; font-weight: 400; color: var(--text-2); text-shadow: none; }
/* Die Tabelle scrollt auf kleinen Bildschirmen seitlich, die Details sollen trotzdem ganz zu sehen sein */
.player-details { position: sticky; left: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; max-width: min(900px, calc(100vw - 2 * var(--gutter) - 24px)); }

/* --- Sprache --- */

.admin-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-panel { min-width: 0; }
.admin-wide { grid-column: 1 / -1; }
.admin-note { margin: 10px 0 0; }
.admin-guild { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.admin-guild img { flex: none; width: 24px; height: 24px; border-radius: 50%; }
.admin-list { margin: 0; padding: 0; list-style: none; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; }
.admin-list li + li { border-top: 1px solid var(--line); }
.admin-list a:hover { color: var(--cyan); }
.admin-errors li { align-items: flex-start; }
.admin-error-text { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.admin-errors .faint { flex: none; }
.admin-log-title { margin-bottom: 10px; }
.admin-scroll { max-height: 280px; overflow-y: auto; }
.account-button.is-active { color: var(--win); border-color: var(--win); }
.overlay-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.overlay-form { display: grid; gap: 12px; justify-items: start; }
.overlay-form .select { max-width: 100%; }
.overlay-fields { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.overlay-fields label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.overlay-row { display: flex; flex-wrap: wrap; gap: 12px; }
.overlay-row > span { display: grid; gap: 4px; }
.overlay-link-panel { display: grid; gap: 10px; min-width: 0; }
.overlay-link-panel .input { width: 100%; box-sizing: border-box; }
.overlay-link-panel p { margin: 0; }
.overlay-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.overlay-preview-title { margin-top: 6px; }
.overlay-preview { width: 100%; height: 170px; border: 1px dashed var(--line-strong); background: repeating-conic-gradient(#1a2333 0 25%, #121a29 0 50%) 0 0 / 24px 24px; }
.admin-stats { margin-bottom: 16px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.admin-stats .stat-value { font-size: clamp(18px, 2.4vw, 24px); }
.admin-stats .faint { display: block; margin-top: 2px; font-size: 12px; }
.admin-log { margin-top: 12px; padding: 4px 0; }
.admin-more { display: block; margin: 12px auto; }
.admin-tabs { margin-bottom: 16px; }
.admin-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.admin-panel-head .sidebar-title { margin-bottom: 10px; }
.admin-stats .stat.is-warn { --edge: var(--loss); }
.admin-stats .stat.is-warn .stat-value { color: var(--loss); }
.admin-small { font-size: 12px; }
.admin-panel .mono { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.admin-panel .table td, .admin-panel .table th { padding: 6px 10px; }
.admin-tools li { align-items: center; }
.admin-tools li > span { min-width: 0; font-size: 13px; }
.admin-crawl-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.admin-warning { margin: 0 0 10px; padding: 8px 10px; border-left: 3px solid var(--loss); background: var(--loss-dim); color: var(--text); font-size: 13px; }
.admin-ranked { counter-reset: rank; }
.admin-ranked li::before { counter-increment: rank; content: counter(rank); width: 1.6em; flex: none; color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.admin-ranked li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-code { display: inline-block; min-width: 3.2em; padding: 1px 6px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; text-align: center; }
.admin-code.is-good { color: var(--win); border-color: rgb(25 255 176 / 0.4); }
.admin-code.is-bad { color: var(--loss); border-color: rgb(255 77 109 / 0.5); }
.admin-progress { display: inline-block; width: 64px; height: 6px; vertical-align: middle; background: var(--line); }
.admin-progress > span { display: block; height: 100%; background: var(--cyan); }
/* Balken über die Zeit: gestapelt nach Art, die Höhe relativ zum größten */
.admin-bars { display: flex; align-items: stretch; gap: 3px; height: 150px; padding-top: 6px; }
.admin-bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.admin-bar-stack { display: flex; flex-direction: column-reverse; min-height: 1px; background: var(--line); }
.admin-bar-part { display: block; flex-basis: 0; min-height: 1px; }
.admin-bar:hover .admin-bar-stack { filter: brightness(1.3); }
.admin-bar-label { display: block; height: 16px; margin-top: 4px; overflow: visible; font-size: 11px; white-space: nowrap; }
.admin-bar-part.is-command, .admin-dot.is-command { background: var(--neon); }
.admin-bar-part.is-web, .admin-dot.is-web { background: var(--cyan); }
.admin-bar-part.is-background, .admin-dot.is-background { background: var(--brass); }
.admin-bar-part.is-crawl, .admin-dot.is-crawl { background: #6d7fa0; }
.admin-bar-part.is-error, .admin-dot.is-error { background: var(--loss); }
.admin-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--text-2); }
.admin-legend li { display: inline-flex; align-items: center; gap: 6px; }
.admin-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; vertical-align: baseline; }
.admin-legend .admin-dot { margin-right: 0; }
.log-list { margin: 0; padding: 0; list-style: none; }
.log-row { display: grid; grid-template-columns: 74px 76px minmax(0, 1fr); gap: 2px 10px; align-items: baseline; padding: 5px 14px; border-left: 2px solid transparent; font-size: 13px; }
.log-row + .log-row { border-top: 1px solid var(--line); }
.log-row.is-warn { border-left-color: var(--acid); }
.log-row.is-error { border-left-color: var(--loss); background: rgb(255 77 109 / 0.06); }
.log-time { font: 400 12px var(--mono); color: var(--text-3); }
.log-tag { font: 600 10px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.log-row.is-warn .log-tag { color: var(--acid); }
.log-row.is-error .log-tag { color: var(--loss); }
.log-message { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.log-message a { color: var(--text); }
.log-message a:hover { color: var(--cyan); }
.log-origin { margin-left: 6px; font: 400 11px var(--mono); color: var(--text-3); }
.account { flex: none; display: flex; align-items: center; gap: 8px; }
.account:empty { display: none; }
.guest-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.guest-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.guild-picker { position: relative; }
.guild-icon { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.guild-icon-letter { display: grid; place-items: center; font: 700 12px var(--display); color: #050b16; background: linear-gradient(135deg, var(--cyan), var(--brass)); }
.guild-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guild-single, .guild-trigger { display: flex; align-items: center; gap: 8px; max-width: 200px; padding: 4px 8px 4px 5px; font: 600 13px var(--body); color: var(--text); }
.guild-trigger { background: var(--bg-raised); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.guild-trigger:hover, .guild-trigger[aria-expanded="true"] { background: var(--panel-hover); border-color: var(--cyan); }
.guild-chevron { flex: none; color: var(--text-3); transition: transform 0.15s; }
.guild-trigger[aria-expanded="true"] .guild-chevron { transform: rotate(180deg); color: var(--cyan); }
.guild-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 290px; padding: 6px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 14px 34px rgb(0 0 0 / 0.55), 0 0 18px rgb(0 229 255 / 0.12); }
.guild-menu ul { margin: 0; padding: 0; list-style: none; }
.guild-menu-title { margin: 4px 8px 8px; font: 600 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.guild-menu-hint { margin: 8px 8px 4px; font-size: 12px; color: var(--text-3); }
.guild-row { display: flex; align-items: center; border-left: 2px solid transparent; }
.guild-row:hover { background: var(--panel-hover); }
.guild-row.is-current { background: var(--cyan-dim); border-left-color: var(--cyan); }
.guild-choice { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px; font: 600 14px var(--body); color: var(--text); text-align: left; background: none; border: 0; cursor: pointer; }
.guild-star { flex: none; display: grid; place-items: center; width: 34px; height: 34px; color: var(--text-3); background: none; border: 0; cursor: pointer; }
.guild-star svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.guild-star:hover { color: var(--gold); }
.guild-star.is-favorite { color: var(--gold); }
.guild-star.is-favorite svg { fill: currentColor; filter: drop-shadow(0 0 4px rgb(255 201 77 / 0.6)); }
.guild-trigger:focus-visible, .guild-choice:focus-visible, .guild-star:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.login-gate { display: grid; justify-items: start; gap: 12px; max-width: 560px; margin: 24px auto; }
.login-gate p { margin: 0; }
.is-logged-in .topbar > .lang-toggle { display: none; }
.nav-more { position: relative; display: flex; }
.nav-more-button { display: flex; align-items: center; gap: 5px; padding: 6px 14px; font: 600 14px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); background: none; border: 0; cursor: pointer; }
.nav-more-button:hover, .nav-more-button[aria-expanded="true"] { color: var(--text); background: rgb(255 255 255 / 0.06); }
.nav-more:has(a[aria-current]) .nav-more-button { color: var(--cyan); }
.nav-more-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; display: grid; min-width: 160px; padding: 6px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 14px 34px rgb(0 0 0 / 0.55); }
.nav-more-menu[hidden] { display: none; }
.nav .nav-more-menu a { padding: 8px 10px; clip-path: none; }
.account-picker { position: relative; }
.account-trigger { display: flex; align-items: center; gap: 6px; padding: 4px 7px 4px 5px; color: var(--text); background: var(--bg-raised); border: 1px solid var(--line-strong); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.account-trigger:hover, .account-trigger[aria-expanded="true"] { background: var(--panel-hover); border-color: var(--cyan); }
.account-trigger[aria-expanded="true"] .guild-chevron { transform: rotate(180deg); color: var(--cyan); }
.account-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; display: grid; width: 230px; padding: 6px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 14px 34px rgb(0 0 0 / 0.55), 0 0 18px rgb(0 229 255 / 0.12); }
.account-dropdown-name { margin: 4px 8px 8px; padding-bottom: 8px; overflow: hidden; font: 600 14px var(--body); text-overflow: ellipsis; white-space: nowrap; border-bottom: 1px solid var(--line); }
.account-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; padding: 8px; font: 500 14px var(--body); color: var(--text-2); text-align: left; background: none; border: 0; }
a.account-item:hover, button.account-item:hover { color: var(--text); background: var(--panel-hover); }
a.account-item, button.account-item { cursor: pointer; }
.account-logout { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.account-trigger:focus-visible, .account-item:focus-visible, .nav-more-button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.account-button { padding: 5px 8px; font: 600 11px var(--mono); letter-spacing: 0.04em; color: var(--text-2); background: none; border: 1px solid var(--line-strong); cursor: pointer; text-decoration: none; white-space: nowrap; }
.account-button:hover { color: var(--acid); border-color: var(--acid); }
@media (max-width: 680px) {
  .guild-single, .guild-trigger { max-width: 130px; }
  .nav-more-button { padding: 4px 8px; font-size: 11px; letter-spacing: 0; }
  .account-picker { position: static; }
  .account-dropdown { top: 100%; left: auto; right: var(--gutter); }
  /* Die Kopfzeile ist der Bezug, sonst ragt das Menü auf schmalen Bildschirmen aus dem Fenster */
  .guild-picker, .account { position: static; }
  .guild-menu { top: 100%; left: var(--gutter); right: var(--gutter); width: auto; }
}
.lang-toggle { flex: none; display: flex; border: 1px solid var(--line-strong); }
.lang-toggle button { padding: 5px 8px; font: 600 11px var(--mono); letter-spacing: 0.04em; color: var(--text-2); background: none; border: 0; cursor: pointer; }
.lang-toggle button:hover { color: var(--text); background: rgb(255 255 255 / 0.06); }
.lang-toggle button[aria-pressed="true"] { color: #050b16; background: var(--acid); }

/* --- Poros --- */

.poro-feeder { display: flex; flex-direction: column; align-items: center; margin-top: 18px; }
.poro-pet {
  position: relative;
  padding: 0;
  background: none; border: 0;
  cursor: pointer;
  transform: scale(var(--full, 1));
  transition: transform 0.15s ease-out;
  animation: poro-idle 2.6s ease-in-out infinite;
}
.poro-pet img { display: block; width: 84px; height: 84px; }
.poro-pet:hover img { filter: drop-shadow(0 0 10px rgb(255 42 141 / 0.8)); }
.poro-pet:active img { transform: scale(0.92, 1.06); }
.poro-pet.is-full { animation: poro-roll 1.2s ease-in-out; }
@keyframes poro-idle { 50% { translate: 0 -5px; } }
@keyframes poro-roll { 0% { translate: 0 0; rotate: 0deg; } 35% { translate: -40px 0; rotate: -360deg; } 70% { translate: 40px 0; rotate: 360deg; } 100% { translate: 0 0; rotate: 0deg; } }
.poro-heart { position: absolute; left: 50%; top: 0; font-size: 20px; color: var(--neon); text-shadow: var(--glow-neon); pointer-events: none; animation: poro-heart 0.9s ease-out forwards; }
@keyframes poro-heart { to { opacity: 0; transform: translate(var(--drift, 0), -46px) scale(1.5); } }
.poro-count { margin-top: 8px; font: 400 12px var(--mono); color: var(--text-2); text-shadow: 0 0 8px rgb(5 11 22); }
.poro-runner { position: absolute; left: 0; bottom: 8px; z-index: 1; width: 40px; height: 40px; pointer-events: none; animation: poro-run 26s linear infinite; }
@keyframes poro-run { 0% { transform: translateX(-60px) scaleX(-1); } 49.9% { transform: translateX(calc(100vw + 60px)) scaleX(-1); } 50% { transform: translateX(calc(100vw + 60px)) scaleX(1); } 100% { transform: translateX(-60px) scaleX(1); } }
.poro-king { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; border: 1px solid var(--gold); border-radius: 50%; }
.footer-poro { float: right; width: 40px; height: 40px; margin-left: 12px; }
.poro-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.poro-head .poro-feeder { margin-top: 0; }
.poro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.poro-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; font-size: 12px; line-height: 1.3; text-align: center; color: var(--text-2); background: rgb(10 20 38 / 0.92); border: 1px solid var(--line); }
.poro-card:hover { color: var(--text); border-color: var(--neon); box-shadow: 0 0 14px rgb(255 42 141 / 0.3); }
.poro-card img { width: 80px; height: 80px; }
.poro-card.is-icon img { border-radius: 50%; border: 1px solid var(--line-strong); }
.poro-card.is-emote img { object-fit: contain; }
/* Leere Zustände bekommen einen Poro. Bei .panel ist ::before die Füllung, deshalb dort als weiteres Hintergrundbild. */
.panel.empty { padding-top: 84px; }
.panel.empty::before { background: var(--poro-sleeping) center 12px / 64px no-repeat, var(--fill); }
.empty:not(.panel) { padding-top: 84px; background: var(--poro-sleeping) center 12px / 64px no-repeat; }
.error-box { padding-top: 104px; background: var(--poro-ghost) center 12px / 80px no-repeat; }
/* Beim Laden wippt ein Poro */
.skeleton { position: relative; }
.skeleton::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--poro-happy) center / contain no-repeat; animation: poro-idle 0.9s ease-in-out infinite; }

/* --- Worlds: Spiel-Zeilen --- */

.esports-title { margin-bottom: 12px; font-size: clamp(22px, 3vw, 28px); letter-spacing: 0.04em; text-transform: uppercase; }

.esports-source { margin-top: 28px; font-size: 12px; }
.esports-source a { text-decoration: underline; }
.esports-source a:hover { color: var(--cyan); }
.esports-table { max-width: 680px; }
.team-logo { display: block; flex: none; width: 24px; height: 24px; object-fit: contain; }
.team-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }

.ms-day { margin-top: 16px; }
.ms-day-title { margin: 16px 0 6px; font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.ms-day .ms-day-title { margin-top: 0; }
.ms-list { background: rgb(10 20 38 / 0.85); border: 1px solid var(--line); }
.ms-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 64px minmax(0, 1fr) minmax(0, 170px);
  align-items: center; column-gap: 10px;
  padding: 7px 12px;
  font-size: 14px;
}
.ms-row + .ms-row { border-top: 1px solid var(--line); }
.ms-row:hover { background: rgb(255 255 255 / 0.03); }
.ms-row.is-live { background: var(--neon-dim); }
.ms-time { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.is-live .ms-time { color: var(--neon); }
.ms-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; }
.ms-a { flex-direction: row-reverse; text-align: right; }
.ms-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-short { display: none; }
.ms-team.is-winner { font-weight: 700; color: var(--win); }
.ms-team.is-loser { color: var(--text-3); }
.ms-center { text-align: center; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.ms-meta { min-width: 0; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.ms-extra { grid-column: 1 / -1; padding-top: 4px; text-align: center; }
.ms-extra .rune-panel { text-align: left; }
.spoiler-reveal { padding: 0; font: 600 11px var(--mono); letter-spacing: 0.02em; color: var(--acid); background: none; border: 0; cursor: pointer; }
.spoiler-reveal:hover { text-decoration: underline; }

/* --- Worlds: Schalter --- */

.worlds-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.worlds-head .esports-title { margin-bottom: 0; }
.spoiler-switch { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font: 600 13px var(--display); letter-spacing: 0.03em; color: var(--text-2); background: none; border: 0; cursor: pointer; }
.spoiler-switch:hover { color: var(--text); }
.spoiler-switch-track { position: relative; display: block; width: 34px; height: 18px; background: var(--bg-raised); border: 1px solid var(--line-strong); }
.spoiler-switch-track span { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; background: var(--text-3); transition: transform 0.12s ease-out; }
.spoiler-switch[aria-checked="true"] { color: var(--acid); }
.spoiler-switch[aria-checked="true"] .spoiler-switch-track { border-color: var(--acid); }
.spoiler-switch[aria-checked="true"] .spoiler-switch-track span { background: var(--acid); transform: translateX(16px); }

/* --- Worlds --- */

.worlds-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 12px 16px; background: rgb(10 20 38 / 0.92); border: 1px solid var(--line-strong); border-left: 3px solid var(--cyan); }
.worlds-bar.is-live { border-left-color: var(--neon); background: var(--neon-dim); }
.worlds-bar-main { display: flex; flex: 1 1 260px; flex-direction: column; gap: 2px; min-width: 0; }
.worlds-bar-main .label { color: var(--cyan); }
.worlds-bar.is-live .label { color: var(--neon); }
.worlds-bar-time, .worlds-bar-final { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.worlds-bar-final { padding-left: 20px; border-left: 1px solid var(--line-strong); }
.worlds-versus { font: 700 clamp(17px, 2.2vw, 21px) var(--display); letter-spacing: 0.02em; }
.worlds-versus .faint { font-weight: 500; font-size: 0.75em; }
.worlds-champion { font: 700 clamp(22px, 3vw, 30px) var(--display); color: var(--gold); text-shadow: 0 0 22px rgb(255 201 77 / 0.5); }
.worlds-countdown { font-size: 18px; font-weight: 600; color: var(--acid); text-shadow: 0 0 12px rgb(232 196 99 / 0.45); }
.worlds-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin: 14px 0 18px; }
.worlds-step { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; font-size: 12px; text-align: left; color: var(--text-2); background: rgb(10 20 38 / 0.85); border: 1px solid var(--line); border-top: 3px solid var(--line-strong); cursor: pointer; }
.worlds-step strong { font: 700 14px var(--display); letter-spacing: 0.03em; color: var(--text); }
.worlds-step:hover { background: var(--panel-hover); }
.worlds-step.is-done { border-top-color: var(--win); }
.worlds-step.is-current { border-top-color: var(--brass); }
.worlds-step[aria-selected="true"] { background: var(--cyan-dim); border-color: var(--cyan); }
.worlds-step[aria-selected="true"] strong { color: var(--cyan); }
.worlds-rounds-title { margin-top: 22px; }
.worlds-round { border: 1px solid var(--line); background: rgb(10 20 38 / 0.6); }
.worlds-round + .worlds-round { border-top: 0; }
.worlds-round summary { padding: 9px 12px; font: 600 13px var(--display); letter-spacing: 0.03em; cursor: pointer; }
.worlds-round summary:hover { color: var(--cyan); }
.worlds-round[open] { padding-bottom: 12px; }
.worlds-round .ms-day { margin: 8px 12px 0; }
.worlds-bracket { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.worlds-column { display: flex; flex-direction: column; min-width: 0; }
.worlds-column .ms-day-title { margin-top: 0; }
.worlds-column-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.worlds-match { padding: 8px 12px; background: rgb(10 20 38 / 0.92); border: 1px solid var(--line); border-left: 3px solid var(--line-strong); }
.worlds-match.is-finished { border-left-color: var(--win); }
.worlds-match.is-live { border-color: var(--neon); }
.worlds-match.is-upcoming { border-left-color: var(--cyan); }
.worlds-match-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-bottom: 4px; font-size: 12px; }
.worlds-side { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 1px 0; font-size: 14px; font-weight: 500; }
.worlds-side.is-winner { font-weight: 700; color: var(--win); }
.worlds-side.is-loser { color: var(--text-3); }
.worlds-team { min-width: 0; overflow-wrap: anywhere; }
.worlds-score { flex: none; font-weight: 600; }
.worlds-match .rune-toggle, .worlds-match .spoiler-reveal { margin-top: 4px; }
.worlds-maps { display: grid; gap: 10px; margin-top: 8px; }
.worlds-map { padding-top: 8px; border-top: 1px solid var(--line); }
.worlds-map-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 12px; }
.worlds-map-table { width: 100%; margin-top: 4px; border-collapse: collapse; font-size: 11px; }
.worlds-map-table th { padding: 2px 4px; font: 600 10px var(--mono); text-align: left; text-transform: uppercase; color: var(--text-3); }
.worlds-map-table td { padding: 2px 4px; overflow-wrap: anywhere; }
.worlds-map-table .right { text-align: right; white-space: nowrap; }
.worlds-leagues { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; align-items: start; }
.worlds-status-in { color: var(--win); }
.worlds-status-out { color: var(--text-3); }
.worlds-teaser .worlds-countdown { flex: none; }


/* --- Patch Notes --- */

.pn-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; }
.pn-original { margin-left: auto; }
.pn-hero { position: relative; display: flex; align-items: flex-end; min-height: 170px; margin-bottom: 18px; overflow: hidden; background: var(--bg-raised); border: 1px solid var(--line-strong); border-bottom: 1px solid var(--brass); }
.pn-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pn-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(5 11 22 / 0.92), rgb(5 11 22 / 0.45) 55%, rgb(5 11 22 / 0.1)); }
.pn-hero-text { position: relative; z-index: 1; padding: 18px 20px; }
.pn-title { font-size: clamp(32px, 6vw, 56px); letter-spacing: 0.03em; text-transform: uppercase; text-shadow: 3px 0 0 rgb(200 155 60 / 0.75), -3px 0 0 rgb(0 229 255 / 0.75); }
.pn-search { width: 100%; max-width: 320px; margin-bottom: 14px; }
.pn-note { margin-bottom: 12px; font-size: 12px; }
.pn-mine { margin-bottom: 14px; }
.pn-mine-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pn-mine-head .sidebar-title { margin: 0; }
.pn-mine .pn-note { margin: 10px 0 0; }
.pn-mine-name { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; }
.pn-mine-name:hover { color: var(--cyan); }
.pn-mine-name img { width: 24px; height: 24px; }
.pn-mine-table .pn-wr { justify-content: flex-end; }
.pn-card.is-mine { border-top-color: var(--gold); box-shadow: inset 0 0 0 1px rgb(255 201 77 / 0.25); }
.pn-card.is-flash { animation: pn-flash 1.4s ease-out; }
@keyframes pn-flash { from { box-shadow: 0 0 0 3px var(--gold), 0 0 24px rgb(255 201 77 / 0.5); } }
.pn-mine-tag { display: block; margin-bottom: 6px; font: 600 10px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
/* Spalten statt Raster: Eine sehr lange Karte wie eine Champion-Überarbeitung reißt so keine Lücken */
.pn-grid { columns: 360px; column-gap: 12px; }
.pn-card { margin-bottom: 12px; padding: 12px 14px; break-inside: avoid; background: rgb(10 20 38 / 0.92); border: 1px solid var(--line); border-top: 2px solid var(--cyan); }
.pn-card[hidden] { display: none; }
.pn-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pn-card-icon { flex: none; width: 48px; height: 48px; background: #000; border: 1px solid var(--line-strong); }
.pn-card-name { flex: 1; min-width: 0; font-size: 18px; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.pn-card-name a:hover { color: var(--cyan); }
.pn-wr { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; line-height: 1.3; cursor: help; }
.pn-wr .win, .pn-wr .loss, .pn-wr .muted { font-size: 15px; font-weight: 600; }
.pn-group + .pn-group { margin-top: 10px; }
.pn-group-title { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font: 600 13px var(--display); letter-spacing: 0.02em; color: var(--cyan); }
.pn-group-title img { flex: none; width: 24px; height: 24px; border: 1px solid var(--line-strong); }
.pn-changes { display: grid; gap: 6px; }
.pn-change { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.pn-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); }
.pn-from { color: var(--text-3); }
.pn-arrow { padding: 0 2px; font-weight: 700; color: var(--brass); }
.pn-to { font-weight: 600; color: var(--text); }
.pn-text { color: var(--text-2); }
.pn-badge { display: inline-block; margin-right: 6px; padding: 0 6px; font: 600 10px/16px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; color: #050b16; background: var(--text-2); }
.pn-badge.is-new { background: var(--win); }
.pn-badge.is-removed { background: var(--loss); }
.pn-intro { margin: 0 0 12px; }
.pn-category { margin-top: 18px; }
.pn-category[hidden] { display: none; }
.pn-why { margin-top: 10px; font-size: 12px; color: var(--text-2); }
.pn-why summary { width: fit-content; font: 600 11px var(--mono); letter-spacing: 0.04em; color: var(--acid); cursor: pointer; }
.pn-why p { margin-top: 6px; padding-left: 10px; line-height: 1.5; white-space: pre-line; border-left: 2px solid var(--line-strong); }
.pn-section { margin-bottom: 8px; background: rgb(10 20 38 / 0.7); border: 1px solid var(--line); }
.pn-section > summary { padding: 11px 14px; font: 700 15px var(--display); letter-spacing: 0.03em; cursor: pointer; }
.pn-section > summary:hover { color: var(--cyan); }
.pn-section-body { padding: 0 14px 14px; }
.pn-generic-heading { margin: 14px 0 6px; font: 600 14px var(--display); color: var(--cyan); }
.pn-paragraph { margin: 6px 0; max-width: 76ch; font-size: 14px; line-height: 1.55; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.pn-generic-list { max-width: 76ch; margin: 6px 0; }
.pn-image { width: auto; max-width: min(100%, 720px); height: auto; margin: 10px 0; border: 1px solid var(--line-strong); }

/* --- Suche --- */

.palette {
  width: min(600px, calc(100vw - 32px));
  margin-top: 12vh; padding: 0;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 60px rgb(0 229 255 / 0.3), 0 0 120px rgb(200 155 60 / 0.18);
}
.palette::backdrop { background: rgb(3 3 10 / 0.8); }
.palette-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-strong); color: var(--cyan); }
.palette-input input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: none; border: 0; outline: none; }
.palette-results { max-height: 50vh; overflow-y: auto; padding: 6px; }
.palette-results li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; cursor: pointer; }
.palette-results li[aria-selected="true"] { background: var(--cyan-dim); box-shadow: inset 2px 0 0 var(--cyan); }
.palette-results img { width: 30px; height: 30px; }
.palette-kind { margin-left: auto; }
.palette-hint { padding: 14px 8px; font-size: 14px; color: var(--text-2); cursor: default !important; }

/* --- Kleine Bildschirme --- */

/* Die Kopfleiste ist mit sieben Menüpunkten breit: erst die Suche verkleinern, dann dem Menü eine eigene Zeile geben */
@media (max-width: 1420px) {
  .search-trigger { min-width: 0; }
  .search-trigger-label { display: none; }
}
@media (max-width: 1260px) {
  .topbar { flex-wrap: wrap; gap: 6px 8px; }
  .nav { order: 3; width: 100%; }
}
/* Unterhalb dieser Breite passt die Aufstellung nicht mehr in die Spielzeile und würde die Seite breiter machen */
@media (max-width: 1280px) {
  .match-summary { grid-template-columns: 112px auto minmax(92px, 1fr) minmax(92px, 1fr) auto; }
  .lineup { display: none; }
}
@media (max-width: 1020px) {
  .player-layout, .home-grid, .two-col, .meta-columns, .lane-columns, .lane-pair, .build-grid, .live-teams, .worlds-bracket { grid-template-columns: minmax(0, 1fr); }
  .lane-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rune-trees { grid-template-columns: minmax(0, 1fr); }
  /* Auf dem Handy zuerst die Spiele, sonst liegen sie unter allen Seitenleisten */
  .player-layout > section { order: -1; }
  .match-summary { grid-template-columns: 104px auto minmax(0, 1fr) auto; }
  .lineup { display: none; }
  .match-stats { display: none; }
}
@media (max-width: 680px) {
  .log-row { grid-template-columns: 74px minmax(0, 1fr); }
  .log-message { grid-column: 1 / -1; }
  .brand, .search-trigger { flex: none; }
  .ms-row { grid-template-columns: 42px minmax(0, 1fr) 46px minmax(0, 1fr); column-gap: 6px; padding: 7px 8px; font-size: 13px; }

  .ms-meta { display: none; }
  .ms-long { display: none; }
  .ms-short { display: inline; }
  .team-logo { width: 20px; height: 20px; }
  .worlds-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worlds-bar-final { padding-left: 0; border-left: 0; }
  /* Acht Menüpunkte passen nicht in eine Zeile. Lieber umbrechen als Punkte hinter dem Rand verstecken. */
  .nav { flex-wrap: wrap; justify-content: center; gap: 2px 4px; overflow: visible; }
  .nav a { padding: 4px 8px; font-size: 11px; letter-spacing: 0; white-space: nowrap; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
  .meta-position { display: none; }
  .live-compare-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 10px; }
  .live-compare-row .live-compare-label { grid-column: 1 / -1; grid-row: 1; }
  .live-compare-side { flex-wrap: wrap; }
  .live-duel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .live-duel-middle { grid-column: 1 / -1; grid-row: 2; }
  .search-trigger { min-width: 0; margin-left: auto; }
  .search-trigger-label, .search-trigger kbd, .hero-search kbd { display: none; }
  .brand span { display: none; }
  .stat-row, .lane-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ability-panel:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
  .slot-grid { grid-template-columns: minmax(0, 1fr); }
  .build-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .build-core { grid-column: 1 / -1; }
  .player-actions { margin-left: 0; align-items: flex-start; width: 100%; }
  .match-summary { grid-template-columns: minmax(0, 1fr) auto; }
  .match-gear { grid-column: 1 / -1; }
  .match-summary .items { grid-template-columns: repeat(7, 26px); }
  .augment-grid, .augment-list { grid-template-columns: minmax(0, 1fr); }
  .pn-grid { columns: 1; }
  .pn-original { margin-left: 0; }
  .poro-pet img { width: 68px; height: 68px; }
  .match-summary .chevron { display: none; }
  .filter-row [data-sort] { margin-left: 0; }
}
/* --- Noch mehr Neon --- */


/* Seitenwechsel */
main.route-in { animation: route-flicker 0.26s steps(1); }
@keyframes route-flicker { 0% { opacity: 0.15; } 25% { opacity: 1; } 45% { opacity: 0.45; } 65% { opacity: 1; } }

/* Statuszeile */
.hud {
  position: relative;
  display: flex; align-items: center; gap: 6px 20px;
  min-height: 26px; padding: 3px var(--gutter);
  overflow: hidden; white-space: nowrap;
  font: 400 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3);
  background: linear-gradient(90deg, rgb(0 229 255 / 0.09), rgb(5 11 22 / 0.75) 40%, rgb(200 155 60 / 0.09));
  border-bottom: 1px solid var(--line);
}
.hud::before { content: ""; flex: none; width: 34px; height: 8px; background: var(--hazard); }
.hud b { font-weight: 600; color: var(--cyan); text-shadow: var(--glow-cyan); }
.hud-item { display: inline-flex; align-items: center; gap: 6px; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--loss); box-shadow: 0 0 8px var(--loss); }
.hud-item.is-ok .hud-dot { background: var(--win); box-shadow: 0 0 8px var(--win); animation: pulse 2s ease-in-out infinite; }
.hud-item.is-ok b { color: var(--win); text-shadow: 0 0 8px rgb(25 255 176 / 0.6); }
.hud-item.is-bad b { color: var(--loss); text-shadow: 0 0 8px rgb(255 77 109 / 0.6); }

/* Karten: Innenglühen, feines Punktraster und pinker Strich unten links */
.panel::before, .stat::before, .record::before, .feed-row::before, .podium-row::before, .match::before, .champ-card::before, .live-player::before {
  box-shadow: inset 0 0 26px rgb(0 229 255 / 0.06);
  transition: box-shadow 0.15s ease-out;
}
.panel:not(.empty)::before, .stat::before {
  background:
    linear-gradient(var(--brass), var(--brass)) left bottom / 30px 2px no-repeat,
    radial-gradient(rgb(0 229 255 / 0.07) 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--fill);
}
.record:hover, .feed-row:hover, .podium-row:hover, .match:hover, .champ-card:hover, .live-player:hover, .search-trigger:hover, .btn-ghost:hover, .hero-search:hover { --edge: var(--edge-hot); }
.record:hover::before, .feed-row:hover::before, .podium-row:hover::before, .match:hover::before, .champ-card:hover::before, .live-player:hover::before {
  box-shadow: inset 0 0 34px rgb(200 155 60 / 0.2);
}

/* Titel */
.brand { animation: neon-flicker 11s steps(1) infinite; }
@keyframes neon-flicker { 0%, 100% { opacity: 1; } 91% { opacity: 0.45; } 92% { opacity: 1; } 94% { opacity: 0.6; } 95% { opacity: 1; } }
.nav { filter: drop-shadow(0 0 7px rgb(0 229 255 / 0.4)); }
/* Schmale Fenster: Die Navigation bekommt ihre eigene Zeile */
@media (max-width: 1260px) {
  .nav { flex-wrap: wrap; }
}
@media (max-width: 1160px) {
  .search-trigger { min-width: 0; }
  .search-trigger-label, .search-trigger kbd { display: none; }
}
.nav a:hover { color: #fff; background: var(--brass-dim); text-shadow: var(--glow-brass); }
.page-title { animation: title-glitch 0.45s steps(1); }
.page-title::before { content: ""; display: block; width: 58px; height: 7px; margin-bottom: 10px; background: var(--hazard); }
.page-title::after { background: linear-gradient(90deg, var(--cyan), var(--brass), var(--acid), var(--cyan)) 0 0 / 300% 100%; animation: line-run 5s linear infinite; }
@keyframes line-run { to { background-position: -300% 0; } }
@keyframes title-glitch {
  0% { transform: translate(-5px, 0) skewX(-7deg); text-shadow: 6px 0 0 var(--brass), -6px 0 0 var(--cyan); opacity: 0.6; }
  25% { transform: translate(4px, 0) skewX(5deg); text-shadow: -5px 0 0 var(--brass), 5px 0 0 var(--cyan); opacity: 1; }
  50% { transform: translate(-2px, 0); text-shadow: 3px 0 0 var(--acid), -3px 0 0 var(--cyan); opacity: 0.8; }
  75% { transform: translate(1px, 0); opacity: 1; }
}
.esports-title { text-shadow: 2px 0 0 rgb(200 155 60 / 0.75), -2px 0 0 rgb(0 229 255 / 0.75), 0 0 20px rgb(0 229 255 / 0.25); }
.section-head { background: linear-gradient(90deg, var(--brass), var(--cyan) 35%, transparent 80%) left bottom / 100% 2px no-repeat; }
.section-title { text-shadow: 0 0 14px rgb(0 229 255 / 0.35); }
.stat-value { color: #fff; text-shadow: 0 0 6px var(--cyan), 0 0 22px rgb(0 229 255 / 0.55); }
.win, .loss { text-shadow: 0 0 9px color-mix(in srgb, currentColor 55%, transparent); }

/* Knöpfe und Felder */
.btn:hover { animation: btn-glitch 0.28s steps(1); text-shadow: 1px 0 0 var(--brass), -1px 0 0 var(--cyan); }
@keyframes btn-glitch { 0% { transform: translateX(-2px); } 33% { transform: translateX(2px); } 66% { transform: translateX(-1px); } }
.select:focus, .input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 14px rgb(0 229 255 / 0.5); }
.chip[aria-pressed="true"] { text-shadow: none; }

/* Tabellen */
.table th { border-bottom: 1px solid var(--brass); box-shadow: 0 1px 8px rgb(200 155 60 / 0.35); text-shadow: 0 0 8px rgb(0 229 255 / 0.5); }
.lane-table tbody th[scope="row"] { font: inherit; letter-spacing: 0; text-transform: none; color: var(--text-2); background: none; border-bottom: 1px solid var(--line); box-shadow: none; text-shadow: none; }
.lane-table tr:last-child th[scope="row"] { border-bottom: 0; }
.table tbody tr:hover td { background: var(--cyan-dim); }
.history-tab:hover { text-shadow: var(--glow-brass); }

/* Fußzeile */
.footer { border-top: 0; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--hazard); opacity: 0.75; }

/* --- Spielerakte --- */

.akte { position: relative; border-bottom: 1px solid var(--brass); box-shadow: 0 1px 18px rgb(200 155 60 / 0.35); }
.akte-splash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(1.1); }
.akte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 2%, rgb(5 11 22 / 0.72) 45%, rgb(5 11 22 / 0.4)), linear-gradient(90deg, rgb(5 11 22 / 0.75), transparent 70%); }
.akte-inner { position: relative; z-index: 1; display: grid; gap: 16px; max-width: var(--page); margin: 0 auto; padding: 40px var(--gutter) 20px; }
.akte-main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.akte-who { flex: 1 1 320px; min-width: 0; }
/* Die anderen Accounts gehören zur selben Person, deshalb stehen sie in derselben Zeile */
.akte-accounts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; }
.akte-accounts::before { content: "·"; color: var(--text-3); }
.akte-accounts a { font-weight: 600; color: var(--text); border-bottom: 1px solid rgb(200 155 60 / 0.6); }
.akte-accounts a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.akte-accounts span { font-weight: 400; color: var(--text-3); }
.akte .player-name { font-size: clamp(30px, 5vw, 54px); text-transform: none; }
.akte-poro { flex: none; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.akte-poro img { width: 64px; height: 64px; filter: drop-shadow(0 0 10px rgb(0 229 255 / 0.5)); animation: poro-bob 1.8s ease-in-out infinite; }
.akte-poro.is-sleeping img { animation: none; filter: drop-shadow(0 0 8px rgb(200 155 60 / 0.4)) saturate(0.8); }
.akte-poro.is-tilted img { filter: drop-shadow(0 0 10px rgb(255 77 109 / 0.6)); }
.akte-poro.is-hyped img { filter: drop-shadow(0 0 12px rgb(25 255 176 / 0.7)); animation-duration: 0.8s; }
@keyframes poro-bob { 50% { transform: translateY(-5px); } }
.akte-poro-text { max-width: 180px; padding: 6px 10px; font: 400 12px/1.35 var(--mono); color: var(--text); background: rgb(5 11 22 / 0.8); border: 1px solid var(--line-strong); border-left: 2px solid var(--brass); }
.akte-poro.is-hyped .akte-poro-text { border-left-color: var(--win); }
.akte-poro.is-tilted .akte-poro-text { border-left-color: var(--loss); }
.akte-titles { display: flex; flex-wrap: wrap; gap: 8px; }
.akte-title-wrap { position: relative; cursor: help; }
.akte-title-wrap:focus-visible { outline-offset: 1px; }
.akte-title-wrap:hover .akte-title, .akte-title-wrap:focus .akte-title { border-color: var(--acid); background: rgb(18 32 56 / 0.92); }
.akte-title-tip {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 30;
  width: max-content; max-width: min(300px, 80vw);
  padding: 9px 12px;
  font-size: 13px; line-height: 1.4; text-align: left;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--brass);
  border-top: 2px solid var(--acid);
  box-shadow: 0 6px 22px rgb(0 0 0 / 0.65), 0 0 14px rgb(200 155 60 / 0.25);
  visibility: hidden; opacity: 0;
  transition: opacity 0.1s ease-out;
  pointer-events: none;
}
.akte-title-wrap:hover .akte-title-tip, .akte-title-wrap:focus .akte-title-tip { visibility: visible; opacity: 1; }
.akte-title-tip strong { display: block; margin-bottom: 3px; font: 700 14px var(--display); color: var(--acid); }
.akte-title-tip .faint { margin-top: 5px; font-size: 11px; }
.akte-title { display: flex; flex-direction: column; padding: 5px 12px 6px; background: rgb(5 11 22 / 0.78); border: 1px solid rgb(200 155 60 / 0.7); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.akte-title strong { font: 700 14px var(--display); letter-spacing: 0.03em; color: var(--acid); }
.akte-title-wrap.is-recent .akte-title { border-color: rgb(0 229 255 / 0.7); }
.akte-title-wrap.is-recent .akte-title strong { color: var(--cyan); }
.akte-title-now { font: 600 9px var(--mono); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.live-tag.is-low { color: var(--loss); border-color: rgb(255 77 109 / 0.6); }
.akte-title span { font: 400 11px var(--mono); color: var(--text-2); }
.akte-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.akte-rank { display: flex; align-items: center; gap: 10px; font: 700 16px var(--display); line-height: 1.2; }
.akte-rank .num { font-size: 12px; font-weight: 400; }
.akte-mastery { display: flex; gap: 12px; }
.akte-mastery a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--text-2); }
.akte-mastery a:hover { color: var(--cyan); }
.akte-page { padding-top: 18px; }
.akte-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; margin-bottom: 4px; }
.akte-note { margin-top: 8px; font-size: 12px; }

.versus-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 62px; gap: 2px 10px; padding: 5px 0; font-size: 13px; }
.versus-row + .versus-row { border-top: 1px solid var(--line); }
.versus-label { color: var(--text-2); }
.versus-value { font-weight: 600; }
.versus-place { text-align: right; color: var(--text-3); font-size: 12px; }
.versus-row.is-first .versus-place { color: var(--acid); font-weight: 600; }
.versus-row.is-last .versus-place { color: var(--loss); font-weight: 600; }
.versus-bar { grid-column: 1 / -1; height: 3px; background: var(--line); }
.versus-bar i { display: block; height: 100%; background: var(--cyan); }
.versus-row.is-first .versus-bar i { background: var(--acid); }
.versus-row.is-last .versus-bar i { background: var(--loss); }

.ally-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; padding: 6px 0; }
.ally-row + .ally-row { border-top: 1px solid var(--line); }
.ally-row .label { grid-column: 1 / -1; color: var(--brass); }
.ally-name { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font-weight: 600; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.ally-name:hover { color: var(--cyan); }
.ally-score { font-size: 12px; white-space: nowrap; }

.calendar { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); grid-auto-columns: minmax(0, 1fr); gap: 2px; }
.cal-cell { display: block; aspect-ratio: 1; background: rgb(255 255 255 / 0.05); }
.cal-cell.is-even { background: var(--cyan); }
.cal-cell.is-good { background: var(--win); }
.cal-cell.is-bad { background: var(--loss); }
.cal-cell.l1 { opacity: 0.4; }
.cal-cell.l2 { opacity: 0.6; }
.cal-cell.l3 { opacity: 0.8; }

/* Abende in der Match History */
.session + .session { margin-top: 10px; }
.session-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 7px 10px; font-size: 13px; cursor: pointer; list-style: none; background: rgb(10 20 38 / 0.9); border: 1px solid var(--line-strong); border-left: 2px solid var(--brass); }
.session-head::-webkit-details-marker { display: none; }
.session-head::before { content: "▸"; color: var(--brass); transition: transform 0.12s; }
.session[open] > .session-head::before { transform: rotate(90deg); }
.session-head:hover { background: var(--panel-hover); }
.session-when { font: 600 13px var(--display); letter-spacing: 0.03em; }
.session-form { display: inline-flex; gap: 2px; }
.session-form i { display: block; width: 8px; height: 12px; }
.session-form .w { background: var(--win); }
.session-form .l { background: var(--loss); }
.session-score { font-size: 12px; }
.session-time { font-size: 12px; }
.session-verdict { padding: 0 7px; font: 600 11px/18px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #050b16; }
.session-verdict.is-good { background: var(--win); }
.session-verdict.is-bad { background: var(--loss); }
.session-with { margin-left: auto; font-size: 12px; color: var(--text-2); }
.session-games { margin-top: 8px; }

/* Der Champion hinter der Spielzeile */
.match-splash { position: absolute; right: 0; top: 0; z-index: -1; width: 46%; height: 100%; object-fit: cover; object-position: center 25%; opacity: 0.28; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }

/* Eingabefeld, Filter und Sortierung gleich hoch */
.filter-row .input, .filter-row .select, .filter-row .chip { display: inline-flex; align-items: center; min-height: 36px; }
.filter-row .select { display: inline-block; }

@media (max-width: 680px) {
  .akte-inner { padding-top: 24px; }
  .akte-poro { margin-left: 0; }
  /* Unter dem ganzen Block, sonst ragt die Erklärung bei rechten Titeln aus dem Bild */
  .akte-titles { position: relative; }
  .akte-title-wrap { position: static; }
  .akte-title-tip { left: 0; right: 0; width: auto; max-width: none; }
  .akte-bottom .player-actions { margin-left: 0; align-items: flex-start; }
  .session-with { margin-left: 0; width: 100%; }
  .hud { gap: 4px 12px; font-size: 10px; letter-spacing: 0.04em; }
  .hud::before { display: none; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }

}

/* Profil: Statistiken */
.ins-tabs { margin-bottom: 16px; }
.ins-body { min-height: 120px; }
.ins-sub { display: block; margin: 0 0 10px; }
.ins-records { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ins-record { display: grid; gap: 6px; padding: 12px; background: var(--bg-raised); border: 1px solid var(--line); }
.ins-record-value { font: 600 24px var(--mono); color: var(--text); }
.ins-game { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--text-2); text-decoration: none; }
.ins-game:hover { color: var(--text); }
.ins-highlight { display: grid; gap: 6px; padding: 12px; background: var(--bg-raised); border: 1px solid var(--line); }
.ins-bar-row { display: grid; grid-template-columns: minmax(90px, 1.2fr) minmax(60px, 2fr) 52px 70px; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.ins-bar-row > :nth-child(3), .ins-bar-row > :nth-child(4) { text-align: right; }
.ins-bar { display: block; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.ins-bar > span { display: block; height: 100%; border-radius: 4px; }
.ins-bar .is-win { background: var(--win); }
.ins-bar .is-loss { background: var(--loss); }
.ins-bar .is-ping { background: var(--cyan); }
.kv .faint { display: block; font-size: 12px; }
.ins-timing { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; font-size: 11px; }
.ins-timing-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.ins-timing-plot { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; height: 150px; border-bottom: 1px solid var(--line-strong); }
.ins-timing-bar { width: min(12px, 40%); border-radius: 2px 2px 0 0; }
.ins-timing-bar.is-kill, .ins-swatch-kill { background: var(--cyan); }
.ins-timing-bar.is-death, .ins-swatch-death { background: var(--neon); }
.ins-swatch-win { background: var(--win); }
.ins-swatch-loss { background: var(--loss); }
.ins-activity { display: grid; gap: 3px; overflow-x: auto; padding-bottom: 4px; }
.ins-activity-row { display: grid; grid-template-columns: 28px repeat(24, minmax(12px, 1fr)); gap: 3px; align-items: center; }
.ins-hour { font: 10px var(--mono); text-align: left; }
.ins-cell { aspect-ratio: 1; min-height: 12px; background: var(--line); border-radius: 2px; }
.ins-cell.is-win { background: rgb(25 255 176 / var(--a)); }
.ins-cell.is-loss { background: rgb(255 77 109 / var(--a)); }
.ins-activity-facts { margin-top: 12px; max-width: 420px; }

/* Champion: Erfahrung, Power-Spikes, Spiellänge */
.exp-cell { display: flex; align-items: center; gap: 10px; }
.exp-bar { display: block; flex: 1; min-width: 50px; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.exp-bar > span { display: block; height: 100%; }
.exp-bar .is-win { background: var(--win); }
.exp-bar .is-loss { background: var(--loss); }
.exp-bar .is-thin { background: var(--text-3); }
.duration-verdict { margin: -4px 0 12px; font-size: 13px; }
.spike-line { stroke-width: 1; stroke-dasharray: 3 3; }
.spike-line.spike-item, .lead-swatch.spike-item { stroke: var(--brass); background: var(--brass); }
.spike-line.spike-level, .lead-swatch.spike-level { stroke: var(--text-3); background: var(--text-3); }
.spike-text { font: 10px var(--mono); }
.spike-text.spike-item { fill: var(--brass); }
.spike-text.spike-level { fill: var(--text-2); }

@media (max-width: 680px) {
  .ins-bar-row { grid-template-columns: minmax(80px, 1fr) minmax(40px, 1fr) 44px; }
  .ins-bar-row > :nth-child(4) { display: none; }
  .ins-activity-row { grid-template-columns: 24px repeat(24, 11px); }
  .ins-timing-plot { height: 110px; }
}

/* Startseite: Dashboard der Woche */
.dash-stats .stat { display: flex; flex-direction: column; min-height: 118px; }
.dash-stat-note { margin-top: auto; padding-top: 6px; font-size: 12px; }
.dash-trend { font: 600 12px var(--mono); }
.dash-stat-link:hover { --fill: var(--panel-hover); --edge: var(--cyan); }
.dash-days { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: auto; padding-top: 6px; }
.dash-day { display: flex; align-items: flex-end; flex: 1; height: 100%; }
.dash-day > span { display: block; width: 100%; background: var(--cyan); opacity: 0.75; border-radius: 2px 2px 0 0; }
.dash-live { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px; }
.dash-live .feed-row + .feed-row { margin-top: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.dash-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash-card .build-head { margin-bottom: 0; }
.dash-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 6px; color: inherit; text-decoration: none; border-radius: 4px; }
.dash-row:hover { background: var(--panel-hover); }
.dash-row .label { display: block; font-size: 10px; }
.dash-value { text-align: right; white-space: nowrap; font-size: 13px; }
.dash-sub { display: block; margin: 8px 0 2px; }
.dash-streak { font: 600 12px var(--mono); white-space: nowrap; }
.dash-streak.win { color: var(--win); }
.dash-streak.loss { color: var(--loss); }
.dash-mvp-body { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.dash-mvp-art { flex: none; width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--brass); box-shadow: var(--glow-brass); }
.dash-mvp-text { display: grid; gap: 4px; min-width: 0; font-size: 13px; }
.dash-player-name { font: 600 18px var(--display); color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-player-name:hover { color: var(--cyan); }
.dash-mvp-wr { font: 600 30px var(--mono); line-height: 1.1; }
.dash-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dash-stack { display: grid; gap: 14px; }
.dash-feed { display: grid; gap: 6px; }
.dash-feed .feed-row + .feed-row { margin-top: 0; }
.dash-records .records { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1020px) {
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-mvp { grid-column: 1 / -1; }
  .dash-split { grid-template-columns: minmax(0, 1fr); }
  .dash-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-records .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-stats .stat { min-height: 104px; }
  .dash-grid, .dash-stack, .dash-records .records { grid-template-columns: minmax(0, 1fr); }
  .dash-mvp-art { width: 72px; height: 72px; }
}
.dash-stack .section { margin-top: 0; }
.dash-stack .section-head { margin-bottom: 8px; }
.ins-hint { margin-bottom: 16px; padding: 10px 14px; font-size: 14px; color: var(--text-2); background: var(--win-dim); border-left: 3px solid var(--win); }
.ins-hint strong { color: var(--text); }
.ins-hint.is-warn { background: var(--loss-dim); border-left-color: var(--loss); }


/* Match-Seite: Spielverlauf */
.tl-blue { --tl: #2f9bff; }
.tl-red { --tl: var(--loss); }
.lead-swatch.tl-blue, .lead-swatch.tl-red { background: var(--tl); }
.tl-bar { fill: var(--tl); opacity: 0.55; }
.lead-col:hover .tl-bar { opacity: 0.9; }
.tl-line { fill: none; stroke: var(--text); stroke-width: 1.5; opacity: 0.75; }
.tl-kill { stroke: var(--tl); stroke-width: 2; }
.tl-objective circle { fill: var(--panel); stroke: var(--tl); stroke-width: 1.5; }
.tl-objective text { fill: var(--tl); font: 700 9px var(--mono); }
.tl-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 14px; margin-top: 14px; align-items: start; }
.tl-map { max-width: 420px; margin-top: 10px; }
.tl-spot { fill: var(--tl); stroke: #000; stroke-width: 40; opacity: 0.85; }
.tl-who { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.tl-who > span { display: grid; min-width: 0; font-size: 12px; }
.tl-row-blue td:first-child { box-shadow: inset 3px 0 0 #2f9bff; }
.tl-row-red td:first-child { box-shadow: inset 3px 0 0 var(--loss); }
.tl-skills { display: flex; gap: 2px; }
.tl-skill { width: 16px; height: 18px; font: 600 10px/18px var(--mono); text-align: center; color: var(--text-2); background: var(--bg-raised); border: 1px solid var(--line); }
.tl-skill-r { color: #010a13; background: var(--acid); border-color: var(--acid); }
.tl-items { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.tl-item { display: grid; justify-items: center; gap: 1px; font-size: 10px; }
@media (max-width: 1020px) {
  .tl-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Live: Kacheln mit festem Aufbau. Links Champion mit Zaubern und Runen, Mitte Name und Rang, rechts die Bilanz auf dem Champion. */
.live-note { margin-top: 14px; }
.live-teams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 18px; }
.live-teams > .live-team { display: grid; grid-row: span var(--rows, 6); grid-template-rows: subgrid; gap: 8px; align-content: start; }
.live-team-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.live-team-label { display: inline; margin: 0; font: 600 13px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--team, var(--text-2)); }
.live-team-avg { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--tier, var(--text-2)); }
.live-bans { display: inline-flex; gap: 3px; margin-left: auto; }
.live-bans .icon-champ-sm { width: 24px; height: 24px; filter: grayscale(0.85); opacity: 0.8; }
.live-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "pick main champ" "pick extras extras";
  align-items: center;
  gap: 4px 14px;
  padding: 10px 14px 10px 16px;
  font-size: 14px;
}
.live-pick { grid-area: pick; display: flex; align-items: center; gap: 6px; }
.live-champ-icon { width: 56px; height: 56px; }
.live-loadout { display: grid; grid-template-columns: repeat(2, 22px); gap: 3px; }
.live-loadout .icon-spell, .live-loadout .icon-rune { width: 22px; height: 22px; }
.live-player-main { grid-area: main; display: grid; gap: 4px; min-width: 0; }
.live-player-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.live-position { flex: none; width: auto; font: 600 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--team, var(--text-3)); }
.live-player-name { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-rank { font-size: 13px; }
.live-champion { grid-area: champ; display: grid; justify-items: end; gap: 3px; font-size: 12px; line-height: 1.3; text-align: right; white-space: nowrap; }
.live-champion-wr { font: 700 20px var(--mono); line-height: 1.1; }
.live-champion .live-champion-wr.win, .live-champion .live-champion-wr.loss { margin: 0; font-size: 20px; }
.live-mastery { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-family: var(--mono); }
.live-mastery-level { min-width: 18px; padding: 0 4px; font: 700 10px/16px var(--mono); text-align: center; color: #050b16; background: var(--brass); border-radius: 3px; }
.live-extras { grid-area: extras; margin-top: 2px; }
.live-form-dot { width: 16px; height: 16px; font-size: 9px; line-height: 16px; }
.live-tag { font-size: 10px; line-height: 17px; }
@media (max-width: 680px) {
  .live-player { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pick main" "champ champ" "extras extras"; gap: 6px 10px; padding: 10px 10px 10px 13px; }
  .live-champ-icon { width: 48px; height: 48px; }
  .live-loadout { grid-template-columns: repeat(2, 19px); }
  .live-loadout .icon-spell, .live-loadout .icon-rune { width: 19px; height: 19px; }
  .live-champion { display: flex; flex-wrap: wrap; align-items: baseline; justify-items: start; gap: 2px 10px; text-align: left; }
  .live-champion-wr, .live-champion .live-champion-wr.win, .live-champion .live-champion-wr.loss { font-size: 16px; }
  .live-teams > .live-team { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 1020px) {
  .live-teams { grid-template-columns: minmax(0, 1fr); }
  .live-teams > .live-team { grid-row: auto; grid-template-rows: none; }
  .live-teams > .live-team-200 { margin-top: 10px; }
}

/* Live: Übersicht mit Vorschauen, jedes Spiel komplett auf einer eigenen Seite */
.live-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 14px; }
.live-previews .live-game + .live-game { margin-top: 0; }
.live-preview { display: block; color: inherit; }
.live-preview:hover { --edge: var(--neon); }
.live-preview:hover .live-preview-open { color: var(--text); }
.live-preview-teams { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 12px; }
.live-preview-team { display: grid; gap: 6px; }
.live-preview-team.live-team-200 { justify-items: end; }
.live-preview-picks { display: flex; gap: 4px; }
.live-preview-pick { display: block; border-bottom: 2px solid var(--team, var(--line)); }
.live-preview-pick.is-tracked { border-bottom-color: var(--acid); }
.live-preview-avg { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--tier, var(--text-2)); }
.live-preview-vs { align-self: center; font: 600 12px var(--mono); text-transform: uppercase; color: var(--text-3); }
.win-chance { margin: 12px 0 0; }
.win-chance.is-detail { margin: 0 0 14px; }
.win-chance-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 5px; font-size: 13px; }
.win-side { color: var(--team); }
.win-side strong { font-size: 16px; }
.win-chance.is-detail .win-side strong { font-size: 20px; }
.win-title { text-align: center; }
.win-track { display: flex; height: 8px; background: var(--neon); }
.win-blue { display: block; height: 100%; background: var(--cyan); box-shadow: 0 0 8px rgb(0 229 255 / 0.5); }
.win-red { flex: 1; }
.win-factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.win-factors li { display: flex; justify-content: space-between; gap: 8px; }
.win-factor.is-blue { color: var(--cyan); }
.win-factor.is-red { color: var(--neon); }
.win-record { margin: 8px 0 0; font-size: 12px; }
.live-previews + .win-record { margin-top: 12px; }
.live-preview-open { display: block; margin-top: 12px; text-align: right; font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.live-back { margin-bottom: 14px; }
.live-back-link { font: 600 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.live-back-link:hover { color: var(--text); }
.live-ended-links { margin-top: 10px; }
.live-insights { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.live-insights.is-single { grid-template-columns: minmax(0, 1fr); }
.live-insights .live-compare, .live-insights .live-duels { margin: 0; padding: 0; border: 0; }
@media (max-width: 1020px) {
  .live-insights { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .live-preview-picks .icon-champ-md { width: 28px; height: 28px; }
  .live-preview-vs { display: none; }
  .live-preview-team.live-team-200 { justify-items: start; }
}
.live-form.is-loading .live-form-dot { background: var(--line-strong); animation: form-wait 1.2s ease-in-out infinite; }
.live-form.is-loading .live-form-dot:nth-child(2) { animation-delay: 0.15s; }
.live-form.is-loading .live-form-dot:nth-child(3) { animation-delay: 0.3s; }
.live-form.is-loading .live-form-dot:nth-child(4) { animation-delay: 0.45s; }
.live-form.is-loading .live-form-dot:nth-child(5) { animation-delay: 0.6s; }
@keyframes form-wait { 50% { opacity: 0.35; } }

/* Live-Spiel als Brett: Teamwerte links, eine Spalte pro Lane, das Duell zwischen den beiden Karten */
.live-board { display: grid; grid-template-columns: 178px repeat(var(--cols, 5), minmax(0, 1fr)); gap: 10px; }
.live-board.is-free { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.live-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 12px; font-size: 12px; background: var(--bg-raised); border-left: 3px solid var(--team, var(--line-strong)); }
.live-side .live-team-label { font-size: 13px; }
.live-side .live-team-avg { font-size: 12px; }
.live-side-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.live-side-stat .label { font-size: 10px; letter-spacing: 0.06em; }
.live-side-stat .num { color: var(--text-2); }
.live-side-stat .num.is-higher { color: var(--text); font-weight: 700; }
.live-side-dmg { display: grid; gap: 3px; }
.live-side-dmg .dmg-bar { height: 7px; }
.live-side-dmg .live-damage-text { font-size: 11px; }
.live-side .live-bans { margin: auto 0 0; flex-wrap: wrap; }
.live-side .live-bans .icon-champ-sm { width: 22px; height: 22px; }
.live-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0; height: clamp(250px, 30vh, 300px);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-bottom: 3px solid var(--team, var(--line-strong));
}
.live-card.is-tracked { border-color: var(--acid); box-shadow: 0 0 0 1px var(--acid), 0 0 18px rgb(232 196 99 / 0.25); }
.live-card-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform 0.25s ease-out; }
.live-card:hover .live-card-art { transform: scale(1.04); }
.live-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(1 10 19 / 0.55) 0%, transparent 22%, transparent 32%, rgb(1 10 19 / 0.88) 58%, rgb(1 10 19 / 0.97)); pointer-events: none; }
.live-card-top, .live-card-info { position: relative; z-index: 1; }
.live-card-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 7px; }
.live-card-loadout { display: grid; grid-template-columns: repeat(2, 20px); gap: 2px; }
.live-card-loadout .icon-spell, .live-card-loadout .icon-rune { width: 20px; height: 20px; }
.live-card-mastery { display: inline-flex; align-items: center; gap: 5px; padding: 2px 6px 2px 2px; font: 600 11px var(--mono); color: var(--text); background: rgb(1 10 19 / 0.75); border: 1px solid var(--line-strong); }
.live-card-mastery b { min-width: 18px; padding: 0 3px; font-size: 10px; line-height: 16px; text-align: center; color: #050b16; background: var(--brass); }
.live-card-info { display: grid; gap: 3px; padding: 0 10px 9px; font-size: 12px; }
.live-card-head { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.live-card-head .live-position { font-size: 10px; }
.live-card-champname { font: 600 11px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-card-name { font-size: 15px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-card a:hover { color: var(--cyan); }
.live-card-rank { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 12px; white-space: nowrap; }
.live-card-rank strong { color: var(--tier, var(--text)); }
.live-card-rank .num { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.live-card-champ { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; color: var(--text-2); }
.live-card-champ .win, .live-card-champ .loss { font-size: 15px; font-weight: 700; }
.live-card-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 4px; min-height: 16px; margin-top: 2px; }
.live-card-extras .live-form-dot { width: 13px; height: 13px; font-size: 8px; line-height: 13px; }
.live-card-extras .live-tag { padding: 0 4px; font-size: 9px; line-height: 14px; }
.live-duel-label { align-self: center; padding-left: 4px; }
.live-duel-cell { display: grid; align-content: center; gap: 3px; min-width: 0; padding: 2px 4px; }
.live-duel-cell.is-empty { justify-items: center; }
.live-duel-cell .live-duel-bar { height: 6px; }
.live-duel-cell .live-duel-text { display: flex; justify-content: space-between; gap: 4px; font-size: 11px; }
@media (max-width: 1100px) {
  .live-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-board > * { grid-row: var(--row-m); grid-column: var(--col-m); }
  .live-duel-label, .live-duel-cell { display: none; }
  .live-card { height: 200px; }
  .live-board.is-free { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .live-board.is-free > * { grid-row: auto; grid-column: auto; }
}
@media (max-width: 420px) {
  .live-card-rank .num { display: none; }
  .live-card-name { font-size: 14px; }
}
.live-side-stat .num { flex: none; white-space: nowrap; }
.live-side-stat .label { min-width: 0; }

/* === Kompakter === */

/* Champion: niedriger Kopf, die Kennzahlen stehen mit drin */
.champ-hero { min-height: clamp(220px, 30vh, 290px); }
.champ-hero-text { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "crumb crumb" "name kpis" "title kpis" "roles kpis"; align-items: end; column-gap: 32px; padding-top: 24px; padding-bottom: 16px; }
.champ-hero-text > .label { grid-area: crumb; }
.champ-name { grid-area: name; font-size: clamp(36px, 6vw, 64px); }
.champ-title { grid-area: title; }
.champ-hero-text .role-tags { grid-area: roles; }
.champ-hero-kpis { grid-area: kpis; align-self: end; min-width: 0; }
.champ-hero-kpis .lane-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.champ-hero-kpis .stat { --fill: rgb(1 10 19 / 0.78); padding: 7px 10px; }
.champ-hero-kpis .stat-value { font-size: 20px; }
.lane-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; margin-top: 14px; }
@media (max-width: 1020px) {
  .champ-hero-text { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumb" "name" "title" "roles" "kpis"; }
  .champ-hero-kpis { margin-top: 12px; }
  .lane-trio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .champ-hero-kpis .lane-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .champ-hero-kpis .stat-value { font-size: 16px; }
}

/* Rangliste: Rekorde in Reitern, kleinere Kacheln */
.record-tabs { margin: 12px 0 14px; }
.records-dense .records { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.records-dense .record { gap: 10px; padding: 9px 10px; }
.records-dense .record .icon-champ { width: 36px; height: 36px; }
.records-dense .record-value { font-size: 16px; }
.records-dense .record .label { font-size: 10px; }

/* Meta: dichtere Tabelle */
.table-dense td { padding-top: 3px; padding-bottom: 3px; }
.table-dense .icon-champ-md { width: 26px; height: 26px; }
.table-dense .meta-champ { gap: 8px; }

/* Champions: kleinere Kacheln */
.champ-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.champ-card { font-size: 12px; }

/* Profil: Rang und LP-Verlauf in einem Kasten */
.rank-cards { display: grid; gap: 10px; }
.rank-cards .rank-card { gap: 10px; }
.lp-title { display: block; margin: 14px 0 6px; }

/* Startseite: einklappbare Bereiche */
.dash-fold > summary { list-style: none; cursor: pointer; }
.dash-fold > summary::-webkit-details-marker { display: none; }
.dash-fold > summary .section-title::after, .dash-fold > summary.sidebar-title::after { content: " ▾"; color: var(--text-3); font-size: 12px; }
.dash-fold:not([open]) > summary .section-title::after, .dash-fold:not([open]) > summary.sidebar-title::after { content: " ▸"; }
.dash-fold:not([open]) > summary.section-head { margin-bottom: 0; }
@media (max-width: 680px) {
  .dash-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .dash-stats .stat { min-height: 0; padding: 8px 8px; }
  .dash-stats .stat .label { font-size: 9px; letter-spacing: 0.04em; }
  .dash-stats .stat-value { font-size: 18px; }
  .dash-stats .dash-stat-note, .dash-stats .dash-trend, .dash-stats .dash-days { display: none; }
  .rank-cards .emblem { --size: 48px !important; }
}

/* Match History auf dem Handy: Ergebnis, KDA und Champion in einer Zeile, Items darunter */
@media (max-width: 680px) {
  .match-summary { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 10px; }
  .match-summary > span:has(> .match-kda) { order: 1; text-align: right; }
  .match-summary > .loadout { order: 2; }
  .match-summary > .match-gear { order: 3; }
  .match-summary .loadout .icon-champ-lg { width: 44px; height: 44px; }
}

/* Draft-Helfer */
.draft-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.draft-slot { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 10px; text-align: center; background: var(--bg-raised); border: 1px solid var(--line-strong); }
.draft-slot.is-mine { border-color: var(--acid); box-shadow: 0 0 0 1px var(--acid); }
.draft-slot.is-empty { border-style: dashed; }
.draft-slot-pos { color: var(--cyan); }
.draft-icon { width: 64px; height: 64px; }
.draft-icon-empty { display: grid; place-items: center; font: 600 26px var(--mono); color: var(--text-3); background: var(--bg); border: 1px dashed var(--line-strong); }
.draft-slot-name { font-weight: 600; }
.draft-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; }
.draft-tag { padding: 1px 7px; font: 600 10px/17px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 3px; white-space: nowrap; }
.draft-tag-frontline, .draft-tag-engage { color: var(--gold); border-color: rgb(255 201 77 / 0.5); }
.draft-tag-disengage { color: var(--cyan); border-color: rgb(0 229 255 / 0.5); }
.draft-tag-magic { color: #6f9bff; border-color: rgb(111 155 255 / 0.5); }
.draft-tag-physical { color: #f08b3a; border-color: rgb(240 139 58 / 0.5); }
.draft-tag.is-fill { color: var(--win); border-color: rgb(25 255 176 / 0.45); }
.draft-tag.is-strength { color: var(--win); border-color: rgb(25 255 176 / 0.45); }
.draft-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; align-items: start; }
.draft-damage { margin-bottom: 14px; }
.draft-damage .dmg-bar { height: 10px; }
.draft-issues { display: grid; gap: 8px; }
.draft-issue { display: grid; gap: 2px; padding: 8px 12px; font-size: 13px; background: var(--loss-dim); border-left: 3px solid var(--loss); }
.draft-issue strong { color: var(--text); }
.draft-ok { padding: 8px 12px; background: var(--win-dim); border-left: 3px solid var(--win); }
.draft-strengths { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.draft-sub { display: block; margin: 12px 0 6px; }
.draft-suggestions { display: grid; gap: 4px; }
.draft-suggestion { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: var(--bg-raised); }
.draft-suggestion-main { display: grid; gap: 3px; flex: 1; min-width: 0; }
.draft-suggestion-main .draft-tags { justify-content: flex-start; }
.draft-suggestion-stats { display: grid; justify-items: end; font-size: 12px; white-space: nowrap; }
.draft-suggestion-stats .win, .draft-suggestion-stats .loss { font-size: 14px; font-weight: 600; }
.draft-own { color: var(--acid); }
@media (max-width: 1020px) {
  .draft-columns { grid-template-columns: minmax(0, 1fr); }
  .draft-team { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.draft-intent .draft-icon { opacity: 0.45; filter: grayscale(0.6); }

/* Anmeldung der Desktop-App */
.desktop-login-page { max-width: 620px; }
.desktop-login { display: grid; gap: 12px; justify-items: start; padding: 24px; }
.desktop-code { margin: 4px 0; font: 700 clamp(32px, 7vw, 46px) var(--mono); letter-spacing: 0.12em; color: var(--cyan); text-shadow: var(--glow-cyan); }
.desktop-warning { padding: 8px 12px; font-size: 13px; color: var(--text-2); background: var(--loss-dim); border-left: 3px solid var(--loss); }

/* Draft-Helfer: eigener Pick und Gruppe */
.pick-panel, .lobby-panel { margin-bottom: 14px; }
.pick-who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.pick-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; }
.pick-matchup { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pick-own { margin-top: 8px; font-size: 13px; color: var(--text-2); }
.pick-options { display: grid; gap: 6px; }
.pick-option { display: grid; grid-template-columns: 110px minmax(0, 1fr) 56px 60px auto; align-items: center; gap: 10px; padding: 6px 8px; font-size: 13px; background: var(--bg-raised); }
.pick-runes, .pick-spells { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pick-runes > .icon-rune:first-child { width: 28px; height: 28px; }
.pick-rune-rest { display: inline-flex; gap: 2px; }
.pick-rune-rest.is-shards .icon-rune { width: 14px; height: 14px; }
.pick-apply { padding: 4px 10px; font-size: 12px; }
.pick-message { margin-top: 8px; font-size: 13px; }
.lobby-list { display: grid; gap: 6px; }
.lobby-member { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 12px; padding: 7px 10px; background: var(--bg-raised); font-size: 13px; }
.lobby-rank { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 1020px) {
  .pick-grid { grid-template-columns: minmax(0, 1fr); }
  .pick-option { grid-template-columns: minmax(0, 1fr) auto auto; }
  .pick-option .label { grid-column: 1 / -1; }
  .lobby-member { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Nach dem Spiel */
.pg-page { max-width: 900px; }
.pg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; border-left: 4px solid var(--line-strong); }
.pg-head.is-win { border-left-color: var(--win); }
.pg-head.is-loss { border-left-color: var(--loss); }
.pg-icon { width: 72px; height: 72px; }
.pg-title { display: grid; gap: 4px; flex: 1; min-width: 220px; }
.pg-result { font: 700 24px var(--display); text-transform: uppercase; }
.pg-kda { font-size: 20px; font-weight: 600; }
.pg-lp { display: grid; justify-items: end; gap: 2px; }
.pg-lp-change { font: 700 28px var(--mono); }
.pg-note { margin-bottom: 8px; padding: 8px 12px; font-size: 14px; background: var(--bg-raised); border-left: 3px solid var(--line-strong); }
.pg-note.is-good { border-left-color: var(--win); }
.pg-note.is-bad { border-left-color: var(--loss); }
.pg-metrics { display: grid; gap: 6px; margin-top: 12px; }
.pg-metric { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(80px, 2fr) 70px 80px; align-items: center; gap: 12px; font-size: 13px; }
.pg-metric > :nth-child(3), .pg-metric > :nth-child(4) { text-align: right; }
.pg-bar { position: relative; display: block; height: 8px; background: var(--line); border-radius: 4px; }
.pg-bar > span { display: block; height: 100%; background: var(--text-3); border-radius: 4px; }
.pg-bar > i { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--text); }
.pg-metric.is-good .pg-bar > span { background: var(--win); }
.pg-metric.is-bad .pg-bar > span { background: var(--loss); }
.pg-links { margin-top: 16px; }
@media (max-width: 680px) {
  .pg-metric { grid-template-columns: minmax(0, 1fr) 60px 70px; }
  .pg-metric .pg-bar { grid-column: 1 / -1; grid-row: 2; }
  .pg-lp { justify-items: start; }
}
.win-side { display: inline-flex; align-items: baseline; gap: 6px; }
.pn-mine-table td .faint { margin-left: 4px; }

/* --- Tooltips (tooltip.js): eigener Kasten statt der Browser-Hinweise --- */
.tip {
  position: fixed; z-index: 1000; max-width: min(320px, calc(100vw - 16px)); padding: 10px 12px 11px;
  background: rgb(6 13 26 / 0.97); border: 1px solid var(--line-strong); border-top: 2px solid var(--cyan);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.55), 0 0 18px rgb(0 229 255 / 0.12);
  font: 13px/1.5 var(--body); color: var(--text-2); pointer-events: none;
  opacity: 0; transform: translateY(4px); transition: opacity 0.12s ease, transform 0.12s ease;
}
.tip[data-side="bottom"] { transform: translateY(-4px); }
.tip.is-visible { opacity: 1; transform: none; }
.tip::after {
  content: ""; position: absolute; left: var(--arrow-x, 50%); width: 8px; height: 8px; margin-left: -4px;
  background: rgb(6 13 26 / 0.97); border: 1px solid var(--line-strong); transform: rotate(45deg);
}
.tip[data-side="top"]::after { bottom: -5px; border-top: 0; border-left: 0; }
.tip[data-side="bottom"]::after { top: -6px; border-right: 0; border-bottom: 0; border-color: var(--cyan); }
.tip-title { display: block; margin-bottom: 4px; font: 600 13px var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.tip-text { margin: 0; color: var(--text); }
.tip-text + .tip-text { margin-top: 6px; color: var(--text-2); }
.tip-meta { display: block; margin-top: 6px; font: 600 12px var(--mono); color: var(--gold); }
/* Beschriftungen mit Erklärung aus dem Glossar */
.has-tip { cursor: help; text-decoration: underline dotted rgb(0 229 255 / 0.45); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.has-tip:focus-visible { outline: 1px dashed var(--cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .tip { transition: none; transform: none; }
}

/* --- Profil: LP pro Spiel, Leistung, Vergleich mit dem Rang --- */
.lp-swing { display: grid; gap: 2px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.lp-swing-values { font-size: 14px; }
.lp-swing-verdict { font-weight: 600; }
.lp-swing-note { font-size: 12px; }
.perf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.perf-average { margin: 0; padding: 4px 10px; font-size: 26px; }
.perf-sub { display: grid; gap: 4px; font-size: 13px; }
.perf-trend { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin-bottom: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.perf-bar { flex: 1 1 0; display: flex; align-items: flex-end; height: 100%; min-width: 0; }
.perf-bar > span { display: block; width: 100%; background: var(--loss); opacity: 0.85; }
.perf-bar.is-win > span { background: var(--win); }
.perf-bar:hover > span, .perf-bar:focus-visible > span { opacity: 1; box-shadow: 0 0 8px currentColor; }
.perf-kv { margin-bottom: 10px; }
.perf-champ-title { display: block; margin: 4px 0 2px; }
.perf-champ { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.perf-panel .row-list .score-chip { margin: 0; }
.perf-best { margin: 10px 0 0; font-size: 13px; }
.perf-best a { color: var(--cyan); }
.rank-compare-sub { margin: -4px 0 10px; font-size: 12px; }
.rank-compare-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rank-compare-list li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 13px; cursor: help; }
.rank-compare-bar { position: relative; grid-column: 1 / -1; height: 6px; background: var(--line); }
.rank-compare-bar > span { display: block; height: 100%; background: var(--text-3); }
.rank-compare-bar > span.win { background: var(--win); }
.rank-compare-bar > span.loss { background: var(--loss); }
.rank-compare-bar > i { position: absolute; top: -2px; left: 50%; width: 1px; height: 10px; background: var(--text-2); }
.rank-compare-value { grid-row: 1; grid-column: 2; font-size: 12px; }

/* --- Rang: Peak und frühere Saisons --- */
.rank-peak { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; padding: 3px 8px 3px 6px; border-left: 2px solid var(--gold); background: rgb(255 201 77 / 0.07); font-size: 13px; cursor: help; }
.rank-peak .label { color: var(--gold); }
.rank-peak-text { font-weight: 600; color: var(--text); }
.rank-peak.is-now { border-left-color: var(--win); background: var(--win-dim); }
.rank-peak.is-now .label { color: var(--win); }
.past-seasons { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.past-seasons .label { display: block; margin-bottom: 6px; }
.past-seasons-empty { margin: 0; font-size: 12px; }
.past-seasons-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.past-seasons-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: 13px; cursor: help; }
.past-season-main { display: grid; min-width: 0; }
.past-season-name { font-weight: 600; }
.past-season-peak { font-size: 12px; text-align: right; }

/* --- Einwilligung (consent.js): Banner unten, Einstellungen als Fenster --- */
.consent {
  position: fixed; z-index: 900; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px 24px; width: min(980px, calc(100vw - 32px)); padding: 16px 18px;
  background: rgb(6 13 26 / 0.97); border: 1px solid var(--line-strong); border-top: 2px solid var(--cyan);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.6), 0 0 22px rgb(0 229 255 / 0.12);
}
.consent-text { flex: 1; min-width: 0; font-size: 14px; color: var(--text-2); }
.consent-text p { margin: 4px 0 0; }
.consent-text a { color: var(--cyan); text-decoration: underline; }
.consent-title { font: 600 14px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
/* Gleich breite Knöpfe: Ablehnen ist genauso leicht wie Zustimmen */
.consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.consent > .consent-actions { flex: 0 0 min(560px, 55%); }
.consent-actions .btn { width: 100%; justify-content: center; white-space: nowrap; }
@media (max-width: 760px) {
  .consent { flex-direction: column; align-items: stretch; bottom: 8px; width: calc(100vw - 16px); }
  .consent > .consent-actions { flex-basis: auto; }
  .consent-actions { grid-template-columns: 1fr; }
}
.consent-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; color: var(--text); background: var(--bg-raised); border: 1px solid var(--line-strong); border-top: 2px solid var(--cyan); }
.consent-dialog::backdrop { background: rgb(2 6 14 / 0.7); }
.consent-form { display: grid; gap: 14px; padding: 20px; }
.consent-form .section-title { margin: 0; }
.consent-form > .muted { margin: -6px 0 0; font-size: 13px; }
.consent-option { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--line); cursor: pointer; }
.consent-option.is-locked { cursor: default; }
.consent-option input { position: absolute; opacity: 0; pointer-events: none; }
.consent-switch { position: relative; width: 38px; height: 20px; margin-top: 2px; background: var(--line); border: 1px solid var(--line-strong); transition: background 0.15s; }
.consent-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--text-3); transition: transform 0.15s, background 0.15s; }
.consent-option input:checked + .consent-switch { background: var(--cyan-dim); border-color: var(--cyan); }
.consent-option input:checked + .consent-switch::after { transform: translateX(18px); background: var(--cyan); }
.consent-option input:disabled + .consent-switch { opacity: 0.6; }
.consent-option input:focus-visible + .consent-switch { outline: 2px solid var(--cyan); outline-offset: 2px; }
.consent-option-text { display: grid; gap: 4px; font-size: 13px; }
.consent-option-text strong { font-size: 14px; }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-link:hover { color: var(--cyan); }
