/* bpannen.de – Unterseiten (Games, Links, Rechner, Dateien, Login, Konto, Impressum …) */
:root {
  --bg: #04060f; --card: rgba(var(--card-rgb), .72); --card-2: rgba(var(--tief-rgb), .85); --line: rgba(var(--indigo-rgb), .22);
  --text: #eef3ff; --muted: #9aa6c7;
  --cyan: #18d5fe; --blue: #0080f6; --violet: #8277fe; --magenta: #c94dff; --pink: #fdabfd;
  --ok: #34d399; --warn: #fbbf24; --bad: #fd5c78;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 35%, var(--violet) 70%, var(--magenta));
  --ease: cubic-bezier(.22, .61, .36, 1);
  --cyan-rgb: 24, 213, 254; --blue-rgb: 0, 128, 246; --indigo-rgb: 102, 113, 251; --violet-rgb: 130, 119, 254; --magenta-rgb: 201, 77, 255; --pink-rgb: 253, 171, 253; --bg-rgb: 4, 6, 15; --card-rgb: 16, 22, 48; --tief-rgb: 10, 13, 32;
  --indigo: #6671fb;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }   /* nichts darf die Seite am Handy seitlich verschiebbar machen */
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--text);
  background:
    radial-gradient(1100px 650px at 50% -10%, rgba(var(--blue-rgb), .16), transparent 60%),
    radial-gradient(900px 600px at 90% 110%, rgba(var(--magenta-rgb), .13), transparent 60%),
    radial-gradient(800px 500px at 5% 110%, rgba(var(--cyan-rgb), .09), transparent 60%),
    var(--bg);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--indigo-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--indigo-rgb), .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 70%);
}
a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
code { background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* Kopf- und Fußzeile */
.kopf { width: min(100% - 32px, 1060px); margin: 0 auto; padding: max(16px, calc(env(safe-area-inset-top) + 8px)) 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kopf__marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: .02em; font-size: 1.1rem; }
.kopf__marke img { border-radius: 10px; box-shadow: 0 0 18px rgba(var(--blue-rgb), .35); }
.kopf__marke span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kopf__nav { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px; text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 600; background: rgba(var(--card-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; max-width: 60vw; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip:hover, .chip--an { color: var(--text); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .55); }
.hinweis-band { width: min(100% - 32px, 1060px); margin: 0 auto 10px; padding: 9px 14px; border-radius: 12px; font-size: .92rem; background: rgba(251, 191, 36, .1); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4); color: #fde68a; }
.hinweis-band a { color: #fff; }
.seite { flex: 1; width: min(100% - 32px, 1060px); margin: 0 auto; padding: 18px 0 48px; }
.seite--schmal { width: min(100% - 32px, 460px); }
.seite--mittel { width: min(100% - 32px, 760px); }
.fuss { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 22px 16px 26px; font-size: .84rem; color: rgba(154, 166, 199, .75); }
.fuss a { color: inherit; text-decoration: none; }
.fuss a:hover { color: var(--text); }

/* Überschriften */
.titel { margin: 6px 0 4px; font-size: clamp(1.9rem, 6vw, 2.7rem); line-height: 1.15; letter-spacing: .01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.unterzeile { color: var(--muted); margin: 0 0 24px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
.leise { color: var(--muted); }
.klein { font-size: .86rem; }

/* Karten */
.karte { position: relative; background: var(--card); border-radius: 18px; padding: 22px; margin-bottom: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.karte--mitte { text-align: center; padding: 40px 22px; }
.gross-icon { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 18px; color: var(--cyan); background: rgba(var(--cyan-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35), 0 0 30px rgba(var(--cyan-rgb), .2); }
.gross-icon svg { width: 32px; height: 32px; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
a.kachel { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; text-decoration: none; color: var(--text); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.kachel:hover, a.kachel:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .55), 0 16px 44px rgba(var(--blue-rgb), .22); }
.kachel__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--cyan); background: rgba(var(--cyan-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .3); margin-bottom: 4px; }
.kachel__icon svg { width: 24px; height: 24px; }
.kachel b { font-size: 1.15rem; }
.kachel span { color: var(--muted); font-size: .92rem; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: .95rem; font-weight: 600; padding: 11px 18px; border-radius: 12px; cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; touch-action: manipulation; }
.knopf:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .1); }
.knopf:disabled { opacity: .5; cursor: default; transform: none; }
.knopf--haupt { border: 0; background: var(--grad); color: #050816; box-shadow: 0 8px 26px rgba(var(--blue-rgb), .35); }
.knopf--haupt:hover { background: var(--grad); box-shadow: 0 10px 32px rgba(var(--violet-rgb), .5); }
.knopf--gefahr { color: #ff9fb2; border-color: rgba(253, 92, 120, .45); }
.knopf--klein { padding: 7px 12px; font-size: .86rem; border-radius: 10px; }
.knopf svg { width: 18px; height: 18px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.knopfreihe form { margin: 0; }

/* Formulare */
.formular { display: grid; gap: 14px; }
.feld { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.feld small { font-weight: 400; }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
input[type=text], input[type=password], input[type=number], input[type=url], input[type=email], input[type=tel], input[type=search], input[type=datetime-local], input[type=date], input[type=time], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 11px 13px; border-radius: 11px;
  background: rgba(var(--bg-rgb), .65); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: #0b1024; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .18); }
input[type=file] { font: inherit; font-size: .92rem; color: var(--text); max-width: 100%; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: .95rem; cursor: pointer; }
.haken input { margin-top: 4px; accent-color: var(--cyan); width: 18px; height: 18px; }
.umschalter { display: inline-flex; padding: 4px; gap: 4px; border-radius: 13px; background: rgba(var(--bg-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.umschalter label { cursor: pointer; }
.umschalter input { position: absolute; opacity: 0; pointer-events: none; }
.umschalter span { display: block; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: background .2s, color .2s; }
.umschalter input:checked + span { background: var(--grad); color: #050816; }
.umschalter input:focus-visible + span { outline: 2px solid var(--cyan); }

/* Meldungen */
.meldung { border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.meldung--ok { background: rgba(var(--cyan-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35); }
.meldung--fehler { background: rgba(253, 92, 120, .1); box-shadow: inset 0 0 0 1px rgba(253, 92, 120, .4); color: #ffd3dc; }
.meldung--warn { background: rgba(251, 191, 36, .08); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4); color: #fde68a; }
.geheim { display: inline-block; margin: 6px 0; padding: 6px 12px; font-size: 1.1rem; font-weight: 700; letter-spacing: .03em; color: var(--cyan); user-select: all; overflow-wrap: anywhere; }

/* Tabellen und Listen */
.tabelle { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.tabelle th, .tabelle td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabelle th { color: var(--muted); font-weight: 600; font-size: .82rem; }
.tabelle tr:last-child td { border-bottom: 0; }
.scrollbar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.marke { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--muted); white-space: nowrap; }
.marke--ok { color: #6ee7b7; background: rgba(52, 211, 153, .12); }
.marke--warn { color: #fde68a; background: rgba(251, 191, 36, .12); }

/* Bestenliste (Games) */
.bestenliste { list-style: none; margin: 0; padding: 0; counter-reset: platz; }
.bestenliste li { counter-increment: platz; display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.bestenliste li:first-child { border-top: 0; }
.bestenliste li::before { content: counter(platz); width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .06); }
.bestenliste li:nth-child(1)::before { color: #050816; background: linear-gradient(135deg, #fde68a, #fbbf24); }
.bestenliste li:nth-child(2)::before { color: #050816; background: linear-gradient(135deg, #e5e7eb, #9ca3af); }
.bestenliste li:nth-child(3)::before { color: #050816; background: linear-gradient(135deg, #fdba74, #c2410c); }
.bestenliste b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bestenliste .ich b { color: var(--cyan); }
.bestenliste__leer { color: var(--muted); font-size: .92rem; }

/* Spiele */
.spiel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.spiel__feld { display: grid; justify-items: center; gap: 14px; }
.spiel__leiste { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }
.wert { min-width: 92px; padding: 8px 14px; border-radius: 12px; text-align: center; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.wert small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wert b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.spiel__seite { display: grid; gap: 16px; }
.spiel__seite .karte { margin: 0; padding: 18px; }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 20px; border-radius: inherit; background: rgba(var(--bg-rgb), .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.overlay[hidden] { display: none; }
.overlay h2 { font-size: 1.6rem; margin: 0; }
.tasten { display: grid; grid-template-columns: repeat(3, 60px); grid-template-rows: repeat(2, 54px); gap: 8px; justify-content: center; }
.tasten button { font: inherit; font-size: 1.3rem; color: var(--text); border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); cursor: pointer; touch-action: manipulation; }
.tasten button:active { background: rgba(var(--cyan-rgb), .2); }
.tasten [data-dir="hoch"] { grid-column: 2; }
.tasten [data-dir="links"] { grid-column: 1; grid-row: 2; }
.tasten [data-dir="runter"] { grid-column: 2; grid-row: 2; }
.tasten [data-dir="rechts"] { grid-column: 3; grid-row: 2; }
@media (max-width: 820px) { .spiel { grid-template-columns: 1fr; } }
@media (hover: hover) and (pointer: fine) { .nur-touch { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Anmeldung und Konto */
.anmeldung { text-align: center; padding-top: 4vh; }
.anmeldung .titel { margin-inline: auto; }
.anmeldung .karte, .anmeldung .meldung { text-align: left; }
.anmeldung .knopf--haupt { padding: 13px; font-size: 1rem; }
.pw { position: relative; display: block; }
.pw input { padding-right: 46px; }
.pw__zeigen { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 1rem; }
.pw__zeigen:hover { background: rgba(255, 255, 255, .08); }
.recht .karte p, .recht .karte ul { margin: 0 0 12px; line-height: 1.65; }
.recht .karte p:last-child, .recht .karte ul:last-child { margin-bottom: 0; }
.recht .karte h2 + p { margin-top: 0; }
.recht .karte h2:not(:first-child) { margin-top: 18px; }

/* Leitungsrechner */
.rechner__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rechner__ergebnis { position: sticky; top: 16px; }
.ergebnis__haupt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ergebnis__haupt div { padding: 14px; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35); text-align: center; }
.ergebnis__haupt small { display: block; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ergebnis__haupt b { font-size: clamp(1.5rem, 5vw, 2rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ergebnis__liste { margin: 0; display: grid; gap: 2px; }
.ergebnis__liste div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.ergebnis__liste dt { color: var(--muted); font-size: .9rem; }
.ergebnis__liste dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ergebnis .meldung { margin: 12px 0 0; }
#tabelle tr.gewaehlt td { color: var(--cyan); font-weight: 700; background: rgba(var(--cyan-rgb), .06); }
@media (max-width: 820px) { .rechner__grid { grid-template-columns: 1fr; } .rechner__ergebnis { position: static; } }

/* Linksammlung */
.suche { display: block; max-width: 420px; margin-bottom: 22px; }
.linkgruppe { margin-bottom: 26px; }
.linkgruppe[hidden], .linkkachel[hidden] { display: none; }
.linkkachel__kopf { display: flex; align-items: center; gap: 12px; color: var(--text) !important; font-size: 1rem !important; }
.linkkachel__buchstabe { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; font-weight: 800; color: #050816 !important; background: var(--grad); }
.linkkachel small { color: var(--cyan); font-size: .8rem; margin-top: auto; overflow-wrap: anywhere; }

/* Datei-Abholung */
.kopierzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.datei-info { display: grid; gap: 4px; overflow-wrap: anywhere; }
.datei-info b { font-size: 1.1rem; }
.datei-notiz { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }

/* Spielseiten */
.zurueck { display: inline-block; color: var(--muted); text-decoration: none; font-size: .92rem; margin-bottom: 4px; }
.zurueck:hover { color: var(--text); }
.regeln { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.regeln p { margin: 0 0 8px; }
.regeln kbd { font: inherit; font-size: .8rem; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, .1); color: var(--text); }
.spiel__brett { position: relative; border-radius: 18px; }
.modi { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.status { min-height: 1.6em; text-align: center; font-weight: 600; }
.snake canvas { display: block; width: min(92vw, 440px); height: auto; aspect-ratio: 1; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 0 40px rgba(var(--blue-rgb), .18); touch-action: none; }
.z2048 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; width: min(92vw, 440px); aspect-ratio: 1; background: rgba(var(--tief-rgb), .9); box-shadow: inset 0 0 0 1px var(--line), 0 0 40px rgba(var(--blue-rgb), .15); touch-action: none; user-select: none; }
.z2048__zelle { display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .04); font-weight: 800; font-size: clamp(1.4rem, 7vw, 2.3rem); font-variant-numeric: tabular-nums; color: #050816; }
.z2048__zelle.lang { font-size: clamp(1.05rem, 5vw, 1.7rem); }
.z2048__zelle.w2 { background: #bfe9ff; } .z2048__zelle.w4 { background: #8fdcff; }
.z2048__zelle.w8 { background: var(--cyan); } .z2048__zelle.w16 { background: #3aa4ff; }
.z2048__zelle.w32 { background: var(--blue); color: #fff; } .z2048__zelle.w64 { background: var(--indigo); color: #fff; }
.z2048__zelle.w128 { background: var(--violet); color: #fff; box-shadow: 0 0 18px rgba(var(--violet-rgb), .5); }
.z2048__zelle.w256 { background: #a35cff; color: #fff; box-shadow: 0 0 20px rgba(163, 92, 255, .55); }
.z2048__zelle.w512 { background: var(--magenta); color: #fff; box-shadow: 0 0 22px rgba(var(--magenta-rgb), .6); }
.z2048__zelle.w1024 { background: #e85bf0; color: #fff; box-shadow: 0 0 26px rgba(232, 91, 240, .6); }
.z2048__zelle.w2048, .z2048__zelle.w4096 { background: linear-gradient(135deg, var(--pink), #fde68a); box-shadow: 0 0 32px rgba(var(--pink-rgb), .8); }
.z2048__zelle.neu { animation: neu .2s var(--ease); }
.z2048__zelle.plopp { animation: plopp .2s var(--ease); }
@keyframes neu { from { transform: scale(.4); opacity: 0; } }
@keyframes plopp { 50% { transform: scale(1.12); } }
.memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(92vw, 440px); aspect-ratio: 1; }
.karte-m { position: relative; border: 0; padding: 0; background: none; cursor: pointer; perspective: 600px; border-radius: 14px; }
.karte-m span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .35s var(--ease); }
.karte-m__vorne { background: linear-gradient(135deg, rgba(var(--cyan-rgb), .25), rgba(var(--magenta-rgb), .25)), #0b1024; box-shadow: inset 0 0 0 1px var(--line); }
.karte-m__vorne::after { content: "bp"; font-weight: 800; color: rgba(238, 243, 255, .25); font-size: 1.2rem; }
.karte-m__hinten { transform: rotateY(180deg); background: #111836; box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .5); font-size: clamp(1.6rem, 8vw, 2.6rem); }
.karte-m.auf .karte-m__vorne, .karte-m.weg .karte-m__vorne { transform: rotateY(180deg); }
.karte-m.auf .karte-m__hinten, .karte-m.weg .karte-m__hinten { transform: rotateY(0); }
.karte-m.weg .karte-m__hinten { box-shadow: inset 0 0 0 2px var(--ok), 0 0 18px rgba(52, 211, 153, .35); opacity: .75; }
.quiz { width: min(100%, 560px); margin: 0; min-height: 360px; }
.quiz__start { text-align: center; display: grid; justify-items: center; gap: 6px; padding: 18px 0; }
.quiz__zeit { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 18px; }
.quiz__zeit i { display: block; height: 100%; width: 100%; background: var(--grad); transition: width .1s linear; }
.quiz__frage { font-size: 1.3rem; line-height: 1.35; margin-bottom: 18px; }
.quiz__antworten { display: grid; gap: 10px; }
.quiz__antwort { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--text); padding: 13px 14px; border-radius: 13px; cursor: pointer; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.quiz__antwort:hover:not(:disabled) { background: rgba(var(--cyan-rgb), .1); border-color: rgba(var(--cyan-rgb), .5); }
.quiz__antwort kbd { font: inherit; font-size: .8rem; font-weight: 700; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.quiz__antwort.richtig { background: rgba(52, 211, 153, .16); border-color: var(--ok); }
.quiz__antwort.falsch { background: rgba(253, 92, 120, .16); border-color: var(--bad); }
.quiz__antwort:disabled { cursor: default; }
.woertel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; width: min(84vw, 330px); }
.wt { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: clamp(1.4rem, 7vw, 1.9rem); font-weight: 800; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 2px rgba(var(--indigo-rgb), .25); text-transform: uppercase; }
.wt.voll { box-shadow: inset 0 0 0 2px rgba(238, 243, 255, .55); animation: plopp .12s; }
.wt.r, .taste.r, .wt-mini.r { background: #10b981; box-shadow: 0 0 16px rgba(16, 185, 129, .4); color: #fff; }
.wt.v, .taste.v, .wt-mini.v { background: #d97706; box-shadow: 0 0 14px rgba(217, 119, 6, .35); color: #fff; }
.wt.n, .taste.n, .wt-mini.n { background: #242a44; box-shadow: none; color: #8d96b8; }
.wt.wackel { animation: wackel .35s; }
@keyframes wackel { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.wt-mini { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; font-weight: 800; font-size: .8rem; margin-right: 6px; vertical-align: middle; }
.tastatur { display: grid; gap: 7px; width: min(100%, 500px); user-select: none; }
.tastatur__reihe { display: flex; gap: 5px; justify-content: center; }
.taste { flex: 1 1 0; min-width: 0; max-width: 44px; height: 52px; border: 0; border-radius: 8px; font: inherit; font-weight: 700; font-size: 1rem; color: var(--text); background: rgba(255, 255, 255, .1); cursor: pointer; touch-action: manipulation; }
.taste--breit { max-width: 72px; flex-grow: 1.6; font-size: .8rem; }
.taste:active { transform: scale(.95); }
.duell { width: min(100%, 440px); margin: 0; padding: 16px; }
.duell code { display: block; text-align: center; }
.wert--s1 b { color: var(--cyan); } .wert--s2 b { color: var(--pink); }
.ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(86vw, 360px); aspect-ratio: 1; }
.ttt__feld { border: 0; border-radius: 16px; background: rgba(var(--card-rgb), .8); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: clamp(2.6rem, 14vw, 4.4rem); font-weight: 700; cursor: pointer; color: var(--text); transition: background .2s, box-shadow .2s; }
.ttt__feld:not(:disabled):hover { background: rgba(var(--cyan-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .5); }
.ttt__feld:disabled { cursor: default; }
.ttt__feld.s1 { color: var(--cyan); text-shadow: 0 0 18px rgba(var(--cyan-rgb), .7); }
.ttt__feld.s2 { color: var(--pink); text-shadow: 0 0 18px rgba(var(--pink-rgb), .7); }
.ttt__feld.sieg { background: rgba(52, 211, 153, .14); box-shadow: inset 0 0 0 2px var(--ok); }
.vier { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 10px; width: min(94vw, 470px); background: linear-gradient(160deg, #0d1640, #0a0f2a); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35), 0 0 40px rgba(var(--blue-rgb), .2); }
.vier__feld { aspect-ratio: 1; border-radius: 50%; background: #04060f; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .6); }
.vier.aktiv .vier__feld { cursor: pointer; }
.vier__feld.hover:not(.s1):not(.s2) { background: rgba(var(--cyan-rgb), .12); }
.vier__feld.s1 { background: radial-gradient(circle at 35% 30%, #a7f3ff, var(--cyan) 45%, var(--blue)); box-shadow: 0 0 14px rgba(var(--cyan-rgb), .6); }
.vier__feld.s2 { background: radial-gradient(circle at 35% 30%, #ffe1ff, var(--pink) 45%, var(--magenta)); box-shadow: 0 0 14px rgba(var(--pink-rgb), .6); }
.vier__feld.sieg { outline: 3px solid #fff; outline-offset: -3px; animation: plopp .6s infinite; }
.vier__feld.faellt { animation: faellt .35s cubic-bezier(.3, 0, .6, 1); }
@keyframes faellt { from { transform: translateY(-260%); } }
.wert--s1 small, .wert--s2 small { white-space: nowrap; }
.kachel__icon--emoji { font-size: 1.5rem; }
.wert--s1 small { color: var(--cyan); } .wert--s2 small { color: var(--pink); }

/* Spielfelder: feste, gleich große Felder – Inhalt (✕, ◯, Zahlen) darf die Größe nie verändern */
.ttt { grid-template-rows: repeat(3, minmax(0, 1fr)); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.z2048, .memory { grid-template-rows: repeat(4, minmax(0, 1fr)); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ttt__feld, .z2048__zelle, .karte-m { width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; margin: 0; overflow: hidden; line-height: 1; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; }
.ttt__feld { display: grid; place-items: center; touch-action: manipulation; }
.ttt__feld:not(:disabled):hover { background: rgba(var(--card-rgb), .8); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) { .ttt__feld:not(:disabled):hover { background: rgba(var(--cyan-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .5); } }
.ttt__feld:focus { outline: none; }
.ttt__feld:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }
.chip--online { cursor: default; }
.chip--online:hover { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 420px) { .kopf__marke span { display: none; } }
.seite { padding-bottom: 96px; }
.kopf__nav { align-items: center; }
.duell code.geheim { font-size: .82rem; letter-spacing: 0; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Konto: App & Benachrichtigungen */
.app-zeile { padding: 10px 0; border-bottom: 1px solid var(--line); }
.app-zeile p { margin: 0 0 10px; }
.push-arten { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; margin: 14px 0 0; display: grid; gap: 8px; }
.push-arten legend { color: var(--muted); font-size: .85rem; padding: 0 6px; }

/* Elektro-Werkzeugkasten */
.werkzeug-nav { display: flex; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 14px; background: rgba(var(--card-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.werkzeug-nav::-webkit-scrollbar { display: none; }
.werkzeug-nav a { flex: none; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 10px; white-space: nowrap; }
.werkzeug-nav a:hover { color: var(--text); }
.werkzeug-nav a[aria-current="page"] { color: #050816; background: var(--grad); }
.werkzeug-hinweis { margin-top: 14px; }
.ampel { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; margin-bottom: 14px; font-weight: 700; }
.ampel--ok { background: rgba(52, 211, 153, .12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .5); color: #6ee7b7; }
.ampel--nein { background: rgba(253, 92, 120, .12); box-shadow: inset 0 0 0 1px rgba(253, 92, 120, .5); color: #ffb3c1; }
.ampel b { font-size: 1.6rem; }
/* Nachschlagen */
.widerstand { display: flex; align-items: center; justify-content: center; margin: 4px 0 18px; }
.widerstand__draht { width: 50px; height: 4px; background: #bfc3c7; }
.widerstand__koerper { display: flex; gap: 12px; align-items: stretch; height: 56px; padding: 0 22px; border-radius: 22px; background: linear-gradient(#e8d5b0, #c9ad7f); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .2); }
.widerstand__koerper i { width: 12px; }
.widerstand__koerper i.letzter { margin-left: 18px; }
.ader { display: inline-block; width: 28px; height: 10px; border-radius: 5px; margin-right: 10px; vertical-align: middle; }
.ader--pe { background: repeating-linear-gradient(90deg, #2e7d32 0 7px, #fbc02d 7px 14px); }
.ip-zeile { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.ip-zeile b { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: #050816; font-size: 1.1rem; }
/* Materialliste */
.material__tab input { width: 100%; padding: 7px 9px; font-size: 15px; border-radius: 8px; }
.material__tab td { vertical-align: middle; }
.material__tab tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
.nur-drucken { display: none; }
@media print {
  body { background: #fff !important; color: #000 !important; }
  body::before, .kopf, .fuss, .werkzeug-nav, .nicht-drucken, .chat-knopf, .chat, .hinweis-band, .unterzeile { display: none !important; }
  .seite { width: 100% !important; padding: 0 !important; }
  .titel { color: #000 !important; background: none !important; -webkit-text-fill-color: #000; }
  .karte { box-shadow: none !important; background: none !important; padding: 0 !important; }
  .material__tab input, .material__kopf input { display: none; }
  .nur-drucken { display: inline; }
  .material__kopf .feld { color: #000; }
  .material__kopf input { display: block !important; border: 0 !important; background: none !important; color: #000 !important; padding: 0 !important; }
  .tabelle th, .tabelle td { border-color: #999 !important; color: #000 !important; }
}
/* Minesweeper */
.minen-wrap { max-width: 100%; overflow-x: auto; }
.minen { display: grid; gap: 2px; padding: 6px; border-radius: 14px; background: rgba(var(--tief-rgb), .9); box-shadow: inset 0 0 0 1px var(--line); width: min(94vw, calc(var(--spalten) * 30px)); user-select: none; -webkit-user-select: none; }
.mz { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 4px; cursor: pointer; font: 800 clamp(.7rem, 2.4vw, 1rem)/1 -apple-system, "Segoe UI", sans-serif; color: var(--text); background: linear-gradient(145deg, #27305c, #1a2146); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.mz.offen { background: rgba(255, 255, 255, .04); cursor: default; }
.mz.mine { background: #7f1d2d; }
.mz[data-z="1"] { color: var(--cyan); } .mz[data-z="2"] { color: #34d399; } .mz[data-z="3"] { color: #fd6b8b; } .mz[data-z="4"] { color: #a78bfa; }
.mz[data-z="5"] { color: #fbbf24; } .mz[data-z="6"] { color: #2dd4bf; } .mz[data-z="7"] { color: #f472b6; } .mz[data-z="8"] { color: #e5e7eb; }
/* Kniffel */
.kn-wuerfel { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.wf { width: min(16vw, 66px); aspect-ratio: 1; border: 0; border-radius: 14px; padding: 0; font-size: min(13vw, 56px); line-height: 1; color: #050816; background: linear-gradient(145deg, #fff, #cfd8f5); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); cursor: pointer; -webkit-tap-highlight-color: transparent; display: grid; place-items: center; }
.wf.leer { color: #8d96b8; font-size: 1.6rem; font-weight: 800; }
.wf.gehalten { background: linear-gradient(145deg, var(--cyan), var(--violet)); box-shadow: 0 0 0 3px #fff, 0 0 22px rgba(var(--cyan-rgb), .6); transform: translateY(-4px); }
.wf.rollt { animation: rollt .35s var(--ease); }
@keyframes rollt { 30% { transform: rotate(-18deg) scale(.9); } 70% { transform: rotate(12deg); } }
.kniffel-block { width: min(100%, 420px); margin: 0; padding: 8px 14px; }
.kniffel-block td:last-child { text-align: right; font-weight: 700; width: 90px; }
.kb-frei { cursor: pointer; }
.kb-frei:hover td { background: rgba(var(--cyan-rgb), .08); }
.kb-vorschau { color: var(--muted); font-weight: 400; }
.kb-voll td { color: var(--text); }
.kb-voll td:first-child { color: var(--muted); }
.kb-summe td { font-weight: 800; color: var(--cyan); border-top: 2px solid var(--line); }
/* Blöcke */
.bloecke canvas { display: block; height: min(64vh, 600px); width: auto; aspect-ratio: 1 / 2; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), 0 0 40px rgba(var(--blue-rgb), .18); touch-action: none; }
.vorschau-wert canvas { display: block; margin: 4px auto 0; }
.bl-tasten { display: grid; grid-template-columns: repeat(5, 58px); gap: 8px; justify-content: center; }
.bl-tasten button { height: 54px; font: inherit; font-size: 1.3rem; color: var(--text); border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); touch-action: none; -webkit-tap-highlight-color: transparent; }
.bl-tasten button:active { background: rgba(var(--cyan-rgb), .2); }
/* Dame */
.dame-brett { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); width: min(94vw, 480px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 2px rgba(var(--cyan-rgb), .35), 0 0 40px rgba(var(--blue-rgb), .2); }
.dame-brett.gedreht { transform: rotate(180deg); }
.dz { width: 100%; height: 100%; padding: 0; margin: 0; border: 0; min-width: 0; min-height: 0; background: #d9def0; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.dz.dunkel { background: #1d2550; cursor: pointer; }
.dz.letzter { background: #2d3a78; }
.dz.kann .stein { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 4px 10px rgba(0, 0, 0, .5); }
.dz.gewaehlt { background: #0f5d8a; }
.dz.ziel::after { content: ""; width: 34%; height: 34%; border-radius: 50%; background: rgba(var(--cyan-rgb), .55); box-shadow: 0 0 14px rgba(var(--cyan-rgb), .8); }
.stein { width: 78%; height: 78%; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.stein.s1 { background: radial-gradient(circle at 35% 30%, #c9f6ff, var(--cyan) 50%, var(--blue)); }
.stein.s2 { background: radial-gradient(circle at 35% 30%, #ffe1ff, var(--pink) 50%, var(--magenta)); }
.stein.koenig::after { content: "♛"; color: #050816; font-size: clamp(.9rem, 4vw, 1.5rem); }
.dame-brett.gedreht .stein.koenig::after { display: inline-block; transform: rotate(180deg); }
/* Schiffe versenken */
.schiffe-wrap { display: grid; gap: 22px; justify-items: center; width: 100%; }
@media (min-width: 900px) { .schiffe-wrap:has(.meer--eigen) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .schiffe-wrap:has(.meer--eigen) .meer { width: 100%; max-width: 430px; } }
.meer { width: min(94vw, 430px); }
.meer h3 { margin: 0 0 8px; font-size: .95rem; color: var(--muted); text-align: center; }
.meer--gegner.aktiv h3 { color: #ff7a6b; text-shadow: 0 0 12px rgba(255, 90, 70, .6); }
.meer__rahmen { display: grid; grid-template-columns: 16px minmax(0, 1fr); grid-template-rows: 16px auto; gap: 3px; }
.meer__achse { display: grid; gap: 2px; font-size: .62rem; font-weight: 700; color: rgba(var(--cyan-rgb), .7); text-align: center; }
.meer__achse--oben { grid-template-columns: repeat(10, minmax(0, 1fr)); padding: 0 5px; align-items: end; }
.meer__achse--links { grid-template-rows: repeat(10, minmax(0, 1fr)); padding: 5px 0; align-items: center; }
/* Meer: Tiefenverlauf + sanft treibende Wellen */
.meer__gitter { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(10, minmax(0, 1fr)); gap: 2px; aspect-ratio: 1; padding: 5px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 80% at 25% 15%, #1d5bc0 0%, transparent 60%), radial-gradient(90% 70% at 85% 90%, #0d3a7a 0%, transparent 70%), linear-gradient(160deg, #0b2a6b, #071a45 60%, #03102c);
  box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35), inset 0 0 40px rgba(0, 0, 0, .5), 0 10px 30px rgba(0, 0, 0, .35); }
.meer__gitter::before { content: ""; position: absolute; inset: -40px; pointer-events: none; opacity: .55;
  background: repeating-radial-gradient(circle at 0 0, transparent 0 16px, rgba(150, 210, 255, .09) 17px 18px, transparent 19px 30px) 0 0 / 44px 44px;
  animation: sv-wellen 9s linear infinite; }
@keyframes sv-wellen { to { transform: translate(44px, 44px); } }
.meer__flotte { position: absolute; inset: 5px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(10, minmax(0, 1fr)); gap: 2px; pointer-events: none; z-index: 1; }
.mf { position: relative; z-index: 2; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 3px; background: transparent; display: grid; place-items: center;
  box-shadow: inset 0 0 0 .5px rgba(160, 210, 255, .14); -webkit-tap-highlight-color: transparent; }
.meer--setzen .mf { cursor: pointer; }
.meer--setzen .mf:hover { background: rgba(255, 255, 255, .05); }
/* Zielen: rotes Fadenkreuz */
.meer--gegner.aktiv .mf:not(:disabled) { cursor: crosshair; }
.meer--gegner.aktiv .mf:not(:disabled):hover { background: rgba(255, 70, 60, .16); box-shadow: inset 0 0 0 2px rgba(255, 90, 80, .85), 0 0 14px rgba(255, 70, 60, .5); }
.meer--gegner.aktiv .mf:not(:disabled):hover::after { content: ""; width: 60%; height: 60%; border-radius: 50%; border: 2px solid rgba(255, 120, 110, .9);
  background: linear-gradient(rgba(255, 120, 110, .9), rgba(255, 120, 110, .9)) center / 2px 100% no-repeat, linear-gradient(rgba(255, 120, 110, .9), rgba(255, 120, 110, .9)) center / 100% 2px no-repeat; }
.meer--gegner:not(.aktiv) .meer__gitter { filter: saturate(.85); }
/* Wasser (Fehlschuss): Boje + Spritzer */
.mf i { pointer-events: none; }
.mf.w i { width: 30%; height: 30%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #b9dcff 60%, #6fa8e8); box-shadow: 0 0 0 3px rgba(170, 215, 255, .22), 0 0 8px rgba(170, 215, 255, .5); }
.mf.w.neu i { animation: sv-platsch .7s ease-out both; }
@keyframes sv-platsch { 0% { transform: scale(.2); box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); } 60% { transform: scale(1.25); box-shadow: 0 0 0 14px rgba(170, 215, 255, 0); } 100% { transform: scale(1); } }
/* Treffer: Feuer */
.mf.t i { width: 86%; height: 86%; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 66%, #fffbe0 0 9%, #ffd23f 20%, #ff7a18 40%, rgba(255, 40, 0, .85) 56%, transparent 70%);
  filter: drop-shadow(0 0 6px rgba(255, 120, 0, .9)); animation: sv-feuer .45s ease-in-out infinite alternate; }
@keyframes sv-feuer { from { transform: scale(.9, .95) translateY(2%); filter: drop-shadow(0 0 5px rgba(255, 120, 0, .8)) brightness(1); } to { transform: scale(1.05, 1.12) translateY(-4%); filter: drop-shadow(0 0 10px rgba(255, 160, 0, 1)) brightness(1.2); } }
/* Versenkt: Glut und Rauch */
.mf.v i { width: 80%; height: 80%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #ff6a00 0 9%, #a8250a 26%, rgba(40, 36, 44, .9) 46%, rgba(40, 36, 44, .35) 62%, transparent 70%); animation: sv-glut 1.6s ease-in-out infinite alternate; }
@keyframes sv-glut { to { filter: brightness(1.35); transform: scale(1.06); } }
.mf.t.neu::before, .mf.v.neu::before { content: ""; position: absolute; inset: -60%; z-index: 3; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 245, 200, .95) 0 12%, rgba(255, 150, 30, .8) 30%, rgba(255, 60, 0, .45) 50%, transparent 70%); animation: sv-knall .65s ease-out forwards; }
@keyframes sv-knall { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
/* Schiffe (SVG) */
.sv-schiff { position: relative; padding: 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .55)); }
.sv-schiff svg { display: block; width: 100%; height: 100%; overflow: visible; }
.meer--eigen .sv-schiff:not(.versenkt) svg, .meer--setzen .sv-schiff:not(.geist) svg { animation: sv-schaukeln 4s ease-in-out infinite; }
@keyframes sv-schaukeln { 50% { transform: translateY(2%) rotate(.4deg); } }
.sv-rumpf { fill: url(#svRumpf); stroke: rgba(var(--cyan-rgb), .75); stroke-width: 3; }
.sv-deck { fill: url(#svDeck); stroke: rgba(0, 0, 0, .35); stroke-width: 2; }
.sv-turm { fill: url(#svTurm); stroke: #1b2338; stroke-width: 2.5; }
.sv-rohr { fill: #c7d2ea; stroke: #1b2338; stroke-width: 1; }
.sv-niet { fill: #1b2338; }
.sv-bruecke { fill: #8d9cc2; stroke: #1b2338; stroke-width: 2.5; }
.sv-fenster { fill: var(--cyan); filter: drop-shadow(0 0 3px var(--cyan)); }
.sv-schlot { fill: #1b2338; stroke: #6b7a9c; stroke-width: 3; }
.sv-piste { stroke: #f1f5ff; stroke-width: 3; stroke-dasharray: 16 11; opacity: .85; }
.sv-piste--schraeg { opacity: .35; stroke-dasharray: 10 8; }
.sv-jet { fill: #d6def2; stroke: #1b2338; stroke-width: 1.5; }
.sv-radar { fill: var(--cyan); }
.sv-uboot { fill: url(#svUboot); stroke: rgba(var(--cyan-rgb), .6); stroke-width: 3; }
.sv-flosse { fill: #2c3644; stroke: rgba(var(--cyan-rgb), .5); stroke-width: 2; }
.sv-naht { stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.sv-schiff.versenkt { filter: grayscale(.85) sepia(.55) brightness(.42) drop-shadow(0 0 6px rgba(255, 60, 0, .7)); }
.sv-schiff.enthuellt { opacity: .55; }
.sv-schiff.geist { opacity: .7; z-index: 2; }
.sv-schiff.geist.ok { filter: drop-shadow(0 0 7px #34d399) drop-shadow(0 0 2px #34d399); }
.sv-schiff.geist.nein { filter: sepia(1) saturate(5) hue-rotate(-50deg) drop-shadow(0 0 7px #ef4444); }
/* Werft: Schiffe zum Platzieren */
.werft { width: min(94vw, 430px); display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.werft__schiff { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; border: 0; border-radius: 13px; cursor: pointer; text-align: left; color: var(--text);
  background: rgba(var(--card-rgb), .8); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s, opacity .2s; font: inherit; }
.werft__schiff:hover { transform: translateY(-2px); }
.werft__schiff.an { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 18px rgba(var(--cyan-rgb), .4); background: rgba(var(--cyan-rgb), .1); }
.werft__schiff.gesetzt { opacity: .5; }
.werft__schiff.gesetzt.an { opacity: 1; }
.werft__bild { display: block; height: 22px; width: calc(var(--len) * 22px); max-width: 100%; }
.werft__bild svg { display: block; width: 100%; height: 100%; overflow: visible; }
.werft__text b { display: block; font-size: .86rem; }
.werft__text small { color: var(--muted); font-size: .75rem; }
.meer__knoepfe { justify-content: center; margin-top: 4px; }
html[data-ruhig] .meer__gitter::before, html[data-ruhig] .sv-schiff svg { animation: none !important; }
/* Spielräume */
.raum { margin: 0 0 16px; }
.raum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; align-items: start; }
.raum-haupt { min-width: 0; }
.raum-spieler { margin: 0; }
.raum-liste li.weg { opacity: .45; }
.raum-liste li span { color: var(--muted); }
@media (max-width: 820px) { .raum-layout { grid-template-columns: 1fr; } .raum-spieler { order: -1; } }
.countdown { font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown.knapp { color: var(--bad); }
/* Stadt-Land-Fluss */
.slf-kopf { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.slf-buchstabe { width: 84px; height: 84px; flex: none; display: grid; place-items: center; border-radius: 22px; font-size: 3rem; font-weight: 900; color: #050816; background: var(--grad); box-shadow: 0 0 30px rgba(var(--cyan-rgb), .45); }
.slf-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 14px; }
.slf-stopp { font-size: 1.1rem; padding: 13px 28px; }
.slf-tabelle th, .slf-tabelle td { white-space: nowrap; }
.slf-zelle small { display: block; color: var(--ok); font-weight: 700; }
.slf-zelle.gestrichen span { text-decoration: line-through; color: var(--muted); }
.slf-zelle.gestrichen small { color: var(--muted); }
.slf-zelle.streichbar { cursor: pointer; }
.slf-zelle.streichbar:hover { background: rgba(253, 92, 120, .08); }
.slf-summe td, .slf-summe th { font-weight: 800; color: var(--cyan); }
/* Montagsmaler */
.mm { margin: 0; }
.mm-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.mm-wort { font-size: 1.5rem; font-weight: 800; letter-spacing: .12em; }
.mm-buehne { display: grid; gap: 10px; }
.mm-flaeche { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 2px rgba(var(--cyan-rgb), .35); }
.mm-flaeche canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #fff; touch-action: none; }
.mm-flaeche canvas.malbar { cursor: crosshair; }
.mm-flaeche .overlay { border-radius: 0; }
.mm-loesung { font-size: 2.2rem !important; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-werkzeuge { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mm-farbe { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); cursor: pointer; color: #111; font-size: .8rem; }
.mm-farbe.an, .mm-dicke.an { box-shadow: 0 0 0 3px var(--cyan); }
.mm-dicke { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); display: grid; place-items: center; cursor: pointer; }
.mm-dicke i { border-radius: 50%; background: var(--text); }
.mm-raten { margin-top: 12px; display: grid; gap: 8px; }
.mm-feed { list-style: none; margin: 0; padding: 8px 10px; height: 150px; overflow-y: auto; border-radius: 12px; background: rgba(var(--bg-rgb), .5); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; }
.mm-feed li { padding: 2px 0; overflow-wrap: anywhere; }
.mm-feed .mmf-richtig { color: var(--ok); font-weight: 700; }
.mm-feed .mmf-info, .mm-feed .mmf-wort { color: var(--cyan); }
.mm-feed .mmf-wort { font-weight: 700; }
.mm-feed .mmf-chat { color: var(--muted); }
.mm-eingabe { display: flex; gap: 8px; }
.mm-eingabe input { flex: 1; }
/* Wochenturnier */
.turnier { box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .45), 0 18px 50px rgba(0, 0, 0, .35); }
.turnier__kopf { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.turnier__kopf h2 { margin: 2px 0 0; font-size: 1.4rem; }
.turnier__kopf .knopf { margin-left: auto; }
.turnier__pokal { font-size: 2.4rem; filter: drop-shadow(0 0 14px rgba(253, 230, 138, .6)); }
.turnier-band { margin: 8px 0 6px; padding: 9px 14px; border-radius: 12px; font-size: .92rem; background: rgba(253, 230, 138, .08); box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .4); color: #fde68a; }
.turnier-band a { color: #fff; }
/* Profile */
.avatar { border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(var(--cyan-rgb), .35); }
.avatar--initial { display: inline-grid; place-items: center; font-weight: 800; color: #050816; background: var(--f); }
.leute { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.leute__karte { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--text); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s; }
.leute__karte:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .5); }
.leute__karte span { display: grid; min-width: 0; }
.leute__karte small { color: var(--muted); }
.profil { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profil__text { flex: 1; min-width: 220px; }
.profil__text .titel { margin: 0; }
.profil__ueber { white-space: pre-wrap; }
.abzeichen { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.abzeichen__eins { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(253, 230, 138, .06); box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .3); }
.abzeichen__eins span { grid-row: span 2; font-size: 1.8rem; }
.abzeichen__eins small { color: var(--muted); font-size: .78rem; }
.profil-bild { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
/* Private Nachrichten */
.pn { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.pn__liste, .pn__verlauf, .pn__leer { margin: 0; }
.pn__gespraeche { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; max-height: 60vh; overflow-y: auto; }
.pn__gespraeche a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--text); }
.pn__gespraeche a:hover, .pn__gespraeche a.an { background: rgba(var(--cyan-rgb), .08); }
.pn__gespraeche span { display: grid; min-width: 0; flex: 1; }
.pn__gespraeche small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn__neu { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fd5c78; color: #fff; font: 700 .72rem/22px sans-serif; text-align: center; font-style: normal; }
.pn__kopf { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pn__nachrichten { height: 55vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 10px 0; }
.pn__nachrichten .chat__msg p { margin: 0; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .08); white-space: pre-wrap; overflow-wrap: anywhere; }
.pn__nachrichten .chat__msg { max-width: 80%; align-self: flex-start; }
.pn__nachrichten .chat__msg--ich { align-self: flex-end; text-align: right; }
.pn__nachrichten .chat__msg--ich p { border-radius: 14px 14px 4px 14px; background: linear-gradient(120deg, rgba(var(--cyan-rgb), .3), rgba(var(--violet-rgb), .35)); text-align: left; }
.pn__nachrichten .chat__wer { display: block; margin: 6px 4px 2px; color: var(--muted); font-size: .74rem; }
.pn__eingabe { display: flex; gap: 8px; align-items: flex-end; }
.pn__eingabe textarea { min-height: 46px; resize: none; }
@media (max-width: 820px) { .pn { grid-template-columns: 1fr; } .pn__nachrichten { height: 50vh; } }
.chip--icon { position: relative; padding: 7px 10px; }
/* Umfragen */
.neu-umfrage summary { cursor: pointer; }
.optionen { display: grid; gap: 8px; margin-bottom: 8px; }
.umfrage__kopf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.umfrage--zu { opacity: .75; }
.option { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.option__wahl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.option__wahl .haken { margin: 0; }
.option__balken { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.option__balken i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.umschalter--klein span { padding: 5px 10px; font-size: .82rem; }
/* Listen */
.eintraege { list-style: none; margin: 0; padding: 0; }
.eintraege li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.eintraege li:first-child { border-top: 0; }
.eintraege form { margin: 0; }
.eintrag__text { flex: 1; display: grid; min-width: 0; overflow-wrap: anywhere; }
.eintrag__text small { color: var(--muted); font-size: .74rem; }
.eintraege li.erledigt .eintrag__text { text-decoration: line-through; color: var(--muted); }
.haken-knopf { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--cyan); background: transparent; color: #050816; font-weight: 900; cursor: pointer; }
.erledigt .haken-knopf { background: var(--cyan); }
.x-knopf { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 6px; }
.x-knopf:hover { color: #ff9fb2; background: rgba(253, 92, 120, .1); }
/* Kleine Helfer */
.qr-gen { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.qr-vorschau { text-align: center; }
[data-qr-art] { display: grid; gap: 14px; }
[data-qr-art] .leise { margin: 0; }
#qrBild { background: #fff; border-radius: 14px; padding: 6px; }
#qrBild svg { display: block; width: 100%; height: auto; }
.kurz-praefix { display: flex; align-items: center; border-radius: 11px; background: rgba(var(--bg-rgb), .65); border: 1px solid var(--line); overflow: hidden; }
.kurz-praefix span { padding: 0 4px 0 12px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.kurz-praefix input { border: 0; background: transparent; padding-left: 2px; }
@media (max-width: 700px) { .qr-gen { grid-template-columns: 1fr; } .qr-vorschau { max-width: 260px; margin: 0 auto; } }
.fehler404__zahl { font-size: clamp(4rem, 20vw, 7rem); font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(var(--cyan-rgb), .4)); }
/* Passwort-Regeln */
.pw-regeln { list-style: none; margin: -4px 0 0; padding: 10px 14px; display: grid; gap: 4px; border-radius: 11px; background: rgba(var(--bg-rgb), .45); border: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.pw-regeln li::before { content: "○"; display: inline-block; width: 1.4em; }
.pw-regeln li.ok { color: #34d399; }
.pw-regeln li.ok::before { content: "✓"; }
.pw-regeln li.nein { color: #fd6b8b; }
.pw-regeln li.nein::before { content: "✕"; }
/* Links: persönliche Ablage */
.linkgruppe h3 { font-size: 1.05rem; margin: 0 0 10px; color: var(--muted); }
.linkgruppe h3:empty { display: none; }
.linkkachel-huelle { position: relative; display: grid; }
.linkkachel-huelle .linkkachel { height: 100%; }
.meine-links { margin-bottom: 26px; }
.meine-links h2 small { font-size: .8rem; font-weight: 400; margin-left: 6px; }
.meine-links .linkgruppe { margin: 16px 0 0; }
.neu-link summary, .link-bearbeiten summary { cursor: pointer; list-style: none; }
.neu-link summary::-webkit-details-marker, .link-bearbeiten summary::-webkit-details-marker { display: none; }
.link-bearbeiten { position: absolute; top: 10px; right: 10px; z-index: 2; }
.link-bearbeiten summary { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(var(--bg-rgb), .7); border: 1px solid var(--line); color: var(--muted); }
.link-bearbeiten summary:hover { color: var(--text); }
.link-bearbeiten[open] { position: static; grid-row: 2; margin-top: 8px; padding: 12px; border-radius: 14px; background: rgba(var(--bg-rgb), .65); border: 1px solid var(--line); }
.link-bearbeiten[open] summary { position: absolute; top: 10px; right: 10px; }
.links-trenner { margin: 8px 0 14px; }
.karte { min-width: 0; }   /* Karten in Rastern nie breiter als ihre Spalte */
/* Neon-Glas-Icons (admin/_ikonen.php) */
.ikon { display: block; overflow: visible; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)) drop-shadow(0 0 6px rgba(var(--cyan-rgb), .28)); }
.chip .ikon, .chip svg.ikon { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.kachel__icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(140deg, rgba(var(--cyan-rgb), .14), rgba(var(--magenta-rgb), .14)); }
.kachel__icon .ikon, .kachel__icon svg { width: 40px; height: 40px; }
a.kachel:hover .kachel__icon .ikon { transform: scale(1.08) rotate(-4deg); transition: transform .3s var(--ease); }
.kachel__icon .ikon { transition: transform .3s var(--ease); }
.gross-icon { width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(140deg, rgba(var(--cyan-rgb), .14), rgba(var(--magenta-rgb), .14)); }
.gross-icon .ikon, .gross-icon svg { width: 50px; height: 50px; }
.turnier__pokal .ikon { width: 52px; height: 52px; filter: drop-shadow(0 0 14px rgba(255, 194, 51, .55)); }
.titel--ikon { display: flex; align-items: center; gap: 14px; }
.titel__ikon { width: clamp(42px, 9vw, 56px); height: clamp(42px, 9vw, 56px); }
.werkzeug-nav a { display: inline-flex; align-items: center; gap: 7px; }
.werkzeug-nav .ikon { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.werkzeug-nav a[aria-current="page"] .ikon { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); }
.btn-ikon .ikon, .knopf .ikon { width: 20px; height: 20px; }
@media print { .ikon { filter: none; } }
.kachel__icon { width: 66px; height: 66px; border-radius: 18px; }
.kachel__icon .ikon, .kachel__icon svg { width: 50px; height: 50px; }
/* Formulare nie breiter als ihre Karte (sonst schiebt z. B. die Dateiauswahl alle Felder über den Rand) */
.formular { grid-template-columns: minmax(0, 1fr); }
.feld, .felder > * { min-width: 0; }
.feld input:not([type=radio]):not([type=checkbox]), .feld select, .feld textarea { width: 100%; max-width: 100%; }
.profil-bild > .feld { flex: 1 1 200px; }
input[type=file] { width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* Schach */
.schach-brett { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); width: min(100%, 520px); aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(var(--cyan-rgb), .45), 0 0 30px rgba(var(--cyan-rgb), .2), 0 14px 40px rgba(0, 0, 0, .5); }
.sq { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sq--h { background: #8f9fd4; }
.sq--d { background: #3a4888; }
.sq.letzter::before { content: ""; position: absolute; inset: 0; background: rgba(255, 214, 102, .38); }
.sq.gewaehlt::before { content: ""; position: absolute; inset: 0; background: rgba(var(--cyan-rgb), .45); box-shadow: inset 0 0 0 3px var(--cyan); }
.sq.imschach::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 40, 60, .95) 0 30%, rgba(255, 40, 60, .35) 60%, transparent 75%); }
.sq.ziel::after { content: ""; position: absolute; width: 30%; height: 30%; border-radius: 50%; background: rgba(10, 16, 40, .45); box-shadow: 0 0 0 2px rgba(var(--cyan-rgb), .6); }
.sq.schlagziel::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(var(--cyan-rgb), .8); }
.sq.kann:hover { filter: brightness(1.12); }
.sf { position: relative; z-index: 1; font-size: min(10.2vw, 54px); line-height: 1; font-family: "Segoe UI Symbol", "DejaVu Sans", "Noto Sans Symbols2", "Apple Symbols", serif; pointer-events: none; transition: transform .15s; }
.sf--w { color: #ffffff; text-shadow: 0 0 1px #0b1024, 0 0 2px #0b1024, 0 2px 3px rgba(0, 0, 0, .6), 0 0 10px rgba(var(--cyan-rgb), .45); }
.sf--b { color: #0b1024; text-shadow: 0 0 1px #c7d2f5, 0 0 2px rgba(255, 255, 255, .7), 0 2px 3px rgba(0, 0, 0, .45), 0 0 8px rgba(var(--magenta-rgb), .45); }
.sq.gewaehlt .sf { transform: scale(1.12); }
.sq-r, .sq-l { position: absolute; z-index: 1; font-style: normal; font-size: .62rem; font-weight: 700; opacity: .75; pointer-events: none; }
.sq-r { top: 2px; left: 3px; }
.sq-l { bottom: 1px; right: 3px; }
.sq--h .sq-r, .sq--h .sq-l { color: #2a3566; }
.sq--d .sq-r, .sq--d .sq-l { color: #c7d2f5; }
.schach-umwandlung { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; }
.schach-umwandlung select { width: auto; padding: 6px 10px; }
/* Mühle */
.muehle-wrap { display: grid; gap: 12px; justify-items: center; width: min(100%, 500px); }
.muehle-brett { position: relative; width: 100%; aspect-ratio: 1; border-radius: 18px;
  background: radial-gradient(70% 70% at 50% 40%, rgba(var(--cyan-rgb), .1), transparent 70%), linear-gradient(160deg, rgba(var(--card-rgb), .95), rgba(var(--tief-rgb), .95));
  box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35), 0 14px 40px rgba(0, 0, 0, .45), 0 0 30px rgba(var(--cyan-rgb), .12); }
.muehle-brett svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.muehle-brett line { stroke: url(#mbLinie); stroke-width: 1.1; stroke-linecap: round; filter: drop-shadow(0 0 1.5px rgba(var(--cyan-rgb), .8)); }
.muehle-brett line.mb-muehle { stroke: #ffd166; stroke-width: 2.4; filter: drop-shadow(0 0 3px #ffb020); animation: bp-funkeln 1.2s ease-in-out infinite; }
.mp { position: absolute; width: 12%; height: 12%; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.mp::before { content: ""; width: 30%; height: 30%; border-radius: 50%; background: rgba(var(--cyan-rgb), .55); box-shadow: 0 0 6px rgba(var(--cyan-rgb), .8); }
.mp:has(.ms)::before { display: none; }
.ms { width: 82%; height: 82%; border-radius: 50%; position: relative; transition: transform .15s; }
.ms--1 { background: radial-gradient(circle at 35% 30%, #ffffff 0 8%, var(--cyan) 30%, var(--blue) 75%, #08245a 100%); box-shadow: 0 3px 8px rgba(0, 0, 0, .55), 0 0 12px rgba(var(--cyan-rgb), .55), inset 0 -3px 6px rgba(0, 0, 0, .35); }
.ms--2 { background: radial-gradient(circle at 35% 30%, #ffffff 0 8%, var(--pink) 30%, var(--magenta) 75%, #4a0b5c 100%); box-shadow: 0 3px 8px rgba(0, 0, 0, .55), 0 0 12px rgba(var(--magenta-rgb), .55), inset 0 -3px 6px rgba(0, 0, 0, .35); }
.mp.kann .ms { box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 3px 8px rgba(0, 0, 0, .55); }
.mp.kann:hover .ms, .mp.gewaehlt .ms { transform: scale(1.12); }
.mp.gewaehlt .ms { box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(255, 255, 255, .8); }
.mp.frei::before, .mp.ziel::before { width: 42%; height: 42%; background: rgba(var(--cyan-rgb), .35); box-shadow: 0 0 0 2px var(--cyan), 0 0 14px var(--cyan); animation: bp-funkeln 1.4s ease-in-out infinite; }
.mp.nehmbar .ms { animation: mb-nehmen .8s ease-in-out infinite alternate; }
@keyframes mb-nehmen { from { box-shadow: 0 0 0 2px #ff4d5e, 0 0 10px #ff4d5e; } to { box-shadow: 0 0 0 4px #ff4d5e, 0 0 24px #ff4d5e; transform: scale(1.08); } }
.mp.letzter::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 214, 102, .8); pointer-events: none; }
.mb-vorrat { display: flex; gap: 5px; justify-content: center; min-height: 18px; opacity: .55; transition: opacity .2s; }
.mb-vorrat.an { opacity: 1; }
.mb-vorrat i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .15); }
.mb-vorrat--1 i.voll { background: radial-gradient(circle at 35% 30%, #fff 0 10%, var(--cyan) 35%, var(--blue)); }
.mb-vorrat--2 i.voll { background: radial-gradient(circle at 35% 30%, #fff 0 10%, var(--pink) 35%, var(--magenta)); }
/* Codenames */
.cn-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0; }
.cn-team { padding: 12px; border-radius: 14px; background: rgba(var(--tief-rgb), .6); }
.cn-team--rot { box-shadow: inset 0 0 0 1.5px rgba(255, 77, 109, .6), 0 0 18px rgba(255, 77, 109, .15); }
.cn-team--blau { box-shadow: inset 0 0 0 1.5px rgba(77, 155, 255, .6), 0 0 18px rgba(77, 155, 255, .15); }
.cn-team h3 { margin: 0 0 8px; font-size: 1rem; }
.cn-team--rot h3 { color: #ff6b88; } .cn-team--blau h3 { color: #6aaeff; }
.cn-team ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
.cn-team li { display: flex; justify-content: space-between; gap: 6px; }
.cn-team li.ich span { font-weight: 800; }
.cn-team li small { color: var(--muted); }
.cn-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cn-stand { padding: 8px 12px; border-radius: 12px; text-align: center; opacity: .6; transition: opacity .2s, box-shadow .2s; }
.cn-stand b { display: block; font-size: 1.6rem; line-height: 1.1; }
.cn-stand small { color: var(--muted); font-size: .75rem; }
.cn-stand--rot { background: rgba(255, 77, 109, .14); color: #ff6b88; }
.cn-stand--blau { background: rgba(77, 155, 255, .14); color: #6aaeff; }
.cn-stand.dran { opacity: 1; box-shadow: 0 0 0 2px currentColor, 0 0 18px currentColor; }
.cn-info { text-align: center; margin: 12px 0; display: grid; gap: 4px; justify-items: center; }
.cn-hinweis { font-size: 1.5rem; font-weight: 800; padding: 6px 16px; border-radius: 12px; }
.cn-hinweis--rot { color: #ff6b88; background: rgba(255, 77, 109, .12); } .cn-hinweis--blau { color: #6aaeff; background: rgba(77, 155, 255, .12); }
.cn-sieg { margin: 0; } .cn-sieg--rot { color: #ff6b88; } .cn-sieg--blau { color: #6aaeff; }
.cn-form { display: flex; gap: 8px; margin: 0 auto 12px; max-width: 460px; }
.cn-form input { flex: 1; min-width: 0; } .cn-form select { width: auto; }
.cn-brett { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cn-karte { position: relative; aspect-ratio: 1.45; padding: 4px; border: 0; border-radius: 10px; cursor: default; display: grid; place-items: center; text-align: center; color: #1b2340; font: inherit; font-weight: 800; font-size: clamp(.62rem, 2.6vw, .98rem); overflow-wrap: anywhere; line-height: 1.15;
  background: linear-gradient(160deg, #f4f1e6, #d9d2bd); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15), 0 3px 8px rgba(0, 0, 0, .35); transition: transform .15s, box-shadow .15s; }
.cn-brett.raten .cn-karte:not(:disabled) { cursor: pointer; }
.cn-brett.raten .cn-karte:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--cyan), 0 6px 16px rgba(0, 0, 0, .4); }
.cn-karte.tipp-r { box-shadow: inset 0 0 0 3px #ff4d6d, 0 3px 8px rgba(0, 0, 0, .35); background: linear-gradient(160deg, #fbe3e8, #e8c3cb); }
.cn-karte.tipp-b { box-shadow: inset 0 0 0 3px #3b82f6, 0 3px 8px rgba(0, 0, 0, .35); background: linear-gradient(160deg, #e1ecfd, #c3d5f2); }
.cn-karte.tipp-x { box-shadow: inset 0 0 0 3px #111, 0 3px 8px rgba(0, 0, 0, .35); background: linear-gradient(160deg, #c9c9c9, #8f8f8f); }
.cn-karte.offen { color: #fff; animation: cn-auf .45s ease both; }
.cn-karte.cn-r { background: linear-gradient(160deg, #ff6b88, #c81d4a); box-shadow: 0 0 16px rgba(255, 77, 109, .45); }
.cn-karte.cn-b { background: linear-gradient(160deg, #6aaeff, #1d4ed8); box-shadow: 0 0 16px rgba(77, 155, 255, .45); }
.cn-karte.cn-n { background: linear-gradient(160deg, #c9b98f, #8c7c55); color: #2b2412; opacity: .85; }
.cn-karte.cn-x { background: linear-gradient(160deg, #3b3b3b, #000); box-shadow: 0 0 22px rgba(255, 30, 60, .7); }
.cn-karte i { position: absolute; top: 4px; right: 6px; font-style: normal; font-size: 1.1rem; }
@keyframes cn-auf { from { transform: rotateY(90deg); } to { transform: none; } }
.cn-leiste { justify-content: center; margin-top: 12px; }
.cn-feed { list-style: none; margin: 14px 0 0; padding: 10px 12px; max-height: 170px; overflow-y: auto; border-radius: 12px; background: rgba(var(--tief-rgb), .55); font-size: .86rem; display: grid; gap: 3px; }
.cn-f-rot { color: #ff8aa0; } .cn-f-blau { color: #8cc0ff; } .cn-f-x { color: #ff4d5e; font-weight: 800; } .cn-f-sieg { color: #ffd166; font-weight: 800; } .cn-f-info { color: var(--muted); }
.cn-teams-ende { margin-top: 12px; }
@media (max-width: 520px) { .cn-brett { gap: 4px; } .cn-karte { border-radius: 7px; aspect-ratio: 1.15; } .cn-teams { grid-template-columns: 1fr; } }
/* Sudoku */
.sudoku { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); width: min(100%, 470px); aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: rgba(var(--tief-rgb), .85); box-shadow: 0 0 0 2px rgba(var(--cyan-rgb), .55), 0 0 26px rgba(var(--cyan-rgb), .18); }
.sz { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; cursor: pointer; font: inherit; font-size: clamp(1rem, 5vw, 1.55rem); font-weight: 600; color: var(--cyan);
  background: transparent; box-shadow: inset -1px -1px 0 rgba(var(--indigo-rgb), .35); -webkit-tap-highlight-color: transparent; transition: background .12s; }
.sz.rr { box-shadow: inset -2.5px -1px 0 rgba(var(--cyan-rgb), .7); }
.sz.ru { box-shadow: inset -1px -2.5px 0 rgba(var(--cyan-rgb), .7); }
.sz.rr.ru { box-shadow: inset -2.5px -2.5px 0 rgba(var(--cyan-rgb), .7); }
.sz.vorgabe { color: var(--text); font-weight: 800; }
.sz.bereich { background: rgba(var(--indigo-rgb), .16); }
.sz.gleich { background: rgba(var(--cyan-rgb), .2); }
.sz.gewaehlt { background: rgba(var(--cyan-rgb), .38); }
.sz.konflikt { color: #ff5c7a; background: rgba(255, 70, 100, .16); }
.sz-notiz { display: grid; grid-template-columns: repeat(3, 1fr); width: 92%; height: 92%; }
.sz-notiz i { font-style: normal; font-size: clamp(.45rem, 1.9vw, .66rem); font-weight: 600; color: var(--muted); display: grid; place-items: center; }
.sudoku-block { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: min(100%, 470px); }
.sudoku-zahl { padding: 10px 0; font-size: 1.2rem; font-weight: 800; }
.sudoku-zahl.voll { opacity: .35; }
.sudoku-zahl.an, .sudoku-block .sudoku-zahl.an:hover { background: var(--grad) !important; color: #050816 !important; border-color: transparent !important; box-shadow: 0 0 0 3px rgba(var(--magenta-rgb), .85), 0 0 22px rgba(var(--magenta-rgb), .55); transform: translateY(-2px); }
.sudoku-zahl small { display: block; font-size: .62rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .04em; }
#notiz.an { flex-direction: column; gap: 1px; padding: 4px 0; }
.sudoku-block.notizmodus .sudoku-zahl[data-zahl]:not([data-zahl="0"]) { font-size: .9rem; font-style: italic; color: rgb(var(--magenta-rgb)); border-style: dashed; }
.sudoku.notizmodus { box-shadow: 0 0 0 3px rgba(var(--magenta-rgb), .8), 0 0 28px rgba(var(--magenta-rgb), .3); }
.sudoku-notizhinweis { margin: 0; width: min(100%, 470px); padding: 8px 12px; border-radius: 12px; background: rgba(var(--magenta-rgb), .14); color: var(--text); font-size: .86rem; text-align: center; }
.sudoku-notizhinweis[hidden] { display: none; }
/* Reaktionstest */
.reaktion { width: min(100%, 520px); aspect-ratio: 1.5; border: 0; border-radius: 22px; display: grid; place-content: center; gap: 8px; text-align: center; cursor: pointer; color: #fff; font: inherit; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  background: linear-gradient(140deg, rgba(var(--cyan-rgb), .3), rgba(var(--magenta-rgb), .3)); box-shadow: inset 0 0 0 2px rgba(var(--cyan-rgb), .5), 0 14px 40px rgba(0, 0, 0, .45); transition: background .08s; }
.reaktion b { font-size: clamp(1.6rem, 7vw, 2.6rem); }
.reaktion span { color: rgba(255, 255, 255, .8); }
.reaktion[data-zustand="warten"] { background: linear-gradient(140deg, #b91c1c, #7f1d1d); box-shadow: inset 0 0 0 2px #ef4444, 0 0 40px rgba(239, 68, 68, .45); }
.reaktion[data-zustand="jetzt"] { background: linear-gradient(140deg, #22c55e, #15803d); box-shadow: inset 0 0 0 2px #4ade80, 0 0 60px rgba(74, 222, 128, .7); }
.reaktion[data-zustand="zufrueh"] { background: linear-gradient(140deg, #f59e0b, #b45309); }
.reaktion-zeiten { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.reaktion-zeiten span { padding: 4px 10px; border-radius: 99px; background: rgba(var(--card-rgb), .8); box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; font-variant-numeric: tabular-nums; }
/* Tipp-Rennen */
.tippen-text { width: min(100%, 640px); max-height: 9.5em; overflow-y: auto; margin: 0; font-size: clamp(1.05rem, 3.4vw, 1.3rem); line-height: 1.75; letter-spacing: .01em; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.tippen-text .ok { color: #34d399; }
.tippen-text .falsch { color: #fff; background: rgba(255, 70, 100, .75); border-radius: 3px; }
.tippen-text .hier { color: var(--text); box-shadow: inset 0 -3px 0 var(--cyan); animation: bp-funkeln 1s steps(2) infinite; }
.tippen-eingabe { width: min(100%, 640px); font-size: 1.1rem; }
/* Stromkreis */
.strom-wrap { position: relative; width: min(100%, 480px); }
.strom { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 3px; aspect-ratio: 1; padding: 6px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(var(--card-rgb), .95), rgba(var(--tief-rgb), .95)); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35), 0 14px 40px rgba(0, 0, 0, .45); }
.sk { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 8px; cursor: pointer; background: rgba(255, 255, 255, .03); -webkit-tap-highlight-color: transparent; }
.sk:hover { background: rgba(255, 255, 255, .07); }
.sk svg { width: 100%; height: 100%; display: block; transition: transform .18s cubic-bezier(.3, 1.4, .6, 1); }
.sk-kabel { fill: none; stroke: #4b5578; stroke-width: 13; stroke-linecap: round; }
.sk-kabel-glow { fill: none; stroke: transparent; stroke-width: 26; stroke-linecap: round; }
.sk-knoten { fill: #4b5578; }
.sk.an .sk-kabel, .sk.an .sk-knoten { stroke: var(--cyan); fill: var(--cyan); }
.sk.an .sk-kabel-glow { stroke: rgba(var(--cyan-rgb), .28); }
.sk.an .sk-knoten { stroke: none; }
.sk-lampe { fill: #2b3150; stroke: #6b7398; stroke-width: 5; }
.sk.lampe.an .sk-lampe { fill: #ffe066; stroke: #fff6c2; filter: drop-shadow(0 0 10px #ffd23f); }
.sk.lampe.an { background: radial-gradient(circle, rgba(255, 210, 63, .28), transparent 70%); }
.sk-quelle { fill: url(#ikGold); stroke: #fff; stroke-width: 4; }
.sk-symbol { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(.9rem, 3.4vw, 1.4rem); pointer-events: none; }
.strom-wrap .overlay { border-radius: 16px; }
/* Alltagshelfer */
.alltag-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.alltag-tabs .knopf { padding: 9px 14px; font-size: .92rem; }
.alltag-teil h2 { font-size: 1rem; margin: 6px 0 0; color: var(--muted); }
.alltag-zeile { margin: 0; font-size: 1.05rem; }
.alltag-zeile b { font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.einheit-karte { max-width: 760px; }
.einheit-arten { flex-wrap: wrap; }
.einheit-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto minmax(0, 1.3fr); gap: 10px; align-items: end; }
.einheit-ergebnis { margin: 6px 0; font-size: 1.15rem; text-align: center; }
.einheit-ergebnis b { font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 560px) { .einheit-zeile { grid-template-columns: 1fr 1fr; } .einheit-zeile .feld:first-child { grid-column: 1 / -1; } #eTausch { grid-column: 1 / -1; } }
.abschnitt { margin: 28px 0 12px; font-size: 1.25rem; }
.felder--eng { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rad-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rad-buehne { display: grid; justify-items: center; gap: 12px; }
.rad-rahmen { position: relative; width: min(100%, 460px); aspect-ratio: 1; }
.rad-rahmen canvas { width: 100%; height: 100%; display: block; cursor: pointer; filter: drop-shadow(0 0 22px rgba(var(--cyan-rgb, 24, 213, 254), .35)); }
.rad-zeiger { position: absolute; top: -6px; left: 50%; width: 34px; height: 44px; transform: translateX(-50%); background: linear-gradient(#fff, #fde047); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.rad-mitte { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(255,255,255,.8); background: radial-gradient(circle at 35% 30%, #2a3370, #070b1f); color: #fff; font-weight: 900; letter-spacing: .06em; font-size: clamp(.7rem, 2.6vw, 1rem); cursor: pointer; box-shadow: 0 0 18px var(--cyan), inset 0 0 12px rgba(255,255,255,.2); }
.rad-mitte:disabled { opacity: .55; cursor: default; }
.rad-mitte:not(:disabled):hover { box-shadow: 0 0 28px var(--magenta), inset 0 0 12px rgba(255,255,255,.3); }
.rad-ergebnis { margin: 0; min-height: 3.2em; text-align: center; display: grid; gap: 2px; }
.rad-ergebnis span { color: var(--muted); font-size: .9rem; }
.rad-ergebnis b { font-size: clamp(1.6rem, 6vw, 2.4rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rad-pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes rad-pop { from { transform: scale(.4); opacity: 0; } }
.rad-eingabe textarea { font-family: inherit; }
.rad-vorlagen, .rad-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.rad-verlauf h2 { font-size: 1rem; margin: 4px 0 6px; }
.rad-verlauf ol { margin: 0; padding-left: 1.6em; display: grid; gap: 3px; max-height: 260px; overflow: auto; }
.rad-verlauf li::marker { color: var(--cyan); font-weight: 700; }
.zufall-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.zufall-kachel { display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; }
.zufall-kachel.formular { justify-items: stretch; text-align: left; }
.zufall-kachel h3 { margin: 0; justify-self: start; }
.muenze { position: relative; width: 110px; height: 110px; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.2, .7, .3, 1); }
.muenze span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden; font-weight: 900; color: #3b2a00; background: radial-gradient(circle at 35% 30%, #fff6c2, #f5c542 55%, #a87b12); box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), 0 0 22px rgba(253, 224, 71, .45); }
.muenze .muenze__zahl { transform: rotateY(180deg); }
.wuerfel-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 64px; }
.wuerfel { width: 58px; height: 58px; padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 13px; background: linear-gradient(145deg, #fff, #d9def5); box-shadow: 0 0 14px rgba(var(--cyan-rgb, 24, 213, 254), .4), inset 0 -3px 0 rgba(0,0,0,.15); }
.wuerfel i { border-radius: 50%; }
.wuerfel i.an { background: radial-gradient(circle at 35% 35%, #4a4f73, #0b1028); }
.rollt .wuerfel { animation: wuerfel-roll .12s linear infinite; }
@keyframes wuerfel-roll { 50% { transform: rotate(14deg) translateY(-4px); } }
.zufall-zahl { margin: 0; text-align: center; font-size: 1.8rem; font-weight: 800; word-break: break-word; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.teams-erg { display: grid; gap: 6px; }
.teams-erg .team { display: grid; padding: 8px 12px; border-radius: 10px; background: rgba(var(--bg-rgb), .5); box-shadow: inset 0 0 0 1px var(--line); }
.teams-erg .team b { color: var(--cyan); }
@media (max-width: 760px) { .rad-grid { grid-template-columns: minmax(0, 1fr); } }
.cd-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 18px; }
.cd { position: relative; display: grid; gap: 12px; overflow: hidden; }
.cd::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 160px at 50% 0, rgba(var(--magenta-rgb), .14), transparent 70%); }
.cd__kopf { display: flex; align-items: center; gap: 10px; padding-right: 34px; }
.cd__kopf h2 { margin: 0; font-size: 1.12rem; overflow-wrap: anywhere; }
.cd__emoji { font-size: 1.8rem; filter: drop-shadow(0 0 10px rgba(var(--cyan-rgb), .5)); }
.cd__ziffern { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cd__ziffern div { display: grid; justify-items: center; padding: 10px 4px 8px; border-radius: 12px; background: rgba(var(--bg-rgb), .65); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .35), 0 0 14px rgba(var(--cyan-rgb), .12); }
.cd__ziffern b { font-size: clamp(1.4rem, 5vw, 2rem); font-variant-numeric: tabular-nums; line-height: 1.1; color: #fff; text-shadow: 0 0 8px var(--cyan), 0 0 22px rgba(var(--cyan-rgb), .6); }
.cd__ziffern small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.cd--bald .cd__ziffern b { text-shadow: 0 0 8px var(--magenta), 0 0 22px rgba(var(--magenta-rgb), .7); }
.cd--bald .cd__ziffern div { box-shadow: inset 0 0 0 1px rgba(var(--magenta-rgb), .5), 0 0 16px rgba(var(--magenta-rgb), .2); }
.cd__fertig { margin: 0; text-align: center; font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: cd-puls 1.4s ease-in-out infinite; }
@keyframes cd-puls { 50% { transform: scale(1.06); } }
.cd__info { margin: 0; }
.cd__weg { position: absolute; top: 12px; right: 12px; margin: 0; }
.cd__weg .knopf { padding: 4px 9px; }
.cd-leer { margin-bottom: 18px; }
.cd-neu { max-width: 760px; }
.cd-neu form { display: grid; gap: 14px; }
.cd-emojis { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-emojis input { position: absolute; opacity: 0; pointer-events: none; }
.cd-emojis span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 1.3rem; cursor: pointer; background: rgba(var(--bg-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); }
.cd-emojis input:checked + span { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 12px rgba(var(--cyan-rgb), .5); }
.cd-emojis input:focus-visible + span { outline: 2px solid var(--cyan); }
.feld input[type=datetime-local] { color-scheme: dark; min-height: 46px; }
/* Tipp-Rennen: Wettkampf */
.tr-modi { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tippen-text .wort-aktiv { box-shadow: inset 0 -2px 0 rgba(var(--cyan-rgb), .5); }
.tr { display: grid; gap: 14px; justify-items: center; }
.tr-strecke { width: 100%; display: grid; gap: 8px; }
.tr-bahn { display: grid; grid-template-columns: minmax(0, 7em) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .92rem; }
.tr-bahn.ich .tr-name { color: var(--cyan); }
.tr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tr-spur { position: relative; height: 34px; border-radius: 10px; background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.06) 22px 34px), rgba(var(--bg-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); }
.tr-bahn.ich .tr-spur { box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .6), 0 0 12px rgba(var(--cyan-rgb), .2); }
.tr-auto { position: absolute; top: 50%; transform: translate(-30%, -50%) scaleX(-1); font-size: 1.45rem; transition: left .6s linear; filter: drop-shadow(0 0 6px rgba(var(--magenta-rgb), .7)); }
.tr-ziel { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); opacity: .7; }
.tr-bahn.fertig .tr-auto { left: calc(100% - 30px) !important; }
.tr-info { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); font-size: .85rem; }
.tr-bereich { position: relative; width: 100%; display: grid; gap: 12px; justify-items: center; }
.tr-countdown { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-size: clamp(4rem, 18vw, 7rem); font-weight: 900; color: #fff; text-shadow: 0 0 18px var(--magenta), 0 0 40px var(--cyan); background: rgba(var(--bg-rgb), .55); border-radius: 16px; min-height: 160px; }
.tr-ende { width: 100%; display: grid; gap: 10px; justify-items: start; }
.tr-ende h2 { margin: 0; }
.tr-ergebnis { width: 100%; }
.tr-laenge { max-width: 240px; }
@media (max-width: 520px) { .tr-bahn { grid-template-columns: minmax(0, 1fr) auto; } .tr-bahn .tr-spur { grid-column: 1 / -1; grid-row: 2; } }
.offene-runden { margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(var(--magenta-rgb), .5), 0 0 22px rgba(var(--magenta-rgb), .15); }
.offene-runden h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.1rem; }
.offene-runden__punkt { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: cd-puls 1.2s ease-in-out infinite; }
.offene-runden ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.offene-runden li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(var(--bg-rgb), .5); }
.offene-runden__icon { font-size: 1.5rem; }
.offene-runden li small { display: block; color: var(--muted); }
.tr-ergebnis li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; }
.tr-ergebnis li span { grid-column: 2; color: var(--muted); font-size: .9rem; }
/* Tic-Tac-Toe Endlos */
.ttt--endlos .ttt__feld.alter3 { opacity: .55; }
.ttt--endlos .ttt__feld.alter2 { opacity: .8; }
.ttt--endlos .ttt__feld.weg { opacity: 1; animation: ttt-weg 0.9s ease-in-out infinite; box-shadow: inset 0 0 0 2px rgba(255, 92, 122, .7); }
@keyframes ttt-weg { 50% { opacity: .25; transform: scale(.92); } }
.ttt--endlos .ttt__feld.verschwunden::after { content: "💨"; font-size: .45em; opacity: 0; animation: ttt-puff .9s ease-out; }
@keyframes ttt-puff { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6) translateY(-10px); } }
/* Meine Links: Gruppen */
.ml-leiste { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin: 4px 0 6px; }
.ml-aufklapp > summary { list-style: none; cursor: pointer; display: inline-flex; }
.ml-aufklapp > summary::-webkit-details-marker { display: none; }
.ml-aufklapp[open] { flex-basis: 100%; }
.ml-aufklapp[open] > summary { margin-bottom: 10px; }
.ml-aufklapp > form, .ml-gruppe-edit { padding: 14px; border-radius: 14px; background: rgba(var(--bg-rgb), .55); box-shadow: inset 0 0 0 1px var(--line); }
.ml-neu textarea { resize: vertical; font-family: inherit; }
.ml-gruppe-edit { display: grid; gap: 14px; }
.ml-gruppe-edit .ml-weg { padding-top: 12px; border-top: 1px solid var(--line); }
.linkgruppe--meine { margin-top: 16px; padding: 12px 14px 14px; border-radius: 18px; background: rgba(var(--card-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); }
.linkgruppe--meine > .ml-kopf { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.linkgruppe--meine > .ml-kopf::-webkit-details-marker { display: none; }
.ml-titel { font-size: 1.08rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ml-titel small { font-weight: 600; font-size: .8rem; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.ml-pfeil { display: inline-block; color: var(--cyan); transition: transform .2s; }
.linkgruppe--meine[open] .ml-pfeil { transform: rotate(90deg); }
.ml-werkzeuge { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; margin: 10px 0 12px; }
.ml-sortieren { display: inline-flex; gap: 4px; margin: 0; }
.ml-sortieren .knopf { padding: 6px 11px; }
.ml-sortieren .knopf:disabled { opacity: .35; cursor: default; }
.ml-leer { margin: 0 0 6px; }
.linkgruppe--meine .raster:empty { display: none; }
/* Gruppen zuklappen */
.linkgruppe--klapp { margin: 14px 0 0; padding: 10px 14px; border-radius: 18px; background: rgba(var(--card-rgb), .35); box-shadow: inset 0 0 0 1px var(--line); }
.linkgruppe--klapp[open] { padding-bottom: 14px; }
.linkgruppe--klapp > .ml-kopf { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.linkgruppe--klapp > .ml-kopf::-webkit-details-marker { display: none; }
.linkgruppe--klapp[open] > .ml-kopf { margin-bottom: 12px; }
.ml-kopf { justify-content: space-between; border-radius: 12px; margin: -4px -6px; padding: 4px 6px !important; transition: background .15s; user-select: none; }
.ml-kopf:hover { background: rgba(var(--cyan-rgb), .06); }
.ml-kopf:focus-visible { outline: 2px solid var(--cyan); }
.ml-pfeil { display: none; }
.ml-klapp { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 10px 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); background: rgba(var(--bg-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); }
.ml-kopf:hover .ml-klapp { color: var(--text); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .55); }
.ml-klapp i { font-style: normal; font-size: 1.1rem; line-height: 1; color: var(--cyan); transition: transform .2s; transform: rotate(180deg) translateY(-2px); }
details:not([open]) > .ml-kopf .ml-klapp i { transform: none; }
details[open] > .ml-kopf .ml-klapp__zu, details:not([open]) > .ml-kopf .ml-klapp__auf { display: none; }
details:not([open]) > .ml-kopf .ml-titel small { background: rgba(var(--cyan-rgb), .18); color: var(--text); }
@media (max-width: 420px) { .ml-klapp__auf, .ml-klapp__zu { display: none !important; } .ml-klapp { padding: 6px 10px; } }
/* Sudoku: Leben und falsche Felder */
.sd-leben { font-size: 1rem; letter-spacing: 1px; white-space: nowrap; }
.sd-leben__weg { opacity: .45; }
.sudoku .sz.falsch { color: #ff6b81 !important; background: rgba(255, 70, 100, .2) !important; box-shadow: inset 0 0 0 2px rgba(255, 70, 100, .75); }
.sudoku.sd-wackeln { animation: sd-wackeln .32s; }
@keyframes sd-wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Anmelden & Registrieren: Info-Fläche links, Formular-Karte rechts */
.auth__titel { margin: 0 0 6px; font-size: clamp(1.7rem, 4vw, 2.1rem); line-height: 1.15; }
.auth__sub { margin: 0 0 22px; color: var(--muted); }
.auth__form { display: grid; gap: 16px; }
.auth__knopf { width: 100%; padding: 13px; font-size: 1rem; margin-top: 4px; }
.auth__knopf .af-ik { width: 18px; height: 18px; }
.auth__wechsel { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
.auth__wechsel a { color: var(--cyan); font-weight: 600; }
.af { display: grid; gap: 6px; min-width: 0; }
.af > label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.af > label small { font-weight: 400; }
.af__feld { position: relative; }
.af__feld > .af-ik { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; transition: color .2s; }
.af__feld:focus-within > .af-ik { color: var(--cyan); }
.af__feld input { padding-left: 42px; }
.af__feld--pw input { padding-right: 48px; }
.af__auge { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.af__auge:hover, .af__auge[aria-pressed=true] { color: var(--cyan); background: rgba(255, 255, 255, .07); }
.af__auge .af-ik { width: 19px; height: 19px; }
.staerke { display: grid; gap: 5px; margin-top: 4px; }
.staerke__balken { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.staerke__balken i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .3s var(--ease), background .3s; box-shadow: 0 0 12px currentColor; }
.staerke__text { min-height: 1.2em; font-size: .82rem; font-weight: 600; }
.auth__form .pw-regeln { margin: 0; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); font-size: .8rem; padding: 8px 12px; }
.auth__fertig { text-align: center; }
.auth__fertig-ik { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; color: #050816; background: var(--grad); box-shadow: 0 0 30px rgba(var(--cyan-rgb), .45); }
.auth__fertig-ik .af-ik { width: 32px; height: 32px; stroke-width: 3; }
.auth__schritte { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 12px; text-align: left; }
.auth__schritte li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .9rem; }
.auth__schritte li .af-ik { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--muted); }
.auth__schritte li.erledigt .af-ik { color: var(--ok); }
.auth__schritte b { display: block; color: var(--text); font-size: .98rem; }

/* Status der E-Mail-Bestätigung im Konto */
.email-status { margin-left: 8px; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; vertical-align: middle; }
.email-status.ok { color: #6ee7b7; background: rgba(52, 211, 153, .12); }
.email-status.offen { color: #fde68a; background: rgba(251, 191, 36, .12); }

/* Ideen-Kasten */
.ideen__form { display: grid; gap: 10px; margin-top: 10px; }
.ideen__form textarea { width: 100%; min-height: 90px; resize: vertical; }
.ideen__form .knopf { justify-self: start; }
.ideen__titel { margin: 18px 0 8px; font-size: .95rem; }
.ideen__liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ideen__liste li { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: 12px; font-size: .9rem; background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.ideen__status { flex: none; padding: 1px 8px; border-radius: 99px; font-size: .72rem; font-weight: 800; color: var(--muted); background: rgba(255, 255, 255, .07); }
.ideen__status--geplant { color: #fde68a; background: rgba(251, 191, 36, .14); }
.ideen__status--umgesetzt { color: #6ee7b7; background: rgba(52, 211, 153, .14); }
.ideen h2 { margin: 0 0 6px; font-size: 1.12rem; }
.ideen h2 small { font-size: .82rem; font-weight: 500; margin-left: 6px; }

/* Wörtel-Rätsel */
.wt-raetsel { width: min(100%, 520px); margin: 6px auto 0; text-align: left; }
.wt-raetsel h2 { margin: 0 0 6px; font-size: 1.15rem; }
.wt-raetsel__wort { font-size: 1.4rem !important; font-weight: 900; letter-spacing: .35em; text-transform: uppercase; }
.wt-raetsel__titel { margin: 18px 0 8px; font-size: .98rem; }
.wt-raetsel__liste { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wt-raetsel__eintrag { padding: 10px 12px; border-radius: 12px; background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); }
.wt-raetsel__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.wt-raetsel__loesung { font-weight: 900; letter-spacing: .2em; color: var(--text); text-decoration: none; }
.wt-raetsel__ergebnisse { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .82rem; }
.wt-raetsel__ergebnisse li { padding: 2px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.wt-raetsel__ergebnisse li.ok { color: #6ee7b7; background: rgba(52, 211, 153, .14); }
.wt-raetsel__ergebnisse li.nein { color: #ff9fb2; background: rgba(253, 92, 120, .12); }
.wt-raetsel-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; width: min(100%, 520px); margin: 0 auto 10px; padding: 10px 14px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(var(--violet-rgb), .22), rgba(var(--pink-rgb), .18)); box-shadow: inset 0 0 0 1px rgba(var(--pink-rgb), .4); }
.wt-raetsel-band span { color: var(--muted); font-size: .9rem; }
.wt-raetsel-band__zurueck { font-size: .85rem; }
.wt-raetsel-band .wt-raetsel__ergebnisse { width: 100%; justify-content: center; }

/* ---------- Vier gewinnt: Spielbrett im Look des Klassikers (feste Farben: Rot gegen Gelb) ---------- */
.spiel--vier .wert--s1 b, .spiel--vier .wert--s1 small { color: #ff4d64; }
.spiel--vier .wert--s2 b, .spiel--vier .wert--s2 small { color: #ffd23f; }
.vier { --rot: #ff2e4d; --gelb: #ffc81e; position: relative; gap: clamp(4px, 1.4vw, 8px); margin: 54px auto 26px; padding: clamp(10px, 2.6vw, 16px); border-radius: 24px;
  background: linear-gradient(180deg, #4a7dff 0%, #2453e6 38%, #1a3dbb 72%, #132d93 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -7px 0 rgba(0, 0, 0, .28), inset 0 0 0 2px #0d2580, 0 22px 44px rgba(0, 0, 0, .6), 0 0 70px rgba(60, 110, 255, .35);
  transition: box-shadow .4s; }
.vier::before { content: ""; position: absolute; inset: 6px 10px auto; height: 38%; border-radius: 18px 18px 50% 50% / 18px 18px 22px 22px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
.vier::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -16px; height: 16px; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #0f2370, #0a1850); box-shadow: 0 10px 22px rgba(0, 0, 0, .55); }
.vier.aktiv[data-dran="1"] { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -7px 0 rgba(0, 0, 0, .28), inset 0 0 0 2px #0d2580, 0 22px 44px rgba(0, 0, 0, .6), 0 0 0 3px rgba(255, 46, 77, .55), 0 0 60px rgba(255, 46, 77, .4); }
.vier.aktiv[data-dran="2"] { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -7px 0 rgba(0, 0, 0, .28), inset 0 0 0 2px #0d2580, 0 22px 44px rgba(0, 0, 0, .6), 0 0 0 3px rgba(255, 200, 30, .55), 0 0 60px rgba(255, 200, 30, .38); }
.vier .vier__feld { position: relative; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #0c1236 0 55%, #060a20 72%);
  box-shadow: inset 0 5px 9px rgba(0, 0, 0, .85), inset 0 -1px 0 rgba(255, 255, 255, .12), 0 1.5px 0 rgba(255, 255, 255, .28), 0 -1px 0 rgba(0, 0, 0, .35); transition: background .2s; }
.vier .vier__feld.hover:not(.s1):not(.s2) { background: radial-gradient(circle at 50% 42%, #0c1236 0 55%, #060a20 72%); }
.vier.aktiv .vier__feld.hover:not(.s1):not(.s2) { background: radial-gradient(circle at 50% 42%, #18205a 0 55%, #0a1030 72%); }
.vier.aktiv[data-dran="1"] .vier__feld.hover:not(.s1):not(.s2) { background: radial-gradient(circle at 50% 42%, rgba(255, 46, 77, .28) 0 55%, #0a1030 72%); }
.vier.aktiv[data-dran="2"] .vier__feld.hover:not(.s1):not(.s2) { background: radial-gradient(circle at 50% 42%, rgba(255, 200, 30, .26) 0 55%, #0a1030 72%); }
/* Spielsteine mit Rillen wie beim echten Chip */
.vier .vier__feld.s1, .vier .vier__feld.s2, .vier.aktiv .vier__feld.oben.hover::after {
  background:
    radial-gradient(circle, transparent 0 34%, rgba(0, 0, 0, .2) 35% 38%, transparent 39% 56%, rgba(255, 255, 255, .22) 57% 59%, rgba(0, 0, 0, .18) 60% 63%, transparent 64%),
    radial-gradient(circle at 34% 28%, var(--hell) 0%, var(--farbe) 40%, var(--tief) 82%, var(--rand) 100%);
  box-shadow: inset 0 -4px 7px rgba(0, 0, 0, .35), inset 0 3px 5px rgba(255, 255, 255, .45), 0 4px 7px rgba(0, 0, 0, .55); }
.vier .vier__feld.s1, .vier.aktiv[data-dran="1"] .vier__feld.oben.hover::after { --hell: #ffb3bb; --farbe: #ff2e4d; --tief: #c8002c; --rand: #7d001b; }
.vier .vier__feld.s2, .vier.aktiv[data-dran="2"] .vier__feld.oben.hover::after { --hell: #fff7c2; --farbe: #ffcc1f; --tief: #e89c00; --rand: #9a6200; }
/* Vorschau-Stein schwebt über der Spalte */
.vier.aktiv .vier__feld.oben.hover::after { content: ""; position: absolute; left: 4%; right: 4%; top: -132%; aspect-ratio: 1; border-radius: 50%; opacity: .92; pointer-events: none; animation: vierSchweben 1.1s ease-in-out infinite alternate; }
@keyframes vierSchweben { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
/* Fallen mit Aufprall */
.vier .vier__feld.faellt { z-index: 1; animation: vierFall calc(.22s + var(--fall, 1) * .07s) cubic-bezier(.5, 0, .75, .4) both, vierAufprall .35s calc(.22s + var(--fall, 1) * .07s) ease-out; }
@keyframes vierFall { from { transform: translateY(calc(var(--fall, 1) * -115%)); } to { transform: translateY(0); } }
@keyframes vierAufprall { 30% { transform: translateY(-9%) scaleY(.94); } 60% { transform: translateY(0) scaleY(1.02); } }
/* Gewinnreihe */
.vier.fertig .vier__feld.s1:not(.sieg), .vier.fertig .vier__feld.s2:not(.sieg) { filter: saturate(.35) brightness(.55); transition: filter .5s; }
.vier .vier__feld.sieg { outline: none; z-index: 2; animation: vierSieg 1s ease-in-out infinite; }
.vier .vier__feld.sieg.s1 { box-shadow: inset 0 -4px 7px rgba(0, 0, 0, .3), inset 0 3px 5px rgba(255, 255, 255, .5), 0 0 0 3px #fff, 0 0 26px 6px rgba(255, 46, 77, .85); }
.vier .vier__feld.sieg.s2 { box-shadow: inset 0 -4px 7px rgba(0, 0, 0, .3), inset 0 3px 5px rgba(255, 255, 255, .5), 0 0 0 3px #fff, 0 0 26px 6px rgba(255, 204, 31, .85); }
@keyframes vierSieg { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .vier .vier__feld.faellt, .vier .vier__feld.sieg, .vier.aktiv .vier__feld.oben.hover::after { animation: none; } }

/* ---------- Hangman: Neon-Synthwave-Szene ---------- */
.hm { display: grid; justify-items: center; gap: 12px; }
.hm-kats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 560px; }
.hm-kat { padding: 7px 13px; border: 0; border-radius: 99px; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700; color: var(--muted); background: rgba(var(--card-rgb), .7); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, transform .2s; }
.hm-kat:hover { color: var(--text); transform: translateY(-1px); }
.hm-kat.an { color: #12021f; background: linear-gradient(120deg, #2ef2ff, #ff4fd8); box-shadow: 0 6px 20px rgba(255, 79, 216, .35); }
.hm-geheim { width: min(100%, 460px); display: grid; gap: 10px; text-align: left; }
.hm-geheim p { margin: 0; }
.hm-buehne { position: relative; width: min(100%, 520px); border-radius: 22px; overflow: hidden; background: #070420;
  box-shadow: 0 0 0 2px rgba(46, 242, 255, .35), 0 0 0 5px rgba(255, 79, 216, .12), 0 24px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 79, 216, .22); }
.hm-buehne.treffer { animation: hmWackeln .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes hmWackeln { 15%, 55% { transform: translateX(-6px) rotate(-.6deg); } 35%, 75% { transform: translateX(6px) rotate(.6deg); } }
.hm-szene { display: block; width: 100%; height: auto; }
.hm-sterne circle { animation: hmFunkeln 2.6s ease-in-out infinite alternate; }
.hm-sterne circle:nth-child(3n) { animation-delay: -1.1s; } .hm-sterne circle:nth-child(3n+1) { animation-delay: -2s; animation-duration: 3.4s; }
@keyframes hmFunkeln { from { opacity: .25; } to { opacity: 1; } }
.hm-sonne { transform-origin: 220px 150px; animation: hmSonne 6s ease-in-out infinite alternate; transition: filter 1s; }
@keyframes hmSonne { to { transform: translateY(-4px) scale(1.02); } }
.hm-gitter { animation: hmGitter 3s linear infinite; }
@keyframes hmGitter { 50% { opacity: .8; } }
/* Galgen und Figur erscheinen Stück für Stück */
.hm-szene path.hm-teil { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .7s cubic-bezier(.6, 0, .3, 1), opacity .15s; }
.hm-szene path.hm-teil.da { stroke-dashoffset: 0; opacity: 1; }
.hm-szene g.hm-teil { opacity: 0; transform: scale(.4); transform-origin: 146px 86px; transition: opacity .35s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.hm-szene g.hm-teil.da { opacity: 1; transform: none; }
.hm-augen-x { display: none; }
.hm-figur { transform-origin: 146px 40px; transition: transform .6s; }
.hm-szene.verloren .hm-figur { animation: hmPendeln 2.4s ease-in-out infinite; }
.hm-szene.verloren .hm-augen { display: none; } .hm-szene.verloren .hm-augen-x { display: inline; }
.hm-szene.verloren .hm-sonne { filter: grayscale(1) brightness(.55); }
.hm-szene.verloren .hm-galgen path { stroke: #ff3b5c; }
@keyframes hmPendeln { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-5deg); } }
.hm-szene.gewonnen .hm-seil { opacity: 0 !important; transition: opacity .3s; }
.hm-szene.gewonnen .hm-figur { animation: hmHuepfen .7s cubic-bezier(.3, 0, .5, 1) 3; }
.hm-szene.gewonnen .hm-galgen path { stroke: #4dffa6; }
@keyframes hmHuepfen { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-22px); } }
.hm-leben { position: absolute; top: 10px; right: 12px; display: flex; gap: 2px; padding: 4px 8px; border-radius: 99px; font-size: .9rem; line-height: 1; background: rgba(7, 4, 32, .6); backdrop-filter: blur(4px); }
.hm-herz { color: #ff4fd8; text-shadow: 0 0 8px rgba(255, 79, 216, .9); transition: color .3s, text-shadow .3s, transform .3s; }
.hm-herz.weg { color: rgba(255, 255, 255, .18); text-shadow: none; transform: scale(.8); }
.hm-kat-anzeige { min-height: 1.3em; font-size: .88rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
/* Wort-Kacheln */
.hm-wort { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 640px; perspective: 600px; }
.hm-gruppe { display: flex; gap: clamp(4px, 1.2vw, 7px); }
.hm-z { display: grid; place-items: center; width: clamp(26px, 7.2vw, 42px); height: clamp(36px, 9.6vw, 54px); border-radius: 10px; font-size: clamp(1.1rem, 4.6vw, 1.7rem); font-weight: 900;
  color: #fff; background: rgba(255, 255, 255, .04); box-shadow: inset 0 -3px 0 #2ef2ff, 0 6px 14px rgba(0, 0, 0, .35); transition: background .3s, box-shadow .3s; }
.hm-z--zeichen { background: none; box-shadow: none; width: auto; }
.hm-z.offen { background: linear-gradient(160deg, rgba(46, 242, 255, .28), rgba(255, 79, 216, .28)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35), 0 0 18px rgba(46, 242, 255, .35); text-shadow: 0 0 10px rgba(46, 242, 255, .8); }
.hm-z.dreht { animation: hmDrehen .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes hmDrehen { from { transform: rotateX(90deg) scale(.8); } }
.hm-z.fehlt { color: #ff5c7a; background: rgba(255, 59, 92, .12); box-shadow: inset 0 -3px 0 #ff3b5c; }
.hm-aktionen { justify-content: center; }
.hm-aktionen small { font-weight: 500; opacity: .75; }
.hm-tastatur .taste { min-width: 0; }
.hm-tastatur .taste.r { color: #05140c; background: linear-gradient(160deg, #4dffa6, #12c97a); box-shadow: 0 0 14px rgba(77, 255, 166, .45); }
.hm-tastatur .taste.n { opacity: .32; text-decoration: line-through; }
.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: min(100%, 460px); margin-top: 4px; }
.hm-stat { display: grid; justify-items: center; padding: 8px 4px; border-radius: 12px; background: rgba(var(--card-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); }
.hm-stat b { font-size: 1.25rem; }
.hm-stat small { font-size: .7rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .hm-sterne circle, .hm-sonne, .hm-gitter, .hm-szene.verloren .hm-figur, .hm-szene.gewonnen .hm-figur, .hm-z.dreht, .hm-buehne.treffer { animation: none; } }
.hm [hidden] { display: none !important; }

/* Hangman: mit mehreren spielen */
.hm-team { width: min(100%, 560px); display: grid; gap: 12px; text-align: left; }
.hm-team h2 { margin: 0; font-size: 1.15rem; }
.hm-team p { margin: 0; }
.hm-spieler { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: hmsp; }
.hm-spieler__zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); }
.hm-spieler__zeile input { min-width: 0; padding: 8px 10px; }
.hm-rolle { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, .25); }
.hm-rolle__k { padding: 6px 9px; border: 0; border-radius: 8px; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; color: var(--muted); background: none; white-space: nowrap; }
.hm-rolle__k.an { color: #12021f; background: linear-gradient(120deg, #2ef2ff, #ff4fd8); }
.hm-spieler__punkte { min-width: 38px; font-size: .82rem; font-weight: 800; text-align: right; color: var(--muted); }
.hm-spieler__weg { width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer; color: var(--muted); background: rgba(255, 255, 255, .06); }
.hm-spieler__weg:hover:not(:disabled) { color: #fff; background: rgba(253, 92, 120, .5); }
.hm-spieler__weg:disabled { opacity: .3; cursor: default; }
.hm-optionen { display: grid; gap: 6px; }
.hm-team__info { padding: 9px 12px; border-radius: 12px; font-size: .88rem; font-weight: 600; background: rgba(46, 242, 255, .08); box-shadow: inset 0 0 0 1px rgba(46, 242, 255, .3); }
.hm-zug { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; }
.hm-zug__p { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; padding: 6px 12px; border-radius: 14px; background: rgba(var(--card-rgb), .65); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.hm-zug__rolle { grid-row: span 2; font-size: 1.1rem; }
.hm-zug__p b { font-size: .9rem; line-height: 1.1; }
.hm-zug__p small { font-size: .74rem; color: var(--muted); }
.hm-zug__p--geber { opacity: .8; box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .45); }
.hm-zug__p.dran { transform: translateY(-2px) scale(1.06); background: linear-gradient(140deg, rgba(46, 242, 255, .22), rgba(255, 79, 216, .22)); box-shadow: inset 0 0 0 2px #2ef2ff, 0 0 22px rgba(46, 242, 255, .45); }
@media (max-width: 520px) { .hm-spieler__zeile { grid-template-columns: minmax(0, 1fr) auto auto; } .hm-rolle { grid-column: 1 / -1; grid-row: 2; justify-content: stretch; } .hm-rolle__k { flex: 1; } }

/* Wörtel: Raten-Knopf */
.taste--raten { position: relative; max-width: 96px; flex-grow: 2; overflow: hidden; font-size: .86rem; font-weight: 900; letter-spacing: .03em; color: #04131a;
  background: linear-gradient(135deg, #34f5c5 0%, #18d5fe 55%, #8b5cf6 100%); box-shadow: 0 6px 18px rgba(24, 213, 254, .35), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .15s, box-shadow .25s, filter .25s; }
.taste--raten::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); }
.taste--raten:hover { filter: brightness(1.08); transform: translateY(-1px); }
.taste--raten.bereit { box-shadow: 0 0 0 2px #fff, 0 0 26px rgba(52, 245, 197, .75), 0 8px 22px rgba(24, 213, 254, .45); animation: rateBereit 1.2s ease-in-out infinite; }
.taste--raten.bereit::after { animation: rateGlanz 1.6s ease-in-out infinite; }
.taste--raten:disabled { filter: grayscale(.8) brightness(.6); animation: none; cursor: default; }
@keyframes rateBereit { 50% { transform: scale(1.06); } }
@keyframes rateGlanz { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }
.taste--loeschen { background: rgba(253, 92, 120, .18); color: #ffb3c1; box-shadow: inset 0 0 0 1px rgba(253, 92, 120, .35); }
@media (prefers-reduced-motion: reduce) { .taste--raten.bereit, .taste--raten.bereit::after { animation: none; } }

/* Wörtel: Statistik */
.wt-stats { width: min(100%, 520px); margin: 18px auto 0; text-align: left; }
.wt-stats__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.wt-stats__kopf h2 { margin: 0; font-size: 1.1rem; }
.wt-stats__tabs { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.wt-stats__tabs button { padding: 6px 10px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; color: var(--muted); background: none; }
.wt-stats__tabs button.an { color: #04131a; background: linear-gradient(135deg, #34f5c5, #18d5fe); }
.wt-stats__werte { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 8px; }
.wt-stat { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: rgba(var(--bg-rgb), .5); box-shadow: inset 0 0 0 1px var(--line); }
.wt-stat b { font-size: 1.45rem; line-height: 1; }
.wt-stat small { font-size: .72rem; color: var(--muted); text-align: center; }
.wt-stat--gross { background: linear-gradient(150deg, rgba(16, 185, 129, .3), rgba(24, 213, 254, .2)); box-shadow: inset 0 0 0 1px rgba(52, 245, 197, .45), 0 0 22px rgba(16, 185, 129, .2); }
.wt-stat--gross b { font-size: 1.9rem; color: #6effd2; text-shadow: 0 0 14px rgba(52, 245, 197, .6); }
.wt-stats__vert { display: grid; gap: 5px; margin-top: 14px; }
.wt-stats__vert h3 { margin: 0 0 4px; font-size: .86rem; color: var(--muted); }
.wt-vert { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 8px; }
.wt-vert > b { font-size: .82rem; text-align: center; }
.wt-vert__balken { display: flex; justify-content: flex-end; width: max(var(--w), 26px); min-height: 22px; padding: 0 8px; border-radius: 6px; background: #2a3150; transition: width .6s cubic-bezier(.2, .8, .3, 1); }
.wt-vert__balken i { align-self: center; font-style: normal; font-size: .78rem; font-weight: 800; }
.wt-vert__balken.voll { background: linear-gradient(90deg, #6d28d9, #18d5fe); box-shadow: 0 0 10px rgba(24, 213, 254, .25); }
.wt-vert--zuletzt .wt-vert__balken { background: linear-gradient(90deg, #10b981, #34f5c5); box-shadow: 0 0 14px rgba(52, 245, 197, .45); color: #04131a; }
.wt-stats__hinweis { margin: 12px 0 0; }

/* Spielräume: Mitglieder per Nachricht einladen */
.raum-pn { margin: 10px 0; padding: 10px 12px; border-radius: 14px; background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); }
.raum-pn summary { cursor: pointer; font-weight: 700; font-size: .92rem; }
.raum-pn__liste { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.raum-pn__wer { cursor: pointer; }
.einlade-alle { margin-top: 4px; }
.einlade-alle summary { cursor: pointer; font-size: .88rem; color: var(--muted); font-weight: 700; }
.einlade-alle[open] { padding: 10px 12px; border-radius: 14px; background: rgba(var(--bg-rgb), .45); box-shadow: inset 0 0 0 1px var(--line); }
.einlade-alle p { margin: 6px 0 8px; }
.raum-pn__wer input { position: absolute; opacity: 0; pointer-events: none; }
.raum-pn__wer span { display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: .86rem; font-weight: 600; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.raum-pn__wer input:checked + span { color: #04131a; background: linear-gradient(120deg, #34f5c5, #18d5fe); }
.raum-pn__wer input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Hangman online */
.hm-online { width: 100%; }
.hm-online-einst { display: grid; gap: 10px; margin: 10px 0; }
.hm-zug__p.weg { opacity: .4; }
.hm-zug__p.ich b { color: #6effd2; }
.hm-buehne.mein-zug { box-shadow: 0 0 0 3px #34f5c5, 0 0 0 7px rgba(52, 245, 197, .2), 0 24px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(52, 245, 197, .35); }
#hmOnlineSpiel { display: grid; justify-items: center; gap: 12px; }
.hm-feld { display: grid; justify-items: center; gap: 12px; width: 100%; }

/* Nachrichten: Profilbild mit Anfangsbuchstaben bleibt rund (nicht als Textspalte strecken) */
.pn__gespraeche .avatar { flex: none; }
.pn__gespraeche .avatar--initial { display: inline-grid; }

/* Kopfleiste auf dem Handy: alles passt in eine Zeile (Name nur als Symbol), notfalls umbrechen statt seitlich überstehen */
@media (max-width: 520px) {
  .kopf { gap: 8px; }
  .kopf__nav { gap: 6px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
  .kopf__nav .chip { padding: 7px 8px; }
  .kopf__marke span { display: none; }
  .kopf__nav .chip:not(.chip--online) > span { display: none; }
  .kopf__nav .chip--online { padding: 7px 10px; font-size: .82rem; }
}
.hm-profi { justify-content: center; font-size: .9rem; }
.hm-profi b { color: #ff9ff0; }

/* Stadt-Land-Fluss: Antworten anzweifeln und abstimmen */
.slf-zelle { vertical-align: top; }
.slf-zweifel { display: grid; gap: 4px; margin-top: 4px; }
.slf-zweifel__k { justify-self: start; padding: 2px 8px; border: 0; border-radius: 99px; cursor: pointer; font-size: .9rem; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); opacity: .7; transition: opacity .2s, transform .2s; }
.slf-zweifel__k:hover { opacity: 1; transform: scale(1.1); }
.slf-zweifel__info { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.slf-stimmen { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.slf-stimme { min-width: 42px; padding: 4px 9px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 800; color: var(--text); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.slf-stimme--ja.an { color: #04140c; background: #34d399; box-shadow: 0 0 12px rgba(52, 211, 153, .5); }
.slf-stimme--nein.an { color: #fff; background: #f43f5e; box-shadow: 0 0 12px rgba(244, 63, 94, .5); }
.slf-zweifel__weg { padding: 2px 6px; border: 0; cursor: pointer; font: inherit; font-size: .72rem; color: var(--muted); background: none; text-decoration: underline; }
.slf-zelle.zweifel { background: rgba(251, 191, 36, .07); }
.slf-zelle.zweifel--ungueltig .slf-antwort { text-decoration: line-through; opacity: .55; }
.slf-zelle.zweifel--ungueltig small { color: #ff7a8f; }
.slf-zelle.zweifel--halb small { color: #fbbf24; }
.slf-zweifel-tipp { margin-top: 12px; }

/* Stadt-Land-Fluss: Buchstaben-Auslosung */
.slf-los { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; overflow: hidden; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(46, 18, 92, .92), rgba(4, 3, 18, .96) 70%); opacity: 0; transition: opacity .35s; }
.slf-los.an { opacity: 1; }
.slf-los.weg { opacity: 0; transition: opacity .5s .1s; background: transparent; }
.slf-los > * { grid-area: 1 / 1; }
.slf-los__funken { position: absolute; inset: 0; width: 100%; height: 100%; }
.slf-los__ring { position: relative; width: min(82vw, 380px); aspect-ratio: 1; border-radius: 50%; animation: slfRing 1.1s linear infinite;
  box-shadow: 0 0 0 2px rgba(46, 242, 255, .25), inset 0 0 60px rgba(255, 79, 216, .25), 0 0 80px rgba(139, 92, 246, .35); }
.slf-los.gelandet .slf-los__ring { animation: slfRing 6s linear infinite; }
@keyframes slfRing { to { transform: rotate(360deg); } }
.slf-los__ringb { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; font-weight: 900; font-size: 1rem; color: rgba(255, 255, 255, .45);
  transform: rotate(var(--w)) translateY(calc(min(82vw, 380px) / -2 + 22px)); transition: color .3s, text-shadow .3s; }
.slf-los.gelandet .slf-los__ringb.ziel { color: #fff; text-shadow: 0 0 12px #ffd166, 0 0 24px #ff4fd8; font-size: 1.3rem; }
.slf-los__kachel { --farbe: 0; position: relative; z-index: 2; width: min(46vw, 190px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 34px;
  background: linear-gradient(145deg, hsl(calc(var(--farbe) * 1deg) 95% 62%), hsl(calc(var(--farbe) * 1deg + 70deg) 90% 55%));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 0 40px hsl(calc(var(--farbe) * 1deg) 95% 60% / .8), 0 30px 70px rgba(0, 0, 0, .6); transform: scale(.4) rotate(-12deg); animation: slfRein .5s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes slfRein { to { transform: scale(1) rotate(0); } }
.slf-los__kachel.dreht .slf-los__b { animation: slfFlip .12s ease-out; }
@keyframes slfFlip { from { transform: translateY(-35%) scaleY(.6); opacity: .3; filter: blur(2px); } }
.slf-los__b { font-size: min(30vw, 128px); font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .25), 0 0 26px rgba(255, 255, 255, .6); }
.slf-los.gelandet .slf-los__kachel { animation: slfLanden .7s cubic-bezier(.2, 1.8, .4, 1) forwards; background: linear-gradient(145deg, #ffd166, #ff4fd8 55%, #8b5cf6);
  box-shadow: 0 0 0 5px #fff, 0 0 60px rgba(255, 209, 102, .9), 0 0 120px rgba(255, 79, 216, .7), 0 30px 70px rgba(0, 0, 0, .6); }
@keyframes slfLanden { 0% { transform: scale(1); } 35% { transform: scale(1.35) rotate(4deg); } 65% { transform: scale(.94) rotate(-2deg); } 100% { transform: scale(1.08); } }
.slf-los__wellen { position: relative; width: 10px; height: 10px; }
.slf-los__wellen i { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 3px solid #fff; opacity: 0; }
.slf-los.gelandet .slf-los__wellen i { animation: slfWelle 1s ease-out forwards; }
.slf-los.gelandet .slf-los__wellen i:nth-child(2) { animation-delay: .12s; border-color: #ff4fd8; }
.slf-los.gelandet .slf-los__wellen i:nth-child(3) { animation-delay: .24s; border-color: #2ef2ff; }
@keyframes slfWelle { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.slf-los__titel { align-self: start; margin-top: max(12vh, 70px); font-size: clamp(1.4rem, 6vw, 2.2rem); font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, #2ef2ff, #ff4fd8, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(255, 79, 216, .5)); }
.slf-los__unter { align-self: end; margin-bottom: max(14vh, 80px); font-size: 1.05rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.slf-los.gelandet .slf-los__unter { font-size: 1.35rem; color: #ffd166; text-shadow: 0 0 14px rgba(255, 209, 102, .6); }
.slf-buchstabe--neu { animation: slfBadge .6s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes slfBadge { 0% { transform: scale(1.4); box-shadow: 0 0 0 4px #fff, 0 0 50px rgba(255, 209, 102, .9); } }
@media (prefers-reduced-motion: reduce) { .slf-los__ring, .slf-los__kachel, .slf-los.gelandet .slf-los__kachel, .slf-los.gelandet .slf-los__wellen i { animation: none; transform: none; } }

/* Hangman: Spielfeld bleibt immer auf dem Bildschirm, Kacheln passen sich der Wortlänge an */
.hm, .hm-feld, #hmOnlineSpiel, .raum-haupt { min-width: 0; max-width: 100%; }
.hm-buehne, .hm-tastatur, .hm-zug, .hm-wort { max-width: 100%; }
.hm-wort { width: 100%; gap: 10px 18px; }
.hm-gruppe { flex-wrap: wrap; justify-content: center; gap: var(--hml, 7px); }
.hm-z { width: var(--hmz, clamp(26px, 7.2vw, 42px)); height: calc(var(--hmz, 38px) * 1.3); font-size: calc(var(--hmz, 38px) * .62); border-radius: calc(var(--hmz, 38px) * .24); }
.hm-z--zeichen { width: auto; min-width: calc(var(--hmz, 38px) * .5); }
.hm-tastatur .tastatur__reihe { gap: 4px; }
.hm-tastatur .taste { padding: 0; }
.hm-zug { width: 100%; }
.hm-zug__p { min-width: 0; }
.hm-zug__p b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34vw; }

/* Hinweis für gesperrte Konten */
.sperre-hinweis { width: min(100% - 32px, 640px); margin: 12px auto 18px; padding: 14px 16px; border-radius: 14px; font-weight: 600; line-height: 1.5; color: #ffd3dc; background: rgba(253, 92, 120, .12); box-shadow: inset 0 0 0 1px rgba(253, 92, 120, .45); }

/* Passwort vergessen */
.auth__vergessen { float: right; font-size: .85rem; font-weight: 600; color: var(--cyan); text-decoration: none; }
.auth__vergessen:hover { text-decoration: underline; }
.pw-schritte { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; color: var(--text); }
.pw-hinweis { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.pw-hinweis .af-ik { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.pw-code { font-size: 1.35rem !important; letter-spacing: .45em; font-variant-numeric: tabular-nums; }

/* ---------- Zuklappbare Anleitungen und Hinweise (zuklappen.js) ---------- */
.zuklapp > h2, .zuklapp > h3 { margin: 0; }
.zuklapp__kopf { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.zuklapp__kopf { flex-wrap: wrap; }
.zuklapp__kopf small { order: 2; flex-basis: 100%; font-weight: 400; }
.zuklapp__pfeil { margin-left: auto; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .06); transition: transform .25s var(--ease); }
.zuklapp__pfeil::before { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.zuklapp:not(.zu) .zuklapp__pfeil { transform: rotate(180deg); }
.zuklapp__inhalt { margin-top: 12px; }
.zuklapp.zu { padding-top: 14px; padding-bottom: 14px; }
.zuklapp.zu .zuklapp__kopf { opacity: .85; }
.hinweis-weg { position: relative; padding-right: 30px; }
.hinweis-weg__x { position: absolute; top: -2px; right: 0; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 7px; cursor: pointer; font-size: .72rem; line-height: 24px; color: var(--muted); background: transparent; opacity: .6; }
.hinweis-weg__x:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.hinweise-zurueck { display: block; margin: 8px auto 0; padding: 6px 12px; border: 0; border-radius: 99px; cursor: pointer; font: inherit; font-size: .8rem; color: var(--muted); background: rgba(255, 255, 255, .04); }
.hinweise-zurueck[hidden] { display: none; }
@media print { .zuklapp__pfeil, .hinweis-weg__x, .hinweise-zurueck { display: none; } }

/* Datei-Abholung: Fortschritt beim Hochladen in Stücken */
.hochladen { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: rgba(var(--cyan-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .3); }
.hochladen[hidden] { display: none; }
.hochladen__kopf, .hochladen__info { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hochladen__kopf b { overflow-wrap: anywhere; }
.hochladen__kopf span { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--cyan); }
.hochladen__info { color: var(--muted); font-size: .88rem; }
.hochladen__balken { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.hochladen__balken i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad); transition: width .3s; }


/* Datei-Abholung: dicke rote Warnung bei Programmen, Skripten, Makro-Dokumenten */
.datei-warnung { display: grid; gap: 10px; padding: 18px; border-radius: 16px; color: #fff; text-align: left;
  background: linear-gradient(160deg, #b91c1c, #7f1d1d); border: 3px solid #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .25), 0 12px 40px rgba(220, 38, 38, .45);
  animation: dateiWarnPuls 2.4s ease-in-out infinite; }
.datei-warnung__kopf { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; line-height: 1.25; }
.datei-warnung__kopf span { font-size: 2.2rem; line-height: 1; }
.datei-warnung p, .datei-warnung ul { margin: 0; }
.datei-warnung ul { padding-left: 1.2em; display: grid; gap: 4px; }
.datei-warnung__extra { padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .28); font-weight: 600; }
.datei-warnung__ok { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; cursor: pointer; background: rgba(0, 0, 0, .3); font-weight: 600; }
.datei-warnung__ok input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #ef4444; }
@keyframes dateiWarnPuls { 50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, .18), 0 12px 46px rgba(220, 38, 38, .6); } }
@media (prefers-reduced-motion: reduce) { .datei-warnung { animation: none; } }
html[data-anim="aus"] .datei-warnung { animation: none; }

/* Freunde (2026-11) */
.freunde-einladung { display: grid; justify-items: center; gap: 10px; text-align: center; }
.freunde-einladung h2 { margin: 0; }
.freunde-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.freunde-liste li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.freunde-liste li > span { display: grid; flex: 1; min-width: 140px; }
.freunde-liste small { color: var(--muted); }
.freunde-liste form { display: flex; gap: 6px; }
.freunde-link { display: flex; gap: 8px; flex-wrap: wrap; }
.freunde-link input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: .9rem; padding: 10px 12px; border-radius: 12px; border: 0; color: var(--text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.freunde-qr { margin-top: 12px; } .freunde-qr summary { cursor: pointer; color: var(--muted); }
.freunde-qr #freundQr { width: 200px; max-width: 100%; margin-top: 10px; padding: 8px; background: #fff; border-radius: 12px; }
.freunde-qr #freundQr svg { display: block; width: 100%; height: auto; }
.freunde-karte > a { display: grid; min-width: 0; color: inherit; text-decoration: none; }
.freunde-karte > a:nth-child(2) { flex: 1; }
.freunde-karte small { color: var(--muted); }
.freunde-karte__knopf { display: flex !important; gap: 6px; }
.profil-gesperrt { display: inline-block; margin-top: 6px; }
.konto-loeschen { margin-top: 14px; } .konto-loeschen summary { cursor: pointer; color: var(--muted); }
.konto-loeschen .formular { margin-top: 10px; }
.neu-schalter { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 14px 16px; }
/* Größere Tippflächen am Handy (mind. ~36 px hoch) */
.zurueck { display: inline-flex; align-items: center; min-height: 36px; }
.zuklapp__kopf { min-height: 40px; }
.freunde-qr > summary, .konto-loeschen > summary { display: flex; align-items: center; gap: 6px; min-height: 36px; list-style: none; }
.freunde-qr > summary::-webkit-details-marker, .konto-loeschen > summary::-webkit-details-marker { display: none; }
.freunde-qr > summary::before, .konto-loeschen > summary::before { content: "▸"; display: inline-block; transition: transform .2s; }
.freunde-qr[open] > summary::before, .konto-loeschen[open] > summary::before { transform: rotate(90deg); }
.freunde-karte > a:nth-child(2) { min-height: 36px; align-content: center; }
.schach-trainer-link { display: inline-flex; margin: 0 0 14px; }

/* Memory: Kartenrückseiten im Sammelkarten-Look (2026-11) – Rautenmuster, Doppelrahmen, Neon-Medaillon, Hologramm-Glanz */
.karte-m__vorne {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(var(--magenta-rgb), .9) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 86% 12%, rgba(var(--cyan-rgb), .9) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 14% 88%, rgba(var(--cyan-rgb), .9) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 86% 88%, rgba(var(--magenta-rgb), .9) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 50% 50%, rgba(var(--cyan-rgb), .28), transparent 46%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .055) 0 1.5px, transparent 1.5px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .055) 0 1.5px, transparent 1.5px 9px),
    linear-gradient(150deg, #241052 0%, #0c1638 48%, #3a0d45 100%);
  box-shadow: inset 0 0 0 1.5px rgba(var(--cyan-rgb), .75), inset 0 0 0 5px rgba(5, 8, 22, .85), inset 0 0 0 6.5px rgba(var(--magenta-rgb), .6),
    inset 0 0 22px rgba(var(--cyan-rgb), .18), 0 6px 16px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease), filter .25s, box-shadow .25s;
}
/* Hologramm-Glanz */
.karte-m__vorne::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .28) 46%, rgba(var(--cyan-rgb), .22) 50%, rgba(var(--magenta-rgb), .22) 54%, transparent 62%);
  animation: memGlanz 5.5s ease-in-out infinite; transform: translateX(-60%);
}
.karte-m:nth-child(3n) .karte-m__vorne::before { animation-delay: -1.8s; }
.karte-m:nth-child(3n+1) .karte-m__vorne::before { animation-delay: -3.6s; }
@keyframes memGlanz { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
/* Medaillon mit „bp“ */
.karte-m__vorne::after {
  content: "bp"; position: relative; z-index: 1; display: grid; place-items: center; width: 50%; aspect-ratio: 1; border-radius: 50%;
  font-weight: 900; font-size: clamp(.95rem, 4.6vw, 1.55rem); letter-spacing: -.04em; color: #f4f6ff;
  text-shadow: 0 0 6px rgba(var(--cyan-rgb), .9), 0 0 14px rgba(var(--magenta-rgb), .6);
  background: radial-gradient(circle at 35% 30%, #26306a, #0b1024 70%);
  box-shadow: 0 0 0 1.5px rgba(var(--cyan-rgb), .85), 0 0 0 4px rgba(5, 8, 22, .9), 0 0 0 5.5px rgba(var(--magenta-rgb), .7), 0 0 18px rgba(var(--cyan-rgb), .45), inset 0 0 10px rgba(var(--magenta-rgb), .35);
}
.karte-m:not(.auf):not(.weg):hover .karte-m__vorne, .karte-m:not(.auf):not(.weg):focus-visible .karte-m__vorne {
  transform: translateY(-3px) scale(1.03); filter: brightness(1.18) saturate(1.15);
  box-shadow: inset 0 0 0 1.5px rgba(var(--cyan-rgb), 1), inset 0 0 0 5px rgba(5, 8, 22, .85), inset 0 0 0 6.5px rgba(var(--magenta-rgb), .85), inset 0 0 26px rgba(var(--cyan-rgb), .3), 0 10px 24px rgba(0, 0, 0, .5), 0 0 22px rgba(var(--cyan-rgb), .3);
}
.karte-m:not(.auf):not(.weg):hover .karte-m__vorne::before { animation-duration: 1.6s; }
@media (prefers-reduced-motion: reduce) { .karte-m__vorne::before { animation: none; opacity: .5; transform: none; } }
html[data-ruhig="1"] .karte-m__vorne::before { animation: none; opacity: .5; transform: none; }

/* ---------- Gut zu wissen ---------- */
.wissen-leiste { display: grid; gap: 10px; margin: 4px 0 14px; }
.wissen-kats { display: flex; flex-wrap: wrap; gap: 6px; }
.wissen-kats .chip { border: 0; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.wissen-liste { display: grid; gap: 10px; }
.wissen-art { padding: 0; overflow: hidden; }
.wissen-art > summary { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.wissen-art > summary::-webkit-details-marker { display: none; }
.wissen-art > summary::after { content: "›"; grid-column: 3; grid-row: 1 / 3; font-size: 1.5rem; color: var(--muted); transition: transform .25s; }
.wissen-art[open] > summary::after { transform: rotate(90deg); }
.wissen-art > summary b { font-size: 1.02rem; }
.wissen-art > summary small { grid-column: 2; color: var(--muted); font-size: .85rem; }
.wissen-em { grid-row: 1 / 3; font-size: 1.7rem; line-height: 1; }
.wissen-inhalt { padding: 0 16px 16px; line-height: 1.6; }
.wissen-inhalt h3 { margin: 18px 0 6px; font-size: 1rem; }
.wissen-inhalt ul, .wissen-inhalt ol { padding-left: 1.3em; margin: 8px 0; }
.wissen-inhalt li { margin: 5px 0; }
.wissen-schritte li::marker { font-weight: 700; color: var(--cyan); }
.wissen-inhalt b.rot { color: #ff6b6b; } .wissen-inhalt b.schwarz { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.wissen-tabelle { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .92rem; }
.wissen-tabelle th, .wissen-tabelle td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wissen-tabelle th { color: var(--muted); font-weight: 600; }
.wissen-tipp { margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: rgba(var(--cyan-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--cyan-rgb), .22); }
.wissen-quelle { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.wissen-quelle a { color: var(--cyan); }
.wissen-tisch svg, .wissen-werkzeug svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 6px auto 10px; border-radius: 14px; }
.wissen-werkzeug { margin: 12px 0; padding: 12px; border-radius: 14px; background: rgba(var(--tief-rgb), .5); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.spiegel { touch-action: none; }
.sp-kugel { cursor: grab; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.sp-info { margin: 4px 0; font-size: .9rem; }
.gw-ergebnis { margin: 10px 0 0; }
.gw-warn { color: #ff9f43; font-weight: 700; }
.wissen-hinweis { margin-top: 18px; text-align: center; }
.wissen-leiste .suche { position: relative; display: flex; align-items: center; }
.wissen-leiste .suche svg { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.wissen-leiste .suche input { width: 100%; min-height: 42px; padding: 9px 14px 9px 38px; border: 0; border-radius: 99px; font: inherit; font-size: .95rem; color: var(--text); background: rgba(var(--card-rgb), .7); box-shadow: inset 0 0 0 1px var(--line); outline: none; }
.wissen-leiste .suche input:focus { box-shadow: inset 0 0 0 1.5px rgba(var(--cyan-rgb), .8); }
.wissen-liste > .karte { margin: 0; }
/* Grafiken */
.wissen-bild { margin: 12px auto 14px; text-align: center; }
.wissen-bild svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.wissen-bild--klein svg { max-width: 260px; }
.wissen-bild figcaption { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.wissen-schritte .wissen-bild { margin: 10px 0; }
.sv-titel { fill: var(--text); font-size: 14px; font-weight: 700; } .sv-klein { fill: var(--muted); font-size: 11px; } .sv-weiss { fill: #fff; font-weight: 700; }
.sv-pol { fill: var(--text); font-size: 16px; font-weight: 700; } .sv-warn { fill: #f87171; font-size: 11px; font-weight: 600; }
.sv-nr { fill: #22d3ee; } .sv-nrt { fill: #04111a; font-size: 13px; font-weight: 800; } .sv-dunkel { fill: #1f2937; } .sv-gruen { fill: #16a34a; font-size: 14px; }
.sv-stern { animation: svStern 3s linear infinite; } @keyframes svStern { to { stroke-dashoffset: -66; } }
.sv-puls { transform-box: fill-box; transform-origin: center; animation: svPuls 1.1s ease-in-out infinite; } @keyframes svPuls { 50% { transform: scale(1.18); opacity: .75; } }
.sv-luft { stroke-dasharray: 12 8; animation: svLuft 1.2s linear infinite; } @keyframes svLuft { to { stroke-dashoffset: -40; } }
/* Pokerkarten */
.pk-liste { list-style: none; padding: 0 !important; margin: 10px 0; display: grid; gap: 8px; }
.pk-liste li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(var(--tief-rgb), .5); box-shadow: inset 0 0 0 1px var(--line); margin: 0 !important; }
.pk-liste li > div { display: grid; } .pk-liste li small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.pk-liste .pk-hand { grid-column: 1 / -1; }
.pk-rang { grid-row: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #04111a; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.pk-liste li:nth-child(n+4) .pk-rang { background: linear-gradient(135deg, #a5f3fc, #22d3ee); } .pk-liste li:nth-child(n+8) .pk-rang { background: linear-gradient(135deg, #e5e7eb, #9ca3af); }
.pk-hand { display: flex; gap: 5px; }
.pk { position: relative; display: grid; place-items: center; width: clamp(34px, 11vw, 46px); aspect-ratio: 5 / 7; border-radius: 6px; background: linear-gradient(160deg, #fff, #eef0f4); color: #111827; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); line-height: 1; }
.pk b { position: absolute; top: 4px; left: 5px; font-size: .78rem; } .pk i { font-style: normal; font-size: 1.35rem; }
.pk--rot { color: #dc2626; } .pk--aus { opacity: .35; filter: grayscale(1); }
/* Wiederbelebung */
.hlw { display: flex; align-items: center; gap: 16px; text-align: left; }
.hlw-herz { width: 72px; flex: none; transform-origin: center; animation: hlwSchlag .545s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(239, 68, 68, .6)); }
@keyframes hlwSchlag { 0%, 100% { transform: scale(1); } 15% { transform: scale(.82); } }
.hlw div { display: grid; gap: 6px; justify-items: start; } .hlw-zahl { font-size: 1.6rem; } .hlw small { color: var(--muted); }
/* FAST */
.fast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.fast__kachel { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: rgba(var(--tief-rgb), .55); box-shadow: inset 0 0 0 1px var(--line); }
.fast__kachel svg { width: 48px; height: 48px; } .fast__kachel b { font-size: 1.3rem; color: var(--cyan); } .fast__kachel small { font-size: .75rem; color: var(--muted); }
.fast__kachel--zeit { box-shadow: inset 0 0 0 2px rgba(239, 68, 68, .7); } .fast__kachel--zeit b { color: #f87171; }
/* Lüften */
.lueft { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.lueft__fall { margin: 0; padding: 10px; border-radius: 14px; text-align: center; background: rgba(var(--tief-rgb), .5); }
.lueft__fall svg { width: 100%; max-width: 150px; height: auto; } .lueft__fall figcaption { display: grid; } .lueft__fall small { color: var(--muted); font-size: .78rem; }
.lueft__fall--gut { box-shadow: inset 0 0 0 2px rgba(34, 197, 94, .6); } .lueft__fall--schlecht { box-shadow: inset 0 0 0 2px rgba(239, 68, 68, .55); }
.feuchte { margin: 6px 0 14px; } .feuchte small { color: var(--muted); font-size: .78rem; }
.feuchte__balken { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #f59e0b, #fde68a 30%, #fde68a 70%, #60a5fa); }
.feuchte__gut { position: absolute; top: -3px; bottom: -3px; border-radius: 6px; background: #22c55e; box-shadow: 0 0 12px rgba(34, 197, 94, .7); }
.feuchte__skala { position: relative; height: 18px; font-size: .72rem; color: var(--muted); } .feuchte__skala span { position: absolute; transform: translateX(-50%); } .feuchte__skala span:first-child { transform: none; } .feuchte__skala span:last-child { transform: translateX(-100%); }
@media (prefers-reduced-motion: reduce) { .sv-stern, .sv-puls, .sv-luft, .hlw-herz { animation: none; } }
.wissen-werkzeug .hlw-herz { width: 72px; max-width: 72px; margin: 0; }
/* Knoten-Player (wissen/knoten.js) */
.knoten { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; scroll-margin-top: 90px; }
.knoten h3 { margin-bottom: 2px; }
.knoten-wofuer { color: var(--muted); margin: 0 0 10px; font-size: .92em; }
.knoten-sprung { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.knoten-sprung a { padding: 5px 11px; border-radius: 999px; background: rgba(var(--tief-rgb), .5); box-shadow: inset 0 0 0 1px var(--line); font-size: .85em; font-weight: 600; color: inherit; text-decoration: none; transition: background .15s; }
.knoten-sprung a:hover { background: rgba(var(--cyan-rgb), .16); }
.knoten-player { max-width: 520px; margin: 0 auto 10px; padding: 10px 10px 8px; border-radius: 18px; background: radial-gradient(ellipse at 50% 35%, rgba(var(--cyan-rgb), .1), transparent 70%), rgba(var(--tief-rgb), .6); box-shadow: inset 0 0 0 1px var(--line); }
.kn-svg { display: block; width: 100%; height: auto; max-height: 320px; }
.kn-rand { fill: none; stroke: #0b1024; stroke-linejoin: round; }
.kn-seil { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kn-dreh { fill: none; stroke: #fff; stroke-opacity: .38; stroke-dasharray: 3 6; }
.kn-spitze { fill: #fff; fill-opacity: .3; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: knPuls .9s ease-in-out infinite; }
@keyframes knPuls { 50% { transform: scale(1.35); fill-opacity: .1; } }
.kn-leiste { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.kn-k { white-space: nowrap; min-width: 38px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(var(--cyan-rgb), .15); color: inherit; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, transform .1s; }
.kn-k:hover { background: rgba(var(--cyan-rgb), .28); } .kn-k:active { transform: scale(.94); }
.kn-k:focus-visible { outline: 2px solid rgb(var(--cyan-rgb)); outline-offset: 2px; }
.kn-nochmal { margin-left: auto; font-size: .88em; }
.kn-punkte { display: flex; gap: 2px; }
.kn-punkte i { width: 22px; height: 22px; cursor: pointer; position: relative; }
.kn-punkte i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.kn-punkte i.an::after { background: rgb(var(--cyan-rgb)); transform: scale(1.15); }
.kn-text { min-height: 2.9em; margin: 6px 2px 0; font-size: .93em; }
.kn-text b { color: rgb(var(--cyan-rgb)); margin-right: 4px; }
@media (max-width: 520px) { .kn-nochmal { padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .kn-spitze { animation: none; } }
