/* =====================================================================
   Lucky Coins – Design
   Dunkles Smaragd mit Gold, große Bedienelemente, Seitenleiste am Desktop,
   Navigationsleiste oben auf Tablet/Handy
   ===================================================================== */
:root {
  --bg: #06110c;
  --bg2: #0b1c15;
  --panel: #10251c;
  --panel2: #153124;
  --line: #ffffff17;
  --line2: #ffffff2a;
  --text: #eef6f1;
  --muted: #9fb8aa;
  --gold: #f5c542;
  --gold2: #c9962a;
  --gold-grad: linear-gradient(180deg, #ffe08a 0%, #f5c542 45%, #c9962a 100%);
  --green: #1d9b54;
  --felt: radial-gradient(ellipse at center, #1f7a4c 0%, #145c38 55%, #0d4128 100%);
  --red: #c8303d;
  --black: #1c1c1f;
  --pos: #5be08f;
  --neg: #ff7c86;
  --radius: 18px;
  --shadow: 0 10px 30px #0008;
  --card-w: 76px;
  --card-h: 108px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Cinzel', Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font); font-size: 16px; color: var(--text); background: var(--bg);
  background-image: radial-gradient(1200px 600px at 80% -10%, #1b4a3299, transparent), radial-gradient(900px 500px at -10% 110%, #3a2a0a66, transparent);
  background-attachment: fixed; -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gold); cursor: pointer; text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #0006; padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.hidden { display: none !important; }
.hint { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
.neg { color: var(--neg); }
.pos { color: var(--pos); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.2; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
.brand-title { font-family: var(--display); font-weight: 800; letter-spacing: .5px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Formulare ---------- */
input, select, textarea {
  width: 100%; background: #0a1a13; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold2); }
input[type=checkbox] { width: auto; accent-color: var(--gold); }
input[type=range] { padding: 0; accent-color: var(--gold); background: none; border: 0; }
textarea { resize: vertical; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 6px 0; }
.chk input[type=number] { width: 90px; padding: 6px 8px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 10px; }
.form-grid label, label { display: block; font-size: 14px; color: var(--muted); }
.form-grid label input, .form-grid label select { margin-top: 6px; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line2); background: linear-gradient(180deg, #1e3d2e, #152d22);
  border-radius: 12px; padding: 11px 18px; font-weight: 700; transition: transform .08s, filter .15s, box-shadow .15s; white-space: nowrap;
}
.btn:hover:not(:disabled) { filter: brightness(1.15); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.gold { background: var(--gold-grad); color: #2a1c00; border-color: #ffe08a; box-shadow: 0 4px 14px #f5c54233; }
.btn.warn { background: linear-gradient(180deg, #e0525d, #a8232f); border-color: #ff8a93; }
.btn.danger { border-color: #8a3a3a; color: #ffb0b0; background: linear-gradient(180deg, #3a1a1d, #2a1215); }
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.btn.big { padding: 15px 26px; font-size: 17px; border-radius: 14px; }
.btn.pulse { animation: pulse 1.6s infinite; }
.icon-btn { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line2); background: #0d1f17; font-size: 20px; position: relative; }
.row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.row > .btn, .row > input, .row > select { flex: 1; }
.row.left { justify-content: flex-start; }
.row.left > .btn { flex: 0 0 auto; }
.row.wrap { flex-wrap: wrap; }
.row.wrap > .btn { flex: 1 1 140px; }

/* ---------- Anmeldung ---------- */
.auth { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: #000b; backdrop-filter: blur(6px); overflow-y: auto; animation: fadeIn .2s; }
.auth-card { position: relative; }
.auth-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: #0005; color: var(--text); font-size: 16px; cursor: pointer; }
.auth-close:hover { background: #fff2; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-card { width: 100%; max-width: 440px; background: linear-gradient(180deg, #13301f, #0c1d15); border: 1px solid var(--line2); border-radius: 26px; padding: 34px 30px; box-shadow: var(--shadow), 0 0 80px #f5c54214; text-align: center; }
.auth-logo { font-size: 64px; filter: drop-shadow(0 6px 16px #f5c54255); }
.auth-card h1 { font-size: 40px; margin: 6px 0; }
.auth-sub { color: var(--muted); margin: 0 0 20px; }
.auth-card form { display: grid; gap: 12px; margin-top: 16px; }
.err { color: var(--neg); min-height: 20px; font-size: 14px; }
.fine { color: var(--muted); font-size: 12px; margin-top: 16px; }
.seg { display: flex; background: #0a1a13; border-radius: 14px; padding: 4px; border: 1px solid var(--line); }
.seg button { flex: 1; background: none; border: 0; padding: 10px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.seg button.active { background: var(--panel2); color: var(--text); }

/* ---------- Grundgerüst ---------- */
#app { display: flex; min-height: 100vh; }
#side {
  width: 250px; flex: 0 0 250px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0c1f16, #07140e); border-right: 1px solid var(--line); padding: 18px 14px;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; font-family: var(--display); font-size: 22px; }
.logo span { font-size: 32px; }
.logo b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
#nav { display: flex; flex-direction: column; gap: 4px; }
#nav button {
  display: flex; align-items: center; gap: 14px; background: none; border: 0; border-radius: 14px; padding: 13px 14px; font-size: 16px; font-weight: 600; color: var(--muted); text-align: left; position: relative;
}
#nav button i { font-style: normal; font-size: 22px; width: 28px; text-align: center; }
#nav button:hover { background: #ffffff0a; color: var(--text); }
#nav button.active { background: linear-gradient(90deg, #f5c54229, transparent); color: var(--text); box-shadow: inset 3px 0 0 var(--gold); }
.badge-dot { position: absolute; top: 10px; left: 34px; width: 10px; height: 10px; border-radius: 50%; background: var(--neg); }
.side-foot { margin-top: auto; color: var(--muted); font-size: 12px; padding: 10px; }
#shell { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.announce { background: linear-gradient(90deg, #1d9b54, #157a42); padding: 10px 20px; font-weight: 600; text-align: center; }
.announce.warn { background: linear-gradient(90deg, #c8303d, #8f1f29); }
#top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 24px;
  background: #06110ce6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.spacer { flex: 1; }
.me-chip { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 8px 4px 4px; border-radius: 14px; text-align: left; }
.me-chip:hover { background: #ffffff0a; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2a5a40, #10251c); border: 2px solid var(--gold2); font-size: 24px; flex: 0 0 auto; position: relative; }
.avatar.sm { width: 32px; height: 32px; font-size: 17px; border-width: 1px; }
.avatar.xl { width: 110px; height: 110px; font-size: 62px; border-width: 3px; box-shadow: 0 0 30px #f5c54233; }
.avatar .dot { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; margin: 0; border: 2px solid var(--panel); }
.me-info { display: flex; flex-direction: column; gap: 4px; }
.me-info b { font-size: 15px; }
.lvl-line { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gold); font-weight: 700; }
.xpbar { display: inline-block; width: 90px; height: 7px; border-radius: 4px; background: #ffffff1a; overflow: hidden; }
.xpbar span { display: block; height: 100%; background: var(--gold-grad); border-radius: 4px; transition: width .6s; }
.xpbar.big { width: 100%; height: 12px; margin: 8px 0 4px; }
.jp-top { padding: 8px 14px; border-radius: 12px; background: #2a1f0599; border: 1px solid #f5c54255; color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.wallet { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 14px; background: #0d1f17; border: 1px solid var(--gold2); font-size: 20px; font-variant-numeric: tabular-nums; }
.wallet b { color: var(--gold); }
.wallet.flash-up { animation: flashUp .7s; }
.wallet.flash-down { animation: flashDown .5s; }
.bell-wrap { position: relative; }
#bellCount { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--neg); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.bell-panel { position: absolute; right: 0; top: 54px; width: 340px; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 30; }
.bell-item { padding: 12px; border-radius: 12px; display: grid; gap: 4px; }
.bell-item .row { margin-top: 6px; }
.bell-item + .bell-item { border-top: 1px solid var(--line); }
.bell-empty { padding: 18px; text-align: center; color: var(--muted); }
#main { padding: 24px; width: 100%; max-width: 1400px; margin: 0 auto; }
.view { display: none; animation: fadeIn .25s; }
.view.active { display: block; }

/* ---------- Panels & Listen ---------- */
.panel { background: linear-gradient(180deg, #12291fcc, #0d1f17cc); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: 0 4px 20px #0004; }
.panel.felt { background: var(--felt); border-color: #ffffff22; box-shadow: inset 0 0 80px #0006, var(--shadow); }
.panel.intro p { color: var(--muted); margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid2 > .panel { margin-bottom: 0; }
.grid2 + .panel, .grid2 { margin-bottom: 18px; }
.section-title { font-family: var(--display); font-size: 22px; margin: 28px 0 14px; color: var(--gold); }
.mini-list { display: grid; gap: 6px; margin-bottom: 10px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #0005; border-radius: 12px; flex-wrap: wrap; }
.mini-row > b:last-child, .mini-row > button:last-child { margin-left: auto; }
.rank { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: #ffffff12; }
.rank.r1 { background: var(--gold-grad); color: #2a1c00; }
.rank.r2 { background: linear-gradient(180deg, #f2f2f2, #a9b0b8); color: #222; }
.rank.r3 { background: linear-gradient(180deg, #e7a46b, #a5602b); color: #2a1300; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 20px; }
.badge { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #ffffff14; color: var(--muted); font-weight: 700; white-space: nowrap; }
.badge.play, .badge.live { background: #c8303d33; color: #ffb0b8; }
.badge.live { animation: pulse 2s infinite; }
.badge.done { background: #ffffff0d; }
.sub-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.sub-nav button { flex: 0 0 auto; background: #0d1f17; border: 1px solid var(--line2); border-radius: 999px; padding: 11px 18px; font-weight: 700; color: var(--muted); }
.sub-nav button:hover { color: var(--text); }
.sub-nav button.active { background: var(--gold-grad); color: #2a1c00; border-color: #ffe08a; }
.sub-nav.small button { padding: 7px 12px; font-size: 14px; }
.lb { width: 100%; border-collapse: collapse; }
.lb th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.lb td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lb tr.me td { background: #f5c54214; }
.lb td .avatar { vertical-align: middle; margin-right: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.dot.on { background: #4cd07d; box-shadow: 0 0 8px #4cd07d; }
.dot.off { background: #6a7a72; }

/* ---------- Startseite ---------- */
.hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: 34px; border-radius: 26px; margin-bottom: 8px;
  background: radial-gradient(600px 300px at 90% 20%, #f5c54222, transparent), linear-gradient(135deg, #17402b, #0b1f15); border: 1px solid #f5c54233; box-shadow: var(--shadow);
}
.hero h1 { font-size: 38px; }
.hero p { color: var(--muted); font-size: 18px; margin: 0; }
.hero b { color: var(--text); }
.jp-hero { text-align: center; padding: 22px; border-radius: 20px; background: radial-gradient(circle at 50% 0%, #4a3608, #1a1204); border: 2px solid var(--gold2); box-shadow: 0 0 40px #f5c54233, inset 0 0 30px #0008; }
.jp-label { color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.jp-value { font-family: var(--display); font-size: 52px; font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; animation: glow 2.5s infinite; }
.jp-last { color: var(--muted); font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tiles.small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px 20px; min-height: 150px; border-radius: 20px; border: 1px solid #ffffff22; text-align: left; position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 18px #0006;
}
.tiles.small .tile { min-height: 110px; padding: 18px; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #0007); pointer-events: none; }
.tile:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 14px 30px #000a, 0 0 0 2px #f5c54266; }
.tile i { font-style: normal; font-size: 46px; filter: drop-shadow(0 4px 10px #0008); margin-bottom: auto; }
.tiles.small .tile i { font-size: 34px; }
.tile b { font-size: 19px; z-index: 1; }
.tile span { font-size: 13px; color: #ffffffbb; z-index: 1; }
.t-green { background: linear-gradient(135deg, #1f8a52, #0f4a2c); }
.t-dark { background: linear-gradient(135deg, #2e3338, #121518); }
.t-purple { background: linear-gradient(135deg, #7b3fc9, #3a1a66); }
.t-red { background: linear-gradient(135deg, #d43a48, #6e1520); }
.t-blue { background: linear-gradient(135deg, #2f6fd6, #142f66); }
.t-orange { background: linear-gradient(135deg, #f08a24, #8a3c0a); }
.t-gold { background: linear-gradient(135deg, #d9a62c, #6b4a0c); }

/* ---------- Slots ---------- */
.machine-picker { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 18px; }
.mp-item { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; border: 2px solid transparent; font-weight: 700; font-size: 16px; opacity: .75; }
.mp-item i { font-style: normal; font-size: 26px; }
.mp-item.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 20px #f5c54244; }
.slot-machine {
  --sm-a: #3a0d12; --sm-b: #160406; --sm-edge: #f5c542;
  border-radius: 30px; padding: 24px; border: 3px solid var(--sm-edge); background: linear-gradient(180deg, var(--sm-a), var(--sm-b));
  box-shadow: 0 20px 60px #000c, inset 0 0 60px #0009, 0 0 50px color-mix(in srgb, var(--sm-edge) 30%, transparent);
}
.slot-machine.theme-orange { --sm-a: #5a2a05; --sm-b: #1e0d02; --sm-edge: #ffb347; }
.slot-machine.theme-blue { --sm-a: #0d2a5c; --sm-b: #050f24; --sm-edge: #7ec8ff; }
.slot-machine.theme-gold { --sm-a: #4a3405; --sm-b: #181002; --sm-edge: #ffd76a; }
.sm-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.sm-head > div:first-child { flex: 1; }
.sm-name { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--sm-edge); text-shadow: 0 0 20px color-mix(in srgb, var(--sm-edge) 50%, transparent); }
.sm-desc { color: #ffffffaa; font-size: 14px; }
.sm-jp { font-size: 20px; color: var(--gold); padding: 8px 16px; border-radius: 12px; background: #0007; border: 1px solid #f5c54255; }
.sm-jp:empty { display: none; }
.sm-free { background: linear-gradient(90deg, #7b3fc9, #c74bd6); border-radius: 14px; padding: 12px 18px; margin-bottom: 14px; font-size: 17px; text-align: center; animation: pulse 2s infinite; }
.reels-wrap { background: #000a; border-radius: 22px; padding: 14px; box-shadow: inset 0 6px 24px #000, 0 0 0 2px #ffffff14; }
.reels { --reels: 5; --cell: clamp(64px, 11vw, 132px); position: relative; display: grid; grid-template-columns: repeat(var(--reels), 1fr); gap: 10px; max-width: calc(var(--reels) * (var(--cell) + 12px)); margin: 0 auto; }
.reel { height: calc(var(--cell) * 3); overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #d9dde2, #ffffff 30%, #ffffff 70%, #c8cdd3); position: relative; box-shadow: inset 0 8px 14px #0006, inset 0 -8px 14px #0006; }
.reel.spinning .strip { filter: blur(1.5px); }
.strip { will-change: transform; }
.reels .cell { height: var(--cell); display: flex; align-items: center; justify-content: center; font-size: calc(var(--cell) * .58); line-height: 1; position: relative; transition: transform .2s; }
.reels .cell.win { animation: winPulse .9s infinite; z-index: 1; }
.reels .cell.win::before { content: ''; position: absolute; inset: 4px; border-radius: 12px; border: 3px solid var(--gold); box-shadow: 0 0 18px var(--gold), inset 0 0 14px #f5c54266; }
.reels .cell.scatter::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 3px solid #c77dff; box-shadow: 0 0 22px #c77dff; }
.payline { position: absolute; left: -6px; right: -6px; top: 50%; height: 4px; margin-top: -2px; background: #ff3b4e; box-shadow: 0 0 10px #ff3b4e; border-radius: 2px; pointer-events: none; opacity: .75; }
.sm-win { text-align: center; font-size: 22px; font-weight: 800; min-height: 46px; margin: 16px 0; display: flex; align-items: center; justify-content: center; color: #ffffffcc; }
.sm-win.won { color: var(--gold); text-shadow: 0 0 18px #f5c54288; font-size: 26px; }
.sm-win.big { font-size: 32px; animation: winPulse .8s infinite; }
.sm-win.jackpot { font-size: 36px; color: #fff; text-shadow: 0 0 24px var(--gold); animation: winPulse .6s infinite; }
.sm-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.lbl { display: block; color: #ffffffaa; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.bet-ctrl { display: flex; align-items: center; gap: 6px; }
.bet-ctrl button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: #0d1f17; font-weight: 800; font-size: 18px; flex: 0 0 auto; }
.bet-ctrl input { text-align: center; font-weight: 800; font-size: 18px; max-width: 140px; }
.bet-ctrl.big button { width: 52px; height: 52px; font-size: 24px; }
.bet-ctrl.big input { font-size: 22px; padding: 12px; }
.bet-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.bet-quick button { padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line2); background: #0006; font-size: 13px; font-weight: 700; }
.spin-btn {
  width: 150px; height: 150px; border-radius: 50%; border: 5px solid #ffe08a; background: radial-gradient(circle at 35% 30%, #ffe9a8, #f5c542 45%, #b37f1c 100%);
  color: #3a2600; font-family: var(--display); font-size: 24px; font-weight: 800; box-shadow: 0 10px 30px #000a, 0 0 40px #f5c54266, inset 0 -6px 14px #0004; transition: transform .1s, filter .2s;
}
.spin-btn:hover:not(:disabled) { filter: brightness(1.08); transform: scale(1.03); }
.spin-btn:active:not(:disabled) { transform: scale(.96); }
.spin-btn:disabled { filter: grayscale(.4) brightness(.8); cursor: wait; }
.spin-btn.free { background: radial-gradient(circle at 35% 30%, #f1c6ff, #c77dff 45%, #6a2aa8 100%); border-color: #f1c6ff; color: #fff; font-size: 18px; }
.spin-btn.auto { animation: spinGlow 1.2s infinite; }
.auto-box { display: grid; gap: 2px; }
.auto-row { display: flex; gap: 8px; }
.auto-row select { flex: 1; }
.auto-row .btn { flex: 0 0 auto; }
.auto-status { font-size: 13px; color: var(--gold); min-height: 18px; margin-top: 4px; }
.paytable { display: grid; gap: 8px; margin: 12px 0; }
.pt-row { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: #0005; border-radius: 12px; }
.pt-sym { font-size: 34px; width: 70px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pt-sym small { font-size: 10px; color: var(--gold); font-weight: 800; }
.pt-pays { display: flex; gap: 14px; flex-wrap: wrap; }
.pt-pays b { color: var(--gold); }

/* ---------- Karten ---------- */
.cards { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; min-height: var(--card-h); }
.card {
  width: var(--card-w); height: var(--card-h); border-radius: 10px; background: linear-gradient(160deg, #ffffff, #eef0f2); color: #15171a; position: relative; flex: 0 0 auto;
  box-shadow: 0 4px 10px #0007; border: 1px solid #00000022; user-select: none; transition: transform .15s, box-shadow .15s, opacity .15s;
}
.card .c-r { position: absolute; top: 5px; left: 7px; font-weight: 800; font-size: 20px; line-height: 1; }
.card .c-s { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.card .c-r2 { position: absolute; bottom: 5px; right: 7px; font-weight: 800; font-size: 20px; line-height: 1; transform: rotate(180deg); }
.card.red { color: #cf1f30; }
.card.joker { background: linear-gradient(160deg, #fff6d6, #ffe08a); color: #8a2be2; }
.card.back { background: repeating-linear-gradient(45deg, #a2242f 0 6px, #861c26 6px 12px); border: 3px solid #fff; }
.card.slot { background: #ffffff10; border: 2px dashed #ffffff33; box-shadow: none; }
.card.empty { opacity: .3; }
.card.small { --card-w: 46px; --card-h: 66px; border-radius: 7px; }
.card.small .c-r, .card.small .c-r2 { font-size: 13px; top: 3px; left: 4px; }
.card.small .c-r2 { top: auto; left: auto; bottom: 3px; right: 4px; }
.card.small .c-s { font-size: 24px; }
.card.anim { animation: dealIn .35s ease-out; }
.card.playable { cursor: pointer; box-shadow: 0 0 0 3px var(--gold), 0 6px 14px #0008; }
.card.playable:hover { transform: translateY(-12px); }
.card.dim { opacity: .5; filter: grayscale(.3); }
.card.clickable { cursor: pointer; }
.card.clickable:hover { transform: translateY(-8px); }
.card.sel { transform: translateY(-16px); box-shadow: 0 0 0 3px #4ea8ff, 0 10px 18px #0009; }
.card.staged { opacity: .35; transform: translateY(6px); }

/* ---------- Roulette ---------- */
.roulette-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.r-result { width: 96px; height: 96px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; background: var(--bg2); border: 5px solid var(--gold2); box-shadow: 0 0 30px #0009; }
.r-result.red, .r-hist.red { background: var(--red); }
.r-result.black, .r-hist.black { background: var(--black); }
.r-result.green, .r-hist.green { background: var(--green); }
.r-result.rolling { animation: wobble .15s infinite; }
.r-history { display: flex; gap: 6px; flex-wrap: wrap; }
.r-hist { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; border: 2px solid #ffffff33; }
.chips { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.chip { width: 56px; height: 56px; border-radius: 50%; border: 4px dashed #fffa; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px #0008; transition: transform .1s; }
.chip.sel { outline: 3px solid var(--gold); outline-offset: 3px; transform: scale(1.1); }
.board-wrap { overflow-x: auto; padding: 8px 4px 4px; }
.board { display: grid; grid-template-columns: 46px repeat(12, minmax(40px, 1fr)) 50px; grid-template-rows: repeat(3, 54px) 44px 44px; gap: 4px; min-width: 620px; padding: 6px; border-radius: 12px; border: 2px solid #ffffff33; }
.board .cell { position: relative; border: 1px solid #ffffff55; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; background: transparent; padding: 0; }
.board .cell.n-red { background: #b8323a; }
.board .cell.n-black { background: #1d1d20; }
.board .cell.n-green { background: var(--green); }
.board .cell.out { background: #ffffff12; font-size: 14px; }
.board .cell:hover { filter: brightness(1.3); }
.board .cell .stake { position: absolute; top: -8px; right: -8px; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px; background: var(--gold-grad); color: #2a1c00; font-size: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px #000a; z-index: 1; border: 2px dashed #fff8; }
.board .cell.winner { box-shadow: 0 0 0 4px var(--gold), 0 0 20px var(--gold); z-index: 1; }
.board.vertical { grid-template-columns: 1fr 1fr 1.3fr 1.3fr 1.3fr; grid-template-rows: repeat(14, 40px); min-width: 0; }
.board.vertical .cell.side { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; }
.board.vertical .cell.side .stake { transform: rotate(180deg); writing-mode: horizontal-tb; }
.r-info { margin-top: 12px; color: #ffffffcc; }

/* ---------- Tischspiele ---------- */
.cgame { display: none; }
.cgame.active { display: block; animation: fadeIn .25s; }
.msg { text-align: center; font-weight: 700; font-size: 18px; min-height: 28px; margin: 14px 0; }
.msg.win { color: var(--gold); text-shadow: 0 0 14px #f5c54266; }
.msg.lose { color: #ffb3b9; }
.bj-area { margin: 10px 0; }
.bj-label { text-align: center; font-weight: 800; color: #ffffffcc; margin-bottom: 8px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.val { display: inline-block; min-width: 34px; padding: 2px 10px; border-radius: 999px; background: #0008; color: var(--gold); margin-left: 6px; }
.val:empty { display: none; }
.bet-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.bet-row .lbl { margin: 0; }
.vp-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 4px 16px; background: #0007; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.vp-pay div { display: flex; justify-content: space-between; padding: 3px 6px; border-radius: 6px; }
.vp-pay div b { color: var(--gold); }
.vp-pay div.hit { background: var(--gold-grad); color: #2a1c00; }
.vp-pay div.hit b { color: #2a1c00; }
.vp-cards { gap: 14px; }
.cgame .row:has(> .btn.big:only-child) { justify-content: center; }
.cgame .row > .btn.big:only-child { flex: 0 1 360px; }
.vp-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.vp-slot .card { --card-w: 96px; --card-h: 136px; }
.vp-slot .card .c-s { font-size: 52px; }
.vp-slot.held .card { transform: translateY(-10px); box-shadow: 0 0 0 4px var(--gold), 0 10px 20px #000a; }
.hold-tag { font-size: 12px; font-weight: 800; color: #ffffffaa; min-height: 16px; letter-spacing: 1px; }
.vp-slot.held .hold-tag { color: var(--gold); }
.bac-table { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bac-side { background: #0003; border-radius: 16px; padding: 14px; }
.bac-bets { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.bet-spot { background: #0005; border: 2px solid #ffffff33; border-radius: 16px; padding: 12px; text-align: center; color: var(--text); font-weight: 800; }
.bet-spot span { display: block; margin-bottom: 8px; }
.bet-spot small { color: var(--gold); font-weight: 600; }
.bet-spot input { text-align: center; font-weight: 800; }
.dice-row { display: flex; justify-content: center; gap: 24px; margin: 10px 0; }
.die { font-size: 110px; line-height: 1; color: #fff; text-shadow: 0 6px 20px #000a; transition: transform .06s; }
.die.roll { transform: rotate(14deg) scale(1.05); }
.craps-point { text-align: center; font-size: 18px; font-weight: 700; padding: 8px; border-radius: 999px; background: #0005; width: fit-content; margin: 0 auto; padding: 8px 20px; }
.craps-point b { color: var(--gold); font-size: 22px; }
.keno-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.keno-head > div { flex: 1; font-size: 18px; }
.keno-head b { color: var(--gold); }
.keno-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 720px; margin: 0 auto; }
.keno-grid button { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line2); background: #0a1a13; font-weight: 800; font-size: 16px; transition: transform .1s, background .2s; }
.keno-grid button:hover { background: #163327; }
.keno-grid button.pick { background: #2f6fd6; border-color: #7ec8ff; }
.keno-grid button.drawn { background: #4a3608; border-color: var(--gold2); }
.keno-grid button.hit { background: var(--gold-grad); color: #2a1c00; transform: scale(1.08); box-shadow: 0 0 14px var(--gold); }
.keno-pay { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; font-size: 14px; color: var(--muted); }
.keno-pay b { color: var(--gold); }
.scratch-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 18px; }
.ticket { border-radius: 20px; padding: 24px; border: 2px dashed #ffffff55; text-align: left; box-shadow: var(--shadow); transition: transform .15s; }
.ticket:hover { transform: translateY(-4px) rotate(-1deg); }
.ticket.t0 { background: linear-gradient(135deg, #2fae66, #0f5a32); }
.ticket.t1 { background: linear-gradient(135deg, #e0a628, #6e4a0a); }
.ticket.t2 { background: linear-gradient(135deg, #7b3fc9, #2a0f52); }
.tk-name { font-family: var(--display); font-size: 26px; font-weight: 800; }
.tk-price { font-size: 20px; font-weight: 800; margin: 6px 0; }
.tk-top { font-size: 13px; color: #ffffffcc; }
.scratch-area { text-align: center; }
.sc-title { font-family: var(--display); font-size: 24px; color: var(--gold); margin-bottom: 12px; }
.sc-wrap { position: relative; width: min(420px, 100%); margin: 0 auto; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff6d6; border-radius: 16px; padding: 12px; }
.sc-grid div { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 54px; background: #fff; border-radius: 12px; }
.sc-grid div.hit { background: var(--gold-grad); animation: winPulse .9s infinite; }
#scCanvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; cursor: crosshair; touch-action: none; }
.sc-prizes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Kartenspiele: Lobby & Tisch ---------- */
.srv-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.srv-bar b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; }
.conn { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #0006; }
.conn.on { color: #4cd07d; }
.conn.off { color: var(--neg); }
.table-list { display: grid; gap: 10px; }
.t-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #0005; border: 1px solid var(--line); cursor: default; }
.t-item[data-au] { cursor: pointer; }
.t-item:hover { border-color: var(--line2); }
.t-item.offline { opacity: .55; }
.t-item.col { flex-direction: column; align-items: stretch; }
.t-item .info { flex: 1; min-width: 0; }
.t-item .name { font-weight: 700; font-size: 16px; }
.t-item .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.admin-btns .btn { flex: 0 1 auto; }
.keybox { background: #0008; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 12px; white-space: pre-wrap; word-break: break-all; margin: 8px 0 4px; user-select: all; }
.table-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.table-head > div:first-child { flex: 1; min-width: 0; }
.table-head .row { margin: 0; }
.t-title { font-size: 22px; font-weight: 800; }
.t-sub { color: var(--muted); font-size: 14px; }
.code { font-family: ui-monospace, monospace; background: var(--gold-grad); color: #2a1c00; padding: 2px 8px; border-radius: 6px; letter-spacing: 2px; }
.seat-list { display: grid; gap: 8px; }
.seat { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0005; border-radius: 12px; }
.seat .nm { flex: 1; }
.seat .x { background: none; border: 0; color: var(--neg); font-size: 16px; }
.hand-title { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 4px; text-transform: uppercase; letter-spacing: 1px; }
.score-list { margin-top: 10px; }
.score-row { display: flex; justify-content: space-between; padding: 6px 12px; background: #0004; border-radius: 8px; margin-top: 4px; }
.score-row b { color: var(--gold); }
.score-row b.neg { color: var(--neg); }
.chat-log { max-height: 180px; overflow-y: auto; font-size: 14px; display: grid; gap: 4px; margin-bottom: 10px; }
.chat-log .sys { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 8px; }
.chat-form .btn { flex: 0 0 auto; }
#gameArea { margin-bottom: 18px; }
.game-table { background: var(--felt); border-radius: 26px; padding: 22px; box-shadow: inset 0 0 90px #0008, var(--shadow); border: 8px solid #3a2410; outline: 2px solid #6b4520; }
.opps { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.opp { background: #0006; border-radius: 14px; padding: 10px 14px; min-width: 110px; text-align: center; border: 2px solid transparent; transition: border-color .2s, box-shadow .2s; }
.opp.turn { border-color: var(--gold); box-shadow: 0 0 18px #f5c54266; }
.opp.me { background: #ffffff14; }
.opp.out { opacity: .4; }
.opp .on { font-weight: 800; }
.opp .oc { font-size: 13px; color: #ffffffcc; }
.lives { font-size: 14px; }
.game-table .center { display: flex; justify-content: center; align-items: flex-end; gap: 24px; margin: 20px 0 10px; flex-wrap: wrap; }
.deck-btn { background: none; border: 0; padding: 0; }
.deck-btn:disabled { cursor: default; }
.deck-btn:not(:disabled) .card { box-shadow: 0 0 0 3px var(--gold), 0 6px 14px #0008; }
.pile-label { text-align: center; font-size: 13px; color: #ffffffcc; margin-top: 6px; }
.wish-tag { background: #0008; padding: 8px 14px; border-radius: 999px; font-weight: 800; }
.wish-tag .red { color: #ff6b75; }
.status-line { text-align: center; font-size: 18px; font-weight: 700; margin: 14px 0 6px; color: #ffffffdd; min-height: 26px; }
.status-line.mine { color: var(--gold); text-shadow: 0 0 12px #f5c54266; }
.deadline { text-align: center; color: #ffb3b9; font-size: 13px; min-height: 18px; }
.hand { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 12px 0; min-height: var(--card-h); }
.score-tag { display: inline-block; background: #0007; padding: 7px 14px; border-radius: 999px; font-weight: 800; color: var(--gold); }
.center-row { justify-content: center; }
.center-row .btn { flex: 0 0 auto; }
.reveal { background: #0005; border-radius: 14px; padding: 12px; margin-top: 12px; }
.reveal-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 4px 0; }
.reveal-row .nm { min-width: 90px; font-weight: 700; }
.reveal-row .sc { margin-left: auto; font-weight: 800; color: var(--gold); }
.reveal-row.loser { opacity: .7; }
.result-line { text-align: center; font-weight: 800; color: var(--gold); font-size: 17px; }
.details { margin: 0; padding-left: 20px; columns: 2; font-size: 14px; }
.game-log { background: #0005; border-radius: 12px; padding: 10px 14px; margin-top: 14px; max-height: 140px; overflow-y: auto; font-size: 13px; display: grid; gap: 3px; color: #ffffffcc; }
.trick { display: flex; justify-content: center; align-items: flex-end; gap: 14px; flex-wrap: wrap; min-height: calc(var(--card-h) + 30px); margin: 16px 0 6px; }
.trick > .hint { align-self: center; color: #ffffffaa; }
.trick-slot { display: flex; flex-direction: column; align-items: center; }
.trick-slot.old { opacity: .55; }
.trick-slot.won { opacity: 1; }
.trick-slot.won .card { box-shadow: 0 0 0 3px var(--gold), 0 4px 10px #0008; }
.trick-note { width: 100%; text-align: center; font-size: 13px; color: #d6f0e0; }
.party { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #0007; color: #d6f0e0; margin-top: 4px; font-weight: 700; }
.party.re { background: var(--gold-grad); color: #2a1c00; }
.bid-box { text-align: center; background: #0006; border-radius: 14px; padding: 12px; margin: 14px 0; font-size: 16px; }
.bid-box b { color: var(--gold); }
.game-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0; }
.game-pick .btn { flex-direction: column; padding: 12px 8px; }
.game-pick .btn small { font-weight: 500; color: var(--muted); font-size: 12px; }
.game-pick .btn.warn small { color: #ffd0d0; }
.redtxt { color: #ff6b75; }
.opt-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: 14px; margin: 8px 0; }
.opt-row label { display: flex; align-items: center; gap: 6px; color: var(--text); }
/* Poker */
.pk-table { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 560px; margin: 0 auto 10px; }
.pk-felt { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(ellipse at center, #237f50, #135a36 70%, #0d4128); border: 10px solid #4a2c12; box-shadow: inset 0 0 50px #0009, 0 0 0 3px #8a5a28; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.pk-board { display: flex; gap: 8px; }
.pk-board .card { --card-w: clamp(40px, 6vw, 68px); --card-h: clamp(58px, 8.6vw, 96px); }
.pk-board .card .c-s { font-size: clamp(22px, 3.4vw, 36px); }
.pk-board .card .c-r, .pk-board .card .c-r2 { font-size: clamp(12px, 1.6vw, 18px); }
.pk-pot { background: #0008; padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.pk-pot b { color: var(--gold); }
.pk-seat { position: absolute; transform: translate(-50%, -50%); background: #0b1a12ee; border: 2px solid #ffffff22; border-radius: 16px; padding: 8px 10px; text-align: center; min-width: 120px; transition: border-color .2s, box-shadow .2s; }
.pk-seat.turn { border-color: var(--gold); box-shadow: 0 0 22px #f5c54288; }
.pk-seat.folded { opacity: .45; }
.pk-seat.winner { border-color: #4cd07d; box-shadow: 0 0 26px #4cd07d88; }
.pk-seat.me { background: #12301fee; }
.pk-cards { display: flex; justify-content: center; gap: 3px; margin-bottom: 4px; min-height: 66px; }
.pk-name { font-weight: 800; font-size: 14px; }
.dealer { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #111; font-size: 11px; font-weight: 800; align-items: center; justify-content: center; margin-right: 4px; }
.pk-chips { font-size: 13px; color: var(--gold); }
.pk-hand { font-size: 12px; color: #4cd07d; font-weight: 700; }
.pk-bet { position: absolute; left: 50%; transform: translateX(-50%); bottom: -26px; background: var(--gold-grad); color: #2a1c00; font-weight: 800; font-size: 13px; padding: 2px 10px; border-radius: 999px; box-shadow: 0 2px 8px #0008; }
.pk-seat.low .pk-bet { bottom: auto; top: -26px; }
.pk-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; justify-content: center; margin-top: 10px; }
.pk-actions > .btn { flex: 0 1 160px; }
.pk-raise { display: grid; gap: 8px; background: #0006; padding: 12px; border-radius: 14px; flex: 1 1 280px; max-width: 420px; }
.pk-raise .row { margin: 0; }
/* Rommé */
.melds { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 12px 0; min-height: 40px; }
.meld { display: flex; align-items: center; gap: 2px; padding: 8px; background: #0006; border-radius: 12px; border: 2px solid transparent; }
.meld small { color: #ffffffaa; font-size: 11px; margin-right: 4px; writing-mode: vertical-rl; transform: rotate(180deg); }
.meld.target { border-color: #4ea8ff; cursor: pointer; animation: pulse 1.5s infinite; }
.staged { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; color: #ffffffcc; font-size: 14px; }
.stg { display: inline-flex; gap: 2px; padding: 4px; background: #4ea8ff33; border-radius: 10px; align-items: center; }
.stg button { background: none; border: 0; color: var(--neg); }
.romme-hand { gap: 4px; }
/* 17 und 4 */
.sz-players { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sz-seat { background: #0006; border-radius: 14px; padding: 10px; text-align: center; border: 2px solid transparent; }
.sz-seat.turn { border-color: var(--gold); box-shadow: 0 0 16px #f5c54266; }
.sz-seat.winner { border-color: #4cd07d; }
.sz-seat.bust { opacity: .6; }
.sz-cards { display: flex; justify-content: center; gap: 3px; flex-wrap: wrap; min-height: 66px; margin: 6px 0; }

/* ---------- Turniere ---------- */
.tour-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
.tour { margin: 0; }
.tour.running { border-color: #c8303d66; box-shadow: 0 0 30px #c8303d22; }
.tour.done { opacity: .75; }
.tour-head { display: flex; gap: 10px; align-items: flex-start; }
.tour-head > div { flex: 1; }
.tour-head h3 { margin-bottom: 4px; font-size: 20px; }
.tour-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin: 14px 0; }
.tour-stats div { background: #0005; border-radius: 12px; padding: 10px; }
.tour-stats small { display: block; color: var(--muted); font-size: 12px; }
.tour-stats b { font-size: 18px; color: var(--gold); }

/* ---------- Freunde ---------- */
.friends-layout { display: grid; grid-template-columns: 360px 1fr; gap: 18px; }
.friends-side h3 { margin-top: 14px; }
.friend-list { display: grid; gap: 6px; margin-top: 12px; }
.friend { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #0004; border: 1px solid transparent; cursor: pointer; }
.friend:hover { border-color: var(--line2); }
.friend.active { border-color: var(--gold2); background: #f5c54214; }
.friend:not(.on) .avatar { filter: grayscale(.6); }
.fi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fi small { color: var(--muted); font-size: 12px; }
.unread { font-style: normal; background: var(--neg); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 6px; }
.chat-panel { display: flex; flex-direction: column; min-height: 520px; margin: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dm-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 4px; max-height: 60vh; }
.dm { max-width: 75%; align-self: flex-start; background: #ffffff12; padding: 10px 14px; border-radius: 16px 16px 16px 4px; }
.dm.mine { align-self: flex-end; background: linear-gradient(180deg, #1f8a52, #157a42); border-radius: 16px 16px 4px 16px; }
.dm small { display: block; color: #ffffff88; font-size: 11px; margin-top: 4px; }

/* ---------- Profil ---------- */
.profile-head { display: flex; align-items: center; gap: 26px; background: radial-gradient(500px 200px at 0% 0%, #f5c54222, transparent), linear-gradient(135deg, #17402b, #0b1f15); }
.ph-main { flex: 1; }
.ph-main h1 { font-size: 34px; margin-bottom: 4px; }
.lvl-big { margin-top: 12px; max-width: 460px; }
.lvl-big b { color: var(--gold); font-size: 18px; }
.lvl-big small { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: linear-gradient(180deg, #12291f, #0d1f17); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat small { display: block; color: var(--muted); font-size: 13px; }
.stat b { font-size: 24px; color: var(--gold); font-variant-numeric: tabular-nums; }
.avatar-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.avatar-pick button { width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--line2); background: #0a1a13; font-size: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.avatar-pick button small { font-size: 10px; color: var(--muted); margin-top: 2px; }
.avatar-pick button.active { border-color: var(--gold); box-shadow: 0 0 16px #f5c54266; }
.avatar-pick button:disabled { filter: grayscale(1); opacity: .45; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ach { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #0004; border: 1px solid var(--line); opacity: .55; }
.ach.got { opacity: 1; border-color: var(--gold2); background: linear-gradient(135deg, #3a2a0a66, #0004); }
.ach i { font-style: normal; font-size: 32px; }
.ach.got i { filter: drop-shadow(0 0 8px #f5c54288); }
.ach small { display: block; color: var(--muted); font-size: 12px; }
.ach small.rw { color: var(--gold); font-weight: 700; }
.tx-list { display: grid; gap: 2px; max-height: 420px; overflow-y: auto; }
.tx { display: grid; grid-template-columns: 130px 1fr auto 90px; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; align-items: center; }
.tx:nth-child(odd) { background: #0003; }
.tx b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Fenster & Meldungen ---------- */
.modal { position: fixed; inset: 0; background: #000b; display: flex; align-items: center; justify-content: center; z-index: 60; padding: 16px; animation: fadeIn .15s; }
.modal-card { background: var(--panel); border: 1px solid var(--line2); border-radius: 22px; padding: 26px; max-width: 420px; width: 100%; box-shadow: var(--shadow); max-height: 90vh; overflow-y: auto; position: relative; }
.modal-card.wide { max-width: 860px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); background: #0006; }
.wish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.wish-grid button { font-size: 40px; padding: 12px 0; border-radius: 14px; border: 1px solid var(--line2); background: #fff; color: #111; display: flex; flex-direction: column; align-items: center; }
.wish-grid button.red { color: #cf1f30; }
.wish-grid small { font-size: 12px; color: #555; }
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 80; width: min(460px, calc(100vw - 32px)); pointer-events: none; }
.toast { background: #0f241b; border: 1px solid var(--line2); padding: 14px 18px; border-radius: 14px; text-align: center; font-weight: 700; box-shadow: var(--shadow); animation: toastIn .3s; transition: opacity .3s, transform .3s; }
.toast.win { border-color: var(--gold); color: var(--gold); }
.toast.err { border-color: var(--neg); color: #ffc3c8; }
.toast.news { border-color: #c77dff; background: linear-gradient(135deg, #2a1550, #0f241b); color: #f1dcff; }
.toast.out { opacity: 0; transform: translateY(10px); }
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall linear forwards; }
.coin-drop { position: absolute; top: -40px; font-size: 30px; font-style: normal; animation: fall linear forwards; }
.bigwin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; animation: zoomIn .5s cubic-bezier(.2, 1.4, .4, 1); transition: opacity .6s; }
.bigwin.out { opacity: 0; }
.bw-label { font-family: var(--display); font-size: clamp(32px, 6vw, 64px); font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 20px #000); }
.bw-amount { font-size: clamp(44px, 9vw, 96px); font-weight: 800; color: #fff; text-shadow: 0 0 30px var(--gold), 0 6px 20px #000; font-variant-numeric: tabular-nums; }

.warn-line { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: #c8303d26; border: 1px solid #c8303d66; color: #ffc3c8; font-size: 14px; }

.next-round { text-align: center; font-size: 18px; font-weight: 700; padding: 12px; margin: 10px 0; border-radius: 14px; background: linear-gradient(90deg, #1d9b5433, #f5c54233, #1d9b5433); border: 1px solid #f5c54266; }
.next-round b { color: var(--gold); font-size: 22px; }

/* ---------- Events ---------- */
.event-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 8px 16px; background: linear-gradient(90deg, #3a1d5c, #5b2a86, #3a1d5c); border-bottom: 1px solid #c77dff55; }
.ev-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #0005; font-size: 14px; }
.ev-chip small { color: #e8d4ff; }
.ev-chip .btn { margin-left: 4px; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.event-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #0005; border: 1px solid var(--line2); }
.event-card.live { border-color: #c77dff; background: linear-gradient(135deg, #3a1d5c, #1a0f2b); box-shadow: 0 0 24px #c77dff33; }
.ec-icon { font-size: 40px; }
.ec-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ec-main span { color: var(--gold); font-weight: 700; }
.ec-main small { color: var(--muted); }
.ec-main .ec-time { color: #e8d4ff; }
.boost-badge { position: absolute; top: 8px; right: 8px; z-index: 2; font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: linear-gradient(90deg, #c77dff, #ff5dbb); color: #fff; box-shadow: 0 2px 10px #c77dff88; animation: pulse 1.8s infinite; }
#casinoNav button, .mp-item, #nav button { position: relative; }
#casinoNav .boost-badge, .mp-item .boost-badge, #nav .boost-badge { top: -8px; right: -6px; font-size: 10px; padding: 2px 6px; }
#bonusBtn[data-mult] { position: relative; }
#bonusBtn[data-mult]::after { content: attr(data-mult); position: absolute; top: -9px; right: -6px; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: #c77dff; color: #fff; }
.luck-list { display: grid; gap: 8px; margin: 14px 0; }
.luck-row { display: grid; grid-template-columns: 220px 1fr 70px 150px 40px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #0005; }
.luck-row.inherit { opacity: .6; }
.luck-row .lr-name small { display: block; color: var(--muted); font-size: 12px; }
.lr-val { font-size: 18px; color: var(--gold); text-align: right; }
.lr-rtp { font-size: 14px; color: var(--muted); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.event-admin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.ev-admin { margin: 0; }
.ev-admin.live { border-color: #c77dff; box-shadow: 0 0 24px #c77dff22; }
.ev-admin.off { opacity: .55; }
@media (max-width: 760px) {
  .luck-row { grid-template-columns: 1fr 70px; }
  .luck-row input[type=range] { grid-column: 1 / -1; grid-row: 2; }
  .luck-row .lr-rtp { grid-column: 1; }
  .event-admin-list, .event-cards { grid-template-columns: 1fr; }
}

/* ---------- Animationen ---------- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dealIn { from { opacity: 0; transform: translateY(-30px) rotate(-8deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 6px #f5c54266); } 50% { filter: drop-shadow(0 0 22px #f5c542cc); } }
@keyframes winPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes spinGlow { 0%, 100% { box-shadow: 0 10px 30px #000a, 0 0 30px #f5c54266; } 50% { box-shadow: 0 10px 30px #000a, 0 0 60px #f5c542; } }
@keyframes flashUp { 0% { box-shadow: 0 0 0 0 #4cd07d; } 40% { box-shadow: 0 0 0 6px #4cd07d55; transform: scale(1.05); } 100% { box-shadow: none; } }
@keyframes flashDown { 40% { box-shadow: 0 0 0 4px #ff7c8644; } 100% { box-shadow: none; } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
@keyframes zoomIn { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  #app { flex-direction: column; }
  #side { width: 100%; flex: 0 0 auto; height: auto; position: sticky; top: 0; z-index: 25; flex-direction: row; align-items: center; padding: 6px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .logo { padding: 0 10px 0 4px; font-size: 18px; }
  .logo b, .side-foot { display: none; }
  #nav { flex-direction: row; overflow-x: auto; flex: 1; scrollbar-width: none; }
  #nav::-webkit-scrollbar { display: none; }
  #nav button { flex: 0 0 auto; padding: 10px 12px; flex-direction: column; gap: 2px; font-size: 12px; text-align: center; }
  #nav button i { font-size: 22px; width: auto; }
  #nav button.active { box-shadow: inset 0 -3px 0 var(--gold); background: #f5c5421a; }
  .badge-dot { top: 6px; left: auto; right: 8px; }
  #top { top: 76px; padding: 10px 16px; }
  .sm-controls { grid-template-columns: 1fr 1fr; }
  .sm-controls .spin-btn { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .friends-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --card-w: 58px; --card-h: 84px; }
  body { font-size: 15px; }
  #main { padding: 14px; }
  .jp-top, .me-info { display: none; }
  .wallet { font-size: 17px; padding: 8px 12px; }
  #bonusBtn { padding: 10px 12px; }
  .hero { grid-template-columns: 1fr; padding: 22px; }
  .hero h1 { font-size: 28px; }
  .jp-value { font-size: 40px; }
  .grid2 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { min-height: 120px; padding: 16px; }
  .tile i { font-size: 36px; }
  .tile b { font-size: 16px; }
  .panel { padding: 16px; }
  .slot-machine { padding: 14px; border-radius: 22px; }
  .sm-name { font-size: 22px; }
  .reels { --cell: calc((100vw - 120px) / var(--reels)); gap: 5px; }
  .reels-wrap { padding: 8px; }
  .sm-controls { grid-template-columns: 1fr; }
  .spin-btn { width: 120px; height: 120px; font-size: 20px; }
  .bell-panel { position: fixed; left: 12px; right: 12px; width: auto; top: 140px; }
  .card .c-s { font-size: 30px; }
  .card .c-r, .card .c-r2 { font-size: 15px; }
  .vp-slot .card { --card-w: 60px; --card-h: 86px; }
  .vp-slot .card .c-s { font-size: 32px; }
  .keno-grid { gap: 3px; }
  .keno-grid button { font-size: 13px; border-radius: 8px; }
  .die { font-size: 80px; }
  .game-table { padding: 12px; border-width: 5px; border-radius: 18px; }
  .details { columns: 1; }
  .pk-table { aspect-ratio: 3 / 4; }
  .pk-felt { inset: 18% 6%; }
  .pk-seat { min-width: 86px; padding: 5px 6px; }
  .pk-seat .card.small { --card-w: 30px; --card-h: 44px; }
  .pk-seat .card.small .c-s { font-size: 15px; }
  .pk-seat .card.small .c-r, .pk-seat .card.small .c-r2 { font-size: 10px; }
  .pk-cards { min-height: 44px; }
  .pk-name, .pk-chips { font-size: 11px; }
  .tour-list { grid-template-columns: 1fr; }
  .profile-head { flex-direction: column; text-align: center; }
  .avatar.xl { width: 90px; height: 90px; font-size: 50px; }
  .tx { grid-template-columns: 1fr auto; }
  .tx > span:first-child { grid-column: 1 / -1; font-size: 12px; }
  .tx > .num { display: none; }
  .board { min-width: 520px; grid-template-rows: repeat(3, 46px) 40px 40px; }
}
@media (max-width: 560px) {
  .roulette-top { flex-direction: column; }
  .bac-table { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #top { gap: 6px; padding: 8px 10px; }
  #top .avatar { width: 38px; height: 38px; font-size: 20px; }
  .wallet { font-size: 15px; padding: 7px 10px; gap: 5px; }
  #bonusBtn { font-size: 0; padding: 9px 11px; }
  #bonusBtn::before { content: '🎁'; font-size: 19px; }
  .icon-btn { width: 40px; height: 40px; font-size: 17px; border-radius: 12px; }
  #rescueBtn { padding: 8px 10px; font-size: 13px; }
}

/* =====================================================================
   Bowling & Darts
   ===================================================================== */
.game-table.sport { padding: 18px; }
.game-table.bowl { background: radial-gradient(ellipse at top, #1d2a3a 0%, #0f1722 70%); border-color: #26303d; outline-color: #3f4c5e; }
.game-table.darts { background: radial-gradient(ellipse at center, #2a1d14 0%, #160f0a 75%); border-color: #3a2410; }
.bw-mode { font-size: 14px; color: #ffffffbb; background: #0005; padding: 8px 12px; border-radius: 10px; }
.bw-mode b { color: var(--gold); }

.bw-top, .dt-top { display: flex; gap: 22px; align-items: flex-start; }
.bw-lane-wrap { position: relative; flex: 0 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px #000a, 0 0 0 3px #0008; }
.bw-lane-wrap canvas { display: block; width: 260px; height: 600px; }
.bw-word { position: absolute; left: 0; right: 0; top: 34%; text-align: center; font-family: var(--display); font-weight: 900; font-size: 30px; color: #fff;
  text-shadow: 0 3px 0 #000, 0 0 20px #000; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.bw-word.show { opacity: 1; transform: scale(1); }
.bw-word.big { color: var(--gold); font-size: 40px; text-shadow: 0 3px 0 #6b4520, 0 0 30px #f5c542aa; }
.bw-side, .dt-side { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bw-side .status-line, .dt-side .status-line { text-align: left; margin: 4px 0 0; }
.bw-ctrl { display: grid; gap: 10px; background: #0004; padding: 14px; border-radius: 14px; transition: opacity .2s; }
.bw-ctrl.disabled { opacity: .55; }
.bw-ctrl label { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; color: #ffffffcc; font-size: 14px; }
.bw-ctrl label b { color: var(--gold); font-size: 13px; }
.bw-ctrl input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--gold); margin: 0; padding: 0; height: 26px; background: none; border: 0; }
.bw-presets { gap: 8px; }
.bw-meter { position: relative; height: 22px; border-radius: 999px; background: linear-gradient(90deg, #c8303d, #f59e0b 30%, #22c55e 45%, #22c55e 55%, #f59e0b 70%, #c8303d); opacity: .35; transition: opacity .2s; box-shadow: inset 0 2px 6px #0008; }
.bw-meter.active { opacity: 1; }
.bw-meter .zone { position: absolute; left: 45%; width: 10%; top: -3px; bottom: -3px; border: 2px solid #fff; border-radius: 6px; }
.bw-meter .needle { position: absolute; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; left: 50%; background: #fff; border-radius: 2px; box-shadow: 0 0 8px #000; }
.bw-board-wrap { overflow-x: auto; margin-top: 18px; }
.bw-board, .dt-table { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 14px; }
.bw-board th, .dt-table th { color: #ffffff99; font-weight: 600; font-size: 12px; padding: 2px 4px; }
.bw-board td, .dt-table td { background: #0006; border-radius: 6px; text-align: center; padding: 4px 3px; min-width: 34px; }
.bw-board td.nm, .dt-table td.nm { text-align: left; padding: 6px 10px; white-space: nowrap; font-weight: 700; min-width: 90px; }
.bw-board .dot, .dt-table .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 0; box-shadow: 0 0 0 2px #0006; }
.bw-board .rolls { display: flex; justify-content: center; gap: 4px; min-height: 18px; font-size: 13px; color: #ffffffcc; }
.bw-board .rolls i { font-style: normal; }
.bw-board .rolls i.hit { color: var(--gold); font-weight: 900; }
.bw-board .rolls .gift { color: #5be08f; font-size: 11px; }
.bw-board .cum { font-weight: 800; font-size: 15px; min-height: 19px; }
.bw-board .cum small { color: #ffffff77; font-weight: 600; font-size: 10px; }
.bw-board td.tot, .dt-table td.tot { color: var(--gold); font-weight: 900; font-size: 18px; min-width: 50px; }
.bw-board td.cur { box-shadow: inset 0 0 0 2px var(--gold); }
.bw-board tr.turn td.nm, .dt-table tr.turn td.nm { background: #f5c54233; box-shadow: inset 3px 0 0 var(--gold); }
.bw-board tr.me td.nm, .dt-table tr.me td.nm { color: var(--gold); }
.bw-board tr.winner td, .dt-table tr.winner td { background: #1d9b5455; }

.dt-board-wrap { position: relative; flex: 0 0 auto; width: min(520px, 58%); }
#dtBoard { width: 100%; height: auto; display: block; touch-action: none; cursor: crosshair; filter: drop-shadow(0 14px 30px #000c); user-select: none; }
.dt-num { fill: #fff; font: 700 21px var(--font); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
#dtCross { pointer-events: none; }
#dtCross line { stroke: #00e5ff; stroke-width: 2.2; }
#dtCross .spread { fill: #00e5ff1c; stroke: #00e5ffaa; stroke-width: 1.4; stroke-dasharray: 4 3; }
#dtCross .dotc { fill: #00e5ff; }
.dt-dart circle { fill: var(--gold); stroke: #000; stroke-width: 2; }
.dt-dart line { stroke: #f5f5f5; stroke-width: 3; stroke-linecap: round; }
.dt-dart text { fill: #fff; font: 800 15px var(--font); paint-order: stroke; stroke: #000; stroke-width: 4px; pointer-events: none; }
.dt-dart.old { opacity: .45; }
.dt-dart.new { animation: dtHit .35s cubic-bezier(.2,1.6,.4,1); transform-box: fill-box; }
@keyframes dtHit { from { opacity: 0; scale: 2.6; } to { opacity: 1; scale: 1; } }
.dt-flash { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.6); font-family: var(--display); font-weight: 900; font-size: 40px; color: #fff; opacity: 0;
  text-shadow: 0 3px 0 #000, 0 0 20px #000; pointer-events: none; }
.dt-flash.show { animation: dtFlash 1.1s ease-out forwards; }
.dt-flash.big { color: var(--gold); font-size: 52px; }
@keyframes dtFlash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -80%) scale(1); } }
.dt-visit { background: #0005; border-radius: 14px; padding: 10px 14px; }
.dt-visit-who { font-size: 13px; color: #ffffff99; margin-bottom: 6px; }
.dt-slots { display: flex; gap: 8px; align-items: center; }
.dt-slots span { flex: 1; text-align: center; background: #ffffff12; border-radius: 10px; padding: 9px 0; font-weight: 800; font-size: 18px; }
.dt-slots span.void { text-decoration: line-through; color: #ff7c86; }
.dt-slots b { min-width: 54px; text-align: right; color: var(--gold); font-size: 26px; font-weight: 900; }
.dt-target { font-size: 15px; color: #ffffffdd; }
.dt-target b { color: var(--gold); font-size: 18px; }
.dt-round { display: inline-block; background: #ffffff18; padding: 3px 10px; border-radius: 999px; font-size: 12px; margin-right: 6px; }
.dt-halve { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.dt-halve span { padding: 3px 8px; border-radius: 8px; background: #ffffff10; font-size: 12px; font-weight: 700; }
.dt-halve span.on { background: var(--gold); color: #000; }
.dt-halve span.done { opacity: .4; }
.dt-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-quick .btn { min-width: 52px; }
#dtPanel { margin-top: 16px; overflow-x: auto; }
.dt-table .mk { font-style: normal; font-weight: 900; font-size: 18px; color: #ffffffcc; }
.dt-table .mk.closed { color: var(--pos); }
.dt-prog { height: 10px; background: #ffffff15; border-radius: 99px; overflow: hidden; min-width: 120px; }
.dt-prog div { height: 100%; background: var(--gold-grad); }
.span2 { grid-column: span 2; }

@media (max-width: 900px) {
  .bw-top, .dt-top { flex-direction: column; align-items: stretch; }
  .bw-lane-wrap { align-self: center; }
  .dt-board-wrap { width: 100%; max-width: 520px; align-self: center; }
}
@media (max-width: 480px) {
  .bw-lane-wrap canvas { width: 220px; height: 508px; }
  .span2 { grid-column: auto; }
  .dt-num { font-size: 19px; }
}

/* =====================================================================
   Startseite vor dem Login
   ===================================================================== */
.landing { min-height: 100vh; background: radial-gradient(ellipse 80% 60% at 70% 0%, #1f7a4c55 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 0% 30%, #f5c54214 0%, transparent 60%), var(--bg); }
.ld-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 4vw, 48px); background: #06110cd9; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ld-head .logo { padding: 0; }
.ld-nav { display: flex; gap: 22px; margin-left: auto; }
.ld-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.ld-nav a:hover { color: var(--gold); }
.ld-head-btns { flex: 0 0 auto; gap: 10px; }
.ld-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(36px, 7vw, 90px) clamp(16px, 4vw, 48px) 40px; }
.ld-pill { display: inline-block; border: 1px solid #f5c54255; background: #f5c5421a; color: var(--gold); padding: 7px 14px; border-radius: 999px; font: 600 14px var(--font); cursor: pointer; }
.ld-hero h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); line-height: 1.04; margin: 18px 0; }
.ld-lead { font-size: clamp(17px, 1.6vw, 20px); color: #d6e6dd; line-height: 1.55; max-width: 580px; }
.ld-cta { gap: 12px; flex-wrap: wrap; margin: 26px 0 30px; }
.ld-cta .btn { flex: 0 0 auto; }
.ld-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 600px; }
.ld-stats div { background: #ffffff0a; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.ld-stats b { display: block; font-size: 24px; color: var(--gold); }
.ld-stats span { font-size: 13px; color: var(--muted); }
.ld-hero-art { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.ld-reels { position: absolute; inset: 22% 8%; display: flex; gap: 4%; align-items: center; justify-content: center; background: linear-gradient(180deg, #2a1d08, #120c04); border-radius: 30px; border: 6px solid #c9962a; box-shadow: 0 0 0 3px #6b4520, 0 30px 70px #000c, 0 0 90px #f5c54240; padding: 4%; }
.ld-reels span { flex: 1; aspect-ratio: .8; display: grid; place-items: center; font-size: clamp(40px, 6vw, 76px); background: linear-gradient(180deg, #fff, #e8e1cf); border-radius: 16px; box-shadow: inset 0 -8px 18px #0003; animation: ldReel 3.6s ease-in-out infinite; }
.ld-reels span:nth-child(2) { animation-delay: .25s; }
.ld-reels span:nth-child(3) { animation-delay: .5s; }
@keyframes ldReel { 0%, 70%, 100% { transform: translateY(0); } 78% { transform: translateY(-8px); } 86% { transform: translateY(4px); } }
.ld-float { position: absolute; font-size: clamp(34px, 4vw, 54px); filter: drop-shadow(0 10px 18px #000a); animation: ldFloat 6s ease-in-out infinite; }
.ld-float.f1 { top: 2%; left: 10%; } .ld-float.f2 { top: 6%; right: 6%; animation-delay: -1s; } .ld-float.f3 { bottom: 4%; right: 14%; animation-delay: -2s; }
.ld-float.f4 { bottom: 8%; left: 4%; animation-delay: -3s; } .ld-float.f5 { top: 44%; right: -2%; animation-delay: -4s; } .ld-float.f6 { top: 46%; left: -3%; animation-delay: -5s; }
@keyframes ldFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }
.ld-section { max-width: 1240px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 48px); }
.ld-section .section-title { font-size: 30px; }
.ld-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ld-game { position: relative; border-radius: 22px; padding: 22px; min-height: 170px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); overflow: hidden; }
.ld-game i { font-style: normal; font-size: 44px; }
.ld-game b { font-size: 21px; }
.ld-game span { color: #ffffffcc; font-size: 15px; }
.ld-game em { position: absolute; top: 16px; right: 16px; font-style: normal; font-weight: 800; font-size: 12px; background: var(--gold); color: #000; padding: 3px 9px; border-radius: 999px; }
.ld-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ld-feats div { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.ld-feats i { font-style: normal; font-size: 34px; }
.ld-feats b { display: block; font-size: 18px; margin: 8px 0 6px; }
.ld-feats p { margin: 0; color: var(--muted); line-height: 1.5; }
#ldAllNews { margin-top: 14px; }
.ld-foot { text-align: center; padding: 40px 16px 50px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 30px; }
.ld-foot .logo { justify-content: center; padding: 0 0 8px; }

/* Changelog */
.cl-list { display: grid; gap: 14px; }
.cl-entry { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; text-align: left; }
.cl-entry.latest { border-color: #f5c54266; box-shadow: 0 0 40px #f5c54214; }
.cl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cl-head b { font-size: 18px; }
.cl-ver { background: var(--gold-grad); color: #2a1a00; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.cl-date { color: var(--muted); font-size: 13px; margin-left: auto; }
.cl-entry ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.cl-entry li { display: flex; gap: 10px; align-items: baseline; line-height: 1.45; color: #dce9e1; }
.cl-tag { flex: 0 0 64px; text-align: center; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 2px 0; border-radius: 6px; }
.cl-tag.neu { background: #1d9b5444; color: var(--pos); }
.cl-tag.besser { background: #2f6fd644; color: #8fb8ff; }
.cl-tag.fix { background: #c8303d44; color: var(--neg); }
.cl-card { max-width: 720px; max-height: 86vh; overflow-y: auto; text-align: left; }
.cl-card h2 { margin: 0 0 16px; font-family: var(--display); color: var(--gold); }

@media (max-width: 900px) {
  .ld-hero { grid-template-columns: 1fr; }
  .ld-hero-art { max-width: 340px; order: -1; }
  .ld-nav { display: none; }
  .ld-head-btns { margin-left: auto; }
}
@media (max-width: 560px) {
  .ld-head .logo b { display: none; }
  .ld-head-btns .btn { padding: 9px 12px; font-size: 14px; }
  .ld-stats { grid-template-columns: repeat(2, 1fr); }
  .ld-cta .btn { width: 100%; }
  .cl-tag { flex-basis: 52px; }
  .panel.table-head { flex-wrap: wrap; }
  .panel.table-head > div:first-child { flex-basis: 100%; }
}
