/* Ronin Hold'em: dunkel, lebendig, übersichtlich (docs/10, 10.1). Keine Webschriften, keine Bibliotheken (Regel Nr. 1):
   Systemschrift, Verläufe und Bewegung nur mit CSS. Wer weniger Bewegung eingestellt hat, bekommt keine. */
:root {
  --grund: #07050a; --grund2: #0f0b14; --glas: rgba(255,255,255,.045); --glas2: rgba(255,255,255,.085); --rand: rgba(255,255,255,.1);
  --text: #f5f0e8; --blass: #a9a2b3; --rot: #ff2e4d; --rot2: #c0142f; --gold: #ffc861; --orange: #ff8a3d; --gruen: #2ee59d; --violett: #8b5cf6;
  --verlauf: linear-gradient(120deg, #ff2e4d 0%, #ff8a3d 55%, #ffc861 100%);
  --r: 18px; --schatten: 0 18px 50px rgba(0,0,0,.5);
  --schrift: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--grund); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text); background: var(--grund);
  font: 16px/1.55 var(--schrift); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Hintergrund: zwei langsam wandernde Lichtflecken und ein feines Punkteraster */
body::before, body::after { content: ""; position: fixed; inset: -20vmax; z-index: -2; pointer-events: none; }
body::before { background: radial-gradient(40vmax 30vmax at 20% 15%, rgba(255,46,77,.22), transparent 60%),
  radial-gradient(38vmax 32vmax at 85% 70%, rgba(139,92,246,.16), transparent 60%),
  radial-gradient(30vmax 24vmax at 60% 10%, rgba(255,138,61,.10), transparent 60%);
  animation: treiben 28s ease-in-out infinite alternate; }
body::after { z-index: -1; inset: 0; background: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
@keyframes treiben { to { transform: translate3d(-4vmax, 3vmax, 0) rotate(8deg) scale(1.08); } }

a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 850; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
.blass { color: var(--blass); }
.klein { font-size: .88rem; }
.verlauf { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vorzeile { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px;
  background: var(--glas); border: 1px solid var(--rand); color: var(--blass); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; }

/* Kopf und Menü */
header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(7,5,10,.62); border-bottom: 1px solid var(--rand); }
.kopf { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; letter-spacing: .06em; font-size: 1.05rem; white-space: nowrap; }
.marke img { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(255,46,77,.45)); transition: transform .4s cubic-bezier(.2,.9,.3,1.4); }
.marke:hover img { transform: rotate(-8deg) scale(1.08); }
.marke b { font-weight: 900; }
nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav a { color: var(--blass); padding: 8px 14px; border-radius: 99px; font-weight: 650; font-size: .95rem; transition: background .2s, color .2s; white-space: nowrap; }
nav a:hover { color: var(--text); background: var(--glas2); }
nav a.aktiv { color: var(--text); background: var(--glas2); box-shadow: inset 0 -2px 0 var(--rot); }
nav a.sprache { border: 1px solid var(--rand); font-size: .8rem; letter-spacing: .08em; padding: 6px 11px; margin-left: 6px; }
@media (max-width: 760px) {
  .kopf { flex-wrap: wrap; gap: 6px 10px; }
  nav { order: 3; width: 100%; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a.sprache { margin-left: auto; }
}

main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 16px 56px; flex: 1; }
footer { border-top: 1px solid var(--rand); background: rgba(0,0,0,.25); color: var(--blass); font-size: .9rem; }
.fuss { max-width: 1240px; margin: 0 auto; padding: 32px 16px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.fuss b { color: var(--text); display: block; margin-bottom: 6px; }
.fuss a { display: block; color: var(--blass); padding: 2px 0; }
.fuss a:hover { color: var(--text); }
@media (max-width: 640px) { .fuss { grid-template-columns: 1fr 1fr; } .fuss > :first-child { grid-column: 1 / -1; } }

/* Knöpfe */
.knopf, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 750; cursor: pointer;
  padding: 11px 20px; border-radius: 99px; border: 0; color: #fff; background: var(--verlauf); background-size: 160% 100%;
  box-shadow: 0 8px 26px rgba(255,46,77,.35); transition: transform .2s, box-shadow .2s, background-position .4s; text-decoration: none; }
