/* =========================================================
   BillyyG Steam-Kalender – Styles
   Farben aus dem BLG-Logo: Lila + Neon-Gruen auf Schwarz
   ========================================================= */
:root {
  --bg: #07050d;
  --bg-2: #0e0a1b;
  --panel: rgba(22, 14, 42, 0.72);
  --panel-solid: #140d27;
  --panel-border: rgba(157, 77, 255, 0.28);
  --purple: #9d4dff;
  --purple-2: #6a1bd6;
  --purple-3: #c79bff;
  --green: #7dff3a;
  --green-2: #4fd61a;
  --gold: #ffd24a;
  --red: #ff4d6d;
  --text: #f1ecff;
  --muted: #9d92bd;
  --radius: 16px;
  --shadow-purple: 0 0 24px rgba(157, 77, 255, 0.45);
  --shadow-green: 0 0 24px rgba(125, 255, 58, 0.45);
  --font-display: "Orbitron", "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
/* Hintergrund als eigene feste Ebene (kein background-attachment: fixed -> kein weisses Flackern in Chrome) */
html { background: #07050d; }
body {
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 700px at 15% -10%, rgba(106, 27, 214, 0.35), transparent 60%),
              radial-gradient(900px 600px at 110% 20%, rgba(125, 255, 58, 0.10), transparent 60%),
              radial-gradient(800px 800px at 50% 120%, rgba(157, 77, 255, 0.25), transparent 60%),
              #07050d;
  transform: translateZ(0);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

#bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.grid-lines {
  display: none; /* altes Raster – vom Galaxie-Hintergrund abgeloest */
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(157, 77, 255, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(157, 77, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
header.nav, footer { position: relative; z-index: 2; }
main { position: relative; }

/* ---------------------------------------------------- Navigation --- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 28px;
  background: rgba(7, 5, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav-brand img {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--purple);
  box-shadow: var(--shadow-purple);
  transition: transform 0.4s;
}
.nav-brand:hover img { transform: rotate(-12deg) scale(1.08); }
.nav-brand .brand-text {
  font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: 1px;
}
.nav-brand .brand-text span { color: var(--green); text-shadow: 0 0 12px rgba(125, 255, 58, 0.7); }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  position: relative; padding: 9px 16px; border-radius: 10px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s, background 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.nav-links a:hover { color: var(--text); background: rgba(157, 77, 255, 0.12); }
.nav-links a.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(157, 77, 255, 0.35), rgba(106, 27, 214, 0.2));
  box-shadow: inset 0 0 0 1px rgba(157, 77, 255, 0.55), 0 0 18px rgba(157, 77, 255, 0.25);
}
.nav-links a .tag {
  font-size: 11px; padding: 2px 6px; border-radius: 6px;
  background: rgba(255, 77, 109, 0.18); color: #ff8aa0; border: 1px solid rgba(255, 77, 109, 0.4);
}
.nav-links a .tag.safe {
  background: rgba(125, 255, 58, 0.12); color: var(--green); border-color: rgba(125, 255, 58, 0.4);
}
.nav-tools { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--panel-border);
  background: var(--panel); color: var(--text); cursor: pointer; font-size: 18px;
  display: grid; place-items: center; transition: all 0.2s;
}
.lang-btn {
  height: 42px; display: inline-flex; align-items: center; padding: 4px; gap: 2px; cursor: pointer;
  border-radius: 11px; border: 1px solid var(--panel-border); background: var(--panel);
  font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: 1px; transition: all 0.2s;
}
.lang-btn span { padding: 7px 9px; border-radius: 8px; color: var(--muted); transition: all 0.2s; }
.lang-btn span.on { color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: 0 0 12px rgba(157, 77, 255, 0.5); }
.lang-btn:hover { border-color: var(--purple); box-shadow: var(--shadow-purple); }
.icon-btn:hover { border-color: var(--purple); box-shadow: var(--shadow-purple); }

body.stream-mode header.nav { display: none; }
body.stream-mode .hide-in-stream { display: none !important; }

/* Kompakteres Menue auf kleineren Bildschirmen */
@media (max-width: 1700px) {
  .nav-links a { padding: 9px 11px; font-size: 15px; }
  .nav-links a .tag { display: none; }
}
@media (max-width: 1100px) { .nav-brand .brand-text { display: none; } }
@media (max-width: 1640px) {
  .nav-links a { padding: 8px 9px; font-size: 14px; letter-spacing: 0; }
}

@media (max-width: 1340px) {
  header.nav { padding: 10px 16px; gap: 10px; }
  .nav-links a { padding: 7px 7px; font-size: 13px; }
  .nav-brand img { width: 40px; height: 40px; }
}

/* ------------------------------------------------ Affiliate-Codes --- */
.promo-bar {
  position: sticky; top: var(--nav-h, 70px); z-index: 45; backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(106, 27, 214, 0.05), rgba(106, 27, 214, 0.28), rgba(79, 214, 26, 0.14), rgba(106, 27, 214, 0.28), rgba(106, 27, 214, 0.05));
  border-bottom: 1px solid var(--panel-border);
}
.promo-card {
  position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; overflow: hidden;
  padding: 8px 16px 8px 18px; border-radius: 14px; user-select: none;
  border: 2px solid transparent;
  background:
    linear-gradient(#120b24, #120b24) padding-box,
    linear-gradient(90deg, var(--purple), var(--green), var(--purple-3), var(--purple)) border-box;
  background-size: 100% 100%, 300% 100%;
  animation: promo-border 4s linear infinite, promo-glow 2.4s ease-in-out infinite;
  transition: transform 0.2s;
}
.promo-card:hover { transform: translateY(-2px) scale(1.03); }
.promo-card::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg); animation: promo-shine 3.5s ease-in-out infinite;
}
.promo-card:nth-of-type(2)::after { animation-delay: 1.75s; }
@keyframes promo-border { to { background-position: 0 0, 300% 0; } }
@keyframes promo-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(157, 77, 255, 0.35); }
  50% { box-shadow: 0 0 22px rgba(125, 255, 58, 0.45), 0 0 40px rgba(157, 77, 255, 0.25); }
}
@keyframes promo-shine { 0% { left: -60%; } 60%, 100% { left: 140%; } }
.promo-card .pc-use, .promo-card .pc-on {
  font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; color: var(--muted);
}
.promo-card .pc-code {
  font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 2px; color: var(--green);
  text-shadow: 0 0 12px rgba(125, 255, 58, 0.75);
  padding: 2px 10px; border-radius: 8px; border: 1px dashed rgba(125, 255, 58, 0.55); background: rgba(125, 255, 58, 0.07);
}
.promo-card .pc-site {
  font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(157, 77, 255, 0.8);
}
.promo-card a.pc-site:hover { color: var(--purple-3); text-decoration: underline; }
.promo-card .pc-copy { font-size: 15px; opacity: 0.6; transition: opacity 0.2s; }
.promo-card:hover .pc-copy { opacity: 1; }
.promo-card.copied { animation: promo-border 4s linear infinite, promo-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
@keyframes promo-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); box-shadow: 0 0 40px rgba(125, 255, 58, 0.9); } 100% { transform: scale(1); } }
.promo-sep { color: var(--purple); font-size: 18px; text-shadow: 0 0 10px var(--purple); animation: spin 6s linear infinite; display: inline-block; }

body.stream-mode .promo-bar:not(.in-show) { top: 0; }
body.page-admin .promo-bar:not(.in-show) { position: relative; top: auto; }
.promo-bar:not(.in-show) { background-color: rgba(7, 5, 13, 0.75); }

/* Codes unten in der Reveal-Show */
.promo-bar.in-show {
  position: absolute; top: auto !important; height: auto; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4;
  width: max-content; max-width: 92vw; border: 1px solid var(--panel-border); border-radius: 18px;
  background: rgba(10, 6, 20, 0.82); backdrop-filter: blur(6px); padding: 10px 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------- Layout --- */
main { max-width: 1400px; margin: 0 auto; padding: 36px 28px 80px; }
.page-head { text-align: center; margin-bottom: 34px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 5vw, 56px); margin: 0; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(90deg, #fff, var(--purple-3) 40%, var(--purple) 70%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(157, 77, 255, 0.5));
}
.page-head p { color: var(--muted); margin: 8px 0 0; font-size: 19px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.warn-banner a { white-space: nowrap; }
.warn-banner {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin: -12px auto 28px; max-width: 760px; padding: 10px 18px;
  border-radius: 12px; font-weight: 700;
  background: rgba(255, 77, 109, 0.12); border: 1px solid rgba(255, 77, 109, 0.45); color: #ffb3c1;
}
.warn-banner.safe {
  background: rgba(125, 255, 58, 0.08); border-color: rgba(125, 255, 58, 0.4); color: #c8ffab;
}

/* ------------------------------------------------------ Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: none; cursor: pointer;
  font-weight: 800; font-size: 16px; letter-spacing: 0.6px; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 6px 22px rgba(106, 27, 214, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(157, 77, 255, 0.6); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.green {
  color: #0b1a02; background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 6px 22px rgba(79, 214, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn.green:hover { box-shadow: 0 10px 30px rgba(125, 255, 58, 0.6); }
.btn.ghost {
  background: rgba(157, 77, 255, 0.08); box-shadow: inset 0 0 0 1px var(--panel-border);
}
.btn.ghost:hover { background: rgba(157, 77, 255, 0.18); box-shadow: inset 0 0 0 1px var(--purple); }
.btn.danger { background: linear-gradient(135deg, #ff4d6d, #c21f45); box-shadow: 0 6px 22px rgba(255, 77, 109, 0.35); }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 9px; }

/* ------------------------------------------------------- Inputs --- */
.input, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  background: rgba(7, 5, 13, 0.7); color: var(--text);
  border: 1px solid rgba(157, 77, 255, 0.3); outline: none;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px rgba(157, 77, 255, 0.25);
}
.mono { font-family: var(--font-mono); letter-spacing: 0.5px; }
label.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; user-select: none; }
label.check input { width: 18px; height: 18px; accent-color: var(--green); }

/* ======================================================= DOORS === */
.doors-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.door {
  position: relative; aspect-ratio: 3 / 4; perspective: 1100px; cursor: pointer;
  border-radius: 14px;
  animation: door-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  animation-delay: calc(var(--i, 0) * 25ms);
}
@keyframes door-in {
  from { opacity: 0; transform: translateY(24px) scale(0.9); }
  to { opacity: 1; transform: none; }
}
.door-inside {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #1a0f33, #07050d);
  border: 1px solid rgba(157, 77, 255, 0.35);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.door-inside .cover {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.55; filter: saturate(1.15);
}
.door-inside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 5, 13, 0.97) 20%, rgba(7, 5, 13, 0.2) 70%, transparent);
}
.door-inside .info { position: relative; z-index: 2; padding: 12px; }
.door-inside .info .g-name {
  font-weight: 800; font-size: 16px; line-height: 1.15;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.door-inside .info .g-price {
  font-family: var(--font-display); font-weight: 900; color: var(--green); font-size: 17px;
  text-shadow: 0 0 10px rgba(125, 255, 58, 0.55); margin-top: 4px;
}
.door-inside .info .g-winner {
  margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--purple-3);
  display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.door-inside .num-small {
  position: absolute; top: 8px; left: 10px; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-size: 14px;
  color: var(--muted);
}
.door-inside .sent-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 11px; font-weight: 800;
  padding: 2px 7px; border-radius: 6px; background: rgba(125, 255, 58, 0.18); color: var(--green);
  border: 1px solid rgba(125, 255, 58, 0.45);
}

