/* =====================================================================
   ERIK BYTE – Design
   Warmes Schwarz, cremefarbene Schrift, eine Akzentfarbe (Lime).
   Flache Flächen statt Verläufe, Muster statt Glow.
   ===================================================================== */
:root {
  --bg: #0f0f0d; --bg2: #151513;
  --panel: #1a1a17; --panel2: #21211d; --panel3: #2b2b26;
  --line: rgba(243, 239, 228, .08); --line2: rgba(243, 239, 228, .16);
  --text: #f3efe4; --muted: #a8a397; --dim: #807b70;
  --accent: #d7ff3c; --accent-ink: #151a00;
  --pink: #ff6b8b; --cyan: #5cc8ff; --gold: #f2c14e; --green: #7ee08a; --red: #ff5a4e; --purple: #b69cff; --orange: #ff9a4d;
  --accent2: var(--purple);
  --up: #7ee08a; --down: #ff6b5e;
  --radius: 14px;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.45;
  min-height: 100vh; min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(215, 255, 60, .35); }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 10px clamp(16px, 3vw, 32px);
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(15, 15, 13, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.logo-mark i { border-radius: 3px; background: var(--text); }
.logo-mark i:nth-child(2) { background: var(--accent); border-radius: 50%; }
.logo-mark i:nth-child(3) { background: transparent; border: 3px solid var(--text); }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.4px; }
.search { flex: 1; max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--dim); transition: border-color .2s; }
.search:focus-within { border-color: var(--line2); color: var(--text); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--dim); }
.top-actions { position: relative; display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 10px; background: transparent; border: 1px solid var(--line2); display: grid; place-items: center; text-decoration: none; color: var(--text); transition: background .15s; }
.icon-btn:hover { background: var(--panel2); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.online-btn { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; font-size: 14px; color: var(--muted); }
.online-btn:hover { background: var(--panel2); }
.online-btn b { font-family: var(--mono); color: var(--text); font-weight: 600; }
.online-btn b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; }
.online-pop { position: absolute; top: calc(100% + 10px); right: 0; width: min(340px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); padding: 6px; z-index: 40; }
.online-pop .pop-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 10px 8px; font-size: 14px; }
.online-pop ul { list-style: none; margin: 0; padding: 0; }
.online-pop li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.online-pop li:hover { background: var(--panel2); }
.online-pop .on-name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.online-pop .on-name small { flex-basis: 100%; color: var(--muted); font-weight: 400; font-size: 12px; }
.user-btn { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; max-width: 200px; transition: background .15s; }
.user-btn:hover { background: var(--panel2); }
.avatar { --av: var(--muted); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #121210; background: var(--av); flex-shrink: 0; position: relative; }
.avatar.guest { background: var(--panel3); color: var(--muted); }
.avatar.guest .ic { width: 16px; height: 16px; }
.avatar.xs { width: 24px; height: 24px; font-size: 11px; }
.avatar.big { width: 56px; height: 56px; font-size: 22px; }
.user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sync-dot { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid var(--panel); }
.sync-dot[data-state=off] { background: var(--gold); }
.sync-dot[data-state=err] { background: var(--red); }

/* ---------- Abzeichen (Tags) ---------- */
.tag-badge { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 4px 6px 3px; border-radius: 5px; color: #141410; background: var(--gold); vertical-align: 2px; margin-left: 6px; white-space: nowrap; }
.t-gold { background: var(--gold); } .t-lime { background: var(--accent); } .t-sky { background: var(--cyan); } .t-coral { background: var(--pink); }
.t-violet { background: var(--purple); } .t-mint { background: var(--green); } .t-red { background: var(--red); color: #fff; } .t-white { background: var(--text); }
.pill-mini { font-size: 11px; color: var(--muted); border: 1px solid var(--line2); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Layout ---------- */
main, .stage-wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

/* ---------- Highlight ---------- */
.featured { display: grid; grid-template-columns: 1fr 320px; gap: 16px; padding: 24px 0 8px; }
.feat-slide {
  position: relative; overflow: hidden; min-height: 320px; border-radius: 20px; padding: clamp(22px, 4vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  animation: slideIn .45s ease-out;
}
.feat-slide::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .13) 0 14px, transparent 14px 34px); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 35%, #000 75%); }
@keyframes slideIn { from { opacity: 0; transform: translateY(6px); } }
.feat-icon { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 clamp(10px, 4vw, 56px) 4px 0; font-size: clamp(130px, 18vw, 220px); line-height: 1.1; pointer-events: none; }
.feat-slide > *:not(.feat-icon) { position: relative; z-index: 1; max-width: 540px; }
.feat-eyebrow { align-self: flex-start; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(15, 15, 13, .78); }
.feat-slide h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 68px); line-height: .95; margin: 6px 0 4px; letter-spacing: -1.5px; }
.feat-slide p { margin: 0; color: rgba(243, 239, 228, .86); font-size: 17px; max-width: 440px; }
.feat-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.feat-dots { display: flex; gap: 6px; }
.feat-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(243, 239, 228, .35); transition: width .3s, background .3s; }
.feat-dots button.on { width: 24px; background: var(--text); }
.side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.side-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.side-head h4 { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
.side-head span { font-size: 12px; }
.online-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.online-list li { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: center; padding: 5px 2px; }
.online-list .on-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.online-list small { grid-column: 2; color: var(--muted); font-size: 12px; margin-top: -2px; }
.online-list .more, .online-list .empty-on { display: block; font-size: 13px; color: var(--muted); padding: 4px 2px; }
.quick { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 8px; }
.quick a, .quick button { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; background: none; border: 0; text-decoration: none; text-align: left; font-weight: 600; transition: background .15s; }
.quick a:hover, .quick button:hover { background: var(--panel2); }
.quick .ic { width: 20px; height: 20px; color: var(--accent); }
.quick small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; }
.stat span { display: block; font-family: var(--mono); font-size: 20px; font-weight: 600; }
.stat small { color: var(--muted); font-size: 12px; }

