/* CoD Stats – Oberfläche. Farben als Tokens (hell/dunkel), keine Inline-Styles (strikte CSP): dynamische Werte nur über CSS-Variablen per Skript. */
:root {
  color-scheme: light;
  --bg: #f3f5f8; --surface: #ffffff; --surface-2: #eaeef4; --ink: #0f1620; --muted: #55606f; --line: #dbe1ea;
  --accent: #1f6fd1; --on-accent: #ffffff; --shadow: 0 1px 2px rgba(15,22,32,.06), 0 12px 32px rgba(15,22,32,.08);
  --g-cod: #2a7fd6; --g-coduo: #c9631a; --g-cod2: #c93a72; --g-cod4: #1f9a70;
  --up: #0f6a42; --down: #a8340f; --warn: #7a5200; --terrain: #1f3a5c; --terrain-op: .1;
  --c0: #1b2330; --c1: #d02a2a; --c2: #178a3a; --c3: #a37a00; --c4: #2a5fd0; --c5: #0b8a96; --c6: #a8349a; --c8: #7a5a2a; --c9: #6f7a89;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0e13; --surface: #121722; --surface-2: #182030; --ink: #e9eef5; --muted: #9aa7b8; --line: #232d3d;
    --accent: #5ea8ff; --on-accent: #07101c; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 16px 40px rgba(0,0,0,.4);
    --g-cod: #5ea8ff; --g-coduo: #e08447; --g-cod2: #f07da6; --g-cod4: #3fb68b;
    --up: #4cc38a; --down: #f0925f; --warn: #e3b341; --terrain: #7fb2ee; --terrain-op: .08;
    --c0: #7b8798; --c1: #ff5c5c; --c2: #4cd37a; --c3: #ffd23f; --c4: #6c9bff; --c5: #3fd6e6; --c6: #e56ad6; --c8: #c9a26a; --c9: #9aa7b8;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e13; --surface: #121722; --surface-2: #182030; --ink: #e9eef5; --muted: #9aa7b8; --line: #232d3d;
  --accent: #5ea8ff; --on-accent: #07101c; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 16px 40px rgba(0,0,0,.4);
  --g-cod: #5ea8ff; --g-coduo: #e08447; --g-cod2: #f07da6; --g-cod4: #3fb68b;
  --up: #4cc38a; --down: #f0925f; --warn: #e3b341; --terrain: #7fb2ee; --terrain-op: .08;
  --c0: #7b8798; --c1: #ff5c5c; --c2: #4cd37a; --c3: #ffd23f; --c4: #6c9bff; --c5: #3fd6e6; --c6: #e56ad6; --c8: #c9a26a; --c9: #9aa7b8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
body.lock { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hint { color: var(--muted); font-size: 13.5px; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.fine a, .hint a, .prose a { color: var(--accent); }
kbd.k { font: 600 11px/1 system-ui, sans-serif; padding: 3px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); box-shadow: inset 0 -1px 0 var(--line); }

/* Hintergrund */
.terrain { position: fixed; inset: 0; z-index: -2; background: var(--terrain); opacity: var(--terrain-op); pointer-events: none; -webkit-mask: url(/landing/contours.svg) center / cover no-repeat; mask: url(/landing/contours.svg) center / cover no-repeat; }
.glow { position: absolute; top: 0; left: 0; right: 0; height: 70vh; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 0%, color-mix(in srgb, var(--g-cod) 18%, transparent), transparent 70%), radial-gradient(40% 50% at 90% 0%, color-mix(in srgb, var(--g-cod4) 12%, transparent), transparent 70%), radial-gradient(35% 40% at 55% 20%, color-mix(in srgb, var(--g-coduo) 8%, transparent), transparent 70%); }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.topin { max-width: 1180px; margin: 0 auto; padding: 9px 18px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; }
.brand b { color: var(--accent); font-weight: 750; }
.mk-bg { fill: var(--accent); } .mk-line { fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 12px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 550; font-size: 14.5px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--surface-2); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang { display: inline-flex; background: var(--surface-2); border-radius: 9px; padding: 2px; }
.lang button { padding: 4px 10px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.iconbtn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.ic-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ic-sun { display: block; } :root:not([data-theme="light"]) .ic-moon { display: none; } }
:root[data-theme="dark"] .ic-sun { display: block; } :root[data-theme="dark"] .ic-moon { display: none; }
:root[data-theme="light"] .ic-sun { display: none; } :root[data-theme="light"] .ic-moon { display: block; }

main { max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 18px 60px; flex: 1; }

/* Kopfbereich */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 40px; align-items: end; padding: clamp(28px, 6vw, 60px) 0 24px; }
.hero h1, .phead h1 { font-size: clamp(34px, 6.4vw, 62px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, var(--g-cod), var(--g-cod4) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: clamp(15.5px, 2vw, 18px); max-width: 58ch; margin-top: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.kpi b { font-size: clamp(22px, 3.6vw, 32px); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.phead { padding: clamp(26px, 5vw, 50px) 0 18px; }
.h2 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.02em; margin: 34px 0 12px; }

/* Spiel-Reiter */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { --gc: var(--accent); flex: none; display: flex; align-items: baseline; gap: 9px; padding: 9px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; transition: border-color .2s, background .2s, transform .2s; }
.tab b { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13.5px; font-weight: 650; }
.tab:hover { border-color: color-mix(in srgb, var(--gc) 55%, var(--line)); }
.tab.on { background: color-mix(in srgb, var(--gc) 14%, var(--surface)); border-color: var(--gc); }
.tab.on b { color: var(--gc); }

/* Spiel-Abzeichen (eigene Zeichnung im Stil der Spiel-Icons) in Reitern und Auswahl-Leisten */
.gicon { width: 26px; height: 26px; flex: none; display: block; overflow: visible; }
.gicon .gdisc { fill: #121418; }
.gicon .gring { fill: none; stroke: var(--gc); stroke-width: 1.4; opacity: .75; transition: stroke-width .2s ease, opacity .2s ease; } .gicon .gring.seg { stroke-width: 1.8; opacity: .95; }
.gicon .gf.l { fill: var(--ml); } .gicon .gf.d { fill: var(--md); }
.gicon .gstar { transform-box: view-box; transform-origin: 16px 15.6px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); filter: drop-shadow(0 .6px .6px rgba(0, 0, 0, .55)); }
.gicon .gtag rect { fill: var(--gc); stroke: #121418; stroke-width: 1.2; } .gicon .gtag text { fill: #fff; font-family: inherit; font-weight: 800; font-size: 7.6px; letter-spacing: -.02em; }
.tab .gicon { width: 30px; height: 30px; } .seg button.ico { display: inline-grid; place-items: center; padding: 4px 8px; } .seg button.ico .gicon { width: 26px; height: 26px; }
.tab.on .gicon .gring, .seg button.on .gicon .gring { stroke-width: 2.4; opacity: 1; }
.tab.on .gicon, .seg button.on .gicon { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gc) 55%, transparent)); }
.tab:hover .gicon .gstar, .seg button:hover .gicon .gstar { transform: rotate(-12deg) scale(1.08); }
.tab { align-items: center; }
@media (prefers-reduced-motion: reduce) { .gicon .gstar { transition: none !important; } .tab:hover .gicon .gstar, .seg button:hover .gicon .gstar { transform: none; } }