.door-front {
  position: absolute; inset: 0; border-radius: 14px; z-index: 3;
  transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.55, 0.05, 0.25, 1.15), box-shadow 0.3s, filter 0.3s;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(155deg, var(--c1, #8a3dff), var(--c2, #3d0f8f));
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 0 0 6px rgba(0, 0, 0, 0.12),
              inset 0 -30px 50px rgba(0, 0, 0, 0.25);
  display: grid; place-items: center; overflow: hidden;
}
.door-front::before {  /* Rahmen / Paneele */
  content: ""; position: absolute; inset: 12px; border-radius: 9px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
}
.door-front::after {  /* Glanz-Sweep */
  content: ""; position: absolute; top: -50%; left: -80%; width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(20deg); transition: left 0.7s;
}
.door:hover .door-front::after { left: 140%; }
.door:hover .door-front {
  box-shadow: 0 14px 40px rgba(157, 77, 255, 0.55), 0 0 0 2px rgba(199, 155, 255, 0.6),
              inset 0 -30px 50px rgba(0, 0, 0, 0.25);
  transform: rotateY(-14deg);
}
.door-front .num {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 4.2vw, 58px);
  color: #fff; text-shadow: 0 0 18px rgba(255, 255, 255, 0.55), 0 4px 0 rgba(0, 0, 0, 0.3);
}
.door-front .knob {
  position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--gold) 45%, #8a5b00);
  box-shadow: 0 0 10px rgba(255, 210, 74, 0.7);
}
.door-front .ribbon {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.door-front .empty-tag {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 2px 6px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.45); color: #ffb3c1; white-space: nowrap;
}
.door.opened .door-front,
.door.peek .door-front {
  transform: rotateY(-100deg);
  filter: brightness(0.55);
  box-shadow: -8px 0 20px rgba(0, 0, 0, 0.6);
}
.door-front .num, .door-front .knob, .door-front .ribbon, .door-front .empty-tag { transition: opacity 0.3s 0.25s; }
.door.opened .door-front > *, .door.peek .door-front > * { opacity: 0; }
.door.opened .door-front::before, .door.peek .door-front::before { opacity: 0.3; }
.door.opened { cursor: pointer; }
.door.opened .door-inside { border-color: rgba(125, 255, 58, 0.45); box-shadow: inset 0 0 40px rgba(0,0,0,.8), 0 0 18px rgba(125, 255, 58, 0.15); }
.door.today .door-front { animation: door-pulse 2s infinite; }
@keyframes door-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(125, 255, 58, 0.0); }
  50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 26px 4px rgba(125, 255, 58, 0.55); }
}
.door.shake .door-front { animation: shake 0.5s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px) rotate(-2deg); }
  40% { transform: translateX(6px) rotate(2deg); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Farbvarianten der Tuerchen */
.door[data-v="0"] { --c1: #8a3dff; --c2: #3d0f8f; }
.door[data-v="1"] { --c1: #6a1bd6; --c2: #210745; }
.door[data-v="2"] { --c1: #b05cff; --c2: #5a13b8; }
.door[data-v="3"] { --c1: #4fb81a; --c2: #174a05; }
.door[data-v="4"] { --c1: #7a2cf0; --c2: #1c0a3d; }
.door[data-v="5"] { --c1: #9d4dff; --c2: #2a0b66; }

/* ======================================================= MODAL === */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 2, 10, 0.78); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.show { display: flex; animation: fade-in 0.25s; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto;
  background: linear-gradient(170deg, #1b1036, #0b0716);
  border: 1px solid rgba(157, 77, 255, 0.5); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(157, 77, 255, 0.3);
  animation: modal-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(40px) scale(0.85) rotateX(20deg); }
  to { opacity: 1; transform: none; }
}
.modal .close-x {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 20px;
}
.modal .close-x:hover { background: var(--red); }
.modal-cover {
  height: 210px; background-size: cover; background-position: center; position: relative;
}
.modal-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, #140c29 2%, transparent 60%);
}
.modal-body { padding: 8px 26px 26px; position: relative; }
.modal-body .door-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: 13px;
  padding: 4px 10px; border-radius: 8px; letter-spacing: 1px;
  background: rgba(157, 77, 255, 0.2); border: 1px solid rgba(157, 77, 255, 0.5); color: var(--purple-3);
}
.modal-body h2 { margin: 10px 0 2px; font-size: 30px; line-height: 1.1; font-weight: 800; }
.modal-body .price-big {
  font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--green);
  text-shadow: 0 0 16px rgba(125, 255, 58, 0.6);
}
.key-box {
  margin: 18px 0 12px; padding: 16px; border-radius: 14px; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(125, 255, 58, 0.05) 0 10px, transparent 10px 20px), rgba(0, 0, 0, 0.45);
  border: 2px dashed rgba(125, 255, 58, 0.55);
}
.key-box .lbl { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.key-box .key {
  font-family: var(--font-mono); font-size: 24px; font-weight: 700; margin: 6px 0 12px;
  color: #fff; word-break: break-all; text-shadow: 0 0 12px rgba(125, 255, 58, 0.5);
}
.key-box .key.nokey { color: var(--red); font-size: 17px; text-shadow: none; }
.key-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.modal-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.modal-row > input { flex: 1; min-width: 180px; }
.status-line { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ======================================================= TOAST === */
#toasts { position: fixed; bottom: 22px; right: 22px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 12px 18px; border-radius: 12px; font-weight: 700; min-width: 220px;
  background: #1a0f33; border: 1px solid var(--purple); box-shadow: var(--shadow-purple);
  animation: toast-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.toast.ok { border-color: var(--green); box-shadow: var(--shadow-green); }
.toast.err { border-color: var(--red); box-shadow: 0 0 24px rgba(255, 77, 109, 0.45); }
@keyframes toast-in { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

/* ======================================================= INDEX === */
.hero {
  display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center;
  padding: 30px 10px 50px;
}
.hero-logo { position: relative; width: 300px; height: 300px; }
.hero-logo img {
  position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%;
  border: 4px solid var(--purple); box-shadow: 0 0 60px rgba(157, 77, 255, 0.7);
  animation: float 5s ease-in-out infinite;
}
.hero-logo .ring {
  position: absolute; inset: -22px; border-radius: 50%;
  border: 3px dashed rgba(125, 255, 58, 0.55); animation: spin 22s linear infinite;
}
.hero-logo .ring.r2 { inset: -44px; border: 2px dotted rgba(157, 77, 255, 0.5); animation-duration: 34s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-text .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; font-size: 14px; color: var(--green);
  padding: 6px 12px; border-radius: 30px; border: 1px solid rgba(125, 255, 58, 0.45); background: rgba(125, 255, 58, 0.08);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.hero-text h1 {
  font-family: var(--font-display); font-weight: 900; margin: 16px 0 8px; line-height: 1;
  font-size: clamp(44px, 7vw, 96px); letter-spacing: 3px;
}
.hero-text h1 .a { color: #fff; text-shadow: 0 0 30px rgba(157, 77, 255, 0.8); }
.hero-text h1 .b { color: var(--green); text-shadow: 0 0 30px rgba(125, 255, 58, 0.7); }
.hero-text .sub { font-size: 22px; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.hero-text .sub b { color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Schriftzug: sauberer RGB-Glitch - meistens ruhig, alle 4 Sekunden eine kurze Stoerung */
.rgb-glitch { display: inline-block; animation: rgb-shake 4s infinite; }
.rgb-glitch .gl { position: relative; display: inline-block; }
.rgb-glitch .gl::before, .rgb-glitch .gl::after {
  content: attr(data-text); position: absolute; inset: 0; opacity: 0; text-shadow: none; pointer-events: none;
}
.rgb-glitch .gl::before { color: #ff2bd6; animation: rgb-g1 4s infinite; }
.rgb-glitch .gl::after { color: #2bf0ff; animation: rgb-g2 4s infinite; }
@keyframes rgb-g1 {
  0%, 86%, 92%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  87% { opacity: 0.8; transform: translate(-6px, 0); clip-path: inset(10% 0 55% 0); }
  89% { opacity: 0.8; transform: translate(5px, 0); clip-path: inset(60% 0 8% 0); }
  91% { opacity: 0.8; transform: translate(-3px, 0); clip-path: inset(35% 0 40% 0); }
}
@keyframes rgb-g2 {
  0%, 86%, 92%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  87% { opacity: 0.8; transform: translate(6px, 0); clip-path: inset(55% 0 10% 0); }
  89% { opacity: 0.8; transform: translate(-5px, 0); clip-path: inset(5% 0 70% 0); }
  91% { opacity: 0.8; transform: translate(3px, 0); clip-path: inset(45% 0 30% 0); }
}
@keyframes rgb-shake {
  0%, 86%, 93%, 100% { transform: none; }
  88% { transform: translate(2px, -1px) skewX(-6deg); }
  90% { transform: translate(-2px, 1px) skewX(6deg); }
}

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.stat {
  padding: 20px; position: relative; overflow: hidden;
}
.stat .v { font-family: var(--font-display); font-weight: 900; font-size: 34px; }
.stat .v.green { color: var(--green); text-shadow: 0 0 14px rgba(125, 255, 58, 0.5); }
.stat .v.purple { color: var(--purple-3); text-shadow: 0 0 14px rgba(157, 77, 255, 0.6); }
.stat .l { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.stat .ico { position: absolute; right: 14px; top: 10px; font-size: 44px; opacity: 0.15; }
.progress { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 10px; }
.progress > div {
  height: 100%; border-radius: 10px; width: 0;
  background: linear-gradient(90deg, var(--purple), var(--green));
  box-shadow: 0 0 12px rgba(125, 255, 58, 0.6); transition: width 1.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.menu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 44px; }
.menu-card {
  position: relative; padding: 28px; overflow: hidden; border-radius: 20px;
  background: linear-gradient(160deg, rgba(40, 20, 80, 0.8), rgba(12, 8, 24, 0.9));
  border: 1px solid var(--panel-border);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3), box-shadow 0.3s, border-color 0.3s;
}
.menu-card:hover { transform: translateY(-8px) rotate(-0.6deg); border-color: var(--purple); box-shadow: 0 20px 50px rgba(106, 27, 214, 0.45); }
.menu-card .big-ico { font-size: 54px; filter: drop-shadow(0 0 16px rgba(157, 77, 255, 0.8)); }
.menu-card h3 { font-family: var(--font-display); font-size: 22px; margin: 14px 0 6px; letter-spacing: 1px; }
.menu-card p { color: var(--muted); margin: 0 0 18px; }
.menu-card .go { font-weight: 800; color: var(--green); letter-spacing: 1px; text-transform: uppercase; }
.menu-card .glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(157, 77, 255, 0.45), transparent 70%); transition: transform 0.4s;
}
.menu-card:hover .glow { transform: scale(1.4); }
.menu-card.hof .glow { background: radial-gradient(circle, rgba(255, 179, 26, 0.35), transparent 70%); }
.menu-card.giveaway .glow { background: radial-gradient(circle, rgba(255, 210, 74, 0.35), transparent 70%); }
.menu-card.stream .glow { background: radial-gradient(circle, rgba(125, 255, 58, 0.35), transparent 70%); }

.section-title {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-size: 22px; letter-spacing: 1px; margin: 0 0 18px; text-transform: uppercase;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--panel-border), transparent); }

.winners-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.winner-item { display: flex; gap: 14px; align-items: center; padding: 12px; animation: door-in 0.5s both; }
.winner-item .thumb {
  width: 96px; height: 45px; border-radius: 8px; flex-shrink: 0; background-size: cover; background-position: center;
  background-color: #1a0f33; border: 1px solid var(--panel-border);
}
.winner-item .w-name { font-weight: 800; color: var(--purple-3); }
.winner-item .w-game { font-weight: 700; font-size: 15px; }
.winner-item .w-price { color: var(--green); font-weight: 800; font-family: var(--font-display); font-size: 14px; }
.empty-note { color: var(--muted); text-align: center; padding: 26px; }

.ticker {
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
  background: rgba(106, 27, 214, 0.12); padding: 10px 0; margin: 0 -28px 40px;
}
.ticker .track { display: inline-block; animation: ticker 40s linear infinite; font-weight: 800; letter-spacing: 1px; }
.ticker .track span { margin: 0 26px; }
.ticker .track span b { color: var(--green); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

footer { text-align: center; color: var(--muted); padding: 30px; font-size: 14px; }

/* ====================================================== REVEAL === */
.reveal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: radial-gradient(circle at center, rgba(40, 12, 90, 0.92), rgba(3, 1, 8, 0.97));
  align-items: center; justify-content: center; flex-direction: column; overflow: hidden;
}
.reveal-overlay.show { display: flex; animation: fade-in 0.35s; }
/* Lichtstrahlen: drehen sich langsam um die Bildschirmmitte und bleiben immer sichtbar.
   (Wichtig: translate muss in der Animation mit drin sein, sonst dreht es sich um die Ecke.) */
.reveal-overlay .rays {
  position: absolute; width: 220vmax; height: 220vmax; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(157, 77, 255, 0.16) 0deg 8deg, transparent 8deg 20deg);
  animation: rays-spin 60s linear infinite; opacity: 0; transition: opacity 0.8s;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 0%, #000 22%, rgba(0, 0, 0, 0.35) 45%, transparent 60%);
  mask-image: radial-gradient(circle, #000 0%, #000 22%, rgba(0, 0, 0, 0.35) 45%, transparent 60%);
}
/* gruene Strahlen liegen darueber und werden nur eingeblendet (kein Sprung in der Drehung) */
.reveal-overlay .rays::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s;
  background: repeating-conic-gradient(from 0deg, rgba(125, 255, 58, 0.16) 0deg 8deg, transparent 8deg 20deg);
}
/* pulsierendes Licht in der Mitte */
.reveal-overlay::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 90vmin; height: 90vmin; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 0.8s;
  background: radial-gradient(circle, rgba(157, 77, 255, 0.35), transparent 65%);
  animation: rays-pulse 3s ease-in-out infinite;
}
.reveal-overlay.rays-on::before { opacity: 1; }
.reveal-overlay.rays-green::before { background: radial-gradient(circle, rgba(125, 255, 58, 0.28), rgba(157, 77, 255, 0.15) 45%, transparent 68%); }
.reveal-overlay.rays-on .rays { opacity: 1; }
.reveal-overlay.rays-green .rays::after { opacity: 1; }
@keyframes rays-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes rays-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
}
.reveal-stage { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; }
.reveal-title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3.4vw, 46px);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 26px; text-align: center;
  text-shadow: 0 0 20px rgba(157, 77, 255, 0.9);
}
.reveal-title .hl { color: var(--green); text-shadow: 0 0 20px rgba(125, 255, 58, 0.8); }

/* grosse Doppeltuer */
.big-door {
  position: relative; width: 320px; height: 420px; perspective: 1400px;
  transition: transform 0.6s;
}
.big-door .light {
  position: absolute; inset: 0; border-radius: 18px;
  background: radial-gradient(circle, #fff 0%, #e6ffcf 20%, var(--green) 45%, rgba(157, 77, 255, 0.4) 70%, transparent 80%);
  opacity: 0; transform: scale(0.6); transition: opacity 0.4s, transform 1s;
}
.big-door.open .light { opacity: 1; transform: scale(1.7); }
.big-door .leaf {
  position: absolute; top: 0; width: 50%; height: 100%; z-index: 2;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.2), transparent 55%),
    linear-gradient(160deg, #9d4dff, #3d0f8f);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 10px rgba(0, 0, 0, 0.12);
  transition: transform 1.2s cubic-bezier(0.6, 0, 0.2, 1);
  display: flex; align-items: center; overflow: hidden;
}
.big-door .leaf::before {
  content: ""; position: absolute; inset: 18px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.18);
}
.big-door .leaf.l { left: 0; transform-origin: left center; border-radius: 18px 4px 4px 18px; justify-content: flex-end; }
.big-door .leaf.r { right: 0; transform-origin: right center; border-radius: 4px 18px 18px 4px; justify-content: flex-start; }
.big-door .leaf .half-num {
  font-family: var(--font-display); font-weight: 900; font-size: 150px; color: #fff; line-height: 1;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.6); position: relative;
}
.big-door .leaf.l .half-num { transform: translateX(50%); }
.big-door .leaf.r .half-num { transform: translateX(-50%); }
.big-door .leaf .knob {
  position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--gold) 45%, #8a5b00);
  box-shadow: 0 0 14px rgba(255, 210, 74, 0.8);
}
.big-door .leaf.l .knob { right: 14px; }
.big-door .leaf.r .knob { left: 14px; }
.big-door .ribbon-v, .big-door .ribbon-h { position: absolute; z-index: 3; pointer-events: none; transition: opacity 0.3s, transform 0.5s; }
.big-door .ribbon-v { left: 50%; top: 0; bottom: 0; width: 34px; transform: translateX(-50%);
  background: linear-gradient(90deg, #3aa80e, var(--green), #3aa80e); box-shadow: 0 0 20px rgba(125, 255, 58, 0.6); }
.big-door .ribbon-h { top: 50%; left: 0; right: 0; height: 34px; transform: translateY(-50%);
  background: linear-gradient(180deg, #3aa80e, var(--green), #3aa80e); box-shadow: 0 0 20px rgba(125, 255, 58, 0.6); }
.big-door .bow {
  position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 64px; filter: drop-shadow(0 0 12px rgba(125, 255, 58, 0.8)); transition: transform 0.5s, opacity 0.4s;
}
.big-door.unwrap .ribbon-v { transform: translateX(-50%) scaleY(0); opacity: 0; }
.big-door.unwrap .ribbon-h { transform: translateY(-50%) scaleX(0); opacity: 0; }
.big-door.unwrap .bow { transform: translate(-50%, -260%) rotate(40deg) scale(0.4); opacity: 0; }
.big-door.open .leaf.l { transform: rotateY(-115deg); }
.big-door.open .leaf.r { transform: rotateY(115deg); }
.big-door.rumble { animation: rumble 0.12s infinite; }
@keyframes rumble {
  0% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-3px, 2px) rotate(-0.8deg); }
  50% { transform: translate(3px, -2px) rotate(0.8deg); }
  75% { transform: translate(-2px, -1px) rotate(-0.4deg); }
  100% { transform: translate(2px, 1px) rotate(0.4deg); }
}
.big-door.charge .leaf { box-shadow: 0 0 80px rgba(125, 255, 58, 0.8), inset 0 0 0 10px rgba(0, 0, 0, 0.12); transition: box-shadow 1.5s, transform 1.2s cubic-bezier(0.6, 0, 0.2, 1); }
.big-door.zoom-in { animation: big-door-in 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
@keyframes big-door-in { from { transform: scale(0.2) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.big-door.gone { transform: scale(2.4); opacity: 0; transition: transform 0.7s ease-in, opacity 0.6s; }

.flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 400; }
.flash.go { animation: flash 0.7s ease-out; }
@keyframes flash { 0% { opacity: 0.95; } 100% { opacity: 0; } }

/* Case-Roulette */
.roulette-wrap {
  position: relative; width: min(1180px, 96vw); height: 250px; display: none;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 6, 20, 0.95), rgba(26, 14, 52, 0.95));
  border: 2px solid rgba(157, 77, 255, 0.5);
  box-shadow: 0 0 60px rgba(157, 77, 255, 0.35), inset 0 0 60px rgba(0, 0, 0, 0.7);
}
.roulette-wrap.show { display: block; animation: roul-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes roul-in { from { transform: scaleX(0.2); opacity: 0; } to { transform: none; opacity: 1; } }
.roulette-wrap::before, .roulette-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 200px; z-index: 3; pointer-events: none;
}
.roulette-wrap::before { left: 0; background: linear-gradient(90deg, rgba(10, 6, 20, 1), transparent); }
.roulette-wrap::after { right: 0; background: linear-gradient(270deg, rgba(10, 6, 20, 1), transparent); }
.roulette-marker {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); z-index: 4;
  background: var(--green); box-shadow: 0 0 18px var(--green), 0 0 40px var(--green);
}
.roulette-marker::before, .roulette-marker::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  border-left: 14px solid transparent; border-right: 14px solid transparent;
}
.roulette-marker::before { top: 0; border-top: 18px solid var(--green); }
.roulette-marker::after { bottom: 0; border-bottom: 18px solid var(--green); }
.roulette-track {
  position: absolute; top: 25px; left: 0; height: 200px; display: flex; gap: 10px; will-change: transform;
}
.r-card {
  position: relative; width: 210px; height: 200px; flex-shrink: 0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, #1d1236, #0d0819);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; transition: opacity 0.5s, transform 0.5s, filter 0.5s;
}
.r-card .r-img { height: 98px; background-size: cover; background-position: center; background-color: #221440; }
.r-card .r-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.r-card .r-name { font-weight: 800; font-size: 16px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-card .r-price { font-family: var(--font-display); font-weight: 900; font-size: 16px; color: var(--green); }
.r-card .r-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rc, #4b69ff); box-shadow: 0 0 16px var(--rc, #4b69ff); }
.r-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--rc, #4b69ff) 28%, transparent), transparent 45%); pointer-events: none; }
.r-card.rar-1 { --rc: #4b69ff; }
.r-card.rar-2 { --rc: #8847ff; }
.r-card.rar-3 { --rc: #d32ce6; }
.r-card.rar-4 { --rc: #eb4b4b; }
.r-card.rar-5 { --rc: #ffd24a; }
.roulette-wrap.done .r-card { opacity: 0.25; filter: grayscale(0.8); }
.roulette-wrap.done .r-card.win { opacity: 1; filter: none; transform: scale(1.06); box-shadow: 0 0 40px var(--rc), 0 0 0 3px var(--rc); z-index: 2; }

/* Gewinn-Karte */
.win-card {
  display: none; position: relative; width: min(620px, 94vw); text-align: center;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(170deg, #22133f, #0b0716);
  border: 2px solid var(--green);
  box-shadow: 0 0 80px rgba(125, 255, 58, 0.45), 0 30px 80px rgba(0, 0, 0, 0.7);
}
.win-card.show { display: block; animation: win-pop 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.35) both; }
@keyframes win-pop { from { transform: scale(0.3) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.win-card .wc-cover { height: 260px; background-size: cover; background-position: center; position: relative; }
.win-card .wc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #1a0f33 3%, transparent 55%); }
.win-card .wc-badge {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; font-size: 15px;
  padding: 6px 16px; border-radius: 30px; background: rgba(0, 0, 0, 0.6); border: 1px solid var(--green); color: var(--green);
}
.win-card .wc-body { padding: 4px 28px 28px; position: relative; }
.win-card .wc-won { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 4px; color: var(--purple-3); text-transform: uppercase; }
.win-card .wc-name { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.1; margin: 8px 0; }
.win-card .wc-price {
  font-family: var(--font-display); font-weight: 900; font-size: 46px; color: var(--green);
  text-shadow: 0 0 24px rgba(125, 255, 58, 0.7); animation: price-pulse 1.4s ease-in-out infinite;
}
@keyframes price-pulse { 50% { transform: scale(1.06); text-shadow: 0 0 40px rgba(125, 255, 58, 1); } }
.win-card .wc-winner {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800;
  padding: 10px 22px; border-radius: 14px; background: rgba(157, 77, 255, 0.2); border: 1px solid rgba(157, 77, 255, 0.6);
}
.win-card .wc-winner b { color: var(--green); }
.win-card .wc-actions { margin-top: 20px; display: flex; gap: 10px; justify-content: center; }
.skip-btn { position: absolute; bottom: 24px; right: 24px; z-index: 5; }

.reveal-toolbar { display: flex; gap: 10px; justify-content: center; margin: -10px 0 26px; flex-wrap: wrap; }
.reveal-toolbar .seg { display: inline-flex; border-radius: 12px; overflow: hidden; border: 1px solid var(--panel-border); }
.reveal-toolbar .seg button {
  background: var(--panel); color: var(--muted); border: none; padding: 10px 14px; font-weight: 800; cursor: pointer; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.reveal-toolbar .seg button.on { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }

#confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 500; }

/* ======================================================= ADMIN === */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tabs button {
  padding: 11px 18px; border-radius: 12px; border: 1px solid var(--panel-border); cursor: pointer;
  background: var(--panel); color: var(--muted); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-tabs button.on { color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2)); border-color: transparent; box-shadow: var(--shadow-purple); }
.tab-pane { display: none; }
.tab-pane.on { display: block; animation: fade-in 0.3s; }

.admin-bar {
  position: sticky; top: calc(var(--nav-h, 70px) + 1px); z-index: 30; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 16px;
}
.admin-bar .spacer { flex: 1; }
.admin-bar input#filter { width: 260px; }
.unsaved { color: var(--gold); font-weight: 800; display: none; }
.unsaved.show { display: inline; animation: blink 1.4s infinite; }

.admin-table-wrap { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 1180px; table-layout: fixed; }
.admin-table th {
  text-align: left; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; padding: 0 8px;
}
.admin-table td { padding: 8px; background: rgba(20, 13, 39, 0.8); vertical-align: middle; }
.admin-table tr td:first-child { border-radius: 12px 0 0 12px; }
.admin-table tr td:last-child { border-radius: 0 12px 12px 0; }
.admin-table tr.is-open td { background: rgba(30, 50, 20, 0.45); }
.admin-table tr.dirty td { box-shadow: inset 0 1px 0 rgba(255, 210, 74, 0.35), inset 0 -1px 0 rgba(255, 210, 74, 0.35); }
.admin-table .n {
  font-family: var(--font-display); font-weight: 900; font-size: 20px; width: 50px; text-align: center; color: var(--purple-3);
}
.admin-table .thumb {
  width: 92px; height: 43px; border-radius: 7px; background-size: cover; background-position: center;
  background-color: #1a0f33; border: 1px solid var(--panel-border); display: grid; place-items: center; font-size: 11px; color: var(--muted);
}
.admin-table input { padding: 8px 10px; font-size: 15px; min-width: 0; }
.key-cell { display: flex; gap: 6px; }
.key-cell input { flex: 1; }
.key-cell input.masked { -webkit-text-security: disc; }
.mini-btn {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; border: 1px solid var(--panel-border);
  background: rgba(157, 77, 255, 0.1); color: var(--text); cursor: pointer; font-size: 15px;
  display: grid; place-items: center; transition: all 0.2s;
}
.mini-btn:hover { background: var(--purple); border-color: var(--purple); }
.mini-btn.danger:hover { background: var(--red); border-color: var(--red); }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-weight: 800; font-size: 13px;
  cursor: pointer; user-select: none; white-space: nowrap; border: 1px solid;
}
.status-pill.closed { color: var(--purple-3); border-color: rgba(157, 77, 255, 0.5); background: rgba(157, 77, 255, 0.12); }
.status-pill.open { color: var(--green); border-color: rgba(125, 255, 58, 0.5); background: rgba(125, 255, 58, 0.1); }
.cell-actions { display: flex; gap: 6px; align-items: center; }

.steam-pop {
  position: fixed; z-index: 250; width: 420px; max-height: 420px; overflow: auto; padding: 10px;
  background: #140d27; border: 1px solid var(--purple); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), var(--shadow-purple);
  display: none;
}
.steam-pop.show { display: block; animation: fade-in 0.2s; }
.steam-pop .sp-item { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; cursor: pointer; }
.steam-pop .sp-item:hover { background: rgba(157, 77, 255, 0.2); }
.steam-pop .sp-item img { width: 110px; height: 42px; object-fit: cover; border-radius: 6px; background: #221440; }
.steam-pop .sp-item .sp-n { font-weight: 800; font-size: 15px; line-height: 1.1; }
.steam-pop .sp-item .sp-p { color: var(--green); font-weight: 800; font-size: 14px; }
.steam-pop .sp-msg { padding: 14px; color: var(--muted); text-align: center; }
.steam-pop .sp-search { display: flex; gap: 6px; margin-bottom: 8px; }

.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.preview-box { padding: 14px; }
.preview-box h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; letter-spacing: 1px; }
.preview-box h3 a { margin-left: auto; }
.preview-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 1px solid var(--panel-border); background: #000; }
.preview-frame iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; transform: scale(0.5); transform-origin: 0 0; border: 0; }

.import-box { padding: 22px; }
.import-box textarea { min-height: 260px; font-family: var(--font-mono); font-size: 14px; }
.import-box .hint { color: var(--muted); margin: 0 0 12px; }
.import-box code { background: rgba(157, 77, 255, 0.2); padding: 2px 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 14px; }
.import-preview { margin-top: 14px; font-size: 15px; }
.import-preview .ok { color: var(--green); }
.import-preview .bad { color: var(--red); }

.settings-box { padding: 22px; display: grid; gap: 16px; max-width: 700px; }
.settings-box label.f { display: grid; gap: 6px; font-weight: 800; }
.settings-box label.f span { color: var(--muted); font-size: 14px; }
.promo-edit { display: grid; grid-template-columns: 1fr 140px 1.4fr; gap: 10px; align-items: end; }
.promo-edit label { display: grid; gap: 4px; font-weight: 800; font-size: 14px; color: var(--muted); }
.fx-rate-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); }
.fx-rate { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--green); text-shadow: 0 0 12px rgba(125, 255, 58, 0.5); }
.fx-src { color: var(--muted); font-size: 14px; flex: 1; }
.fx-example { font-family: var(--font-mono); color: var(--gold); font-size: 15px; }
.danger-zone { border-color: rgba(255, 77, 109, 0.45); }
.danger-zone h3 { color: #ff8aa0; margin: 0; }
.danger-zone .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ================================================== Responsive === */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-actions { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .menu-cards { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 220px; height: 220px; }
}
@media (max-width: 640px) {
  header.nav { padding: 10px 14px; flex-wrap: wrap; }
  main { padding: 24px 14px 60px; }
  .doors-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
  .big-door { width: 240px; height: 320px; }
  .big-door .leaf .half-num { font-size: 110px; }
}

/* ================================================= GEWINNSPIEL === */
.ga-hero {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 26px; align-items: center;
  padding: 26px 32px; margin-bottom: 22px; overflow: hidden;
  background: linear-gradient(135deg, rgba(40, 18, 84, 0.85), rgba(12, 8, 24, 0.9));
  border: 2px solid var(--panel-border);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.ga-hero.running { border-color: var(--green); box-shadow: 0 0 40px rgba(125, 255, 58, 0.3), inset 0 0 60px rgba(125, 255, 58, 0.06); }
.ga-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(125, 255, 58, 0.05) 40px 80px);
  animation: ga-stripes 3s linear infinite;
}
.ga-hero.running::before { opacity: 1; }
@keyframes ga-stripes { to { background-position: 160px 0; } }
.ga-status {
  display: inline-block; font-family: var(--font-display); font-weight: 900; letter-spacing: 2px; font-size: 14px;
  padding: 6px 14px; border-radius: 30px; color: #ffb3c1; border: 1px solid rgba(255, 77, 109, 0.5); background: rgba(255, 77, 109, 0.1);
}
.ga-status.on { color: var(--green); border-color: rgba(125, 255, 58, 0.6); background: rgba(125, 255, 58, 0.1); animation: blink 1.4s infinite; }
.ga-write {
  margin-top: 14px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(24px, 3.2vw, 44px); letter-spacing: 2px; line-height: 1.25;
}
.ga-keyword {
  display: inline-block; font-family: var(--font-mono); text-transform: none; color: var(--green);
  padding: 2px 16px; margin: 0 6px; border-radius: 12px; border: 2px dashed rgba(125, 255, 58, 0.7);
  background: rgba(125, 255, 58, 0.08); text-shadow: 0 0 20px rgba(125, 255, 58, 0.9);
}
.ga-hero.running .ga-keyword { animation: ga-kw-pulse 1.6s ease-in-out infinite; }
@keyframes ga-kw-pulse { 50% { transform: scale(1.06); box-shadow: 0 0 30px rgba(125, 255, 58, 0.5); } }
.ga-subonly { margin-top: 10px; font-weight: 800; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.ga-timer { position: relative; width: 120px; height: 120px; }
.ga-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ga-timer circle { fill: none; stroke-width: 9; }
.ga-timer .bg { stroke: rgba(255, 255, 255, 0.08); }
.ga-timer .fg { stroke: var(--green); stroke-linecap: round; filter: drop-shadow(0 0 8px var(--green)); transition: stroke-dashoffset 0.2s linear; }
.ga-timer.urgent .fg { stroke: var(--red); filter: drop-shadow(0 0 10px var(--red)); }
.ga-timer.urgent { animation: shake 0.5s infinite; }
.ga-timer-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ga-timer-txt b { font-family: var(--font-display); font-size: 32px; line-height: 1; }
.ga-timer-txt span { font-size: 12px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.ga-hero-right { text-align: center; min-width: 150px; }
.ga-count {
  font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 1; color: #fff;
  text-shadow: 0 0 30px rgba(157, 77, 255, 0.9);
}
.ga-count.bump { animation: ga-bump 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.5); }
@keyframes ga-bump { 40% { transform: scale(1.25); color: var(--green); } }
.ga-count-lbl { color: var(--muted); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.ga-controls { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; position: relative; z-index: 2; }
.ga-roll-btn {
  font-size: 20px; padding: 14px 30px;
  background: linear-gradient(135deg, var(--gold), #ff9f1a); color: #1a0d00;
  box-shadow: 0 6px 26px rgba(255, 190, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.ga-roll-btn:hover { box-shadow: 0 10px 34px rgba(255, 210, 74, 0.7); }

.ga-grid { display: grid; grid-template-columns: 340px 1fr 380px; gap: 18px; align-items: start; }
body.stream-mode .ga-grid { grid-template-columns: 1fr 400px; }
.ga-panel { padding: 18px; }
.ga-panel h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.ga-panel h3 { white-space: nowrap; }
.ga-panel h3 input { margin-left: auto; width: 170px; min-width: 0; padding: 6px 10px; font-size: 14px; }
.ga-panel label.f { display: grid; gap: 5px; font-weight: 800; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.ga-panel label.check { margin: 4px 0 8px; font-size: 15px; }
.ga-panel hr { border: none; border-top: 1px solid var(--panel-border); margin: 14px 0; }
.ga-panel select { cursor: pointer; }
.ga-conn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); margin-bottom: 12px; font-weight: 700; }
.ga-dot { width: 12px; height: 12px; border-radius: 50%; background: #666; flex-shrink: 0; }
.ga-dot.on { background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2s infinite; }
.ga-dot.ing { background: var(--gold); animation: blink 0.6s infinite; }
.ga-dot.err { background: var(--red); box-shadow: 0 0 10px var(--red); }
.ga-bg-hint { margin: -4px 0 14px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.ga-find-msg { font-size: 14px; margin: -4px 0 8px; word-break: break-all; }
.ga-find-msg.ok { color: var(--green); }
.ga-find-msg.bad { color: #ffb3c1; }
.ga-find-msg a { color: var(--purple-3); text-decoration: underline; }
.ga-adv { margin-top: 14px; color: var(--muted); font-size: 14px; }
.ga-adv summary { cursor: pointer; font-weight: 800; }
.ga-adv p { margin: 4px 0 0; }
.ga-pill { font-size: 13px; padding: 2px 10px; border-radius: 20px; background: rgba(157, 77, 255, 0.25); color: #fff; }

.ga-pot { display: flex; flex-wrap: wrap; gap: 8px; max-height: 460px; overflow: auto; padding: 2px; }
.ga-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 30px; cursor: pointer;
  background: rgba(20, 13, 39, 0.9); border: 1px solid var(--panel-border); font-weight: 800; font-size: 15px;
  transition: transform 0.2s, opacity 0.25s, border-color 0.2s;
}
.ga-chip .x { opacity: 0; font-size: 12px; color: var(--red); transition: opacity 0.2s; }
.ga-chip:hover { border-color: var(--red); }
.ga-chip:hover .x { opacity: 1; }
.ga-chip.new { animation: ga-chip-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.5); border-color: var(--green); box-shadow: 0 0 16px rgba(125, 255, 58, 0.5); }
.ga-chip.gone { transform: scale(0.3); opacity: 0; }
@keyframes ga-chip-in { from { transform: scale(0) rotate(-10deg); opacity: 0; } }
.ga-avatar {
  width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 900; font-size: 13px; color: #0b0716;
  background: var(--ac, var(--purple)); box-shadow: 0 0 10px color-mix(in srgb, var(--ac, var(--purple)) 60%, transparent);
}
.ga-avatar.mid { width: 64px; height: 64px; font-size: 30px; }
.ga-avatar.big { width: 110px; height: 110px; font-size: 54px; border: 4px solid #fff; }
.ga-sub {
  font-size: 10px; font-weight: 900; letter-spacing: 1px; padding: 1px 5px; border-radius: 5px; margin-right: 4px;
  background: rgba(255, 210, 74, 0.2); color: var(--gold); border: 1px solid rgba(255, 210, 74, 0.5);
}
.ga-winners { display: grid; gap: 6px; }
.ga-win-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); }
.ga-win-row b { color: var(--gold); }
.ga-win-row span:last-child { margin-left: auto; color: var(--muted); font-size: 13px; }

.ga-chat { height: 560px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; font-size: 15px; padding-right: 4px; }
.ga-msg { padding: 4px 8px; border-radius: 8px; word-break: break-word; animation: fade-in 0.3s; }
.ga-msg.joined { background: rgba(125, 255, 58, 0.12); border-left: 3px solid var(--green); }
.ga-msg.winner { background: rgba(255, 210, 74, 0.16); border-left: 3px solid var(--gold); }
.ga-emote { height: 24px; vertical-align: middle; }

.ga-name-card { align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 10px; width: 190px !important; }
.ga-name-card .r-name { font-size: 18px; padding: 0 6px; }
.ga-win-card { border-color: var(--gold) !important; box-shadow: 0 0 80px rgba(255, 210, 74, 0.45), 0 30px 80px rgba(0, 0, 0, 0.7) !important; }
.ga-win-top { padding: 28px 20px 6px; display: grid; justify-items: center; gap: 6px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 210, 74, 0.25), transparent 70%); }
.ga-win-top .wc-name { margin: 0; }
.ga-win-sub { font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--green); text-shadow: 0 0 16px rgba(125, 255, 58, 0.7); }
.ga-win-chat { min-height: 60px; margin: 10px 0 0; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.4); border: 1px dashed var(--panel-border); text-align: left; }
.ga-wait { color: var(--muted); text-align: center; animation: blink 1.6s infinite; }
.ga-win-msg { font-size: 18px; font-weight: 700; padding: 4px 0; animation: fade-in 0.3s; }

@media (max-width: 1200px) {
  .ga-grid { grid-template-columns: 1fr 1fr; }
  .ga-grid > #ga-settings { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ga-grid, body.stream-mode .ga-grid { grid-template-columns: 1fr; }
  .ga-hero { grid-template-columns: 1fr; text-align: center; }
}

/* Gewinnspiel-Modi */
.ga-modes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; z-index: 2; }
.ga-modes button {
  padding: 10px 18px; border-radius: 12px; cursor: pointer; font-family: var(--font-display); font-weight: 900;
  font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
  background: rgba(0, 0, 0, 0.35); border: 2px solid var(--panel-border); transition: all 0.2s;
}
.ga-modes button:hover { color: #fff; border-color: var(--purple); }
.ga-modes button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: var(--shadow-purple); }
.ga-modes button[data-mode="slot"].on { background: linear-gradient(135deg, #d32ce6, #7a12a0); box-shadow: 0 0 24px rgba(211, 44, 230, 0.5); }
.ga-modes button[data-mode="battle"].on { background: linear-gradient(135deg, #eb4b4b, #9a1a2a); box-shadow: 0 0 24px rgba(235, 75, 75, 0.5); }
.ga-cost { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.ga-cost input#cfg-cost { width: 90px; flex: none; padding: 8px 10px; font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--gold); text-align: right; }
.ga-cost span { font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--gold); }
.ga-prize {
  margin-top: 12px; font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 2px; text-transform: uppercase; color: var(--purple-3); text-shadow: 0 0 16px rgba(157, 77, 255, 0.7);
}
.ga-hero[data-mode="slot"] .ga-prize { color: #f08cff; text-shadow: 0 0 16px rgba(211, 44, 230, 0.7); }
.ga-hero[data-mode="battle"] .ga-prize { color: #ff8a8a; text-shadow: 0 0 16px rgba(235, 75, 75, 0.7); }
.ga-prize-cost {
  display: inline-block; margin-left: 8px; padding: 3px 12px; border-radius: 10px; font-size: 0.72em; letter-spacing: 1px;
  color: var(--gold); border: 1px solid rgba(255, 210, 74, 0.55); background: rgba(255, 210, 74, 0.1); text-shadow: 0 0 10px rgba(255, 210, 74, 0.5);
  vertical-align: middle;
}
.ga-win-prize {
  margin-top: 6px; padding: 6px 16px; border-radius: 12px; font-family: var(--font-display); font-weight: 900; font-size: 18px;
  color: var(--gold); border: 1px solid rgba(255, 210, 74, 0.55); background: rgba(255, 210, 74, 0.1);
}
.ga-win-mode { font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }

/* ======================================================== TIPS === */
.tip-modal { z-index: 460; }
.tip-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.tip-choice button {
  padding: 14px; border-radius: 14px; cursor: pointer; font-weight: 800; font-size: 16px; color: var(--muted);
  background: rgba(0, 0, 0, 0.35); border: 2px solid var(--panel-border); transition: all 0.2s; font-family: var(--font-body);
}
.tip-choice button:hover { color: #fff; border-color: var(--purple); }
.tip-choice button[data-won="1"].on { color: #0b1a02; background: linear-gradient(135deg, var(--green), var(--green-2)); border-color: transparent; box-shadow: var(--shadow-green); }
.tip-choice button[data-won="0"].on { color: #fff; background: linear-gradient(135deg, #ff4d6d, #c21f45); border-color: transparent; }
.tip-f { display: grid; gap: 6px; font-weight: 800; color: var(--muted); margin-top: 10px; }
.tip-amount { display: flex; align-items: center; gap: 8px; }
.tip-amount input { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--gold); text-align: right; }
.tip-amount span { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--gold); }
.tip-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; white-space: nowrap;
  font-size: 12px; font-weight: 800; letter-spacing: 0.3px; border: 1px solid;
}
.tip-badge.yes { color: var(--gold); border-color: rgba(255, 210, 74, 0.6); background: rgba(255, 210, 74, 0.12); text-shadow: 0 0 8px rgba(255, 210, 74, 0.5); }
.tip-badge.no { color: var(--muted); border-color: rgba(157, 146, 189, 0.35); background: rgba(0, 0, 0, 0.25); }
.tip-badge.open { color: var(--purple-3); border-color: rgba(157, 77, 255, 0.45); background: rgba(157, 77, 255, 0.1); border-style: dashed; }
.btn.gold { color: #1a0d00; background: linear-gradient(135deg, var(--gold), #ff9f1a); box-shadow: 0 6px 22px rgba(255, 190, 40, 0.4); }
.ga-win-tip { margin-top: 10px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ga-win-tip .tip-badge { font-size: 18px; padding: 6px 14px; }
.ga-win-row.tipable { cursor: pointer; transition: background 0.2s; }
.ga-win-row.tipable:hover { background: rgba(157, 77, 255, 0.18); }
.ga-win-row { flex-wrap: wrap; }
.ga-cost input.ga-site-in { width: 130px; flex: none; font-size: 15px; text-align: left; color: #fff; }
.ga-cost input#cfg-tip-amount { width: 90px; flex: none; }
#ga-tipcfg-wrap { display: inline-flex; flex-wrap: wrap; }
#ga-tipcfg-wrap { gap: 14px; }
.ga-modes button[data-mode="tip"].on { background: linear-gradient(135deg, #ffb31a, #b86b00); color: #1a0d00; box-shadow: 0 0 24px rgba(255, 190, 40, 0.5); }
.ga-hero[data-mode="tip"] .ga-prize { color: var(--gold); text-shadow: 0 0 16px rgba(255, 210, 74, 0.7); }

/* Startseite: Tip-Anzeige */
.tips-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding: 22px 30px; margin-bottom: 26px; border-radius: 20px; text-align: center;
  background: linear-gradient(120deg, rgba(255, 190, 40, 0.14), rgba(106, 27, 214, 0.22) 50%, rgba(125, 255, 58, 0.12));
  border: 2px solid rgba(255, 210, 74, 0.5); box-shadow: 0 0 40px rgba(255, 210, 74, 0.18);
}
.tips-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent); transform: skewX(-20deg);
  animation: promo-shine 4s ease-in-out infinite;
}
.tips-hero .ico { font-size: 58px; filter: drop-shadow(0 0 18px rgba(255, 210, 74, 0.8)); animation: float 3s ease-in-out infinite; }
.tips-hero .lbl { font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-size: 15px; }
.tips-hero .val { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 6vw, 76px); line-height: 1; color: var(--gold); text-shadow: 0 0 30px rgba(255, 210, 74, 0.7); }
.tips-hero .cnt { color: var(--purple-3); font-weight: 800; letter-spacing: 1px; }
.tips-hero a { position: relative; z-index: 2; }

/* ================================================= HALL OF FAME === */
.hof-top { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr; gap: 18px; margin-bottom: 22px; }
.tips-hero.keys-hero {
  background: linear-gradient(120deg, rgba(125, 255, 58, 0.14), rgba(106, 27, 214, 0.22) 50%, rgba(157, 77, 255, 0.14));
  border-color: rgba(125, 255, 58, 0.5); box-shadow: 0 0 40px rgba(125, 255, 58, 0.16);
}
.tips-hero.keys-hero .val { color: var(--green); text-shadow: 0 0 30px rgba(125, 255, 58, 0.7); }
.tips-hero.keys-hero .ico { filter: drop-shadow(0 0 18px rgba(125, 255, 58, 0.8)); }
.hof-top .tips-hero { gap: 20px; padding: 20px; }
.hof-top .tips-hero .val { font-size: clamp(38px, 4vw, 64px); }
.hof-top .tips-hero { margin: 0; }
.hof-stat { padding: 20px; display: grid; place-content: center; text-align: center; }
.hof-stat .v { font-family: var(--font-display); font-weight: 900; font-size: 56px; color: #fff; text-shadow: 0 0 24px rgba(157, 77, 255, 0.8); line-height: 1; }
.hof-stat .l { color: var(--muted); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }
.hof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.hof-col { padding: 14px; min-height: 300px; }
.hof-col h3 {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; padding-bottom: 10px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 2px solid var(--c, var(--purple));
}
.hof-col h3 .ga-pill { background: color-mix(in srgb, var(--c, var(--purple)) 35%, transparent); }
.hof-col.c-cal { --c: #9d4dff; }
.hof-col.c-slot { --c: #d32ce6; }
.hof-col.c-battle { --c: #eb4b4b; }
.hof-col.c-tip { --c: #ffb31a; }
.hof-list { display: grid; gap: 8px; }
.hof-item {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center;
  padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--c, var(--purple)); animation: door-in 0.45s both;
}
.hof-item.tipable { cursor: pointer; }
.hof-item.tipable:hover { background: color-mix(in srgb, var(--c) 14%, rgba(0, 0, 0, 0.3)); }
.hof-item .ga-avatar { grid-row: span 2; width: 34px; height: 34px; font-size: 16px; }
.hof-item .nm { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-item .meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.hof-item .game { color: var(--text); font-weight: 700; }
.hof-item .price { color: var(--green); font-weight: 800; }
.hof-item .del {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 6px; border: none; cursor: pointer;
  background: rgba(255, 77, 109, 0.15); color: #ff8aa0; opacity: 0; transition: opacity 0.2s; font-size: 12px;
}
.hof-item:hover .del { opacity: 1; }
body.stream-mode .hof-item .del { display: none; }
.hof-thumb { grid-column: 1 / -1; height: 54px; border-radius: 8px; background-size: cover; background-position: center; margin-bottom: 2px; }
@media (max-width: 1300px) { .hof-grid { grid-template-columns: 1fr 1fr; } .hof-top { grid-template-columns: 1fr 1fr; } .hof-top .hof-stat { grid-column: 1 / -1; } }
@media (max-width: 800px) { .hof-grid, .hof-top { grid-template-columns: 1fr; } }

/* ================================================== SPIELER-IDS === */
.pl-add { padding: 18px 20px; margin-bottom: 18px; }
.pl-add h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.pl-add-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.pl-add-row label.f { display: grid; gap: 5px; font-weight: 800; font-size: 14px; color: var(--muted); flex: 1; min-width: 150px; }
.pl-add-row #in-pid { font-size: 17px; }
.pl-live { margin-top: 10px; min-height: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.pl-bar .seg-mini { display: inline-flex; border-radius: 10px; overflow: hidden; border: 1px solid var(--panel-border); }
.seg-mini button { background: rgba(0, 0, 0, 0.3); color: var(--muted); border: none; padding: 8px 14px; font-weight: 800; cursor: pointer; font-family: var(--font-body); font-size: 14px; }
.seg-mini button.on { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.pl-bar input#search { width: 260px; }
.pl-table { min-width: 1000px; }
.pl-table tr.pl-alert td { background: rgba(255, 190, 40, 0.1); }
.pl-table tr.pl-ban td { background: rgba(255, 77, 109, 0.1); }
.pl-kick { font-size: 16px; }
.pl-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; font-size: 13px; font-weight: 800; border: 1px solid; margin: 2px 0; }
.pl-badge.ok { color: var(--green); border-color: rgba(125, 255, 58, 0.45); background: rgba(125, 255, 58, 0.08); }
.pl-badge.warn { color: var(--gold); border-color: rgba(255, 210, 74, 0.6); background: rgba(255, 210, 74, 0.12); }
.pl-badge.ban { color: #ff8aa0; border-color: rgba(255, 77, 109, 0.6); background: rgba(255, 77, 109, 0.12); }
.pl-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.pl-box { padding: 18px 20px; }
.pl-box h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.pl-box .hint { color: var(--muted); margin: 0 0 12px; font-size: 14px; }
.pl-box textarea { min-height: 150px; font-family: var(--font-mono); font-size: 14px; }
.pl-banned { display: grid; gap: 6px; margin-top: 12px; }
.pl-ban-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 77, 109, 0.08); border: 1px solid rgba(255, 77, 109, 0.3); }
.pl-ban-row b { color: #ff8aa0; }
.pl-ban-row span { color: var(--text); flex: 1; font-size: 14px; }
.pl-ban-row em { color: var(--muted); font-size: 12px; font-style: normal; }
@media (max-width: 900px) { .pl-lower { grid-template-columns: 1fr; } }

/* Gewinnspiel: ID-Status */
.ga-idmark { font-size: 12px; margin-left: 2px; }
.ga-idmark.ok { color: var(--green); }
.ga-idmark.warn { color: var(--gold); }
.ga-win-ids { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

/* ID-Check auf der Gewinner-Karte */
.ga-verdict:empty { display: none; }
.ga-verdict {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 10px 20px; border-radius: 14px; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 2px;
  border: 2px solid; animation: win-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}
.ga-verdict small { display: block; width: 100%; font-family: var(--font-body); font-size: 14px; letter-spacing: 0.5px; font-weight: 700; opacity: 0.9; }
.ga-verdict.ok { color: var(--green); border-color: var(--green); background: rgba(125, 255, 58, 0.1); box-shadow: 0 0 26px rgba(125, 255, 58, 0.35); text-shadow: 0 0 14px rgba(125, 255, 58, 0.6); }
.ga-verdict.alt { color: var(--gold); border-color: var(--gold); background: rgba(255, 210, 74, 0.12); box-shadow: 0 0 26px rgba(255, 210, 74, 0.35); }
.ga-verdict.ban { color: #ff8aa0; border-color: var(--red); background: rgba(255, 77, 109, 0.12); box-shadow: 0 0 26px rgba(255, 77, 109, 0.35); }
.ga-verdict.none { color: var(--muted); border-color: var(--panel-border); background: rgba(0, 0, 0, 0.3); font-size: 16px; border-style: dashed; }
.ga-verdict.shake-once { animation: shake 0.5s 2; }
.ga-idform { margin-top: 10px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ga-idform select { width: 140px; }
.ga-idform input { width: 220px; }
.ga-idform-toggle { margin-top: 8px; }

/* Gewinner-Karte im Gewinnspiel: passt immer auf den Bildschirm */
#roll-overlay .reveal-stage { padding-bottom: 86px; }
#roll-overlay .reveal-title { margin-bottom: 12px; font-size: clamp(22px, 2.6vw, 38px); }
.ga-win-card.show { display: flex; flex-direction: column; max-height: calc(100vh - 190px); }
.ga-win-scroll { flex: 1; min-height: 0; overflow-y: auto; }
.ga-win-card .ga-win-top { padding: 18px 20px 4px; gap: 4px; }
.ga-win-card .ga-avatar.big { width: 76px; height: 76px; font-size: 38px; border-width: 3px; }
.ga-win-card .wc-won { font-size: 16px; }
.ga-win-card .wc-name { font-size: clamp(26px, 3vw, 36px); }
.ga-win-card .ga-win-sub { font-size: 14px; }
.ga-win-card .ga-win-prize { font-size: 16px; padding: 4px 14px; margin-top: 4px; }
.ga-win-card .ga-win-tip { margin-top: 6px; }
.ga-win-card .ga-verdict { margin-top: 8px; padding: 6px 16px; font-size: 18px; }
.ga-win-card .ga-verdict small { font-size: 13px; }
.ga-win-card .ga-idform, .ga-win-card .ga-win-ids { margin-top: 6px; }
.ga-win-card .ga-idform-toggle { margin-top: 6px; padding: 5px 10px; font-size: 12px; }
.ga-win-card .wc-body { padding: 0 20px 6px; }
.ga-win-card .ga-win-chat { min-height: 0; margin-top: 8px; padding: 8px 12px; max-height: 84px; overflow: hidden; }
.ga-win-card .ga-win-msg { font-size: 16px; padding: 2px 0; }
.ga-win-actions { flex-shrink: 0; margin: 0 !important; padding: 12px 16px; border-top: 1px solid var(--panel-border); background: rgba(10, 6, 20, 0.6); }
.ga-win-x { position: absolute; top: 10px; right: 10px; z-index: 5; }
.ga-win-card { position: relative; }
.ga-win-x {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer; font-size: 16px;
  background: rgba(0, 0, 0, 0.55); color: #fff; transition: background 0.2s;
}
.ga-win-x:hover { background: var(--red); }
.ga-idform select#ga-id-site { width: 130px; flex: none; padding: 7px 10px; font-size: 14px; }
.ga-idform input#ga-id-pid { width: 200px; flex: none; padding: 7px 10px; font-size: 14px; }

/* Startseite: gemischter Gewinner-Feed */
.winner-item { position: relative; border-left: 3px solid var(--kc, var(--purple)); }
.winner-item.k-calendar { --kc: #9d4dff; }
.winner-item.k-slot { --kc: #d32ce6; }
.winner-item.k-battle { --kc: #eb4b4b; }
.winner-item.k-tip { --kc: #ffb31a; }
.winner-item .feed-ico { display: grid; place-items: center; font-size: 26px; background: color-mix(in srgb, var(--kc) 22%, #120b24); border-color: color-mix(in srgb, var(--kc) 50%, transparent); }
.winner-item .w-price.tip { color: var(--gold); text-shadow: 0 0 10px rgba(255, 210, 74, 0.5); }
.winner-item .w-time { color: var(--muted); font-size: 12px; }

/* ====================================================== BONUS HUNT === */
.hu-tabs { justify-content: center; }
.hu-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 16px; }
.hu-head input.hu-name { flex: 1; min-width: 220px; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 1px; background: transparent; border-color: transparent; }
.hu-head input.hu-name:hover, .hu-head input.hu-name:focus { border-color: var(--panel-border); background: rgba(7, 5, 13, 0.7); }
.hu-start { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.hu-start input#h-start { width: 120px; flex: none; font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--gold); text-align: right; }
.hu-start span { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--gold); }
.hu-head .spacer { flex: 1; }
.hu-head select#h-history { width: 260px; flex: none; }
.hu-phase button { font-size: 13px; }

.hu-stats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 16px; }
.hu-stat { padding: 14px; position: relative; overflow: hidden; }
.hu-stat .ico { position: absolute; right: 10px; top: 6px; font-size: 28px; opacity: 0.18; }
.hu-stat .v { font-family: var(--font-display); font-weight: 900; font-size: 24px; white-space: nowrap; }
.hu-stat .v.green, .hu-stat .v.pos { color: var(--green); text-shadow: 0 0 12px rgba(125, 255, 58, 0.5); }
.hu-stat .v.neg { color: var(--red); text-shadow: 0 0 12px rgba(255, 77, 109, 0.5); }
.hu-stat .v.purple { color: var(--purple-3); }
.hu-stat .v.gold { color: var(--gold); text-shadow: 0 0 12px rgba(255, 210, 74, 0.5); }
.hu-stat .l { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
.hu-stat .sub { font-size: 12px; color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hu-stage {
  position: relative; overflow: hidden; text-align: center; padding: 22px; margin-bottom: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(157, 77, 255, 0.35), rgba(12, 8, 24, 0.95) 70%); border: 2px solid var(--purple);
  box-shadow: 0 0 40px rgba(157, 77, 255, 0.3);
}
.hu-stage-top { display: flex; justify-content: space-between; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.hu-stage-be { color: var(--gold); }
.hu-stage-slot { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4vw, 54px); margin: 8px 0 2px; text-shadow: 0 0 24px rgba(157, 77, 255, 0.9); }
.hu-stage-bet { font-weight: 800; color: var(--purple-3); font-size: 18px; }
.hu-stage-input { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 14px; }
.hu-stage-input input#st-payout { width: 220px; flex: none; font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--green); text-align: right; }
.hu-stage-input span { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--green); }
.hu-reveal { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(7, 5, 13, 0.92); z-index: 3; }
.hu-reveal.show { display: flex; animation: fade-in 0.2s; }
.hu-reveal-x { font-family: var(--font-display); font-weight: 900; font-size: clamp(60px, 9vw, 120px); line-height: 1; color: var(--tc, #fff); text-shadow: 0 0 40px var(--tc, #fff); animation: win-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.hu-reveal-pay { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--green); margin-top: 6px; }
.hu-reveal-tag { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 3px; color: var(--tc, #fff); margin-top: 6px; }
.hu-reveal.t-mega { --tc: #ffd24a; } .hu-reveal.t-huge { --tc: #eb4b4b; } .hu-reveal.t-big { --tc: #d32ce6; }
.hu-reveal.t-good { --tc: #8847ff; } .hu-reveal.t-ok { --tc: #4b9bff; } .hu-reveal.t-bad { --tc: #8a8aa0; }
.hu-reveal.t-mega .hu-reveal-x { animation: win-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4), price-pulse 1s ease-in-out infinite 0.5s; }

.hu-grid { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.hu-list, .hu-gtb { padding: 16px; }
.hu-list h3, .hu-gtb h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.hu-table { min-width: 620px; }
.hu-table td { padding: 6px 8px; }
.hu-table input { padding: 7px 9px; font-size: 15px; }
.hu-table tr.hu-cur td { background: rgba(157, 77, 255, 0.25); box-shadow: inset 0 1px 0 var(--purple), inset 0 -1px 0 var(--purple); }
.hu-table tr.hu-done td { background: rgba(20, 30, 20, 0.5); }
.hu-x { font-family: var(--font-display); font-weight: 900; font-size: 16px; }
.t-none { color: var(--muted); } .t-bad { color: #8a8aa0; } .t-ok { color: #6fb4ff; } .t-good { color: #a57bff; }
.t-big { color: #e35cf2; } .t-huge { color: #ff6b6b; } .t-mega { color: var(--gold); text-shadow: 0 0 10px rgba(255, 210, 74, 0.7); }
.hu-add { display: flex; gap: 8px; margin-top: 10px; }
.hu-add input#add-slot { flex: 1; }
.hu-add input#add-bet { width: 120px; flex: none; }

.hu-gtb-cta { margin: 4px 0 10px; font-family: var(--font-display); font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.6; }
.hu-gtb-cta .ga-keyword { font-size: 18px; padding: 0 8px; }
.hu-gtb-ctrl, .hu-gtb-resolve { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.hu-gtb-resolve input#g-final { flex: 1; min-width: 120px; }
.hu-gtb-count { color: var(--muted); font-weight: 800; }
.hu-gtb-count b { color: #fff; font-family: var(--font-display); font-size: 20px; }
.hu-gtb-list { max-height: 260px; overflow-y: auto; display: grid; gap: 4px; margin: 8px 0; }
.hu-guess { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); }
.hu-guess b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hu-guess span { font-family: var(--font-display); font-weight: 900; color: var(--gold); }
.hu-guess .del { border: none; background: none; color: #ff8aa0; cursor: pointer; opacity: 0.5; }
.hu-guess .del:hover { opacity: 1; }
.hu-gtb-win { margin-top: 10px; padding: 14px; border-radius: 14px; text-align: center; border: 2px solid var(--gold); background: rgba(255, 210, 74, 0.08); box-shadow: 0 0 30px rgba(255, 210, 74, 0.25); animation: win-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.hu-gtb-win .lbl { font-weight: 800; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.hu-gtb-win .nm { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--gold); text-shadow: 0 0 18px rgba(255, 210, 74, 0.6); }
.hu-gtb-win .det { color: var(--text); font-weight: 700; font-size: 14px; }
.hu-gtb-win .top { display: grid; gap: 2px; margin-top: 6px; color: var(--muted); font-size: 13px; }
.hu-award { display: flex; gap: 6px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.hu-award input#g-amount { width: 80px; flex: none; font-size: 16px; }
.hu-award input#g-site { width: 120px; flex: none; }
.hu-award .tip-amount span { font-size: 16px; }

/* ========================================================== TURNIER === */
.tu-banner { text-align: center; padding: 18px; margin-bottom: 16px; border: 2px solid var(--panel-border); transition: border-color 0.4s, box-shadow 0.4s; }
.tu-banner.running { border-color: var(--green); box-shadow: 0 0 30px rgba(125, 255, 58, 0.25); }
.tu-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 20px rgba(157, 77, 255, 0.8); }
.tu-prize { display: inline-block; margin-top: 6px; padding: 5px 16px; border-radius: 12px; font-family: var(--font-display); font-weight: 900; color: var(--gold); border: 1px solid rgba(255, 210, 74, 0.55); background: rgba(255, 210, 74, 0.1); }
.tu-cta { margin-top: 10px; font-family: var(--font-display); font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: 1px; }
.tu-cta .ga-keyword { font-size: 20px; }
.tu-cnt { display: inline-block; margin-left: 8px; padding: 2px 12px; border-radius: 20px; background: rgba(125, 255, 58, 0.15); color: var(--green); }
.tu-grid { display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: start; }
body.stream-mode .tu-grid { grid-template-columns: 1fr; }
.tu-setup { padding: 16px; }
.tu-setup h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.tu-setup h4 { margin: 14px 0 6px; display: flex; gap: 8px; align-items: center; }
.tu-setup label.f { display: grid; gap: 4px; font-weight: 800; font-size: 13px; color: var(--muted); margin-bottom: 8px; flex: 1; }
.tu-setup hr { border: none; border-top: 1px solid var(--panel-border); margin: 10px 0; }
.tu-setup .hint { color: var(--muted); font-size: 13px; margin: 4px 0 8px; }
.tu-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.tu-row > input { flex: 1; min-width: 100px; }
.tu-row select#t-size { width: 80px; }
.tu-row .tip-amount input#t-prize { width: 90px; flex: none; font-size: 18px; }
.tu-row .tip-amount span { font-size: 18px; }
.tu-entries { display: grid; gap: 4px; max-height: 320px; overflow-y: auto; }
.tu-entry { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); }
.tu-entry b { width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tu-entry input { flex: 1; padding: 5px 8px; font-size: 14px; min-width: 0; }
.tu-entry .mini-btn { width: 28px; height: 28px; font-size: 12px; }
.tu-bracket-wrap { padding: 16px; overflow-x: auto; }
.tu-bracket { display: flex; gap: 22px; min-height: 200px; }
.tu-col { display: flex; flex-direction: column; justify-content: space-around; gap: 12px; min-width: 230px; flex: 1; }
.tu-col-h { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--purple-3); }
.tu-match { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--panel-border); background: rgba(10, 6, 20, 0.8); }
.tu-match.done { border-color: rgba(125, 255, 58, 0.45); }
.tu-side { display: flex; align-items: center; gap: 8px; padding: 8px 10px; transition: background 0.3s, opacity 0.3s; }
.tu-side + .tu-side { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tu-side .who { flex: 1; min-width: 0; display: grid; }
.tu-side .who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tu-side .who span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tu-side input { width: 64px; flex: none; padding: 5px 6px; font-size: 14px; text-align: right; }
.tu-side.win { background: rgba(125, 255, 58, 0.14); }
.tu-side.win .who b { color: var(--green); }
.tu-side.lose { opacity: 0.45; }
.tu-side.empty .who b { color: var(--muted); font-weight: 600; font-style: italic; }
.tu-val { font-family: var(--font-display); font-weight: 900; font-size: 14px; }
body.stream-mode .tu-side input { display: none; }
.tu-undo { position: absolute; top: 50%; right: -2px; transform: translateY(-50%); border: none; background: rgba(0, 0, 0, 0.6); color: var(--muted); border-radius: 6px 0 0 6px; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.tu-match:hover .tu-undo { opacity: 1; }
.tu-champ-card {
  margin-top: 18px; text-align: center; padding: 20px; border-radius: 18px; border: 2px solid var(--gold);
  background: radial-gradient(circle at 50% 0%, rgba(255, 210, 74, 0.25), rgba(12, 8, 24, 0.95) 70%);
  box-shadow: 0 0 50px rgba(255, 210, 74, 0.35); animation: win-pop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.tu-champ-card .crown { font-size: 56px; animation: float 2.5s ease-in-out infinite; }
.tu-champ-card .lbl { font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.tu-champ-card .nm { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4vw, 48px); color: var(--gold); text-shadow: 0 0 24px rgba(255, 210, 74, 0.7); }
.tu-champ-card .slot { font-weight: 800; color: var(--purple-3); }
.tu-champ-card .prize { margin: 8px 0; font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--green); }
@media (max-width: 1400px) { .hu-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .hu-grid, .tu-grid { grid-template-columns: 1fr; } }

/* Menue mit 9 Punkten: kompakt, bei wenig Platz nur Symbole (Name steht im Tooltip) */
.nav-links { flex-wrap: nowrap; }
.nav-links a { padding: 8px 11px; font-size: 15px; white-space: nowrap; gap: 6px; }
.nav-links a.nav-keys.active { box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.6), 0 0 18px rgba(255, 77, 109, 0.25); }
@media (max-width: 1780px) { .nav-links a { padding: 8px 8px; font-size: 14px; letter-spacing: 0.2px; } }
@media (max-width: 1560px) { .nav-links a:not(.active) > span { display: none; } .nav-links a { font-size: 17px; padding: 8px 10px; } .nav-links a.active > span { font-size: 14px; } }
@media (max-width: 900px) { .nav-links a.active > span { display: none; } }
.tu-bracket .tu-side input[data-m] { width: 66px; flex: none; padding: 5px 6px; font-size: 14px; text-align: right; }

.hu-stage-caller { margin-top: 4px; font-weight: 800; color: var(--gold); font-size: 17px; }
.hu-stage-caller:empty { display: none; }
.hu-tipcell { white-space: nowrap; }
.hu-tipcell .mini-btn { width: 30px; height: 30px; display: inline-grid; vertical-align: middle; margin-left: 4px; }
.hu-call-q { white-space: nowrap; }
.hu-calls-table tr.hu-call-bonus td { background: rgba(30, 50, 20, 0.45); }
.hu-calls-table tr.hu-call-nobonus td { opacity: 0.6; }
.hu-table { min-width: 0; }

.hu-fixed-site { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 800;
  color: var(--green); background: rgba(125, 255, 58, 0.08); border: 1px solid rgba(125, 255, 58, 0.4); white-space: nowrap; }

/* Turnier: Rollen */
.tu-rollbar { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.tu-fill { font-weight: 800; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.tu-fill b { color: #fff; font-family: var(--font-display); font-size: 20px; }
#t-roll:disabled { opacity: 0.45; }
.tu-pool { display: flex; flex-wrap: wrap; gap: 6px; max-height: 180px; overflow-y: auto; }
.tu-pchip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 4px 3px 10px; border-radius: 20px; font-weight: 800; font-size: 13px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--panel-border); }
.tu-pchip em { font-style: normal; color: var(--muted); font-weight: 600; font-size: 12px; }
.tu-pchip.in { border-color: var(--green); color: var(--green); }
.tu-pchip button { border: none; background: none; color: #ff8aa0; cursor: pointer; opacity: 0.5; font-size: 11px; }
.tu-pchip button:hover { opacity: 1; }
.tu-rslot { font-size: 12px; color: var(--muted); padding: 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
#troll-overlay .reveal-stage { padding-bottom: 20px; }

.wipe-list { display: grid; gap: 8px; }
.wipe-list label.check { font-weight: 700; font-size: 15px; }

/* Hall of Fame: 5 Spalten */
.hof-grid { grid-template-columns: repeat(5, 1fr); }
.hof-col.c-hunt { --c: #7dff3a; }
.winner-item.k-hunt { --kc: #7dff3a; }
@media (max-width: 1500px) { .hof-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .hof-grid { grid-template-columns: 1fr 1fr; } }

/* Turnier: Pot + Vorschau-Bracket */
.tu-potpanel { padding: 16px; margin-bottom: 16px; }
.tu-potpanel h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.tu-potpanel .ga-pot { max-height: 220px; }
.tu-chip em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }
.tu-chip.in { border-color: var(--gold); box-shadow: 0 0 12px rgba(255, 210, 74, 0.35); }
.tu-inmark { font-size: 13px; }
.tu-rollbar .btn { font-size: 16px; }
.tu-preview-hint { text-align: center; font-weight: 800; color: var(--gold); letter-spacing: 1px; margin-bottom: 10px; }
.tu-preview-hint:empty { display: none; }
.tu-side.open { border: 1px dashed rgba(157, 77, 255, 0.5); margin: 3px; border-radius: 8px; }
.tu-side.open .who b { color: var(--purple-3); font-weight: 700; font-style: italic; opacity: 0.8; }
.tu-side.fresh .who b { color: #fff; }
.tu-match.preview { border-style: dashed; }
.tu-bracket { gap: 14px; }
.tu-col { min-width: 190px; }

/* ======================================== UEBER / SOCIALS / INFOS / FOOTER === */
.soc-btn {
  width: 40px; height: 40px; border-radius: 11px; display: inline-grid; place-items: center;
  background: rgba(20, 13, 39, 0.8); border: 1px solid var(--panel-border); color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.soc-btn .ic { width: 19px; height: 19px; }
.soc-btn:hover { transform: translateY(-3px); }
.s-kick:hover { color: #53fc18; border-color: rgba(83, 252, 24, 0.6); box-shadow: 0 0 18px rgba(83, 252, 24, 0.35); }
.s-discord:hover { color: #8c96ff; border-color: rgba(88, 101, 242, 0.7); box-shadow: 0 0 18px rgba(88, 101, 242, 0.45); }
.s-x:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 0 18px rgba(255, 255, 255, 0.2); }

.hero-live { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; font-weight: 700;
  color: var(--purple-3); background: rgba(157, 77, 255, 0.1); border: 1px solid rgba(157, 77, 255, 0.35);
}
.live-chip .ic { color: var(--green); }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 44px; align-items: stretch; }
.about-card { padding: 30px 32px; position: relative; overflow: hidden; }
.about-card::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 255, 58, 0.16), transparent 70%); pointer-events: none;
}
.about-kicker { font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--green); font-size: 13px; }
.about-card h2 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); margin: 8px 0 12px; line-height: 1.15; }
.about-card p { color: var(--muted); font-size: 18px; margin: 0 0 18px; max-width: 640px; }
.about-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.about-points span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-weight: 800;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--panel-border);
}
.social-cards { display: grid; gap: 12px; align-content: start; }
.social-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(40, 20, 80, 0.75), rgba(12, 8, 24, 0.85)); border: 1px solid var(--panel-border);
  transition: transform 0.25s cubic-bezier(0.3, 1.3, 0.4, 1), border-color 0.25s, box-shadow 0.25s;
}
.social-card:hover { transform: translateX(6px); }
.sc-logo { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.sc-logo .ic { width: 26px; height: 26px; }
.sc-txt { display: grid; flex: 1; min-width: 0; }
.sc-txt b { font-family: var(--font-display); font-size: 19px; letter-spacing: 1px; }
.sc-txt small { color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.sc-cta .ic { width: 15px; height: 15px; }
.social-card.s-kick .sc-logo { background: rgba(83, 252, 24, 0.14); color: #53fc18; box-shadow: 0 0 22px rgba(83, 252, 24, 0.25); }
.social-card.s-kick .sc-cta { color: #53fc18; }
.social-card.s-kick:hover { border-color: rgba(83, 252, 24, 0.6); box-shadow: 0 0 30px rgba(83, 252, 24, 0.18); }
.social-card.s-discord .sc-logo { background: rgba(88, 101, 242, 0.2); color: #8c96ff; box-shadow: 0 0 22px rgba(88, 101, 242, 0.35); }
.social-card.s-discord .sc-cta { color: #8c96ff; }
.social-card.s-discord:hover { border-color: rgba(88, 101, 242, 0.7); box-shadow: 0 0 30px rgba(88, 101, 242, 0.25); }
.social-card.s-x .sc-logo { background: rgba(255, 255, 255, 0.08); color: #fff; }
.social-card.s-x .sc-cta { color: #fff; }
.social-card.s-x:hover { border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); }

/* Infos: Schritte */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 44px; counter-reset: s; }
.step { padding: 22px 20px; position: relative; }
.step-num {
  position: absolute; top: 14px; right: 16px; font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(157, 77, 255, 0.45);
}
.step-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(157, 77, 255, 0.35), rgba(106, 27, 214, 0.12));
  box-shadow: inset 0 0 0 1px rgba(199, 155, 255, 0.45), 0 0 22px rgba(157, 77, 255, 0.3);
}
.step-ico .ic { width: 26px; height: 26px; color: #f1ecff; filter: drop-shadow(0 0 6px rgba(199, 155, 255, 0.9)); }
.step:last-child .step-ico { background: linear-gradient(145deg, rgba(125, 255, 58, 0.3), rgba(40, 90, 10, 0.12)); box-shadow: inset 0 0 0 1px rgba(125, 255, 58, 0.5), 0 0 22px rgba(125, 255, 58, 0.3); }
.step h3 { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.5px; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step p b { color: var(--green); }

/* Infos: Codes */
.code-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-bottom: 44px; }
.code-card { padding: 24px 26px; position: relative; overflow: hidden; }
.code-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -130px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(125, 255, 58, 0.18), transparent 70%);
}
.code-card.c-purple::before { background: radial-gradient(circle, rgba(157, 77, 255, 0.3), transparent 70%); }
.cc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cc-site { font-family: var(--font-display); font-weight: 900; font-size: 24px; }
.cc-label { color: var(--muted); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-left: auto; }
.cc-code {
  font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: 2px; padding: 4px 14px; border-radius: 10px;
  color: var(--green); background: rgba(125, 255, 58, 0.08); border: 1px dashed rgba(125, 255, 58, 0.6); text-shadow: 0 0 14px rgba(125, 255, 58, 0.6);
}
.cc-perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.cc-perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.cc-perks .ic { color: var(--green); flex: none; filter: drop-shadow(0 0 5px rgba(125, 255, 58, 0.6)); }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Infos: Regeln */
.rules-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 44px; }
.rules { padding: 10px 22px; }
.rule { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(157, 77, 255, 0.15); }
.rule:last-child { border-bottom: 0; }
.rule b { font-size: 18px; }
.rule p { margin: 2px 0 0; color: var(--muted); }
.rule-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(157, 77, 255, 0.14); color: var(--purple-3); }
.rule-ico.r1, .rule-ico.r3 { background: rgba(255, 77, 109, 0.14); color: #ff7a93; }
.rule-ico.r4 { background: rgba(255, 210, 74, 0.12); color: var(--gold); }
.rule-ico.r2 { background: rgba(125, 255, 58, 0.1); color: var(--green); }
.rule-ico .ic { width: 22px; height: 22px; }
.live-box { display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 800; color: var(--purple-3); }
.live-box .ic { width: 24px; height: 24px; }

/* Infos: FAQ */
.faq { display: grid; gap: 10px; margin-bottom: 44px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 800; font-size: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-item .chev { transition: transform 0.25s; color: var(--muted); }
.faq-item[open] .chev { transform: rotate(180deg); color: var(--green); }
.faq-item[open] { border-color: rgba(157, 77, 255, 0.55); }
.faq-a { padding: 0 20px 18px 54px; color: var(--muted); font-size: 17px; }
.faq-a b { color: var(--text); }
.faq-a a { color: var(--green); text-decoration: underline; }

/* Verantwortungsvoll spielen */
.rg-box {
  display: flex; gap: 22px; align-items: flex-start; padding: 24px 26px; margin-bottom: 20px;
  border-color: rgba(255, 210, 74, 0.35); background: linear-gradient(120deg, rgba(255, 190, 40, 0.08), rgba(22, 14, 42, 0.8));
}
.rg-18, .ft-18 {
  flex: none; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-display); font-weight: 900;
  color: #ff7a93; border: 3px solid #ff7a93; box-shadow: 0 0 16px rgba(255, 77, 109, 0.35);
}
.rg-18 { width: 64px; height: 64px; font-size: 20px; }
.rg-box h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; }
.rg-box h3 .ic { color: var(--gold); }
.rg-box p { margin: 0 0 14px; color: var(--muted); max-width: 900px; }
.rg-links { display: flex; gap: 10px; flex-wrap: wrap; }
.rg-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-weight: 700;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 210, 74, 0.35);
}
.rg-links a:hover { border-color: var(--gold); }
.rg-links b { color: var(--gold); }

/* Footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--panel-border); background: rgba(7, 5, 13, 0.7); backdrop-filter: blur(10px); }
.ft-inner { max-width: 1400px; margin: 0 auto; padding: 20px 28px 10px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ft-18 { width: 46px; height: 46px; font-size: 14px; border-width: 2px; }
.ft-text { flex: 1; min-width: 260px; display: grid; gap: 2px; color: var(--muted); font-size: 15px; }
.ft-text b { color: var(--text); }
.ft-text a { color: var(--green); }
.ft-text a:hover { text-decoration: underline; }
.ft-social { display: flex; gap: 8px; }
.ft-copy { max-width: 1400px; margin: 0 auto; padding: 0 28px 18px; color: rgba(157, 146, 189, 0.6); font-size: 13px; }
.ft-copy a:hover { color: var(--text); }
body.stream-mode .site-footer { display: none; }

@media (max-width: 1250px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .about-grid, .rules-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } .rg-box { flex-direction: column; } }
.rg-c { font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 6px;
  background: rgba(255, 210, 74, 0.14); color: var(--gold); }

/* ================================================= LEADERBOARD === */
.lb-ended-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: -10px auto 22px; max-width: 760px; padding: 12px 18px;
  border-radius: 14px; font-family: var(--font-display); font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); background: rgba(255, 210, 74, 0.1); border: 1px solid rgba(255, 210, 74, 0.5); box-shadow: 0 0 30px rgba(255, 210, 74, 0.15);
}
.lb-ended-banner[hidden] { display: none; }
.lb-top { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; margin-bottom: 26px; }
.lb-tile { display: flex; align-items: center; gap: 16px; padding: 18px 22px; position: relative; overflow: hidden; }
.lb-tile .lbl { color: var(--muted); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.lb-tile-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.lb-tile-ico .ic { width: 28px; height: 28px; }
.lb-pool { border-color: rgba(255, 210, 74, 0.45); background: linear-gradient(120deg, rgba(255, 190, 40, 0.14), rgba(22, 14, 42, 0.8)); }
.lb-pool .lb-tile-ico { background: rgba(255, 210, 74, 0.15); color: var(--gold); box-shadow: 0 0 22px rgba(255, 210, 74, 0.3); }
.lb-pool .val { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1.05; color: var(--gold); text-shadow: 0 0 22px rgba(255, 210, 74, 0.6); }
.lb-count { flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.lb-clock { display: flex; gap: 10px; }
.lb-clock > div { display: grid; justify-items: center; min-width: 70px; padding: 8px 6px 6px; border-radius: 12px; background: rgba(7, 5, 13, 0.6); border: 1px solid var(--panel-border); }
.lb-clock b { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1; color: var(--text); text-shadow: 0 0 14px rgba(157, 77, 255, 0.7); }
.lb-clock b.flip { animation: lb-flip 0.35s ease-out; }
@keyframes lb-flip { 0% { transform: translateY(-6px); opacity: 0.3; } 100% { transform: none; opacity: 1; } }
.lb-clock span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }
.lb-clock.urgent b { color: #ff8aa0; text-shadow: 0 0 14px rgba(255, 77, 109, 0.8); }
.lb-codebox { cursor: pointer; justify-content: space-between; border-color: rgba(125, 255, 58, 0.4); transition: border-color 0.2s, transform 0.2s; }
.lb-codebox:hover { border-color: var(--green); transform: translateY(-2px); }
.lb-code-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.lb-on { font-weight: 800; color: var(--muted); }
.lb-on a { color: var(--text); }
.lb-on a:hover { color: var(--green); }
.lb-codebox .lb-tile-ico.copy { background: rgba(125, 255, 58, 0.1); color: var(--green); }

/* Podest */
.lb-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: end; max-width: 1000px; margin: 10px auto 28px; }
.lb-pod { display: grid; animation: lb-rise 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes lb-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.lb-pod-card {
  position: relative; text-align: center; padding: 26px 16px 18px; border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(40, 20, 80, 0.85), rgba(14, 9, 28, 0.9)); border: 1px solid var(--panel-border); border-bottom: 0;
}
.lb-pod-av { position: relative; width: 84px; height: 84px; margin: 0 auto 12px; }
.lb-avatar {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  font-family: var(--font-display); font-weight: 900; color: #0b0614; background: var(--ac); box-shadow: 0 0 12px color-mix(in srgb, var(--ac) 60%, transparent);
}
.lb-pod-av .lb-avatar { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 0 0 4px rgba(7, 5, 13, 0.9), 0 0 0 7px var(--mc), 0 0 30px var(--mc); }
.lb-medal {
  position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 15px; color: #1a0d00; background: var(--mc); box-shadow: 0 0 14px var(--mc);
}
.lb-pod.empty .lb-medal { position: static; margin: 0 auto 10px; opacity: 0.6; }
.lb-pod-name { font-family: var(--font-display); font-weight: 900; font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-pod.empty .lb-pod-name { color: var(--muted); font-size: 16px; }
.lb-pod-wager { margin-top: 4px; font-weight: 800; color: var(--purple-3); font-size: 18px; }
.lb-pod-wager small { color: var(--muted); font-weight: 700; font-size: 13px; }
.lb-pod-prize {
  display: inline-block; margin-top: 12px; padding: 6px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 900; font-size: 22px;
  color: #1a0d00; background: var(--mc); box-shadow: 0 0 20px var(--mc);
}
.lb-step {
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 46px; color: rgba(255, 255, 255, 0.12);
  border-radius: 0 0 14px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--mc) 30%, transparent), rgba(14, 9, 28, 0.6));
  border: 1px solid color-mix(in srgb, var(--mc) 50%, transparent); border-top: 2px solid var(--mc); box-shadow: 0 -6px 26px color-mix(in srgb, var(--mc) 35%, transparent);
}
.lb-pod.p1 { --mc: #ffd24a; }
.lb-pod.p2 { --mc: #cfd6e6; }
.lb-pod.p3 { --mc: #e0975a; }
.lb-pod.p1 .lb-step { height: 110px; }
.lb-pod.p2 .lb-step { height: 76px; }
.lb-pod.p3 .lb-step { height: 54px; }
.lb-pod.p1 .lb-pod-card { border-color: rgba(255, 210, 74, 0.5); box-shadow: 0 -10px 50px rgba(255, 210, 74, 0.18); }
.lb-pod.p1 .lb-pod-name { font-size: 24px; color: var(--gold); text-shadow: 0 0 16px rgba(255, 210, 74, 0.6); }
.lb-crown { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); animation: float 3s ease-in-out infinite; }
.lb-crown .ic { width: 44px; height: 44px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(255, 210, 74, 0.9)); }

/* Tabelle */
.lb-table-wrap { padding: 8px 8px 0; margin-bottom: 26px; overflow-x: auto; }
.lb-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.lb-table th { text-align: left; color: var(--muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 8px 14px; }
.lb-table td { padding: 10px 14px; background: rgba(255, 255, 255, 0.025); }
.lb-table tbody tr { animation: door-in 0.45s both; }
.lb-table tbody tr:hover td { background: rgba(157, 77, 255, 0.1); }
.lb-table td:first-child { border-radius: 12px 0 0 12px; width: 80px; }
.lb-table td:last-child { border-radius: 0 12px 12px 0; }
.lb-table .w { width: 42%; }
.lb-table .p { width: 110px; text-align: right; }
.lb-wcell { display: flex; align-items: center; gap: 12px; }
.lb-wcell span { font-weight: 800; min-width: 110px; text-align: right; font-variant-numeric: tabular-nums; }
.lb-rank { font-family: var(--font-display); font-weight: 900; color: var(--purple-3); }
.lb-name { display: flex; align-items: center; gap: 12px; }
.lb-name b { font-size: 18px; }
.lb-bar { flex: 1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.lb-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--purple), var(--green)); box-shadow: 0 0 10px rgba(125, 255, 58, 0.5); }
.lb-prize { font-family: var(--font-display); font-weight: 900; color: var(--gold); text-shadow: 0 0 10px rgba(255, 210, 74, 0.5); }
.lb-dash { color: var(--muted); }
.lb-table tr.open td { color: var(--muted); font-style: italic; background: rgba(255, 210, 74, 0.03); }
.lb-empty { text-align: center; color: var(--muted); padding: 30px !important; border-radius: 12px !important; }
.lb-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px 14px; color: var(--muted); font-size: 15px; }
.lb-foot > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.lb-foot .ic { color: var(--purple-3); }

/* Bearbeiten */
.lb-edit-toggle { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.lb-admin { padding: 22px; margin-bottom: 20px; border-color: rgba(125, 255, 58, 0.35); }
.lb-admin[hidden] { display: none; }
.lb-admin h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-display); }
.lb-admin h4 { margin: 0 0 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.lb-admin-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px; }
.lb-form { display: grid; gap: 12px; align-content: start; }
.lb-form label { display: grid; gap: 5px; font-weight: 800; font-size: 14px; color: var(--muted); }
.lb-form small { font-weight: 600; opacity: 0.8; }
.lb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-form hr { border: 0; border-top: 1px solid var(--panel-border); margin: 6px 0; width: 100%; }
.lb-admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lb-admin-actions .btn:disabled { opacity: 0.5; cursor: default; }
.danger-text { color: #ff8aa0 !important; }
.lb-add { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; margin-bottom: 10px; }
.lb-edit-list { display: grid; gap: 6px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.lb-edit-row { display: grid; grid-template-columns: 44px 1.4fr 1fr 34px; gap: 8px; align-items: center; }
.lb-bulk { margin-top: 12px; }
.lb-bulk summary { cursor: pointer; font-weight: 800; color: var(--purple-3); margin-bottom: 8px; }
.lb-bulk textarea { width: 100%; margin-bottom: 8px; }
body.stream-mode .lb-edit-toggle, body.stream-mode .lb-admin { display: none !important; }

@media (max-width: 1100px) { .lb-top { grid-template-columns: 1fr; } .lb-admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .lb-podium { gap: 8px; } .lb-pod-av, .lb-pod-av .lb-avatar { width: 58px; height: 58px; font-size: 24px; } .lb-pod-name { font-size: 15px; } .lb-clock > div { min-width: 54px; } }

/* Navigation mit 11 Punkten: Admin-Punkte nur als Symbol, Name im Tooltip */
@media (max-width: 1800px) { .nav-links a:not(.active) > span { display: none; } .nav-links a { font-size: 17px; padding: 8px 10px; } .nav-links a.active > span { font-size: 14px; } }

/* Leaderboard: nach dem ersten Laden keine Einblend-Animation mehr (kein Flackern beim Aktualisieren) */
.lb-podium.ready .lb-pod, .lb-table-wrap.ready tbody tr { animation: none; }

/* ================================================== HIGHLIGHTS === */
.cl-feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; margin-bottom: 28px; }
.cl-feature[hidden] { display: none; }
.cl-feature-player { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(157, 77, 255, 0.45); box-shadow: 0 0 40px rgba(106, 27, 214, 0.35); }
.cl-feature-player video, .cl-modal-video video { width: 100%; height: 100%; display: block; background: #000; }
.cl-feature-info { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; overflow: hidden; }
.cl-feature-info::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 74, 0.16), transparent 70%); pointer-events: none; }
.cl-feature-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; font-size: 13px; color: var(--gold); }
.cl-feature-kicker .ic { filter: drop-shadow(0 0 6px rgba(255, 210, 74, 0.8)); }
.cl-feature-info h2 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-feature-info .btn { align-self: flex-start; }
.cl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 15px; font-weight: 600; }
.cl-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cl-meta .ic { width: 15px; height: 15px; opacity: 0.8; }
.brand.ic, .btn .ic.brand { width: 18px; height: 18px; }
.cl-offline { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; color: var(--gold); background: rgba(255, 210, 74, 0.08); border: 1px solid rgba(255, 210, 74, 0.35); display: flex; gap: 8px; align-items: center; }
.cl-offline[hidden] { display: none; }

.cl-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cl-tabs, .cl-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-tabs button, .cl-filters button {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 11px; cursor: pointer; font-weight: 800; font-size: 15px;
  letter-spacing: 0.5px; color: var(--muted); background: rgba(20, 13, 39, 0.8); border: 1px solid var(--panel-border); transition: all 0.2s;
}
.cl-filters button { padding: 7px 12px; font-size: 14px; }
.cl-tabs button:hover, .cl-filters button:hover { color: var(--text); border-color: var(--purple); }
.cl-tabs button.on { color: var(--text); background: linear-gradient(135deg, rgba(157, 77, 255, 0.4), rgba(106, 27, 214, 0.2)); border-color: var(--purple); box-shadow: 0 0 18px rgba(157, 77, 255, 0.3); }
.cl-filters button.on { color: #0b1a02; background: var(--green); border-color: var(--green); }

.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cl-card {
  border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(30, 16, 60, 0.85), rgba(12, 8, 24, 0.9));
  border: 1px solid var(--panel-border); animation: door-in 0.45s both; transition: transform 0.25s cubic-bezier(0.3, 1.3, 0.4, 1), border-color 0.25s, box-shadow 0.25s;
}
.cl-card:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 0 16px 40px rgba(106, 27, 214, 0.35); }
.cl-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  background: #0b0716 center / cover no-repeat;
}
.cl-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 5, 13, 0.75)); }
.cl-playbtn {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  transform: translate(-50%, -50%) scale(0.9); color: #0b1a02; background: var(--green); box-shadow: 0 0 26px rgba(125, 255, 58, 0.7);
  opacity: 0.85; transition: transform 0.25s, opacity 0.25s;
}
.cl-playbtn .ic { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.cl-thumb:hover .cl-playbtn { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
.cl-thumb.big .cl-playbtn { width: 84px; height: 84px; }
.cl-thumb.big .cl-playbtn .ic { width: 36px; height: 36px; }
.cl-dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 3px 8px; border-radius: 7px; font-weight: 800; font-size: 13px; background: rgba(0, 0, 0, 0.75); color: #fff; }
.cl-thumb .cl-tag { position: absolute; left: 10px; top: 10px; z-index: 2; }
.cl-star { position: absolute; right: 10px; top: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.6); color: var(--gold); }
.cl-star .ic { width: 16px; height: 16px; fill: currentColor; }
.cl-tag { display: inline-block; padding: 3px 9px; border-radius: 7px; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.cl-tag.t-bigwin { color: #1a0d00; background: var(--gold); box-shadow: 0 0 12px rgba(255, 210, 74, 0.6); }
.cl-tag.t-battle { color: #fff; background: #e0304f; box-shadow: 0 0 12px rgba(255, 77, 109, 0.6); }
.cl-tag.t-funny { color: #0b1a02; background: var(--green); box-shadow: 0 0 12px rgba(125, 255, 58, 0.5); }
.cl-tag.t-fail { color: #fff; background: #6b6480; }
.cl-body { padding: 12px 14px 14px; }
.cl-body h4 { margin: 0 0 6px; font-size: 18px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-body .cl-meta { font-size: 13px; }
.cl-tools { display: flex; gap: 6px; align-items: center; padding: 0 14px 14px; flex-wrap: wrap; }
.cl-tools select { flex: 1; min-width: 110px; padding: 6px 8px; }
.cl-tools .mini-btn .ic { width: 16px; height: 16px; }
.cl-tools .mini-btn.on { color: var(--gold); border-color: var(--gold); }
.cl-tools .mini-btn.on .ic { fill: currentColor; }
.cl-tools .mini-btn.danger:hover { color: #ff7a93; border-color: #ff7a93; }
.cl-picked { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; font-size: 14px; }
.cl-empty { grid-column: 1 / -1; }
.cl-more-wrap { display: flex; justify-content: center; margin-bottom: 26px; }
.cl-more-wrap [hidden] { display: none; }
.cl-admin { padding: 20px 22px; margin-bottom: 20px; border-color: rgba(125, 255, 58, 0.35); }
.cl-admin[hidden] { display: none; }
.cl-admin h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-display); }
.cl-add { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.cl-hint { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.cl-modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px; background: rgba(4, 2, 10, 0.82); backdrop-filter: blur(8px); animation: fade-in 0.2s; }
.cl-modal[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.cl-modal-box { position: relative; width: min(1100px, 100%); border-radius: 20px; overflow: hidden; background: #0e0a1b; border: 1px solid rgba(157, 77, 255, 0.5); box-shadow: 0 0 60px rgba(106, 27, 214, 0.5); }
.cl-modal-video { aspect-ratio: 16 / 9; background: #000; }
.cl-modal-info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; }
.cl-modal-info h3 { margin: 0; flex: 1 1 100%; font-family: var(--font-display); font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-modal-info .cl-meta { flex: 1; }
.cl-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.25); }
.cl-close:hover { border-color: #fff; }
body.cl-lock { overflow: hidden; }

/* Startseite: Neueste Highlights */
.home-clips { margin-bottom: 44px; }
.home-clips .cl-grid { grid-template-columns: repeat(4, 1fr); }
.home-clips-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.home-clips-head .section-title { margin: 0; flex: 1; }
.home-clips-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
@media (max-width: 1100px) { .cl-feature { grid-template-columns: 1fr; } .home-clips .cl-grid { grid-template-columns: repeat(2, 1fr); } }

/* Navigation: alle Namen sichtbar, dafuer etwas kompakter (unter 1800 px nur Symbole) */
@media (min-width: 1801px) and (max-width: 2150px) {
  header.nav { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 7px; font-size: 13.5px; letter-spacing: 0.2px; gap: 5px; }
}

/* ============================================ PREMIUM-KALENDER === */
.cal-switch {
  display: flex; width: fit-content; margin: -6px auto 22px; padding: 5px; gap: 5px; border-radius: 14px;
  background: rgba(10, 6, 20, 0.8); border: 1px solid var(--panel-border); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.cal-switch a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; font-weight: 800; font-size: 16px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted); transition: all 0.2s;
}
.cal-switch a .ic { width: 18px; height: 18px; }
.cal-switch a:hover { color: var(--text); background: rgba(157, 77, 255, 0.12); }
.cal-switch a.on { color: #fff; background: linear-gradient(135deg, rgba(157, 77, 255, 0.55), rgba(106, 27, 214, 0.35)); box-shadow: 0 0 20px rgba(157, 77, 255, 0.4); }
.cal-switch a.prem { color: #e8c566; }
.cal-switch a.prem:hover { background: rgba(255, 210, 74, 0.1); color: var(--gold); }
.cal-switch a.prem.on { color: #1a0d00; background: linear-gradient(135deg, #ffe07a, #f5a623); box-shadow: 0 0 26px rgba(255, 190, 40, 0.55); }
.cal-switch a.prem.on .ic { color: #1a0d00; filter: none; }
.prem-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 16px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; font-size: 15px; text-transform: uppercase;
  color: #1a0d00; background: linear-gradient(135deg, #ffe07a, #f5a623); box-shadow: 0 0 26px rgba(255, 190, 40, 0.5);
}
.prem-badge .ic { width: 18px; height: 18px; color: #1a0d00; filter: none; }
.prem-mini {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 900;
  letter-spacing: 1px; color: #1a0d00; background: linear-gradient(135deg, #ffe07a, #f5a623); vertical-align: middle;
}
.prem-mini .ic { width: 12px; height: 12px; color: #1a0d00; filter: none; }

/* Goldener Look fuer den ganzen Premium-Kalender */
html.cal-premium .page-head h1 {
  background: linear-gradient(90deg, #fff6d0, #ffd24a 40%, #f5a623 70%, #fff6d0);
  -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 24px rgba(255, 190, 40, 0.55));
}
html.cal-premium .page-head::after { background: linear-gradient(90deg, transparent, #f5a623, #ffe07a, transparent); box-shadow: 0 0 14px rgba(255, 190, 40, 0.8); }
html.cal-premium .door { --c1: #f7c948; --c2: #8a5200; }
html.cal-premium .door[data-v="1"], html.cal-premium .door[data-v="4"] { --c1: #ffd86b; --c2: #6b3f00; }
html.cal-premium .door[data-v="2"], html.cal-premium .door[data-v="5"] { --c1: #e8b33a; --c2: #7a4300; }
html.cal-premium .door[data-v="3"] { --c1: #fff0a8; --c2: #a8680a; }
html.cal-premium .door-front { border-color: rgba(255, 240, 180, 0.45); }
html.cal-premium .door-front .num { color: #3a2200; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 240, 180, 0.8); }
html.cal-premium .door-front .ribbon { color: rgba(58, 34, 0, 0.8); }
html.cal-premium .door-front .ribbon::before { content: "👑 "; }
html.cal-premium .door-front .knob { background: radial-gradient(circle at 35% 35%, #fff, #ffe07a 45%, #8a5b00); }
html.cal-premium .door:hover .door-front { box-shadow: 0 14px 40px rgba(255, 190, 40, 0.55), 0 0 0 2px rgba(255, 224, 122, 0.8), inset 0 -30px 50px rgba(0, 0, 0, 0.2); }
html.cal-premium .door-inside { border-color: rgba(255, 210, 74, 0.45); }
html.cal-premium .door.opened .door-inside { border-color: rgba(255, 210, 74, 0.7); box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 210, 74, 0.25); }
html.cal-premium .door-inside .info .g-price { color: var(--gold); }
html.cal-premium .reveal-overlay { background: radial-gradient(circle at center, rgba(90, 55, 5, 0.92), rgba(8, 4, 1, 0.97)); }
html.cal-premium .reveal-overlay .rays { background: repeating-conic-gradient(from 0deg, rgba(255, 210, 74, 0.2) 0deg 8deg, transparent 8deg 20deg); }
html.cal-premium .reveal-overlay::before { background: radial-gradient(circle, rgba(255, 200, 60, 0.4), transparent 65%); }
html.cal-premium .reveal-title .hl { color: var(--gold); text-shadow: 0 0 20px rgba(255, 210, 74, 0.8); }
html.cal-premium .roulette-marker::before { border-top-color: var(--gold); }
html.cal-premium .roulette-marker::after { border-bottom-color: var(--gold); }
html.cal-premium .win-card { border-color: var(--gold); box-shadow: 0 0 90px rgba(255, 200, 60, 0.55), 0 30px 80px rgba(0, 0, 0, 0.7); background: linear-gradient(170deg, #3a2608, #120b02); }
html.cal-premium .admin-table-wrap { border-color: rgba(255, 210, 74, 0.35); }

/* Admin: Verschieben + Aufteilen */
.move-btn.to-prem { color: var(--gold); border-color: rgba(255, 210, 74, 0.45); }
.move-btn.to-prem:hover { background: rgba(255, 210, 74, 0.15); box-shadow: 0 0 12px rgba(255, 210, 74, 0.4); }
.move-btn.to-normal { color: var(--purple-3); }
.move-btn .ic { width: 16px; height: 16px; }
.split-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 14px; border-color: rgba(255, 210, 74, 0.3); }
.split-h { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.split-hint { color: var(--muted); font-size: 14px; flex: 1; min-width: 260px; }
.prem-mini .ic.ic, .prem-badge .ic.ic, .cal-switch a.prem.on .ic.ic { color: #1a0d00; filter: none; }
html.cal-premium .roulette-marker { background: var(--gold); box-shadow: 0 0 18px var(--gold), 0 0 40px var(--gold); }

/* Admin: Steam-Cover automatisch */
.ac-modal { width: min(760px, 100%); }
.ac-hint { color: var(--muted); margin: 0 0 12px; }
.ac-list { display: grid; gap: 8px; max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.ac-row { display: grid; grid-template-columns: 28px 128px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--panel-border); }
.ac-row.exact { border-color: rgba(125, 255, 58, 0.35); }
.ac-row.loose { border-color: rgba(255, 210, 74, 0.45); }
.ac-row.none, .ac-row.error { opacity: 0.7; }
.ac-thumb { width: 128px; height: 60px; border-radius: 8px; background: #1a1030 center / cover no-repeat; }
.ac-info { display: grid; gap: 5px; min-width: 0; }
.ac-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-info select { width: 100%; padding: 6px 8px; }
.ac-tag { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.ac-row.exact .ac-tag { color: var(--green); }
.ac-row.loose .ac-tag { color: var(--gold); }
.ac-miss { color: var(--muted); }

/* Admin: Datensicherung */
.backup-box { border-color: rgba(125, 255, 58, 0.35); }
.backup-box h3 { display: flex; align-items: center; gap: 10px; }
.bk-hint { color: var(--muted); margin: 0; font-size: 15px; }
.bk-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bk-auto, .bk-restore { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--panel-border); }
.bk-auto-head span { color: var(--muted); font-size: 14px; }
.bk-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-item { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--panel-border); transition: border-color 0.2s; }
.bk-item:hover { border-color: var(--green); }
.bk-item em { font-style: normal; color: var(--green); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.bk-item.restore em { color: var(--gold); }
.bk-item small { color: var(--muted); }
.bk-empty { color: var(--muted); }
.bk-restore input[type="file"] { flex: 1; min-width: 220px; }

/* ================================================= GLUECKSRAD === */
.ga-tabs { margin-top: -14px; }
.ga-tabs a.wheel-tab.on { background: linear-gradient(135deg, rgba(125, 255, 58, 0.45), rgba(79, 214, 26, 0.25)); box-shadow: 0 0 22px rgba(125, 255, 58, 0.4); }
.wh-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
body.stream-mode .wh-grid { grid-template-columns: minmax(0, 1fr) 340px; }
.wh-stage-panel { padding: 26px 22px 20px; overflow: hidden; }
.wh-stage { position: relative; width: min(620px, 100%, max(340px, calc(100vh - 440px))); aspect-ratio: 1; margin: 0 auto; }
body.stream-mode .wh-stage { width: min(74vh, 100%); }
.wh-stage canvas { position: relative; width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
.wh-glow {
  position: absolute; inset: -6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(157, 77, 255, 0.45), rgba(157, 77, 255, 0.12) 70%, transparent);
  animation: wh-breathe 3.2s ease-in-out infinite;
}
.wh-stage.prem .wh-glow { background: radial-gradient(closest-side, rgba(255, 190, 40, 0.45), rgba(255, 190, 40, 0.1) 70%, transparent); }
body.wh-spinning .wh-glow { background: radial-gradient(closest-side, rgba(125, 255, 58, 0.45), rgba(125, 255, 58, 0.1) 70%, transparent); animation-duration: 0.8s; }
@keyframes wh-breathe { 50% { transform: scale(1.04); opacity: 0.75; } }
.wh-pointer {
  position: absolute; left: 50%; top: -1.5%; width: 9%; transform: translateX(-50%); transform-origin: 50% 30%; z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(125, 255, 58, 0.7));
}
.wh-pointer svg { width: 100%; display: block; }
.wh-pointer path { fill: var(--green); stroke: #0b1a02; stroke-width: 3; }
.wh-pointer circle { fill: #0b1a02; }
.wh-pointer.flick { animation: wh-flick 0.14s ease-out; }
@keyframes wh-flick { 40% { transform: translateX(-50%) rotate(-16deg); } }
.wh-hub {
  position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 3;
  border-radius: 50%; border: 4px solid rgba(199, 155, 255, 0.7); cursor: pointer; padding: 0;
  background: radial-gradient(circle at 35% 30%, #a667ff, #5a16c9 55%, #24085a);
  box-shadow: 0 0 0 6px rgba(10, 6, 20, 0.85), 0 0 34px rgba(157, 77, 255, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.35);
  color: #fff; font-family: var(--font-display); font-weight: 900; letter-spacing: 2px; font-size: clamp(12px, 2.2vw, 22px);
  transition: transform 0.15s, box-shadow 0.2s;
}
.wh-hub:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 6px rgba(10, 6, 20, 0.85), 0 0 50px rgba(125, 255, 58, 0.7); }
.wh-hub span { text-shadow: 0 0 14px rgba(255, 255, 255, 0.7); }
body.wh-spinning .wh-hub { pointer-events: none; animation: wh-hub-pulse 0.5s ease-in-out infinite; }
@keyframes wh-hub-pulse { 50% { box-shadow: 0 0 0 6px rgba(10, 6, 20, 0.85), 0 0 60px rgba(125, 255, 58, 0.9); } }
.wh-stage.prem .wh-hub { background: radial-gradient(circle at 35% 30%, #ffe07a, #f5a623 55%, #8a5200); color: #1a0d00; border-color: rgba(255, 224, 122, 0.8); }
.wh-stage.prem .wh-hub span { text-shadow: none; }
.wh-empty {
  position: absolute; left: 50%; top: 70%; transform: translateX(-50%); z-index: 3; display: none; max-width: 80%;
  padding: 8px 16px; border-radius: 12px; background: rgba(10, 6, 20, 0.88); border: 1px solid var(--panel-border);
  font-weight: 800; text-align: center; color: var(--muted);
}
.wh-empty.show { display: block; }
.wh-result {
  position: absolute; left: 50%; top: 50%; z-index: 5; width: min(92%, 440px); transform: translate(-50%, -50%) scale(0.6);
  opacity: 0; pointer-events: none; text-align: center; padding: 22px 22px 18px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(40, 18, 84, 0.97), rgba(12, 8, 24, 0.97));
  border: 2px solid var(--green); box-shadow: 0 0 60px rgba(125, 255, 58, 0.45), 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.4), opacity 0.25s;
}
.wh-result.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.wh-stage.prem .wh-result { border-color: var(--gold); box-shadow: 0 0 60px rgba(255, 190, 40, 0.45), 0 30px 60px rgba(0, 0, 0, 0.6); }
.wh-res-lbl { font-family: var(--font-display); font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-size: 13px; }
.wh-res-text {
  margin: 8px 0 4px; font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.15;
  color: var(--green); text-shadow: 0 0 24px currentColor; word-break: break-word;
}
.wh-stage.prem .wh-res-text { color: var(--gold); }
.wh-res-sub { color: var(--muted); font-weight: 800; min-height: 4px; }
.wh-res-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.wh-under { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.wh-spin-btn { display: inline-flex; align-items: center; gap: 10px; }
.wh-spin-btn .ic { width: 22px; height: 22px; color: #1a0d00; filter: none; }
.wh-count { color: var(--muted); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.wh-side { display: grid; gap: 18px; }
.wh-src { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.wh-src button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border-radius: 10px; cursor: pointer;
  background: rgba(0, 0, 0, 0.3); color: var(--muted); border: 1px solid var(--panel-border);
  font-family: var(--font-body); font-weight: 800; font-size: 15px; transition: all 0.2s;
}
.wh-src button .ic { width: 17px; height: 17px; }
.wh-src button:hover { color: #fff; border-color: var(--purple); }
.wh-src button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: var(--shadow-purple); }
.wh-src button.prem { color: #e8c566; }
.wh-src button.prem.on { color: #1a0d00; background: linear-gradient(135deg, #ffe07a, #f5a623); box-shadow: 0 0 22px rgba(255, 190, 40, 0.5); }
.wh-src button.prem.on .ic { color: #1a0d00; filter: none; }
#wh-fields { width: 100%; resize: vertical; min-height: 170px; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.wh-hint { margin: -4px 0 10px; color: var(--muted); font-size: 14px; }
.wh-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.wh-presets span { color: var(--muted); font-weight: 800; font-size: 14px; margin-right: 2px; }
.wh-clear { margin-left: auto; }
.wh-hist { display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.wh-hist-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); }
.wh-hist-row:first-child { border: 1px solid rgba(125, 255, 58, 0.5); background: rgba(125, 255, 58, 0.08); }
.wh-hist-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-hist-row span:last-child { color: var(--muted); font-size: 13px; white-space: nowrap; }
.wh-h-ico { width: 20px; text-align: center; }
@media (max-width: 1100px) { .wh-grid, body.stream-mode .wh-grid { grid-template-columns: 1fr; } }
.wh-stage.shake { animation: shake 0.5s; }
.wh-src button.wide { grid-column: 1 / -1; }

/* Leaderboard: Live-Daten (API) */
.lb-api { display: grid; gap: 10px; }
.lb-api h4 { display: flex; align-items: center; gap: 8px; margin: 0; }
.lb-api h4 .ic { width: 18px; height: 18px; }
.lb-form label.check { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; cursor: pointer; }
.lb-api-status { padding: 9px 12px; border-radius: 10px; font-weight: 800; font-size: 14px; background: rgba(0, 0, 0, 0.35); color: var(--muted); border: 1px solid var(--panel-border); }
.lb-api-status.ok { color: var(--green); border-color: rgba(125, 255, 58, 0.5); background: rgba(125, 255, 58, 0.08); }
.lb-api-status.err { color: #ffb3c1; border-color: rgba(255, 77, 109, 0.55); background: rgba(255, 77, 109, 0.1); }

/* Leaderboard: letzte Runde */
.lb-last { padding: 18px 20px; margin-bottom: 26px; }
.lb-last[hidden] { display: none; }
.lb-last h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.lb-last h3 .ic { color: var(--gold); }
.lb-last-list { display: grid; gap: 8px; }
.lb-last-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.lb-last-row .lb-medal { position: static; flex-shrink: 0; }
.lb-last-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-last-w { color: var(--muted); font-weight: 700; white-space: nowrap; }
.lb-last-row.r1 { border-color: rgba(255, 210, 74, 0.55); }
.lb-last-row { --mc: #9d4dff; }
.lb-last-row.r1 { --mc: #ffd24a; }
.lb-last-row.r2 { --mc: #cfd6e6; }
.lb-last-row.r3 { --mc: #e0975a; }

/* Gluecksrad: Mischen */
.wh-shuffle-btn { display: inline-flex; align-items: center; gap: 8px; }
.wh-stage.shuffling canvas { animation: wh-shuffle 0.6s cubic-bezier(0.5, 0, 0.3, 1); }
@keyframes wh-shuffle {
  0% { transform: rotate(0) scale(1); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
  35% { transform: rotate(-25deg) scale(0.9); filter: blur(3px) brightness(1.4) drop-shadow(0 0 30px rgba(125, 255, 58, 0.7)); }
  100% { transform: rotate(0) scale(1); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
}

/* ================================================= LOGIN / ADMINS === */
body:not(.is-admin) .admin-only, body:not(.is-admin) #lb-edit-btn, body:not(.is-admin) .lb-edit-toggle,
body:not(.is-admin) #lb-admin, body:not(.is-admin) #cl-admin, body:not(.is-admin) .page-winners .del { display: none !important; }
.login-btn { display: inline-grid; place-items: center; }
.login-btn .ic { width: 20px; height: 20px; }
.user-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 12px; font-weight: 800; font-size: 14px;
  color: var(--green); background: rgba(125, 255, 58, 0.08); border: 1px solid rgba(125, 255, 58, 0.4); text-decoration: none; white-space: nowrap;
}
.user-chip .ic { width: 17px; height: 17px; }
.user-chip .out { opacity: 0.55; color: var(--text); }
.user-chip:hover { border-color: var(--red); color: #ffb3c1; }
.user-chip:hover .out { opacity: 1; color: #ffb3c1; }
@media (max-width: 1500px) { .user-chip span { display: none; } }
.login-wrap { display: grid; place-items: center; padding: 40px 16px 70px; }
.login-card { width: min(440px, 100%); padding: 30px; display: grid; gap: 14px; text-align: left; }
.login-card h1 { margin: 0; text-align: center; font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; text-transform: uppercase; }
.login-ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; color: var(--green);
  background: rgba(125, 255, 58, 0.1); border: 1px solid rgba(125, 255, 58, 0.45); box-shadow: 0 0 26px rgba(125, 255, 58, 0.25); }
.login-ico .ic { width: 30px; height: 30px; }
.login-sub { margin: -4px 0 4px; text-align: center; color: var(--muted); }
.login-card label.f { display: grid; gap: 6px; font-weight: 800; color: var(--muted); font-size: 14px; }
.login-err { padding: 10px 14px; border-radius: 10px; font-weight: 800; color: #ffb3c1; background: rgba(255, 77, 109, 0.1); border: 1px solid rgba(255, 77, 109, 0.5); }
.login-hint { margin: 0; color: var(--gold); font-size: 14px; font-weight: 700; }
.admins-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.admins-grid .settings-box { max-width: none; }
.au-list { display: grid; gap: 8px; }
.au-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.au-row.me { border-color: rgba(125, 255, 58, 0.5); }
.au-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--purple-2)); }
.au-info { flex: 1; min-width: 0; }
.au-info small { display: block; color: var(--muted); font-weight: 600; }
.au-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(157, 77, 255, 0.2); color: var(--purple-3); }
.au-tag.owner { background: linear-gradient(135deg, #ffe07a, #f5a623); color: #1a0d00; }
.au-tag.you { background: rgba(125, 255, 58, 0.15); color: var(--green); }
.au-acts { display: flex; gap: 6px; }
@media (max-width: 900px) { .admins-grid { grid-template-columns: 1fr; } }
body:not(.is-admin) .cl-tools { display: none !important; }
body:not(.is-admin) .hof-item.tipable { cursor: default; }

/* ================================================= POINTS-SHOP === */
.rw-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; margin-bottom: 22px; }
.rw-wallet { display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; align-items: center; padding: 22px 24px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(60, 30, 4, 0.55), rgba(22, 14, 42, 0.85)); border-color: rgba(255, 210, 74, 0.35); }
.rw-coin { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #2a1800;
  background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd24a 45%, #e09a10); box-shadow: 0 0 34px rgba(255, 190, 40, 0.55), inset 0 -4px 0 rgba(0, 0, 0, 0.2);
  animation: rw-coin 4s ease-in-out infinite; }
.rw-coin .ic { width: 36px; height: 36px; }
@keyframes rw-coin { 50% { transform: translateY(-4px) rotate(-6deg); } }
.rw-wallet-info { display: grid; }
.rw-lbl { color: var(--muted); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.rw-balance { font-family: var(--font-display); font-size: 42px; line-height: 1.1; color: var(--gold); text-shadow: 0 0 22px rgba(255, 190, 40, 0.5); }
.rw-pname { color: var(--muted); font-weight: 800; }
.rw-login { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rw-login small { flex-basis: 100%; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.rw-login small .ic { width: 15px; height: 15px; }
.rw-login .btn { display: inline-flex; align-items: center; gap: 8px; }
.rw-login .btn .ic { width: 18px; height: 18px; }
.rw-login .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.kick-btn { background: linear-gradient(135deg, #53fc18, #36c20d); color: #0b1a02; box-shadow: none; }
.discord-btn { background: linear-gradient(135deg, #5865f2, #4651c4); color: #fff; box-shadow: none; }
.rw-earn { padding: 20px 22px; }
.rw-earn h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.rw-earn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rw-earn-steps > div { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.rw-step-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 4px; color: var(--green);
  background: rgba(125, 255, 58, 0.1); border: 1px solid rgba(125, 255, 58, 0.35); }
.rw-step-ico .ic { width: 20px; height: 20px; }
.rw-earn-steps b { font-size: 16px; }
.rw-earn-steps small { color: var(--muted); font-weight: 600; font-size: 14px; }
.rw-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.rw-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.rw-cats button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: 15px;
  background: rgba(0, 0, 0, 0.3); color: var(--muted); border: 1px solid var(--panel-border); font-family: var(--font-body); transition: all 0.2s; }
.rw-cats button .ic { width: 16px; height: 16px; }
.rw-cats button:hover { color: #fff; border-color: var(--purple); }
.rw-cats button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: var(--shadow-purple); }
.rw-sort select { padding: 9px 12px; border-radius: 12px; }
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 26px; }
.rw-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(30, 18, 58, 0.92), rgba(14, 9, 28, 0.95)); animation: card-pop 0.5s both;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2), border-color 0.25s, box-shadow 0.25s; --cc: var(--purple); }
@keyframes card-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.rw-card.cat-keys { --cc: #7dff3a; } .rw-card.cat-tips { --cc: #ffd24a; } .rw-card.cat-stream { --cc: #ff5c8a; } .rw-card.cat-merch { --cc: #4dc9ff; }
.rw-card:hover { transform: translateY(-5px); border-color: var(--cc); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 26px color-mix(in srgb, var(--cc) 30%, transparent); }
.rw-card.out { filter: grayscale(0.8); opacity: 0.6; }
.rw-card.inactive { opacity: 0.5; border-style: dashed; }
.rw-img { position: relative; aspect-ratio: 460 / 215; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--cc) 30%, transparent), rgba(20, 12, 40, 0.9) 70%) center / cover no-repeat; display: grid; place-items: center; }
.rw-img[style*="background-image"] { background-size: cover; }
.rw-cat-ico { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; color: var(--cc); background: rgba(0, 0, 0, 0.35);
  border: 1px solid color-mix(in srgb, var(--cc) 50%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--cc) 35%, transparent); }
.rw-cat-ico .ic { width: 34px; height: 34px; }
.rw-stock { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 13px; background: rgba(7, 5, 13, 0.85); border: 1px solid var(--panel-border); }
.rw-stock.low { color: var(--gold); border-color: rgba(255, 210, 74, 0.5); }
.rw-hidden-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 12px; background: rgba(255, 77, 109, 0.85); color: #fff; }
.rw-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.rw-cat-lbl { display: inline-flex; align-items: center; gap: 6px; color: var(--cc); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.rw-cat-lbl .ic { width: 14px; height: 14px; }
.rw-body h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.rw-body p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.rw-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.rw-cost { display: inline-flex; align-items: baseline; gap: 6px; color: var(--gold); }
.rw-cost .ic { width: 20px; height: 20px; align-self: center; }
.rw-cost b { font-family: var(--font-display); font-size: 24px; text-shadow: 0 0 16px rgba(255, 190, 40, 0.45); }
.rw-cost small { color: var(--muted); font-weight: 800; font-size: 12px; }
.rw-redeem { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; font-size: 14px; }
.rw-redeem .ic { width: 15px; height: 15px; }
.rw-redeem:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.rw-empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--muted); font-weight: 700; }
.rw-empty.small { padding: 16px; }
.rw-admin { padding: 22px; margin-bottom: 20px; border-color: rgba(125, 255, 58, 0.35); }
.rw-admin[hidden] { display: none; }
.rw-admin h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-display); font-size: 16px; }
.rw-admin-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; }
.rw-form { display: grid; gap: 12px; align-content: start; }
.rw-form label.f { display: grid; gap: 5px; font-weight: 800; font-size: 14px; color: var(--muted); }
.rw-form label.f span { font-weight: 600; font-size: 13px; }
.rw-form textarea { resize: vertical; }
.rw-form-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; }
.rw-form hr { border: 0; border-top: 1px solid var(--panel-border); margin: 4px 0; width: 100%; }
.rw-pname-row { display: flex; gap: 8px; }
.rw-list { display: grid; gap: 8px; max-height: 560px; overflow: auto; }
.rw-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.rw-row.off { opacity: 0.5; }
.rw-row-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--purple-3); background: rgba(157, 77, 255, 0.15); flex-shrink: 0; }
.rw-row-ico .ic { width: 18px; height: 18px; }
.rw-row-info { flex: 1; min-width: 0; }
.rw-row-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-row-info small { color: var(--muted); font-weight: 700; }
.rw-row .mini-btn .ic { width: 16px; height: 16px; }
@media (max-width: 1000px) { .rw-top, .rw-admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rw-earn-steps { grid-template-columns: 1fr; } .rw-form-row { grid-template-columns: 1fr 1fr; } }

/* ===================================================== Uebersetzungen (Admin) === */
.tr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 8px; }
.tr-bar input[type="search"] { flex: 1 1 240px; max-width: 360px; }
.tr-only { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.tr-stats { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.tr-list { display: grid; gap: 8px; max-height: 70vh; overflow: auto; padding-right: 4px; }
.tr-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.tr-row.own { border-color: rgba(125, 255, 58, 0.45); }
.tr-row small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 4px; }
.tr-de { word-break: break-word; padding-top: 2px; }
.tr-en textarea { width: 100%; resize: none; overflow: hidden; min-height: 36px; font: inherit; }
.tr-acts { display: flex; gap: 6px; padding-top: 18px; }
@media (max-width: 760px) { .tr-row { grid-template-columns: 1fr; } .tr-acts { padding-top: 0; } }
#tab-tr .settings-box { max-width: none; }

/* ===================================================== Mystery-Keys (Shop) === */
.door-inside .shop-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 7px; border-radius: 6px; background: rgba(255, 210, 74, 0.16); color: var(--gold);
  border: 1px solid rgba(255, 210, 74, 0.5);
}
.door-inside .sent-badge + .shop-badge { top: 32px; }
.shop-status { margin-top: 6px; color: var(--gold); font-weight: 800; }
.ms-wrap { margin-bottom: 30px; }
.ms-head { display: grid; gap: 4px; margin-bottom: 16px; }
.ms-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-size: 24px; letter-spacing: 1px; text-transform: uppercase; }
.ms-head h2 .ic { width: 26px; height: 26px; }
.ms-head p { margin: 0; color: var(--muted); font-weight: 600; max-width: 820px; }
.ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tier-bronze { --tc: #e0995a; --tc2: #7a4520; }
.tier-silver { --tc: #d7e1ee; --tc2: #5d6b80; }
.tier-gold { --tc: #ffd24a; --tc2: #8a5a00; }
.tier-diamond { --tc: #6fe8ff; --tc2: #2a5cff; }
.ms-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; position: relative;
  border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc2) 22%, rgba(18, 10, 36, 0.95)), rgba(12, 7, 24, 0.96));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform 0.25s, box-shadow 0.25s; animation: card-pop 0.5s both; }
.ms-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 34px color-mix(in srgb, var(--tc) 35%, transparent); }
.ms-card.out { filter: grayscale(0.85); opacity: 0.6; }
.ms-card.inactive { opacity: 0.5; border-style: dashed; }
.ms-art { position: relative; aspect-ratio: 460 / 230; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tc) 38%, transparent), transparent 62%), rgba(10, 6, 20, 0.6); }
.ms-cov { position: absolute; width: 46%; aspect-ratio: 460 / 215; border-radius: 10px; background-size: cover; background-position: center;
  filter: blur(1.5px) brightness(0.55); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6); transition: transform 0.4s; }
.ms-cov.c0 { transform: translate(-48%, -6%) rotate(-12deg); }
.ms-cov.c1 { transform: translate(48%, -6%) rotate(12deg); }
.ms-cov.c2 { transform: translate(0, 32%) rotate(-3deg); }
.ms-card:hover .ms-cov.c0 { transform: translate(-58%, -10%) rotate(-16deg); }
.ms-card:hover .ms-cov.c1 { transform: translate(58%, -10%) rotate(16deg); }
.ms-box { position: relative; z-index: 2; width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--tc), var(--tc2)); color: rgba(10, 6, 20, 0.85);
  box-shadow: 0 0 40px color-mix(in srgb, var(--tc) 60%, transparent), inset 0 2px 0 rgba(255, 255, 255, 0.4); animation: ms-float 3s ease-in-out infinite; }
.ms-box .ic { width: 46px; height: 46px; opacity: 0.35; position: absolute; }
.ms-box b { font-family: var(--font-display); font-size: 52px; line-height: 1; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
@keyframes ms-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.ms-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.ms-tier { color: var(--tc); font-weight: 900; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.ms-body h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.ms-body p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.ms-empty-note { color: var(--gold) !important; }
.ms-link { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--tc); font-weight: 800; font-size: 14px; width: fit-content; }
.ms-link .ic { width: 16px; height: 16px; }
.ms-link:hover { text-decoration: underline; }
.ms-admin-btns { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 6px; border-top: 1px dashed var(--panel-border); }
.ms-admin-btns .btn { display: inline-flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.ms-admin-btns .ic { width: 15px; height: 15px; }
/* Moegliche Spiele */
.ms-games-modal { width: min(860px, 94vw); }
.ms-games-modal h3 { margin: 10px 0 0; font-size: 24px; }
.ms-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; max-height: 62vh; overflow: auto; padding: 4px; }
.ms-game { border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--panel-border); border-bottom: 3px solid var(--rc, #4b69ff); }
.ms-game.rar-1 { --rc: #4b69ff; } .ms-game.rar-2 { --rc: #8847ff; } .ms-game.rar-3 { --rc: #d32ce6; } .ms-game.rar-4 { --rc: #eb4b4b; } .ms-game.rar-5 { --rc: #ffd24a; }
.ms-game-img { aspect-ratio: 460 / 215; background-size: cover; background-position: center; position: relative; }
.ms-game-img span { position: absolute; top: 6px; right: 6px; padding: 1px 7px; border-radius: 6px; background: rgba(7, 5, 13, 0.85); font-weight: 800; font-size: 12px; }
.ms-game-body { display: grid; gap: 2px; padding: 8px 10px; }
.ms-game-body b { font-size: 14px; line-height: 1.2; }
.ms-game-body small { color: var(--green); font-weight: 800; }
/* Ziehung */
.ms-overlay { position: fixed; inset: 0; z-index: 900; display: none; place-items: center; padding: 20px;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--tc, #9d4dff) 22%, rgba(7, 4, 15, 0.9)), rgba(5, 3, 10, 0.97) 70%); backdrop-filter: blur(6px); }
.ms-overlay.show { display: grid; animation: fade-in 0.3s; }
.ms-ov-inner { display: grid; justify-items: center; gap: 22px; width: 100%; }
.ms-ov-title { font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 40px); font-weight: 900; text-align: center; color: #fff;
  text-shadow: 0 0 30px color-mix(in srgb, var(--tc, #9d4dff) 70%, transparent); }
.ms-win { display: none; width: min(560px, 94vw); border-radius: 22px; overflow: hidden; background: #1a0f33;
  border: 2px solid var(--tc, var(--green)); box-shadow: 0 0 60px color-mix(in srgb, var(--tc, #7dff3a) 45%, transparent); }
.ms-win.show { display: block; animation: win-pop 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.35) both; }
.ms-win-cover { height: 230px; background-size: cover; background-position: center; position: relative; }
.ms-win-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #1a0f33 3%, transparent 55%); }
.ms-win-tier { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 12px; border-radius: 10px; font-weight: 900; font-size: 13px;
  background: linear-gradient(135deg, var(--tc), var(--tc2)); color: #12091f; }
.ms-win-body { padding: 0 24px 24px; text-align: center; display: grid; gap: 6px; position: relative; }
.ms-win-lbl { color: var(--muted); font-weight: 700; }
.ms-win-lbl b { color: var(--green); }
.ms-win-name { font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; line-height: 1.1; }
.ms-win-price { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--green); }
.ms-win-note { color: var(--muted); font-weight: 700; font-size: 14px; }
.ms-win-note.test { color: var(--gold); }
.ms-key { margin-top: 8px; display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.4); border: 1px dashed rgba(125, 255, 58, 0.5); }
.ms-key > span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.ms-key code { font-size: 20px; font-weight: 800; letter-spacing: 1.5px; color: var(--green); word-break: break-all; user-select: all; }
.ms-key-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ms-key-btns .btn { display: inline-flex; align-items: center; gap: 6px; }
.ms-key-btns .ic { width: 15px; height: 15px; }
.ms-win-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.ms-win-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.ms-win-actions .ic { width: 15px; height: 15px; }
/* Admin: Stufen */
.ms-admin { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.ms-admin h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.ms-tier-table { display: grid; gap: 6px; margin: 12px 0; }
.ms-tier-row { display: grid; grid-template-columns: 30px 1.3fr 0.8fr 0.9fr 50px 50px; gap: 8px; align-items: center; }
.ms-tier-row.head { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.ms-tier-row input:not([type="checkbox"]) { width: 100%; min-width: 0; padding: 8px 10px; }
.ms-tier-row input[type="checkbox"] { width: 20px; height: 20px; justify-self: center; accent-color: var(--green); }
.ms-tier-row b { text-align: center; color: var(--tc); }
.ms-tier-row:not(.head) { padding: 4px 6px; border-radius: 10px; border-left: 3px solid var(--tc); background: rgba(0, 0, 0, 0.25); }
.ms-dot { font-size: 20px; text-align: center; }
.ms-check { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 6px 0; cursor: pointer; }
.ms-check input { width: 18px; height: 18px; accent-color: var(--green); }
.ms-warn { padding: 10px 12px; border-radius: 10px; background: rgba(255, 210, 74, 0.1); border: 1px solid rgba(255, 210, 74, 0.4); color: var(--gold); font-weight: 700; font-size: 14px; }
.ms-log { display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.ms-log-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--panel-border); }
.ms-log-row div { display: grid; min-width: 0; }
.ms-log-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-log-row small { color: var(--muted); font-weight: 600; }
.ms-log-row.undone { opacity: 0.45; text-decoration: line-through; }
.ms-sep { border: 0; border-top: 1px solid var(--panel-border); margin: 22px 0; }
@media (max-width: 900px) { .ms-admin { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ms-tier-row { grid-template-columns: 26px 1fr 0.8fr 0.9fr 38px 34px; gap: 5px; } }
.ms-art .rw-stock, .ms-art .rw-hidden-tag { z-index: 3; }

/* Wasserzeichen unten rechts */
.ft-copy { position: relative; }
.ft-made { position: absolute; right: 18px; bottom: 50%; transform: translateY(50%); font-size: 11px; letter-spacing: 0.5px;
  color: var(--muted); opacity: 0.28; transition: opacity 0.3s, color 0.3s; user-select: none; }
.ft-made b { font-weight: 800; }
.ft-made:hover { opacity: 0.9; color: var(--purple-3, #c9a6ff); }
@media (max-width: 640px) { .ft-made { position: static; display: block; transform: none; margin-top: 6px; } }

/* Admin: Saison-Theme */
.th-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.th-modes button { padding: 10px 14px; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: 15px; color: var(--muted);
  background: rgba(0, 0, 0, 0.35); border: 2px solid var(--panel-border); transition: all 0.2s; }
.th-modes button:hover { color: #fff; border-color: var(--purple); }
.th-modes button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--purple), var(--purple-2)); box-shadow: var(--shadow-purple); }
.th-info { display: grid; gap: 2px; }
.th-info b { color: var(--green); }
.th-info small { color: var(--muted); }
.th-prev { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.th-prev .btn { font-size: 18px; padding: 5px 12px; }
.th-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.th-info span { color: var(--text); font-weight: 700; }
@media (max-width: 760px) { .th-fields { grid-template-columns: 1fr; } }