.knopf:hover, button:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 12px 34px rgba(255,46,77,.5); }
.knopf:active, button:active { transform: translateY(0) scale(.98); }
.knopf.geist, button.leise { background: var(--glas); border: 1px solid var(--rand); box-shadow: none; color: var(--text); }
.knopf.geist:hover, button.leise:hover { background: var(--glas2); border-color: rgba(255,255,255,.22); }
.knopf.klein, button.klein { padding: 7px 14px; font-size: .88rem; }
.knopf svg, button svg { width: 1.15em; height: 1.15em; flex: none; }
.knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }

/* Karten (Flächen) und Raster */
.karte { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
  border: 1px solid var(--rand); border-radius: var(--r); padding: 18px 20px; margin: 14px 0; }
.karte.klick { transition: transform .25s cubic-bezier(.2,.9,.3,1.2), border-color .25s, box-shadow .25s; }
.karte.klick:hover { transform: translateY(-4px); border-color: rgba(255,46,77,.45); box-shadow: var(--schatten), 0 0 0 1px rgba(255,46,77,.15); }
.gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gitter > .karte { margin: 0; }
.abschnitt { margin: 56px 0 0; }
.abschnitt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.abschnitt-kopf h2 { margin: 0; }
.leer { padding: 28px; text-align: center; color: var(--blass); border: 1px dashed var(--rand); border-radius: var(--r); }
.schmal { max-width: 480px; margin: 0 auto; }