/* Filter */
.filters { display: grid; gap: 10px; margin: 6px 0 4px; }
.searchbox { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.searchbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.inp { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 12px 0; font-size: 16px; color: var(--ink); }
.inp::placeholder { color: var(--muted); }
.frow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.frow select, .sel select { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; max-width: 100%; color: var(--ink); }
.sel { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--muted); }
.sel span { display: none; }
.chks { gap: 6px 14px; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; user-select: none; }
.chk input { accent-color: var(--accent); width: 16px; height: 16px; }
.linkbtn { color: var(--accent); font-size: 14px; padding: 4px 2px; }
.linkbtn:hover { text-decoration: underline; }
.lhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 14px 2px 8px; flex-wrap: wrap; }
.listmeta, .upd { color: var(--muted); font-size: 13.5px; }

/* Serverliste */
.slist, .plist { display: grid; gap: 6px; }
.srow, .prow { position: relative; display: grid; align-items: center; gap: 4px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; transition: border-color .2s, background .2s, transform .2s; }
.srow { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 236px) 64px 128px 70px; }
.srow:hover, .prow:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.srow.idle .n, .srow.idle .mp { opacity: .72; }
.rowlink { position: absolute; inset: 0; border-radius: 12px; z-index: 1; }
.rowlink:focus-visible { outline-offset: 0; }
.fl { display: flex; }
.flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); flex: none; }
.flag-none { display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--muted); background: var(--surface-2); }
.nm { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sub { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; min-width: 0; }
.gb { --gc: var(--accent); font-size: 11.5px; font-weight: 700; color: var(--gc); background: color-mix(in srgb, var(--gc) 13%, transparent); padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.mod { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.sub .btag { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 11.5px; font-weight: 650; padding: 0 7px; border-radius: 999px; color: var(--warn, #e3b341); background: color-mix(in srgb, var(--warn, #e3b341) 13%, transparent); } .sub .btag .ic { width: 12px; height: 12px; }
.sub .alt { white-space: nowrap; font-size: 11.5px; font-weight: 650; padding: 0 7px; border-radius: 999px; border: 1px solid var(--line); }
.mirrors { display: grid; gap: 8px; margin: 10px 0 0; } .mirrors .hint { margin: 0; } .mirrors .chip { cursor: pointer; font: 500 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); }
.mirrors .chip.on { border-color: var(--accent); } .srvconn { display: grid; gap: 4px; align-self: end; } .srvconn .connect { margin: 0; }
.ico { display: inline-flex; } .ico .ic { width: 13px; height: 13px; }
.mp { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.md { font-size: 12.5px; font-weight: 650; color: var(--muted); letter-spacing: .03em; }
.pl { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.pl b { font-size: 15px; text-align: right; min-width: 1.6em; } .of { color: var(--muted); font-size: 12.5px; }
.pbar { position: relative; height: 7px; border-radius: 5px; background: var(--surface-2); overflow: hidden; display: block; }
.pbar i { position: absolute; top: 0; bottom: 0; left: 0; display: block; border-radius: 5px; }
.ph { width: var(--h, 0%); background: var(--gc, var(--accent)); }
.pb { left: var(--h, 0%); width: var(--b, 0%); background: color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 0 5px 5px 0; }
.cp { position: relative; z-index: 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); opacity: .0; transition: opacity .15s, background .15s; }
.srow:hover .cp, .srow:focus-within .cp, .cp:focus-visible { opacity: 1; }
.cp:hover { background: var(--surface-2); color: var(--ink); }
@media (hover: none) { .cp { opacity: .8; } }
.acts { display: flex; justify-content: flex-end; gap: 2px; }
.xl { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 20px; margin: -2px -3px; border-radius: 6px; color: var(--muted); flex: none; }
.xl .ic { width: 15px; height: 15px; } .xl:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.more { display: flex; justify-content: center; padding: 18px 0 4px; }
.empty { text-align: center; padding: 44px 10px; color: var(--muted); display: grid; gap: 14px; justify-items: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; }
.state { color: var(--muted); padding: 24px 6px; } .state.err { color: var(--down); }

/* CoD-Farbcodes */
.c0 { color: var(--c0); } .c1 { color: var(--c1); } .c2 { color: var(--c2); } .c3 { color: var(--c3); } .c4 { color: var(--c4); } .c5 { color: var(--c5); } .c6 { color: var(--c6); }
.c8 { color: var(--c8); } .c9 { color: var(--c9); }

/* Schaltflächen, Segmente */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-weight: 650; text-decoration: none; background: var(--accent); color: var(--on-accent); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn.sm { padding: 7px 13px; font-size: 14px; border-radius: 10px; }
.ctrl { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--surface-2); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { padding: 6px 13px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.18); }

/* Karten, Diagramme */
.chartcard, .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.chartcard { min-height: 330px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card h3 { font-size: 15px; margin-bottom: 12px; }
.chart { position: relative; }
.chartsvg { width: 100%; }
.lc { display: block; max-width: 100%; overflow: visible; }
.lc .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.lc .tick { stroke: var(--line); }
.lc .ytxt, .lc .xtxt { fill: var(--muted); font-size: 11px; font-family: inherit; }
.lc .line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.lc .area { opacity: .13; }
.lc .vline { stroke: color-mix(in srgb, var(--ink) 45%, transparent); stroke-width: 1; stroke-dasharray: 3 3; }
/* Zeiger: blendet ein, gleitet zur nächsten Stelle; Punkt mit pulsierendem Lichthof in der Reihenfarbe */
.lc .cursor { opacity: 0; transition: opacity .15s ease; pointer-events: none; } .lc.hov .cursor { opacity: 1; }
.lc .vline, .lc .dotg { transition: transform .14s cubic-bezier(.2, .8, .3, 1); } .lc.jump .vline, .lc.jump .dotg { transition: none; }
.lc .dotg.off { display: none; }
.lc .dot { fill: var(--lc); stroke: var(--surface); stroke-width: 2.2; }
.lc .halo { fill: var(--lc); opacity: .2; transform-box: fill-box; transform-origin: center; animation: lchalo 1.6s ease-out infinite; }
@keyframes lchalo { 0% { transform: scale(.45); opacity: .45; } 100% { transform: scale(1.35); opacity: 0; } }
/* Linien zeichnen sich beim ersten Aufbau von links nach rechts, Flächen blenden ein */
.lc.anim .line { stroke-dasharray: var(--len, 0); stroke-dashoffset: var(--len, 0); animation: lcdraw 1s cubic-bezier(.3, .7, .2, 1) forwards; }
.lc.anim .area { animation: lcfade 1.1s ease-out both; }
@keyframes lcdraw { to { stroke-dashoffset: 0; } } @keyframes lcfade { from { opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; } .legend i, .tr i { width: 10px; height: 10px; border-radius: 3px; background: var(--lc); display: inline-block; flex: none; }
.tip { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; display: grid; gap: 3px; min-width: 170px; padding: 9px 12px 10px; border-radius: 12px; font-size: 12.5px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .15s ease, transform .14s cubic-bezier(.2, .8, .3, 1); }
.tip.on { opacity: 1; }
.tip > .tt { display: block; margin-bottom: 3px; padding-bottom: 5px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 650; }
.tr { display: flex; align-items: center; gap: 8px; } .tr span { flex: 1; } .tr b { font-variant-numeric: tabular-nums; font-weight: 700; }
.tr.sum { margin-top: 3px; padding-top: 5px; border-top: 1px solid var(--line); color: var(--muted); } .tr.sum b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .lc .vline, .lc .dotg, .tip { transition: transform .14s ease-out, opacity .15s ease !important; } .lc .halo { animation: none; opacity: .18; }
  .lc.anim .line { animation: none; stroke-dasharray: none; } .lc.anim .area { animation: lcfade .4s ease-out both !important; } }
.empty-note, .chart .empty { color: var(--muted); padding: 40px 8px; text-align: center; }
.bars { display: grid; gap: 9px; }
.barrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; font-size: 14px; }
.bl { display: flex; align-items: center; gap: 8px; min-width: 0; } .bt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bv { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.bb { grid-column: 1 / -1; height: 6px; background: var(--surface-2); border-radius: 4px; overflow: hidden; display: block; }
.bb i { display: block; height: 100%; width: var(--w, 0%); background: var(--bc, var(--accent)); border-radius: 4px; }
/* Balkenlisten: Balken wachsen gestaffelt ein; Zeile beim Zeigen hinterlegt, Balken dicker und heller; Tooltip (util.js) */
.bars .bb i { transform-origin: left center; transform: scaleX(0); }
.bars.in .bb i { transform: none; transition: transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i, 0) * 45ms), filter .15s ease; }
.bars.in.still .bb i { transition: filter .15s ease !important; }   /* neu aufgebaute Liste: ohne erneutes Einwachsen */
.barrow { position: relative; }
.barrow::before { content: ''; position: absolute; inset: -4px -8px; border-radius: 10px; background: color-mix(in srgb, var(--bc, var(--accent)) 10%, transparent); opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.barrow:hover::before { opacity: 1; }
.bars .bb { transition: height .15s ease, margin .15s ease; } .barrow:hover .bb { height: 9px; margin-top: -1.5px; margin-bottom: -1.5px; } .barrow:hover .bb i { filter: brightness(1.15) saturate(1.1); }
.barrow .bv { transition: color .15s ease; } .barrow:hover .bv { color: var(--ink); }
.bars.withmedia .bm .mthumb { transition: transform .18s cubic-bezier(.34, 1.56, .64, 1); } .bars.withmedia .barrow:hover .bm .mthumb { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .bars .bb i { transform: none; opacity: 0; } .bars.in .bb i { transform: none; opacity: 1; transition: opacity .5s ease calc(var(--i, 0) * 45ms), filter .15s ease !important; }
  .barrow::before { transition: opacity .15s ease !important; } .bars .bb { transition: height .15s ease, margin .15s ease !important; } .barrow .bv { transition: color .15s ease !important; }
  .bars.withmedia .bm .mthumb { transition: transform .16s ease-out !important; } }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.dcard { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .2s, transform .2s; }
.dcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.dcard .ic { color: var(--accent); width: 22px; height: 22px; margin-bottom: 4px; } .dcard span { color: var(--muted); font-size: 13.5px; }
.minibars { display: flex; align-items: flex-end; gap: 2px; height: 64px; }
.mb { flex: 1; height: 100%; display: flex; align-items: flex-end; } .mb i { display: block; width: 100%; height: var(--h, 6%); background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }

/* Spieler-Liste */
.prow { grid-template-columns: 38px minmax(0, 1.6fr) 88px 96px 84px 100px; }
.prow.phd { background: none; border-color: transparent; box-shadow: none; color: var(--muted); font-size: 12.5px; font-weight: 650; padding-top: 0; padding-bottom: 2px; }
.prow .num { text-align: right; font-variant-numeric: tabular-nums; } .prow .rk { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.pn { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 750; font-size: 17px; color: var(--on-accent); background: linear-gradient(135deg, var(--g-cod), var(--g-cod4)); flex: none; }
.avatar.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }

/* Detailfenster */
.dscrim { position: fixed; inset: 0; z-index: 40; background: rgba(5, 8, 12, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--bg); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(0,0,0,.35); transform: translateX(100%); transition: transform .28s cubic-bezier(.22, .8, .24, 1); display: flex; flex-direction: column; }
.drawer.open { transform: none; } .drawer.open + .dscrim { opacity: 1; pointer-events: auto; }
.dtop { display: flex; justify-content: flex-end; padding: 10px 12px 0; }
.dclose { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); } .dclose:hover { background: var(--surface-2); color: var(--ink); }
.dbody { overflow-y: auto; padding: 0 20px 40px; overscroll-behavior: contain; flex: 1; }
.dhead { display: grid; gap: 8px; margin-bottom: 14px; }
.dtitle { display: flex; align-items: center; gap: 12px; min-width: 0; } .dtitle h2 { font-size: 21px; letter-spacing: -.01em; line-height: 1.25; overflow-wrap: anywhere; }
.dsub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); } .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live.on { color: var(--up); } .live.on i { background: var(--up); box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 25%, transparent); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 999px; } .tag .ic { width: 13px; height: 13px; }
.connect { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; margin-bottom: 14px; }
.connect code { font: 600 14px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.dtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 6px; }
.dtile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; min-width: 0; display: flex; flex-direction: column; } .dtile b { font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; } .dtile span { font-size: 12px; color: var(--muted); }
.dsec { margin-top: 22px; } .dsec h3 { font-size: 14px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.cnt { background: var(--surface-2); border-radius: 999px; padding: 0 8px; font-size: 12px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.kv { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; background: var(--surface); padding: 8px 12px; font-size: 14px; } .kv dt { color: var(--muted); } .kv dd { overflow-wrap: anywhere; min-width: 0; } .kv a { color: var(--accent); }
.inl { display: inline-flex; align-items: center; gap: 8px; }
.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th, .tbl td { padding: 7px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl tr:last-child td { border-bottom: 0; }
.tbl th { color: var(--muted); font-size: 12px; font-weight: 650; background: var(--surface-2); } .tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .chip { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 13.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chip:hover { border-color: var(--accent); }
.list { display: grid; gap: 6px; } .list a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; } .list a:hover { border-color: var(--accent); } .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Spielerprofil (eigene Seite) */
.plink, .tbl a, .kv a, .live a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); text-underline-offset: 3px; }
.plink:hover, .tbl a:hover, .live a:hover { color: var(--accent); text-decoration-color: currentColor; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-top: 22px; padding: 4px 0; } .back:hover { color: var(--ink); }
.pphead { display: flex; align-items: center; gap: 16px; padding: 12px 0 20px; min-width: 0; }
.avatar.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 30px; }
.pphead .live { display: inline; } .pphead .live i { display: inline-block; margin-right: 7px; vertical-align: 1px; }
.ppid { min-width: 0; display: grid; gap: 8px; } .ppid h1 { font-size: clamp(26px, 4.6vw, 42px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; overflow-wrap: anywhere; }
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ptiles .dtile { padding: 12px 14px; border-radius: 14px; box-shadow: var(--shadow); } .ptiles .dtile b { font-size: clamp(18px, 2.4vw, 24px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .ptiles .dtile span { font-size: 12.5px; }
.cards2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 14px; } .cards2.even { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; } .cards2.half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc { display: block; border-radius: 4px; background: var(--surface-2); }
.hc.lv1 { background: color-mix(in srgb, var(--hc, var(--accent)) 30%, var(--surface-2)); } .hc.lv2 { background: color-mix(in srgb, var(--hc, var(--accent)) 55%, var(--surface-2)); }
.hc.lv3 { background: color-mix(in srgb, var(--hc, var(--accent)) 78%, var(--surface-2)); } .hc.lv4 { background: var(--hc, var(--accent)); } .hc.fut { visibility: hidden; }
.calwrap { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.cal, .callab { display: grid; grid-template-rows: repeat(7, 17px); gap: 4px; } .cal { grid-auto-flow: column; grid-auto-columns: 17px; }
.callab { font-size: 11px; color: var(--muted); line-height: 17px; }
.hm { display: grid; grid-template-columns: 26px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; font-size: 11px; color: var(--muted); }
.hm .hc { aspect-ratio: 1; max-height: 22px; width: 100%; } .hm .hl { text-align: left; line-height: 1; white-space: nowrap; overflow: visible; }
.hleg { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); margin-top: 12px; } .hleg .hc { width: 12px; height: 12px; border-radius: 3px; }
/* Heatmap-Kacheln: beim Zeigen größer, mit Rahmen in Spielfarbe; Tooltip mit den genauen Zahlen (util.js) */
.hc { transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s ease, filter .18s ease; }
.cal .hc:not(.fut):hover, .hm .hc:hover { position: relative; z-index: 2; transform: scale(1.4); filter: brightness(1.15) saturate(1.1); cursor: default;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--hc, var(--accent)), 0 6px 18px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) { .cal .hc:not(.fut), .hm .hc { transition: transform .16s ease-out, box-shadow .2s ease, filter .2s ease !important; } .cal .hc:not(.fut):hover, .hm .hc:hover { transform: scale(1.3); } }   /* kleine, vom Zeigen ausgelöste Bewegung ohne Federn; !important gegen die allgemeine Regel unten */
.ctip { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; display: grid; gap: 1px; max-width: 260px; padding: 6px 10px 7px; border-radius: 9px;
  background: var(--ink); color: var(--bg); font-size: 12.5px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(4px); transition: opacity .12s ease, transform .12s ease; }
.ctip.below { transform: translateY(-4px); } .ctip.on { opacity: 1; transform: none; } .ctip b { font-weight: 700; } .ctip span { opacity: .85; font-variant-numeric: tabular-nums; }
.sus { display: inline-flex; vertical-align: -2px; margin-left: 6px; color: var(--warn, #e3b341); } .sus .ic { width: 14px; height: 14px; }
.tag.warn { color: var(--warn, #e3b341); background: color-mix(in srgb, var(--warn, #e3b341) 14%, transparent); border-color: color-mix(in srgb, var(--warn, #e3b341) 40%, transparent); display: inline-flex; align-items: center; gap: 5px; } .tag.warn .ic { width: 13px; height: 13px; }
.chip.susc { display: inline-flex; align-items: center; gap: 5px; border-color: color-mix(in srgb, var(--warn, #e3b341) 45%, var(--line)); } .chip.susc .ic { width: 12px; height: 12px; color: var(--warn, #e3b341); }
.botnote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 18px; padding: 12px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--warn, #e3b341) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn, #e3b341) 40%, var(--line)); }
.botnote .bni { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--warn, #e3b341); background: color-mix(in srgb, var(--warn, #e3b341) 16%, transparent); } .botnote .bni .ic { width: 20px; height: 20px; }
.botnote ul { margin: 6px 0 4px; padding-left: 18px; display: grid; gap: 3px; font-size: 14px; } .botnote .fine { margin: 6px 0 0; }
/* ---------- Bewegung und Hervorhebung ---------- */
/* Seitenwechsel: Abschnitte gleiten gestaffelt herein */
#view > * { animation: viewin .5s cubic-bezier(.2, .8, .2, 1) both; }
#view > :nth-child(2) { animation-delay: 50ms; } #view > :nth-child(3) { animation-delay: 100ms; } #view > :nth-child(4) { animation-delay: 150ms; }
#view > :nth-child(5) { animation-delay: 200ms; } #view > :nth-child(n+6) { animation-delay: 240ms; }
@keyframes viewin { from { opacity: 0; transform: translateY(12px); } }
/* Einblenden beim Scrollen (util.js setzt .rv / .rv-in) */
.rv { opacity: 0; transform: translateY(18px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .55s ease var(--rvd, 0s), transform .65s cubic-bezier(.2, .8, .2, 1) var(--rvd, 0s); }
/* Navigation: gleitende Markierung */
.nav.haspill { position: relative; } .nav.haspill a { position: relative; z-index: 1; } .nav.haspill a.on { background: transparent; }
.navpill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 9px; background: var(--surface-2); opacity: 0;
  box-shadow: inset 0 -2px 0 var(--accent); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), width .35s cubic-bezier(.3, 1.3, .5, 1), opacity .2s ease; }
.navpill.vis { opacity: 1; }
/* Live-Punkt pulsiert */
.live.on i, .mnow i { animation: livepulse 2s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--up) 0%, transparent); } }
/* Serverliste: Akzent in Spielfarbe beim Zeigen; geänderte Spielerzahl nach einer Aktualisierung kurz hervorheben */
.srow { --gc: var(--accent); } .srow:hover { box-shadow: inset 3px 0 0 var(--gc); transform: translateX(2px); }
.srow.chg .pl b { animation: chgnum 2.4s ease-out; } .srow.chg.up .pl b { --cc: var(--up); } .srow.chg.down .pl b { --cc: var(--down, #f0925f); }
.srow.chg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: chgrow 2.4s ease-out; }
.srow.chg.up::after { --cc: var(--up); } .srow.chg.down::after { --cc: var(--down, #f0925f); }
@keyframes chgnum { 0%, 30% { color: var(--cc); } }
@keyframes chgrow { 0% { box-shadow: inset 0 0 0 1px var(--cc), 0 0 18px -6px var(--cc); } 100% { box-shadow: inset 0 0 0 1px transparent, 0 0 18px -6px transparent; } }
/* Kacheln, Karten, Schaltflächen */
.kpi, .ptiles .dtile, .dtiles .dtile { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.kpi:hover, .ptiles .dtile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 45%, transparent); }
.card, .chartcard { transition: border-color .25s ease, box-shadow .25s ease; }
.card:hover, .chartcard:hover { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.btn:active, .tab:active, .seg button:active, .cp:active, .chip:active { transform: scale(.96); }
.tab, .seg button, .chip, .cp { transition: transform .12s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.seg button:hover:not(.on) { color: var(--ink); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.tab.on { box-shadow: 0 6px 20px -10px var(--gc); }
/* Laden: Text schimmert */
.state[role=status] { background: linear-gradient(90deg, var(--muted) 30%, var(--ink) 50%, var(--muted) 70%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* Animationen reduzieren: keine Bewegung, aber weiche Einblendungen und Farbübergänge bleiben; Dauer-Animationen aus */
@media (prefers-reduced-motion: reduce) {
  #view > * { animation: viewfade .35s ease both !important; } @keyframes viewfade { from { opacity: 0; } }
  .rv { transform: none; } .rv.rv-in { transition: opacity .45s ease var(--rvd, 0s) !important; }
  .navpill { transition: opacity .2s ease !important; }
  .live.on i, .mnow i, .state[role=status] { animation: none !important; } .state[role=status] { color: var(--muted); background: none; }
  .srow.chg .pl b { animation: chgnum 2.4s ease-out !important; } .srow.chg::after { animation: chgrow 2.4s ease-out !important; }
  .srow:hover { transform: none; } .kpi:hover, .ptiles .dtile:hover { transform: none; }
  .kpi, .ptiles .dtile, .card, .chartcard, .tab, .seg button, .chip, .cp { transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease !important; }
}

/* Kachel-Icons: farbiges Symbol oben rechts, kippt beim Zeigen kurz an */
.dtile.hasic, .kpi.hasic { position: relative; padding-right: 48px; }
.tic { --tc: var(--accent); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--tc); background: linear-gradient(145deg, color-mix(in srgb, var(--tc) 30%, transparent), color-mix(in srgb, var(--tc) 12%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 38%, transparent), 0 4px 12px -6px color-mix(in srgb, var(--tc) 70%, transparent); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .2s ease; }
.tic .ic { width: 19px; height: 19px; stroke-width: 2.1; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--tc) 45%, transparent)); }
.dtile.hasic .tic, .kpi.hasic .tic { position: absolute; right: 10px; top: 10px; }
.dtiles .dtile.hasic { padding-right: 38px; } .dtiles .dtile.hasic .tic { width: 26px; height: 26px; right: 7px; top: 7px; border-radius: 8px; } .dtiles .tic .ic { width: 15px; height: 15px; }
.dtile.hasic:hover .tic, .kpi.hasic:hover .tic { transform: rotate(-10deg) scale(1.12); background: color-mix(in srgb, var(--tc) 24%, transparent); }
.h2.withic { display: flex; align-items: center; gap: 10px; } .h2.withic .tic { width: 34px; height: 34px; }
@media (prefers-reduced-motion: reduce) { .tic { transition: background .2s ease !important; } .dtile.hasic:hover .tic, .kpi.hasic:hover .tic { transform: none; } }

/* Beste Spieler (Server-Seite) */
.besthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .besthead .h2 { margin-bottom: 10px; }
.tbl.best td { vertical-align: middle; } .tbl.best .rkc { width: 40px; }
.rkb { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); font-variant-numeric: tabular-nums; }
.tbl.best tr.m1 .rkb { color: #2b1d00; background: #e3b341; } .tbl.best tr.m2 .rkb { color: #1c2230; background: #c4ccd8; } .tbl.best tr.m3 .rkb { color: #2a1405; background: #d08a4f; }
.relbar { display: inline-block; width: 56px; height: 6px; margin-right: 8px; vertical-align: middle; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.relbar i { display: block; width: var(--w); height: 100%; background: var(--bc, var(--accent)); }
.pp .fine { margin-top: 8px; } .pp > .fine { margin-top: 22px; max-width: 80ch; }
.pp .list { grid-template-columns: minmax(0, 1fr); } .pp .list .hint { white-space: nowrap; } .tsrv { display: inline-flex; align-items: center; gap: 8px; max-width: 340px; } .tsrv span { overflow: hidden; text-overflow: ellipsis; }

/* Server-Seite */
.dmore { display: flex; justify-content: center; margin-top: 8px; }
.bigflag { display: flex; flex: none; } .bigflag .flag { width: 48px; height: 36px; border-radius: 7px; font-size: 14px; }
.ppid.srv h1 { font-size: clamp(22px, 3.4vw, 32px); letter-spacing: -.02em; }
.pp > .connect { max-width: 560px; }
.srvchart { min-height: 0; padding-top: 16px; }
.statlist { display: grid; gap: 0; margin: 0; } .statlist > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .statlist > div:last-child { border-bottom: 0; }
.statlist dt { color: var(--muted); } .statlist dd { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.pp .h2 .cnt { font-size: 13px; vertical-align: middle; font-weight: 600; }

/* Spielerprofil: Anteile je Spiel, Umschalter */
.gshare { display: grid; gap: 14px; }
.gbar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.gbar i { display: flex; align-items: center; justify-content: center; width: var(--w, 0%); background: var(--gc, var(--accent)); min-width: 3px; }
.gbar i + i { box-shadow: inset 2px 0 0 var(--surface); }
.gbar b { font-size: 12px; font-weight: 750; color: var(--on-accent); white-space: nowrap; }
.glist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 22px; }
.glist li { display: grid; grid-template-columns: 12px 1fr auto; align-items: baseline; gap: 2px 8px; }
.glist .gdot { width: 10px; height: 10px; border-radius: 3px; background: var(--gc, var(--accent)); align-self: center; }
.glist .gn { font-size: 14.5px; } .glist .gp { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--gc, var(--ink)); }
.glist .hint { grid-column: 2 / -1; font-size: 12.5px; }
.h2row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 34px 0 12px; } .h2row .h2 { margin: 0; }
.pp .list .gb { flex: none; } .tsrv .gb { flex: none; }

.rtag { margin-left: 8px; font-size: 11.5px; padding: 0 7px; vertical-align: 1px; }

.mthumb { width: 48px; height: 20px; border-radius: 4px; object-fit: cover; flex: none; display: inline-block; vertical-align: middle; background: var(--surface-2); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); }
:root { --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Cpath d='M-10 72C30 52 62 88 102 64S172 30 250 56'/%3E%3Cpath d='M-10 84C36 64 72 100 112 77S178 46 250 69'/%3E%3Cpath d='M-10 96C40 77 82 112 122 90S182 62 250 82'/%3E%3Cellipse cx='68' cy='30' rx='36' ry='17'/%3E%3Cellipse cx='68' cy='30' rx='24' ry='10'/%3E%3Cellipse cx='68' cy='30' rx='11' ry='4'/%3E%3Cellipse cx='186' cy='20' rx='42' ry='15'/%3E%3Cellipse cx='186' cy='20' rx='28' ry='9'/%3E%3Cellipse cx='186' cy='20' rx='13' ry='3.5'/%3E%3C/svg%3E"); }
/* Platzhalter ohne Kartenbild: Spielfarbe + Höhenlinien */
.mthumb.none, .mapban.ph { --gc: var(--accent); }
.mthumb.none, .mimg.noimg, .mapban.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--gc) 26%, var(--surface-2)), color-mix(in srgb, var(--gc) 8%, var(--surface-2))); }
.mthumb.none::after, .mimg.noimg::after, .mapban.ph::after { content: ''; position: absolute; inset: 0; background: var(--gc); opacity: .32; -webkit-mask: var(--topo) center / cover no-repeat; mask: var(--topo) center / cover no-repeat; pointer-events: none; }
.mapban.ph { display: grid; place-items: center; } .mapban.ph b { position: relative; z-index: 1; font-size: 22px; letter-spacing: -.01em; padding: 0 16px; text-align: center; overflow-wrap: anywhere; color: color-mix(in srgb, var(--gc) 65%, var(--ink)); }
.mapban.ph figcaption { display: none; }
.srow .mp { display: flex; align-items: center; gap: 12px; min-width: 0; } .srow .mpn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.srow .mp .mthumb { width: 96px; height: 40px; border-radius: 6px; }
@media (max-width: 1100px) { .srow { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 190px) 56px 120px 70px; } .srow .mp .mthumb { width: 72px; height: 30px; } }
.bars.withmedia { gap: 10px; }
.bars.withmedia .barrow { grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.bars.withmedia .bm { grid-row: 1 / span 2; display: flex; }
.bars.withmedia .bm .mthumb { width: 84px; height: 35px; border-radius: 6px; }
.bars.withmedia .bb { grid-column: 2 / -1; }
.tbl td.tmap .mthumb { margin-right: 10px; width: 64px; height: 27px; }
.tbl td.tmap { vertical-align: middle; }
.mapban { position: relative; margin: 0 0 14px; border-radius: 12px; overflow: hidden; aspect-ratio: 12 / 5; background: var(--surface-2); max-width: 520px; }
.mapban img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mapban figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.srvtop { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 14px; align-items: end; margin-bottom: 14px; } .srvtop .mapban, .srvtop .connect { margin: 0; }
.srvtop .connect { align-self: end; }

.rcards { margin-top: 12px; } .h3sub { font-size: 14px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 10px; }
.tbl tr.win td { background: color-mix(in srgb, var(--up) 8%, transparent); }

/* Karten und Modi */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mcard { --gc: var(--accent); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; transition: border-color .2s, transform .2s; }
.mcard:hover { border-color: color-mix(in srgb, var(--gc) 60%, var(--line)); transform: translateY(-2px); }
.mimg { display: block; aspect-ratio: 12 / 5; background: var(--surface-2); }
.mimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mimg.noimg { display: grid; place-items: center; }
.mimg.noimg b { position: relative; z-index: 1; font-size: 20px; letter-spacing: -.01em; color: color-mix(in srgb, var(--gc) 70%, var(--ink)); padding: 0 12px; text-align: center; overflow-wrap: anywhere; }
.mbody { display: grid; gap: 6px; padding: 10px 14px 14px; }
.mtitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .mtitle b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcode { color: var(--muted); font: 600 11.5px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mshare { display: grid; gap: 4px; font-size: 13px; color: var(--muted); } .mshare .bb { grid-column: auto; }
.mfacts { display: grid; gap: 2px; font-size: 12.5px; color: var(--muted); }
.mnow { display: inline-flex; align-items: center; gap: 6px; color: var(--up); font-weight: 600; } .mnow i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); }
.pphead.withban { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; } .pphead.withban .mapban { margin: 0; }
a.bt { color: inherit; text-decoration: none; } a.bt:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.list .rk { color: var(--muted); font-size: 12.5px; min-width: 18px; text-align: right; font-variant-numeric: tabular-nums; }

/* Infoseite */
.prose { max-width: 70ch; display: grid; gap: 12px; color: var(--ink); } .prose h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 26px; } .prose p, .prose li { color: var(--muted); } .prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.prose code { font: 600 13px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.prose .callout { border-left: 3px solid var(--accent); background: var(--surface); padding: 12px 16px; border-radius: 0 12px 12px 0; }

/* Fuß, Hinweis */
.foot { border-top: 1px solid var(--line); padding: 18px; color: var(--muted); font-size: 13.5px; }
.footin { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; } .footin nav { display: flex; flex-wrap: wrap; gap: 6px 18px; } .footin a { text-decoration: none; } .footin a:hover { color: var(--ink); text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 10px; font-size: 14px; z-index: 60; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; } .toast.on { opacity: 1; transform: translate(-50%, 0); }
.nojs { padding: 40px 18px; max-width: 60ch; margin: 0 auto; color: var(--muted); }

/* Schmale Bildschirme */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .cards3, .cards2, .cards2.even, .cards2.half { grid-template-columns: 1fr; }
  .relbar { display: none; } .tbl.best .opt { display: none; } .tbl.best th, .tbl.best td { padding-left: 6px; padding-right: 6px; } .tbl.best .rkc { width: 30px; } .tbl.best .plink { display: inline-block; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
  .pphead.withban { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 24px minmax(0, 1fr) 118px 34px; grid-template-areas: "fl nm pl cp" "fl mp md cp"; row-gap: 2px; }
  .srow .fl { grid-area: fl; } .srow .nm { grid-area: nm; } .srow .pl { grid-area: pl; } .srow .acts { grid-area: cp; grid-row: 1 / span 2; flex-direction: column; align-items: center; } .srow .cp { height: 28px; } .srow .mp { grid-area: mp; font-size: 13px; color: var(--muted); } .srow .md { grid-area: md; text-align: right; }
  .srow .cp { opacity: .8; }
  .srow .mp .mthumb { display: none; }
  .srvtop { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 30px minmax(0, 1fr) 64px 84px; } .prow .c-ss, .prow .c-ls { display: none; } .prow .rk { display: block; }
}
@media (max-width: 560px) {
  .nav a { padding: 6px 7px; font-size: 13.5px; } .brand span, .tools a.iconbtn { display: none; }
  .topin { flex-wrap: wrap; row-gap: 2px; padding-bottom: 6px; } .nav { order: 3; flex: 1 0 100%; margin: 0 -6px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dtile.hasic, .kpi.hasic { padding-right: 40px; } .dtile.hasic .tic, .kpi.hasic .tic { width: 26px; height: 26px; right: 8px; top: 8px; border-radius: 8px; } .dtile.hasic .tic .ic, .kpi.hasic .tic .ic { width: 15px; height: 15px; }
  .dtiles, .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .avatar.lg { width: 52px; height: 52px; font-size: 24px; } .pp .list a { flex-wrap: wrap; } .pp .list .grow { flex-basis: 60%; }
  .kv > div { grid-template-columns: 1fr; gap: 0; }
  .topin { gap: 8px; padding: 8px 12px; } main { padding: 0 12px 50px; }
  .searchbox kbd { display: none; }
  .barrow { grid-template-columns: minmax(42%, 1fr) minmax(0, auto); } .bv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bars.withmedia .barrow { grid-template-columns: 72px minmax(0, 1fr) minmax(0, auto); } .bars.withmedia .bm .mthumb { width: 72px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
