/* stats.css — „Deine Statistiken“ nach Enricos Entwurf vom 24.09.2026 (ChatGPT-Bild, 876 px breit).
   Baut auf start.css auf (Banner-Schrift, Kästen, Farben je Spiel, „Bereit für dein nächstes Match?“).
   Verhältnisse aus dem Entwurf: Inhalt 788 px → hier 1330 px; links 496 : rechts 280 bei 12 px Abstand,
   Spielkarten 1,65 : 1, Banner gut ein Viertel so hoch wie breit. Schriftgrößen wie auf der Startseite. */

/* ------------------------------------------------------------------ Banner */
.sx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(334px, 21.75vw, 470px);   /* wie .start-hero — Enrico: Statistik, Games, Forum gleich gross */
  display: flex; align-items: center;
  background: #070c14;
}
.sx-hero-bild {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 82% 42%;
}
/* Links dunkler, damit Schrift und Suche auf dem Bild stehen — rechts bleibt das Bild frei. */
.sx-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 10, 18, .88) 0%, rgba(5, 10, 18, .62) 30%, rgba(5, 10, 18, .12) 58%, rgba(5, 10, 18, 0) 72%),
              linear-gradient(0deg, rgba(6, 11, 20, .8) 0%, rgba(6, 11, 20, 0) 22%);
}
.sx-hero-in { padding-left: 37px; padding-top: 6px; }
.sx-titel { margin-top: 4px; }
.sx-titel .b { transform: none; }
.sx-suche { display: flex; gap: 12px; margin-top: 22px; }
.sx-suche-feld {
  display: flex; align-items: center; gap: 12px; width: 440px; max-width: 100%; height: 50px; padding: 0 16px;
  border-radius: 7px; background: rgba(5, 12, 22, .78); border: 1px solid rgba(130, 165, 210, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sx-suche-feld:focus-within { border-color: rgba(44, 157, 255, .85); box-shadow: 0 0 0 3px rgba(44, 157, 255, .18); }
.sx-suche-feld svg { width: 19px; height: 19px; flex: none; color: #c9d6e6; }
.sx-suche-feld input {
  all: unset; flex: 1; min-width: 0; font: 400 15px/1 'Inter', var(--f-body); color: #eef3f9;
}
.sx-suche-feld input::placeholder { color: #8e9db2; }
.sx-suche-feld input::-webkit-search-cancel-button { filter: invert(.7); }
.sx-suche-knopf {
  height: 50px; padding: 0 26px; border-radius: 7px; cursor: pointer;
  font: 700 15px/1 'Inter', var(--f-body); color: #fff; border: 1px solid rgba(120, 210, 255, .55);
  background: linear-gradient(180deg, #0ab6fd 0%, #0798fc 55%, #0288f7 100%);
  box-shadow: 0 0 18px rgba(10, 150, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .15s ease, box-shadow .2s ease;
}
.sx-suche-knopf:hover { transform: translateY(-1px); box-shadow: 0 0 24px rgba(10, 150, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sx-suche-hinweis { margin: 11px 0 0; font: 400 12.5px/1.4 'Inter', var(--f-body); color: #a3b1c4; }
.sx-suche-hinweis.fehlt { color: #ffc3a0; }

/* ------------------------------------------------------------------ Spielmodus wählen */
.sx-block { margin-top: 42px; }
.sx-h2 { margin: 0; font: 800 23px/1.1 'Inter', var(--f-body); color: #f4f7fb; letter-spacing: -.02em; }
.sx-modi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-top: 16px; }
.sx-modus {
  position: relative; display: block; aspect-ratio: 1.65; overflow: hidden; border-radius: 10px;
  border: 2px solid rgba(var(--t-rgb), .55); background: var(--t-boden); text-decoration: none;
  box-shadow: 0 0 14px rgba(var(--t-rgb), .14), 0 12px 28px rgba(0, 0, 0, .35);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sx-modus img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%;
  transition: transform .5s ease;
}
.sx-modus::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 22, 0) 30%, rgba(6, 12, 22, .55) 58%, rgba(var(--t-rgb), .12) 72%, rgba(6, 12, 22, .92) 100%);
}
.sx-modus:hover { transform: translateY(-3px); border-color: rgba(var(--t-rgb), .9); box-shadow: 0 0 24px rgba(var(--t-rgb), .3), 0 16px 34px rgba(0, 0, 0, .45); }
.sx-modus:hover img { transform: scale(1.04); }
.sx-modus.on { border-color: var(--t-hell); box-shadow: 0 0 0 1px rgba(var(--t-rgb), .6), 0 0 28px rgba(var(--t-rgb), .5), 0 16px 34px rgba(0, 0, 0, .45); }
.sx-modus-unten { position: absolute; z-index: 1; left: 18px; right: 12px; bottom: 16px; display: flex; align-items: center; gap: 12px; }
.sx-modus-unten .start-sym { width: 44px; height: 44px; border-radius: 9px; }
.sx-modus-unten .start-sym svg { width: 23px; height: 23px; }
.sx-modus-titel {
  display: inline-block; white-space: nowrap; transform: scaleX(.82); transform-origin: left center;
  font: 800 31px/1 'Changa', var(--f-head); letter-spacing: 0;
  filter: drop-shadow(0 2px 0 rgba(3, 8, 16, .6));
}
.sx-modus-titel span { -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-modus-titel .a { background-image: linear-gradient(180deg, #ffffff 0%, #e9eef5 45%, #aeb9c9 100%); }
.sx-modus-titel .b { background-image: linear-gradient(180deg, var(--t-hell) 0%, var(--t) 60%, var(--t-tief) 100%); }
.sx-modus[data-ton="gruen"] .sx-modus-titel { font-size: 27px; }
/* Sieben Spiele seit 30.09.2026 (wie die Startseite): vier oben, die drei neuen darunter je ein Drittel breit —
   flacher (2.23 statt 1.65), damit beide Reihen gleich hoch sind. */
.sx-modi { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.sx-modus { grid-column: span 3; }
.sx-modus:nth-child(n+5) { grid-column: span 4; aspect-ratio: 2.23; }
/* Acht Spiele (mit JumpDown, 01.10.2026): zwei gleiche Viererreihen. Nur breit — darunter gilt das Zweier-Raster. */
@media (min-width: 981px) { .sx-modi[data-n="8"] .sx-modus:nth-child(n+5) { grid-column: span 3; aspect-ratio: 1.65; } }
/* Neun (mit JumpDown und Housing): drei gleiche Dreierreihen. */
@media (min-width: 981px) { .sx-modi[data-n="9"] .sx-modus, .sx-modi[data-n="9"] .sx-modus:nth-child(n+5) { grid-column: span 4; aspect-ratio: 2.23; } }
.sx-haken {
  position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 7px; color: #fff; background: linear-gradient(180deg, var(--t-hell), var(--t)); box-shadow: 0 0 14px rgba(var(--t-rgb), .6);
}
.sx-haken svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ Zwei Spalten */
/* Rechts so breit wie die Seitenleiste der Startseite (380 px) — 473 px nach dem Entwurf waren Enrico zu breit. */
.sx-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin-top: 40px; align-items: start; }
.sx-haupt, .sx-rechts { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.sx-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: -2px; }
.sx-kopf h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 25px/1.1 'Inter', var(--f-body); color: #f4f7fb; letter-spacing: -.02em; }
.sx-pokal { display: flex; color: #2c9dff; filter: drop-shadow(0 0 8px rgba(44, 157, 255, .45)); }
.sx-pokal svg { width: 28px; height: 28px; }

/* Aufklappmenüs (details) — Sortierung und Varianten */
.sx-auswahl { position: relative; }
.sx-auswahl summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; user-select: none;
  font: 500 12.5px/1 'Inter', var(--f-body); color: #b9c7d8; white-space: nowrap;
}
.sx-auswahl summary::-webkit-details-marker { display: none; }
.sx-auswahl summary svg { width: 15px; height: 15px; color: #2c9dff; transition: transform .2s ease; }
.sx-auswahl[open] summary svg { transform: rotate(180deg); }
.sx-menue {
  position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 6px;
  border-radius: 8px; background: #0b1726; border: 1px solid #1f3552; box-shadow: 0 16px 36px rgba(0, 0, 0, .5);
}
.sx-menue a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 6px;
  font: 500 13px/1 'Inter', var(--f-body); color: #d5dfeb; text-decoration: none; white-space: nowrap;
}
.sx-menue a:hover { background: rgba(44, 157, 255, .1); color: #fff; }
.sx-menue a[aria-current] { color: #3aa5ff; font-weight: 700; }
.sx-menue a svg { width: 14px; height: 14px; }

/* Rangliste */
.sx-liste { padding: 16px 16px 14px; }
.sx-leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 2px 2px 14px; }
.sx-tabs { display: flex; gap: 4px; }
.sx-tab {
  display: inline-flex; align-items: center; height: 34px; padding: 0 17px; border-radius: 6px;
  font: 600 12.5px/1 'Inter', var(--f-body); color: #c3cfde; text-decoration: none; white-space: nowrap;
  background: rgba(10, 22, 38, .6); border: 1px solid #1e3452; transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.sx-tab:hover { color: #fff; border-color: #2e4d74; }
.sx-tab.on { color: #fff; border-color: rgba(120, 210, 255, .55); background: linear-gradient(180deg, #0ab6fd 0%, #0798fc 55%, #0288f7 100%); box-shadow: 0 0 14px rgba(10, 150, 255, .3); }
.sx-varianten summary {
  height: 36px; padding: 0 14px; border-radius: 6px; background: rgba(8, 18, 32, .8); border: 1px solid #243b5a;
  font-size: 13px; color: #e2e9f3;
}
.sx-varianten summary svg { color: #c3cfde; }

.sx-tabelle-rahmen { overflow-x: auto; }
.sx-tabelle { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.sx-tabelle thead th {
  height: 44px; padding: 0 12px; text-align: left; white-space: nowrap;
  font: 600 13px/1 'Inter', var(--f-body); color: #c9d6e6; background: #0c1f36;
}
.sx-tabelle thead th:first-child { border-radius: 7px 0 0 7px; padding-left: 16px; }
.sx-tabelle thead th:last-child { border-radius: 0 7px 7px 0; padding-right: 18px; }
.sx-tabelle thead a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.sx-tabelle thead a:hover { color: #fff; }
.sx-tabelle thead th.on, .sx-tabelle thead th.on a { color: #2c9dff; }
.sx-tabelle thead svg { width: 14px; height: 14px; }
.sx-tabelle th.r, .sx-tabelle td.r { text-align: center; }
.sx-tabelle tbody td {
  height: 56px; padding: 0 12px; border-bottom: 1px solid #14263a;
  font: 500 14px/1 'Inter', var(--f-body); color: #d2dce8; white-space: nowrap;
}
.sx-tabelle tbody tr:last-child td { border-bottom: 0; }
.sx-tabelle tbody td.on { font-weight: 700; color: #fff; }
.sx-tabelle tbody tr { transition: background-color .15s ease; }
.sx-tabelle tbody tr:hover { background: rgba(44, 157, 255, .05); }
.sx-tabelle tbody tr.on { background: linear-gradient(90deg, rgba(18, 110, 225, .26) 0%, rgba(18, 110, 225, .12) 100%); }
.sx-tabelle tbody tr.on td { border-bottom-color: rgba(44, 157, 255, .25); }
.sx-tabelle tbody tr.on td:first-child { box-shadow: inset 3px 0 0 #2c9dff; }
.sx-tabelle .sx-nr { width: 58px; padding-left: 16px; }
.sx-tabelle tbody .sx-nr { font-weight: 600; color: #c9d6e6; text-align: left; padding-left: 26px; }
.sx-tabelle tbody tr.on .sx-nr { color: #3aa5ff; font-weight: 700; }
.sx-medaille {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -10px; border-radius: 5px;
  font: 800 13px/1 'Inter', var(--f-body); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 6px rgba(0, 0, 0, .35);
}
.sx-medaille[data-platz="1"] { color: #3b2700; background: linear-gradient(180deg, #ffe07a 0%, #f5b820 60%, #d99a06 100%); border: 1px solid #ffd35c; }
.sx-medaille[data-platz="2"] { color: #17202c; background: linear-gradient(180deg, #e2e8f0 0%, #aab6c5 60%, #8793a4 100%); border: 1px solid #cfd8e3; }
.sx-medaille[data-platz="3"] { color: #2f1604; background: linear-gradient(180deg, #f2b27a 0%, #cd7f3c 60%, #a8602a 100%); border: 1px solid #e59c5e; }
.sx-wer { display: inline-flex; align-items: center; gap: 13px; color: #eef3f9; text-decoration: none; font-weight: 700; }
.sx-wer:hover span { color: #6cbcff; }
.sx-tabelle tbody tr.on .sx-wer { color: #3aa5ff; }
.sx-kopfbild { border-radius: 4px; image-rendering: pixelated; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); flex: none; }

.sx-liste-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 0 4px; }
.sx-liste-fuss > span { font: 400 12.5px/1 'Inter', var(--f-body); color: #93a3b8; }
.sx-seiten { display: flex; align-items: center; gap: 6px; }
.sx-seiten a, .sx-seiten span {
  display: inline-grid; place-items: center; min-width: 31px; height: 31px; padding: 0 6px; border-radius: 5px;
  font: 600 12.5px/1 'Inter', var(--f-body); color: #c9d6e6; text-decoration: none;
  background: rgba(10, 22, 38, .7); border: 1px solid #1e3452;
}
.sx-seiten a:hover { border-color: #2e4d74; color: #fff; }
.sx-seiten svg { width: 14px; height: 14px; }
.sx-seiten .on { color: #fff; border-color: rgba(120, 210, 255, .55); background: #0a8ffb; box-shadow: 0 0 12px rgba(10, 150, 255, .35); }
.sx-seiten .aus { opacity: .45; }
.sx-seiten .luecke { background: none; border: 0; min-width: 18px; color: #7d8ea5; }

/* Freie Plaetze: die Rangliste hat immer zehn Zeilen — was noch niemandem gehoert, steht als frei da. */
.sx-tabelle tbody tr.frei:hover { background: none; }
.sx-tabelle tbody tr.frei td { color: #3d4e66; }
.sx-tabelle tbody tr.frei .sx-nr { color: #4a5c75; }
.sx-tabelle tbody tr.frei .sx-medaille { opacity: .32; filter: saturate(.6); }
.sx-tabelle tbody tr.frei .sx-wer { color: #52647d; font-weight: 500; font-style: italic; }
.sx-frei-kopf {
  width: 30px; height: 30px; flex: none; border-radius: 4px; border: 1px dashed #28405e;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 4px, transparent 4px 8px);
}
.sx-frei-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1 'Inter', var(--f-body); color: #2c9dff; text-decoration: none; }
.sx-frei-link svg { width: 13px; height: 13px; transition: transform .2s ease; }
.sx-frei-link:hover { color: #6cbcff; }
.sx-frei-link:hover svg { transform: translateX(3px); }
.sx-seiten { margin-left: 12px; }

/* Noch niemand in der Wertung: ein Hinweis ueber den freien Plaetzen */
.sx-hinweisleiste {
  display: flex; align-items: center; gap: 14px; margin: 0 2px 14px; padding: 12px 14px; border-radius: 8px;
  background: rgba(44, 157, 255, .07); border: 1px solid rgba(44, 157, 255, .25);
}
.sx-hinweisleiste .start-sym-klein { width: 34px; height: 34px; border-radius: 8px; border-width: 2px; }
.sx-hinweisleiste .start-sym-klein svg { width: 18px; height: 18px; }
.sx-hinweisleiste p { flex: 1; margin: 0; font: 500 13.5px/1.5 'Inter', var(--f-body); color: #c3cfde; }
.sx-leer-knopf { flex: none; width: auto; padding: 0 18px; height: 38px; font-size: 13px; }

/* Ohne Neuladen: waehrend die neue Ansicht kommt, ein duenner Balken unter der Kopfleiste und ein
   leichtes Abblenden — erst nach einem Augenblick, damit schnelle Wechsel nicht flackern. */
#sx-inhalt.sx-laedt .sx-grid, #sx-inhalt.sx-laedt .sx-modi, #sx-inhalt.sx-laedt .sx-treffer { opacity: .6; pointer-events: none; transition: opacity .15s ease .1s; }
#sx-inhalt.sx-laedt::before {
  content: ''; position: fixed; z-index: 60; left: 0; right: 0; top: calc(var(--head-h, 72px) + env(safe-area-inset-top, 0px)); height: 2px;
  background: linear-gradient(90deg, transparent, #2c9dff, transparent) no-repeat; background-size: 40% 100%;
  animation: sx-lade 1s linear infinite;
}
@keyframes sx-lade { from { background-position: -40% 0; } to { background-position: 140% 0; } }
#sx-inhalt.sx-neu .sx-grid, #sx-inhalt.sx-neu .sx-treffer { animation: sx-rein .22s ease both; }
@keyframes sx-rein { from { opacity: .6; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #sx-inhalt.sx-laedt::before, #sx-inhalt.sx-neu .sx-grid { animation: none; } }
.sx-leer-klein { margin: 4px 2px 6px; font: 500 13px/1.5 'Inter', var(--f-body); color: #93a3b8; }

/* Kästen: Titelzeile */
.sx-panel-titel { display: flex; align-items: center; gap: 11px; margin: 0; font: 700 17px/1.2 'Inter', var(--f-body); color: #f2f6fb; letter-spacing: -.01em; }
.sx-ico { display: flex; color: #2c9dff; }
.sx-ico svg { width: 22px; height: 22px; }
.sx-blau { color: #3aa5ff; font-weight: 600; }
.sx-panel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #16263a; }
.sx-pfeil { display: flex; color: #2c9dff; }
.sx-pfeil svg { width: 19px; height: 19px; transition: transform .2s ease; }
.sx-pfeil:hover svg { transform: translateX(3px); }

/* Letzte Runden */
.sx-runden { padding: 18px 16px 14px; }
.sx-runden .sx-panel-titel { font-size: 18px; margin: 2px 2px 14px; }
.sx-runden .sx-ico svg { width: 26px; height: 26px; }
.sx-runden-tabelle tbody td { height: 54px; }
.sx-runden-tabelle thead th:first-child, .sx-runden-tabelle tbody td:first-child { width: 170px; padding-left: 14px; }
.sx-erg {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 11px; border-radius: 5px;
  font: 700 13px/1 'Inter', var(--f-body); text-decoration: none; white-space: nowrap; transition: filter .15s ease;
}
.sx-erg:hover { filter: brightness(1.2); }
.sx-erg svg { width: 16px; height: 16px; }
.sx-erg[data-erg="sieg"]        { color: #4ade80; background: rgba(34, 197, 94, .13); border: 1px solid rgba(34, 197, 94, .45); }
.sx-erg[data-erg="niederlage"]  { color: #ff6b6b; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .45); }
.sx-erg[data-erg="abgebrochen"] { color: #a9b6c7; background: rgba(148, 163, 184, .1); border: 1px solid rgba(148, 163, 184, .32); }
.sx-erg[data-erg="offen"]       { color: #7cc4ff; background: rgba(44, 157, 255, .1); border: 1px solid rgba(44, 157, 255, .35); }

/* Treffer der Suche */
.sx-treffer { margin-top: 22px; padding: 16px 18px; }
.sx-treffer .sx-panel-titel { font-size: 15px; margin-bottom: 12px; }
.sx-treffer-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.sx-treffer-liste a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none;
  background: rgba(10, 22, 38, .7); border: 1px solid #1a2d44; transition: border-color .15s ease;
}
.sx-treffer-liste a:hover { border-color: #2c9dff; }
.sx-treffer-liste a > span { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.sx-treffer-liste b { font: 700 13.5px/1.1 'Inter', var(--f-body); color: #eef3f9; }
.sx-treffer-liste i { font: 500 11.5px/1 'Inter', var(--f-body); font-style: normal; color: #8b9bb1; }
.sx-treffer-liste svg { width: 15px; height: 15px; color: #2c9dff; }

/* Rechte Spalte: Spielerstatistik */
.sx-spieler { padding: 18px 18px 18px; }
.sx-person { display: flex; align-items: center; gap: 18px; }
.sx-person .sx-kopfbild { width: 64px; height: 64px; border-radius: 6px; }
.sx-person b { display: block; font: 700 19px/1.15 'Inter', var(--f-body); color: #f4f7fb; letter-spacing: -.01em; }
.sx-person i { display: block; margin-top: 7px; font: 400 13px/1 'Inter', var(--f-body); font-style: normal; color: #93a3b8; }
.sx-platz {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; margin-top: 16px; border-radius: 7px;
  font: 800 19px/1 'Inter', var(--f-body); color: #3aa5ff; letter-spacing: -.01em;
  background: linear-gradient(180deg, rgba(14, 60, 120, .32), rgba(8, 30, 60, .3)); border: 1px solid rgba(44, 157, 255, .6);
  box-shadow: inset 0 0 18px rgba(44, 157, 255, .12);
}
.sx-platz svg { width: 22px; height: 22px; }
.sx-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sx-kachel {
  display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 14px; border-radius: 7px;
  background: rgba(9, 20, 35, .75); border: 1px solid #1a2d44;
}
.sx-kachel > svg { width: 26px; height: 26px; flex: none; }
.sx-kachel b { display: block; font: 800 19px/1 'Inter', var(--f-body); color: #fff; font-variant-numeric: tabular-nums; }
.sx-kachel i { display: block; margin-top: 6px; font: 400 12.5px/1 'Inter', var(--f-body); font-style: normal; color: #93a3b8; }
.sx-kachel[data-art="siege"] > svg  { color: #f5b820; filter: drop-shadow(0 0 6px rgba(245, 184, 32, .4)); }
.sx-kachel[data-art="spiele"] > svg { color: #3b8bff; filter: drop-shadow(0 0 6px rgba(59, 139, 255, .4)); }
.sx-kachel[data-art="kills"] > svg  { color: #3fce73; filter: drop-shadow(0 0 6px rgba(63, 206, 115, .4)); }
.sx-kachel[data-art="kd"] > svg     { color: #2c9dff; filter: drop-shadow(0 0 6px rgba(44, 157, 255, .4)); }
.sx-werte { margin: 16px 0 0; padding-top: 4px; border-top: 1px solid #16263a; }
.sx-werte > div { display: flex; align-items: center; justify-content: space-between; height: 40px; border-bottom: 1px solid #16263a; }
.sx-werte dt { font: 400 13px/1 'Inter', var(--f-body); color: #c3cfde; }
.sx-werte dd { margin: 0; font: 700 14px/1 'Inter', var(--f-body); color: #fff; font-variant-numeric: tabular-nums; }
.sx-profil-knopf {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 16px; border-radius: 7px;
  font: 600 13.5px/1 'Inter', var(--f-body); color: #e6eef8; text-decoration: none;
  background: linear-gradient(180deg, rgba(14, 50, 100, .35), rgba(8, 26, 52, .35)); border: 1px solid rgba(44, 157, 255, .55);
  transition: border-color .2s ease, background-color .2s ease;
}
.sx-profil-knopf:hover { border-color: #3aa5ff; background: rgba(14, 60, 120, .45); }
.sx-profil-knopf svg { width: 15px; height: 15px; transition: transform .2s ease; }
.sx-profil-knopf:hover svg { transform: translateX(3px); }
.sx-spieler-leer p { margin: 0; font: 400 13.5px/1.55 'Inter', var(--f-body); color: #c3cfde; }
.sx-spieler-leer .sx-knoepfe .start-btn { width: 100%; margin-top: 16px; }
.sx-cmd { margin-top: 14px !important; font-size: 12px !important; color: #8b9bb1 !important; }
.sx-cmd code { padding: 2px 6px; border-radius: 3px; font: 600 11.5px/1 var(--f-mono); color: #bfe0ff; background: rgba(44, 157, 255, .14); }

/* So wird gezählt */
.sx-regeln { padding: 18px; }
.sx-regeln .sx-panel-kopf { border-bottom: 0; padding-bottom: 0; margin-bottom: 12px; }
.sx-regeln p { margin: 0; font: 400 13px/1.6 'Inter', var(--f-body); color: #b3c0d1; }
.sx-regeln .sx-klein { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: #7f90a7; }

/* Bereit für dein nächstes Match? — wie auf der Startseite, nur etwas höher (Entwurf) */
.sx-cta { height: 330px; }
.sx-cta .start-cta-in { padding-top: 72px; }

/* ------------------------------------------------------------------ Kleinere Bildschirme */
@media (max-width: 1180px) {
  .sx-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .sx-modus-titel { font-size: 26px; }
  .sx-modus[data-ton="gruen"] .sx-modus-titel { font-size: 22px; }
}
@media (max-width: 980px) {
  .sx-grid { grid-template-columns: 1fr; }
  .sx-modi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-modus, .sx-modus:nth-child(n+5) { grid-column: auto; aspect-ratio: 1.65; }
  .sx-modus:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 3.4; }
  .sx-hero-in { padding-left: 0; }
}
@media (max-width: 640px) {
  .sx-modi { gap: 10px; }
  .sx-modus-unten { left: 10px; bottom: 10px; gap: 8px; }
  .sx-modus-unten .start-sym { width: 34px; height: 34px; }
  .sx-modus-unten .start-sym svg { width: 18px; height: 18px; }
  .sx-modus-titel { font-size: 20px; }
  .sx-modus[data-ton="gruen"] .sx-modus-titel { font-size: 16px; }
  .sx-kopf { flex-wrap: wrap; }
  .sx-tabs { width: 100%; }
  .sx-tab { flex: 1; justify-content: center; padding: 0 8px; }
  .sx-tabelle tbody td { height: 50px; font-size: 13px; }
  .sx-tabelle .sx-nr { width: 44px; }
}

/* Unter 761 px wie die Startseite und jeder Unterseiten-Kopf (web.css .lx-kopf): Hoehe aus dem Inhalt,
   Mindesthoehe = Hoehe der Startseite bei dieser Breite. Die Suche bleibt bis 420 px einzeilig — zweizeilig
   waere der Kopf auf Tablets 50 px hoeher als die Startseite. */
@media (max-width: 760px) { .sx-hero { height: auto; min-height: 231px; padding: 26px 0 22px; } }
@media (max-width: 711px) { .sx-hero { min-height: 252px; } }
@media (max-width: 521px) { .sx-hero { min-height: calc(200px + 20vw); } }
@media (max-width: 486px) { .sx-hero { min-height: calc(203px + 19.35vw); } }
@media (max-width: 360px) { .sx-suche { flex-wrap: wrap; } .sx-suche-feld { width: 100%; } .sx-suche-knopf { width: 100%; } }
@media (max-width: 392px) { .sx-hero { min-height: calc(279px + 20vw); } }
@media (max-width: 340px) { .sx-hero { min-height: 347px; } }
/* 713–760 px: die Suche ist hoeher als Knoepfe + Merkmale der Startseite — 12 px weniger Innenabstand gleichen das aus */
@media (min-width: 712px) and (max-width: 760px) { .sx-hero { padding: 18px 0 14px; } }

/* ------------------------------------------------------------------ Duels (26.09.2026)
   Elo in der Farbe ihrer Stufe — dieselben Materialfarben wie im Spiel (Holz, Stein, Eisen, Gold,
   Diamant, Meister). Ohne gewertetes Spiel gibt es keine Elo: dann ein grauer Strich. */
.sx-elo { font-weight: 800; font-variant-numeric: tabular-nums; }
.sx-elo[data-stufe="holz"]    { color: #d39b62; }
.sx-elo[data-stufe="stein"]   { color: #b6c0cc; }
.sx-elo[data-stufe="eisen"]   { color: #eef3f8; }
.sx-elo[data-stufe="gold"]    { color: #ffd257; }
.sx-elo[data-stufe="diamant"] { color: #5fe3f2; }
.sx-elo[data-stufe="meister"] { color: #e79cff; text-shadow: 0 0 10px rgba(231, 156, 255, .45); }
.sx-elo-leer { color: #6f8196; font-weight: 600; }
.sx-delta { font-weight: 800; font-variant-numeric: tabular-nums; }
.sx-delta[data-vz="plus"]  { color: #4ade80; }
.sx-delta[data-vz="minus"] { color: #ff6b6b; }
.sx-bot { margin-left: 6px; vertical-align: 1px; }
.sx-gegner { color: #e7edf6; text-decoration: none; }
.sx-gegner:hover { color: #fff; text-decoration: underline; }
span.sx-erg { cursor: default; }
span.sx-erg:hover { filter: none; }
.sx-erg[data-erg="unentschieden"] { color: #a9b6c7; background: rgba(148, 163, 184, .1); border: 1px solid rgba(148, 163, 184, .32); }
.sx-kachel[data-art="elo"] > svg { color: #ff6b6b; filter: drop-shadow(0 0 6px rgba(229, 72, 77, .45)); }