/* Abzeichen */
.abzeichen { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; background: var(--glas2); color: var(--blass); white-space: nowrap; }
.abzeichen.live { background: rgba(255,46,77,.16); color: #ff6b81; }
.abzeichen.live::before, .punkt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: puls 1.8s infinite; }
.abzeichen.gruen { background: rgba(46,229,157,.13); color: var(--gruen); }
.abzeichen.gold { background: rgba(255,200,97,.14); color: var(--gold); }
.abzeichen.demo { background: rgba(139,92,246,.18); color: #b9a2ff; }
@keyframes puls { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.punkt { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--blass); }
.punkt.an { color: var(--gruen); }
.punkt.aus::before { animation: none; background: #6b6474; }

/* Startseite: Bühne */
.buehne { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; min-height: min(72vh, 640px); padding: 12px 0 8px; }
.buehne p.gross { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d9d2e0; max-width: 34em; }
.buehne .knoepfe { margin: 26px 0 30px; }
.zahlen { display: flex; gap: 28px; flex-wrap: wrap; }
.zahlen div { min-width: 92px; }
.zahlen b { display: block; font-size: 2rem; font-weight: 850; letter-spacing: -.03em; }
.zahlen span { color: var(--blass); font-size: .85rem; }
.buehne-bild { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.buehne-bild .glut { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(255,46,77,.5), rgba(255,138,61,.12) 45%, transparent 70%);
  filter: blur(18px); animation: atmen 5s ease-in-out infinite; }
.buehne-bild .wappen { position: absolute; left: 50%; top: 46%; width: 46%; transform: translate(-50%, -50%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: schweben 7s ease-in-out infinite; }
@keyframes atmen { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes schweben { 50% { transform: translate(-50%, -54%); } }
.faecher { position: absolute; left: 50%; bottom: 6%; width: 0; height: 0; }
.faecher .k { position: absolute; width: 92px; height: 138px; left: -46px; top: -138px; transform-origin: 50% 120%; border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0,0,0,.55); transition: transform .5s cubic-bezier(.2,.9,.3,1.25); animation: ausfaechern 1.1s cubic-bezier(.2,.9,.3,1.2) both; }
.faecher .k:nth-child(1) { --w: -28deg; --x: -54px; animation-delay: .1s; }
.faecher .k:nth-child(2) { --w: -14deg; --x: -27px; animation-delay: .18s; }
.faecher .k:nth-child(3) { --w: 0deg; --x: 0px; animation-delay: .26s; }
.faecher .k:nth-child(4) { --w: 14deg; --x: 27px; animation-delay: .34s; }
.faecher .k:nth-child(5) { --w: 28deg; --x: 54px; animation-delay: .42s; }
.faecher .k { transform: translateX(var(--x)) rotate(var(--w)); }
.buehne-bild:hover .faecher .k { transform: translateX(calc(var(--x) * 1.5)) rotate(calc(var(--w) * 1.3)) translateY(-8px); }
@keyframes ausfaechern { from { transform: translateY(60px) rotate(0) scale(.8); opacity: 0; } }
.farben { position: absolute; inset: 0; pointer-events: none; }
.farben span { position: absolute; font-size: 28px; color: rgba(255,255,255,.12); animation: steigen 9s ease-in-out infinite; }
.farben span:nth-child(odd) { color: rgba(255,46,77,.28); }
.farben span:nth-child(1) { left: 6%; top: 20%; } .farben span:nth-child(2) { left: 84%; top: 14%; animation-delay: -2s; font-size: 22px; }
.farben span:nth-child(3) { left: 90%; top: 62%; animation-delay: -4s; } .farben span:nth-child(4) { left: 4%; top: 70%; animation-delay: -6s; font-size: 20px; }
@keyframes steigen { 50% { transform: translateY(-18px) rotate(10deg); } }
@media (max-width: 900px) { .buehne { grid-template-columns: 1fr; min-height: 0; } .buehne-bild { max-width: 250px; order: -1; margin: -16px auto -10px; } .faecher .k { width: 64px; height: 96px; left: -32px; top: -96px; } }

/* Schritte und Vorteile */
.schritte { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; padding: 0; list-style: none; margin: 0; }
.schritte > li { counter-increment: s; position: relative; padding: 22px 20px 20px 74px; border-radius: var(--r); background: var(--glas); border: 1px solid var(--rand); }
.schritte > li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.2rem; background: var(--verlauf); color: #fff; box-shadow: 0 8px 22px rgba(255,46,77,.35); }
.schritte.klein > li { padding: 14px 14px 14px 58px; font-size: .95rem; }
.schritte.klein > li::before { width: 30px; height: 30px; font-size: .95rem; left: 14px; top: 13px; border-radius: 9px; }
.schritte b { display: block; margin-bottom: 4px; }
.vorteil { display: flex; gap: 14px; align-items: flex-start; }
.vorteil svg { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--glas2); color: var(--gold); }
.band { margin-top: 64px; padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: linear-gradient(120deg, rgba(255,46,77,.22), rgba(139,92,246,.18));
  border: 1px solid rgba(255,255,255,.14); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; }

/* Turnier- und Tischkarten */
.spiel-kopf { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.spiel-kopf h3 { margin: 0; }
.spiel-kopf h3 a { color: var(--text); }
.spiel-kopf h3 a::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.werte { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin: 12px 0; }
.werte div { background: rgba(0,0,0,.25); border-radius: 12px; padding: 8px 10px; }
.werte b { display: block; font-size: 1.05rem; }
.werte span { color: var(--blass); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.balken { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.balken i { display: block; height: 100%; border-radius: inherit; background: var(--verlauf); transition: width .8s; }
.preis { font-weight: 850; color: var(--gold); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 750; }
.gesichter { display: flex; align-items: center; margin: 12px 0 4px; }
.gesichter img, .gesichter i { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--grund2); margin-right: -8px; background: #241b2b; }
.gesichter i { border: 2px dashed rgba(255,255,255,.18); background: transparent; }
.gesichter span { margin-left: 16px; color: var(--blass); font-size: .85rem; }
.ort { display: flex; align-items: center; gap: 6px; color: var(--blass); font-size: .9rem; margin: 2px 0 0; }
.ort svg { width: 15px; height: 15px; flex: none; }
.karte .knoepfe, .karte a.ueber { position: relative; z-index: 1; }
.karte .knoepfe { margin-top: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.chips button, .chips a { display: inline-flex; border-radius: 99px; background: var(--glas); border: 1px solid var(--rand); color: var(--blass); box-shadow: none; padding: 7px 14px; font-weight: 650; font-size: .88rem; }
.chips button:hover, .chips a:hover { transform: none; color: var(--text); background: var(--glas2); }
.chips .an { background: var(--text) !important; color: var(--grund) !important; border-color: var(--text); }
.suche { flex: 1 1 220px; max-width: 320px; }

/* Formulare und Tabellen (auch für die Verwaltung) */
label { display: block; margin: 12px 0 4px; color: var(--blass); font-size: .9rem; }
label.haken { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 0 0; color: var(--text); }
input, select, textarea { font: inherit; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--rand); border-radius: 12px;
  padding: 9px 12px; max-width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(255,46,77,.6); box-shadow: 0 0 0 3px rgba(255,46,77,.18); }
input[type=checkbox] { accent-color: var(--rot); width: 18px; height: 18px; }
form.karte input:not([type=checkbox]):not([type=hidden]), form.karte select { width: 100%; }
form.zeile { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: middle; }
th { color: var(--blass); font-weight: 600; font-size: .85rem; }
.tabelle { overflow-x: auto; }
.meldung { border-left: 4px solid var(--gold); padding: 10px 14px; background: rgba(255,200,97,.08); border-radius: 0 12px 12px 0; margin: 14px 0; }
.fehler { border-left-color: var(--rot); background: rgba(255,46,77,.08); }
b.fehler { color: #ff6b81; background: none; }
.code { font: 1.6em/1 ui-monospace, monospace; letter-spacing: .2em; color: var(--gold); }
code { font-family: ui-monospace, monospace; font-size: .88em; word-break: break-all; }

/* Spielkarten aus der Karten-Textur: 9 × 6 Felder à 113 × 170 in 1024 × 1024 */
.k { width: 56px; height: 84px; flex: none; background: url(/grafik/karten.webp) no-repeat; background-size: 906.2% 602.35%; border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.board { display: flex; gap: 6px; justify-content: center; }
.board.links { justify-content: flex-start; flex-wrap: wrap; }

/* Live: Kopfwerte */
.livekopf { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 18px; }
.wert { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--rand); border-radius: 16px; padding: 14px 16px; }
.wert span { display: block; color: var(--blass); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.wert b { display: block; font-size: 1.55rem; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 2px 0 6px; }
.wert small { color: var(--blass); }
.tischwahl { position: sticky; top: 62px; z-index: 5; padding: 8px 0; margin: 0 0 6px; background: linear-gradient(var(--grund) 70%, transparent); }
.tische { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 540px), 1fr)); gap: 22px; }
.tische.einer { grid-template-columns: minmax(0, 860px); justify-content: center; }

.fair { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 700;
  background: rgba(46,229,157,.1); color: var(--gruen); border: 1px solid rgba(46,229,157,.25); }
.fair.alarm { background: rgba(255,46,77,.14); color: #ff6b81; border-color: rgba(255,46,77,.4); }
.fair:hover { color: #fff; }

/* Live: der Tisch von oben */
.tisch { position: relative; background: var(--glas); border: 1px solid var(--rand); border-radius: 24px; padding: 14px 14px 10px; animation: rein .5s both; }
.tisch-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 4px 4px; }
.tisch-kopf h3 { margin: 0; }
.oval { position: relative; aspect-ratio: 16 / 10.5; margin: 54px 46px 64px; }
.filz { position: absolute; inset: 0; border-radius: 999px; background:
  radial-gradient(ellipse at 50% 42%, rgba(255,255,255,.10), transparent 55%),
  url(/grafik/wappen.webp) center / 26% no-repeat,
  radial-gradient(ellipse at center, #8a1426 0%, #5a0c18 55%, #2a050c 100%);
  box-shadow: 0 0 0 10px #241612, 0 0 0 12px #4a2e1f, 0 0 0 13px rgba(255,200,97,.25), inset 0 0 50px rgba(0,0,0,.7), 0 30px 60px rgba(0,0,0,.6); }
.mitte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 74%; }
.pot { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 99px; background: rgba(0,0,0,.45); color: var(--gold); font-weight: 800; font-size: .92rem; font-variant-numeric: tabular-nums; }
.pot::before, .einsatz::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, var(--rot) 24% 62%, #fff 64% 70%, var(--rot) 72%); }
.mitte .board .k, .mitte .board i { width: 46px; height: 69px; }
.mitte .board i { border-radius: 5px; border: 1px dashed rgba(255,255,255,.18); }
.mitte .hinweis { font-size: .74rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; }
.k.neu { animation: aufdecken .55s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes aufdecken { from { transform: perspective(400px) rotateY(90deg) translateY(-14px); opacity: 0; } }
@keyframes rein { from { opacity: 0; transform: translateY(14px); } }

.platz { position: absolute; width: 96px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .3s, filter .3s; }
.platz .bild { position: relative; width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: #2a1f30; box-shadow: 0 6px 18px rgba(0,0,0,.55); }
.platz .bild img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #1a1220; }
.platz .bild::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; padding: 3px; opacity: 0; transition: opacity .3s;
  background: conic-gradient(var(--gold) calc(var(--p, 1) * 1turn), rgba(255,255,255,.12) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.platz.dran .bild::after { opacity: 1; }
.platz.dran .bild { box-shadow: 0 0 24px rgba(255,200,97,.55), 0 6px 18px rgba(0,0,0,.55); }
.platz .name { margin-top: 5px; max-width: 100%; font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(0,0,0,.6); padding: 1px 8px; border-radius: 99px; }
.platz .stapel { font-size: .76rem; color: var(--gold); font-weight: 750; font-variant-numeric: tabular-nums; }
.platz .marke-klein { position: absolute; top: -8px; right: 4px; font-size: .62rem; font-weight: 900; letter-spacing: .06em; padding: 1px 6px; border-radius: 99px; background: var(--rot); color: #fff; }
.platz.weg .marke-klein { background: #6b6474; }
.platz.f { opacity: .45; filter: grayscale(.8); }
.platz.w { opacity: .8; }
.platz .hand { position: absolute; top: -14px; left: 50%; display: flex; transform: translateX(-50%); }
.platz .hand .k { width: 26px; height: 39px; border-radius: 3px; margin: 0 -3px; }
.platz .hand .k:first-child { transform: rotate(-8deg); } .platz .hand .k:last-child { transform: rotate(8deg); }
.platz .hand.offen .k { width: 34px; height: 51px; }
.platz .hand.offen { top: -30px; }
.einsatz { position: absolute; transform: translate(-50%, -50%); display: inline-flex; gap: 4px; align-items: center; font-size: .72rem; font-weight: 800;
  color: #fff; background: rgba(0,0,0,.5); padding: 2px 7px 2px 3px; border-radius: 99px; font-variant-numeric: tabular-nums; animation: rein .3s both; }
.button-d { position: absolute; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #111;
  font: 900 12px/22px var(--schrift); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.6); transition: left .6s, top .6s; }
.tisch-fuss { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .76rem; color: var(--blass); margin: 0 6px; }
@media (max-width: 600px) {
  .oval { aspect-ratio: 3 / 4; margin: 50px 42px 58px; }
  .tischwahl { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .tischwahl button { flex: none; }
  .platz { width: 74px; } .platz .bild { width: 44px; height: 44px; }
  .platz .name { font-size: .7rem; padding: 1px 6px; } .platz .stapel { font-size: .7rem; }
  .mitte .board { gap: 3px; } .mitte .board .k, .mitte .board i { width: 34px; height: 51px; }
  .platz .hand .k { width: 20px; height: 30px; } .platz .hand.offen .k { width: 26px; height: 39px; }
}

/* Anleitung: Schritte mit Bild, nachgebaute SL-Dialoge, rote Nummern am Ziel */
.anleitung-schritt { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.anleitung-schritt h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.schritt-nr { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--verlauf); font-weight: 900; font-size: 1.2rem;
  box-shadow: 0 8px 22px rgba(255,46,77,.35); }
.vorschau { pointer-events: none; }
.vorschau img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rand); display: block; }
@media (max-width: 760px) { .anleitung-schritt { grid-template-columns: 1fr; gap: 14px; } }
.sl-dialog { max-width: 360px; background: linear-gradient(#2f3640, #232931); border: 1px solid #56606d; border-radius: 6px; padding: 12px 14px;
  font: 14px/1.45 var(--schrift); color: #e8e8e8; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.sl-dialog .sl-von { font-weight: 700; color: #b9d6ff; margin-bottom: 4px; }
.sl-dialog p { margin: 0 0 12px; }
.sl-knoepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sl-knopf { position: relative; background: linear-gradient(#56616f, #3d4652); border: 1px solid #6b7684; border-radius: 3px; padding: 6px 4px; text-align: center; font-size: .85rem; }
.sl-feld { display: block; margin-top: 8px; background: #111; border: 1px solid #56606d; padding: 5px 8px; font-family: ui-monospace, monospace; }
.sl-chat { position: relative; max-width: 420px; background: rgba(0,0,0,.6); border-radius: 6px; padding: 9px 12px; font: 14px/1.45 var(--schrift); color: #a7f0b0; }
.sl-chat b { color: #d8ffde; }
.ziel { position: relative; z-index: 2; outline: 3px solid var(--rot); outline-offset: 3px; }
.ziel::after { content: attr(data-nr); position: absolute; top: -18px; right: -18px; width: 30px; height: 30px; border-radius: 50%; background: var(--rot); color: #fff;
  font: 800 .9rem/30px var(--schrift); text-align: center; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.5); animation: puls-ziel 1.6s ease-in-out infinite; }
@keyframes puls-ziel { 50% { transform: scale(1.15); } }
.bild-karte { margin: 0; }
.bild-karte img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rand); display: block; transition: transform .25s; }
.bild-karte a:hover img { transform: scale(1.02); }
.bild-karte figcaption { margin-top: 8px; color: var(--blass); font-weight: 650; }
.gitter.bilder { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

/* Spielen im Browser */
.spielfeld { background: radial-gradient(ellipse at center, #8a1426 0%, #5a0c18 60%, #2a050c 100%); border-radius: 26px; padding: 18px 14px 20px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.6), 0 0 0 6px #241612, 0 0 0 7px rgba(255,200,97,.25); margin: 14px 0 18px; text-align: center; }
.spielfeld .hinweis { font-size: .74rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.board.gross .k, .board.gross i { width: 58px; height: 87px; }
.board.gross i { border-radius: 6px; border: 1px dashed rgba(255,255,255,.2); }
.meine { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.meine .board.gross .k, .meine .board.gross i { width: 76px; height: 114px; }
.stapelgross { display: block; font-size: 1.6rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.mitspieler { display: grid; gap: 6px; margin-bottom: 140px; }
.mitspieler-zeile { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 12px; background: var(--glas); border: 1px solid transparent; }
.mitspieler-zeile img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.mitspieler-zeile .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mitspieler-zeile.dran { border-color: var(--gold); box-shadow: 0 0 14px rgba(255,200,97,.3); }
.mitspieler-zeile.ich { background: rgba(255,46,77,.12); }
.mitspieler-zeile.f { opacity: .5; }
.zugleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(10,6,12,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--rand); text-align: center; }
.zugleiste > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.zugleiste p { margin: 6px auto; }
.zugleiste .balken { margin-bottom: 10px; }
.zugleiste.an { border-top-color: var(--gold); box-shadow: 0 -10px 40px rgba(255,200,97,.15); }
.dran-text { font-weight: 850; color: var(--gold); animation: puls-text 1.2s ease-in-out infinite; }
@keyframes puls-text { 50% { opacity: .55; } }
.zugknoepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.zugknoepfe button { padding: 14px 8px; font-size: 1rem; }
button.gold { background: linear-gradient(120deg, #ffe29a, #e8a33a); color: #1a0f05; box-shadow: 0 8px 24px rgba(255,200,97,.3); }
.zugleiste input[type=range] { width: 100%; accent-color: var(--rot); margin: 0 auto 8px; display: block; }
.zugleiste .chips { justify-content: center; margin: 0; }

/* Rangliste */
.rang { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.rang .platzziffer { font-weight: 900; font-size: 1.05rem; text-align: center; border-radius: 10px; padding: 4px 0; background: var(--glas2); }
.rang:nth-child(-n+3) .platzziffer { color: #1a1206; }
.rang:nth-child(1) .platzziffer { background: linear-gradient(135deg, #ffe08a, #f0a83a); }
.rang:nth-child(2) .platzziffer { background: linear-gradient(135deg, #f1f1f6, #a9aab8); }
.rang:nth-child(3) .platzziffer { background: linear-gradient(135deg, #f4b98a, #b06b38); }

/* Erscheinen beim Scrollen (nur mit JavaScript, sonst sofort sichtbar) */
.js .zeigen { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s cubic-bezier(.2,.9,.3,1); }
.js .zeigen.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .zeigen { opacity: 1; transform: none; }
}