/* ---------- Buttons ---------- */
.btn { border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .1s, background .15s, border-color .15s, opacity .15s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .38; }
.btn-primary, .btn-pink { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover:not(:disabled), .btn-pink:hover:not(:disabled) { background: #e3ff6e; }
.btn-gold { background: var(--gold); color: #241900; }
.btn-cyan { background: var(--cyan); color: #00182a; }
.btn-green { background: var(--green); color: #052310; }
.btn-gold:hover:not(:disabled), .btn-cyan:hover:not(:disabled), .btn-green:hover:not(:disabled) { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line2); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--panel2); }
.btn-ink, .btn-white { background: #0f0f0d; color: var(--text); }
.btn-ink:hover, .btn-white:hover { background: #000; }
.btn-danger { background: var(--red); color: #fff; }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.small .ic { width: 15px; height: 15px; }
.btn.big { padding: 13px 26px; font-size: 16px; }
.btn.on { border-color: var(--accent); color: var(--accent); background: rgba(215, 255, 60, .08); }
.btn small { font-family: var(--mono); font-weight: 500; opacity: .8; margin-left: 4px; }
.btn.danger:hover { border-color: var(--red); color: var(--red-t, var(--red)); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chip { border: 1px solid var(--line2); background: transparent; color: var(--text); padding: 7px 11px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.swatch { width: 32px; height: 32px; border-radius: 8px; border: 2px solid transparent; padding: 0; }
.swatch.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--bg) inset; }

/* ---------- Filter & Abschnitte ---------- */
.guest-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 18px; margin: 14px 0 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); font-size: 15px; }
.filters { position: sticky; top: 61px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; margin: 6px 0 0; background: var(--bg); scrollbar-width: none; border-bottom: 1px solid var(--line); }
.filters::-webkit-scrollbar { display: none; }
.chip-tab { flex-shrink: 0; background: transparent; border: 1px solid var(--line2); padding: 7px 14px; border-radius: 999px; font-weight: 600; color: var(--muted); font-size: 14px; transition: all .15s; }
.chip-tab:hover { color: var(--text); }
.chip-tab.active { color: var(--bg); background: var(--text); border-color: var(--text); }
.section { margin: 26px 0 34px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.5px; flex: 1; }
.section-head .count { color: var(--dim); font-family: var(--mono); font-size: 13px; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 14px; }

/* ---------- Spielkarten: flache Cover mit Muster ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.grid.compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card {
  position: relative; overflow: hidden; text-align: left; padding: 0; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), border-color .2s;
  animation: cardIn .35s ease-out both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.card-art { position: relative; display: block; width: 100%; flex-shrink: 0; overflow: hidden; } /* Safari streckt in <button>-Flexboxen leere Flächen nicht – Breite fest vorgeben */
.card-art::after { content: ''; display: block; padding-top: 62.5%; } /* Platzhalter gibt die Höhe – ohne aspect-ratio */
.card-art::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.card-art[data-p=stripes]::before { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 10px, transparent 10px 24px); }
.card-art[data-p=dots]::before { background: radial-gradient(rgba(0, 0, 0, .24) 2.6px, transparent 3.2px) 0 0 / 16px 16px; }
.card-art[data-p=grid]::before { background: linear-gradient(rgba(0, 0, 0, .16) 2px, transparent 2px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(0, 0, 0, .16) 2px, transparent 2px) 0 0 / 22px 22px; }
.card-art[data-p=rings]::before { background: repeating-radial-gradient(circle at 85% 100%, rgba(0, 0, 0, .18) 0 9px, transparent 9px 20px); }
.card-art[data-p=diag]::before { background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .16) 0 9px, transparent 9px 22px); }
.card-art[data-p=checks]::before { background: conic-gradient(rgba(0, 0, 0, .17) 25%, transparent 0 50%, rgba(0, 0, 0, .17) 0 75%, transparent 0) 0 0 / 30px 30px; }
.card-art[data-p=waves]::before { background: radial-gradient(circle at 50% 100%, transparent 8px, rgba(0, 0, 0, .18) 9px 12px, transparent 13px) 0 0 / 26px 14px; }
.card-art[data-p=bars]::before { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .17) 0 5px, transparent 5px 14px); }
.card-cat { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: rgba(15, 15, 13, .8); padding: 4px 7px; border-radius: 6px; }
.card-icon { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 8% 3% 0; font-size: clamp(58px, 6vw, 80px); line-height: 1.1; pointer-events: none; }
/* Emojis ohne Filter/Drehung: so zeichnet sie auch ein älteres Safari zuverlässig */
.card-icon > span, .feat-icon > span { display: block; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; text-shadow: 5px 6px 0 rgba(0, 0, 0, .28); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.badge-new, .badge-live { position: absolute; top: 10px; right: 10px; z-index: 1; font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; }
.badge-new { background: var(--accent); color: var(--accent-ink); }
.badge-live { background: rgba(15, 15, 13, .8); color: var(--text); }
.badge-live::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--red); vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: var(--line2); }
  .card:hover .card-icon > span { transform: rotate(-6deg) scale(1.08); }
}
.card:active { transform: scale(.985); }
.card-body { width: 100%; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot { color: var(--dim); text-align: center; padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 13px; border-top: 1px solid var(--line); margin-top: 20px; }

/* ---------- Spielbühne ---------- */
.stage-wrap:fullscreen, .stage-wrap:-webkit-full-screen { max-width: none; width: 100%; height: 100%; overflow: auto; background: var(--bg); padding-top: 8px; }
.stage-bar { display: flex; align-items: center; gap: 10px; padding: 16px 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.stage-bar h2 { flex: 1; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.5px; min-width: 140px; }
.stage-hs { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 48px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hud { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pill { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 500; }
.pill b { color: var(--accent); font-family: var(--mono); font-weight: 600; }
.hint { color: var(--muted); font-size: 13px; margin: 0; text-align: center; }
.game-canvas { display: block; max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line2); background: #0a0a09; touch-action: none; user-select: none; -webkit-user-select: none; }
.msg { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 2.4vw, 22px); min-height: 1.4em; text-align: center; }
.msg.win { color: var(--green-t, var(--green)); }
.msg.lose { color: var(--red-t, var(--red)); }
.wallet { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: rgba(242, 193, 78, .1); border: 1px solid rgba(242, 193, 78, .35); font-family: var(--mono); font-weight: 600; color: var(--gold-t, var(--gold)); white-space: nowrap; }
.wallet.pulse-up { animation: pulseUp .5s; }
.wallet.pulse-down { animation: pulseDown .4s; }
@keyframes pulseUp { 50% { transform: scale(1.08); background: rgba(126, 224, 138, .18); } }
@keyframes pulseDown { 50% { transform: scale(.95); } }

.bet { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.bet label { color: var(--muted); font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.bet-val { font-family: var(--mono); min-width: 110px; text-align: center; background: var(--bg2); border: 1px solid rgba(242, 193, 78, .35); color: var(--gold-t, var(--gold)); padding: 9px 12px; border-radius: 10px; font-weight: 600; }
.bet .btn { padding: 8px 12px; font-size: 14px; }

/* ---------- Auto-Modus ---------- */
.auto { width: min(640px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.auto summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-weight: 600; font-size: 14px; }
.auto summary::-webkit-details-marker { display: none; }
.auto summary::after { content: '+'; margin-left: auto; font-family: var(--mono); color: var(--muted); font-size: 16px; }
.auto[open] summary::after { content: '−'; }
.auto-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--panel3); border: 1px solid var(--line2); }
.auto.on .auto-dot { background: var(--accent); border-color: var(--accent); animation: blink 1s infinite; }
.auto.on { border-color: rgba(215, 255, 60, .45); }
.auto-stat { font-family: var(--mono); font-weight: 500; color: var(--muted); font-size: 13px; }
.auto-stat.up { color: var(--up); } .auto-stat.down { color: var(--down); }
.auto-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 4px 14px 14px; align-items: end; }
.auto-body label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 500; }
.auto-body select, .auto-body input[type=number] { font: inherit; font-size: 15px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 10px; width: 100%; }
.auto-body .auto-check { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; color: var(--text); padding-bottom: 9px; }
.auto-body .auto-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.auto-body .btn { grid-column: 1 / -1; }

.touch-pad { display: none; gap: 10px; flex-wrap: wrap; justify-content: center; }
.touch .touch-pad { display: flex; }
.touch-pad button { width: 64px; height: 64px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line2); font-size: 24px; touch-action: none; user-select: none; -webkit-user-select: none; }
.touch-pad button:active { background: var(--accent); color: var(--accent-ink); transform: scale(.95); }
.touch .btn, .touch .rl-cell, .touch .mine-tile, .touch .ttt button { min-height: 44px; }

@keyframes pop { 50% { transform: scale(1.12); } }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Hinweise (Toasts) ---------- */
.toasts { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 70; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); animation: toastIn .25s ease-out; font-weight: 600; font-size: 15px; text-align: center; }
.toast.good { background: var(--text); box-shadow: inset 4px 0 0 var(--green), 0 14px 40px rgba(0, 0, 0, .5); }
.toast.bad { background: #2a1210; color: #ffd9d4; box-shadow: inset 4px 0 0 var(--red), 0 14px 40px rgba(0, 0, 0, .5); }
.toast.has-action { pointer-events: auto; display: flex; align-items: center; gap: 12px; text-align: left; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Sperr-Bildschirm ---------- */
.is-banned > *:not(.ban-screen):not(.toasts):not(.modal) { display: none !important; }
.ban-screen { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: var(--bg); background-image: repeating-linear-gradient(-45deg, rgba(255, 90, 78, .05) 0 18px, transparent 18px 40px); }
.ban-card { width: min(480px, 100%); background: var(--panel); border: 1px solid rgba(255, 90, 78, .35); border-radius: 20px; padding: 32px 28px; text-align: center; }
.ban-mark { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 90, 78, .14); color: var(--red-t, var(--red)); }
.ban-mark .ic { width: 30px; height: 30px; }
.ban-eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-t, var(--red)); }
.ban-card h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 7vw, 46px); letter-spacing: -1px; margin: 6px 0 22px; line-height: 1; }
.ban-field { text-align: left; padding: 14px 16px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); margin-top: 10px; }
.ban-field span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ban-field p { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.ban-left { font-family: var(--mono); }
.ban-until { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* ---------- Slots ---------- */
.slot-machine { width: min(520px, 100%); text-align: center; border: 1px solid var(--line2); background: var(--panel); }
.slot-machine.won { animation: machineWin 1s; }
@keyframes machineWin { 30%, 70% { border-color: var(--accent); background: #22261a; } }
.slot-lights { height: 8px; margin-bottom: 14px; background: radial-gradient(circle, var(--accent) 2.5px, transparent 3.5px) 0 0 / 20px 8px repeat-x; opacity: .7; animation: lights .8s steps(2) infinite; }
@keyframes lights { to { background-position: 20px 0; } }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #0a0a09; padding: 10px; border-radius: 12px; position: relative; margin-bottom: 14px; }
.reels::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: rgba(215, 255, 60, .5); }
.reel { background: var(--panel2); border-radius: 8px; overflow: hidden; }
.reel .sym { font-size: clamp(34px, 9vw, 60px); height: 1.5em; display: grid; place-items: center; opacity: .3; }
.reel .sym:nth-child(2) { opacity: 1; }
.reel.spinning .sym { filter: blur(2px); transform: translateY(5px); }
.reel.stop { animation: reelStop .3s; }
@keyframes reelStop { 30% { transform: translateY(8px); } }
.paytable { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: min(520px, 100%); font-size: 13px; }
.paytable div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px; text-align: center; }
.paytable b { color: var(--gold-t, var(--gold)); font-family: var(--mono); }

/* ---------- Karten (Blackjack, Höher/Tiefer, Poker, Video-Poker) ---------- */
.bj-table {
  width: min(760px, 100%); text-align: center; padding: 22px 18px 30px;
  background: #13432c; background-image: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .07), transparent 60%);
  border: 8px solid #2c1d12; border-radius: 28px 28px 140px 140px / 28px 28px 70px 70px;
}
.bj-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .8); margin: 6px 0; }
.hand { display: flex; justify-content: center; min-height: 116px; margin-bottom: 8px; }
.pc { width: 76px; height: 110px; background: #fbf8f0; color: #141410; border-radius: 9px; box-shadow: -2px 3px 0 rgba(0, 0, 0, .3); position: relative; font-weight: 700; font-family: Georgia, 'Times New Roman', serif; flex-shrink: 0; }
.pc + .pc { margin-left: -22px; }
.pc .tl, .pc .br { position: absolute; font-size: 16px; line-height: 1; text-align: center; }
.pc .tl { top: 6px; left: 7px; }
.pc .br { bottom: 6px; right: 7px; transform: rotate(180deg); }
.pc .mid { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; font-size: 36px; }
.pc.red { color: #c8102e; }
.pc.back { background: #2b2b26; background-image: repeating-linear-gradient(45deg, var(--accent) 0 3px, transparent 3px 9px); border: 4px solid #fbf8f0; }
.pc.back > * { display: none; }
.pc.deal { animation: dealIn .3s ease-out both; }
.pc.flip { animation: flipIn .3s ease-out both; }
@keyframes dealIn { from { opacity: 0; transform: translate(100px, -120px) rotate(18deg); } }
@keyframes flipIn { from { transform: rotateY(90deg); } }

/* ---------- Roulette ---------- */
.rl-wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: flex-start; width: 100%; }
.rl-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rl-main { display: flex; flex-direction: column; gap: 14px; align-items: center; min-width: 0; max-width: 100%; }
.rl-history { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 300px; min-height: 30px; }
.rl-history span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; font-family: var(--mono); }
.red-bg { background: #b8162f; } .black-bg { background: #1d1d1b; border: 1px solid #444; } .green-bg { background: #11834a; }
.rl-board-scroll { max-width: 100%; overflow-x: auto; padding-bottom: 6px; }
.rl-board { display: grid; grid-template-columns: 44px repeat(12, minmax(36px, 1fr)) 48px; grid-auto-rows: 46px; gap: 4px; min-width: 620px; background: #13432c; padding: 10px; border-radius: 14px; border: 6px solid #2c1d12; }
.rl-cell { position: relative; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; color: #fff; font-weight: 700; font-size: 14px; font-family: var(--mono); background: rgba(0, 0, 0, .1); padding: 0; }
.rl-cell.out { font-size: 11px; letter-spacing: .5px; font-family: var(--font); }
.rl-cell.red { background: #b8162f; } .rl-cell.black { background: #1d1d1b; } .rl-cell.green { background: #11834a; }
.rl-cell:hover:not(:disabled) { outline: 2px solid var(--accent); z-index: 1; }
.rl-cell.hit { animation: hitGlow 1s 3; z-index: 2; }
@keyframes hitGlow { 50% { box-shadow: 0 0 0 3px var(--accent); } }
.rl-chip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 28px; height: 28px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: #241900; font-size: 11px; display: grid; place-items: center; border: 3px dashed #fff; pointer-events: none; }
.rl-others { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--purple); color: #120a24; font-size: 9px; display: grid; place-items: center; pointer-events: none; }
.rl-players { width: min(300px, 100%); }
.rl-players h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.rl-players ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.rl-players li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.rl-players li span { color: var(--gold-t, var(--gold)); font-weight: 600; font-family: var(--mono); }
.chips-sel { display: flex; gap: 8px; }
.chip-sel { width: 50px; height: 50px; border-radius: 50%; border: 4px dashed rgba(255, 255, 255, .85); font-weight: 700; font-size: 13px; color: #fff; transition: transform .15s; padding: 0; font-family: var(--mono); }
.chip-sel.sel { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--accent); }

/* ---------- Mines ---------- */
.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(400px, 100%); padding: 12px; background: var(--panel); border-radius: 16px; border: 1px solid var(--line); }
.mine-tile { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--panel3); font-size: clamp(22px, 6vw, 34px); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3); transition: transform .12s, background .2s; padding: 0; }
.mine-tile.live:hover { transform: translateY(-2px); background: #383831; }
.mine-tile.gem { background: #1f4d2c; animation: pop .25s; }
.mine-tile.boom { background: #5a1a14; animation: pop .25s; }
.mine-tile.dim { opacity: .35; }

/* ---------- 2048 ---------- */
.g2048 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; width: min(420px, 100%); aspect-ratio: 1; background: var(--panel); border-radius: 16px; border: 1px solid var(--line); touch-action: none; }
.t2048 { border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: clamp(20px, 7vw, 34px); background: rgba(255, 255, 255, .04); color: #fff; }
.t2048.v2 { background: #2b2b26; } .t2048.v4 { background: #3a3a33; }
.t2048.v8 { background: #ff9a4d; color: #2a1200; } .t2048.v16 { background: #ff7b45; color: #2a1200; }
.t2048.v32 { background: #ff6b5e; } .t2048.v64 { background: #ff4f5a; }
.t2048.v128 { background: #b69cff; color: #160c2e; } .t2048.v256 { background: #9d7dff; } .t2048.v512 { background: #7b6bff; }
.t2048.v1024 { background: #5cc8ff; color: #00182a; } .t2048.v2048 { background: var(--accent); color: var(--accent-ink); }
.t2048.v4096 { background: var(--green); color: #052310; }
.t2048.v128, .t2048.v256, .t2048.v512 { font-size: clamp(18px, 6vw, 30px); }
.t2048.v1024, .t2048.v2048, .t2048.v4096 { font-size: clamp(15px, 5vw, 24px); }
.t2048.new, .t2048.merge { animation: pop .2s; }
.g-over { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15, 15, 13, .86); border-radius: 16px; display: grid; place-content: center; gap: 14px; text-align: center; }
.g-over h3 { font-family: var(--display); font-size: 30px; margin: 0; }

/* ---------- Memory ---------- */
.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(440px, 100%); }
.mem-card { position: relative; height: 0; padding: 100% 0 0; border: 0; background: none; perspective: 600px; }
.mem-inner { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transition: transform .4s; transform-style: preserve-3d; }
.mem-card.flip .mem-inner, .mem-card.match .mem-inner { transform: rotateY(180deg); }
.mem-front, .mem-back { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 12px; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mem-front { background: var(--panel3); background-image: repeating-linear-gradient(45deg, rgba(215, 255, 60, .12) 0 6px, transparent 6px 14px); font-family: var(--display); font-size: clamp(16px, 4vw, 24px); font-weight: 800; color: rgba(243, 239, 228, .7); }
.mem-back { background: var(--panel); transform: rotateY(180deg); font-size: clamp(28px, 9vw, 48px); border: 1px solid var(--line2); }
.mem-card.match .mem-back { border-color: var(--green); }

/* ---------- Tic Tac Toe ---------- */
.ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(360px, 100%); }
.ttt button { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-family: var(--display); font-size: clamp(40px, 12vw, 64px); font-weight: 800; padding: 0; }
.ttt .X { color: var(--cyan-t, var(--cyan)); }
.ttt .O { color: var(--pink-t, var(--pink)); }
.ttt .win { border-color: var(--accent); background: #22261a; animation: pop .3s; }

/* ---------- Tower ---------- */
.tower { display: flex; flex-direction: column; gap: 6px; width: min(460px, 100%); padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.tw-row { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; opacity: .5; transition: opacity .2s; }
.tw-row.cur, .tw-row.done { opacity: 1; }
.tw-mult { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--muted); text-align: right; }
.tw-row.cur .tw-mult { color: var(--accent); }
.tw-row.done .tw-mult { color: var(--green-t, var(--green)); }
.tw-tiles { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.tw-tile { height: 44px; border: 0; border-radius: 9px; font-size: 22px; padding: 0; background: var(--panel3); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); transition: transform .12s, background .2s; }
.tw-row.cur .tw-tile:not(:disabled) { background: #3a3a33; box-shadow: inset 0 0 0 2px rgba(215, 255, 60, .5); }
.tw-row.cur .tw-tile:not(:disabled):hover { transform: translateY(-2px); }
.tw-tile.safe { background: #1f4d2c; animation: pop .25s; }
.tw-tile.trap { background: #5a1a14; animation: pop .25s; }
.tw-tile.dim { opacity: .4; }

/* ---------- Höher oder Tiefer ---------- */
.hilo { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(520px, 100%); padding: 22px 16px 26px; border-radius: 20px; background: #13324f; border: 1px solid var(--line2); }
.hilo-trail { display: flex; gap: 4px; min-height: 44px; flex-wrap: wrap; justify-content: center; }
.hilo-trail .pc.mini { width: 30px; height: 44px; border-radius: 6px; }
.hilo-trail .pc.mini .mid, .hilo-trail .pc.mini .br { display: none; }
.hilo-trail .pc.mini .tl { font-size: 11px; top: 4px; left: 5px; }
.hilo-trail .pc + .pc { margin-left: 0; }
.hilo-card .pc { width: 110px; height: 158px; border-radius: 14px; }
.hilo-card .pc .mid { font-size: 56px; }
.hilo-card .pc .tl, .hilo-card .pc .br { font-size: 22px; }

/* ---------- Mini-Golf ---------- */
.golf-card { width: min(760px, 100%); overflow-x: auto; }
.golf-card table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--panel); border-radius: 12px; overflow: hidden; font-family: var(--mono); }
.golf-card th, .golf-card td { padding: 7px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.golf-card th { color: var(--muted); font-weight: 500; }
.golf-card td:first-child, .golf-card th:first-child { text-align: left; color: var(--muted); font-family: var(--font); }
.golf-card td.good { color: var(--green-t, var(--green)); font-weight: 600; }
.golf-card td.bad { color: var(--red-t, var(--red)); }

/* ---------- Lichter aus ---------- */
.lights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: min(400px, 100%); padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.lamp { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel3); padding: 0; transition: background .2s; }
.lamp.on { background: var(--gold); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15); }
.lamp.pulse { animation: pop .2s; }

/* ---------- Konto, Modal, Bestenliste, Admin ---------- */
.badge { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; background: var(--gold); color: #241900; vertical-align: middle; margin-left: 6px; }
.badge.red { background: var(--red); color: #fff; }
.muted { color: var(--muted); }
.small-print { font-size: 13px; margin: 0; }
.red-text { color: var(--red-t, var(--red)); }

.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; background: rgba(8, 8, 7, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: toastIn .2s; }
.modal-card { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; padding: 26px 22px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal-card h3 { font-family: var(--display); font-weight: 800; margin: 0 0 6px; font-size: 22px; letter-spacing: -.3px; padding-right: 36px; }
.modal-card .stats { margin-top: 14px; }
.profile-head { display: flex; gap: 14px; align-items: center; padding-right: 30px; }
.profile-head h3 { padding-right: 0; }
.profile-head p { margin: 0; font-size: 14px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg2); border-radius: 10px; margin: 4px 0 18px; }
.auth-tabs button { border: 0; background: none; padding: 9px; border-radius: 8px; font-weight: 600; color: var(--muted); }
.auth-tabs button.on { background: var(--panel3); color: var(--text); }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.auth-form input { font: inherit; font-size: 17px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 13px; outline: none; }
.auth-form input:focus { border-color: var(--accent); }
.auth-err { color: var(--red-t, var(--red)); min-height: 1.2em; margin: 0; font-weight: 600; }
.board ol { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.board li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); }
.board li:nth-child(1) span { color: var(--gold-t, var(--gold)); }
.board li.me { border-color: var(--accent); }
.board li span { font-family: var(--mono); text-align: center; color: var(--muted); }
.board li em { font-style: normal; color: var(--gold-t, var(--gold)); font-weight: 600; font-family: var(--mono); }

.admin { width: min(960px, 100%); display: flex; flex-direction: column; gap: 14px; }
.adm-list { display: flex; flex-direction: column; gap: 8px; }
.tunnel-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); }
.tunnel-box a { color: var(--accent); word-break: break-all; font-family: var(--mono); font-size: 14px; }
.tunnel-box code { color: var(--gold-t, var(--gold)); }
.adm-row { display: grid; grid-template-columns: 1.4fr .9fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.adm-row.blocked { border-color: rgba(255, 90, 78, .35); background: #1d1615; }
.adm-name { font-size: 16px; }
.on-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.adm-who small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.adm-who small.red-text { color: var(--red-t, var(--red)); }
.adm-nums { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.adm-nums b { color: var(--gold-t, var(--gold)); font-family: var(--mono); font-weight: 600; }
.adm-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) { .adm-row { grid-template-columns: 1fr; } .adm-acts { justify-content: flex-start; } }

.login-wall { width: min(440px, 100%); text-align: center; padding: 32px 24px; }
.login-wall .lw-icon { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--panel3); }
.login-wall .lw-icon .ic { width: 26px; height: 26px; }
.login-wall h3 { font-family: var(--display); font-weight: 800; margin: 12px 0 8px; }

/* ---------- Chat ---------- */
.chat { width: min(760px, 100%); display: flex; flex-direction: column; gap: 10px; height: calc(100dvh - 200px); min-height: 360px; }
.chat-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); user-select: text; -webkit-user-select: text; }
.msg-row { display: flex; }
.msg-row.mine { justify-content: flex-end; }
.bubble { max-width: 78%; padding: 8px 12px 10px; border-radius: 14px 14px 14px 4px; background: var(--panel2); line-height: 1.4; overflow-wrap: anywhere; }
.mine .bubble { border-radius: 14px 14px 4px 14px; background: #2a2f17; }
.bubble .who { display: flex; align-items: center; gap: 0; font-size: 13px; margin-bottom: 2px; }
.bubble time { color: var(--muted); font-size: 11px; margin-left: auto; padding-left: 10px; font-family: var(--mono); }
.bubble .del { border: 0; background: none; color: var(--muted); padding: 0 2px 0 6px; font-size: 12px; }
.bubble .del:hover { color: var(--red-t, var(--red)); }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; outline: none; }
.chat-form input:focus { border-color: var(--accent); }

/* ---------- Drift King ---------- */
.dk { width: min(860px, 100%); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.dk-garage { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.dk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dk-money { font-family: var(--mono); font-size: clamp(24px, 4vw, 34px); font-weight: 600; color: var(--green-t, var(--green)); }
.dk h4 { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.dk-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.dk-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.dk-car { text-align: left; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dk-car.locked { opacity: .55; }
.dk-car b { font-family: var(--display); font-size: 15px; }
.dk-car small { font-size: 12px; }
.dk-ups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.dk-up { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.dk-up .ic2 { font-size: 26px; }
.dk-up .tx { flex: 1; min-width: 0; }
.dk-up .tx small { display: block; color: var(--muted); font-size: 12px; }
.dk-lv { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 3px; }
.dk-bar { height: 4px; border-radius: 2px; background: var(--panel3); margin-top: 5px; overflow: hidden; }
.dk-bar i { display: block; height: 100%; background: var(--accent); }
.dk-tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.dk-track { padding: 11px 13px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; text-align: left; }
.dk-track.sel { border-color: var(--accent); }
.dk-track small { display: block; color: var(--gold-t, var(--gold)); font-weight: 500; font-family: var(--mono); font-size: 12px; }
.dk-panel { padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.dk-panel p { margin: 0; }
.dk-race-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); }
.dk-race-row.done { border-color: rgba(126, 224, 138, .4); }
.dk-race-row small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Burger Empire ---------- */
.bz { width: min(860px, 100%); display: flex; flex-direction: column; gap: 10px; }
.bz-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line2); }
.bz-world { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bz-money { font-family: var(--mono); font-size: clamp(26px, 5vw, 38px); font-weight: 600; color: var(--gold-t, var(--gold)); line-height: 1.1; }
.bz-inc { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: 14px; }
.bz-mult { display: flex; gap: 6px; }
.bz-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.bz-list { display: flex; flex-direction: column; gap: 8px; }
.bz-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.bz-row.locked { opacity: .5; }
.bz-icon { position: relative; width: 70px; height: 70px; border-radius: 14px; border: 0; font-size: 36px; background: var(--panel3); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3); transition: transform .1s; }
.bz-icon:active { transform: scale(.94); }
.bz-icon.ready { box-shadow: inset 0 0 0 2px var(--accent); animation: bzPulse 1.2s infinite; }
@keyframes bzPulse { 50% { transform: scale(1.04); } }
.bz-n { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; font-weight: 600; background: var(--text); color: var(--bg); padding: 2px 7px; border-radius: 6px; }
.bz-name { font-weight: 600; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bz-name small { color: var(--muted); font-weight: 400; font-size: 12px; }
.bz-bar { position: relative; height: 26px; margin-top: 6px; border-radius: 8px; background: var(--bg2); overflow: hidden; border: 1px solid var(--line); }
.bz-bar i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform-origin: left; transform: scaleX(0); background: #2f5a35; }
.bz-bar span { position: relative; display: flex; justify-content: space-between; padding: 0 10px; line-height: 26px; font-size: 13px; font-weight: 600; font-family: var(--mono); }
.bz-btns { display: flex; flex-direction: column; gap: 6px; min-width: 130px; }
.bz-btns .btn { padding: 7px 10px; font-size: 13px; line-height: 1.25; }
.bz-btns .btn b { font-family: var(--mono); font-weight: 600; }
.bz-prest { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px dashed var(--line2); }
.bz-ups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.bz-up { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.bz-up.bought { opacity: .45; }
.bz-up .tx { flex: 1; min-width: 0; font-size: 14px; }
.bz-up .tx small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) {
  .bz-row { grid-template-columns: 58px 1fr; }
  .bz-icon { width: 58px; height: 58px; font-size: 30px; }
  .bz-btns { grid-column: 1 / -1; flex-direction: row; }
  .bz-btns .btn { flex: 1; }
}

/* ---------- Tablet & Handy ---------- */
@media (max-width: 1000px) {
  .featured { grid-template-columns: 1fr; }
  .side { display: grid; grid-template-columns: 1fr 1fr; }
  .side .stats { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 8px 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 40px; }
  .top-actions { margin-left: auto; gap: 6px; }
  .online-btn span { display: none; }
  .logo-text { font-size: 19px; }
  .icon-btn { width: 40px; height: 40px; }
  .user-btn { height: 40px; max-width: 130px; padding-right: 10px; }
  .filters { top: 108px; }
  .feat-slide { min-height: 270px; }
  .feat-slide p { font-size: 15px; }
  .side { grid-template-columns: 1fr; }
  .grid, .grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .card p { display: none; }
  .card h3 { font-size: 15px; }
  .card-icon { font-size: 54px; }
  .paytable { grid-template-columns: repeat(4, 1fr); font-size: 11px; }
  .bet-val { min-width: 90px; }
}
@media (max-width: 420px) {
  .user-btn .user-name { display: none; }
  .user-btn { padding: 0 4px; }
}

/* =====================================================================
   Neue Spiele
   ===================================================================== */
.up { color: var(--up); } .down { color: var(--down); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); align-self: center; }
.seg button { border: 0; background: none; padding: 7px 13px; border-radius: 7px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--text); color: var(--bg); }
.dk-tabs, .bz-tabs { align-self: flex-start; }
.bz-worlds { display: grid; gap: 8px; }

/* ---------- Tycoon-Bausteine (Miner, Farm, Strom) ---------- */
.tc, .fm { width: min(860px, 100%); display: flex; flex-direction: column; gap: 12px; }
.tc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); }
.tc-money { font-family: var(--mono); font-size: clamp(24px, 4.5vw, 34px); font-weight: 600; color: var(--green-t, var(--green)); line-height: 1.1; }
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.tc-card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tc-card.locked { opacity: .5; }
.tc-card.wide { grid-column: 1 / -1; }
.tc-ic { font-size: 26px; width: 34px; text-align: center; flex-shrink: 0; }
.tc-card .tx { flex: 1; min-width: 0; font-size: 14px; }
.tc-card .tx small { display: block; color: var(--muted); font-size: 12px; }
.tc-h { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.tc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.tc-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.tc-row i { width: 12px; height: 12px; border-radius: 3px; }
.tc-row b { display: block; font-size: 14px; }
.tc-row small { font-size: 12px; }
.tc-row.sel { border-color: var(--accent); }
.tc-prest { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px dashed var(--line2); font-size: 14px; }
.pw-bat { min-width: min(320px, 100%); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pw-batbar { height: 10px; border-radius: 5px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.pw-batbar i { display: block; height: 100%; background: var(--cyan); transition: width .3s; }
.pw-bat .auto-check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pw-bat .auto-check input { accent-color: var(--accent); width: 16px; height: 16px; }

.fm-seeds { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.fm-seed { flex: 0 0 auto; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.fm-seed span { grid-row: span 2; font-size: 26px; }
.fm-seed b { font-size: 14px; }
.fm-seed small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.fm-seed.on { border-color: var(--accent); background: #22261a; }
.fm-seed.locked { opacity: .6; }
.fm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.fm-field { position: relative; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: #3a2c1c; background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 4px, transparent 4px 14px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; padding: 4px; }
.fm-field.empty { background-color: #2e2418; }
.fm-field.empty span { font-size: 26px; }
.fm-field.ripe { border-color: var(--accent); box-shadow: inset 0 0 0 2px rgba(215, 255, 60, .5); }
.fm-field.add { background: var(--panel); border-style: dashed; font-size: 13px; }
.fm-field.add small { color: var(--gold-t, var(--gold)); }
.fm-crop { font-size: 34px; line-height: 1; transition: transform .3s; }
.fm-field small { font-size: 11px; color: var(--text); background: rgba(15, 15, 13, .6); padding: 1px 6px; border-radius: 5px; }
.fm-field i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--green); }
.fm-del .fm-field:not(.empty):not(.add) { border-color: var(--red); box-shadow: inset 0 0 0 2px rgba(255, 80, 80, .55); }
.fm-del .fm-field:not(.empty):not(.add)::after { content: "🗑️"; position: absolute; top: 3px; right: 5px; font-size: 14px; }
.fm .btn.btn-danger { background: var(--red); color: #fff; }
.fm-hand { position: absolute; top: 5px; right: 5px; font-size: 10px; font-family: var(--mono); background: var(--text); color: var(--bg); border-radius: 4px; padding: 1px 4px; }

/* ---------- Dice ---------- */
.dice { width: min(620px, 100%); display: flex; flex-direction: column; gap: 16px; }
.dice-out { text-align: center; font-family: var(--mono); font-size: clamp(48px, 12vw, 80px); font-weight: 600; line-height: 1; }
.dice.won .dice-out { color: var(--green-t, var(--green)); } .dice.lost .dice-out { color: var(--red-t, var(--red)); }
.dice-track { position: relative; height: 14px; border-radius: 7px; background: rgba(255, 90, 78, .35); margin: 18px 0 4px; }
.dice-zone { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: var(--green); }
.dice-marker { position: absolute; top: -10px; width: 4px; height: 34px; margin-left: -2px; background: var(--text); border-radius: 2px; }
.dice-marker span { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; background: var(--text); color: var(--bg); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.dice-marker span:empty { display: none; }
.dice-range { width: 100%; accent-color: var(--accent); height: 28px; }
.dice-stats { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 8px; align-items: center; }
.dice-stats div { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.dice-stats small { display: block; color: var(--muted); font-size: 11px; }
.dice-stats b { font-family: var(--mono); font-weight: 600; }

/* ---------- Limbo ---------- */
.limbo { width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; }
.limbo-out { text-align: center; font-family: var(--mono); font-size: clamp(54px, 14vw, 92px); font-weight: 600; line-height: 1.05; }
.limbo-out.win { color: var(--green-t, var(--green)); } .limbo-out.lose { color: var(--red-t, var(--red)); }
.limbo-set { display: flex; flex-direction: column; gap: 10px; }
.limbo-set label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.limbo-set input { font: inherit; font-family: var(--mono); font-size: 20px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; }
.limbo-chance { color: var(--muted); font-size: 14px; } .limbo-chance b { color: var(--text); font-family: var(--mono); }

/* ---------- Keno ---------- */
.keno-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; width: min(560px, 100%); }
.keno-n { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-family: var(--mono); font-weight: 600; font-size: clamp(14px, 3.5vw, 18px); padding: 0; transition: background .15s; }
.keno-n.pick { background: #2f3a18; border-color: var(--accent); color: var(--accent); }
.keno-n.drawn { background: var(--panel3); color: var(--muted); }
.keno-n.hit { background: var(--accent); color: var(--accent-ink); animation: pop .25s; }
.keno-pay { width: min(560px, 100%); }
.keno-pay-head { font-size: 13px; color: var(--muted); margin-bottom: 6px; text-align: center; }
.keno-pay-row { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.keno-pay-row div { min-width: 46px; padding: 5px 6px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.keno-pay-row small { display: block; font-size: 10px; color: var(--muted); }
.keno-pay-row b { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--gold-t, var(--gold)); }
.keno-pay-row div.on { border-color: var(--accent); background: #22261a; }

/* ---------- Video-Poker ---------- */
.vp-pay { width: min(560px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; font-size: 13px; padding: 12px 16px; border-radius: 12px; background: #142a4a; border: 1px solid var(--line2); }
.vp-pay div { display: flex; justify-content: space-between; padding: 2px 4px; border-radius: 5px; }
.vp-pay b { font-family: var(--mono); color: var(--gold-t, var(--gold)); }
.vp-pay div.on { background: var(--accent); color: var(--accent-ink); }
.vp-pay div.on b { color: var(--accent-ink); }
.vp-hand { display: flex; gap: 8px; justify-content: center; min-height: 150px; flex-wrap: wrap; }
.vp-card { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vp-card .pc { width: clamp(58px, 15vw, 86px); height: clamp(84px, 22vw, 124px); }
.vp-card .pc + .pc { margin: 0; }
.vp-hold { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: transparent; padding: 2px 6px; border-radius: 4px; }
.vp-card.held .pc { transform: translateY(-8px); box-shadow: 0 0 0 3px var(--accent); }
.vp-card.held .vp-hold { color: var(--accent-ink); background: var(--accent); }
.vp-empty { color: var(--muted); align-self: center; }

/* ---------- Poker ---------- */
.pk { width: min(980px, 100%); display: flex; flex-direction: column; gap: 12px; }
.pk-lobby { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.pk-tcard { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.pk-tcard p { margin: 0; font-size: 13px; }
.pk-tname { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pk-tname b { font-family: var(--display); font-size: 20px; }
.pk-tname span { color: var(--gold-t, var(--gold)); font-size: 13px; }
.pk-buy { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.pk-buy input { font: inherit; font-family: var(--mono); font-size: 17px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; }
.pk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pk-title { font-family: var(--display); font-size: 20px; }
.pk-felt { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 340px; border-radius: 200px / 120px; background: #134a2f; background-image: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .08), transparent 65%); border: 10px solid #2c1d12; }
.pk-center { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 70%; }
.pk-board { display: flex; gap: 5px; }
.pk-board .pc { width: clamp(38px, 6vw, 58px); height: clamp(54px, 8.6vw, 84px); }
.pk-board .pc + .pc { margin: 0; }
.pk-board .pc .mid { font-size: clamp(18px, 3vw, 28px); }
.pk-board .pc .tl { font-size: clamp(11px, 1.5vw, 15px); }
.pc.slot { background: rgba(0, 0, 0, .18); box-shadow: none; border: 1px dashed rgba(255, 255, 255, .2); }
.pc.slot > * { display: none; }
.pk-pot { color: var(--gold-t, var(--gold)); font-weight: 600; background: rgba(0, 0, 0, .35); padding: 3px 12px; border-radius: 999px; font-size: 14px; }
.pk-result { color: var(--accent); font-weight: 600; font-size: 14px; text-align: center; min-height: 1.2em; }
.pk-seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; width: 130px; transition: opacity .2s; }
.pk-seat.folded { opacity: .45; }
.pk-cards { display: flex; gap: 2px; min-height: 40px; }
.pc.sm { width: 30px; height: 42px; border-radius: 5px; box-shadow: none; }
.pc.sm + .pc.sm { margin: 0; }
.pc.sm .tl { font-size: 11px; top: 3px; left: 4px; }
.pc.sm .mid { font-size: 15px; top: 10px; }
.pc.sm.back { border-width: 2px; }
.me .pc.sm { width: 40px; height: 56px; }
.me .pc.sm .tl { font-size: 13px; }
.me .pc.sm .mid { font-size: 20px; top: 14px; }
.pk-plate { position: relative; width: 100%; padding: 5px 8px; border-radius: 10px; background: rgba(15, 15, 13, .88); border: 1px solid var(--line2); text-align: center; overflow: hidden; }
.pk-plate b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-plate span { font-size: 12px; color: var(--gold-t, var(--gold)); }
.pk-seat.turn .pk-plate { border-color: var(--accent); }
.pk-seat.won .pk-plate { background: var(--accent); color: var(--accent-ink); }
.pk-seat.won .pk-plate span { color: var(--accent-ink); }
.pk-seat.me .pk-plate { border-color: var(--text); }
.pk-btn { display: inline-block; font-style: normal; font-size: 10px; background: var(--text); color: var(--bg); border-radius: 50%; width: 16px; height: 16px; line-height: 16px; margin-left: 5px; vertical-align: 1px; }
.pk-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.pk-timer i { display: block; height: 100%; background: var(--accent); animation: pkTimer linear forwards; transform-origin: left; }
@keyframes pkTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.pk-last { font-size: 11px; font-family: var(--mono); color: rgba(243, 239, 228, .85); min-height: 1.2em; text-align: center; }
.pk-bet { display: inline-block; font-size: 11px; background: var(--gold); color: #241900; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.pk-actions { min-height: 54px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pk-raise { display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(460px, 100%); }
.pk-raise input { width: 100%; accent-color: var(--accent); }
.pk-log { list-style: none; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.pk-log li:first-child { color: var(--text); }
@media (max-width: 640px) {
  .pk-felt { aspect-ratio: 3 / 4; border-radius: 120px / 160px; min-height: 460px; }
  .pk-seat { width: 96px; }
  .pk-center { width: 80%; }
}

/* ---------- Kisten & Battles ---------- */
.cs { width: min(960px, 100%); display: flex; flex-direction: column; gap: 12px; }
.cs > .seg { align-self: flex-start; }
.cs-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.cs-cases.small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.cs-case { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--cc); }
.cs-case b { font-size: 13px; }
.cs-case small { color: var(--gold-t, var(--gold)); font-size: 12px; }
.cs-case.on { background: var(--panel2); border-color: var(--cc); }
.cs-ico { font-size: 30px; line-height: 1.1; }
.cs-reels { display: flex; flex-direction: column; gap: 8px; }
.cs-reel { position: relative; height: 128px; overflow: hidden; border-radius: 12px; background: #0b0b0a; border: 1px solid var(--line2); }
.cs-reel.idle .cs-strip { justify-content: center; flex-wrap: wrap; height: auto; padding: 8px; transform: none !important; }
.cs-strip { display: flex; gap: 0; height: 100%; will-change: transform; }
.cs-needle { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--accent); z-index: 2; }
.cs-item { flex: 0 0 128px; width: 128px; margin: 0 2px; padding: 8px 6px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 10px; background: var(--panel); border-bottom: 4px solid var(--rc); text-align: center; font-size: 12px; }
.cs-reel.idle .cs-item { flex-basis: 96px; width: 96px; height: 100px; margin: 2px; }
.cs-item b { font-size: 12px; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cs-item small { color: var(--gold-t, var(--gold)); }
.cs-item.won { background: var(--panel3); box-shadow: inset 0 0 0 2px var(--accent); }
.r0 { --rc: #7d8ba0; } .r1 { --rc: #5a6bff; } .r2 { --rc: #b69cff; } .r3 { --rc: #ff5a4e; } .r4 { --rc: #f2c14e; }
.cs-open { justify-content: flex-start; }
.cs-h { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.cs-contents { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.cs-contents .cs-item { width: auto; margin: 0; }
.cs-auto .auto { width: 100%; }
.cs-create { display: flex; flex-direction: column; gap: 10px; }
.cs-draft { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; align-items: center; }
.cs-chip { border: 1px solid var(--line2); background: var(--panel2); border-radius: 8px; padding: 5px 9px; font-size: 13px; }
.cs-opts { justify-content: flex-start; }
.cs-blist { display: flex; flex-direction: column; gap: 6px; }
.cs-brow { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.cs-brow.open { border-color: rgba(215, 255, 60, .35); }
.cs-brow.done { opacity: .7; }
.cs-bcases { font-size: 20px; letter-spacing: 2px; max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cs-bcases.big { font-size: 28px; max-width: none; text-align: center; white-space: normal; }
.cs-bcases.big span { opacity: .35; transition: opacity .2s; }
.cs-bcases.big span.done { opacity: 1; }
.cs-bcases.big span.cur { opacity: 1; display: inline-block; animation: pop .6s infinite; }
.cs-binfo small { display: block; font-size: 12px; }
.cs-battle { display: flex; flex-direction: column; gap: 12px; }
.cs-bhead { text-align: center; }
.cs-bhead p { margin: 4px 0 0; }
.cs-cols { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; }
.cs-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.cs-col.me { border-color: var(--text); }
.cs-col.won { border-color: var(--accent); background: #20241a; }
.cs-col.empty { border-style: dashed; justify-content: center; align-items: center; min-height: 200px; }
.cs-pname { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.cs-pname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-pname span { color: var(--gold-t, var(--gold)); font-weight: 600; }
.cs-slot { height: 140px; display: grid; place-items: center; border-radius: 10px; background: #0b0b0a; overflow: hidden; }
.cs-slot .cs-item.big { width: 100%; height: 100%; margin: 0; flex: none; font-size: 13px; }
.cs-slot .cs-item.big .cs-ico { font-size: 40px; }
.cs-spin { display: flex; flex-direction: column; font-size: 44px; animation: csSpin .25s linear infinite; }
@keyframes csSpin { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.cs-got { display: flex; flex-wrap: wrap; gap: 4px; min-height: 30px; }
.cs-got span { font-size: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: var(--bg2); border-bottom: 3px solid var(--rc); }
.cs-win { text-align: center; color: var(--accent); font-size: 18px; font-weight: 600; }
@media (max-width: 640px) { .cs-cols { grid-template-columns: repeat(2, 1fr); } .cs-brow { grid-template-columns: 1fr auto; } .cs-bcases { grid-column: 1 / -1; } }

/* ---------- Börse ---------- */
.mk { width: 100%; max-width: 1180px; display: grid; grid-template-columns: 260px minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.mk-list { display: flex; flex-direction: column; gap: 4px; }
.mk-h { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 8px 2px 4px; }
.mk-row { display: grid; grid-template-columns: 48px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.mk-row.on { border-color: var(--accent); }
.mk-row .mk-sym { grid-row: span 2; }
.mk-row .mk-spark { grid-column: 3; grid-row: 1; }
.mk-row .mk-ch { grid-column: 3; grid-row: 2; text-align: right; font-size: 12px; }
.mk-sym { --ac: var(--text); display: inline-grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; height: 26px; min-width: 44px; padding: 0 5px; border-radius: 6px; color: var(--ac); }
.mk-sym.big { font-size: 14px; height: 30px; }
.mk-name { font-size: 13px; font-weight: 600; min-width: 0; overflow: hidden; }
.mk-name small { display: block; font-weight: 500; color: var(--muted); }
.mk-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.mk-title { font-family: var(--display); font-size: 24px; }
.mk-price { font-size: clamp(24px, 4vw, 34px); font-weight: 600; }
.mk-price span { font-size: 15px; } .mk-price small { color: var(--muted); font-size: 12px; }
.mk-ranges { align-self: flex-start; }
.mk-chart { position: relative; border-radius: 14px; background: #0b0b0a; border: 1px solid var(--line2); padding: 6px; touch-action: none; }
.mk-chart canvas { display: block; width: 100%; }
.mk-tip { position: absolute; top: 8px; min-width: 140px; padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 13px; pointer-events: none; }
.mk-tip small { display: block; font-size: 11px; opacity: .75; }
.mk-trade { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mk-tcol { display: flex; flex-direction: column; gap: 8px; }
.mk-tcol .mk-h { margin-top: 0; }
.mk-tcol label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.mk-tcol input { font: inherit; font-family: var(--mono); font-size: 17px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; }
.mk-est, .mk-hold { margin: 0; font-size: 13px; min-height: 1.2em; }
.mk-side { display: flex; flex-direction: column; gap: 10px; }
.mk-side .panel { padding: 12px 14px; }
.mk-side .mk-h { margin-top: 0; }
.mk-pfsum { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.mk-pfsum small { display: block; color: var(--muted); font-size: 11px; }
.mk-pfsum b { font-size: 14px; font-weight: 600; }
.mk-hl, .mk-news, .mk-trades { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mk-hl li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; cursor: pointer; }
.mk-hl li .mono:nth-child(2) { color: var(--muted); }
.mk-news li, .mk-trades li { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mk-news li span { font-size: 11px; margin-right: 6px; }
.mk-news small, .mk-trades small { display: block; font-size: 11px; }
@media (max-width: 1080px) { .mk { grid-template-columns: 220px minmax(0, 1fr); } .mk-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (max-width: 720px) {
  .mk { grid-template-columns: 1fr; }
  .mk-list { order: 2; display: grid; grid-template-columns: 1fr 1fr; }
  .mk-list .mk-h { grid-column: 1 / -1; }
  .mk-row .mk-spark { display: none; }
  .mk-trade { grid-template-columns: 1fr; }
}

/* ---------- Duell-Arena ---------- */
.du { width: min(760px, 100%); display: flex; flex-direction: column; gap: 12px; }
.du-create { display: flex; flex-direction: column; gap: 12px; }
.du-create .mk-h { margin: 0; }
.du-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.du-game { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); text-align: left; }
.du-game span { font-size: 26px; }
.du-game small { color: var(--muted); font-size: 12px; }
.du-game.on { border-color: var(--accent); background: #22261a; }
.du-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.du-opts label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.du-opts input, .du-opts select { font: inherit; font-size: 16px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; }
.du-open { display: flex; flex-direction: column; gap: 6px; }
.du-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.du-row.forme { border-color: var(--accent); }
.du-row small { display: block; }
.du-ic { font-size: 24px; }
.du-recent { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.du-recent b { color: var(--text); }
.du-arena { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.du-vs { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); }
.du-p { display: flex; align-items: center; gap: 12px; justify-content: flex-end; font-size: 18px; min-width: 0; }
.du-p.me { justify-content: flex-start; }
.du-p b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.du-p .mono { font-size: 30px; font-weight: 600; color: var(--accent); }
.du-mid { display: flex; flex-direction: column; align-items: center; color: var(--muted); }
.du-mid b { font-family: var(--display); font-size: 22px; color: var(--text); }
.du-mid small { font-size: 12px; }
.du-stage { width: 100%; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.du-wait p { margin: 4px 0; }
.du-spinner { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; border: 4px solid var(--panel3); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.du-coin { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #241900; font-family: var(--display); font-size: 64px; font-weight: 800; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .2); }
.du-coin.spin { animation: coinFlip .35s linear infinite; }
.du-coin.spin span { font-size: 60px; }
.du-coin.zahl { background: #d9d4c7; }
@keyframes coinFlip { 50% { transform: scaleX(.1); } }
.du-dice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.du-dice div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.du-dice span { font-size: 72px; line-height: 1; }
.du-dice span.rolling { animation: shake .3s infinite; }
.du-dice b { font-size: 24px; }
.du-state { margin: 0; font-weight: 600; }
.du-rps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(480px, 100%); }
.du-rps button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); font-weight: 600; }
.du-rps button span { font-size: 46px; }
.du-rps button.on { border-color: var(--accent); background: #22261a; }
.du-rps-res { display: flex; align-items: center; gap: 24px; font-size: 18px; }
.du-rps-res span { font-size: 60px; }
.du-react { width: min(480px, 100%); height: 220px; border-radius: 18px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 26px; font-family: var(--display); font-weight: 800; color: #fff; touch-action: manipulation; user-select: none; }
.du-react small { font-family: var(--font); font-weight: 500; font-size: 14px; opacity: .85; }
.du-react.wait { background: #7a2a22; }
.du-react.go { background: #2f9e5a; }
.du-react.early { background: #5a1a14; }
.du-react.sent, .du-react.done { background: var(--panel2); color: var(--text); }
.du-rounds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.du-rounds span { font-family: var(--mono); font-size: 13px; padding: 4px 9px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.du-rounds span.w { border-color: var(--green); color: var(--green-t, var(--green)); }
.du-rounds span.l { border-color: var(--red); color: var(--red-t, var(--red)); }
.du-foot { flex-direction: column; }
@media (max-width: 560px) { .du-opts { grid-template-columns: 1fr; } .du-p { font-size: 15px; } .du-p .mono { font-size: 24px; } }

/* ---------- Minensuche ---------- */
.ms-grid { display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: 2px; width: min(calc(var(--c) * 38px), 100%); padding: 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); touch-action: manipulation; }
.ms-c { aspect-ratio: 1; border: 0; border-radius: 4px; padding: 0; background: var(--panel3); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); font-family: var(--mono); font-weight: 600; font-size: clamp(11px, 2.6vw, 16px); }
.ms-c.open { background: var(--bg2); box-shadow: none; }
.ms-c.boom { background: #5a1a14; }
.ms-c.n1 { color: #5cc8ff; } .ms-c.n2 { color: #7ee08a; } .ms-c.n3 { color: #ff6b8b; } .ms-c.n4 { color: #b69cff; }
.ms-c.n5 { color: #ff9a4d; } .ms-c.n6 { color: #3ee8b5; } .ms-c.n7 { color: #f3efe4; } .ms-c.n8 { color: #a8a397; }

/* ---------- Sudoku ---------- */
.sd-board { display: grid; grid-template-columns: repeat(9, 1fr); width: min(460px, 100%); aspect-ratio: 1; border: 2px solid var(--text); border-radius: 8px; overflow: hidden; background: var(--line2); gap: 1px; }
.sd-c { border: 0; padding: 0; background: var(--panel); color: var(--accent); font-family: var(--mono); font-size: clamp(16px, 5vw, 26px); font-weight: 500; position: relative; }
.sd-c.given { color: var(--text); font-weight: 600; }
.sd-c.br { box-shadow: 2px 0 0 var(--text); z-index: 1; }
.sd-c.bb { box-shadow: 0 2px 0 var(--text); z-index: 1; }
.sd-c.br.bb { box-shadow: 2px 0 0 var(--text), 0 2px 0 var(--text), 2px 2px 0 var(--text); }
.sd-c.peer { background: #22221e; }
.sd-c.same { background: #2c3318; }
.sd-c.sel { background: #3a4520; }
.sd-c.bad { color: var(--red-t, var(--red)); }
.sd-notes { position: absolute; top: 2px; right: 2px; bottom: 2px; left: 2px; display: grid; grid-template-columns: repeat(3, 1fr); font-size: clamp(7px, 1.7vw, 10px); color: var(--muted); line-height: 1; place-items: center; }
.sd-notes i { font-style: normal; }
.sd-pad { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; width: min(460px, 100%); }
.sd-pad button { padding: 10px 0; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel); font-family: var(--mono); font-size: 18px; font-weight: 600; }
.sd-pad button.wide { grid-column: span 9; font-family: var(--font); font-size: 14px; }
.sd-pad button.wide + .wide { margin-top: 0; }
.sd-pad button.on { border-color: var(--accent); color: var(--accent); }
@media (min-width: 560px) { .sd-pad button.wide { grid-column: span 9; } }

/* =====================================================================
   Private Nachrichten, Mitteilungen, Admin-Feinschliff, Bewegung
   ===================================================================== */
/* ---------- iPad/ältere Safari: keine color-mix()-Abhängigkeit ---------- */
.card-art { background-color: var(--c1); background-image: linear-gradient(rgba(15, 15, 13, .4), rgba(15, 15, 13, .4)); }
.feat-slide { background-color: var(--c1); background-image: linear-gradient(rgba(15, 15, 13, .55), rgba(15, 15, 13, .55)); }
.card-art::before, .feat-slide::before { top: 0; left: 0; right: 0; bottom: 0; }
.mk-sym { background: rgba(243, 239, 228, .06); box-shadow: inset 0 0 0 1px var(--ac); }

/* ---------- Bewegung ---------- */
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
.page-in { animation: pageIn .34s cubic-bezier(.2, .8, .2, 1) both; }
.btn, .chip, .chip-tab, .seg button, .quick a, .quick button, .dm-conv { position: relative; overflow: hidden; transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), background .15s, border-color .15s, opacity .15s, color .15s; }
.btn:active:not(:disabled), .chip:active, .chip-tab:active, .seg button:active, .icon-btn:active, .online-btn:active, .user-btn:active, .quick a:active, .quick button:active, .dm-conv:active { transform: scale(.94); }
.icon-btn, .online-btn, .user-btn { transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), background .15s; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.chip-tab.active, .seg button.on, .chip.on { animation: tabPop .32s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tabPop { 45% { transform: scale(1.08); } }
.modal-card { animation: modalIn .32s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.95); } }
.toast { animation: toastIn .35s cubic-bezier(.2, 1.4, .4, 1); }
@media (hover: hover) { .btn:hover:not(:disabled) { transform: translateY(-1px); } .quick a:hover, .quick button:hover { transform: translateX(3px); } }
.confetti { position: fixed; top: -14px; width: 8px; height: 13px; border-radius: 2px; z-index: 95; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 108vh) rotate(var(--r)); } }
.stat i { display: block; font-style: normal; font-size: 18px; line-height: 1.2; }
.board li { animation: rowIn .35s ease-out both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } }
.board li span { font-size: 18px; }
.board li.top1 { background: rgba(242, 193, 78, .12); border-color: rgba(242, 193, 78, .45); }
.board li.top2 { background: rgba(220, 220, 230, .07); }
.board li.top3 { background: rgba(205, 127, 50, .09); }
.board li small { color: var(--muted); font-weight: 500; }

/* ---------- Chat-Tabs & private Nachrichten ---------- */
.chat-wrap { width: min(980px, 100%); display: flex; flex-direction: column; gap: 12px; }
.chat-tabs { align-self: center; }
.chat-wrap .chat { width: 100%; }
.dm-count, .dm-unread { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 11px; margin-left: 4px; }
.icon-btn .dm-badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 11px; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--bg); animation: tabPop .4s; }
.dm { display: grid; grid-template-columns: 290px 1fr; gap: 12px; height: calc(100dvh - 250px); min-height: 400px; }
.dm-side { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.dm-list { list-style: none; margin: 0; padding: 4px; overflow-y: auto; flex: 1; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.dm-list li.muted { padding: 14px; font-size: 14px; }
.dm-conv { width: 100%; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 0; border-radius: 10px; background: none; text-align: left; }
.dm-conv:hover { background: var(--panel); }
.dm-conv.on { background: var(--panel2); }
.dm-conv .avatar { width: 36px; height: 36px; }
.dm-conv-tx { min-width: 0; }
.dm-conv-tx b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-conv-tx small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.dm-conv-meta small { color: var(--dim); font-size: 11px; font-family: var(--mono); }
.av-on { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg2); }
.dm-thread { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }
.dm-thread .chat-list { flex: 1; }
.dm-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.dm-who { flex: 1; min-width: 0; }
.dm-who b { display: block; }
.dm-who small { font-size: 12px; }
.dm-back { display: none; }
.dm-day { align-self: center; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--panel); padding: 3px 10px; border-radius: 999px; margin: 6px 0 2px; }
.dm-msgs .bubble { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 10px; animation: rowIn .25s ease-out; }
.dm-msgs .bubble time { margin-left: auto; color: var(--muted); font-size: 11px; font-family: var(--mono); }
.dm-hello { text-align: center; margin: auto 0; }
.dm-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 20px; border-radius: 14px; border: 1px dashed var(--line2); }
.dm-empty span { font-size: 46px; animation: float 3s ease-in-out infinite; }
.dm-empty p { margin: 0; max-width: 340px; }
@keyframes float { 50% { transform: translateY(-8px); } }
.dm-search { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.dm-pick { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.dm-pick button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 600; }
.dm-pick button:hover { background: var(--panel2); }
.dm-pick small { color: var(--muted); font-weight: 500; }
.bubble .dm-to { font-size: 13px; }
.pop-acts { display: flex; gap: 4px; }
@media (max-width: 720px) {
  .dm { grid-template-columns: 1fr; height: calc(100dvh - 230px); }
  .dm.open .dm-side { display: none; }
  .dm:not(.open) .dm-thread { display: none; }
  .dm-back { display: inline-flex; }
}

/* ---------- Mitteilungen unten rechts ---------- */
.notes { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80; display: flex; flex-direction: column-reverse; gap: 8px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.note { pointer-events: auto; position: relative; overflow: hidden; display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: start; padding: 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line2); box-shadow: 0 18px 40px rgba(0, 0, 0, .55), inset 3px 0 0 var(--accent); cursor: pointer; animation: noteIn .45s cubic-bezier(.2, 1.3, .4, 1); transition: opacity .35s, transform .35s; }
.note.out { opacity: 0; transform: translateX(40px); }
.note .avatar { width: 40px; height: 40px; }
.note-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.note-body b { font-size: 14px; }
.note-text { font-size: 14px; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.note-body small { font-size: 11px; color: var(--muted); }
.note-x { border: 0; background: none; color: var(--muted); padding: 0 2px; font-size: 13px; }
.note-x:hover { color: var(--text); }
@keyframes noteIn { from { opacity: 0; transform: translateX(60px) scale(.96); } }

/* ---------- Admin-Feinschliff ---------- */
.adm-row { grid-template-columns: auto 1fr auto; row-gap: 10px; }
.adm-row .adm-acts { grid-column: 1 / -1; justify-content: flex-start; padding-top: 10px; border-top: 1px solid var(--line); }
.adm-av { width: 40px; height: 40px; font-size: 16px; }
.adm-search { max-width: none; margin: 0; }
.adm-stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.adm-nums span { white-space: nowrap; }
.tag-ideas .chip { font-size: 12px; }
.adm-row[hidden] { display: none; }
@media (max-width: 820px) { .adm-row { grid-template-columns: auto 1fr; } .adm-nums { grid-column: 1 / -1; } }

/* ---------- Fallback-Höhen für Safari ohne (verlässliches) aspect-ratio ---------- */
.mine-tile { min-height: 56px; }
.ms-c { min-height: 22px; }
.lamp { min-height: 52px; }
.t2048 { min-height: clamp(54px, 18vw, 92px); }
.ttt button { min-height: min(110px, 26vw); }
.sd-c { min-height: clamp(30px, 9vw, 48px); }
.keno-n { min-height: 34px; }
.fm-field { min-height: 92px; }
.pk-felt { min-height: 340px; }

/* Safari: Buttons in Rastern füllen ihre Zelle nur mit fester Breite zuverlässig */
.mem-card, .mine-tile, .ms-c, .keno-n, .lamp, .tw-tile, .ttt button, .t2048, .sd-c, .fm-field { width: 100%; }

/* =====================================================================
   Mehr Bewegung ✨
   ===================================================================== */
/* Seitenwechsel mit Richtung: ins Spiel von rechts, zurück von links */
@keyframes pageFwd { from { opacity: 0; transform: translateX(32px); } }
@keyframes pageBack { from { opacity: 0; transform: translateX(-32px); } }
.page-in[data-dir=fwd] { animation: pageFwd .38s cubic-bezier(.2, .8, .2, 1) both; }
.page-in[data-dir=back] { animation: pageBack .38s cubic-bezier(.2, .8, .2, 1) both; }

/* Spielseite: Bausteine kommen nacheinander herein */
@keyframes upIn { from { opacity: 0; transform: translateY(16px); } }
.stage > * { animation: upIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.stage > *:nth-child(2) { animation-delay: .05s; } .stage > *:nth-child(3) { animation-delay: .1s; }
.stage > *:nth-child(4) { animation-delay: .15s; } .stage > *:nth-child(5) { animation-delay: .2s; }
.stage > *:nth-child(n+6) { animation-delay: .25s; }
.st-ic { display: inline-block; animation: icBounce .9s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes icBounce { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.25) rotate(8deg); } 100% { transform: none; } }

/* Lobby-Karten: erscheinen beim Scrollen, kippen zur Maus, Emoji wippt */
.card { animation: none; }
.rv { opacity: 0; transform: translateY(22px) scale(.97); }
.rv.in { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .6s cubic-bezier(.2, .9, .3, 1.15); transition-delay: calc(var(--i, 0) * 60ms); }
.card.rv.in { transition: opacity .5s ease-out, transform .6s cubic-bezier(.2, .9, .3, 1.15), border-color .2s; transition-delay: calc(var(--i, 0) * 60ms), calc(var(--i, 0) * 60ms), 0s; }
@media (hover: hover) {
  .card.rv.in:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px); transition: transform .12s ease-out, border-color .2s; transition-delay: 0s; }
  .card:hover .card-icon > span { animation: none; transform: translate(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 9px)) rotate(-7deg) scale(1.12); }
  .card:hover .card-art::before { animation: patDrift 3s ease-in-out infinite alternate; }
}
.card-icon > span { animation: bob 3.4s ease-in-out infinite; animation-delay: calc(var(--bd, 0ms) * -1); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-4deg); } }
@keyframes patDrift { to { background-position: 26px 14px; } }
.card-shine { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .24), transparent 55%); }
.card:hover .card-shine { opacity: 1; }
.badge-new { animation: badgeWig 2.6s ease-in-out infinite; }
@keyframes badgeWig { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-8deg) scale(1.1); } 95% { transform: rotate(6deg) scale(1.1); } }
.section-head.rv { transform: translateX(-20px); }
.section-head.rv.in { transform: none; }

/* Highlight-Banner: Inhalt gestaffelt, Emoji ploppt und schwebt, Muster wandert */
.feat-slide .st1, .feat-slide .st2, .feat-slide .st3, .feat-slide .st4 { animation: upIn .55s cubic-bezier(.2, .8, .2, 1) both; }
.feat-slide .st1 { animation-delay: .05s; } .feat-slide .st2 { animation-delay: .12s; } .feat-slide .st3 { animation-delay: .2s; } .feat-slide .st4 { animation-delay: .28s; }
.feat-icon > span { animation: emojiPop .75s cubic-bezier(.2, 1.5, .4, 1) .15s both, floaty 5s ease-in-out 1s infinite; }
@keyframes emojiPop { from { opacity: 0; transform: scale(.3) rotate(-25deg) translateY(40px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.feat-slide::before { animation: patSlide 14s linear infinite; }
@keyframes patSlide { to { background-position: 136px 0; } }
.feat-actions .btn-ink { animation: breathe 2.8s ease-in-out 1.2s infinite; }
@keyframes breathe { 50% { transform: scale(1.045); } }

/* Logo */
.logo-mark i { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.logo-mark i:nth-child(2) { animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 50% { transform: scale(.75); } }
.logo:hover .logo-mark i:nth-child(1) { transform: rotate(90deg) scale(.85); }
.logo:hover .logo-mark i:nth-child(2) { animation: none; transform: scale(1.3); }
.logo:hover .logo-mark i:nth-child(3) { transform: rotate(-90deg); }
.logo:hover .logo-mark i:nth-child(4) { transform: translate(-2px, -2px) rotate(45deg) scale(.8); }

/* Knöpfe: Glanz beim Darüberfahren */
.btn-primary::after, .btn-pink::after { content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .65s ease; pointer-events: none; }
@media (hover: hover) { .btn-primary:hover::after, .btn-pink:hover::after { left: 135%; } }

/* Online-Punkte pulsieren */
.av-on::after, .live-dot::after, .online-btn b::after { content: ''; }
.live-dot { position: relative; }
.live-dot::after, .av-on::after { position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.9s ease-out infinite; }
@keyframes ping { to { transform: scale(2.3); opacity: 0; } }
.online-btn b.bump { display: inline-block; animation: tabPop .45s cubic-bezier(.3, 1.6, .5, 1); }

/* Coins: Zahl rollt, Münze dreht sich, Gewinn fliegt hoch, große Gewinne explodieren */
.wallet > span:first-child { display: inline-block; }
.wallet.pulse-up > span:first-child { animation: coinFlip .6s ease-in-out; }
@keyframes coinFlip { 50% { transform: rotateY(180deg) scale(1.3); } }
.float-text { position: absolute; z-index: 96; font-style: normal; font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--green-t, var(--green)); pointer-events: none; white-space: nowrap; transform: translate(-50%, 0); text-shadow: 0 2px 0 rgba(0, 0, 0, .6); animation: floatUp 1.25s ease-out forwards; }
@keyframes floatUp { 15% { transform: translate(-50%, -10px) scale(1.15); } to { transform: translate(-50%, -52px); opacity: 0; } }
.burst { position: absolute; z-index: 96; font-style: normal; font-size: 20px; pointer-events: none; animation: burstOut 1.05s cubic-bezier(.2, .7, .3, 1) forwards; transform: translate(-50%, -50%) scale(.3); }
@keyframes burstOut { 70% { opacity: 1; } to { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by) + 34px)) rotate(var(--br)) scale(1); opacity: 0; } }
.stamp { position: fixed; z-index: 97; top: 38%; left: 50%; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 10vw, 88px); color: var(--accent); letter-spacing: -1px; pointer-events: none; text-shadow: 0 4px 0 #0f0f0d, 0 0 0 #0f0f0d; -webkit-text-stroke: 2px #0f0f0d; animation: stampIn 1.6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes stampIn { 0% { transform: translate(-50%, -50%) rotate(-12deg) scale(2.6); opacity: 0; } 18% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); opacity: 1; } 75% { transform: translate(-50%, -50%) rotate(-8deg) scale(1.04); opacity: 1; } 100% { transform: translate(-50%, -70%) rotate(-8deg) scale(.9); opacity: 0; } }

/* Chat: neue Nachrichten ploppen auf */
.msg-row.pop .bubble { animation: bubbleIn .4s cubic-bezier(.2, 1.4, .4, 1); }
.msg-row.pop.mine .bubble { transform-origin: bottom right; }
.msg-row.pop:not(.mine) .bubble { transform-origin: bottom left; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.85); } }

/* Admin-Zeilen gleiten nacheinander herein */
.adm-row { animation: rowIn .4s ease-out both; }

/* Hinweise mit Laufbalken */
.toast { position: relative; overflow: hidden; }
.toast::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .25; transform-origin: left; animation: toastBar 2.8s linear forwards; }
.toast.has-action::after { animation-duration: 9s; }
@keyframes toastBar { to { transform: scaleX(0); } }

/* Bestenliste: Medaillen hüpfen */
.board li.top1 span, .board li.top2 span, .board li.top3 span { display: inline-block; animation: icBounce .8s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: inherit; }
.stage > .shake { animation: shake .4s; }
.card.rv.in:active { transform: scale(.96); transition: transform .1s; transition-delay: 0s; }

/* Banner füllt die ganze Höhe neben der rechten Spalte */
#featSlide { display: flex; flex-direction: column; min-width: 0; }
#featSlide > .feat-slide { flex: 1; }

/* ---------- Ideen & Fehler ---------- */
.fb-wrap { width: min(980px, 100%); display: flex; flex-direction: column; gap: 12px; }
.fb-tabs { align-self: center; }
.fb-new { display: flex; flex-direction: column; gap: 14px; width: min(680px, 100%); align-self: center; }
.fb-new h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; }
.fb-new p { margin: 0; }
.fb-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fb-kind { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); text-align: center; }
.fb-kind span { font-size: 34px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.fb-kind small { color: var(--muted); font-size: 12px; }
.fb-kind.on { border-color: var(--accent); background: #22261a; }
.fb-kind.on span { transform: scale(1.2) rotate(-8deg); }
.fb-new label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.fb-new select, .fb-new textarea, .fb-form textarea { font: inherit; font-size: 16px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; resize: vertical; }
.fb-new textarea:focus, .fb-form textarea:focus { outline: none; border-color: var(--accent); }
.fb-send { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fb-ic { font-size: 22px; width: 36px; text-align: center; }
.fb-ic.big { font-size: 28px; }
.fb-status { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--panel3); white-space: nowrap; }
.fb-status.s-offen { color: var(--gold-t, var(--gold)); } .fb-status.s-arbeit { color: var(--cyan-t, var(--cyan)); } .fb-status.s-erledigt { color: var(--green-t, var(--green)); } .fb-status.s-abgelehnt { color: var(--red-t, var(--red)); }
.fb-set { padding: 0 2px; }
.fb-b.adm { background: #2a2f17; box-shadow: inset 3px 0 0 var(--accent); }
.mine .fb-b.adm { box-shadow: inset -3px 0 0 var(--accent); }
.fb-b .who { margin-bottom: 4px; }
.fb-wait { text-align: center; margin: 10px 0 0; }
.fb-form { align-items: flex-end; }
.fb-form textarea { flex: 1; min-width: 0; }
.fb-adminbox { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid rgba(215, 255, 60, .35); text-decoration: none; transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), background .15s; }
.fb-adminbox:hover { background: var(--panel2); transform: translateY(-2px); }
.fb-adminbox > span:nth-child(2) { flex: 1; }
.fb-adminbox small { display: block; font-size: 13px; }
.quick .fb-badge, .fb-adminbox .fb-badge { margin-left: auto; }
.note-ic { background: var(--panel3); font-size: 20px; }
@media (max-width: 560px) { .fb-kinds { grid-template-columns: 1fr; } .fb-kind { flex-direction: row; gap: 10px; text-align: left; } .fb-kind span { font-size: 26px; } }
.fb-body > .fb-new { margin: 0 auto; }

/* ---------- Startseite kompakt: Banner + Online gleich hoch, darunter eine Leiste ---------- */
.featured { grid-template-columns: 1fr 300px; grid-template-rows: 300px; align-items: stretch; padding-bottom: 0; }
.feat-slide { min-height: 0; padding: clamp(20px, 3vw, 32px); }
.feat-slide h1 { font-size: clamp(34px, 5vw, 58px); }
.feat-icon { font-size: clamp(110px, 15vw, 190px); }
.online-card { display: flex; flex-direction: column; min-height: 0; }
.online-card .online-list { flex: 1; overflow-y: auto; }
.feat-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.feat-thumbs button { width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid rgba(243, 239, 228, .2); background: rgba(15, 15, 13, .45); font-size: 18px; display: grid; place-items: center; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .2s, border-color .2s; }
.feat-thumbs button:hover { transform: translateY(-3px); }
.feat-thumbs button.on { background: var(--text); border-color: var(--text); transform: scale(1.12); }
.quickbar { display: grid; grid-template-columns: repeat(4, 1.4fr) repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.quickbar > a, .quickbar > button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; text-align: left; font-weight: 600; font-size: 14px; position: relative; overflow: hidden; transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), background .15s; }
.quickbar > a:hover, .quickbar > button:hover { background: var(--panel2); transform: translateY(-2px); }
.quickbar .ic { width: 20px; height: 20px; color: var(--accent); }
.quickbar small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.quickbar .stat { padding: 8px 6px; }
.quickbar .stat i { font-size: 15px; } .quickbar .stat span { font-size: 18px; }
@media (max-width: 1000px) {
  .featured { grid-template-columns: 1fr; grid-template-rows: auto; }
  .feat-slide { min-height: 260px; }
  .online-card { max-height: 220px; }
  .quickbar { grid-template-columns: repeat(4, 1fr); }
  .quickbar .stat { grid-column: span 1; }
}
@media (max-width: 560px) { .quickbar { grid-template-columns: 1fr 1fr; } .quickbar .stat:last-child { grid-column: span 2; } }

/* ---------- Ankündigungen ---------- */
.anns { position: fixed; z-index: 85; top: calc(70px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.ann { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px 14px 14px 16px; border-radius: 16px; background: var(--panel2); border: 1px solid rgba(215, 255, 60, .45); box-shadow: 0 22px 50px rgba(0, 0, 0, .6); animation: annIn .55s cubic-bezier(.2, 1.4, .4, 1); transition: opacity .3s, transform .3s; }
.ann.personal { border-color: rgba(92, 200, 255, .55); }
.ann.out { opacity: 0; transform: translateY(-16px) scale(.96); }
.ann-ic { font-size: 30px; line-height: 1; animation: icBounce .9s cubic-bezier(.3, 1.6, .5, 1) .2s both; }
.ann-body small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.ann.personal .ann-body small { color: var(--cyan-t, var(--cyan)); }
.ann-body p { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.ann-x { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; color: var(--muted); }
.ann-x:hover { color: var(--text); background: var(--panel3); }
@keyframes annIn { from { opacity: 0; transform: translateY(-30px) scale(.92); } }
.ann-admin { display: flex; flex-direction: column; gap: 10px; }
.ann-admin h3 { margin: 0; font-family: var(--display); font-size: 18px; }
.ann-admin textarea, .ann-admin select { font: inherit; font-size: 15px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 11px; resize: vertical; width: 100%; }
.ann-opts { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.ann-opts label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.ann-admin > .btn { align-self: flex-start; }
.ann-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ann-list li:not(.muted) { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); }
.ann-list li > span { font-size: 22px; }
.ann-list b { display: block; font-size: 14px; font-weight: 600; }
.ann-list small { font-size: 12px; }
#stageBonus.ready { border-color: var(--accent); color: var(--accent); animation: breathe 2.4s ease-in-out infinite; }
@media (max-width: 560px) { .ann-opts { grid-template-columns: 1fr; } }

/* ---------- Musa Drop ---------- */
.md { width: min(1100px, 100%); display: flex; flex-direction: column; gap: 12px; }
.md-tabs { align-self: center; }
.md-cnt { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.md-feed { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.md-live { font-family: var(--mono); font-size: 11px; color: var(--red-t, var(--red)); white-space: nowrap; animation: blink 1.4s infinite; }
.md-ticker { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.md-ticker::-webkit-scrollbar { display: none; }
.md-tick { flex: 0 0 auto; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--bg2); border-bottom: 2px solid var(--rc); white-space: nowrap; }
.md-tick:first-child { animation: annIn .5s cubic-bezier(.2, 1.4, .4, 1); }
.md-tick.lost { opacity: .6; }
.md-tick small { color: var(--muted); font-family: var(--mono); }
.md-up { display: grid; grid-template-columns: 1fr 290px 1fr; gap: 14px; align-items: start; }
.md-col { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.md-col h4 { margin: 0; display: flex; justify-content: space-between; font-size: 14px; }
.md-col h4 .mono { color: var(--gold-t, var(--gold)); }
.md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.md-grid.sm { max-height: 380px; overflow-y: auto; padding: 2px; }
.md-empty { grid-column: 1 / -1; text-align: center; padding: 20px 6px; margin: 0; }
.md-empty a { color: var(--accent); }
.md-skin { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px 9px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); border-bottom: 3px solid var(--rc); text-align: center; transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), border-color .15s, background .15s; }
.md-skin:not(:disabled):hover { transform: translateY(-2px); }
.md-skin:disabled { cursor: default; opacity: 1; }
.md-skin.on { background: #22261a; border-color: var(--accent); transform: scale(1.04); }
.md-ic { font-size: 30px; line-height: 1.15; }
.md-skin b { font-size: 12px; } .md-skin small { font-size: 10px; color: var(--muted); }
.md-skin em { font-style: normal; font-size: 12px; color: var(--gold-t, var(--gold)); }
.md-mid { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.md-gauge { position: relative; width: 250px; height: 250px; }
.md-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-bg { fill: none; stroke: #3a1d1a; stroke-width: 22; }
.g-win { fill: none; stroke: var(--green); stroke-width: 22; transition: stroke-dasharray .45s cubic-bezier(.2, .8, .2, 1); }
.md-needle { position: absolute; top: 0; left: 0; right: 0; bottom: 0; transition: transform 3.2s cubic-bezier(.12, .78, .14, 1); pointer-events: none; }
.md-needle i { position: absolute; left: 50%; top: 2px; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 30px solid var(--text); transform: translateX(-50%); filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .5)); }
.md-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.md-center b { display: block; font-size: 32px; font-weight: 600; }
.md-center small { color: var(--muted); font-family: var(--mono); }
.md-gauge.won .g-win { stroke: var(--accent); animation: tabPop .6s; }
.md-gauge.won .md-center b { color: var(--accent); }
.md-gauge.lost { animation: shake .45s; }
.md-gauge.lost .md-center b { color: var(--red-t, var(--red)); }
.md-result { min-height: 30px; text-align: center; }
.md-won { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 18px; border-radius: 14px; background: var(--panel2); border: 2px solid var(--rc); }
.md-won span { font-size: 46px; animation: icBounce .9s cubic-bezier(.3, 1.6, .5, 1); }
.md-won em { font-style: normal; color: var(--green-t, var(--green)); font-weight: 600; }
.md-lost { color: var(--red-t, var(--red)); font-weight: 700; animation: upIn .4s; }
.md-mults { justify-content: flex-start; }
.md-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.md-case { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.md-cic { font-size: 50px; animation: bob 3s ease-in-out infinite; }
.md-case:nth-child(2) .md-cic { animation-delay: -1s; } .md-case:nth-child(3) .md-cic { animation-delay: -2s; }
.md-odds { display: flex; flex-direction: column; gap: 3px; width: 100%; font-size: 12px; }
.md-odds span { display: flex; justify-content: space-between; padding: 3px 8px; border-radius: 6px; background: var(--bg2); border-left: 3px solid var(--rc); font-family: var(--mono); }
.md-odds small { color: var(--muted); }
.md-reveal { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 10px; }
.md-flip { perspective: 800px; }
.md-flip-in { width: 220px; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 16px; background: var(--panel2); border: 2px solid var(--rc, var(--line2)); text-align: center; padding: 14px; }
.md-flip-in span { font-size: 64px; line-height: 1.1; }
.md-flip-in em { font-style: normal; color: var(--gold-t, var(--gold)); font-size: 18px; }
.md-flip-in.done { animation: flipReveal .6s cubic-bezier(.2, 1.3, .4, 1); box-shadow: 0 0 0 4px rgba(0, 0, 0, .3), 0 0 40px -6px var(--rc); }
@keyframes flipReveal { 0% { transform: rotateY(90deg) scale(.8); } 100% { transform: none; } }
.md-auto .auto { width: 100%; }
.md-invhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.md-shopitem { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .md-up { grid-template-columns: 1fr; } .md-mid { order: -1; } .md-cases { grid-template-columns: 1fr; } }


/* ---------- Pausiert, Wartung, Sofort-Updates ---------- */
.is-maint > *:not(.ban-screen):not(.toasts):not(.modal) { display: none !important; }
.is-maint .modal { z-index: 120; }
.pause-screen { background-image: repeating-linear-gradient(-45deg, rgba(242, 193, 78, .05) 0 18px, transparent 18px 40px); }
.pause-card { border-color: rgba(242, 193, 78, .45); width: min(520px, 100%); animation: pageIn .5s cubic-bezier(.2, 1.2, .4, 1); }
.pause-mark { display: flex; gap: 10px; justify-content: center; height: 56px; margin-bottom: 8px; }
.pause-mark i { width: 16px; border-radius: 6px; background: #f2c14e; animation: pauseBar 1.6s ease-in-out infinite; }
.pause-mark i + i { animation-delay: .2s; }
@keyframes pauseBar { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.7); opacity: .6; } }
.pause-lead { color: var(--muted); margin: -10px 0 18px; line-height: 1.5; }
.pause-chat { text-align: left; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel2); overflow: hidden; margin: 14px 0 6px; }
.pause-msgs { max-height: 240px; min-height: 90px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pause-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 12px 6px; border-top: 1px solid var(--line2); background: var(--panel); }
.pause-form textarea { flex: 1; min-width: 0; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; resize: none; height: 48px; min-height: 48px; max-height: 140px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.pause-form textarea::placeholder { color: var(--muted); opacity: 1; }
.pause-form textarea:focus { border-color: rgba(242, 193, 78, .75); box-shadow: 0 0 0 3px rgba(242, 193, 78, .16); }
.pause-form .btn { height: 48px; border-radius: 14px; padding: 0 18px; flex: none; white-space: nowrap; }
.pause-err { margin: 0; padding: 4px 14px 0; color: #ff6b8b; font-size: 13px; text-align: left; animation: maintPop .3s; }
.pause-hint { margin: 0; padding: 4px 14px 10px; color: var(--muted); font-size: 12px; text-align: left; background: var(--panel); }
.pause-login { padding: 14px; border-top: 1px solid var(--line2); display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--panel); }
.pause-login p { margin: 0; color: var(--muted); text-align: left; }
.pause-msgs .bubble { max-width: 85%; }
.is-banned .toasts, .is-maint .toasts { z-index: 130; }
.is-banned > .modal { display: grid !important; z-index: 120; }
@media (max-width: 420px) { .pause-form .btn { padding: 0 14px; font-size: 0; } .pause-form .btn::before { content: '📨'; font-size: 18px; } }
.maint-bar { position: fixed; z-index: 95; top: calc(12px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); display: flex; gap: 12px; align-items: center; padding: 12px 16px 14px; border-radius: 16px; background: var(--panel2); border: 1px solid rgba(242, 193, 78, .55); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); overflow: hidden; animation: annIn .55s cubic-bezier(.2, 1.4, .4, 1); transition: opacity .3s, transform .3s; }
.maint-bar.out { opacity: 0; transform: translate(-50%, -20px); }
.maint-bar .maint-tx { display: flex; flex-direction: column; gap: 2px; }
.maint-bar small { color: var(--muted); }
.maint-n { font-family: var(--mono); color: #f2c14e; display: inline-block; animation: maintPop .3s; }
.maint-gear { font-size: 26px; animation: spin 2.4s linear infinite; }
.maint-prog { position: absolute; left: 0; bottom: 0; height: 3px; background: #f2c14e; transition: width .3s linear; }
.maint-bar.urgent { border-color: rgba(255, 90, 78, .7); animation: maintShake .5s infinite; }
.maint-bar.urgent .maint-n, .maint-bar.urgent .maint-prog { color: #ff5a4e; background-color: currentColor; }
.maint-bar.urgent .maint-n { background: none; }
.maint-bar.team { border-color: rgba(215, 255, 60, .5); animation: none; }
@keyframes maintPop { from { transform: scale(1.6); } }
@keyframes maintShake { 0%, 100% { transform: translateX(-50%); } 25% { transform: translateX(calc(-50% - 2px)); } 75% { transform: translateX(calc(-50% + 2px)); } }
.maint-screen { background-image: repeating-linear-gradient(-45deg, rgba(215, 255, 60, .04) 0 18px, transparent 18px 40px); }
.maint-card { border-color: rgba(215, 255, 60, .35); animation: pageIn .6s cubic-bezier(.2, 1.2, .4, 1); }
.maint-gears { position: relative; height: 80px; margin-bottom: 6px; font-size: 54px; }
.maint-gears span { position: absolute; left: 50%; top: 0; animation: spin 3s linear infinite; }
.maint-gears span:nth-child(1) { margin-left: -62px; }
.maint-gears span:nth-child(2) { margin-left: 4px; top: 22px; font-size: 38px; animation-direction: reverse; animation-duration: 2s; }
.maint-gears span:nth-child(3) { margin-left: -14px; top: 30px; font-size: 30px; animation: wrench 1.2s ease-in-out infinite; }
@keyframes wrench { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(25deg); } }
.maint-dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 14px; }
.maint-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent, #d7ff3c); animation: dotHop 1.2s ease-in-out infinite; }
.maint-dots i:nth-child(2) { animation-delay: .15s; } .maint-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dotHop { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-10px); opacity: 1; } }
.maint-admin { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px; }
.maint-admin > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.maint-admin.on { border-color: rgba(242, 193, 78, .55); box-shadow: 0 0 0 1px rgba(242, 193, 78, .2) inset; }
.maint-admin.on .fb-ic { animation: spin 3s linear infinite; }
.ann { position: relative; overflow: hidden; }
.ann-time { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent, #d7ff3c); transform-origin: left; animation: annTime linear forwards; opacity: .7; }
@keyframes annTime { to { transform: scaleX(0); } }
.ann-btns { justify-content: flex-start; gap: 8px; }
.fb-closed { padding: 14px 16px; border-top: 1px solid var(--line2); color: var(--muted); text-align: center; background: var(--panel2); }
.fb-closed b { font-family: var(--mono); color: #ff6b8b; }
.tw-tile.peek { background: rgba(255, 90, 78, .35); border-color: #ff5a4e; animation: peekPop .25s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes peekPop { from { transform: scale(.6); } }
.btn.wh-stop { background: #ff5a4e; color: #fff; animation: maintPop .4s, stopPulse .8s ease-in-out infinite; }
@keyframes stopPulse { 50% { box-shadow: 0 0 0 8px rgba(255, 90, 78, .2); } }
@media (prefers-reduced-motion: reduce) { .maint-gear, .maint-gears span, .pause-mark i, .maint-dots i, .maint-bar.urgent { animation: none !important; } }
.ban-screen { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ban-screen > .ban-card { margin: auto 0; }
body:has(#maintBar) .anns { top: calc(132px + env(safe-area-inset-top)); }


/* ---------- Umfragen ---------- */
.ann.poll { border-color: rgba(92, 200, 255, .5); }
.poll-q { font-weight: 700; font-size: 16px; }
.poll-opts { display: grid; gap: 8px; margin-top: 10px; }
.poll-opt { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel3, #262622); color: var(--text); font: inherit; text-align: left; cursor: pointer; animation: pollIn .45s cubic-bezier(.2, 1.4, .4, 1) backwards; transition: border-color .2s, transform .15s, background .2s; }
.poll-opt:hover:not(:disabled) { border-color: rgba(92, 200, 255, .7); transform: translateX(3px); }
.poll-opt:active:not(:disabled) { transform: scale(.97); }
.poll-opt b, .poll-opt em { position: relative; z-index: 1; }
.poll-opt em { font-style: normal; font-family: var(--mono); color: var(--muted); }
.poll-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(92, 200, 255, .18); transition: width .8s cubic-bezier(.2, .9, .3, 1); }
.poll-opt.top .poll-fill { background: rgba(215, 255, 60, .2); }
.poll-opt.top em { color: var(--accent, #d7ff3c); }
.poll-opt.mine { border-color: rgba(215, 255, 60, .8); }
.poll-opt.mine b::after { content: ' ✓'; color: var(--accent, #d7ff3c); }
.poll-opt:disabled { cursor: default; }
.poll-foot { display: block; margin-top: 8px; color: var(--muted); }
.poll.voted .poll-foot { color: var(--accent, #d7ff3c); animation: maintPop .35s; }
@keyframes pollIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.poll-admin { padding: 18px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.poll-admin h3 { margin: 0; }
.poll-admin input { font: inherit; font-size: 15px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; width: 100%; outline: none; transition: border-color .2s; }
.poll-admin input:focus { border-color: rgba(92, 200, 255, .7); }
.poll-inputs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.poll-inputs input { animation: pollIn .35s cubic-bezier(.2, 1.4, .4, 1) backwards; }
.poll-admin .btn-primary { align-self: flex-start; }
.poll-results { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.poll-res { border: 1px solid var(--line2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--panel2); animation: pollIn .4s backwards; }
.poll-res.on { border-color: rgba(92, 200, 255, .45); }
.poll-res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.poll-res-head > div { display: flex; flex-direction: column; gap: 2px; }
.poll-bar { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg2); }
.poll-bar b, .poll-bar em { position: relative; z-index: 1; }
.poll-bar em { font-style: normal; font-family: var(--mono); color: var(--muted); white-space: nowrap; }
.poll-bar.top .poll-fill { background: rgba(215, 255, 60, .22); }
.poll-bar.top em { color: var(--accent, #d7ff3c); }
.poll-who { color: var(--muted); padding: 0 4px 2px; font-size: 12px; }

/* Wartungs-Countdown: Spiele sind gesperrt */
.maint-soon .card, .maint-soon .featured { filter: grayscale(.85); opacity: .55; pointer-events: none; transition: filter .4s, opacity .4s; }


/* ---------- Schach (Duell-Arena) ---------- */
.ch-wrap { width: min(520px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ch-board { display: grid; grid-template-columns: repeat(8, 1fr); aspect-ratio: 1; width: 100%; border-radius: 12px; overflow: hidden; border: 2px solid #2b2b26; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.ch-sq { position: relative; border: 0; padding: 0; aspect-ratio: 1; display: grid; place-items: center; cursor: default; font: inherit; }
.ch-sq.l { background: #e9e2cf; } .ch-sq.d { background: #7a8a4a; }
.ch-sq.mine { cursor: pointer; }
.ch-sq.last.l { background: #f3e98a; } .ch-sq.last.d { background: #b9c14c; }
.ch-sq.sel { box-shadow: inset 0 0 0 4px #d7ff3c; }
.ch-sq.tgt::after { content: ''; width: 28%; height: 28%; border-radius: 50%; background: rgba(15, 15, 13, .32); animation: pollIn .25s backwards; }
.ch-sq.cap { box-shadow: inset 0 0 0 5px rgba(255, 90, 78, .75); cursor: pointer; }
.ch-sq.tgt { cursor: pointer; }
.ch-sq.chk { background: radial-gradient(circle, #ff5a4e 0%, rgba(255, 90, 78, .55) 45%, transparent 75%), #c9a24c !important; }
.ch-pc { font-style: normal; font-size: clamp(26px, 8.4vw, 50px); line-height: 1; font-family: 'Segoe UI Symbol', 'DejaVu Sans', 'Noto Sans Symbols 2', serif; transition: transform .15s; pointer-events: none; }
.ch-pc.w { color: #fbf8ef; text-shadow: 0 0 1px #000, 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 -1px 0 #000, 0 3px 6px rgba(0, 0, 0, .45); }
.ch-pc.b { color: #191917; text-shadow: 0 0 1px #fff8, 0 3px 6px rgba(0, 0, 0, .35); }
.ch-sq.mine:hover .ch-pc, .ch-sq.sel .ch-pc { transform: translateY(-3px) scale(1.08); }
.ch-sq em { position: absolute; font-style: normal; font-size: 10px; font-family: var(--mono); opacity: .6; color: #0f0f0d; }
.ch-sq .rk { left: 3px; top: 2px; } .ch-sq .fl { right: 3px; bottom: 1px; }
.ch-clock { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); transition: border-color .2s, background .2s; }
.ch-clock span { color: var(--muted); font-size: 14px; }
.ch-clock b { font-family: var(--mono); font-size: 22px; letter-spacing: 1px; }
.ch-clock.on { border-color: rgba(215, 255, 60, .6); background: rgba(215, 255, 60, .07); }
.ch-clock.on b { color: var(--accent, #d7ff3c); }
.ch-clock.low b { color: #ff5a4e; animation: maintPop .5s infinite alternate; }
.ch-state { text-align: center; margin: 0; color: var(--muted); min-height: 1.4em; }
.ch-hist { display: flex; flex-wrap: wrap; gap: 4px 8px; max-height: 84px; overflow-y: auto; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: var(--panel2); }
.ch-hist:empty { display: none; }
.ch-promo { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; align-content: center; background: rgba(8, 8, 7, .78); border-radius: 12px; z-index: 2; animation: toastIn .2s; }
.ch-promo p { width: 100%; text-align: center; margin: 0 0 4px; font-weight: 700; }
.ch-promo button { width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line2); background: #7a8a4a; display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.ch-promo button:hover { transform: scale(1.08); }

/* ---------- Banner: „Was ist neu?“ ---------- */
#featSlide { position: relative; }
.feat-tabs { position: absolute; z-index: 3; top: 14px; right: 14px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(15, 15, 13, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(243, 239, 228, .14); }
.feat-tabs button { position: relative; border: 0; background: transparent; color: rgba(243, 239, 228, .75); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.feat-tabs button:hover { color: #f3efe4; }
.feat-tabs button.on { background: #f3efe4; color: #0f0f0d; }
.news-badge { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff5a4e; color: #fff; font-size: 11px; line-height: 18px; text-align: center; animation: maintPop .6s ease-in-out infinite alternate; }
.feat-news { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 22px; padding: clamp(18px, 3vw, 28px) clamp(16px, 3vw, 28px) 12px; background: radial-gradient(120% 90% at 0% 0%, rgba(215, 255, 60, .16), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(92, 200, 255, .14), transparent 60%), var(--panel); border: 1px solid var(--line2); overflow: hidden; }
.news-head { padding-right: 230px; margin-bottom: 10px; }
.news-head h2 { margin: 0; font-family: var(--display); font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.5px; }
.news-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 4px; margin-right: -4px; scrollbar-width: thin; }
.news-day { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 8px 2px 2px; }
.news-day:first-child { margin-top: 0; }
.news-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--panel2); border: 1px solid transparent; color: inherit; text-decoration: none; animation: pollIn .45s cubic-bezier(.2, 1.3, .4, 1) backwards; animation-delay: var(--d); transition: border-color .2s, transform .2s; }
a.news-item:hover { border-color: rgba(215, 255, 60, .5); transform: translateX(4px); }
.news-item.fresh { border-color: rgba(215, 255, 60, .3); }
.news-ic { font-size: 24px; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--panel3, #262622); }
.news-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.news-tx small { color: var(--muted); line-height: 1.35; }
.news-new { font-style: normal; font-family: var(--mono); font-size: 10px; padding: 1px 6px; border-radius: 6px; background: var(--accent, #d7ff3c); color: #0f0f0d; vertical-align: 2px; margin-left: 4px; }
.news-go { font-size: 22px; color: var(--muted); }
@media (max-width: 560px) { .news-head { padding-right: 0; padding-top: 40px; } .feat-tabs { left: 12px; right: auto; } .feat-tabs button { font-size: 12px; padding: 6px 10px; } }

.tw-tile.swap { position: relative; z-index: 2; background: #4d4d43 !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(182, 156, 255, .6) !important; }

/* ======================= Singularität ======================= */
.sg-hole, .launch-hole { position: relative; border: 0; padding: 0; background: none; border-radius: 50%; aspect-ratio: 1; }
.sg-hole i, .launch-hole i { position: absolute; border-radius: 50%; pointer-events: none; }
.sg-glow { inset: -18%; background: radial-gradient(circle, rgba(182, 156, 255, .38), rgba(255, 154, 77, .12) 45%, transparent 70%); filter: blur(10px); animation: sgBreath 4s ease-in-out infinite; }
.sg-disk { inset: 4%; background: conic-gradient(from 0deg, #ff9a4d, #ffe2a8, #ff6b8b, #b69cff, #5cc8ff, #ffe2a8, #ff9a4d); -webkit-mask: radial-gradient(circle, transparent 36%, #000 39%, #000 52%, transparent 70%); mask: radial-gradient(circle, transparent 36%, #000 39%, #000 52%, transparent 70%); filter: blur(2px) saturate(1.2); animation: spin 7s linear infinite; }
.sg-disk.two { inset: 14%; opacity: .7; transform: scaleY(.32) rotate(0); animation: sgTilt 3.5s linear infinite reverse; filter: blur(3px); }
.sg-core { inset: 31%; background: #000; box-shadow: 0 0 0 2px rgba(255, 226, 168, .55), 0 0 30px 8px #000, 0 0 60px 18px rgba(182, 156, 255, .25); }
@keyframes sgBreath { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes sgTilt { to { transform: scaleY(.32) rotate(-360deg); } }
.sg { display: flex; flex-direction: column; gap: 14px; width: min(860px, 100%); margin: 0 auto; position: relative; }
.sg-hero { display: flex; align-items: center; gap: clamp(14px, 4vw, 36px); padding: clamp(14px, 3vw, 26px); border-radius: 24px; background: radial-gradient(120% 140% at 15% 50%, #1d1233, #0b0a10 60%); border: 1px solid rgba(182, 156, 255, .22); overflow: hidden; position: relative; }
.sg-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 20%, #fff6, transparent), radial-gradient(1.5px 1.5px at 85% 70%, #fff7, transparent), radial-gradient(1px 1px at 45% 80%, #fff5, transparent), radial-gradient(1px 1px at 60% 50%, #fff4, transparent); pointer-events: none; }
.sg-hole { width: calc(120px + var(--grow, 0) * 1px); flex: none; cursor: pointer; transition: width .6s cubic-bezier(.2, 1.3, .4, 1); -webkit-tap-highlight-color: transparent; }
.sg[data-ep="1"] .sg-hole { --grow: 16; } .sg[data-ep="2"] .sg-hole { --grow: 32; } .sg[data-ep="3"] .sg-hole { --grow: 48; } .sg[data-ep="4"] .sg-hole { --grow: 64; } .sg[data-ep="5"] .sg-hole { --grow: 80; }
.sg-hole.pulse { animation: sgPulse .25s ease-out; }
@keyframes sgPulse { 40% { transform: scale(.92); } }
.sg-num { display: flex; flex-direction: column; gap: 4px; min-width: 0; position: relative; }
.sg-ep { font-family: var(--mono); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #c9b8ff; }
.sg-num b { font-family: var(--display); font-size: clamp(30px, 6vw, 52px); line-height: 1; letter-spacing: -1px; color: #fff3e0; text-shadow: 0 0 24px rgba(255, 154, 77, .35); overflow-wrap: anywhere; }
.sg-num small { color: var(--muted); }
.sg-tap { font-size: 12px; opacity: .7; }
.sg-float { color: #ffe2a8 !important; font-weight: 700; }
.sg-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.sg-tabs button { flex: 1 1 auto; }
.sg-body { display: flex; flex-direction: column; gap: 12px; }
.sg-body.sg-in { animation: pageIn .3s; }
.sg-bulk { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.sg-epoch { border-radius: 18px; border: 1px solid var(--line2); background: var(--panel); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sg-epoch.cur { border-color: rgba(182, 156, 255, .4); box-shadow: 0 0 0 1px rgba(182, 156, 255, .12) inset; }
.sg-ehead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sg-ehead > span:first-child { font-size: 22px; }
.sg-cap { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 3px 8px; border-radius: 8px; background: var(--panel2); }
.sg-cap.bad { color: #ff6b5e; background: rgba(255, 90, 78, .12); animation: maintPop .8s infinite alternate; }
.sg-warn { margin: 0; font-size: 13px; color: #ffb3a8; }
.sg-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--panel2); }
.sg-row.sup { background: rgba(92, 200, 255, .06); }
.sg-ic { font-size: 26px; width: 42px; text-align: center; flex: none; }
.sg-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sg-info em { font-style: normal; font-family: var(--mono); color: #c9b8ff; }
.sg-info small { color: var(--muted); font-size: 12px; }
.sg-buy { min-width: 108px; line-height: 1.2; opacity: .55; background: var(--panel3, #262622); border: 1px solid var(--line2); color: var(--text); }
.sg-buy b { font-family: var(--mono); font-size: 12px; }
.sg-buy.can, .sg-res.can { opacity: 1; border-color: rgba(215, 255, 60, .55); box-shadow: 0 0 0 1px rgba(215, 255, 60, .15) inset; }
.sg-buy.can:hover { transform: translateY(-1px); }
.sg-gate { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(110deg, rgba(182, 156, 255, .16), rgba(255, 154, 77, .12)); border: 1px solid rgba(182, 156, 255, .4); }
.sg-gate > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sg-gate small { color: var(--muted); }
.sg-gic { font-size: 34px; animation: sgBreath 3s ease-in-out infinite; }
.sg-gate .btn { opacity: .6; }
.sg-gate .btn.can { opacity: 1; animation: stopPulse 1.2s ease-in-out infinite; }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.sg-res { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); text-align: left; font: inherit; opacity: .6; cursor: pointer; transition: transform .15s, opacity .2s; animation: pollIn .35s backwards; }
.sg-res span { font-size: 24px; }
.sg-res small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.sg-res em { font-style: normal; font-family: var(--mono); font-size: 12px; margin-top: auto; color: #ffe2a8; }
.sg-res.can:hover { transform: translateY(-2px); }
.sg-lock { margin: 0; font-size: 13px; }
.sg-asc { display: flex; flex-direction: column; gap: 12px; }
.sg-card { padding: 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.sg-card h3 { margin: 0; }
.sg-card p { margin: 0; color: var(--muted); }
.sg-card.sing { background: radial-gradient(120% 120% at 100% 0%, rgba(182, 156, 255, .18), transparent 60%), var(--panel); }
.sg-stat { display: flex; align-items: baseline; gap: 10px; }
.sg-stat b { font-family: var(--display); font-size: 28px; }
.sg-stat small, .sg-stat span { color: var(--muted); }
.sg-card .btn { align-self: flex-start; }
.sg-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.sg-perks li.on { color: var(--text); }
.sg-perks b { font-family: var(--mono); color: #c9b8ff; margin-right: 4px; }
.sg-laws { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.sg-law { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 14px; border: 1px solid rgba(92, 200, 255, .4); background: var(--panel2); color: var(--text); font: inherit; cursor: pointer; transition: transform .15s; }
.sg-law:hover { transform: translateY(-2px); border-color: #5cc8ff; }
.sg-law span { font-size: 26px; } .sg-law small { color: var(--muted); }
.sg-bar { height: 10px; border-radius: 5px; background: var(--panel2); overflow: hidden; }
.sg-bar i { display: block; height: 100%; background: linear-gradient(90deg, #5cc8ff, #b69cff, #ff9a4d); border-radius: 5px; transition: width .6s; }
.sg-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sg-rank li { display: grid; grid-template-columns: 36px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); animation: pollIn .35s backwards; }
.sg-rank li.me { border: 1px solid rgba(215, 255, 60, .5); }
.sg-rank span { grid-row: span 2; font-size: 20px; text-align: center; }
.sg-rank small { color: var(--muted); font-size: 12px; }
.sg-rank em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; font-family: var(--mono); color: #ffe2a8; }
.sg-debug { display: flex; flex-direction: column; gap: 10px; }
.sg-dbtn { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-raw { white-space: pre-wrap; font-size: 12px; background: var(--panel2); padding: 10px; border-radius: 10px; margin: 0; color: var(--muted); }
.sg-report { position: absolute; inset: -8px; z-index: 5; display: grid; place-items: start center; padding-top: 40px; background: rgba(6, 5, 10, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 24px; animation: toastIn .3s; transition: opacity .3s; }
.sg-report.out { opacity: 0; }
.sg-rcard { width: min(420px, 92%); text-align: center; padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid rgba(182, 156, 255, .4); display: flex; flex-direction: column; gap: 10px; align-items: center; animation: pageIn .5s cubic-bezier(.2, 1.3, .4, 1); }
.sg-rcard h3 { margin: 0; font-size: 24px; } .sg-rcard p { margin: 0; color: var(--muted); }
.sg-rgain { font-family: var(--display); font-size: 40px; color: #ffe2a8; text-shadow: 0 0 24px rgba(255, 154, 77, .4); animation: maintPop .5s; }
.sg-rhole { width: 70px; height: 70px; border-radius: 50%; background: #000; box-shadow: 0 0 0 3px rgba(255, 226, 168, .5), 0 0 40px 10px rgba(182, 156, 255, .4); animation: sgBreath 3s infinite; }
/* Karte in der Lobby: abgedunkelt und episch */
.card.sing .card-art { background: radial-gradient(circle at 50% 55%, transparent 16%, rgba(11, 10, 16, .3) 28%, rgba(11, 10, 16, .94) 60%), radial-gradient(circle at 50% 55%, #000 0 17%, transparent 18%), conic-gradient(from 0deg at 50% 55%, #ff9a4d, #ffe2a8, #ff6b8b, #b69cff, #5cc8ff, #ff9a4d); background-color: #0b0a10; }
.card.sing .card-icon { z-index: 1; filter: drop-shadow(0 0 18px rgba(255, 154, 77, .7)); }
.card.sing { border-color: rgba(182, 156, 255, .45); }
.card.soon .card-art { filter: grayscale(.4) brightness(.55); }
.card-soon { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); padding: 6px 14px; border-radius: 10px; background: rgba(8, 8, 7, .85); border: 1px solid rgba(255, 226, 168, .5); color: #ffe2a8; font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.sg-soon { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 16px; }
.sg-soon .launch-hole { width: 180px; }
.sg-soon p { max-width: 460px; }
/* Countdown zur Veröffentlichung */
.launch { position: fixed; inset: 0; z-index: 140; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at 50% 45%, #1d1233, #050408 70%); color: #fff3e0; text-align: center; padding: 20px; animation: toastIn .5s; transition: opacity .5s; overflow: hidden; }
.launch.out { opacity: 0; }
.launch-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 80% 30%, #fffa, transparent), radial-gradient(1.5px 1.5px at 30% 80%, #fff9, transparent), radial-gradient(1px 1px at 65% 65%, #fff8, transparent), radial-gradient(1px 1px at 50% 10%, #fff8, transparent), radial-gradient(1.5px 1.5px at 90% 85%, #fffa, transparent); animation: sgBreath 6s infinite; }
.launch-hole { width: calc(140px + var(--p, 0) * 160px); transition: width .4s; }
.launch.go .launch-hole { width: 360px; animation: sgPulse .6s; }
.launch-eyebrow { font-family: var(--mono); letter-spacing: 3px; text-transform: uppercase; color: #c9b8ff; margin: 6px 0 0; position: relative; }
.launch-title { font-family: var(--display); font-size: clamp(40px, 9vw, 92px); letter-spacing: clamp(2px, 1vw, 10px); margin: 0; background: linear-gradient(90deg, #ffe2a8, #ff9a4d, #ff6b8b, #b69cff); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.launch-n { font-family: var(--display); font-size: clamp(60px, 14vw, 140px); line-height: 1; position: relative; text-shadow: 0 0 40px rgba(255, 154, 77, .6); }
.launch-n.pop { animation: maintPop .4s; }
.launch.go .launch-n { color: #d7ff3c; text-shadow: 0 0 50px rgba(215, 255, 60, .7); }
.launch-sub { color: #c9b8ff; position: relative; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sing-admin.on { border-color: rgba(182, 156, 255, .5); }
@media (max-width: 560px) { .sg-hero { flex-direction: column; text-align: center; } .sg-cap { margin-left: 0; } .sg-buy { min-width: 92px; } .sg-row { padding: 8px; } .sg-ic { width: 32px; font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .sg-disk, .sg-glow, .launch-stars, .sg-gic { animation: none !important; } }
/* Oben rechts: langer Name darf die Leiste nicht sprengen (z. B. iPad hochkant) */
.user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 920px) { .user-name { display: none; } }
/* ---------- Nova Station: Vorfreude & Belohnungen ---------- */
.eh-tease { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 36px 16px 28px; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 22%, #1d1233, #07060b 72%); border: 1px solid rgba(182, 156, 255, .25); color: #fff3e0; }
.eh-tease .launch-hole { width: min(230px, 56vw); }
.eh-tease .launch-title { font-size: clamp(38px, 9vw, 80px); }
.eh-lore { display: flex; flex-direction: column; gap: 4px; margin: 0; color: #d9cdf7; font-size: 16px; position: relative; }
.eh-lore span { opacity: 0; animation: ehUp .8s forwards; }
.eh-lore span:nth-child(2) { animation-delay: .5s; } .eh-lore span:nth-child(3) { animation-delay: 1s; }
@keyframes ehUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eh-epochs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: min(720px, 100%); position: relative; }
.eh-epochs > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(182, 156, 255, .2); opacity: 0; animation: ehUp .6s forwards; }
.eh-epochs span { font-size: 26px; } .eh-epochs small { font-size: 10px; color: #a99bd0; font-family: var(--mono); } .eh-epochs b { font-size: 12px; }
.eh-epochs .lock { filter: blur(.4px); border-style: dashed; } .eh-epochs .lock b { color: #a99bd0; }
.eh-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(720px, 100%); position: relative; }
.eh-feats > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); text-align: left; opacity: 0; animation: ehUp .6s forwards; }
.eh-feats span { font-size: 22px; } .eh-feats small { color: #a99bd0; font-size: 12px; }
.eh-pre { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; margin-top: 6px; }
.eh-pre .btn-primary { animation: stopPulse 1.6s ease-in-out infinite; }
.eh-perk { margin: 0; color: #ffe2a8; max-width: 460px; }
.eh-when { position: relative; margin: 0; font-size: 13px; }
@media (max-width: 640px) { .eh-epochs { grid-template-columns: repeat(3, 1fr); } .eh-feats { grid-template-columns: repeat(2, 1fr); } }
.eh-cine { position: fixed; inset: 0; z-index: 135; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; background: radial-gradient(circle at 50% 40%, #1d1233, #050408 72%); color: #fff3e0; animation: toastIn .5s; transition: opacity .5s; }
.eh-cine.out { opacity: 0; }
.eh-cine .launch-hole { width: 200px; animation: sgPulse .8s; }
.eh-cine h2 { margin: 0; font-family: var(--display); font-size: clamp(34px, 7vw, 64px); position: relative; animation: ehUp .7s .2s both; }
.eh-cine-lore { max-width: 520px; font-size: 18px; color: #d9cdf7; margin: 0; position: relative; animation: ehUp .8s .6s both; }
.eh-cine .muted, .eh-cine .launch-eyebrow { position: relative; animation: ehUp .8s .9s both; }
.eh-cine .btn { position: relative; animation: ehUp .8s 1.2s both; }
.sg-comet { position: absolute; z-index: 3; top: calc(12% + var(--t, 0) * 40%); left: calc(96% - var(--t, 0) * 80%); font-size: 34px; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 0 12px #ffe2a8) drop-shadow(0 0 24px #ff9a4d); animation: cometWob .5s ease-in-out infinite alternate; padding: 8px; }
.sg-comet::after { content: ''; position: absolute; left: 60%; top: 45%; width: 80px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 226, 168, .8), transparent); transform: rotate(-20deg); transform-origin: left; pointer-events: none; }
@keyframes cometWob { to { transform: translateY(-6px) scale(1.1); } }
.sg-achs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.sg-ach { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 12px; background: var(--panel2); opacity: .5; }
.sg-ach.on { opacity: 1; border: 1px solid rgba(255, 226, 168, .35); }
.sg-ach span { font-size: 20px; } .sg-ach b { font-size: 13px; } .sg-ach small { font-size: 11px; color: var(--muted); }

/* ---------- Nova Station: begehbare Station ---------- */
.sg-hero.sg-worldwrap { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
.sg-worldwrap .sg-num { text-align: center; }
.sg-world { position: relative; display: flex; justify-content: center; }
.sg-cv { border-radius: 14px; touch-action: none; display: block; cursor: pointer; }
.sg-anchor { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.sg-act { position: absolute; right: 12px; bottom: 12px; z-index: 2; }

/* ---------- Force-Nachricht vom Admin (Mitte des Bildschirms) ---------- */
.ann-force { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 8, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: pageIn .3s; }
.ann-force.out { opacity: 0; transition: opacity .3s; }
.ann-force-card { width: min(520px, 100%); text-align: center; padding: 28px 22px; border-radius: 22px; background: var(--panel); border: 2px solid var(--accent); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ann-force-ic { font-size: 54px; line-height: 1; }
.ann-force-card small { color: var(--muted, #999); }
.ann-force-card p { font-size: 19px; line-height: 1.45; margin: 4px 0 10px; overflow-wrap: anywhere; max-height: 50vh; overflow: auto; }
.ann-force-card .btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Rotor Arena ---------- */
.cp-ups { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; width: min(800px, 100%); margin: 8px auto 0; }
.cp-pts { width: 100%; text-align: center; font-weight: 700; color: var(--gold-t, var(--gold)); font-size: 14px; }
.cp-up { flex: 1 1 110px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 8px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: left; position: relative; }
.cp-up span { grid-row: span 2; font-size: 20px; }
.cp-up b { font-size: 13px; }
.cp-up i { font-style: normal; font-size: 10px; letter-spacing: 1px; color: var(--accent); }
.cp-up small { position: absolute; top: 4px; right: 7px; font-size: 10px; color: var(--dim); }
.cp-up.can { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(215, 255, 60, .25); cursor: pointer; }
.cp-up[disabled] { opacity: .6; }
.cp-bar { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 8px; min-height: 40px; }
.cp-fx { font-size: 13px; }

/* ---------- Zombie Rush ---------- */
.zr { width: min(820px, 100%); margin: 0 auto; }
.zr-lobby { display: flex; flex-direction: column; gap: 10px; }
.zr-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.zr-top h2 { margin: 0; }
.zr-gold { font-weight: 800; font-size: 20px; color: var(--gold-t, var(--gold)); }
.zr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.zr-card { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: center; cursor: pointer; }
.zr-card span { font-size: 28px; }
.zr-card small { color: var(--muted); font-size: 11px; }
.zr-card em { font-style: normal; font-size: 11px; color: var(--gold-t, var(--gold)); }
.zr-card.on { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(215, 255, 60, .3); }
.zr-card.locked { opacity: .75; }
.zr-play { align-self: center; min-width: 220px; }
.zr-news { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(111, 174, 79, .5); background: linear-gradient(135deg, rgba(111, 174, 79, .16), rgba(255, 77, 109, .08)); }
.zr-news small { color: var(--muted); line-height: 1.5; }
/* Shop-Bereiche als Reiter; die Zahl zeigt, wie viele Upgrades du dir dort gerade leisten kannst */
.zr-tabs { align-self: flex-start; }
.zr-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.zr-tabs em { font-style: normal; min-width: 18px; padding: 1px 5px; border-radius: 9px; background: var(--gold); color: #1a1205; font-size: 11px; font-weight: 800; line-height: 16px; }
.tc-h span { letter-spacing: .04em; text-transform: none; color: var(--gold-t, var(--gold)); margin-left: 6px; }
.tc-card .tx small.zr-now { color: var(--accent); font-weight: 600; }
.tc-card.zr-max { border-color: rgba(242, 193, 78, .45); background: linear-gradient(135deg, rgba(242, 193, 78, .1), var(--panel) 60%); }
.zr-wrap { position: relative; display: flex; justify-content: center; }
.zr-foot { justify-content: center; margin-top: 6px; gap: 10px; font-size: 12px; }
.zr-choose { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; background: rgba(8, 8, 7, .78); border-radius: 12px; text-align: center; overflow: auto; }
.zr-choose[hidden] { display: none; }
.zr-choose h3 { margin: 0; font-size: 24px; }
.zr-opts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; }
.zr-opts button { flex: 1 1 130px; max-width: 170px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; border: 2px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; }
.zr-opts button:hover { border-color: var(--accent); }
.zr-opts button.new { border-color: var(--gold); }
.zr-opts span { font-size: 30px; }
.zr-opts small { color: var(--muted); font-size: 11px; }

/* ---------- Börse: Orders, Markt heute, Rangliste ---------- */
.mk-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.mk-ord { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-ord span { display: flex; flex-direction: column; }
.mk-mvs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-mvs > div { display: flex; flex-direction: column; gap: 4px; }
.mk-mv { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 12px; }
.mk-board { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mk-board li { display: grid; grid-template-columns: 28px 1fr auto; gap: 6px; }
.mk-board li.me b { color: var(--accent); }
.mk-trade .mk-tcol:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- VIP-Lounge ---------- */
.vip { width: min(980px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.vip-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px; border-radius: 20px; background: radial-gradient(120% 160% at 0% 0%, #3a2c10, #15130e 60%); border: 1px solid rgba(242, 193, 78, .35); }
.vip-hero.tier-0 { background: radial-gradient(120% 160% at 0% 0%, #3a2618, #15130e 60%); }
.vip-hero.tier-3 { background: radial-gradient(120% 160% at 0% 0%, #12343a, #0e1415 60%); border-color: rgba(92, 200, 255, .4); }
.vip-hero.tier-4 { background: radial-gradient(120% 160% at 0% 0%, #23204a, #0f0e18 60%); border-color: rgba(182, 156, 255, .5); }
.vip-hero.tier-5 { background: radial-gradient(120% 160% at 0% 0%, #4a1f3a, #120d12 60%); border-color: rgba(255, 90, 160, .5); }
.vip-badge { font-size: 64px; line-height: 1; filter: drop-shadow(0 6px 18px rgba(242, 193, 78, .35)); }
.vip-info h2 { margin: 0 0 8px; }
.vip-bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 6px; }
.vip-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--accent)); }
.vip-rake { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 14px; background: rgba(0, 0, 0, .3); text-align: center; }
.vip-rake b { font-size: 26px; color: var(--gold-t, var(--gold)); }
.vip-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.vip-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.vip-stats span { font-size: 20px; }
.vip-stats small { color: var(--muted); }
.vip-stats b { font-size: 18px; }
.vip-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.vip-wins, .vip-tiers, .vip-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.vip-wins li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.vip-tiers li { display: grid; grid-template-columns: 30px 1fr; gap: 0 6px; padding: 6px; border-radius: 10px; opacity: .65; }
.vip-tiers li span { grid-row: span 2; font-size: 22px; }
.vip-tiers li.done { opacity: .85; }
.vip-tiers li.on { opacity: 1; background: rgba(242, 193, 78, .1); outline: 1px solid rgba(242, 193, 78, .4); }
.vip-top li { display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; }
.vip-top li.me b { color: var(--accent); }
@media (max-width: 720px) { .vip-hero { grid-template-columns: 1fr; text-align: center; } .vip-cols { grid-template-columns: 1fr; } }

/* ---------- Chicken Road: Verlauf ---------- */
.ck-hist { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; align-items: center; font-size: 12px; margin: 4px 0; }
.ck-chip { padding: 2px 8px; border-radius: 999px; font-family: Geist Mono, monospace; font-size: 11px; }
.ck-chip.win { background: rgba(126, 224, 138, .15); color: #7ee08a; }
.ck-chip.lose { background: rgba(255, 107, 94, .15); color: #ff6b5e; }

/* ---------- Musa Drop: Walze, Seite, Sortieren ---------- */
.md-reel { position: relative; width: min(720px, 100%); overflow: hidden; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.md-strip { display: flex; gap: 8px; padding-left: 8px; will-change: transform; }
.md-rcard { flex: none; width: 110px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; background: var(--panel); border-bottom: 4px solid var(--rc, #888); }
.md-rcard span { font-size: 44px; }
.md-rcard em { font-style: normal; font-size: 12px; color: var(--gold-t, var(--gold)); }
.md-rcard.hit { box-shadow: 0 0 0 3px var(--accent), 0 0 30px -4px var(--rc, #fff); transform: scale(1.06); transition: transform .3s; }
.md-mark { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--accent); z-index: 2; box-shadow: 0 0 12px var(--accent); }
.md-side { margin: 4px 0; }
.md-sort { margin: 6px 0 10px; align-items: center; }

/* ---------- Admin: verknüpfte Konten ---------- */
.adm-links { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 3px; }
.adm-link { border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 999px; padding: 1px 8px; font-size: 11px; cursor: pointer; }
.adm-link.dev { border-color: rgba(255, 107, 94, .6); color: #ff9a8f; }
.adm-link.ip { opacity: .8; }
.adm-row.adm-flash { animation: admFlash 1.4s; }
@keyframes admFlash { 0%, 40% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Spender-Tag (grün, animiert) & Spenden ---------- */
/* Spender-Tag: dunkles Smaragd mit leuchtender Schrift, drehender Gold-Rahmen, aufsteigender Glitzer, Lichtstreifen und eine Aura, die nach außen pulsiert */
.t-donor { position: relative; overflow: hidden; isolation: isolate; color: #effff5; font-weight: 800; letter-spacing: .08em; text-shadow: 0 0 4px rgba(61, 255, 154, .9), 0 1px 0 rgba(0, 0, 0, .5); border: 1.5px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 50%) padding-box, linear-gradient(110deg, #04381d 0%, #0b8442 30%, #2ee87e 45%, #0b8442 60%, #04381d 100%) 0 0 / 250% 100% padding-box,
    conic-gradient(from var(--aw), #f2c14e, #fff3b0, #f2c14e, #3dff9a, #fff3b0, #f2c14e, #19c463, #f2c14e) border-box;
  animation: awSpin 2.6s linear infinite, donorShine 2.8s linear infinite, donorPing 2.2s ease-out infinite; }
.t-donor::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.6px), radial-gradient(circle, #fff3b0 0 1px, transparent 1.7px), radial-gradient(circle, #eafff2 0 .8px, transparent 1.4px);
  background-size: 23px 18px, 31px 22px, 17px 14px; background-position: 3px 0, 14px 6px, 9px 3px; animation: donorFizz 2.4s linear infinite; }
.t-donor::after { content: ''; position: absolute; top: -30%; bottom: -30%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: donorSweep 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes donorPing { 0% { box-shadow: 0 0 0 0 rgba(61, 255, 154, .8), 0 0 10px rgba(61, 255, 154, .55); } 70% { box-shadow: 0 0 0 6px rgba(61, 255, 154, 0), 0 0 14px rgba(61, 255, 154, .85); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0), 0 0 10px rgba(61, 255, 154, .55); } }
@keyframes donorFizz { to { background-position: 3px -18px, 14px -16px, 9px -11px; } }
html.lite .t-donor::before { animation: none; }
@keyframes donorShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .t-donor, .t-donor::before, .t-donor::after { animation: none; } }
.donate-btn { border-color: rgba(61, 255, 154, .5); color: #3dff9a; }
.donate-preview { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 10px 0; border-radius: 16px; background: var(--panel2, rgba(255,255,255,.04)); border: 1px solid rgba(61, 255, 154, .35); }
.donate-preview div { display: flex; flex-direction: column; gap: 4px; }
.donate-preview b { font-size: 18px; }
.don-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.don-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line); }

/* ---------- Neuer Spender-Tag: Münze, Glanz, Aura & Geldregen ---------- */
.t-donor.dn-epic { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 4px; cursor: pointer; }
.t-donor.dn-epic .dn-coin { z-index: 1; }
.t-donor.dn-epic::after { content: ''; position: absolute; top: -30%; bottom: -30%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent); transform: skewX(-20deg); animation: donorSweep 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes donorSweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.dn-coin { position: relative; width: 13px; height: 13px; flex: none; transform-style: preserve-3d; animation: dnFlip 2.6s cubic-bezier(.5, 0, .5, 1) infinite; }
.dn-coin i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 9px; font-weight: 900; line-height: 1; color: #5a3d00; text-shadow: none;
  background: radial-gradient(circle at 35% 30%, #fff6c8, #f2c14e 55%, #b8860b); box-shadow: inset 0 0 0 1px rgba(120, 80, 0, .6); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dn-coin i + i { transform: rotateY(180deg); }
@keyframes dnFlip { 0%, 30% { transform: rotateY(0); } 50%, 80% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.dn-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: visible; z-index: 8000; pointer-events: none; }
.dn-layer.fixed { position: fixed; }
.dn-p { position: absolute; left: 0; top: 0; font-style: normal; will-change: transform, opacity; }
.dn-bill { width: 26px; height: 14px; border-radius: 2px; display: grid; place-items: center; font: 900 9px/1 Geist Mono, monospace; color: #0b4a26;
  background: linear-gradient(135deg, #c8ffdd, #3fdc85 45%, #22b965); border: 1px solid #0f7a3f; box-shadow: 0 2px 6px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .3); }
.dn-bill::before { content: ''; position: absolute; inset: 3px; border: 1px dashed rgba(11, 74, 38, .35); border-radius: 1px; }
.dn-gold { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c8, #f2c14e 55%, #b8860b); box-shadow: 0 0 8px rgba(242, 193, 78, .75); }
.dn-spark { width: 6px; height: 6px; border-radius: 50%; background: #eafff2; box-shadow: 0 0 10px 3px rgba(61, 255, 154, .9); }
.dn-ring { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(61, 255, 154, .95); box-shadow: 0 0 18px rgba(61, 255, 154, .8), inset 0 0 12px rgba(61, 255, 154, .5); }
.dn-flash { width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(225, 255, 238, .95), rgba(61, 255, 154, .45) 40%, transparent 70%); }
.profile-head.is-donor .avatar { box-shadow: 0 0 0 3px #3dff9a, 0 0 22px rgba(61, 255, 154, .7); animation: donorRing 1.9s ease-in-out infinite alternate; }
@keyframes donorRing { from { box-shadow: 0 0 0 3px #19c463, 0 0 8px rgba(61, 255, 154, .5); } to { box-shadow: 0 0 0 3px #b9ffd6, 0 0 28px rgba(61, 255, 154, .95); } }
.donor-line { margin: 2px 0 6px; color: #3dff9a; font-weight: 600; font-size: 13px; }
.don-fx { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.don-fx > span { display: flex; flex-direction: column; gap: 3px; }
@media (prefers-reduced-motion: reduce) { .t-donor.dn-epic, .t-donor.dn-epic::after, .dn-coin, .profile-head.is-donor .avatar { animation: none; } }
/* Spenden-Vorschau: Tag nicht über die ganze Breite ziehen */
.donate-preview div { align-items: flex-start; }
.donate-preview .tag-badge { margin-left: 0; }

/* ---------- Bestenliste: Rekord und „pro Sekunde“ nebeneinander ---------- */
.modal-card.wide { width: min(780px, 100%); }
.board-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.board-2 h4, .sg-ranks h4 { margin: 4px 0 8px; font-size: 14px; }
.sg-ranks { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
@media (max-width: 640px) { .board-2, .sg-ranks { grid-template-columns: 1fr; } }

/* ---------- Strom-Imperium: Kalender & Akku-Steuerung ---------- */
.pw-cal { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pw-chip { padding: 4px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 12px; }
.pw-modes { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.pw-modes button { flex: 1 1 auto; }
.pw-tip { display: block; margin-top: 6px; color: var(--muted); }

/* ---------- Looks (Einstellungen) ---------- */
html[data-theme="nacht"] { --bg: #0a0f1e; --bg2: #0e1528; --panel: #111a30; --panel2: #16213b; --panel3: #1d2a49; --line: rgba(200, 220, 255, .09); --line2: rgba(200, 220, 255, .17); --accent: #5cc8ff; --accent-ink: #001a26; }
html[data-theme="neon"] { --bg: #110a1a; --bg2: #170e23; --panel: #1b1029; --panel2: #231536; --panel3: #2e1c46; --line: rgba(255, 180, 240, .09); --line2: rgba(255, 180, 240, .18); --accent: #ff3ea5; --accent-ink: #2a0016; --accent2: #22e4ff; }
html[data-theme="wald"] { --bg: #0b130d; --bg2: #0f1a12; --panel: #132017; --panel2: #18291d; --panel3: #213526; --line: rgba(200, 255, 210, .08); --line2: rgba(200, 255, 210, .16); --accent: #7ee08a; --accent-ink: #06200c; }
html[data-theme="hell"] { --bg: #f3f0e8; --bg2: #ebe7dd; --panel: #ffffff; --panel2: #f6f3ec; --panel3: #e8e3d7; --line: rgba(20, 20, 15, .1); --line2: rgba(20, 20, 15, .2); --text: #1b1a16; --muted: #5d594f; --dim: #7a756a; --accent: #5a8f00; --accent-ink: #ffffff; --shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 14px 30px -20px rgba(0, 0, 0, .35); color-scheme: light; }
html[data-theme="gold"] { --bg: #0c0a06; --bg2: #120f09; --panel: #18140c; --panel2: #201a10; --panel3: #2b2316; --line: rgba(242, 193, 78, .12); --line2: rgba(242, 193, 78, .24); --accent: #f2c14e; --accent-ink: #2a1d00; --text: #f6ecd2; }
html[data-theme="smaragd"] { --bg: #04110b; --bg2: #061a10; --panel: #0a1d13; --panel2: #0e2719; --panel3: #143322; --line: rgba(61, 255, 154, .1); --line2: rgba(61, 255, 154, .2); --accent: #3dff9a; --accent-ink: #02210f; }
html[data-theme="galaxie"], html[data-theme="galaxie-ultra"] { --bg: #07051a; --bg2: #0b0824; --panel: #110d2e; --panel2: #17123b; --panel3: #201a4d; --line: rgba(190, 170, 255, .1); --line2: rgba(190, 170, 255, .2); --accent: #b69cff; --accent-ink: #14062e; --accent2: #5cc8ff; }
/* Galaxie-Glühen auf einer festen Ebene statt „background-attachment: fixed“: bleibt beim Scrollen stehen und ruckelt auf dem iPad nicht */
html[data-theme="galaxie"] body::after, html[data-theme="galaxie-ultra"] body::after { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(1px 1px at 12% 18%, #fff9, transparent), radial-gradient(1px 1px at 68% 32%, #fff7, transparent), radial-gradient(1.5px 1.5px at 38% 74%, #fffa, transparent), radial-gradient(1px 1px at 86% 82%, #fff6, transparent), radial-gradient(1px 1px at 22% 58%, #fff5, transparent), radial-gradient(60% 50% at 70% 10%, rgba(120, 80, 255, .18), transparent), radial-gradient(50% 40% at 10% 90%, rgba(40, 160, 255, .14), transparent); }
html.bg-anim body::before { content: ''; position: fixed; inset: -20%; z-index: -1; pointer-events: none; background: radial-gradient(35% 30% at 25% 30%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), radial-gradient(30% 30% at 75% 70%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 70%); animation: bgDrift 16s ease-in-out infinite alternate; }
@keyframes bgDrift { from { transform: translate(-4%, -3%) rotate(0deg); } to { transform: translate(4%, 3%) rotate(8deg); } }
.set-h { margin: 16px 0 8px; font-size: 14px; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.theme-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); cursor: pointer; text-align: left; font-size: 13px; }
.theme-opt.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.theme-opt.locked { opacity: .5; cursor: not-allowed; }
.theme-opt small { font-size: 10px; color: #3dff9a; }
.th-dot { width: 100%; height: 20px; border-radius: 6px; border: 1px solid var(--line2); }
.th-standard { background: linear-gradient(90deg, #0f0f0d 60%, #d7ff3c 60%); } .th-nacht { background: linear-gradient(90deg, #0a0f1e 60%, #5cc8ff 60%); }
.th-neon { background: linear-gradient(90deg, #110a1a 60%, #ff3ea5 60%); } .th-wald { background: linear-gradient(90deg, #0b130d 60%, #7ee08a 60%); }
.th-hell { background: linear-gradient(90deg, #f3f0e8 60%, #5a8f00 60%); } .th-gold { background: linear-gradient(90deg, #0c0a06 60%, #f2c14e 60%); }
.th-smaragd { background: linear-gradient(90deg, #04110b 60%, #3dff9a 60%); } .th-galaxie, .th-galaxie-ultra { background: radial-gradient(1px 1px at 20% 40%, #fff, transparent), linear-gradient(90deg, #07051a 60%, #b69cff 60%); }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.set-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }
.set-row input[type="color"] { width: 44px; height: 30px; border: 0; background: none; padding: 0; }
.chip-demo { border-color: rgba(182, 156, 255, .6) !important; }

/* ---------- Tag-Animationen ---------- */
.tag-badge.ta-glanz { position: relative; overflow: hidden; }
.tag-badge.ta-glanz::after { content: ''; position: absolute; top: -30%; bottom: -30%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: donorSweep 2.8s ease-in-out infinite; }
.tag-badge.ta-puls { animation: tagPuls 1.6s ease-in-out infinite; }
@keyframes tagPuls { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .0); } 50% { transform: scale(1.08); box-shadow: 0 0 12px 1px rgba(255, 255, 255, .35); } }
.tag-badge.ta-regenbogen { background: linear-gradient(90deg, #ff5a4e, #ff9a4d, #f2c14e, #7ee08a, #5cc8ff, #b69cff, #ff6b8b, #ff5a4e); background-size: 300% 100%; color: #141410; animation: donorShine 3s linear infinite; }
.tag-badge.ta-feuer { background: linear-gradient(0deg, #ff3b00, #ff9a4d 45%, #ffe08a); color: #2a0a00; animation: tagFeuer .9s ease-in-out infinite alternate; }
@keyframes tagFeuer { from { box-shadow: 0 -2px 8px rgba(255, 120, 0, .55); filter: saturate(1); } to { box-shadow: 0 -5px 16px rgba(255, 70, 0, .9); filter: saturate(1.4) brightness(1.08); } }
.tag-badge.ta-glitch { animation: tagGlitch 2.4s steps(1) infinite; }
@keyframes tagGlitch { 0%, 86%, 100% { transform: none; text-shadow: none; } 88% { transform: translateX(-2px) skewX(-8deg); text-shadow: 2px 0 #ff3ea5, -2px 0 #22e4ff; } 91% { transform: translateX(2px); text-shadow: -2px 0 #ff3ea5, 2px 0 #22e4ff; } 94% { transform: translateX(-1px) skewX(6deg); } }
.tag-badge.ta-funkeln { position: relative; overflow: hidden; animation: tagFunkelGlow 2.2s ease-in-out infinite; }
.tag-badge.ta-funkeln::before, .tag-badge.ta-funkeln::after { content: '✦'; position: absolute; font-size: 7px; line-height: 1; color: #fff; text-shadow: 0 0 4px #fff, 0 0 8px #fff; animation: tagFunkel 1.8s ease-in-out infinite; pointer-events: none; }
.tag-badge.ta-funkeln::before { top: 1px; right: 2px; } .tag-badge.ta-funkeln::after { bottom: 1px; left: 2px; animation-delay: .9s; }
@keyframes tagFunkel { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(90deg); } }
@keyframes tagFunkelGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2); } }
@media (prefers-reduced-motion: reduce) { .tag-badge[class*="ta-"], .tag-badge[class*="ta-"]::before, .tag-badge[class*="ta-"]::after { animation: none; } }

/* ---------- Tag-Inventar ---------- */
.tag-inv { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-inv-item { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 12px; border: 1px dashed var(--line2); background: var(--panel2); color: var(--text); cursor: pointer; }
.tag-inv-item.on { border-style: solid; border-color: var(--accent); }
.tag-inv-item .tag-badge { margin-left: 0; }
.tag-inv-item small { font-size: 10px; color: var(--muted); }
.adm-inv .tag-inv-item { cursor: default; flex-direction: row; }
.tag-inv-box { margin-top: 10px; }

.don-fx > span { align-items: flex-start; }
.don-fx .tag-badge { margin-left: 0; }

/* ---------- Cheater-Catcher ---------- */
.catch-admin.on { border-color: rgba(182, 156, 255, .6); box-shadow: 0 0 0 1px rgba(182, 156, 255, .25); }
.catch-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.catch-list small { margin-left: 4px; }
body.is-stealth::after { content: '🕵️ Unsichtbar'; position: fixed; left: 12px; bottom: 12px; z-index: 90; padding: 6px 12px; border-radius: 999px; background: #2a1d4d; color: #d9ccff; border: 1px solid rgba(182, 156, 255, .6); font-size: 12px; font-weight: 700; pointer-events: none; }
.spy-view { position: fixed; inset: 0; z-index: 10005; display: flex; flex-direction: column; background: rgba(5, 5, 8, .94); padding: 12px; gap: 10px; }
.spy-bar { display: flex; align-items: center; gap: 12px; }
.spy-bar [data-info] { flex: 1; font-size: 13px; }
.spy-view iframe { flex: 1; width: 100%; border: 1px solid var(--line2); border-radius: 14px; background: var(--bg); }

/* ---------- Nova Station: Auftragsboard ---------- */
.sg-missions h3 small { font-size: 12px; font-weight: 500; margin-left: 6px; }
.sg-ms { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.sg-ms > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sg-ms.done b { color: var(--accent); }
.sg-msbar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sg-msbar i { display: block; height: 100%; background: linear-gradient(90deg, #22e4ff, var(--accent)); }

/* ---------- Spender: leuchtender Name, Chat, Dauerregen, eigener Tag ---------- */
.dn-name { background: linear-gradient(90deg, #3dff9a, #b9ffd6, #19c463, #3dff9a); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; animation: donorShine 3s linear infinite; text-shadow: none; filter: drop-shadow(0 0 4px rgba(61, 255, 154, .45)); }
.bubble.dn-bubble { box-shadow: inset 0 0 0 1px rgba(61, 255, 154, .35), 0 0 14px -6px rgba(61, 255, 154, .6); }
.dn-p.dn-small.dn-bill { width: 20px; height: 11px; font-size: 7px; }
.dn-p.dn-small.dn-gold { width: 8px; height: 8px; }
.donor-perks { margin: 10px 0; padding: 10px 14px; border-radius: 14px; background: rgba(61, 255, 154, .06); border: 1px solid rgba(61, 255, 154, .25); }
.donor-perks ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.self-tag { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; border: 1px dashed rgba(61, 255, 154, .4); }
.self-tag .row { flex-wrap: wrap; gap: 6px; }
.self-tag input, .self-tag select { flex: 1 1 100px; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .dn-name { animation: none; } }

/* ---------- Nova Station: „Jetzt draußen“-Banner ---------- */
.feat-slide.feat-nova { background: radial-gradient(1px 1px at 12% 22%, #fff9, transparent), radial-gradient(1.5px 1.5px at 72% 18%, #fffa, transparent), radial-gradient(1px 1px at 42% 78%, #fff8, transparent), radial-gradient(1px 1px at 88% 66%, #fff7, transparent), radial-gradient(60% 90% at 85% 40%, rgba(255, 154, 77, .35), transparent 60%), radial-gradient(70% 90% at 10% 100%, rgba(120, 80, 255, .35), transparent 60%), #0b0716 !important; }
.feat-nova .feat-icon span { animation: novaFloat 4s ease-in-out infinite; display: inline-block; }
@keyframes novaFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
.feat-nova .nova-out { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(90deg, #ff9a4d, #ffcf3f); color: #2a1200; font-weight: 900; letter-spacing: .1em; box-shadow: 0 0 18px rgba(255, 154, 77, .55); animation: novaPill 1.8s ease-in-out infinite alternate; }
@keyframes novaPill { from { box-shadow: 0 0 8px rgba(255, 154, 77, .4); } to { box-shadow: 0 0 22px rgba(255, 154, 77, .9); } }
.feat-slide.feat-nova { position: relative; overflow: hidden; }

/* ---------- Anmeldung: Galaxie-Bildschirm ---------- */
body.gated { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; overflow: auto;
  background: radial-gradient(70% 60% at 75% 20%, rgba(130, 80, 255, .35), transparent 70%), radial-gradient(60% 60% at 15% 85%, rgba(40, 160, 255, .28), transparent 70%), radial-gradient(40% 40% at 50% 50%, rgba(255, 90, 160, .12), transparent 70%), #05030f; animation: gateIn .6s ease-out; }
.gate.gate-dim { background: rgba(5, 3, 15, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9500; }
@keyframes gateIn { from { opacity: 0; } to { opacity: 1; } }
.gate-sky, .gate-sky i { position: absolute; inset: 0; pointer-events: none; }
.gate-sky i { background-repeat: repeat; }
.gate-sky i:nth-child(1) { background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #fffb, transparent), radial-gradient(1.5px 1.5px at 200px 160px, #fff, transparent), radial-gradient(1px 1px at 60px 190px, #fff9, transparent); background-size: 240px 240px; animation: starDrift 90s linear infinite; }
.gate-sky i:nth-child(2) { background-image: radial-gradient(1px 1px at 40px 60px, #cfe0ff, transparent), radial-gradient(1.5px 1.5px at 260px 220px, #fff, transparent), radial-gradient(1px 1px at 160px 300px, #ffd9f0, transparent); background-size: 340px 340px; animation: starDrift 140s linear infinite reverse; opacity: .8; }
.gate-sky i:nth-child(3) { background: radial-gradient(2px 2px at 30% 40%, #fff, transparent), radial-gradient(2px 2px at 70% 70%, #fff, transparent), radial-gradient(2px 2px at 85% 25%, #fff, transparent); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes starDrift { from { background-position: 0 0; } to { background-position: 480px 960px; } }
@keyframes twinkle { from { opacity: .2; } to { opacity: 1; } }
.gate-card { position: relative; z-index: 1; width: min(420px, 100%); padding: 28px 24px 22px; border-radius: 22px; background: rgba(16, 12, 36, .72); border: 1px solid rgba(190, 170, 255, .25); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px -20px rgba(130, 80, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: gateCard .7s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes gateCard { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.gate-logo { text-align: center; font-size: 30px; margin-bottom: 14px; font-family: var(--display); }
.gate-card .hint { font-size: 12px; line-height: 1.5; }
.mail-form { display: grid; grid-template-columns: 1fr 90px; gap: 6px; margin: 8px 0; }
.mail-form input { min-width: 0; }
.mail-form input[name="user"], .mail-form input[name="pass"], .mail-form input[name="from"], .mail-form .row { grid-column: 1 / -1; }

/* ---------- Weichere Übergänge überall ---------- */
html { scroll-behavior: smooth; }
::view-transition-old(root) { animation: vtOut .22s ease-in both; }
::view-transition-new(root) { animation: vtIn .32s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
.modal { animation: modalBg .22s ease-out; }
.modal .modal-card { animation: modalIn .32s cubic-bezier(.2, 1.15, .4, 1); }
.modal.out { animation: modalBgOut .22s ease-in forwards; pointer-events: none; }
.modal.out .modal-card { animation: modalOut .22s ease-in forwards; }
@keyframes modalBg { from { opacity: 0; } }
@keyframes modalBgOut { to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }
.stage > * { animation: pageIn .38s cubic-bezier(.2, .8, .3, 1) both; }
.btn, .chip, .chip-tab, .seg button, .icon-btn, .theme-opt, .tag-inv-item, .zr-card, .card, .tc-card, .md-skin, .dm-conv { transition: transform .18s cubic-bezier(.2, .8, .3, 1), background-color .2s, border-color .2s, color .2s, box-shadow .25s, opacity .2s; }
.chip:hover, .chip-tab:hover, .seg button:hover { transform: translateY(-1px); }
.chip:active, .chip-tab:active, .seg button:active, .btn:active { transform: scale(.97); }
.board li { animation: pageIn .3s cubic-bezier(.2, .8, .3, 1) both; }
.note, .ann, .toast { transition: opacity .25s, transform .25s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } ::view-transition-old(root), ::view-transition-new(root), .modal, .modal .modal-card, .stage > *, .board li { animation: none !important; } }

/* ---------- Galaxie-Anmeldung: Raketen, Planeten, Sternschnuppen ---------- */
.gate-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gd-planet { position: absolute; border-radius: 50%; }
.gd-planet.p1 { width: 150px; height: 150px; left: 6%; top: 10%; background: radial-gradient(circle at 35% 30%, #ffb38a, #e0603a 45%, #5a1d2e 80%); box-shadow: 0 0 60px rgba(255, 120, 80, .35); animation: gdFloat 14s ease-in-out infinite; }
.gd-planet.p1::after { content: ''; position: absolute; left: -45px; right: -45px; top: 62px; height: 26px; border-radius: 50%; border: 5px solid rgba(255, 210, 160, .55); transform: rotate(-16deg); }
.gd-planet.p2 { width: 70px; height: 70px; right: 9%; bottom: 14%; background: radial-gradient(circle at 35% 30%, #9be7ff, #3a7bd5 55%, #1a2a5e 85%); box-shadow: 0 0 40px rgba(90, 170, 255, .4); animation: gdFloat 11s ease-in-out infinite reverse; }
.gd-planet.p3 { width: 34px; height: 34px; right: 22%; top: 12%; background: radial-gradient(circle at 35% 30%, #e9d5ff, #9b6bff 60%, #3b2470); box-shadow: 0 0 24px rgba(155, 107, 255, .5); animation: gdFloat 9s ease-in-out infinite; }
@keyframes gdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.gd-fly { position: absolute; font-size: 34px; line-height: 1; }
.gd-rocket { left: -10%; top: 110%; filter: drop-shadow(0 0 10px rgba(255, 170, 80, .6)); }
.gd-rocket::after { content: ''; position: absolute; left: -38px; top: 28px; width: 46px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255, 190, 90, .9)); transform: rotate(-45deg); transform-origin: right center; }
.gd-rocket.r1 { animation: gdRocket 9s linear infinite; }
.gd-rocket.r2 { animation: gdRocket 13s linear infinite 4s; font-size: 22px; }
.gd-rocket.r3 { animation: gdRocket 17s linear infinite 9s; font-size: 28px; }
@keyframes gdRocket { from { transform: translate(0, 0); } to { transform: translate(125vw, -125vh); } }
.gd-shoot { position: absolute; width: 140px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); opacity: 0; transform: rotate(-25deg); }
.gd-shoot.s1 { top: 18%; left: 60%; animation: gdShoot 7s ease-in infinite 1s; }
.gd-shoot.s2 { top: 40%; left: 20%; animation: gdShoot 9s ease-in infinite 4s; }
.gd-shoot.s3 { top: 70%; left: 70%; animation: gdShoot 11s ease-in infinite 7s; }
@keyframes gdShoot { 0%, 88% { opacity: 0; transform: rotate(-25deg) translateX(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: rotate(-25deg) translateX(-260px); } }
.gd-ufo { position: absolute; top: 24%; left: 72%; font-size: 38px; filter: drop-shadow(0 0 14px rgba(120, 255, 200, .6)); animation: gdUfo 8s ease-in-out infinite; }
@keyframes gdUfo { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 25% { transform: translate(-40px, 10px) rotate(4deg); } 50% { transform: translate(20px, -14px) rotate(-3deg); } 75% { transform: translate(40px, 6px) rotate(6deg); } }
.gd-sat { position: absolute; top: 78%; left: 14%; font-size: 30px; animation: gdSat 26s linear infinite; }
@keyframes gdSat { from { transform: translateX(0) rotate(0); } 50% { transform: translateX(60vw) rotate(180deg); } to { transform: translateX(0) rotate(360deg); } }
.gd-astro { position: absolute; top: 58%; left: 6%; font-size: 40px; animation: gdAstro 18s ease-in-out infinite; }
@keyframes gdAstro { 0%, 100% { transform: translate(0, 0) rotate(-12deg); } 50% { transform: translate(30px, -40px) rotate(18deg); } }
.gd-comet { position: absolute; top: -10%; right: -10%; font-size: 28px; animation: gdComet 15s linear infinite 3s; }
@keyframes gdComet { 0% { transform: translate(0, 0); opacity: 0; } 5% { opacity: 1; } 40% { transform: translate(-70vw, 70vh); opacity: 1; } 41%, 100% { opacity: 0; transform: translate(-70vw, 70vh); } }
@media (max-width: 640px) { .gd-planet.p1 { width: 90px; height: 90px; } .gd-planet.p1::after { top: 36px; left: -28px; right: -28px; } .gd-astro, .gd-sat { display: none; } }
@media (prefers-reduced-motion: reduce) { .gate-deco * { animation: none !important; } .gd-rocket, .gd-comet, .gd-shoot { display: none; } }
.theme-deco { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .4; }
.theme-deco .gd-planet.p1 { top: auto; bottom: 6%; left: 2%; width: 100px; height: 100px; }
.theme-deco .gd-planet.p1::after { top: 40px; left: -30px; right: -30px; }
.theme-deco .gd-astro { top: 40%; left: auto; right: 3%; }
.code-in { font-family: var(--mono); font-size: 26px; letter-spacing: .4em; text-align: center; }

/* ---------- Sternenhimmel (Canvas) ---------- */
.sky-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gate .gate-card, .gate .gate-deco { z-index: 1; }
.theme-deco .sky-cv { opacity: 1; }
html[data-theme="galaxie"] .theme-deco, html[data-theme="galaxie-ultra"] .theme-deco { opacity: .75; }
html[data-theme="galaxie"] .theme-deco .gate-deco, html[data-theme="galaxie-ultra"] .theme-deco .gate-deco { opacity: .6; }

/* ---------- Einstellungen mit Bereichen ---------- */
.set-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 12px; padding: 4px; border-radius: 12px; background: var(--panel2); }
.set-tabs button { flex: 1 1 auto; border: 0; background: transparent; color: var(--muted); padding: 8px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.set-tabs button.on { background: var(--panel3); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.set-pane { min-height: 240px; }
.set-pane.set-in { animation: pageIn .3s cubic-bezier(.2, .8, .3, 1); }
.set-row > span { display: flex; flex-direction: column; gap: 2px; }
.set-row small { color: var(--muted); font-size: 11px; font-weight: 400; }
.set-row input[type="range"] { width: 160px; accent-color: var(--accent); }
.set-keys { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.set-keys b { color: var(--text); }
.set-keys kbd { display: inline-block; min-width: 22px; padding: 1px 6px; margin-right: 4px; border-radius: 5px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); font-family: var(--mono); font-size: 11px; text-align: center; }
.set-acc { display: flex; gap: 12px; align-items: center; padding: 6px 0 12px; }
.set-acc div { display: flex; flex-direction: column; }
.set-btns { flex-wrap: wrap; gap: 6px; }
html.no-hints .stage .hint { display: none; }
html.compact .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 10px !important; }
html.compact .card { min-height: 0 !important; }
html.less-motion *, html.less-motion *::before, html.less-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

/* Profil-Knopf oben rechts: ohne Namen (Tablet/Handy) ein exakter Kreis, das Bild genau in der Mitte */
@media (max-width: 920px) {
  .user-btn { width: 42px; height: 42px; max-width: none; padding: 0; gap: 0; justify-content: center; flex: none; }
  .user-btn .avatar { width: 34px; height: 34px; }
}
.user-btn .avatar { box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); transition: box-shadow .25s; }
.user-btn:hover .avatar { box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--accent); }

/* Kopfleiste passt auch auf Tablets: Suche darf schrumpfen, Ton-Knopf steckt dann in ⚙️ */
.search { min-width: 0; }
@media (max-width: 920px) { .topbar { gap: 10px; } #muteBtn { display: none; } }

/* Alle Tags gleich groß – gleiche Höhe, Schrift und Abstände (auch Spender-Tag und animierte) */
.tag-badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 18px; min-width: 40px; padding: 0 7px; box-sizing: border-box; font-size: 10px; line-height: 1; vertical-align: middle; white-space: nowrap; }
.tag-badge.t-donor.dn-epic { padding: 0 7px 0 4px; }
.tag-badge .dn-coin { width: 12px; height: 12px; }
.tag-badge .dn-coin i { font-size: 8px; }
/* Beim Seitenwechsel bleibt die Kopfleiste stehen – nur der Inhalt gleitet */
.topbar { view-transition-name: topbar; }
::view-transition-group(topbar) { animation: none; }
::view-transition-old(topbar) { display: none; }
::view-transition-new(topbar) { animation: none; }

/* Zeilen, die lange Namen mit „…“ abschneiden, bekommen Luft nach oben und unten – sonst werden Tag-Effekte gekappt */
.online-list .on-name, .dm-conv-tx b { padding: 4px 2px; margin: -4px -2px; }
/* Nova Station: Kern-Klicker */
.sg-act { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.sg-act.sg-od { background: linear-gradient(135deg, #ffd84d, #ff9a4d); color: #1b1030; box-shadow: 0 0 18px rgba(255, 216, 77, .7); animation: sgOdPulse 1s ease-in-out infinite; }
@keyframes sgOdPulse { 50% { transform: scale(1.06); } }
/* Sitzungen & Geräte */
.set-sess { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.sess-list { display: flex; flex-direction: column; gap: 8px; }
.sess-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2, rgba(255,255,255,.04)); border: 1px solid var(--line, rgba(255,255,255,.08)); }
.sess-row.me { border-color: var(--accent); }
.sess-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sess-row small { font-size: 12px; }
.sess-row .row { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sess-ic { font-size: 22px; }
.sess-h { margin-top: 8px; }
.sess-all { align-self: flex-start; }
/* Spiel läuft auf einem anderen Gerät */
.stage { position: relative; }
.takeover { position: fixed; inset: 0; z-index: 25; display: grid; place-items: center; padding: 16px; background: rgba(8, 8, 14, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: inherit; }
.takeover > div { max-width: 380px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; background: var(--panel, #15151c); padding: 22px; border-radius: 18px; border: 1px solid var(--line, rgba(255,255,255,.1)); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.takeover span { font-size: 40px; }
/* Flüssig auf iPad & Co.: Hinter einer Leiste mit Blur darf sich nichts bewegen – sonst rechnet das Tablet den Blur jedes Bild neu */
html.has-sky:not(.sky-ultra) .topbar, html.lite:not(.sky-ultra) .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
html.lite:not(.sky-ultra) .feat-tabs { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15, 15, 13, .82); }
html.lite:not(.sky-ultra) .modal, html.lite:not(.sky-ultra) .ann-force, html.lite:not(.sky-ultra) .gate.gate-dim { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 8, 7, .86); }
html.lite:not(.sky-ultra) .gate-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(16, 12, 36, .93); }
html.lite:not(.sky-ultra) .gd-rocket, html.lite:not(.sky-ultra) .gd-ufo { filter: none; }
html.lite:not(.sky-ultra) .gd-planet { box-shadow: none; }
html.lite:not(.sky-ultra) .theme-deco .gd-sat, html.lite:not(.sky-ultra) .theme-deco .gd-astro, html.lite:not(.sky-ultra) .theme-deco .gd-shoot, html.lite:not(.sky-ultra) .theme-deco .gd-comet { display: none; }
html.bg-anim body::before { will-change: transform; }
html.lite:not(.sky-ultra).bg-anim body::before { inset: -6%; animation-duration: 28s; }
/* Rubbellos */
.rl { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: flex-start; padding: 18px; }
.rl-card { width: min(340px, 100%); padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #f2c14e, #ff9a4d 55%, #ff6b8b); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .7); }
.rl-head { display: flex; justify-content: space-between; align-items: baseline; color: #2a1600; margin: 0 4px 10px; }
.rl-head b { font-family: var(--display); font-size: 20px; letter-spacing: 1px; }
.rl-play { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff8e6; }
.rl-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
/* Rubbellos – nur im Rubbelfeld, sonst überschreibt es das Roulette-Brett (gleicher Name) */
.rl-grid .rl-cell { display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 2px rgba(242, 193, 78, .35); font-size: clamp(30px, 9vw, 46px); transition: transform .3s, opacity .3s, box-shadow .3s; }
.rl-grid .rl-cell.win { box-shadow: inset 0 0 0 3px #3dbf6e, 0 0 18px rgba(61, 191, 110, .8); animation: rlWin .6s ease-in-out 3; }
.rl-grid .rl-cell.dim { opacity: .45; }
@keyframes rlWin { 50% { transform: scale(1.12); } }
.rl-cover { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .35s; }
.rl-cover.gone { opacity: 0 !important; pointer-events: none; }
.rl-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; align-content: start; min-width: 200px; }
.rl-pay div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 10px; background: var(--panel2); font-size: 15px; }
.rl-pay b { font-family: var(--mono); color: var(--accent); }
/* Tresorknacker */
.sf-cv { touch-action: manipulation; }
/* Casino-Tagesaufgaben (VIP-Lounge) */
.cm-list { display: flex; flex-direction: column; gap: 8px; }
.cm-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel2); }
.cm-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cm-row.done { box-shadow: inset 0 0 0 1px var(--accent); }
.cm-row.got { opacity: .55; }
.cm-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.cm-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.cm-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
/* Spielstand-Sicherung */
.bk-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.bk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--panel2); }
/* Hintergrund-Ebenen immer so hoch wie der ganze Bildschirm (auch wenn Safari die Adressleiste einfährt) – sonst blitzen unten schwarze Streifen */
.theme-deco, html[data-theme="galaxie"] body::after, html[data-theme="galaxie-ultra"] body::after { inset: 0 0 auto 0; height: 100vh; height: 100lvh; }
/* Kein Nachfedern am Seitenrand, solange ein Sternenhimmel hinter der Seite liegt (das zeigt sonst schwarze Flächen) */
html.has-sky, html.has-sky body { overscroll-behavior-y: none; }
.gate { overscroll-behavior: contain; }
/* Casino-Limit in der VIP-Lounge */
.cl-box { display: flex; flex-direction: column; gap: 6px; }
.cl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
/* Galaxie Ultra: Funkeln im Farbtupfer der Auswahl */
.th-galaxie-ultra { box-shadow: 0 0 10px rgba(182, 156, 255, .8); }
/* ---------- Börse (übersichtlich) ---------- */
.mkx { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: 14px; }
.mkx-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mkx-top > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.mkx-top span { grid-row: span 2; font-size: 22px; }
.mkx-top small { color: var(--muted); font-size: 12px; }
.mkx-top b { font-size: 17px; font-weight: 600; } .mkx-top b small { font-size: 12px; }
.mkx-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 14px; align-items: start; }
.mkx-list { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; padding-right: 2px; }
.mkx-filter { align-self: stretch; } .mkx-filter button { flex: 1; }
.mkx-rows { display: flex; flex-direction: column; gap: 4px; }
.mkx-rows .mk-h { margin: 8px 2px 2px; }
.mkx-row { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.mkx-row:hover { border-color: var(--line2); } .mkx-row.on { border-color: var(--accent); background: var(--panel2); }
.mkx-nm { font-size: 13px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkx-nm small { display: block; font-weight: 500; color: var(--muted); }
.mkx-own { font-style: normal; color: var(--accent); font-size: 9px; vertical-align: middle; }
.mkx-ch { font-size: 12px; min-width: 62px; text-align: right; }
.mkx-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mkx-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.mkx-id { display: flex; align-items: center; gap: 12px; }
.mkx-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.mkx-tag.real { background: rgba(92, 200, 255, .14); color: #8fd8ff; } .mkx-tag.sim { background: rgba(242, 193, 78, .14); color: #f2c14e; }
.mkx-px { display: flex; flex-direction: column; align-items: flex-end; }
.mkx-px b { font-size: clamp(24px, 4vw, 34px); font-weight: 600; } .mkx-px b small { font-size: 16px; color: var(--muted); }
.mkx-px span { font-size: 14px; } .mkx-px span small { color: var(--muted); font-size: 12px; }
.mkx-mine { width: 100%; padding: 8px 12px; border-radius: 10px; background: var(--panel2); font-size: 13px; }
.mkx-chartbox { display: flex; flex-direction: column; gap: 8px; }
.mkx-trade { display: flex; flex-direction: column; gap: 12px; }
.mkx-mode { align-self: stretch; } .mkx-mode button { flex: 1; } .mkx-mode button:disabled { opacity: .4; cursor: not-allowed; }
.mkx-tbody { display: flex; flex-direction: column; gap: 10px; }
.mkx-tbody label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); flex: 1; }
.mkx-tbody input { font: inherit; font-family: var(--mono); font-size: 18px; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.mkx-two { display: flex; gap: 10px; flex-wrap: wrap; }
.mkx-est { font-size: 14px; line-height: 1.6; min-height: 1.6em; }
.mkx-note { margin: 0; font-size: 13px; color: var(--muted); }
.mkx-tbody .btn.big { align-self: flex-start; min-width: 200px; }
.mkx-tabs { align-self: flex-start; flex-wrap: wrap; } .mkx-tabs small { font-size: 11px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.mkx-tabbody { padding: 14px 16px; overflow-x: auto; }
.mkx-tabbody .mk-news, .mkx-tabbody .mk-trades { margin: 0; }
.mkx-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.mkx-tbl th { text-align: left; font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 0 8px 8px; }
.mkx-tbl td { padding: 9px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.mkx-tbl tr[data-s] { cursor: pointer; } .mkx-tbl tr[data-s]:hover td { background: var(--panel2); }
.mkx-tbl td small { opacity: .8; }
@media (max-width: 900px) {
  .mkx-grid { grid-template-columns: 1fr; }
  .mkx-list { position: static; max-height: none; order: 2; }
  .mkx-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .mkx-rows .mk-h { grid-column: 1 / -1; }
  .mkx-row { grid-template-columns: 48px 1fr auto; } .mkx-row .mk-spark { display: none; }
  .mkx-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .mkx-rows { grid-template-columns: 1fr; } .mkx-tbody .btn.big { align-self: stretch; } }
.mkx-grid { grid-template-columns: 320px minmax(0, 1fr); }
.mkx-filter button { font-size: 12px; padding: 6px 4px; white-space: nowrap; }
@media (max-width: 900px) { .mkx-grid { grid-template-columns: 1fr; } }
/* Banner: Reiter „Empfohlen / Was ist neu“ fest oben in der Ecke (die allgemeine Regel .feat-slide > * hatte sie auf „relative“ gesetzt).
   Der Inhalt bekommt oben so viel Abstand, dass er nie unter die Reiter rutscht. */
.feat-slide > .feat-tabs { position: absolute; top: 14px; right: 14px; left: auto; max-width: none; margin: 0; }
.feat-slide { padding-top: 22px; gap: 8px; justify-content: flex-start; } /* Text beginnt oben links, „Spielen“ bleibt unten */
.feat-slide > .feat-actions { margin-top: auto; }
.feat-slide > .feat-eyebrow { max-width: calc(100% - 330px); } /* oben rechts liegen die Reiter */
.feat-slide h1 { margin: 2px 0; }
.feat-tabs { padding: 3px; } .feat-tabs button { padding: 5px 11px; }
@media (max-width: 560px) { .feat-slide > .feat-tabs { top: 12px; left: 12px; right: auto; } .feat-slide { padding-top: 58px; } .feat-slide > .feat-eyebrow { max-width: none; } }
/* Banner wächst mit, wenn ein Spiel mehr Text hat (z. B. Nova Station) – sonst quillt der Inhalt oben heraus und schiebt die Reiter weg.
   „Was ist neu“ behält die feste Höhe, dort scrollt die Liste. */
.featured:has(.feat-slide) { grid-template-rows: minmax(300px, auto); }
@media (max-width: 1000px) { .featured:has(.feat-slide) { grid-template-rows: auto; } #featSlide > .feat-slide { min-height: 0; } .feat-news { flex: none; height: min(440px, 60vh); } } /* Tablet/Handy hochkant: Banner nur so hoch wie sein Inhalt, nicht künstlich in die Länge gezogen */
.feat-nova .nova-out { padding-top: 1px; padding-bottom: 1px; }
/* ---------- Tags zum Erspielen: Animationen, die es nur hier gibt ---------- */
@property --aw { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes awSlide { to { background-position: 300% 0; } }
@keyframes awSpin { to { --aw: 360deg; } }
@keyframes awSweep { 0%, 55% { transform: translateX(-140%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes awTwinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
.tag-badge.ta-zombie, .tag-badge.ta-nova, .tag-badge.ta-krone, .tag-badge.ta-hai, .tag-badge.ta-pokal, .tag-badge.ta-kaiser, .tag-badge.ta-singular, .tag-badge.ta-diamant, .tag-badge.ta-millionen { position: relative; overflow: hidden; }
/* Nova #1: kosmischer Farbverlauf mit funkelndem Stern */
.tag-badge.ta-nova { color: #fff; background: linear-gradient(90deg, #3b1d7a, #b69cff, #ff9a4d, #ff5d8f, #3b1d7a) 0 0 / 300% 100%; animation: awSlide 5s linear infinite; text-shadow: 0 0 6px rgba(255, 255, 255, .6); }
.tag-badge.ta-nova::after { content: '✦'; position: absolute; right: 3px; top: 1px; font-size: 7px; color: #fff; animation: awTwinkle 1.6s ease-in-out infinite; }
/* Casino #1: goldene Krone – Metallglanz */
.tag-badge.ta-krone { color: #3a2600; background: linear-gradient(110deg, #a8740c 0%, #ffe08a 35%, #fff6d0 50%, #ffe08a 65%, #a8740c 100%) 0 0 / 300% 100%; animation: awSlide 3s linear infinite; box-shadow: inset 0 0 0 1px rgba(255, 246, 208, .7); }
/* Börsen-Hai: Kurstafel läuft durch */
.tag-badge.ta-hai { color: #04210f; background: repeating-linear-gradient(90deg, #3dff9a 0 10px, #7ee08a 10px 20px, #1fbf6a 20px 30px) 0 0 / 300% 100%; animation: awSlide 6s linear infinite; }
/* Tycoon #1: Pokal mit Lichtstreifen */
.tag-badge.ta-pokal { color: #04202a; background: linear-gradient(135deg, #5cc8ff, #b8ecff); }
.tag-badge.ta-pokal::after, .tag-badge.ta-diamant::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); animation: awSweep 2.6s ease-in-out infinite; }
/* Platz 2 und 3: Silber und Bronze mit ruhigem Metallglanz */
.tag-badge.ta-silber { color: #1c2230; background: linear-gradient(110deg, #8d97a8 0%, #e6ebf3 40%, #ffffff 50%, #e6ebf3 60%, #8d97a8 100%) 0 0 / 300% 100%; animation: awSlide 5s linear infinite; }
.tag-badge.ta-bronze { color: #2e1503; background: linear-gradient(110deg, #9a5a2a 0%, #e9a56b 40%, #ffd9b3 50%, #e9a56b 60%, #9a5a2a 100%) 0 0 / 300% 100%; animation: awSlide 6s linear infinite; }
/* Tycoon-Kaiser: drehender Regenbogen-Gold-Rahmen */
.tag-badge.ta-kaiser { color: #ffe08a; border: 1.5px solid transparent; background: linear-gradient(#1b1030, #1b1030) padding-box, conic-gradient(from var(--aw), #f2c14e, #ff5d8f, #b69cff, #5cc8ff, #3dff9a, #f2c14e) border-box; animation: awSpin 3s linear infinite; text-shadow: 0 0 6px rgba(242, 193, 78, .7); }
/* Singularität: Schwarzes Loch mit kreisender Akkretionsscheibe */
.tag-badge.ta-singular { color: #fff; background: radial-gradient(ellipse 60% 120% at 50% 50%, #000 40%, transparent 70%), conic-gradient(from var(--aw), #ff9a4d, #b69cff, #12091f, #ff5d8f, #ff9a4d); animation: awSpin 4s linear infinite; text-shadow: 0 0 4px #000; }
/* VIP Diamant: eisiges Funkeln */
.tag-badge.ta-diamant { color: #04202a; background: linear-gradient(120deg, #9be7ff, #e9fbff, #5cc8ff, #e9fbff, #9be7ff) 0 0 / 300% 100%; animation: awSlide 4s linear infinite; }
.tag-badge.ta-diamant::after { content: '✦'; position: absolute; left: 3px; bottom: 1px; font-size: 7px; color: #fff; text-shadow: 0 0 4px #fff; animation: awTwinkle 1.3s ease-in-out infinite .4s; }
/* Multimillionär: Geld und Gold laufen durch */
.tag-badge.ta-millionen { color: #062b12; background: linear-gradient(90deg, #1f7a3a, #3dff9a, #f2c14e, #3dff9a, #1f7a3a) 0 0 / 300% 100%; animation: awSlide 3.5s linear infinite; }
html.less-motion .tag-badge[class*="ta-"], html.less-motion .tag-badge[class*="ta-"]::before, html.less-motion .tag-badge[class*="ta-"]::after { animation: none !important; }
/* Liste „Tags zum Erspielen“ */
.aw-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.aw-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel2); }
.aw-row.mine { box-shadow: inset 0 0 0 1px var(--accent); }
.aw-row .tag-badge { margin-left: 0; justify-self: start; }
.aw-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
@media (max-width: 520px) { .aw-row { grid-template-columns: 1fr; } }
/* Spender-Tagesbonus in der VIP-Lounge */
.dd-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-color: rgba(61, 255, 154, .35); }
.dd-box > span { font-size: 28px; } .dd-box > div { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
/* Offizieller Besitzer-Tag: Saphirblau, drehender Eisblau-Rahmen, blaue Aura, Lichtstreifen und Funkeln – gibt es nur hier */
@keyframes ownGlow { 50% { text-shadow: 0 0 8px rgba(120, 200, 255, 1), 0 0 2px #fff; } }
@keyframes ownAura { 50% { box-shadow: 0 0 10px rgba(77, 163, 255, .85), 0 0 2px rgba(200, 235, 255, .9); } }
.tag-badge.ta-besitzer { position: relative; overflow: hidden; color: #e6f4ff; letter-spacing: .1em; border: 1.5px solid transparent; text-shadow: 0 0 5px rgba(120, 200, 255, .8); box-shadow: 0 0 5px rgba(77, 163, 255, .5);
  background: linear-gradient(135deg, #04102e, #0b3290 50%, #04102e) padding-box, conic-gradient(from var(--aw), #4da3ff, #bfe9ff, #ffffff, #2f6bff, #7fd4ff, #1a3fd1, #4da3ff) border-box;
  animation: awSpin 2.4s linear infinite, ownGlow 2s ease-in-out infinite, ownAura 2s ease-in-out infinite; }
.tag-badge.ta-besitzer::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(190, 230, 255, .5), transparent); animation: awSweep 3s ease-in-out infinite; }
.tag-badge.ta-besitzer::after { content: '✦'; position: absolute; right: 3px; top: 1px; font-size: 7px; color: #fff; text-shadow: 0 0 4px #7fd4ff; animation: awTwinkle 1.4s ease-in-out infinite; }
/* Noch von niemandem erspielter Tag: Aussehen bleibt geheim */
.tag-badge.aw-secret { color: var(--muted); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .06) 0 6px, rgba(255, 255, 255, .02) 6px 12px); border: 1px dashed var(--line2); letter-spacing: .2em; }
/* Online-Fenster oben: Name + Knöpfe in der ersten Zeile, alle Tags darunter in einer eigenen Leiste über die volle Breite */
.online-pop li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 4px; align-items: center; }
.online-pop li > .avatar { grid-row: 1; align-self: center; } /* nur neben der Namenszeile – ohne Tags entsteht so keine leere Zeile */
.online-pop li .on-name { grid-column: 2; grid-row: 1; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.online-pop li .pop-acts { grid-column: 3; grid-row: 1; }
.online-pop .pop-tags { grid-column: 2 / 4; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px; }
.online-pop .pop-tags .tag-badge { margin: 0; height: 18px; font-size: 9.5px; padding: 0 7px; }
.online-pop .pop-game { grid-column: 2 / 4; color: var(--muted); font-size: 12px; }
.online-pop li { row-gap: 3px; padding: 7px 10px; }
.online-pop .pop-game { margin-top: -1px; }
/* Kompakt für alle: Name und Spiel links übereinander, Knöpfe rechts daneben – die Tag-Leiste (wenn vorhanden) kommt darunter */
.online-pop li > .avatar { grid-row: 1 / span 2; }
.online-pop li .on-name { grid-row: 1; align-self: end; }
.online-pop .pop-game { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; }
.online-pop li .pop-acts { grid-row: 1 / span 2; align-self: center; }
.online-pop .pop-tags { grid-column: 2 / 4; grid-row: 3; margin-top: 3px; }
/* Wartung: Countdown selbst wählen */
.maint-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.maint-cd label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.maint-cd input { width: 58px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; font-family: var(--mono); }
/* Kaiser-Tags je Kategorie – Animationen gibt es nur hier */
.tag-badge.ta-arcade, .tag-badge.ta-puzzle, .tag-badge.ta-jackpot { position: relative; overflow: hidden; isolation: isolate; border: 1.5px solid transparent; }
/* Arcade: Neon-Schrift mit Farbversatz, Scanlines, drehender Pink/Cyan-Rahmen, blinkendes „Insert Coin“-Dreieck */
@keyframes arcFlick { 0%, 100% { text-shadow: -1px 0 #ff3d9a, 1px 0 #22e4ff, 0 0 6px rgba(255, 61, 154, .7); } 48% { text-shadow: -2px 0 #ff3d9a, 2px 0 #22e4ff, 0 0 10px rgba(34, 228, 255, .9); } 50% { text-shadow: 1px 0 #ff3d9a, -1px 0 #22e4ff, 0 0 4px #fff; } }
@keyframes arcBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.tag-badge.ta-arcade { color: #fff; background: linear-gradient(#0b0420, #1a0838) padding-box, conic-gradient(from var(--aw), #ff3d9a, #22e4ff, #f2ff3d, #ff3d9a) border-box; padding-right: 13px;
  animation: awSpin 2.2s linear infinite, arcFlick 1.6s steps(1) infinite; }
.tag-badge.ta-arcade::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px); }
.tag-badge.ta-arcade::after { content: '▶'; position: absolute; right: 3px; top: 50%; transform: translateY(-50%); font-size: 7px; color: #f2ff3d; text-shadow: 0 0 4px #f2ff3d; animation: arcBlink 1s infinite; }
/* Puzzle: Kacheln in vier Farben schieben sich hinter der Schrift weiter, Rahmen in denselben Farben */
@keyframes pzSlide { 0% { background-position: 0 0; } 25% { background-position: 8px 0; } 50% { background-position: 8px 8px; } 75% { background-position: 16px 8px; } 100% { background-position: 16px 16px; } }
.tag-badge.ta-puzzle { color: #fff; text-shadow: 0 0 4px #000, 0 0 6px rgba(182, 156, 255, .9); background: linear-gradient(#1d1240, #1d1240) padding-box, conic-gradient(from var(--aw), #b69cff, #5cc8ff, #3ee8b5, #ff9a4d, #b69cff) border-box;
  animation: awSpin 3.5s linear infinite; }
.tag-badge.ta-puzzle::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .45; background: conic-gradient(#b69cff 25%, #5cc8ff 0 50%, #3ee8b5 0 75%, #ff9a4d 0) 0 0 / 16px 16px; animation: pzSlide 2.4s steps(1) infinite; }
.tag-badge.ta-puzzle::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: awSweep 3.2s ease-in-out infinite; }
/* Casino: Weinrot mit Gold, oben und unten laufen Lichterketten wie an einem Spielautomaten, dazu ein Jackpot-Blitzen */
@keyframes jpLights { to { background-position: 6px 0, -6px 100%; } }
@keyframes jpFlash { 0%, 80%, 100% { box-shadow: 0 0 4px rgba(255, 216, 77, .4); } 85%, 95% { box-shadow: 0 0 12px rgba(255, 216, 77, .95), 0 0 2px #fff; } }
.tag-badge.ta-jackpot { color: #ffe08a; text-shadow: 0 0 5px rgba(255, 216, 77, .8); background: linear-gradient(180deg, #8f0f2c, #4a0616) padding-box, linear-gradient(90deg, #b8860b, #ffe08a, #b8860b) border-box;
  animation: jpFlash 2.4s ease-in-out infinite; }
.tag-badge.ta-jackpot::before { content: ''; position: absolute; inset: 1px 2px; pointer-events: none;
  background: linear-gradient(90deg, #fff3b0 0 2px, transparent 2px) 0 0 / 6px 1.5px repeat-x, linear-gradient(90deg, #fff3b0 0 2px, transparent 2px) 0 100% / 6px 1.5px repeat-x;
  animation: jpLights .6s linear infinite; }
.tag-badge.ta-jackpot::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 243, 176, .5), transparent); animation: awSweep 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .tag-badge.ta-arcade, .tag-badge.ta-arcade::after, .tag-badge.ta-puzzle, .tag-badge.ta-puzzle::before, .tag-badge.ta-puzzle::after, .tag-badge.ta-jackpot, .tag-badge.ta-jackpot::before, .tag-badge.ta-jackpot::after { animation: none; } }
/* Einsatz selbst eintippen (16px, damit iPhones beim Antippen nicht reinzoomen) */
input.bet-val { width: 124px; font-size: 16px; font-family: var(--mono); line-height: 1.2; outline: none; -webkit-appearance: none; appearance: none; }
input.bet-val:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, .2); }
input.bet-val:disabled { opacity: .6; }
@media (max-width: 600px) { input.bet-val { width: 100px; } }

/* Admin: Autoclicker-Verdacht */
.click-list { display: grid; gap: 8px; margin-top: 8px; }
.ck-row small { display: block; }
.pill-mini.ck-hi { background: rgba(255, 92, 92, .18); color: #ff8a8a; border-color: rgba(255, 92, 92, .5); }
.pill-mini.ck-mid { background: rgba(242, 193, 78, .16); color: #f2c14e; border-color: rgba(242, 193, 78, .45); }

/* Nova Station: Hack-Konsole (Merk-Spiel) */
.sg-hack { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 16px 18px; border-radius: 16px; background: rgba(10, 8, 22, .94); border: 1px solid rgba(61, 255, 154, .45); box-shadow: 0 12px 40px rgba(0, 0, 0, .6), 0 0 24px rgba(61, 255, 154, .2); max-width: min(92%, 340px); }
.sg-hack b { font-size: 17px; }
.sg-hpads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sg-hpads button { width: 62px; height: 62px; border-radius: 14px; border: 2px solid var(--hc); background: color-mix(in srgb, var(--hc) 14%, #0c0a18); color: var(--hc); font-size: 26px; font-weight: 800; cursor: pointer; touch-action: manipulation; transition: transform .08s, background .08s, box-shadow .08s; }
.sg-hpads button.on { background: var(--hc); color: #0c0a18; transform: scale(1.08); box-shadow: 0 0 22px var(--hc); }
@media (max-width: 420px) { .sg-hpads button { width: 52px; height: 52px; } }

/* Farbflut: Farbknöpfe unter dem Feld */
.fl-cols { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.fl-cols button { width: 52px; height: 44px; border-radius: 12px; border: 2px solid rgba(0, 0, 0, .35); cursor: pointer; display: grid; place-items: end; padding: 3px 5px; transition: transform .12s, box-shadow .12s; }
.fl-cols button:hover { transform: translateY(-2px); }
.fl-cols button.on { opacity: .35; cursor: default; transform: none; }
.fl-cols kbd { font-size: 10px; background: rgba(0, 0, 0, .35); color: #fff; border: 0; border-radius: 4px; padding: 0 4px; }

/* Spieler-Level: kleiner Chip am Namen, Balken im Profil */
.lv-chip { --p: 0%; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; color: var(--text); white-space: nowrap; border: 1px solid var(--line2);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 30%, transparent) var(--p), transparent var(--p)); }
.lv-box { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: grid; gap: 7px; }
.lv-top { display: flex; align-items: baseline; gap: 10px; }
.lv-top b { font-family: var(--display); font-size: 18px; }
.lv-top span { color: var(--accent); font-weight: 600; font-size: 13px; }
.lv-top small { margin-left: auto; font-family: var(--mono); }
.lv-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.lv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--green)); transition: width .5s; }
/* Favoriten-Stern auf den Spielkarten */
.card-fav { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 16px; line-height: 1; color: rgba(255, 255, 255, .75); background: rgba(15, 15, 13, .7);
  opacity: 0; transform: scale(.8); transition: opacity .15s, transform .15s, color .15s; }
.card:hover .card-fav, .card:focus-visible .card-fav, .card-fav.on { opacity: 1; transform: none; }
.card-fav:hover { transform: scale(1.15); color: #ffd84d; }
.card-fav.on { color: #ffd84d; }
@media (hover: none) { .card-fav { opacity: .8; transform: none; } }

/* ---------- Politur 2026-11: ruhigere Flächen, Karten in ihrer eigenen Farbe, klarere Überschriften ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--panel3) transparent; }
h1, h2, h3 { text-wrap: balance; }
.mono, .stat span, .stage-hs, .card-meta { font-variant-numeric: tabular-nums; }
/* Sanfter Akzent-Schein oben in der Lobby – gibt der Seite Tiefe, ohne zu blinken */
#lobby { background: radial-gradient(70% 460px at 50% 0, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%) no-repeat; }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 45%, transparent) 50%, transparent); }
/* Spielkarten: runder, Bild läuft weich in den Text über, beim Hover leuchtet die Karte in ihrer Spielfarbe */
.card { border-radius: 16px; transition: transform .22s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .25s; }
.card-art { border-bottom: 1px solid var(--line); }
.card-body { gap: 5px; padding: 13px 15px 15px; }
.card-cat { border-radius: 999px; padding: 4px 9px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-meta { display: flex; align-items: center; gap: 6px; }
@media (hover: hover) {
  .card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c1, var(--accent)) 55%, var(--line2)); box-shadow: 0 20px 36px -22px color-mix(in srgb, var(--c1, var(--accent)) 80%, transparent), 0 0 0 1px color-mix(in srgb, var(--c1, var(--accent)) 18%, transparent); }
  .card:hover h3 { color: color-mix(in srgb, var(--c1, var(--accent)) 35%, var(--text)); }
  .stat { transition: border-color .2s, transform .2s; }
  .stat:hover { border-color: var(--line2); transform: translateY(-2px); }
}
.card h3 { transition: color .2s; }
/* Abschnitts-Überschriften: Akzent-Strich davor, feine Linie bis zum Rand */
.section-head { position: relative; padding-left: 14px; }
.section-head::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 4px; background: var(--accent); }
.section-head h2 { flex: 0 1 auto; }
.section-head h2 + * { margin-left: auto; }
.section-head::after { content: ''; order: 1; flex: 1; height: 1px; min-width: 20px; background: linear-gradient(90deg, var(--line2), transparent); }
.section-head > :not(h2) { order: 2; }
/* Kategorie-Reiter: aktiver Reiter in der Akzentfarbe */
.chip-tab.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.chip-tab:hover:not(.active) { border-color: var(--muted); }
/* Spielbühne: Titelzeile mit Akzent, Rekord-Zeile als Plakette */
.stage-hs:not(:empty) { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
/* Fenster und Hinweise */
.modal-card { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 1px 0 color-mix(in srgb, var(--accent) 40%, transparent) inset; }
.side-card, .stat { border-radius: 16px; }
.foot { line-height: 1.8; }
.foot a { color: var(--muted); text-decoration-color: var(--line2); text-underline-offset: 3px; }
.foot a:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .card, .stat { transition: none; } .card:hover, .stat:hover { transform: none; } }
/* Schmale Bildschirme: Level als kleine Plakette am Avatar */
@media (max-width: 920px) {
  .user-btn { position: relative; }
  .user-btn .lv-chip { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); font-size: 9px; padding: 1px 5px; background: var(--panel3); border-color: var(--line2); pointer-events: none; }
}

/* Chat-Bilder (Spender schicken, alle sehen) */
.chat-pic-btn { flex: none; padding-inline: 10px; }
.chat-pic { display: block; padding: 0; margin: 4px 0 2px; border: 0; background: none; cursor: zoom-in; }
.chat-pic img { display: block; max-width: min(260px, 100%); max-height: 260px; border-radius: 10px; background: var(--panel); }
.chat-pic.old { cursor: default; padding: 8px 10px; border: 1px dashed var(--line2); border-radius: 10px; color: var(--muted); font-size: 13px; }
.pic-big { position: fixed; inset: 0; z-index: 10010; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 8, .9); cursor: zoom-out; }
.pic-big img { max-width: 100%; max-height: 100%; border-radius: 12px; }

/* Cheater-Catcher: jedes Fenster als Kachel */
.spy-tabs { flex: 1; min-height: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.spy-tabs[data-n="2"] { grid-template-columns: 1fr 1fr; }
.spy-tabs[data-n="3"], .spy-tabs[data-n="4"] { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.spy-tile { min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.spy-tile .spy-th { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.spy-tile iframe { flex: 1; min-height: 160px; }
.spy-tile.bg iframe { opacity: .55; }
.spy-tile.focus iframe { border-color: var(--accent, #d7ff3c); }
@media (max-width: 760px) { .spy-tabs[data-n] { grid-template-columns: 1fr; } }

/* Admin: Klick-Messungen im Klartext */
.ck-ok { background: rgba(61, 220, 132, .15); color: #6fe3a4; }
.ck-s { display: block; margin-top: 4px; color: var(--muted); line-height: 1.45; }
.ck-s b { color: var(--text, #f3efe4); font-weight: 600; }

/* Zombie #1: giftgrün flackernde Schrift wie eine kaputte Neonröhre, wankt wie ein Zombie, Giftnebel zieht durch, zwei Bluttropfen laufen herunter */
@keyframes zrGlow { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(150, 255, 60, .5), 0 0 5px rgba(120, 255, 40, .35); }
  50% { box-shadow: inset 0 0 0 1px rgba(190, 255, 90, .95), 0 0 12px rgba(120, 255, 40, .75), 0 0 2px rgba(255, 30, 60, .6); } }
@keyframes zrFlicker { 0%, 18%, 22%, 62%, 64%, 100% { text-shadow: 0 0 5px #8dff3c, 0 0 1px #fff; opacity: 1; }
  20%, 63% { text-shadow: none; opacity: .55; } }
@keyframes zrStagger { 0%, 70%, 100% { transform: none; } 74% { transform: rotate(-3deg) translateY(-1px); } 79% { transform: rotate(2.5deg); } 84% { transform: rotate(-1.5deg) translateX(1px); } 89% { transform: none; } }
@keyframes zrFog { to { background-position: 200% 0; } }
@keyframes zrDrip { 0%, 25% { height: 2px; transform: translateY(0); opacity: 1; } 55% { height: 7px; transform: translateY(0); opacity: 1; } 100% { height: 4px; transform: translateY(17px); opacity: 0; } }
.tag-badge.ta-zombie { color: #dcffa8; display: inline-block; transform-origin: 50% 100%;
  background: radial-gradient(circle at 20% 120%, rgba(140, 255, 60, .35), transparent 55%), linear-gradient(180deg, #1d300d, #34561a 55%, #131f09);
  animation: zrGlow 1.8s ease-in-out infinite, zrFlicker 3.7s steps(1) infinite, zrStagger 4.2s ease-in-out infinite; }
.tag-badge.ta-zombie::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(170, 255, 90, .28) 25%, transparent 50%, rgba(170, 255, 90, .18) 75%, transparent 100%) 0 0 / 200% 100%;
  animation: zrFog 3.2s linear infinite; }
.tag-badge.ta-zombie::after { content: ''; position: absolute; top: 0; left: 22%; width: 3px; border-radius: 0 0 3px 3px; background: #d0142f;
  box-shadow: 0 0 3px rgba(255, 30, 60, .8), 34px 0 0 -0.5px #b8102a; animation: zrDrip 2.6s ease-in infinite; }
@media (prefers-reduced-motion: reduce) { .tag-badge.ta-zombie, .tag-badge.ta-zombie::before, .tag-badge.ta-zombie::after { animation: none; } }

/* Admin-Bereich: Reiter, Übersicht, Anti-Cheat */
.adm-tabs { position: sticky; top: 64px; z-index: 5; align-self: stretch; justify-content: center; backdrop-filter: blur(10px); }
.adm-tabs button { position: relative; }
.adm-badge { margin-left: 6px; padding: 0 6px; border-radius: 99px; font-size: 11px; line-height: 17px; background: var(--line2); color: var(--text); }
.adm-badge.hot { background: #ff5c5c; color: #fff; }
.adm-pane { display: flex; flex-direction: column; gap: 14px; }
.adm-pane[hidden] { display: none; }
.adm-dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.adm-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: left; color: var(--text); transition: transform .15s, border-color .15s; }
.adm-card:hover { transform: translateY(-2px); border-color: var(--line2); }
.adm-card i { font-style: normal; font-size: 20px; }
.adm-card b { font-size: 24px; font-variant-numeric: tabular-nums; }
.adm-card small { color: var(--muted); font-size: 12px; }
.adm-card.hot { border-color: rgba(255, 92, 92, .6); background: linear-gradient(160deg, rgba(255, 92, 92, .14), var(--panel)); }
.adm-card.warm { border-color: rgba(242, 193, 78, .5); }
.adm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.adm-cols h3 { margin: 0 0 8px; font-size: 15px; }
.adm-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.adm-top li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.adm-img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.adm-img-grid figure { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.adm-img-grid .chat-pic img { width: 100%; max-height: 140px; object-fit: cover; }
.adm-img-grid figcaption { display: flex; flex-direction: column; font-size: 13px; }
.ck-filter { margin: 8px 0 4px; }
.ck-filter .chip b { margin-left: 4px; opacity: .7; }
.ck-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; background: var(--panel2, var(--panel)); }
.ck-card.lv3 { border-color: rgba(255, 92, 92, .65); background: linear-gradient(160deg, rgba(255, 92, 92, .1), transparent 60%); }
.ck-card.lv2 { border-color: rgba(242, 193, 78, .5); }
.ck-card summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.ck-card summary::-webkit-details-marker { display: none; }
.ck-card summary small { margin-left: auto; }
.ck-lv { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--line); }
.lv3 .ck-lv { background: #ff5c5c; color: #fff; }
.lv2 .ck-lv { background: rgba(242, 193, 78, .25); color: #ffd36b; }
.lv0 .ck-lv { background: rgba(61, 220, 132, .15); color: #6fe3a4; }
.ck-kinds { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ck-ev { margin: 10px 0 6px; padding-left: 30px; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ck-ev li { padding-left: 2px; }
.ck-ev li::marker { color: var(--muted); font-weight: 700; }
.ck-ev li > span:first-child { margin-right: 6px; }
.ck-ev li.sure { color: #ffb3b3; }
.ck-ev li .pill-mini { margin-left: 6px; }
.ck-meta { display: block; margin: 4px 0 8px; }
.ck-acts { gap: 6px; flex-wrap: wrap; }
@media (max-width: 760px) { .adm-tabs { top: 56px; } .adm-tabs button { padding: 6px 9px; font-size: 13px; } }

/* Klick-Test */
.cpt { width: min(640px, 100%); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cpt-pad { position: relative; overflow: hidden; width: 100%; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 22px; border: 1px solid var(--line2); background: radial-gradient(circle at 50% 40%, rgba(92, 200, 255, .18), var(--panel) 70%); color: var(--text);
  user-select: none; -webkit-user-select: none; touch-action: manipulation; cursor: pointer; transition: border-color .2s, transform .05s; }
.cpt-pad:active { transform: scale(.995); }
.cpt-pad b { font-size: clamp(34px, 9vw, 64px); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cpt-pad small { color: var(--muted); font-variant-numeric: tabular-nums; }
.cpt-pad.run { border-color: #5cc8ff; }
.cpt-pad.done { border-color: #d7ff3c; background: radial-gradient(circle at 50% 40%, rgba(215, 255, 60, .16), var(--panel) 70%); }
.cpt-time { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: linear-gradient(90deg, #5cc8ff, #d7ff3c); }
.cpt-res { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.cpt-bars { display: flex; gap: 6px; align-items: flex-end; height: 130px; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.cpt-bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.cpt-bars i { width: 100%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #d7ff3c, #5cc8ff); }
.cpt-bars b { font-size: 13px; font-variant-numeric: tabular-nums; }
.cpt-bars small { font-size: 10px; color: var(--muted); }
.cpt-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.cpt-stats b { color: var(--text); }
.ck-tests { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 8px; padding: 8px 10px; border-radius: 10px; background: rgba(92, 200, 255, .08); font-size: 13px; }

/* Mini-Golf: Welten-Auswahl */
.golf-worlds { margin-bottom: 4px; }
.golf-worlds small { margin-left: 4px; opacity: .7; font-variant-numeric: tabular-nums; }

/* Tags: mehrere angelegte Tags brechen um (höchstens 4 pro Reihe) – nichts wird abgeschnitten */
.tag-set { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: min(100%, 400px); margin-left: 6px; vertical-align: middle; }
.tag-set .tag-badge { margin-left: 0; flex: 0 0 auto; }
.online-list .on-name { white-space: normal; overflow: visible; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; min-width: 0; }
.bubble .who { flex-wrap: wrap; row-gap: 4px; }
.dm-conv-tx b { white-space: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.dm-conv-tx b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.profile-head h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.note-body b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.tag-auto { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border-radius: 12px; background: var(--panel2, var(--panel)); border: 1px solid var(--line); cursor: pointer; }
.tag-auto input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent, #d7ff3c); }
.tag-auto span { display: flex; flex-direction: column; gap: 2px; }

/* Profil: Bild und Name ändern */
.prof-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 4px; }
.prof-edit small { flex-basis: 100%; }
.av-preview { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 6px 0; }
.avatar[style*="url("] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--line2); }

/* Verwarnungen */
.note.warn-note { border-color: rgba(255, 77, 109, .75); background: linear-gradient(160deg, rgba(255, 60, 90, .28), var(--panel) 70%); box-shadow: 0 10px 30px rgba(255, 40, 70, .25); }
.note.warn-note .note-ic { background: #ff3b5c; color: #fff; }
.note.warn-note b { color: #ff8fa3; }
.note.warn-note small { display: block; margin: 4px 0 6px; color: var(--text); opacity: .85; }
.warn-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 10px 0 14px; }
.warn-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2, var(--panel)); color: var(--text); cursor: pointer; }
.warn-cat:hover { border-color: rgba(255, 77, 109, .6); }
.warn-cat small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.warn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 40vh; overflow: auto; }
.warn-list li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--panel2, var(--panel)); border: 1px solid var(--line); }
.warn-list li.act { border-color: rgba(255, 77, 109, .6); }
.warn-list li.lifted { opacity: .55; }
.warn-list li .btn { align-self: flex-start; margin-top: 4px; }
.gb-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gb-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }

/* Zuschauen und Clips: Eingaben sichtbar */
.spy-frame { position: relative; flex: 1; min-height: 0; display: flex; }
.spy-frame iframe { flex: 1; width: 100%; border: 1px solid var(--line2); border-radius: 14px; background: var(--bg); min-height: 160px; }
.spy-ov { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
@keyframes spyDot { from { transform: translate(-50%, -50%) scale(.5); opacity: 1; } to { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }
@keyframes spyPin { 0% { transform: translate(-50%, -50%) scale(1.6); opacity: 1; } 12% { transform: translate(-50%, -50%) scale(1); } 70% { opacity: .9; } 100% { transform: translate(-50%, -50%) scale(.8); opacity: 0; } }
@keyframes spyLine { from { opacity: .85; } to { opacity: 0; } }
.spy-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d7ff3c; box-shadow: 0 0 10px #d7ff3c; animation: spyDot .7s ease-out forwards; }
.spy-dot.bad { border-color: #ff4d6d; box-shadow: 0 0 10px #ff4d6d; }
.spy-pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #d7ff3c; border: 2px solid rgba(0, 0, 0, .65); box-shadow: 0 0 6px #d7ff3c; animation: spyPin 2.5s ease-out forwards; z-index: 1; }
.spy-pin.bad { background: #ff4d6d; box-shadow: 0 0 6px #ff4d6d; }
.spy-pin[data-n]::after { content: attr(data-n); position: absolute; left: 12px; top: -14px; font: 700 11px var(--mono); color: #111; background: #d7ff3c; padding: 1px 5px; border-radius: 6px; white-space: nowrap; }
.spy-pin.bad[data-n]::after { background: #ff4d6d; color: #fff; }
.spy-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spy-trail line { stroke: #d7ff3c; stroke-width: 2; stroke-dasharray: 5 4; stroke-linecap: round; animation: spyLine 1.4s ease-in forwards; }
.spy-trail line.bad { stroke: #ff4d6d; }
.spy-heat i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(215, 255, 60, .3); box-shadow: 0 0 8px rgba(215, 255, 60, .35); }
.spy-heat i.bad { background: rgba(255, 77, 109, .45); box-shadow: 0 0 8px rgba(255, 77, 109, .5); }
.spy-keys { display: inline-flex; gap: 4px; margin-left: auto; }
.spy-keys kbd { font: 600 11px var(--mono); padding: 2px 6px; border-radius: 5px; background: var(--panel2, var(--panel)); border: 1px solid var(--line2); color: var(--text); }
.spy-keys kbd.bad { border-color: #ff4d6d; color: #ff8fa3; }
.spy-cps { font: 600 12px var(--mono); color: #d7ff3c; min-width: 52px; text-align: right; padding: 1px 6px; border-radius: 6px; transition: background .2s, color .2s; }
.spy-cps.mid { color: #111; background: #ffc83c; }
.spy-cps.hi { color: #fff; background: #ff4d6d; }
.clip-view .spy-tile { flex: 1; min-height: 0; }
.clip-ctl { display: flex; align-items: center; gap: 10px; }
.clip-ctl input[type=range] { flex: 1; accent-color: #d7ff3c; }
.clip-ticks { position: relative; height: 30px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; overflow: hidden;
  background: linear-gradient(90deg, rgba(215, 255, 60, .12) var(--p, 0%), var(--panel) var(--p, 0%)); }
.clip-head { position: absolute; top: 0; bottom: 0; left: var(--p, 0%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 6px #fff; z-index: 1; pointer-events: none; }
[data-heat].on { background: rgba(215, 255, 60, .18); border-color: #d7ff3c; }
.clip-ticks i { position: absolute; top: 4px; bottom: 14px; width: 2px; background: #d7ff3c; opacity: .8; }
.clip-ticks i.key { background: #5cc8ff; top: 18px; bottom: 4px; }
.clip-ticks i.bad { background: #ff4d6d; }
.ck-clips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; font-size: 13px; }
.news-ver { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; font: 600 10px var(--mono); background: var(--line); color: var(--muted); vertical-align: 1px; }

/* ---------- Hell-Modus: lesbar machen ----------
   1) Leuchtfarben (Gold, Grün, Rot …) sind auf hellem Grund kaum zu sehen – hier kräftigere Töne.
   2) Flächen, die immer dunkel sind (Banner, Spielkarten-Bilder, Spieltische, Nova Station …), behalten helle Schrift. */
/* Schriftfarben (…-t) dunkler, Hintergründe bleiben leuchtend (z. B. goldene Knöpfe mit dunkler Schrift) */
html[data-theme="hell"] { --pink-t: #c22d55; --cyan-t: #0a6fa3; --gold-t: #8a5f00; --green-t: #2a7d36; --red-t: #c42d22; --purple-t: #5d3fc4; --up: #2a7d36; --down: #c42d22; }
html[data-theme="hell"] :is(.feat-slide, .card-art, .btn-ink, .btn-white, .badge-live, .bj-table, .vp-pay, .fm-field, .sg, .rl-board, .spy-view) {
  --text: #f3efe4; --muted: #a8a397; --dim: #807b70; --line: rgba(243, 239, 228, .08); --line2: rgba(243, 239, 228, .16);
  --pink-t: #ff6b8b; --cyan-t: #5cc8ff; --gold-t: #f2c14e; --green-t: #7ee08a; --red-t: #ff5a4e; --purple-t: #b69cff; --up: #7ee08a; --down: #ff6b5e;
  --panel: #1a1a17; --panel2: #21211d; --panel3: #2b2b26; --bg: #0f0f0d; --bg2: #151513; --accent: #d7ff3c; --accent-ink: #151a00;
}
html[data-theme="hell"] :is(.feat-slide, .card-art, .bj-table, .vp-pay, .sg) { color: var(--text); }
html[data-theme="hell"] .feat-slide h1 { color: #fff; }
/* „ausgewählt“-Hintergründe waren fest dunkel */
html[data-theme="hell"] :is(.fm-seed.on, .keno-pay-row div.on, .du-game.on, .du-rps button.on, .ttt .win) { background: color-mix(in srgb, var(--accent) 14%, var(--panel)); }
html[data-theme="hell"] .sd-c.peer { background: #ebe6da; } html[data-theme="hell"] .sd-c.same { background: #e1ecc4; }
html[data-theme="hell"] .mem-front { color: rgba(27, 26, 22, .55); background-image: repeating-linear-gradient(45deg, rgba(90, 143, 0, .14) 0 6px, transparent 6px 14px); }
html[data-theme="hell"] .ck-chip.win { background: rgba(42, 125, 54, .12); color: #2a7d36; }
html[data-theme="hell"] .ck-chip.lose { background: rgba(196, 45, 34, .1); color: #c42d22; }
html[data-theme="hell"] .mkx-tag.real { background: rgba(10, 111, 163, .1); color: #0a6fa3; } html[data-theme="hell"] .mkx-tag.sim { background: rgba(154, 106, 0, .1); color: #9a6a00; }
html[data-theme="hell"] .wallet { background: rgba(154, 106, 0, .08); border-color: rgba(154, 106, 0, .35); }
/* Nova Station spielt im Weltall – im Hell-Modus auf eigener dunkler Fläche */
html[data-theme="hell"] .sg { background: #0f0f0d; border-radius: 22px; padding: 14px; }
/* „Gerade online“ neben dem Banner: bestimmt die Höhe nicht mit – die Liste scrollt, egal wie viele online sind */
@media (min-width: 1001px) { .featured > .online-card { contain: size; } }

/* ---------- Chat: mehr Nachrichten auf dem Bildschirm, volle Breite ---------- */
.chat-wrap { width: 100%; }
.stage-wrap:has(.chat-wrap) .stage-bar { padding: 6px 0; margin-bottom: 8px; }
.chat-wrap { gap: 8px; }
.chat { height: calc(100dvh - 192px); }
.dm { height: calc(100dvh - 192px); }
.chat-list { gap: 2px; padding: 10px 12px; }
.chat-list .msg-row:not(.cont) { margin-top: 6px; }
.chat-list .msg-row:first-child { margin-top: 0; }
.chat-list .bubble { max-width: min(92%, 920px); padding: 5px 11px 6px; font-size: 15px; line-height: 1.35; }
.chat-list .bubble .who { font-size: 12.5px; margin-bottom: 1px; row-gap: 2px; }
.chat-list .bubble .who .tag-badge { height: 17px; font-size: 9.5px; padding: 0 6px; }
.chat-list .msg-row.cont:not(.mine) .bubble { border-top-left-radius: 6px; }
.chat-list .msg-row.cont.mine .bubble { border-top-right-radius: 6px; }
.chat-list .bubble time.ct { margin-left: 8px; padding-left: 0; font-size: 10px; opacity: .7; }
.chat-list .msg-row.cont .bubble .del { padding-left: 4px; font-size: 11px; }

/* Titelbilder aus Klötzen (LB.cardArt) */
.card-art-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card.has-art .card-icon, .card.has-art .card-art::before { display: none; }
.card.has-art .card-art-cv { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.card.has-art:hover .card-art-cv { transform: scale(1.05); }

/* Verity-Tag: Smiley links, der zur großen Gestalt wird (SVG ragt nach oben über den Tag hinaus) */
.tag-badge.ta-verity { position: relative; overflow: visible; background: #17140a; color: #ffd21a; box-shadow: inset 0 0 0 1px rgba(255, 210, 26, .45); padding-left: 25px; }
.ta-verity .vy { position: absolute; left: 0; bottom: 0; width: 22.5px; height: 30px; pointer-events: none; }
.ta-verity .vy-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.ta-verity .vy-txt { display: inline-block; animation: verityTxt 7s infinite; }
@keyframes verityTxt {
  0%, 44%, 80%, 100% { transform: none; color: #ffd21a; text-shadow: none; }
  50% { transform: translate(.6px, -.4px) skewX(-6deg); color: #e9dc8a; text-shadow: -1px 0 rgba(255, 40, 40, .6), 1px 0 rgba(40, 200, 255, .5); }
  56% { transform: translate(-.6px, .3px); color: #ffd21a; }
  62% { transform: translate(.4px, 0) skewX(4deg); color: #c9b64c; text-shadow: 1px 0 rgba(255, 40, 40, .5); }
  70% { transform: none; color: #e9dc8a; }
}
html.less-motion .ta-verity .vy-txt { animation: none; }
/* Verity-Tag immer obenauf; in Scroll-Listen bekommt die erste Zeile oben Platz, damit die Gestalt den Tag ganz hochziehen kann */
.tag-badge.ta-verity { z-index: 3; }
:is(.online-list, .online-pop ul, .chat-list, .board, .dm-list, .pk-list) > :first-child:has(.ta-verity) { margin-top: 14px; }
/* Platz für den Smiley – auch dort, wo Tags kleinere Abstände haben (Online-Liste, Online-Fenster, Chat) */
.tag-badge.ta-verity { padding-left: 25px !important; }
/* Verity-Tag darf nie abgeschnitten werden: die Behälter direkt um den Tag (Namen mit „…“, Gesprächszeilen) lassen ihn überstehen */
:has(> .ta-verity), :has(> .tag-set > .ta-verity), .dm-conv:has(.ta-verity), .dm-conv-tx:has(.ta-verity) { overflow: visible !important; }
/* Regeln im Banner */
.news-head { padding-right: 330px; }
@media (max-width: 560px) { .news-head { padding-right: 0; } }
.rules-list .news-item { padding: 9px 12px; }
.rules-foot { margin: 6px 2px 2px; font-size: 13px; color: var(--muted); }
.rules-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.rules-list .news-item { padding: 7px 10px; gap: 10px; }
.rules-list .news-ic { font-size: 20px; }
.rules-list .rules-foot { grid-column: 1 / -1; }
@media (max-width: 560px) { .rules-list { grid-template-columns: 1fr; } }
.rules-list .news-item { padding: 5px 10px; min-height: 0; }
.rules-list .news-ic { width: 30px; height: 30px; font-size: 17px; flex: 0 0 30px; }
.rules-list .news-tx b { font-size: 15px; }
.rules-list .rules-foot { margin: 2px 2px 0; }

/* ---------- ByteBird: Spender-Browser ---------- */
.bb-open-btn { border-color: rgba(61, 255, 154, .45); color: #3dff9a; }
body.bb-open { overflow: hidden; }
#bytebird { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; background: var(--bg); color: var(--text); }
#bytebird[hidden] { display: none; }
.bb-top { display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px 0; background: linear-gradient(180deg, #0b1a14, var(--bg2)); border-bottom: 1px solid var(--line); }
.bb-brand { display: flex; align-items: center; gap: 6px; padding: 0 8px 9px 2px; font-family: var(--display); white-space: nowrap; }
.bb-brand b { font-size: 17px; }
.bb-brand i { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 99px; background: rgba(61, 255, 154, .15); color: #3dff9a; }
.bb-logo { font-size: 20px; filter: drop-shadow(0 0 8px rgba(92, 200, 255, .6)); }
.bb-tabs { display: flex; gap: 3px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bb-tab { display: flex; align-items: center; gap: 7px; min-width: 110px; max-width: 220px; flex: 1 1 180px; padding: 8px 8px 9px 11px; border-radius: 11px 11px 0 0;
  background: var(--panel); color: var(--muted); cursor: pointer; font-size: 13px; border: 1px solid var(--line); border-bottom: 0; }
.bb-tab.on { background: var(--panel3); color: var(--text); }
.bb-fav { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 5px; background: var(--panel2); font-size: 11px; font-weight: 700; }
.bb-tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-tx, .bb-new, .bb-close { border: 0; background: none; color: inherit; cursor: pointer; border-radius: 7px; }
.bb-tx { width: 20px; height: 20px; font-size: 11px; opacity: .6; }
.bb-tx:hover, .bb-new:hover, .bb-close:hover { background: var(--line2); opacity: 1; }
.bb-new { width: 30px; height: 30px; margin-bottom: 5px; font-size: 18px; color: var(--muted); }
.bb-close { width: 34px; height: 34px; margin-bottom: 3px; font-size: 16px; color: var(--muted); }
.bb-spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: #3dff9a; animation: bbSpin .7s linear infinite; }
@keyframes bbSpin { to { transform: rotate(360deg); } }
.bb-bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: var(--panel3); border-bottom: 1px solid var(--line); position: relative; }
.bb-bar > button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--text); font-size: 20px; cursor: pointer; }
.bb-bar > button:hover:not(:disabled) { background: var(--line2); }
.bb-bar > button:disabled { opacity: .3; cursor: default; }
.bb-url { flex: 1; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line2); }
.bb-url:focus-within { border-color: #3dff9a; box-shadow: 0 0 0 3px rgba(61, 255, 154, .15); }
.bb-url input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 14px var(--font); }
.bb-lock { font-size: 12px; }
.bb-load { position: absolute; left: 0; bottom: -1px; height: 2px; width: 40%; background: #3dff9a; animation: bbLoad 1.1s ease-in-out infinite; }
.bb-load[hidden] { display: none; }
@keyframes bbLoad { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.bb-view { flex: 1; position: relative; background: #fff; }
.bb-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.bb-frame[hidden], .bb-home[hidden] { display: none; }
.bb-err { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 10px 16px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 600; }
.bb-home { position: absolute; inset: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; padding: 9vh 16px 40px; text-align: center;
  background: radial-gradient(circle at 50% 0, rgba(61, 255, 154, .14), transparent 55%), radial-gradient(circle at 80% 90%, rgba(92, 200, 255, .12), transparent 50%), var(--bg); color: var(--text); }
.bb-hero h2 { font-family: var(--display); font-size: clamp(34px, 7vw, 56px); margin: 4px 0; }
.bb-hero p { color: var(--muted); margin: 0 0 22px; }
.bb-bird { display: inline-block; font-size: 64px; animation: bbFly 3s ease-in-out infinite alternate; }
@keyframes bbFly { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-10px) rotate(4deg); } }
.bb-search { display: flex; gap: 8px; width: min(600px, 100%); }
.bb-search input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: 16px var(--font); outline: 0; }
.bb-search input:focus { border-color: #3dff9a; }
.bb-search .btn { border-radius: 99px; }
.bb-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; width: min(600px, 100%); margin-top: 26px; }
.bb-q { position: relative; }
.bb-q-go, .bb-q-add { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: 600 13px var(--font); cursor: pointer; transition: transform .15s, border-color .15s; overflow: hidden; text-overflow: ellipsis; }
.bb-q-go span, .bb-q-add span { font-size: 26px; line-height: 32px; }
.bb-q-go span b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(92, 200, 255, .18); color: var(--cyan); font-size: 16px; }
.bb-q-add { border-style: dashed; color: var(--muted); background: none; }
.bb-q-go:hover, .bb-q-add:hover { transform: translateY(-2px); border-color: rgba(61, 255, 154, .5); }
.bb-q-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--panel3); color: var(--muted); font-size: 10px; cursor: pointer; opacity: 0; transition: opacity .15s; }
.bb-q:hover .bb-q-x, .bb-q-x:focus-visible { opacity: 1; }
@media (hover: none) { .bb-q-x { opacity: .75; } }
.bb-addbox { display: flex; flex-wrap: wrap; gap: 8px; width: min(600px, 100%); margin-top: 14px; }
.bb-addbox[hidden] { display: none; }
.bb-addbox input { flex: 1 1 180px; min-width: 0; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: 15px var(--font); outline: 0; }
.bb-addbox input:focus { border-color: #3dff9a; }
.bb-reset { margin-top: 14px; border: 0; background: none; color: var(--dim); font: 12px var(--font); text-decoration: underline; cursor: pointer; }
.bb-star { border: 0; background: none; color: var(--muted); font-size: 17px; cursor: pointer; padding: 0 2px; }
.bb-star.on { color: var(--gold); }
.bb-star[hidden] { display: none; }
.bb-note { max-width: 560px; margin-top: 28px; font-size: 12.5px; color: var(--dim); }
@media (max-width: 640px) {
  .bb-brand b, .bb-brand i { display: none; }
  .bb-tab { min-width: 90px; }
  .bb-bar > [data-k="home"], .bb-bar > [data-k="fwd"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bb-bird, .bb-load, .bb-spin { animation: none; } }

/* Besitzer (Erik): Name im Eisblau des Besitzer-Tags mit leichtem Leuchten */
.own-name { color: #7fd4ff !important; text-shadow: 0 0 6px rgba(77, 163, 255, .55); font-weight: 700; }
html[data-theme="hell"] .own-name { color: #1a6fd6 !important; text-shadow: none; }
.bb-req-btn { border-style: dashed; }

/* nur für Screenreader und KI-Agenten lesbar (Hinweis: kein automatisiertes Spielen) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Admin: System & Filter */
.sys-bar { height: 10px; border-radius: 6px; background: var(--line, #333); overflow: hidden; margin: 8px 0 6px; }
.sys-bar i { display: block; height: 100%; background: var(--lime, #b5e550); border-radius: 6px; transition: width .4s; }
.sys-bar.hot i { background: var(--red, #ff5c5c); }
.adm-filter { margin: 8px 0 4px; flex-wrap: wrap; }
.ap-admin .set-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }

/* ---------- Tutorial ---------- */
.tut { position: fixed; inset: 0; z-index: 9000; pointer-events: auto; animation: tutIn .4s ease both; }
.tut.out { animation: tutOut .4s ease both; }
@keyframes tutIn { from { opacity: 0; } }
@keyframes tutOut { to { opacity: 0; } }
.tut-hole { position: fixed; box-shadow: 0 0 0 200vmax rgba(5, 6, 10, .78), 0 0 0 3px var(--accent, #d7ff3c), 0 0 28px 6px color-mix(in srgb, var(--accent, #d7ff3c) 55%, transparent);
  transition: left .6s cubic-bezier(.65, 0, .25, 1), top .6s cubic-bezier(.65, 0, .25, 1), width .6s cubic-bezier(.65, 0, .25, 1), height .6s cubic-bezier(.65, 0, .25, 1), border-radius .6s; pointer-events: none; }
.tut-bubble { position: fixed; background: var(--panel, #17171a); color: var(--text, #fff); border: 1px solid color-mix(in srgb, var(--accent, #d7ff3c) 50%, transparent);
  border-radius: 18px; padding: 16px 18px 14px 64px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(10px) scale(.96);
  transition: left .6s cubic-bezier(.65, 0, .25, 1), top .6s cubic-bezier(.65, 0, .25, 1); }
.tut-bubble.in { animation: tutPop .5s .18s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes tutPop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
.tut-bubble[data-arrow="up"]::before, .tut-bubble[data-arrow="down"]::before { content: ''; position: absolute; left: calc(50% - 8px); width: 16px; height: 16px; background: inherit;
  border: inherit; border-width: 1px 0 0 1px; transform: rotate(45deg); }
.tut-bubble[data-arrow="up"]::before { top: -9px; }
.tut-bubble[data-arrow="down"]::before { bottom: -9px; transform: rotate(225deg); }
.tut-ic { position: absolute; left: 14px; top: 14px; font-size: 34px; line-height: 1; animation: tutBob 1.3s ease-in-out infinite; }
@keyframes tutBob { 50% { transform: translateY(-5px) rotate(-6deg); } }
.tut-t { display: block; font-size: 17px; margin-bottom: 4px; }
.tut-x { margin: 0; color: var(--muted, #b9b9b9); font-size: 14px; line-height: 1.4; }
.tut-looks { display: flex; gap: 8px; margin-top: 10px; }
.tut-looks i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); animation: tutLook 1.4s var(--d) ease-in-out infinite; }
@keyframes tutLook { 0%, 100% { transform: scale(.8); opacity: .6; } 40% { transform: scale(1.15); opacity: 1; } }
.tut-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .1); }
.tut-bar i { display: block; height: 100%; width: 0; background: var(--accent, #d7ff3c); box-shadow: 0 0 10px var(--accent, #d7ff3c); }
.tut-top { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; background: var(--panel, #17171a);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); font-weight: 700; font-size: 14px; }
.tut-top small { color: var(--muted, #aaa); font-weight: 400; }
.tut-pulse { animation: tutPulse 1s ease-in-out 2; }
@keyframes tutPulse { 50% { transform: scale(1.08); } }
.tut-again { margin-bottom: 12px; width: 100%; }
@media (prefers-reduced-motion: reduce) { .tut-hole, .tut-bubble { transition: none; } .tut-ic, .tut-looks i, .tut-pulse { animation: none; } }

/* ---------- Rätsel: Wortjagd ---------- */
.wj-board { display: grid; gap: 6px; justify-content: center; margin: 10px auto; }
.wj-line { display: grid; grid-template-columns: repeat(5, min(58px, 15vw)); gap: 6px; }
.wj-line.shake { animation: kwShake .4s; }
.wj-tile { aspect-ratio: 1; display: grid; place-items: center; font: 800 clamp(20px, 6vw, 28px)/1 var(--font, sans-serif); border-radius: 14px; border: 2px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #fff; text-transform: uppercase; }
.wj-tile.typed { border-color: rgba(255,255,255,.45); animation: wjPop .12s ease; }
.wj-tile.ok { background: #2fb380; border-color: #2fb380; }
.wj-tile.in { background: #e3a92b; border-color: #e3a92b; }
.wj-tile.no { background: #3a3946; border-color: #3a3946; color: #c9c7d6; }
.wj-tile.flip { animation: wjFlip .5s ease both; animation-delay: calc(var(--i) * 140ms); }
@keyframes wjPop { 50% { transform: scale(1.1); } }
@keyframes wjFlip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.wj-kb { display: grid; gap: 6px; max-width: 520px; margin: 8px auto 0; }
.wj-row { display: flex; gap: 5px; justify-content: center; }
.wj-key { flex: 1; min-width: 0; max-width: 44px; height: 50px; border-radius: 10px; border: 0; background: rgba(255,255,255,.12); color: var(--text, #fff); font: 700 15px var(--font, sans-serif); cursor: pointer; }
.wj-key.wide { max-width: 66px; flex: 1.5; font-size: 13px; }
.wj-key.ok { background: #2fb380; color: #fff; } .wj-key.in { background: #e3a92b; color: #fff; } .wj-key.no { background: #2a2933; color: #77758a; }
.wj-key:active { transform: scale(.94); }
.wj-modes button { font-size: 13px; }
.wj-msg { min-height: 1.6em; text-align: center; }

/* ---------- Rätsel: Viererbande ---------- */
.vb-done { display: grid; gap: 8px; max-width: 620px; margin: 10px auto 0; }
.vb-group { background: var(--c); color: #1b1824; border-radius: 14px; padding: 12px; text-align: center; animation: vbIn .45s cubic-bezier(.2,1.4,.4,1); }
.vb-group b { display: block; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.vb-group span { font-size: 13px; font-weight: 600; }
@keyframes vbIn { from { transform: scale(.85); opacity: 0; } }
.vb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 620px; margin: 8px auto; }
.vb-tile { aspect-ratio: 1.6; border-radius: 12px; border: 0; background: rgba(255,255,255,.1); color: var(--text, #fff); font: 800 clamp(10px, 2.6vw, 15px)/1.1 var(--font, sans-serif); cursor: pointer; padding: 4px; word-break: break-word; transition: transform .12s, background .15s; }
.vb-tile.long { font-size: clamp(8px, 2vw, 12px); }
.vb-tile.on { background: #e9e5ff; color: #2a1d5c; transform: translateY(-2px); }
.vb-tile.shake { animation: kwShake .4s; }
.vb-ctl { justify-content: center; }
.vb-msg { text-align: center; min-height: 1.6em; }

/* ---------- Rätsel: Mini-Kreuzwort ---------- */
.kw-clue { max-width: 560px; margin: 8px auto; padding: 10px 14px; border-radius: 12px; background: rgba(59,130,246,.18); border: 1px solid rgba(59,130,246,.4); min-height: 1.4em; font-size: 15px; }
.kw-grid { display: grid; grid-template-columns: repeat(var(--w), 1fr); gap: 3px; width: min(100%, calc(var(--w) * 46px)); margin: 0 auto; }
.kw-cell { position: relative; aspect-ratio: 1; border: 0; border-radius: 6px; background: #f6f3ec; color: #1b1824; font: 800 clamp(13px, 4vw, 22px)/1 var(--font, sans-serif); display: grid; place-items: center; padding: 0; cursor: pointer; }
.kw-cell.blk { background: transparent; cursor: default; }
.kw-cell sup { position: absolute; left: 3px; top: 2px; font-size: 9px; font-weight: 700; color: #555; }
.kw-cell.word { background: #cfe0ff; }
.kw-cell.cur { background: #ffd84d; box-shadow: 0 0 0 2px #e3a92b inset; }
.kw-cell.bad { color: #e8333f; }
.kw-cell.win { background: #9be6be; animation: wjPop .4s ease both; animation-delay: calc(var(--i) * 12ms); }
.kw-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.kw-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 700px; margin: 12px auto 0; font-size: 14px; }
.kw-lists ol { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.kw-lists li { padding: 4px 8px; border-radius: 8px; cursor: pointer; }
.kw-lists li.on { background: rgba(59,130,246,.22); }
.kw-lists li b { margin-right: 6px; }
@media (max-width: 560px) { .kw-lists { grid-template-columns: 1fr; } }
@keyframes kwShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Schriftbot ---------- */
.hw-entry { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.hw-entry > div { flex: 1; display: grid; gap: 2px; }
.hw-overlay { position: fixed; inset: 0; z-index: 8000; background: rgba(5,6,10,.7); display: grid; place-items: center; padding: 16px; }
.hw-win { width: min(1100px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel, #17171a); border-radius: 18px; border: 1px solid rgba(255,255,255,.1); }
.hw-head { position: sticky; top: 0; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--panel, #17171a); border-bottom: 1px solid rgba(255,255,255,.08); }
.hw-head .seg { flex: 1; }
.hw-body { padding: 16px; }
.hw-train { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 18px; }
.hw-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 5px; align-content: start; }
.hw-ch { position: relative; height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--text, #fff); font: 700 18px var(--font, sans-serif); cursor: pointer; }
.hw-ch small { position: absolute; right: 4px; bottom: 2px; font-size: 9px; opacity: .7; }
.hw-ch.part { border-color: #e3a92b; } .hw-ch.full { background: rgba(47,179,128,.25); border-color: #2fb380; }
.hw-ch.on { outline: 2px solid var(--accent, #d7ff3c); }
.hw-pad { display: grid; gap: 10px; align-content: start; }
.hw-cv { width: 100%; aspect-ratio: 1; border-radius: 14px; touch-action: none; cursor: crosshair; background: #fbfaf5; }
.hw-samples { display: flex; flex-wrap: wrap; gap: 4px; }
.hw-smp { padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: #fbfaf5; cursor: pointer; }
.hw-smp canvas { display: block; width: 42px; height: 42px; }
.hw-write { display: grid; gap: 12px; }
.hw-text { width: 100%; border-radius: 12px; padding: 12px; font: 15px/1.5 var(--font, sans-serif); background: rgba(255,255,255,.05); color: var(--text, #fff); border: 1px solid rgba(255,255,255,.15); }
.hw-opts { flex-wrap: wrap; gap: 14px; align-items: center; }
.hw-opts label { display: flex; gap: 6px; align-items: center; }
.hw-pages { display: grid; gap: 18px; }
.hw-pages img { width: 100%; max-width: 820px; display: block; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.4); border-radius: 4px; }
.hw-pages figcaption { text-align: center; margin-top: 6px; }
@media (max-width: 760px) { .hw-train { grid-template-columns: 1fr; } }

/* ---------- Blaulicht-Flucht: Menü über dem Spielfeld ---------- */
.bl-wrap { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.bl-wrap > canvas { display: block; }
.bl-menu { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: linear-gradient(180deg, rgba(10,12,20,.82), rgba(10,12,20,.92)); border-radius: 14px; overflow: auto; color: #fff; }
.bl-menu[hidden] { display: none; }
.bl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 18px; flex-wrap: wrap; }
.bl-head span { font-size: 14px; }
.bl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bl-item { position: relative; display: grid; gap: 2px; text-align: left; padding: 10px 10px 10px 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font: inherit; }
.bl-item i { position: absolute; left: 10px; top: 12px; width: 26px; height: 26px; border-radius: 7px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.25); }
.bl-item small { font-size: 11px; opacity: .75; }
.bl-item em { font-style: normal; font-size: 12px; font-weight: 700; color: #d7ff3c; }
.bl-item.on { border-color: #d7ff3c; background: rgba(215,255,60,.12); }
.bl-item.locked { opacity: .6; }
.bl-go { align-self: center; min-width: 220px; position: sticky; bottom: 0; box-shadow: 0 -10px 24px rgba(10,12,20,.9); }
.bl-door { width: 58px; height: 58px; border-radius: 16px; border: 2px solid rgba(255,255,255,.5); background: rgba(20,22,30,.7); font-size: 28px; cursor: pointer; }
.bl-pads { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 10px; pointer-events: none; z-index: 2; }
.bl-pads > div { display: flex; gap: 10px; pointer-events: auto; align-items: flex-end; }
.bl-pads [data-hold] { width: 70px; height: 70px; border-radius: 20px; border: 2px solid rgba(255,255,255,.45); background: rgba(20,22,30,.55); color: #fff; font-size: 30px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.bl-pads [data-hold].on { background: rgba(215,255,60,.45); border-color: #d7ff3c; transform: scale(.95); }
.bl-pads .bl-padr [data-hold] { width: 62px; height: 62px; font-size: 26px; }
@media (hover: hover) and (pointer: fine) { .bl-pads [data-hold] { display: none; } }
.bl-door[hidden] { display: none; }
.bl-door.near { background: #2fb380; border-color: #b8ffd9; animation: wjPop .8s infinite; }

/* Weniger Erklärtext: nur Namen und Funktionen (Beschreibungen liest eh keiner) */
.set-row > span > small, .adm-pane .panel h3 > small, .maint-admin .don-body > small.muted, .hw-entry small, .fb-adminbox small { display: none; }
.link-box { display: grid; gap: 6px; margin-bottom: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.link-box input { flex: 1; min-width: 0; }
.mail-admin .don-body > small.muted, .link-box small.muted { display: block !important; }
.hw-gn { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.hw-gn p { flex-basis: 100%; margin: 0; }
.plan-btn { border-style: dashed; }
.plan-price { font-size: 15px; }
.plan-prices { display: flex; gap: 10px; margin: 6px 0; }
.plan-prices > div { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; opacity: .55; }
.plan-prices > div.on { opacity: 1; border-color: var(--accent, #d7ff3c); box-shadow: 0 0 0 1px var(--accent, #d7ff3c) inset; }
.plan-prices b { font-size: 24px; }
.hw-prof { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.hw-prof select { max-width: 100%; padding: 6px 10px; border-radius: 10px; background: var(--bg); color: var(--text); border: 1px solid var(--line2); font: inherit; }
/* Schriftbot als eigenes Vollbild-Menü */
.hw-overlay { padding: 0; background: var(--bg, #0b0b0f); place-items: stretch; }
.hw-win { width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; border: 0; display: flex; flex-direction: column; overflow: hidden; }
.hw-win > .hw-body { flex: 1; overflow: auto; width: 100%; max-width: 1240px; margin: 0 auto; padding: 20px 16px 40px; }
.hw-write .hw-text { min-height: 42vh; resize: vertical; font-size: 16px; }

/* ---------- Spender-Extras ---------- */
@keyframes dnRing { 0% { box-shadow: 0 0 0 2px #3ddc84, 0 0 10px 2px rgba(61,220,132,.55); } 50% { box-shadow: 0 0 0 2px #ffd84d, 0 0 12px 3px rgba(255,216,77,.6); } 100% { box-shadow: 0 0 0 2px #3ddc84, 0 0 10px 2px rgba(61,220,132,.55); } }
.online-list li.dn-arrive { position: relative; animation: dnArrive 2.6s ease-out; border-radius: 10px; }
.online-list li.dn-arrive::after { content: '✨'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); animation: dnSpark 2.6s ease-out forwards; }
@keyframes dnArrive { 0% { background: rgba(61,220,132,.45); box-shadow: 0 0 18px rgba(61,220,132,.7); } 100% { background: transparent; box-shadow: none; } }
@keyframes dnSpark { 0% { opacity: 0; transform: translateY(-50%) scale(.4); } 20% { opacity: 1; transform: translateY(-50%) scale(1.4) rotate(20deg); } 100% { opacity: 0; transform: translateY(-120%) scale(.8); } }
.bubble.has-bub { background: color-mix(in srgb, var(--bub) 32%, var(--panel, #1b1b20)) !important; border-color: color-mix(in srgb, var(--bub) 70%, transparent) !important; }
.bubble small.ed { margin-left: 6px; font-size: 10px; opacity: .6; font-style: italic; }
.bubble.stk-bubble { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.sticker { display: inline-block; font-size: 54px; line-height: 1.1; animation: stkPop .5s cubic-bezier(.2,1.6,.4,1) both, stkBob 2.4s 0.5s ease-in-out infinite; }
@keyframes stkPop { from { transform: scale(.2) rotate(-20deg); opacity: 0; } }
@keyframes stkBob { 50% { transform: translateY(-4px) rotate(4deg); } }
.stk-pop { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 8px; margin: 0 0 6px; border-radius: 14px; background: var(--panel, #1b1b20); border: 1px solid rgba(255,255,255,.12); }
.stk-pop[hidden] { display: none; }
.stk-pop button { font-size: 28px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; padding: 4px 0; }
.stk-pop button:hover { background: rgba(255,255,255,.08); transform: scale(1.15); }
.stk-btn { font-size: 18px; padding: 0 10px; }
.dm-conv.fb-donor { box-shadow: inset 3px 0 0 #3ddc84; }
/* 🕶️ Phantom – Look nur mit Cheater-Plan: Schwarz mit Neon-Türkis und Magenta, Raster am Boden, Scanlines und ein leichtes Glitch-Flackern */
html[data-theme="phantom"] { --bg: #05040a; --bg2: #08061a; --panel: #0d0b1c; --panel2: #131027; --panel3: #1b1736; --line: rgba(0, 240, 255, .12); --line2: rgba(255, 43, 214, .28);
  --accent: #00f0ff; --accent-ink: #001a1d; --accent2: #ff2bd6; --text: #e9f6ff; }
html[data-theme="phantom"] body { background: radial-gradient(70% 45% at 85% -5%, rgba(255, 43, 214, .16), transparent 70%), radial-gradient(60% 40% at 5% 0%, rgba(0, 240, 255, .12), transparent 70%), var(--bg); }
html[data-theme="phantom"] body::before { content: ''; position: fixed; top: auto; left: -50%; right: -50%; bottom: -10vh; height: 55vh; z-index: -2; pointer-events: none;
  background: linear-gradient(transparent 0 96%, rgba(255, 43, 214, .5) 96%) 0 0 / 100% 46px, linear-gradient(90deg, transparent 0 97%, rgba(0, 240, 255, .4) 97%) 0 0 / 46px 100%;
  transform: perspective(380px) rotateX(62deg); transform-origin: 50% 100%; opacity: .6; mask-image: linear-gradient(transparent, #000 75%); -webkit-mask-image: linear-gradient(transparent, #000 75%);
  animation: phGrid 2.4s linear infinite; }
html[data-theme="phantom"] body::after { content: ''; position: fixed; inset: 0; z-index: 9990; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
@keyframes phGrid { to { background-position: 0 46px, 0 0; } }
@keyframes phGlitch { 0%, 92%, 100% { text-shadow: 1.5px 0 rgba(255, 43, 214, .7), -1.5px 0 rgba(0, 240, 255, .7); transform: none; }
  94% { text-shadow: -3px 0 rgba(255, 43, 214, .9), 3px 0 rgba(0, 240, 255, .9); transform: translateX(1px) skewX(-4deg); }
  96% { text-shadow: 3px 0 rgba(255, 43, 214, .9), -3px 0 rgba(0, 240, 255, .9); transform: translateX(-1px); } }
html[data-theme="phantom"] :is(h1, h2, .stage-bar h2, .brand b) { animation: phGlitch 6s steps(1) infinite; }
html[data-theme="phantom"] :is(.panel, .modal, .card, .stat) { border-color: rgba(0, 240, 255, .16); box-shadow: 0 0 0 1px rgba(255, 43, 214, .06) inset, 0 8px 30px rgba(0, 0, 0, .45); }
html[data-theme="phantom"] .btn-primary { background: linear-gradient(90deg, #00f0ff, #ff2bd6); color: #05040a; box-shadow: 0 0 18px rgba(0, 240, 255, .35); }
html[data-theme="phantom"] ::selection { background: #ff2bd6; color: #fff; }
html.less-motion[data-theme="phantom"] body::before, html.less-motion[data-theme="phantom"] :is(h1, h2, .stage-bar h2, .brand b) { animation: none; }
.th-phantom { background: linear-gradient(90deg, #05040a 55%, #00f0ff 55% 78%, #ff2bd6 78%); box-shadow: 0 0 10px rgba(255, 43, 214, .6); }
html[data-theme="phantom"] :is(.feat-slide h1, .feat-title, .hero h1, .stage-bar h2) { background: linear-gradient(90deg, #00f0ff, #b06bff 50%, #ff2bd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="phantom"] :is(.feat-slide, .hero) { box-shadow: 0 0 0 1px rgba(0, 240, 255, .35), 0 0 40px rgba(255, 43, 214, .18); }
html[data-theme="phantom"] .chip.on, html[data-theme="phantom"] .seg button.on { background: linear-gradient(90deg, #00f0ff, #ff2bd6); color: #05040a; border-color: transparent; }
html[data-theme="phantom"] .card:hover { box-shadow: 0 0 0 1px #00f0ff, 0 0 24px rgba(0, 240, 255, .35), 0 0 48px rgba(255, 43, 214, .2); }
/* 🕶️ Tarn-Bildschirm: sieht aus wie ein Google-Docs-Dokument (eigene Farben, unabhängig vom Look der Seite) */
html.covered body { overflow: hidden; }
html.covered body::after, html.covered body::before { display: none; }
.gd-cover { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: #f9fbfd; color: #1f1f1f; font: 14px/1.4 "Google Sans", Roboto, Arial, sans-serif; animation: none !important; }
.gd-cover * { animation: none !important; text-shadow: none !important; }
.gd-cover svg { display: block; }
.gd-top { display: flex; align-items: center; gap: 4px; padding: 8px 16px 0 10px; background: #f9fbfd; }
.gd-logo { border: 0; background: none; padding: 0 6px 0 2px; cursor: pointer; }
.gd-titlebox { flex: 1; min-width: 0; }
.gd-title-row { display: flex; align-items: center; gap: 6px; }
.gd-title { font-size: 18px; padding: 2px 6px; border-radius: 4px; outline: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; color: #1f1f1f; }
.gd-title:hover, .gd-title:focus { outline: 1px solid #1f1f1f; }
.gd-ti { color: #444746; padding: 4px; border-radius: 50%; }
.gd-menu { display: flex; gap: 2px; margin-top: 1px; }
.gd-menu span { padding: 2px 7px; border-radius: 4px; font-size: 14px; color: #1f1f1f; cursor: default; }
.gd-menu span:hover { background: #e8eaed; }
.gd-right { display: flex; align-items: center; gap: 8px; }
.gd-rb { color: #444746; padding: 8px; border-radius: 50%; display: flex; align-items: center; }
.gd-meet { border-radius: 20px; gap: 2px; font-size: 11px; }
.gd-share { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px 0 16px; border: 0; border-radius: 20px; background: #c2e7ff; color: #001d35; font: 500 14px "Google Sans", Roboto, Arial, sans-serif; cursor: pointer; }
.gd-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #7b1fa2; color: #fff; font: 500 15px Roboto, Arial, sans-serif; margin-left: 4px; }
.gd-bar { display: flex; align-items: center; gap: 1px; margin: 6px 16px 0; padding: 4px 8px; height: 40px; border-radius: 24px; background: #edf2fa; color: #444746; overflow: hidden; white-space: nowrap; }
.gd-search { display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 16px; font-size: 13px; color: #444746; }
.gd-sep { width: 1px; height: 20px; background: #c7c7c7; margin: 0 4px; flex-shrink: 0; }
.gd-tb { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; font: 15px Arial, sans-serif; color: #444746; flex-shrink: 0; }
.gd-tb:hover, .gd-dd:hover { background: #dde3ea; }
.gd-a { text-decoration: underline 3px #000; }
.gd-dd { padding: 4px 8px; border-radius: 4px; font-size: 14px; flex-shrink: 0; }
.gd-dd::after { content: ' ▾'; font-size: 10px; }
.gd-w { min-width: 92px; }
.gd-size { display: flex; align-items: center; gap: 6px; font-size: 14px; flex-shrink: 0; }
.gd-size b { font-weight: 400; padding: 0 4px; }
.gd-size span { border: 1px solid #747775; border-radius: 4px; padding: 1px 6px; }
.gd-mode { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 16px; font-size: 14px; flex-shrink: 0; }
.gd-ruler { height: 22px; margin-top: 6px; border-bottom: 1px solid #e0e3e7; display: flex; justify-content: center; background: #f9fbfd; }
.gd-ruler-in { width: 816px; max-width: calc(100% - 32px); display: flex; justify-content: space-between; align-items: center; padding: 0 96px; background: #fff; border: 1px solid #dadce0; border-width: 0 1px; font: 9px Arial, sans-serif; color: #5f6368; box-sizing: border-box; }
.gd-scroll { flex: 1; overflow: auto; padding: 14px 16px 60px; }
.gd-page { width: 816px; max-width: 100%; min-height: 1056px; margin: 0 auto; padding: 96px; box-sizing: border-box; background: #fff; box-shadow: 0 1px 3px 1px rgba(60, 64, 67, .15); outline: none; caret-color: #000;
  font: 11pt/1.15 Arial, sans-serif; color: #000; cursor: text; }
.gd-page h1 { font: 20pt/1.2 Arial, sans-serif; margin: 0 0 14pt; color: #000; letter-spacing: 0; }
.gd-page p { margin: 0 0 11pt; color: #000; font: inherit; }
.gd-page ::selection, .gd-title::selection { background: #c2dbff; color: inherit; }
@media (max-width: 760px) { .gd-menu span:nth-child(n+5), .gd-rb, .gd-bar .gd-tb:nth-of-type(n+8), .gd-mode span { display: none; } .gd-page { padding: 40px 28px; min-height: 0; } .gd-ruler { display: none; } .gd-share span { display: none; } .gd-share { padding: 0 12px; } }
/* Profil: ein Knopf „Optionen“, der die Knöpfe im Kreis öffnet – die Spirale läuft per Web Animations (nur transform/opacity, siehe openRadial) */
.prof-opt-btn { display: flex; margin: 18px auto 0; padding: 12px 28px; font-size: 16px; gap: 8px; }
.radial { position: fixed; inset: 0; z-index: 10050; }
/* Unschärfe bleibt fest, nur die Ebene darüber blendet ein – Unschärfe selbst zu animieren ruckelt auf dem iPad */
.radial::before { content: ''; position: absolute; inset: 0; background: rgba(4, 4, 8, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .6s ease; will-change: opacity; }
.radial.open::before { opacity: 1; }
.radial.closing::before { transition-delay: .3s; }
.radial-x, .radial-item { position: absolute; left: var(--cx); top: var(--cy); }
.radial-x { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel2, #1c1c22); color: var(--text); font-size: 24px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45), 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); transform: scale(.2) rotate(-270deg); opacity: 0; transition: transform 1s cubic-bezier(.22, .9, .25, 1), opacity .8s ease; will-change: transform, opacity; }
.radial.open .radial-x { transform: none; opacity: 1; }
.radial.open .radial-x:hover { transform: rotate(90deg); }
.radial-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2, #1c1c22); color: var(--text);
  font: 600 14px var(--font, inherit); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); transform-origin: 0 0; transform: translate(-50%, -50%); opacity: 0; will-change: transform, opacity; transition: border-color .2s, box-shadow .2s; }
.radial.open .radial-item:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0, 0, 0, .4), 0 0 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.radial-item.donate-btn { border-color: rgba(61, 255, 154, .5); color: #3dff9a; }
.radial-item.plan-btn { border-style: dashed; }
.radial-item:disabled { cursor: default; color: var(--muted, #888); }
.radial-item .dm-count { position: static; }
html.less-motion .radial-x, html.less-motion .radial::before { transition-duration: .01s !important; transition-delay: 0s !important; }
/* Tarn-Bildschirm: PowerPoint im Browser */
.pp-cover { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: #e6e6e6; color: #242424; font: 13px/1.3 "Segoe UI", "Segoe UI Web", Tahoma, Arial, sans-serif; }
.pp-cover * { animation: none !important; text-shadow: none !important; box-sizing: border-box; }
.pp-cover svg { display: block; }
.pp-head { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; background: #c43e1c; color: #fff; }
.pp-waffle { display: grid; grid-template-columns: repeat(3, 4px); gap: 3px; padding: 6px; }
.pp-waffle i { width: 4px; height: 4px; background: #fff; border-radius: 1px; }
.pp-app { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: #fff; cursor: pointer; padding: 0; font: 600 16px "Segoe UI", Arial, sans-serif; }
.pp-app svg { background: #fff; border-radius: 4px; padding: 1px; }
.pp-file { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-file small { opacity: .85; font-size: 13px; }
.pp-search { flex: 0 1 420px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 4px; background: #f8dbd2; color: #5a2a1c; font-size: 14px; }
.pp-hr { font-size: 16px; }
.pp-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #8764b8; color: #fff; font-weight: 600; }
.pp-tabs { display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 10px; background: #f5f5f5; overflow: hidden; white-space: nowrap; }
.pp-tabs > span:not(.pp-tr) { padding: 9px 9px; font-size: 14px; color: #424242; border-bottom: 3px solid transparent; }
.pp-tabs > span.on { color: #c43e1c; font-weight: 600; border-bottom-color: #c43e1c; }
.pp-tr { margin-left: auto; display: flex; gap: 8px; }
.pp-pill { padding: 5px 12px; border: 1px solid #d1d1d1; border-radius: 4px; background: #fff; font-size: 13px; }
.pp-present { background: #fff; }
.pp-share { background: #c43e1c; color: #fff; border-color: #c43e1c; }
.pp-ribbon { display: flex; gap: 0; height: 96px; margin: 0 8px; padding: 6px 4px 0; background: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); overflow: hidden; }
.pp-grp { display: flex; flex-direction: column; align-items: center; padding: 0 10px; border-right: 1px solid #e1e1e1; flex-shrink: 0; }
.pp-grp-in { flex: 1; display: flex; align-items: flex-start; gap: 4px; }
.pp-grp small { font-size: 11px; color: #616161; padding: 2px 0 4px; }
.pp-big { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 6px; font-size: 12px; border-radius: 4px; }
.pp-big i { font-style: normal; font-size: 24px; line-height: 28px; }
.pp-col { display: flex; flex-direction: column; gap: 4px; }
.pp-row { display: flex; gap: 3px; align-items: center; }
.pp-sm { min-width: 26px; height: 26px; display: grid; place-items: center; padding: 0 4px; border-radius: 4px; font-size: 14px; color: #424242; }
.pp-wide { justify-items: start; font-size: 12px; }
.pp-sm:hover, .pp-big:hover { background: #f0f0f0; }
.pp-dd { height: 26px; display: flex; align-items: center; padding: 0 6px; white-space: nowrap; overflow: hidden; border: 1px solid #c8c8c8; border-radius: 4px; font-size: 13px; background: #fff; }
.pp-redA { text-decoration: underline 3px #c00; }
.pp-main { flex: 1; min-height: 0; display: flex; gap: 0; margin: 0 8px; background: #e6e6e6; }
.pp-thumbs { width: 180px; flex-shrink: 0; overflow: auto; padding: 10px 10px 10px 4px; display: flex; flex-direction: column; gap: 12px; }
.pp-th { display: flex; gap: 6px; align-items: flex-start; }
.pp-th b { font-weight: 400; font-size: 12px; width: 14px; text-align: right; color: #424242; }
.pp-mini { flex: 1; aspect-ratio: 16 / 9; background: #fff; border: 1px solid #c8c8c8; border-radius: 2px; padding: 6px 7px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.pp-th.on .pp-mini { outline: 3px solid #c43e1c; outline-offset: 1px; }
.pp-mini em { font: 600 9px "Segoe UI", Arial; margin-top: 14%; text-align: center; color: #c43e1c; font-style: normal; }
.pp-mini small { font-size: 6px; text-align: center; color: #555; }
.pp-mini strong { font: 600 7.5px "Segoe UI", Arial; color: #222; margin-bottom: 2px; }
.pp-mini i { height: 3px; width: 85%; background: #d4d4d4; border-radius: 2px; }
.pp-mini i:nth-child(odd) { width: 70%; }
.pp-stage { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; overflow: auto; }
.pp-slide { position: relative; width: min(100%, calc((100vh - 330px) * 16 / 9)); aspect-ratio: 16 / 9; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); padding: 5% 7%; color: #222; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; container-type: inline-size; }
.pp-slide::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2.2%; background: #c43e1c; }
.pp-title { font: 300 5.2cqw/1.15 Calibri Light, Carlito, "Segoe UI Light", Arial, sans-serif; color: #c43e1c; margin-bottom: 4%; outline: none; }
.pp-body { margin: 0; padding-left: 4%; font-size: 2.8cqw; line-height: 1.5; outline: none; }
.pp-body li { margin-bottom: 1.2cqw; }
.pp-num { position: absolute; right: 3%; bottom: 3%; font-size: 1.4cqw; color: #888; }
.pp-notes { width: min(100%, calc((100vh - 330px) * 16 / 9)); min-height: 52px; padding: 8px 12px; background: #fff; border: 1px solid #d1d1d1; color: #424242; font-size: 13px; outline: none; }
.pp-notes:empty::before { content: attr(data-ph); color: #8a8a8a; }
.pp-status { display: flex; gap: 22px; align-items: center; height: 26px; padding: 0 16px; background: #f3f3f3; border-top: 1px solid #ddd; font-size: 12px; color: #424242; white-space: nowrap; overflow: hidden; }
.pp-st-r { margin-left: auto; display: flex; gap: 14px; }
@media (max-width: 760px) { .pp-thumbs, .pp-search, .pp-tr, .pp-file small, .pp-ribbon .pp-grp:nth-child(n+4), .pp-st-r { display: none; } .pp-tabs > span:nth-child(n+5):not(.pp-tr) { display: none; } .pp-slide, .pp-notes { width: 100%; } }
/* Tarn-Bildschirm: Google Tabellen (nutzt die Kopfzeile von Docs) */
.gs-cover .gd-share { background: #c2e7ff; }
.gs-fx { display: flex; align-items: center; gap: 6px; height: 30px; margin-top: 6px; padding: 0 10px; background: #fff; border-top: 1px solid #e1e3e1; border-bottom: 1px solid #e1e3e1; font: 13px Arial, sans-serif; }
.gs-ref { width: 80px; padding-left: 4px; color: #1f1f1f; }
.gs-fxi { font-style: italic; color: #747775; font-family: Georgia, serif; }
.gs-formula { color: #1f1f1f; }
.gs-grid { flex: 1; overflow: auto; background: #fff; }
.gs-grid table { border-collapse: collapse; font: 13px Arial, sans-serif; color: #000; }
.gs-grid th { position: sticky; background: #f8f9fa; color: #5f6368; font-weight: 400; font-size: 11px; border: 1px solid #e1e3e1; height: 22px; }
.gs-grid thead th { top: 0; z-index: 2; min-width: 100px; }
.gs-grid thead th:first-child, .gs-grid tbody th { left: 0; z-index: 1; min-width: 46px; width: 46px; }
.gs-grid thead th:first-child { z-index: 3; }
.gs-grid td { border: 1px solid #e1e3e1; height: 22px; padding: 0 5px; min-width: 100px; white-space: nowrap; outline: none; font: 13px Arial, sans-serif; color: #000; }
.gs-grid td.num { text-align: right; }
.gs-grid td.hd { font-weight: 700; background: #d9ead3; }
.gs-grid td.avg { background: #fff2cc; }
.gs-grid td:focus, .gs-grid td.sel { box-shadow: inset 0 0 0 2px #1a73e8; }
.gs-tabs { display: flex; align-items: center; gap: 4px; height: 38px; padding: 0 10px; background: #f9fbfd; border-top: 1px solid #e1e3e1; font: 500 13px "Google Sans", Roboto, Arial, sans-serif; color: #444746; }
.gs-tabs span { padding: 6px 12px; border-radius: 6px; }
.gs-tabs span.on { background: #e1e9f7; color: #0b57d0; }

/* ---------- Ring-Chaos: Knöpfe ---------- */
.rc-pad { display: flex; justify-content: space-between; gap: 12px; max-width: 800px; margin: 8px auto 0; user-select: none; -webkit-user-select: none; touch-action: none; }
.rc-pad > div { display: flex; gap: 6px; }
.rc-pad button { width: 56px; height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--text, #fff); font-size: 22px; cursor: pointer; }
.rc-pad button:active { background: rgba(215,255,60,.3); transform: scale(.94); }
.rc-pad button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1; }
.rc-pad button small { font-size: 9px; opacity: .8; white-space: nowrap; }
.rc-pad .rc-act button { width: 64px; }
.rc-pad[hidden] { display: none; }
.ow-touch { position: absolute; right: 10px; top: 10px; display: flex; gap: 8px; z-index: 2; }
.ow-touch button { width: 52px; height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.3); background: rgba(10,14,24,.6); font-size: 24px; }
@media (hover: hover) and (pointer: fine) { .ow-touch { display: none; } }
.td-ctl { justify-content: center; gap: 10px; min-height: 46px; margin-top: 8px; }

/* ---------- Kronen-Rätsel ---------- */
.kr-lv { justify-content: center; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.kr-lv .on { background: rgba(215,255,60,.18); border-color: var(--accent, #d7ff3c); }
.kr-board { display: grid; grid-template-columns: repeat(var(--n), 1fr); width: min(100%, calc(var(--n) * 58px), 520px); margin: 8px auto; border: 3px solid #1b1824; border-radius: 10px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.kr-cell { aspect-ratio: 1; border: 0; padding: 0; background: var(--c); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); display: grid; place-items: center; cursor: pointer; font-size: clamp(16px, 5vw, 30px); color: #1b1824; position: relative; }
.kr-cell.bt { border-top: 3px solid #1b1824; } .kr-cell.bb { border-bottom: 3px solid #1b1824; } .kr-cell.bl { border-left: 3px solid #1b1824; } .kr-cell.br { border-right: 3px solid #1b1824; }
.kr-cell .kr-x { font-size: .6em; opacity: .45; font-weight: 900; }
.kr-cell .kr-crown { animation: wjPop .25s ease; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.kr-cell.bad { background: repeating-linear-gradient(45deg, var(--c), var(--c) 6px, #ff8a8a 6px, #ff8a8a 12px); }
.kr-cell.win { animation: krWin .6s ease both; animation-delay: var(--d); }
@keyframes krWin { 50% { transform: scale(1.12); filter: brightness(1.2); } }

/* ---------- Ring-Chaos 2 ---------- */
.rc-menu { gap: 8px; }
.rc-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.rc-modes button { display: grid; gap: 4px; text-align: left; padding: 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(135deg, rgba(232,51,63,.18), rgba(59,130,246,.18)); color: #fff; font: inherit; cursor: pointer; }
.rc-modes button b { font-size: 17px; } .rc-modes button small { opacity: .75; }
.rc-modes button:hover { border-color: #ffd84d; }
.rc-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.rc-cols h4 { margin: 10px 0 4px; }
.rc-card { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); margin-bottom: 6px; }
.rc-card.done { opacity: .6; } .rc-card em { color: #3ddc84; font-style: normal; font-size: 12px; } .rc-card small { opacity: .7; font-size: 11px; }
.rc-line { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 2px 0; }
.rc-rank { margin: 0; padding-left: 20px; font-size: 13px; } .rc-news { display: block; font-size: 12px; opacity: .8; margin: 2px 0; }
.rc-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 4px 0; }
.rc-menu select, .rc-menu input:not([type=color]) { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 6px; }
.rc-pad .rc-act { flex-wrap: wrap; max-width: 420px; justify-content: flex-end; }
.rc-pad .rc-dir { flex-wrap: wrap; max-width: 130px; }
@media (max-width: 760px) { .rc-cols { grid-template-columns: 1fr; } }

/* ---------- Retro-Touchdown: Kader ---------- */
.td-list { display: grid; gap: 6px; }
.td-pl { display: grid; grid-template-columns: 38px 1fr 40px; gap: 2px 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); }
.td-pl > b { color: #ffd84d; } .td-pl > em { font-style: normal; font-weight: 800; text-align: right; color: #3ddc84; }
.td-pl > small, .td-pl > .chip-row, .td-pl > button { grid-column: 1 / -1; } .td-pl > small { opacity: .75; font-size: 11px; }
.td-pl.inj { opacity: .6; } .rc-rank li.me { color: #ffd84d; font-weight: 700; }
