/* ===================== Neon Royale – stijl ===================== */
:root {
  --bg: #07060b; --bg2: #0d0b14; --panel: #13101d; --panel2: #1b1729; --panel3: #241e36;
  --line: rgba(255, 255, 255, .08); --line2: rgba(245, 197, 66, .25);
  --gold: #f5c542; --gold2: #ffe08a; --gold3: #b8860b;
  --purple: #8b5cf6; --purple2: #6d28d9; --pink: #ff2bd6; --cyan: #22d3ee;
  --green: #22c55e; --red: #ef4444; --rouge: #c8102e;
  --text: #f4f1ff; --muted: #9a93b5;
  --r: 18px; --top: 64px;
  --gold-grad: linear-gradient(135deg, #fff3c4 0%, #f5c542 35%, #c8901a 70%, #ffe08a 100%);
  --purple-grad: linear-gradient(135deg, #a78bfa, #6d28d9);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
input, select { font: inherit; color: var(--text); }
h1, h2, h3 { margin: 0 0 .5em; letter-spacing: .02em; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.green { color: var(--green); } .red-t { color: var(--red); } .gold-t { color: var(--gold); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; } .row.between { justify-content: space-between; }
.grow { flex: 1; }

#bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 5% -10%, rgba(139, 92, 246, .28), transparent 60%),
              radial-gradient(700px 500px at 105% 5%, rgba(255, 43, 214, .14), transparent 60%),
              radial-gradient(900px 600px at 50% 115%, rgba(245, 197, 66, .12), transparent 60%), var(--bg); }

/* ---------- Coin ---------- */
.coin { display: inline-block; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff6d0, #f5c542 40%, #a87410 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), inset 0 -2px 3px rgba(0, 0, 0, .35), 0 0 10px rgba(245, 197, 66, .45);
  position: relative; }
.coin::after { content: "N"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 11px/1 Georgia, serif; color: #7a5208; }
.coin.sm { width: 16px; height: 16px; } .coin.sm::after { font-size: 9px; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--top); display: flex; align-items: center; gap: 12px;
  padding: 0 16px; padding-top: env(safe-area-inset-top, 0px); background: rgba(9, 7, 15, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--pink), var(--purple), transparent); opacity: .6; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 18px/1 Georgia, "Times New Roman", serif; letter-spacing: .12em; white-space: nowrap; }
.logo b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-chip { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #1a1200;
  background: var(--gold-grad); box-shadow: 0 0 0 3px #2a1f00, 0 0 0 5px var(--gold), 0 0 18px rgba(245, 197, 66, .6); }
.balance { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(180deg, #1e1830, #120f1d); border: 1px solid var(--line2); font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 20px rgba(245, 197, 66, .08); transition: box-shadow .3s, transform .3s; }
.balance.glow { box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(245, 197, 66, .7); transform: scale(1.06); }
.balance.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.top-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); font-size: 18px; transition: transform .15s, background .2s; }
.icon-btn:hover { background: var(--panel2); transform: translateY(-1px); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--purple-grad); border: 2px solid var(--gold); }

/* ---------- Layout ---------- */
.layout { display: flex; min-height: calc(100vh - var(--top)); }
.sidebar { width: 230px; flex: none; position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow-y: auto; padding: 16px 12px;
  border-right: 1px solid var(--line); background: rgba(10, 8, 16, .6); display: flex; flex-direction: column; gap: 2px; }
.sidebar a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; color: #d8d2ee; transition: background .2s, color .2s; }
.sidebar a:hover { background: var(--panel2); }
.sidebar a.active { background: linear-gradient(90deg, rgba(245, 197, 66, .18), rgba(139, 92, 246, .08)); color: var(--gold2); box-shadow: inset 3px 0 0 var(--gold); }
.nav-title { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin: 14px 14px 6px; }
.sim-note { margin-top: auto; font-size: 11px; color: var(--muted); padding: 12px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; line-height: 1.5; }
main#view { flex: 1; min-width: 0; padding: 22px clamp(12px, 3vw, 32px) 40px; }
.view > * { animation: pageIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }
.bottomnav { display: none; }

/* ---------- Basiscomponenten ---------- */
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font: 700 clamp(22px, 3vw, 30px)/1.1 Georgia, serif; letter-spacing: .04em; }
.page-head .sub { color: var(--muted); font-size: 14px; }
.title-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 800; letter-spacing: .03em; transition: transform .12s, filter .2s, box-shadow .2s;
  background: var(--panel3); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:not(:disabled):hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(1px) scale(.98); }
.btn.gold { background: var(--gold-grad); color: #2a1a00; border: 0; box-shadow: 0 6px 24px rgba(245, 197, 66, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.purple { background: var(--purple-grad); border: 0; box-shadow: 0 6px 24px rgba(139, 92, 246, .35); }
.btn.green { background: linear-gradient(135deg, #4ade80, #15803d); border: 0; color: #fff; box-shadow: 0 6px 24px rgba(34, 197, 94, .35); }
.btn.red { background: linear-gradient(135deg, #f87171, #b91c1c); border: 0; color: #fff; }
.btn.ghost { background: transparent; }
.btn.big { padding: 16px 22px; font-size: 18px; width: 100%; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--panel3); border: 1px solid var(--line); }
.pill.gold { color: var(--gold2); border-color: var(--line2); }
.pill.hot { color: #fff; background: linear-gradient(90deg, var(--pink), var(--purple)); border: 0; }
.seg { display: flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--purple-grad); color: #fff; box-shadow: 0 4px 16px rgba(139, 92, 246, .35); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.input { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; width: 100%; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 66, .15); }

/* Inzet-component */
.bet-ctl { display: flex; flex-direction: column; gap: 8px; }
.bet-label { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.bet-row { display: flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 12px; }
.bet-row input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; font-weight: 800; font-size: 17px; }
.bet-row button, .quick button { border: 1px solid var(--line); background: var(--panel3); border-radius: 9px; padding: 8px 10px; font-weight: 800; font-size: 13px; }
.bet-row button:hover, .quick button:hover { border-color: var(--gold); color: var(--gold2); }
.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }

/* Spel-layout: bediening + speelveld */
.game { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.game > * { min-width: 0; }
.controls { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--top) + 16px); }
.stage { position: relative; min-height: 420px; overflow: hidden; }
.result-banner { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; z-index: 5;
  padding: 14px 26px; border-radius: 16px; font: 800 26px/1.1 Georgia, serif; letter-spacing: .05em; text-align: center; transition: .35s cubic-bezier(.2, 1.4, .4, 1); white-space: nowrap; }
.result-banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.result-banner.win { background: rgba(10, 30, 15, .9); color: #86efac; border: 2px solid var(--green); box-shadow: 0 0 40px rgba(34, 197, 94, .5); }
.result-banner.lose { background: rgba(35, 8, 8, .9); color: #fca5a5; border: 2px solid var(--red); box-shadow: 0 0 40px rgba(239, 68, 68, .45); }
.result-banner.push { background: rgba(20, 20, 30, .9); color: #ddd; border: 2px solid var(--muted); }
.result-banner small { display: block; font: 600 14px/1.4 system-ui, sans-serif; opacity: .85; margin-top: 4px; }
.history-strip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.history-strip::-webkit-scrollbar { display: none; }
.hchip { flex: none; min-width: 38px; padding: 6px 9px; border-radius: 10px; text-align: center; font-weight: 800; font-size: 13px; background: var(--panel3); border: 1px solid var(--line); animation: pop .35s; }
.hchip.w { color: #86efac; border-color: rgba(34, 197, 94, .4); } .hchip.l { color: #fca5a5; border-color: rgba(239, 68, 68, .35); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.info-list { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.info-list span:nth-child(odd) { color: var(--muted); }
.info-list span:nth-child(even) { font-weight: 700; text-align: right; }

/* ---------- Lobby ---------- */
.hero { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(22px, 4vw, 40px); margin-bottom: 22px; border: 1px solid var(--line2);
  background: radial-gradient(600px 300px at 85% 30%, rgba(255, 43, 214, .25), transparent 60%), radial-gradient(500px 300px at 10% 100%, rgba(139, 92, 246, .35), transparent 60%), linear-gradient(135deg, #1a1030, #0c0914); }
.hero h1 { font: 700 clamp(26px, 4.5vw, 46px)/1.05 Georgia, serif; margin: 0 0 10px; }
.hero p { color: #cfc8e8; max-width: 520px; margin: 0 0 18px; }
.hero .chips-deco { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: clamp(60px, 11vw, 130px); filter: drop-shadow(0 0 30px rgba(245, 197, 66, .5)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(calc(-50% - 12px)) rotate(6deg); } }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.game-card { position: relative; overflow: hidden; border-radius: 20px; padding: 18px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; isolation: isolate; }
.game-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--g); }
.game-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .75)); }
.game-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(245, 197, 66, .2); }
.game-card .gc-icon { position: absolute; top: 10px; right: 12px; font-size: 72px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .5)); transition: transform .3s; }
.game-card:hover .gc-icon { transform: scale(1.12) rotate(-8deg); }
.game-card h3 { font: 700 22px/1.1 Georgia, serif; margin: 0 0 4px; }
.game-card p { margin: 0; font-size: 13px; color: #ddd6f3; }
.game-card .pill { position: absolute; top: 14px; left: 14px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.section-title h2 { font: 700 20px/1 Georgia, serif; margin: 0; }
.ticker { overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-item { white-space: nowrap; font-size: 14px; color: #ddd6f3; } .ticker-item b { color: var(--gold2); }
@keyframes ticker { to { transform: translateX(-50%); } }
.cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.disclaimer { margin-top: 28px; padding: 14px 16px; border-radius: 14px; font-size: 13px; color: var(--muted); border: 1px dashed var(--line); text-align: center; line-height: 1.6; }

/* ---------- Slots ---------- */
.machine-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.machine-tab { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: var(--panel); text-align: left; transition: .2s; }
.machine-tab .mt-sym { font-size: 26px; } .machine-tab b { display: block; margin-top: 4px; } .machine-tab small { color: var(--muted); }
.machine-tab.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(245, 197, 66, .25); background: var(--panel2); }
.slot-machine { border-radius: 26px; padding: clamp(12px, 2.5vw, 24px); border: 2px solid var(--gold3); position: relative;
  box-shadow: 0 0 0 4px #120d02, 0 0 0 6px var(--gold), 0 20px 60px rgba(0, 0, 0, .6), 0 0 60px var(--glow, rgba(139, 92, 246, .3)); background: var(--mbg); }
.m-fruits { --mbg: linear-gradient(160deg, #3b0a45, #12051c 60%, #2b0636); --glow: rgba(255, 43, 214, .35); }
.m-pharaoh { --mbg: linear-gradient(160deg, #3d2a05, #120c02 60%, #2a1c03); --glow: rgba(245, 197, 66, .35); }
.m-cosmic { --mbg: linear-gradient(160deg, #0a1f45, #040915 60%, #0b2650); --glow: rgba(34, 211, 238, .35); }
.jackpot { text-align: center; margin-bottom: 12px; }
.jackpot small { display: block; letter-spacing: .3em; font-size: 11px; color: var(--gold2); }
.jackpot .jp-val { font: 800 clamp(24px, 4vw, 36px)/1.1 Georgia, serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(245, 197, 66, .5)); animation: jp 2s ease-in-out infinite; }
@keyframes jp { 50% { filter: drop-shadow(0 0 22px rgba(245, 197, 66, .9)); } }
.reels { --cell: clamp(58px, 12vw, 104px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px; border-radius: 16px;
  background: linear-gradient(180deg, #000, #0d0a14 15%, #0d0a14 85%, #000); border: 1px solid var(--line); position: relative; }
.reel { height: calc(var(--cell) * 3); overflow: hidden; border-radius: 10px; position: relative;
  background: linear-gradient(180deg, #1a1626, #241e36 50%, #1a1626); box-shadow: inset 0 10px 18px rgba(0, 0, 0, .7), inset 0 -10px 18px rgba(0, 0, 0, .7); }
.strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.strip.spinning { filter: blur(1.5px); }
.cell { height: var(--cell); display: grid; place-items: center; font-size: calc(var(--cell) * .55); position: relative; transition: transform .3s; }
.cell.hit { animation: hit 0.8s ease-in-out infinite; z-index: 2; }
.cell.hit::before { content: ""; position: absolute; inset: 4px; border-radius: 12px; border: 2px solid var(--gold); box-shadow: 0 0 18px var(--gold), inset 0 0 18px rgba(245, 197, 66, .4); }
@keyframes hit { 50% { transform: scale(1.12); } }
.cell .wild-tag { position: absolute; bottom: 6%; font: 900 calc(var(--cell) * .13)/1 system-ui; letter-spacing: .1em; color: #fff; background: var(--pink); padding: 2px 5px; border-radius: 4px; }
.slot-win { text-align: center; min-height: 34px; margin-top: 12px; font: 800 20px/1.3 Georgia, serif; color: var(--gold2); }
.paytable { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; font-size: 13px; }
.paytable div { background: var(--bg2); border-radius: 10px; padding: 8px 10px; display: flex; gap: 8px; align-items: center; }
.paytable .ps { font-size: 24px; }

/* ---------- Roulette ---------- */
.wheel-wrap { position: relative; width: min(340px, 78vw); aspect-ratio: 1; margin: 6px auto 18px; }
.wheel-wrap::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; background: conic-gradient(from 0deg, #6b4a0b, #f5c542, #6b4a0b, #f5c542, #6b4a0b, #f5c542, #6b4a0b);
  box-shadow: 0 0 50px rgba(245, 197, 66, .35), inset 0 0 20px #000; }
.wheel { position: absolute; inset: 0; border-radius: 50%; will-change: transform; }
.wheel canvas { width: 100%; height: 100%; display: block; }
.ball-track { position: absolute; inset: 0; will-change: transform; pointer-events: none; }
.ball { position: absolute; left: 50%; top: 4%; width: 5%; height: 5%; margin-left: -2.5%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #bbb 60%, #666);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .7); transition: top 1.2s cubic-bezier(.5, 0, .3, 1); }
.ball.in { top: 10.5%; }
.wheel-pointer { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 20px solid var(--gold2); filter: drop-shadow(0 0 6px var(--gold)); z-index: 3; }
.wheel-result { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center; font: 800 clamp(22px, 5vw, 34px)/1 Georgia, serif;
  z-index: 2; opacity: 0; transform: scale(.5); transition: .4s cubic-bezier(.2, 1.4, .4, 1); border: 3px solid var(--gold); }
.wheel-result.show { opacity: 1; transform: scale(1); }
.rb-red { background: var(--rouge); } .rb-black { background: #111; } .rb-green { background: #0a7a3a; }
.board-wrap { overflow-x: auto; padding-bottom: 6px; }
.board { display: grid; grid-template-columns: .9fr repeat(12, 1fr) .9fr; grid-template-rows: repeat(3, 48px) 44px 44px; gap: 3px; min-width: 620px;
  padding: 10px; border-radius: 16px; background: radial-gradient(ellipse at center, #0f5a33, #073a20); border: 3px solid #5a3d0a; box-shadow: inset 0 0 30px rgba(0, 0, 0, .5); }
.bcell { grid-row: var(--r); grid-column: var(--c); position: relative; display: grid; place-items: center; border-radius: 6px; font-weight: 800; font-size: 15px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; user-select: none; transition: filter .15s, box-shadow .15s; padding: 0; }
.bcell:hover { filter: brightness(1.3); box-shadow: 0 0 0 2px var(--gold) inset; }
.bcell.red { background: var(--rouge); } .bcell.black { background: #121212; } .bcell.green { background: #0a8a42; }
.bcell.out { background: rgba(0, 0, 0, .18); font-size: 13px; }
.bcell.out.red { background: var(--rouge); } .bcell.out.black { background: #121212; }
.bcell.winner { animation: winpulse .7s ease-in-out 5; box-shadow: 0 0 0 3px var(--gold2) inset, 0 0 20px var(--gold); z-index: 2; }
@keyframes winpulse { 50% { filter: brightness(1.8); } }
.chip-on { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 28px; height: 28px; padding: 0 4px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 900; color: #fff; background: var(--chipc, var(--purple));
  border: 3px dashed rgba(255, 255, 255, .85); box-shadow: 0 3px 8px rgba(0, 0, 0, .6); animation: pop .25s; pointer-events: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { width: 50px; height: 50px; border-radius: 50%; border: 4px dashed rgba(255, 255, 255, .8); font-weight: 900; font-size: 12px; color: #fff; background: var(--chipc);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 4px rgba(0, 0, 0, .15); transition: transform .15s; }
.chip.on { transform: translateY(-6px) scale(1.08); box-shadow: 0 0 0 3px var(--gold2), 0 8px 18px rgba(245, 197, 66, .5); }
@media (max-width: 700px) {
  .board { grid-template-columns: .8fr 1fr 1fr 1fr .8fr; grid-template-rows: 40px repeat(12, 38px) 40px; min-width: 0; }
  .bcell { grid-row: var(--vr); grid-column: var(--vc); font-size: 14px; }
  .bcell.out { font-size: 11px; writing-mode: vertical-rl; transform: rotate(180deg); }
  .bcell.out .chip-on { transform: translate(-50%, -50%) rotate(180deg); writing-mode: horizontal-tb; }
}

/* ---------- Blackjack ---------- */
.felt { border-radius: 200px 200px 28px 28px / 120px 120px 28px 28px; padding: 26px 14px 20px; min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: radial-gradient(ellipse at 50% 0%, #17804b, #0a4a2a 60%, #062c19); border: 10px solid #4a2f07; box-shadow: inset 0 0 50px rgba(0, 0, 0, .55), 0 0 0 3px var(--gold3), 0 20px 50px rgba(0, 0, 0, .5); position: relative; }
.felt-text { text-align: center; color: rgba(255, 255, 255, .25); font: 700 13px/1.4 Georgia, serif; letter-spacing: .25em; }
.bj-area { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bj-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #d1fae5; }
.score { min-width: 32px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .25); text-align: center; font-weight: 800; }
.score.bust { background: var(--red); } .score.bj { background: var(--gold-grad); color: #2a1a00; }
.hands { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hand { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; border-radius: 16px; transition: .25s; }
.hand.active { background: rgba(245, 197, 66, .12); box-shadow: 0 0 0 2px var(--gold); }
.hand.res-win { box-shadow: 0 0 0 2px var(--green), 0 0 20px rgba(34, 197, 94, .5); } .hand.res-lose { opacity: .6; }
.cards { display: flex; min-height: 112px; padding-left: 34px; }
.pcard { --w: clamp(62px, 9vw, 80px); width: var(--w); height: calc(var(--w) * 1.42); margin-left: -34px; perspective: 600px; animation: deal .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes deal { from { transform: translate(120px, -160px) rotate(25deg); opacity: 0; } }
.pcard .inner { position: relative; width: 100%; height: 100%; transition: transform .5s; transform-style: preserve-3d; }
.pcard.down .inner { transform: rotateY(180deg); }
.pcard .face, .pcard .back { position: absolute; inset: 0; border-radius: 9px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: -3px 4px 10px rgba(0, 0, 0, .45); }
.pcard .face { background: linear-gradient(160deg, #fff, #f1ecdf); color: #111; padding: 5px 6px; font-weight: 800; }
.pcard .face.red { color: #c8102e; }
.pcard .face .tl { font-size: calc(var(--w) * .22); line-height: 1; } .pcard .face .tl span { display: block; font-size: calc(var(--w) * .2); }
.pcard .face .mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(var(--w) * .5); }
.pcard .back { transform: rotateY(180deg); background: repeating-linear-gradient(45deg, #6d28d9 0 6px, #4c1d95 6px 12px); border: 4px solid #fff; }
.pcard .back::after { content: "♠"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-size: 28px; text-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.bj-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

/* ---------- Crash ---------- */
.crash-stage { position: relative; height: 380px; border-radius: var(--r); overflow: hidden; background: radial-gradient(ellipse at 20% 100%, rgba(139, 92, 246, .25), transparent 60%), linear-gradient(180deg, #0c0918, #07060b); border: 1px solid var(--line); }
.crash-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crash-mult { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font: 900 clamp(46px, 9vw, 84px)/1 system-ui; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(255, 255, 255, .3); transition: color .2s; z-index: 2; }
.crash-mult.crashed { color: var(--red); text-shadow: 0 0 40px rgba(239, 68, 68, .7); animation: shake .4s; }
.crash-mult.cashed { color: var(--green); }
.crash-sub { position: absolute; left: 50%; top: 60%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-weight: 700; text-align: center; white-space: nowrap; }
.crash-bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--gold-grad); transition: width .1s linear; z-index: 2; }
.players { max-height: 300px; overflow-y: auto; font-size: 13px; }
.players .pl { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.players .pl.out { color: #86efac; } .players .pl.lost { color: #fca5a5; opacity: .7; } .players .pl.me { font-weight: 800; color: var(--gold2); }

/* ---------- Coinflip ---------- */
.coin-stage { display: grid; place-items: center; min-height: 360px; perspective: 1000px; }
.flipcoin { width: clamp(160px, 34vw, 220px); aspect-ratio: 1; position: relative; transform-style: preserve-3d; }
.flipcoin .side { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  font: 800 clamp(22px, 4.5vw, 30px)/1.1 Georgia, serif; text-align: center; letter-spacing: .08em; }
.flipcoin .heads { background: radial-gradient(circle at 35% 30%, #fff6d0, #f5c542 45%, #9a6a0a); color: #5a3a00; box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .25), inset 0 0 0 14px rgba(122, 82, 8, .5), 0 0 50px rgba(245, 197, 66, .5); }
.flipcoin .tails { transform: rotateY(180deg); background: radial-gradient(circle at 35% 30%, #efe7ff, #a78bfa 45%, #4c1d95); color: #1e0b45; box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .25), inset 0 0 0 14px rgba(46, 16, 101, .5), 0 0 50px rgba(139, 92, 246, .55); }
.flipcoin .side i { font-style: normal; font-size: 1.9em; display: block; }
.flipcoin.flipping { animation: coinjump var(--dur, 1.6s) cubic-bezier(.3, .1, .3, 1) both; }
@keyframes coinjump { 0% { translate: 0 0; } 45% { translate: 0 -110px; } 100% { translate: 0 0; } }
.pick-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-btns button { padding: 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--panel); font-weight: 800; font-size: 16px; transition: .2s; }
.pick-btns button.on { border-color: var(--gold); background: rgba(245, 197, 66, .12); box-shadow: 0 0 20px rgba(245, 197, 66, .25); }

/* ---------- Dice ---------- */
.dice-stage { display: grid; place-items: center; min-height: 260px; perspective: 900px; }
.cube { --s: 120px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; transition: transform 1.3s cubic-bezier(.2, .8, .25, 1); }
.cube .f { position: absolute; inset: 0; border-radius: 18px; background: linear-gradient(145deg, #fff, #e8e2f5); border: 2px solid #d4cbe9;
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 14px; box-shadow: inset 0 0 18px rgba(80, 40, 160, .25); }
.cube .f i { width: 70%; height: 70%; margin: auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a78bfa, #4c1d95); }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); } .cube .f6 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); } .cube .f5 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f3 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); } .cube .f4 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.num-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.num-pick button, .opt-grid button { padding: 12px 0; border-radius: 12px; border: 2px solid var(--line); background: var(--panel); font-weight: 800; font-size: 17px; transition: .15s; }
.num-pick button.on, .opt-grid button.on { border-color: var(--gold); background: rgba(245, 197, 66, .14); color: var(--gold2); }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.opt-grid button { font-size: 14px; }
.range-box { padding: 30px 6px 10px; }
.range-track { position: relative; height: 14px; border-radius: 999px; background: var(--red); }
.range-track .win-zone { position: absolute; top: 0; bottom: 0; background: var(--green); border-radius: 999px; }
.range-track input[type=range] { position: absolute; inset: -10px 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; height: 34px; }
.range-thumb { position: absolute; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 9px; background: var(--gold-grad); box-shadow: 0 0 14px rgba(245, 197, 66, .6); pointer-events: none; }
.roll-marker { position: absolute; top: -34px; transform: translateX(-50%); padding: 4px 8px; border-radius: 8px; font-weight: 900; font-size: 14px; background: #fff; color: #111; transition: left .7s cubic-bezier(.2, .8, .2, 1); opacity: 0; }
.roll-marker.show { opacity: 1; } .roll-marker.w { background: var(--green); color: #fff; } .roll-marker.l { background: var(--red); color: #fff; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.big-roll { font: 900 clamp(48px, 10vw, 80px)/1 system-ui; font-variant-numeric: tabular-nums; text-align: center; margin: 10px 0; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat3 > div { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.stat3 small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.stat3 b { font-size: 18px; }

/* ---------- Stats / tabellen ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.kpi small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.kpi b { display: block; font-size: 24px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table tr:hover td { background: rgba(255, 255, 255, .02); }
.table .num { text-align: right; }
.table-wrap { overflow-x: auto; }
.chart { width: 100%; height: 220px; display: block; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.filters button { border: 1px solid var(--line); background: var(--panel); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.filters button.on { border-color: var(--gold); color: var(--gold2); background: rgba(245, 197, 66, .1); }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* Ranglijst */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-bottom: 18px; }
.pod { text-align: center; border-radius: 18px 18px 8px 8px; padding: 18px 8px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel2), var(--panel)); }
.pod .medal { font-size: 36px; } .pod .nm { font-weight: 800; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pod .bal { color: var(--gold2); font-weight: 800; font-size: 14px; }
.pod.p1 { padding-top: 30px; border-color: var(--gold); box-shadow: 0 0 30px rgba(245, 197, 66, .25); }
.lb-row td:first-child { width: 48px; font-weight: 800; color: var(--muted); }
.lb-row.me td { background: rgba(245, 197, 66, .1); color: var(--gold2); font-weight: 800; }
.mini-av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 800; margin-right: 8px; vertical-align: middle; color: #fff; }

/* Beloningen */
.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 14px 0 18px; }
.sday { border-radius: 14px; padding: 12px 4px; text-align: center; border: 1px solid var(--line); background: var(--bg2); font-size: 12px; position: relative; }
.sday b { display: block; font-size: 14px; margin-top: 6px; color: var(--gold2); }
.sday .si { font-size: 22px; display: block; margin-top: 4px; }
.sday.done { opacity: .55; } .sday.done::after { content: "✓"; position: absolute; top: 4px; right: 7px; color: var(--green); font-weight: 900; }
.sday.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(245, 197, 66, .35); animation: glowp 1.6s ease-in-out infinite; }
@keyframes glowp { 50% { box-shadow: 0 0 0 1px var(--gold), 0 0 34px rgba(245, 197, 66, .6); } }
.reward-card { display: flex; flex-direction: column; gap: 10px; }
.reward-card .big-ico { font-size: 44px; }

/* Profiel */
.av-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.av-pick button { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; }
.av-pick button.on { border-color: var(--gold); box-shadow: 0 0 14px rgba(245, 197, 66, .5); }
.toggle { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--panel3); border: 1px solid var(--line); transition: .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle.on { background: var(--green); } .toggle.on::after { left: 25px; }

/* ---------- Chat ---------- */
.chat { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(370px, 100vw); display: flex; flex-direction: column; background: rgba(13, 10, 21, .97);
  backdrop-filter: blur(14px); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); padding-bottom: var(--safe-b); }
.chat.open { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .6); }
.chat-backdrop { position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: .3s; }
.chat-backdrop.open { opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.chat-head small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 9px; animation: pop .3s; }
.msg .mb { background: var(--panel2); border: 1px solid var(--line); padding: 8px 11px; border-radius: 4px 14px 14px 14px; font-size: 14px; max-width: 100%; word-wrap: break-word; }
.msg .mn { font-size: 12px; font-weight: 800; color: var(--purple); margin-bottom: 2px; } .msg .mn small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.msg.me { flex-direction: row-reverse; } .msg.me .mb { background: rgba(245, 197, 66, .12); border-color: var(--line2); border-radius: 14px 4px 14px 14px; } .msg.me .mn { color: var(--gold2); text-align: right; }
.msg.sys { justify-content: center; } .msg.sys .mb { background: linear-gradient(90deg, rgba(255, 43, 214, .15), rgba(139, 92, 246, .15)); border-color: rgba(255, 43, 214, .3); text-align: center; font-size: 13px; border-radius: 12px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; outline: none; }

/* ---------- Effecten / overlays ---------- */
#confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 95; }
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 96; }
.float-txt { position: fixed; transform: translateX(-50%); font-weight: 900; font-size: 20px; animation: floatUp 1.6s ease-out forwards; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); white-space: nowrap; }
.float-txt.win { color: #4ade80; } .float-txt.lose { color: #f87171; }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, -6px) scale(.7); } 15% { opacity: 1; transform: translate(-50%, 6px) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, 50px) scale(1); } }
body.lose-flash::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; box-shadow: inset 0 0 120px rgba(239, 68, 68, .55); animation: lf .7s ease-out forwards; }
@keyframes lf { to { opacity: 0; } }
.bigwin { position: fixed; inset: 0; pointer-events: auto; display: grid; place-items: center; background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); animation: fadeIn .3s; cursor: pointer; overflow: hidden; }
.bigwin.out { animation: fadeOut .4s forwards; }
.bw-rays { position: absolute; width: 200vmax; height: 200vmax; background: repeating-conic-gradient(rgba(245, 197, 66, .14) 0 10deg, transparent 10deg 20deg); animation: spin 14s linear infinite; }
.bw-box { position: relative; text-align: center; animation: zoomIn .6s cubic-bezier(.2, 1.5, .4, 1); }
.bw-title { font: 900 clamp(46px, 11vw, 110px)/1 Georgia, serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(245, 197, 66, .8)); letter-spacing: .05em; animation: pulse 1s ease-in-out infinite; }
.bw-amt { display: flex; align-items: center; justify-content: center; gap: 12px; font: 900 clamp(32px, 7vw, 60px)/1.2 system-ui; margin-top: 10px; font-variant-numeric: tabular-nums; }
.bw-amt .coin { width: 44px; height: 44px; } .bw-amt .coin::after { font-size: 22px; }
.bw-sub { color: var(--gold2); font-weight: 700; margin-top: 6px; } .bw-tap { color: var(--muted); font-size: 13px; margin-top: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.06); } }
@keyframes zoomIn { from { transform: scale(.3); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } } @keyframes fadeOut { to { opacity: 0; } }
#toasts { position: fixed; z-index: 99; left: 50%; top: calc(var(--top) + 12px); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: 92vw; }
.toast { padding: 11px 18px; border-radius: 12px; background: var(--panel3); border: 1px solid var(--line); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: toastIn .3s cubic-bezier(.2, 1.4, .4, 1); transition: .35s; }
.toast.error { border-color: rgba(239, 68, 68, .6); color: #fecaca; } .toast.success { border-color: rgba(34, 197, 94, .6); color: #bbf7d0; }
.toast.out { opacity: 0; transform: translateY(-10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.9); } }
.modal-back { position: fixed; inset: 0; z-index: 98; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadeIn .25s; }
.modal-back.out { animation: fadeOut .25s forwards; }
.modal { position: relative; width: min(440px, 100%); max-height: 90vh; overflow-y: auto; border-radius: 22px; padding: 26px; background: linear-gradient(180deg, #1f1830, #120e1c);
  border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 40px rgba(139, 92, 246, .2); animation: zoomIn .35s cubic-bezier(.2, 1.3, .4, 1); }
.modal-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.modal p { color: #d4cdea; line-height: 1.55; }
.welcome .logo-chip { width: 64px; height: 64px; font-size: 32px; margin: 0 auto 14px; }
.welcome h2 { text-align: center; font: 700 26px/1.2 Georgia, serif; }

/* ---------- Mobiel ---------- */
@media (max-width: 900px) {
  :root { --top: 58px; }
  .sidebar { display: none; }
  main#view { padding: 16px 12px calc(96px + var(--safe-b)); }
  .bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(9, 7, 15, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); }
  .bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 4px 0; border-radius: 12px; }
  .bottomnav a i { font-style: normal; font-size: 21px; transition: transform .2s; }
  .bottomnav a.active { color: var(--gold2); } .bottomnav a.active i { transform: translateY(-2px) scale(1.12); filter: drop-shadow(0 0 8px rgba(245, 197, 66, .6)); }
  .game { grid-template-columns: minmax(0, 1fr); }
  html, body { overflow-x: hidden; }
  .game .controls { position: static; order: 2; }
  .game .stage-col { order: 1; }
  .logo-text { display: none; }
  .topbar { gap: 8px; padding: 0 10px; }
  .balance { margin-left: 0; margin-right: auto; padding: 7px 12px; font-size: 15px; }
  .icon-btn, .avatar { width: 36px; height: 36px; font-size: 16px; }
  .stage { min-height: 0; }
  .crash-stage { height: 300px; }
}
@media (max-width: 520px) {
  .machine-tabs .machine-tab small { display: none; }
  .machine-tab { padding: 10px 8px; text-align: center; } .machine-tab b { font-size: 12px; }
  .reels { gap: 4px; padding: 6px; --cell: calc((100vw - 90px) / 5); }
  .felt { border-width: 6px; padding: 18px 6px 14px; min-height: 400px; }
  .cards { padding-left: 30px; } .pcard { margin-left: -30px; }
  .podium { gap: 6px; } .pod .medal { font-size: 28px; }
  .streak { gap: 4px; } .sday { padding: 8px 2px; font-size: 10px; } .sday b { font-size: 11px; } .sday .si { font-size: 18px; }
  .hero .chips-deco { opacity: .35; }
  .chip { width: 44px; height: 44px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ===================== v2: Dice-bal, levels, prestaties, instellingen, splash ===================== */
/* Dice – slider met pijl */
.dz-slider { position: relative; padding: 44px 4px 4px; margin-bottom: 10px; }
.dz-track { position: relative; height: 16px; border-radius: 999px; background: linear-gradient(90deg, #3b0764, #6d28d9); box-shadow: inset 0 2px 6px rgba(0,0,0,.5); overflow: hidden; }
.dz-win { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #22c55e, #4ade80); box-shadow: 0 0 16px rgba(34,197,94,.7); transition: left .2s, right .2s; }
.dz-slider input[type=range] { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 44px; opacity: 0; cursor: pointer; margin: 0; }
.dz-arrow { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; transition: left .12s; z-index: 2; margin-left: 4px; }
.dz-arrow b { background: var(--gold-grad); color: #2a1a00; font-weight: 900; padding: 3px 9px; border-radius: 8px; font-size: 15px; box-shadow: 0 0 14px rgba(245,197,66,.6); min-width: 36px; text-align: center; }
.dz-arrow i { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid var(--gold); filter: drop-shadow(0 0 6px var(--gold)); margin-top: -1px; }
.dz-arrow::after { content: ""; position: absolute; top: 40px; width: 4px; height: 26px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px #fff; }
.dz-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dz-dir button { padding: 14px 8px; border-radius: 14px; border: 2px solid var(--line); background: var(--panel); font-weight: 900; font-size: 15px; letter-spacing: .04em; transition: .2s; }
.dz-dir button.on { border-color: var(--green); background: rgba(34,197,94,.14); color: #86efac; box-shadow: 0 0 20px rgba(34,197,94,.3); }
.dz-rule { text-align: center; font-size: 14px; color: var(--muted); margin-top: 6px; } .dz-rule b { color: #86efac; }
/* Dice – de grote bal */
.dz-stage { display: flex; flex-direction: column; align-items: center; padding-top: 34px; }
.orb-wrap { position: relative; width: min(440px, 84vw); aspect-ratio: 1; }
.orb-glow { position: absolute; inset: -18px; border-radius: 50%; background: conic-gradient(from 0deg, #f5c542, #ff2bd6, #8b5cf6, #22d3ee, #f5c542); filter: blur(18px); opacity: .55; animation: spin 8s linear infinite; }
.orb { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; will-change: transform; box-shadow: 0 0 0 6px #1a1204, 0 0 0 9px var(--gold), 0 25px 60px rgba(0,0,0,.7); }
.orb canvas { width: 100%; height: 100%; display: block; }
.orb-gloss { position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.38), rgba(255,255,255,.08) 22%, transparent 45%), radial-gradient(circle at 70% 85%, rgba(0,0,0,.45), transparent 55%), radial-gradient(circle, transparent 60%, rgba(0,0,0,.45) 100%); }
.orb-pointer { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); z-index: 4; width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid var(--gold2); filter: drop-shadow(0 0 10px var(--gold)) drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.orb-center { position: absolute; inset: 27%; border-radius: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #2a1f45, #0d0918 70%); border: 4px solid var(--gold); box-shadow: inset 0 0 30px rgba(0,0,0,.8), 0 0 30px rgba(245,197,66,.25); transition: box-shadow .3s, border-color .3s, transform .3s; }
.orb-center span { font: 900 clamp(48px, 13vw, 92px)/1 system-ui; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255,255,255,.35); }
.orb-center small { color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }
.orb-center.spinning span { color: #e9e4ff; }
.orb-center.win { border-color: var(--green); box-shadow: inset 0 0 30px rgba(0,0,0,.8), 0 0 50px rgba(34,197,94,.8); animation: pulse .8s ease-in-out 3; } .orb-center.win span { color: #86efac; }
.orb-center.lose { border-color: var(--red); box-shadow: inset 0 0 30px rgba(0,0,0,.8), 0 0 40px rgba(239,68,68,.6); } .orb-center.lose span { color: #fca5a5; }
.dz-stage .result-banner { top: auto; bottom: 8%; }

/* Level-badge in topbar */
.avatar { position: relative; }
.lvl-badge { position: absolute; bottom: -6px; right: -8px; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 9px; font: 900 10px/18px system-ui; text-align: center; color: #1a1200; background: var(--tierc, var(--gold)); border: 2px solid var(--bg); }
.xp-bar { height: 10px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.xp-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--pink), var(--gold)); box-shadow: 0 0 12px rgba(255,43,214,.6); transition: width .6s; }
.sidebar .xp-mini { margin: 4px 14px 10px; font-size: 12px; color: var(--muted); }
.sidebar .xp-mini .xp-bar { height: 6px; margin-top: 6px; }
.tier-card { display: flex; align-items: center; gap: 16px; }
.tier-ico { font-size: 52px; filter: drop-shadow(0 0 16px var(--tierc)); }
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.tiers div { text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); font-size: 12px; opacity: .5; }
.tiers div.on { opacity: 1; border-color: var(--tierc); box-shadow: 0 0 16px color-mix(in srgb, var(--tierc) 40%, transparent); }
.tiers div span { display: block; font-size: 24px; }

/* Meldingen (level-up / prestatie) */
.notify { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; min-width: 260px; max-width: 92vw;
  background: linear-gradient(135deg, #2a1f45, #170f28); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 30px rgba(245,197,66,.25);
  animation: notifIn .5s cubic-bezier(.2,1.4,.4,1); transition: .4s; pointer-events: auto; }
.notify .n-ico { font-size: 34px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(245,197,66,.12); }
.notify b { display: block; color: var(--gold2); font-size: 16px; } .notify small { color: #d8d2ee; font-size: 13px; }
.notify.level { border-color: rgba(255,43,214,.5); } .notify.level .n-ico { background: rgba(255,43,214,.15); }
.notify.out { opacity: 0; transform: translateY(-16px) scale(.95); }
@keyframes notifIn { from { opacity: 0; transform: translateY(-30px) scale(.8); } }

/* Prestaties */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ach { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ach .a-ico { font-size: 30px; width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--bg2); filter: grayscale(1); opacity: .5; }
.ach b { display: block; } .ach small { color: var(--muted); font-size: 12px; display: block; } .ach .a-rew { color: var(--gold2); font-weight: 800; font-size: 12px; margin-top: 3px; }
.ach.done { border-color: var(--line2); background: linear-gradient(135deg, rgba(245,197,66,.1), var(--panel)); }
.ach.done .a-ico { filter: none; opacity: 1; background: rgba(245,197,66,.15); box-shadow: 0 0 18px rgba(245,197,66,.3); }
.progress-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.progress-line .xp-bar { flex: 1; }

/* Instellingen */
.set-list { display: flex; flex-direction: column; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row .s-txt b { display: block; } .set-row .s-txt small { color: var(--muted); font-size: 13px; }
.lang-pick { display: flex; gap: 8px; }
.lang-pick button { padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--panel); font-weight: 800; display: flex; gap: 8px; align-items: center; }
.lang-pick button.on { border-color: var(--gold); background: rgba(245,197,66,.12); color: var(--gold2); }
input[type=range].vol { accent-color: var(--gold); width: 150px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.quick-links a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-weight: 800; }
.quick-links a:hover { border-color: var(--gold); }

/* Splash */
#splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #241640, #07060b 70%); transition: opacity .5s, visibility .5s; }
#splash.gone { opacity: 0; visibility: hidden; }
#splash .sp-box { text-align: center; }
#splash .logo-chip { width: 96px; height: 96px; font-size: 48px; margin: 0 auto 18px; animation: spIn 1s cubic-bezier(.2,1.4,.4,1), spin 2.4s linear .9s infinite; }
#splash h1 { font: 700 30px/1 Georgia, serif; letter-spacing: .2em; margin: 0; animation: fadeIn .8s .2s both; }
#splash p { color: var(--muted); font-size: 13px; letter-spacing: .15em; animation: fadeIn .8s .4s both; }
@keyframes spIn { from { transform: scale(0) rotate(-180deg); } }
.sp-bar { width: 180px; height: 4px; border-radius: 4px; background: var(--panel3); margin: 18px auto 0; overflow: hidden; }
.sp-bar i { display: block; height: 100%; width: 40%; background: var(--gold-grad); animation: spLoad 1s ease-in-out infinite; }
@keyframes spLoad { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

@media (max-width: 520px) {
  .orb-wrap { width: 82vw; }
  .tiers { gap: 4px; } .tiers div { font-size: 10px; padding: 8px 2px; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .set-row { flex-wrap: wrap; }
}

/* ===================== Bonnie's Crack ===================== */
.bn-stage { position: relative; height: 380px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 100% 50%, rgba(245, 197, 66, .22), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(219, 39, 119, .2), transparent 60%), linear-gradient(180deg, #1a0b24, #0a0610); }
.bn-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bn-status { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; padding: 6px 16px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line);
  font: 900 20px/1.2 system-ui; font-variant-numeric: tabular-nums; white-space: nowrap; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(4px); }
.bn-sub { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; padding: 5px 14px; border-radius: 999px; background: rgba(0, 0, 0, .5); color: #e9e3ff; font-weight: 700; font-size: 13px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.bn-sub.win { color: #86efac; box-shadow: 0 0 18px rgba(34, 197, 94, .45); } .bn-sub.lose { color: #fca5a5; }
.bn-racers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bn-racer { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 9px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel3); color: var(--text); cursor: pointer; transition: transform .12s, border-color .15s, box-shadow .15s; }
.bn-racer:not(:disabled):hover { border-color: var(--rc); transform: translateY(-1px); }
.bn-racer:not(:disabled):active { transform: scale(.97); }
.bn-racer:disabled { cursor: default; opacity: .75; }
.bn-racer.mine { border-color: var(--rc); box-shadow: 0 0 14px color-mix(in srgb, var(--rc) 45%, transparent); }
.bn-racer.win { opacity: 1; border-color: var(--rc); box-shadow: 0 0 22px var(--rc); animation: pop .4s; }
.bn-racer.lose { opacity: .4; }
.bn-num { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rc); color: #0b0814; font-weight: 900; }
.bn-name { font-weight: 800; font-size: 13px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-name small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.bn-odds { font-weight: 900; color: var(--gold2); font-size: 15px; }
.bn-mine { position: absolute; top: -7px; right: -5px; display: flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; background: var(--gold-grad); color: #1a1200; font-weight: 900; font-size: 11px; }
.bn-mine .coin.sm { width: 11px; height: 11px; }
@media (max-width: 760px) { .bn-stage { height: 300px; } .bn-status { font-size: 17px; } }

/* ===================== Jonny's Banana ===================== */
.ba-stage { position: relative; height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(ellipse at 50% 0%, rgba(250, 204, 21, .18), transparent 55%), linear-gradient(180deg, #0b1f1a, #08130f 70%, #050a08); }
.ba-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#baCash { margin-top: 8px; }
@media (max-width: 760px) { .ba-stage { height: 380px; } }
.ba-lvl { grid-template-columns: repeat(3, 1fr); gap: 6px; } .ba-lvl button { padding-left: 4px; padding-right: 4px; font-size: 13px; }

/* ===================== Volcano ===================== */
.vc-stage { position: relative; height: 580px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; background: #0a0610; }
.vc-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vc-stage.shake-hard { animation: shake .45s 2; }
.vc-meter { height: 14px; border-radius: 999px; background: var(--panel3); border: 1px solid var(--line); overflow: hidden; }
.vc-meter > div { height: 100%; width: 2%; border-radius: 999px; transition: width .3s, background .3s; box-shadow: 0 0 12px currentColor; }
@media (max-width: 760px) { .vc-stage { height: 500px; } }

/* 'Installeer app'-knop in de topbalk */
#installBtn.pulse { border-color: var(--pink); animation: installPulse 1.6s ease-in-out infinite; }
@keyframes installPulse { 50% { box-shadow: 0 0 14px var(--pink); } }

/* ===================== Hoeveel kan Noah aan? ===================== */
.nh-stage { position: relative; aspect-ratio: 1000 / 680; max-height: 72vh; width: 100%; border-radius: var(--r); overflow: hidden; border: 2px solid #19c26b; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  background: #123524; box-shadow: 0 0 30px rgba(25,194,107,.25); }
.nh-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nh-pick label b { color: var(--gold); }
.nh-row { display: flex; align-items: center; gap: 8px; }
.nh-row input[type=range] { flex: 1; accent-color: #19c26b; height: 28px; }
.nh-row button { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; font-size: 22px; font-weight: 900; color: #06301c; background: radial-gradient(circle at 35% 30%, #c8ffd8, #19c26b); box-shadow: 0 3px 0 #0a5a30; cursor: pointer; }
.nh-row button:disabled { opacity: .4; cursor: default; }
@media (max-width: 760px) { .nh-stage { aspect-ratio: 1000 / 700; } }
.nh-stage .result-banner { top: auto; bottom: 20%; transform: translate(-50%, 0) scale(.6); }
.nh-stage .result-banner.show { transform: translate(-50%, 0) scale(1); }
.nh-mode { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.nh-mode button { padding: 10px 4px; font-size: 13px; }
.nh-pick.nh-off { opacity: .35; pointer-events: none; }

/* ===================== Box Battle ===================== */
.bbx, .bbx-overlay, .bbx-jackpot { --bbo: #ff9f1c; --bbo2: #ffd166; }
.bbx { display: grid; gap: 14px; }
.bbx h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 12px; }
.bbx h3 > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bbo); color: #1a0f00; font-weight: 900; font-size: 15px; }
.bbx h4 { font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
/* kop */
.bbx-hero { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: 20px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(-45deg, rgba(255,159,28,.07) 0 14px, transparent 14px 28px), radial-gradient(circle at 10% 50%, rgba(255,159,28,.25), transparent 50%), linear-gradient(135deg, #241a10, #120d08);
  border: 1px solid rgba(255,159,28,.35); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.bbx-logo { display: flex; align-items: center; gap: 12px; }
.bbx-logo > span { font-size: 44px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); animation: bbxBob 3s ease-in-out infinite; }
.bbx-logo b { display: block; font: 900 clamp(24px, 4vw, 34px)/1 system-ui; letter-spacing: .04em; background: linear-gradient(180deg, #fff3c4, #ff9f1c 60%, #c2410c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.5)); }
.bbx-logo small { color: #e7c99a; font-size: 13px; }
.bbx-bank { display: flex; gap: 8px; flex-wrap: wrap; }
.bbx-bank > div { background: rgba(0,0,0,.45); border: 1px solid rgba(255,209,102,.35); border-radius: 14px; padding: 6px 14px; display: flex; flex-direction: column; min-width: 96px; }
.bbx-bank small { font-size: 11px; color: #c9b593; } .bbx-bank b { font-size: 18px; color: var(--bbo2); font-variant-numeric: tabular-nums; }
/* tabs */
.bbx-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.bbx-tabs button { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: 12px; background: transparent; color: #d6cbbb; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.bbx-tabs button span { font-size: 16px; }
.bbx-tabs button.on { background: linear-gradient(180deg, var(--bbo2), var(--bbo)); color: #1a0f00; box-shadow: 0 4px 14px rgba(255,159,28,.35); }
.bbx-tabs button i { font-style: normal; background: #ef4444; color: #fff; border-radius: 999px; padding: 0 7px; font-size: 12px; animation: bbxPulse 1.4s ease-in-out infinite; }
.bbx-section, .bbx-panel { border-radius: 20px; padding: 18px; background: linear-gradient(180deg, #1c1813, #120f0b); border: 1px solid rgba(255,255,255,.07); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
/* lobby */
.bbx-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 12px; }
.bbx-cat { position: relative; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; border: 2px solid rgba(255,255,255,.08); color: #fff; cursor: pointer; overflow: hidden;
  background: linear-gradient(160deg, #3a2a18, #17110a); transition: transform .18s, border-color .2s, box-shadow .2s; }
.bbx-cat::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px); pointer-events: none; }
.bbx-cat:hover:not(:disabled) { transform: translateY(-3px); }
.bbx-cat.on { border-color: var(--bbo); box-shadow: 0 0 0 3px rgba(255,159,28,.25), 0 12px 26px rgba(255,159,28,.25); }
.bbx-cat-art { font-size: 40px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.bbx-cat b { font-size: 15px; letter-spacing: .05em; } .bbx-cat > small { color: #cdb995; font-size: 12px; margin-bottom: 4px; }
.bbx-cat-row { display: flex; justify-content: space-between; font-size: 12px; color: #bfae92; } .bbx-cat-row b { font-size: 12px; color: var(--bbo2); letter-spacing: 0; }
.bbx-cat:disabled { cursor: not-allowed; filter: grayscale(.85) brightness(.6); }
.bbx-lock { margin-top: 6px; font-size: 12px; font-weight: 800; color: #fca5a5; }
.bbx-cat.old { background: linear-gradient(160deg, #4a3520, #1c140b); } .bbx-cat.ware { background: linear-gradient(160deg, #2c333c, #11151a); }
.bbx-cat.lux { background: linear-gradient(160deg, #4a3a0c, #1a1203); } .bbx-cat.vault { background: linear-gradient(160deg, #3a1250, #110618); }
.bbx-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .bbx-modes { grid-template-columns: 1fr; } }
.bbx-modes button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; align-items: center; padding: 14px 16px; border-radius: 18px; border: 2px solid rgba(255,255,255,.08); background: rgba(0,0,0,.3); color: #fff; cursor: pointer; }
.bbx-modes button span { grid-row: span 2; font-size: 34px; } .bbx-modes button b { font-size: 16px; } .bbx-modes button small { color: #bfae92; font-size: 12px; }
.bbx-modes button.on { border-color: var(--bbo); background: rgba(255,159,28,.12); }
.bbx-modebox { margin-top: 14px; display: grid; gap: 12px; }
.bbx-botrow { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bbx-botrow span { display: flex; flex-direction: column; align-items: center; font-size: 26px; padding: 6px 10px; border-radius: 12px; background: rgba(0,0,0,.3); } .bbx-botrow small { font-size: 10px; color: #bfae92; }
.bbx-go { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 20px; border: 0; border-radius: 16px; cursor: pointer; overflow: hidden;
  font: 900 18px system-ui; letter-spacing: .05em; color: #1a0f00; background: linear-gradient(180deg, #ffe08a, var(--bbo) 55%, #e8590c); box-shadow: 0 6px 0 #9a3412, 0 12px 24px rgba(255,159,28,.35); transition: transform .1s, box-shadow .1s; }
.bbx-go small { font-size: 12px; opacity: .75; font-weight: 800; }
.bbx-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size: 250% 100%; animation: bbxShine 2.6s linear infinite; }
.bbx-go:active { transform: translateY(4px); box-shadow: 0 2px 0 #9a3412; }
.bbx-go:disabled { filter: grayscale(1) brightness(.6); cursor: not-allowed; }
.bbx-go.sm { padding: 10px 14px; font-size: 14px; box-shadow: 0 4px 0 #9a3412; }
.bbx-live { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .bbx-live { grid-template-columns: 1fr; } }
.bbx-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.bbx-toggle button { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 14px; border: 2px solid rgba(255,255,255,.08); background: rgba(0,0,0,.3); color: #fff; font-weight: 800; cursor: pointer; }
.bbx-toggle button small { color: #bfae92; font-weight: 600; font-size: 11px; } .bbx-toggle button.on { border-color: var(--bbo); background: rgba(255,159,28,.12); }
.bbx-codein { text-transform: uppercase; font: 900 20px monospace; letter-spacing: .3em; text-align: center; }
.bbx-rooms { display: grid; gap: 6px; }
.bbx-room { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.07); }
.bbx-room > span { font-size: 24px; } .bbx-room small { display: block; color: #bfae92; font-size: 12px; }
.bbx-code { text-align: center; margin: 6px 0 14px; } .bbx-code small { display: block; color: #bfae92; }
.bbx-code b { font: 900 46px monospace; letter-spacing: .3em; color: var(--bbo2); text-shadow: 0 0 20px rgba(255,159,28,.5); }
.bbx-hostbar { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 14px; }
.bbx-wait { text-align: center; margin-top: 14px; color: #e7c99a; animation: bbxPulse 1.6s ease-in-out infinite; }
/* veiling: hal */
.bbx-arena { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; }
@media (max-width: 980px) { .bbx-arena { grid-template-columns: 1fr; } }
.bbx-hall { position: relative; border-radius: 24px; overflow: hidden; padding: 14px 14px 16px; display: grid; gap: 12px;
  background: radial-gradient(ellipse at 50% 38%, rgba(255,209,102,.16), transparent 55%), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 3px, transparent 3px 70px), linear-gradient(180deg, #2a241d, #171310 55%, #0e0c0a);
  border: 3px solid #3a332b; box-shadow: inset 0 0 80px rgba(0,0,0,.6), 0 14px 34px rgba(0,0,0,.4); }
.bbx-hall::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, #f5c542 0 14px, #1a1714 14px 28px); opacity: .85; }
.bbx-lights { position: absolute; top: 12px; left: 0; right: 0; display: flex; justify-content: space-around; pointer-events: none; }
.bbx-lights i { width: 46px; height: 10px; border-radius: 0 0 10px 10px; background: #fff7d6; box-shadow: 0 0 30px 10px rgba(255,240,190,.35); }
.bbx-auctioneer { display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; z-index: 1; }
.bbx-host { font-size: 46px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); animation: bbxGavel 2.6s ease-in-out infinite; transform-origin: 60% 80%; }
.bbx-bubble { position: relative; flex: 1; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff8e6; color: #1a0f00; font-weight: 800; font-size: 15px; min-height: 42px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.bbx-bubble.pop { animation: bbxPop .35s cubic-bezier(.2,1.6,.4,1); }
.bbx-lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; z-index: 1; }
.bbx-mini { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 4px; border-radius: 12px; background: rgba(0,0,0,.35); border: 2px solid transparent; transition: .25s; }
.bbx-mini span { font: 800 11px monospace; color: #bfae92; } .bbx-mini em { font-style: normal; font-weight: 900; font-size: 11px; min-height: 14px; }
.bbx-mini.next { opacity: .5; } .bbx-mini.live { border-color: var(--bbo); background: rgba(255,159,28,.15); transform: translateY(-3px); } .bbx-mini.live em { color: var(--bbo2); animation: bbxPulse 1s infinite; }
.bbx-mini.sold { opacity: .45; } .bbx-mini.sold em { color: #fca5a5; } .bbx-mini.unsold { opacity: .35; }
.bbx-mini.won { border-color: #22c55e; background: rgba(34,197,94,.15); } .bbx-mini.won em { color: #86efac; }
/* veilingblok */
.bbx-block { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px; align-items: center; padding: 16px; border-radius: 22px; z-index: 1;
  background: radial-gradient(ellipse at 28% 60%, rgba(255,240,190,.12), transparent 60%), rgba(0,0,0,.35); border: 2px solid rgba(255,209,102,.18); transition: border-color .2s, box-shadow .2s; }
@media (max-width: 560px) { .bbx-block { grid-template-columns: 1fr; } }
.bbx-block.intro .bbx-pedestal { animation: bbxDrop .7s cubic-bezier(.2,1.5,.4,1); }
.bbx-block.intro .bbx-info { animation: bbxIn .5s .15s both; }
.bbx-block.hot { border-color: #ef4444; animation: bbxHot .5s ease-in-out infinite; }
.bbx-block.lead { border-color: #22c55e; box-shadow: 0 0 30px rgba(34,197,94,.3); }
.bbx-block.flash { box-shadow: 0 0 40px rgba(255,209,102,.7); }
.bbx-spot { position: absolute; left: 0; top: -40px; width: 56%; height: 120%; background: conic-gradient(from 180deg at 50% 0, transparent 160deg, rgba(255,245,210,.12) 172deg, rgba(255,245,210,.18) 180deg, rgba(255,245,210,.12) 188deg, transparent 200deg); pointer-events: none; }
.bbx-pedestal { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 210px; }
.bbx-plinth { width: 70%; height: 22px; margin-top: -4px; border-radius: 50%; background: radial-gradient(ellipse, #4a4038, #1a1612 70%); box-shadow: 0 10px 20px rgba(0,0,0,.6); }
.bbx-info { display: grid; gap: 10px; justify-items: center; text-align: center; }
.bbx-lotname { font: 900 20px/1.15 system-ui; color: #fff; } .bbx-lotname small { display: block; font-size: 11px; letter-spacing: .2em; color: var(--bbo); margin-bottom: 2px; }
.bbx-tax { display: grid; gap: 1px; padding: 6px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,209,102,.35); }
.bbx-tax span { font-size: 11px; color: #bfae92; } .bbx-tax b { font-size: 18px; color: var(--bbo2); } .bbx-tax small { font-size: 11px; color: #a89a84; }
.bbx-clock { position: relative; width: 112px; height: 112px; }
.bbx-clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bbx-clock circle { fill: none; stroke-width: 10; } .bbx-clock .bg { stroke: rgba(255,255,255,.08); }
.bbx-clock .fg { stroke: #22c55e; stroke-linecap: round; stroke-dasharray: 327; transition: stroke-dashoffset .12s linear, stroke .3s; filter: drop-shadow(0 0 6px currentColor); }
.bbx-clock-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bbx-clock-t b { font: 900 32px/1 system-ui; font-variant-numeric: tabular-nums; } .bbx-clock-t small { font-size: 11px; color: #bfae92; }
.bbx-block.hot .bbx-clock-t b { color: #fca5a5; animation: bbxPulse .5s infinite; }
.bbx-highbid { display: grid; gap: 2px; justify-items: center; }
.bbx-highbid small { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #bfae92; }
.bbx-highbid > b { font: 900 34px/1 system-ui; color: var(--bbo2); font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(255,159,28,.5); }
.bbx-block.flash .bbx-highbid > b { animation: bbxPop .3s; }
.bbx-highbid > span { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.bbx-sold { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; border-radius: 22px; z-index: 3; }
.bbx-sold.show { opacity: 1; background: rgba(10,8,6,.7); animation: bbxIn .2s; }
.bbx-sold span { font-size: 64px; animation: bbxSlam .5s cubic-bezier(.2,1.6,.4,1); transform-origin: 70% 80%; }
.bbx-sold b { font: 900 46px system-ui; letter-spacing: .08em; color: #ef4444; transform: rotate(-8deg); border: 5px solid currentColor; border-radius: 12px; padding: 2px 16px; animation: bbxStamp .45s .15s cubic-bezier(.2,1.6,.4,1) both; }
.bbx-sold.me b { color: #22c55e; } .bbx-sold.none b { color: #a1a1aa; }
.bbx-sold small { margin-top: 8px; font-weight: 800; color: #fff; }
/* biedbalk */
.bbx-bidbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .7fr); gap: 10px; z-index: 1; }
@media (max-width: 560px) { .bbx-bidbar { grid-template-columns: 1fr; } }
.bbx-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bbx-chips button { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; border-radius: 14px; border: 2px solid rgba(255,209,102,.3); background: linear-gradient(180deg, #2c241a, #1a150f); color: #fff; cursor: pointer; transition: transform .1s, border-color .2s; }
.bbx-chips button small { font-size: 11px; color: #bfae92; font-weight: 800; } .bbx-chips button b { font-size: 15px; color: var(--bbo2); font-variant-numeric: tabular-nums; }
.bbx-chips button:not(:disabled):hover { border-color: var(--bbo); transform: translateY(-2px); }
.bbx-chips button:active:not(:disabled) { transform: scale(.94); }
.bbx-chips button:disabled { opacity: .35; cursor: not-allowed; }
.bbx-bigbid { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; border-radius: 16px; padding: 10px; cursor: pointer; color: #1a0f00;
  background: linear-gradient(180deg, #ffe08a, var(--bbo) 55%, #e8590c); box-shadow: 0 6px 0 #9a3412, 0 0 30px rgba(255,159,28,.35); animation: bbxBid 1.4s ease-in-out infinite; transition: transform .08s; }
.bbx-bigbid small { font-weight: 900; letter-spacing: .2em; font-size: 12px; } .bbx-bigbid b { font: 900 26px/1.1 system-ui; font-variant-numeric: tabular-nums; }
.bbx-bigbid:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 1px 0 #9a3412; }
.bbx-bigbid:disabled { animation: none; filter: grayscale(.9) brightness(.55); cursor: not-allowed; }
.bbx-bigbid.lead { background: linear-gradient(180deg, #86efac, #22c55e 55%, #15803d); box-shadow: 0 6px 0 #14532d, 0 0 30px rgba(34,197,94,.4); filter: none; opacity: 1; }
/* zitplaatsen */
.bbx-seats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; z-index: 1; }
.bbx-seats.lobby { margin: 6px 0; }
.bbx-seat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 16px; background: rgba(0,0,0,.4); border: 2px solid rgba(255,255,255,.06); text-align: center; transition: border-color .2s, transform .2s; }
.bbx-seat.me { border-color: rgba(255,209,102,.6); }
.bbx-seat.leading { border-color: #22c55e; transform: translateY(-4px); box-shadow: 0 8px 18px rgba(34,197,94,.25); }
.bbx-seat.empty { opacity: .4; border-style: dashed; }
.bbx-seat-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #fff; background: #444; border: 3px solid rgba(255,255,255,.2); box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.bbx-seat b { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bbx-seat small { font-size: 10px; color: #bfae92; }
.bbx-seat-won { font-size: 11px; font-weight: 800; color: var(--bbo2); } .bbx-seat-won i { font-style: normal; }
.bbx-say { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) scale(0); padding: 3px 10px; border-radius: 999px; background: var(--bbo2); color: #1a0f00; font-weight: 900; font-size: 13px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.4); opacity: 0; }
.bbx-say.show { animation: bbxSay 1.4s ease-out; }
/* zijkant */
.bbx-side { display: grid; gap: 14px; align-content: start; }
.bbx-feed { display: grid; gap: 5px; max-height: 360px; overflow-y: auto; font-size: 13px; }
.bbx-feed > div { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 10px; background: rgba(255,255,255,.04); }
.bbx-feed > div:first-child { animation: bbxIn .3s; background: rgba(255,159,28,.12); }
.bbx-feed > div.me { outline: 1px solid rgba(255,209,102,.5); } .bbx-feed em { font-style: normal; color: #a89a84; font-size: 11px; } .bbx-feed b { color: var(--bbo2); }
.bbx-endcard { text-align: center; display: grid; gap: 8px; animation: bbxDrop .6s cubic-bezier(.2,1.5,.4,1); }
.bbx-endicon { font-size: 54px; }
/* doos (pure CSS, met deksel dat open kan) */
.bx { --c1: #e1a964; --c2: #b97a3a; --edge: #6b4520; --tape: rgba(214,186,128,.9); position: relative; width: 104px; height: 86px; margin-top: 18px; }
.bx-body { position: absolute; inset: 0; border-radius: 6px; border: 3px solid var(--edge); background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 20%, transparent 80%, rgba(0,0,0,.22)), linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 -12px 0 rgba(0,0,0,.12); overflow: hidden; }
.bx-tape { position: absolute; left: 50%; top: 0; bottom: 0; width: 16%; transform: translateX(-50%); background: var(--tape); border-left: 1px solid rgba(0,0,0,.15); border-right: 1px solid rgba(0,0,0,.15); }
.bx-label { position: absolute; right: 8%; bottom: 10%; font-size: 22px; transform: rotate(-8deg); filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.bx-scuff { position: absolute; left: 10%; top: 30%; width: 24%; height: 14%; border-radius: 50%; background: rgba(0,0,0,.08); }
.bx-lid { position: absolute; left: -7%; right: -7%; top: -16%; height: 26%; z-index: 2; border-radius: 5px; border: 3px solid var(--edge); background: linear-gradient(180deg, #f0be7e, var(--c1)); transform-origin: 6% 100%; transition: transform .7s cubic-bezier(.3,1.6,.5,1); }
.bx-lid i { position: absolute; left: 50%; top: 0; bottom: 0; width: 15%; transform: translateX(-50%); background: var(--tape); }
.bx-shadow { position: absolute; left: 6%; right: 6%; bottom: -12px; height: 12px; border-radius: 50%; background: rgba(0,0,0,.5); filter: blur(4px); z-index: -1; }
.bx.small { width: 82px; height: 64px; }
.bx.big { width: 118px; height: 96px; }
.bx.old { --c1: #b1844f; --c2: #7c5732; --tape: rgba(170,150,110,.85); filter: saturate(.85); }
.bx.lux { --c1: #4a3522; --c2: #22170d; --edge: #f5c542; --tape: linear-gradient(180deg, #ffe08a, #b8860b); } .bx.lux .bx-lid { background: linear-gradient(180deg, #5a4129, #2a1c10); }
.bx.jack { --c1: #2a1640; --c2: #0d0618; --edge: #ff2bd6; --tape: linear-gradient(180deg, #ff7be6, #a21caf); box-shadow: 0 0 26px rgba(255,43,214,.45); border-radius: 8px; } .bx.jack .bx-lid { background: linear-gradient(180deg, #3a1d58, #1a0c2c); }
.bx.friends { --c1: #4ade80; --c2: #15803d; --edge: #064e3b; --tape: rgba(255,255,255,.65); } .bx.friends .bx-lid { background: linear-gradient(180deg, #86efac, #22c55e); }
.bx.tiny { transform: scale(.42); margin: -16px -24px -20px; }
.bx.hero { transform: scale(1.55); margin: 40px 0 30px; animation: bbxFloat 3.2s ease-in-out infinite; }
.bx.shake { animation: bbxShake .9s; }
.bx.open .bx-lid { transform: rotate(-118deg) translate(-4px, -10px); }
.bx.open::after { content: ''; position: absolute; left: 0; right: 0; top: -60%; height: 90%; background: radial-gradient(ellipse at 50% 100%, rgba(255,240,180,.95), transparent 70%); animation: bbxRise 1s ease-out both; }
/* mijn dozen */
.bbx-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.bbx-shelfbox { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 16px 12px; border-radius: 20px; background: linear-gradient(180deg, #221c15, #120f0b); border: 1px solid rgba(255,255,255,.07); border-bottom: 6px solid #3a2a18; }
.bbx-shelfart { height: 120px; display: grid; place-items: center; } .bbx-shelfbox > small { color: #bfae92; font-size: 12px; }
.bbx-empty { text-align: center; padding: 40px; border-radius: 20px; background: rgba(0,0,0,.3); } .bbx-empty > div { font-size: 64px; }
/* openen */
.bbx-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 12px; background: radial-gradient(circle at 50% 30%, rgba(255,159,28,.18), rgba(5,4,3,.94) 60%); backdrop-filter: blur(6px); animation: bbxIn .25s; }
.bbx-overlay.out { opacity: 0; transition: opacity .25s; }
.bbx-open { position: relative; width: min(920px, 100%); max-height: 94vh; overflow-y: auto; display: grid; gap: 14px; padding: 18px; border-radius: 26px; background: linear-gradient(180deg, #221b14, #0f0c09); border: 1px solid rgba(255,209,102,.25); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.bbx-x { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.5); color: #fff; font-size: 16px; cursor: pointer; z-index: 5; }
.bbx-open-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-right: 44px; }
.bbx-open-head b { font-size: 20px; display: block; } .bbx-open-head small { color: #bfae92; }
.bbx-open-mini { width: 60px; display: grid; place-items: center; }
.bbx-open-tally { text-align: right; } .bbx-open-tally small { display: block; font-size: 11px; color: #bfae92; } .bbx-open-tally b { font: 900 26px system-ui; color: var(--bbo2); font-variant-numeric: tabular-nums; }
.bbx-reelwrap { min-height: 170px; display: grid; }
.bbx-unbox { display: grid; place-items: center; gap: 10px; min-height: 260px; }
.bbx-unbox .bbx-go { max-width: 320px; }
.bbx-reel { position: relative; height: 150px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #0b0907, #1a140e 50%, #0b0907); border: 3px solid #3a2f22; box-shadow: inset 0 0 40px rgba(0,0,0,.8); }
.bbx-reel.idle { display: grid; place-items: center; } .bbx-reel-hint { color: #e7c99a; font-weight: 800; animation: bbxPulse 1.6s infinite; text-align: center; padding: 0 14px; }
.bbx-track { display: flex; height: 100%; align-items: center; will-change: transform; padding-left: 0; }
.bbx-cell { position: relative; flex: none; width: 104px; height: 118px; margin: 0 4px; border-radius: 14px; display: grid; place-items: center; font-size: 52px;
  background: radial-gradient(circle at 50% 35%, var(--rg), transparent 70%), linear-gradient(180deg, #2a2219, #15110c); border: 2px solid rgba(255,255,255,.06); border-bottom: 6px solid var(--rc); }
.bbx-cell span { filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); }
.bbx-cell.win { border-color: var(--rc); box-shadow: 0 0 34px var(--rg), inset 0 0 20px var(--rg); animation: bbxWin .6s cubic-bezier(.2,1.6,.4,1); z-index: 2; }
.bbx-marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: linear-gradient(180deg, var(--bbo2), var(--bbo)); box-shadow: 0 0 16px var(--bbo); z-index: 3; }
.bbx-marker::before, .bbx-marker::after { content: ''; position: absolute; left: -9px; border: 11px solid transparent; }
.bbx-marker::before { top: -2px; border-top-color: var(--bbo2); } .bbx-marker::after { bottom: -2px; border-bottom-color: var(--bbo2); }
.bbx-fade { position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; } .bbx-fade.l { left: 0; background: linear-gradient(90deg, #0b0907, transparent); } .bbx-fade.r { right: 0; background: linear-gradient(270deg, #0b0907, transparent); }
.bbx-reel.r3 { border-color: #a855f7; box-shadow: 0 0 30px rgba(168,85,247,.5); } .bbx-reel.r4 { border-color: #f59e0b; box-shadow: 0 0 40px rgba(245,158,11,.6); } .bbx-reel.r5 { border-color: #ff2bd6; box-shadow: 0 0 60px rgba(255,43,214,.7); }
.bbx-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.bbx-open-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; align-items: center; }
.bbx-result { grid-column: 1 / -1; display: grid; justify-items: center; padding: 10px; border-radius: 16px; animation: bbxDrop .6s cubic-bezier(.2,1.5,.4,1); }
.bbx-result small { font-weight: 900; letter-spacing: .2em; } .bbx-result b { font: 900 42px/1.1 system-ui; } .bbx-result span { color: #bfae92; font-size: 13px; }
.bbx-result.win { background: rgba(34,197,94,.12); border: 2px solid rgba(34,197,94,.5); } .bbx-result.win b, .bbx-result.win small { color: #4ade80; }
.bbx-result.loss { background: rgba(239,68,68,.1); border: 2px solid rgba(239,68,68,.4); } .bbx-result.loss b, .bbx-result.loss small { color: #f87171; }
/* itemkaart */
.bbx-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 12px 8px 10px; border-radius: 16px; color: #fff; min-height: 156px; overflow: hidden;
  background: radial-gradient(circle at 50% 28%, var(--rg, transparent), transparent 65%), linear-gradient(180deg, #241d16, #120e0a); border: 2px solid rgba(255,255,255,.07); border-bottom: 5px solid var(--rc, #444); }
.bbx-item-art { font-size: 44px; height: 54px; display: grid; place-items: center; filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); }
.bbx-item b { font-size: 12.5px; line-height: 1.2; } .bbx-item small { font-size: 10px; font-weight: 900; color: var(--rc); text-transform: uppercase; letter-spacing: .08em; }
.bbx-item-v { margin-top: auto; font-weight: 900; color: var(--bbo2); font-variant-numeric: tabular-nums; }
.bbx-item.shown { animation: bbxCard .55s cubic-bezier(.2,1.4,.4,1); }
.bbx-item.r3.shown, .bbx-item.r4.shown, .bbx-item.r5.shown { box-shadow: 0 0 22px var(--rg); border-color: var(--rc); }
.bbx-item.r4.shown::after, .bbx-item.r5.shown::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 250% 100%; animation: bbxShine 2.2s linear infinite; pointer-events: none; }
.bbx-item.closed { --rc: #4a3d2d; cursor: pointer; background: repeating-linear-gradient(45deg, #2a2219 0 10px, #231c15 10px 20px); transition: transform .15s, border-color .2s; }
.bbx-item.closed:hover:not(:disabled) { transform: translateY(-3px) rotate(-1deg); border-color: var(--bbo); }
.bbx-item.closed:disabled { opacity: .6; cursor: wait; }
.bbx-item.unknown { filter: grayscale(1) brightness(.4); } .bbx-item.unknown .bbx-item-art { filter: blur(4px); }
.bbx-item.found .bbx-item-art::after { content: '✓'; position: absolute; top: 6px; right: 8px; font-size: 13px; color: #4ade80; font-weight: 900; }
.bbx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(134px, 1fr)); gap: 10px; }
.bbx-grid.index { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.bbx-invcell { display: grid; gap: 4px; }
.bbx-rfilter { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.bbx-rfilter button { padding: 6px 12px; border-radius: 999px; border: 2px solid var(--rc, rgba(255,255,255,.2)); background: transparent; color: var(--rc, #fff); font-weight: 800; font-size: 12px; cursor: pointer; }
.bbx-rfilter button.on { background: var(--rc, var(--bbo)); color: #111; }
.bbx-progress { height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; margin: 4px 0 6px; } .bbx-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--bbo), var(--bbo2)); }
.bbx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.bbx-kpi { display: grid; gap: 2px; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, #221c15, #120f0b); border: 1px solid rgba(255,255,255,.07); }
.bbx-kpi span { font-size: 22px; } .bbx-kpi small { color: #bfae92; font-size: 12px; } .bbx-kpi b { font: 900 24px system-ui; }
.bbx-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, var(--fc), transparent 70%); opacity: 0; animation: bbxFlash .9s ease-out; z-index: 4; border-radius: 26px; }
.bbx-jackpot { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(25,0,25,.88); cursor: pointer; animation: bbxIn .3s; overflow: hidden; }
.bbx-jackpot.out { opacity: 0; transition: opacity .4s; }
.bbx-jp { position: relative; text-align: center; display: grid; gap: 6px; animation: bbxSlam .8s cubic-bezier(.2,1.6,.4,1); }
.bbx-jp-t { font: 900 clamp(48px, 11vw, 100px)/1 system-ui; letter-spacing: .06em; color: #ffe08a; text-shadow: 0 0 40px #ff2bd6, 0 8px 0 #a21caf; animation: bbxPulse .7s ease-in-out infinite; }
.bbx-jp-e { font-size: 130px; animation: bbxSpinY 2.4s linear infinite; }
.bbx-jp-n { font-size: 24px; font-weight: 900; } .bbx-jp-v { font: 900 48px system-ui; color: #ffe08a; }
@keyframes bbxBob { 50% { transform: translateY(-5px) rotate(-4deg); } }
@keyframes bbxGavel { 0%, 78%, 100% { transform: rotate(0); } 86% { transform: rotate(-22deg); } 92% { transform: rotate(6deg); } }
@keyframes bbxPop { 50% { transform: scale(1.06); } }
@keyframes bbxPulse { 50% { opacity: .55; } }
@keyframes bbxShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes bbxDrop { from { opacity: 0; transform: translateY(-40px) scale(.9); } }
@keyframes bbxIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes bbxHot { 50% { box-shadow: 0 0 34px rgba(239,68,68,.55); } }
@keyframes bbxSlam { from { opacity: 0; transform: scale(2.6) rotate(-20deg); } }
@keyframes bbxStamp { from { opacity: 0; transform: rotate(-8deg) scale(2.4); } }
@keyframes bbxBid { 50% { box-shadow: 0 6px 0 #9a3412, 0 0 46px rgba(255,159,28,.6); } }
@keyframes bbxSay { 0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.5); } 15% { opacity: 1; transform: translateX(-50%) translateY(-6px) scale(1.15); } 30% { transform: translateX(-50%) translateY(-6px) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-18px) scale(1); } }
@keyframes bbxFloat { 50% { transform: scale(1.55) translateY(-8px) rotate(-1.5deg); } }
@keyframes bbxShake { 10%, 50%, 90% { transform: scale(1.55) rotate(-5deg); } 30%, 70% { transform: scale(1.65) rotate(5deg); } }
@keyframes bbxRise { from { opacity: 0; transform: scaleY(.2); } }
@keyframes bbxWin { from { transform: scale(.8); } 60% { transform: scale(1.15); } to { transform: scale(1.06); } }
@keyframes bbxCard { from { opacity: 0; transform: translateY(-30px) rotateX(70deg) scale(.8); } }
@keyframes bbxFlash { 20% { opacity: .9; } }
@keyframes bbxSpinY { to { transform: rotateY(360deg); } }
/* Box Battle v3: plaatjes, doos-zeldzaamheid, overslaan, admin-blik */
.bbx-pic { display: inline-block; width: 58px; height: 58px; background: linear-gradient(160deg, #fff 0%, var(--rc, #ddd) 55%, color-mix(in srgb, var(--rc, #888) 55%, #000) 100%);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.bbx-pic.emo { background: none; -webkit-mask-image: none; mask-image: none; font-size: 44px; line-height: 58px; text-align: center; }
.bbx-cell .bbx-pic { width: 70px; height: 70px; }
.bbx-pic.big { width: 170px; height: 170px; }
.bbx-item.unknown .bbx-pic { background: #777; }
.bbx-rar { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 900 10px system-ui; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; color: #111; background: var(--rc); box-shadow: 0 0 12px var(--rc); }
.bbx-lotname .bbx-rar { display: table; margin: 6px auto 0; }
.bbx-mini { border-bottom: 3px solid var(--rc, transparent); }
.bbx-skip { justify-self: center; z-index: 1; padding: 8px 16px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.25); background: rgba(0,0,0,.35); color: #d6cbbb; font-weight: 800; font-size: 13px; cursor: pointer; }
.bbx-skip:hover:not(:disabled) { border-color: var(--bbo); color: #fff; }
.bbx-skip:disabled { opacity: .35; cursor: not-allowed; }
.bbx-peek { position: absolute; left: 12px; bottom: 10px; font: 800 12px system-ui; color: #fca5a5; z-index: 2; }
/* admin-paneel */
.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 10px 0; }
.adm-grid .btn { width: 100%; }
.adm-sec { margin-top: 12px; font-weight: 900; color: #fca5a5; letter-spacing: .05em; font-size: 13px; }
.adm-ribbon { position: fixed; left: 50%; bottom: 74px; transform: translateX(-50%); z-index: 70; padding: 8px 16px; border-radius: 999px; border: 2px solid #ef4444; background: rgba(40,6,6,.92); color: #fecaca; font: 900 12px system-ui; letter-spacing: .04em; cursor: pointer; box-shadow: 0 0 20px rgba(239,68,68,.45); animation: bbxPulse 1.8s ease-in-out infinite; white-space: nowrap; }
.adm-row { display: flex; gap: 8px; margin: 8px 0 0; } .adm-row .input { min-width: 0; }
.adm-grid.sm { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }

/* ---------- Mark's Type 💘 ---------- */
.mk-intro { display: flex; align-items: center; gap: 18px; }
.mk-intro h2 { font: 700 26px/1.1 Georgia, serif; margin: 8px 0 4px; }
.mk-intro p { margin: 0; max-width: 520px; }
.mk-mark { width: 120px; flex: none; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .45)); }
.mk-mark svg, .mk-face svg { display: block; width: 100%; height: auto; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.mk-girl { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 14px 18px; cursor: pointer;
  color: var(--text); font: inherit; border-radius: 20px; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0%, var(--mkbg), transparent 70%), linear-gradient(180deg, var(--panel2), var(--panel));
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.mk-girl:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.mk-girl.on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(245, 197, 66, .3); }
.mk-face { width: 120px; transition: transform .3s; }
.mk-girl:hover .mk-face, .mk-girl.on .mk-face { transform: scale(1.06); }
.mk-girl h3 { font: 700 22px/1.1 Georgia, serif; margin: 4px 0 0; }
.mk-girl h3 small { font: 600 14px system-ui, sans-serif; }
.mk-girl p { margin: 0; font-size: 13px; color: #ddd6f3; min-height: 3.6em; }
.mk-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 4px; }
.mk-tags .pill { font-size: 11px; padding: 3px 8px; }
.mk-check { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900;
  background: var(--gold-grad); color: #2a1a00; opacity: 0; transform: scale(.5); transition: .2s; }
.mk-girl.on .mk-check { opacity: 1; transform: scale(1); }
.mk-bar { position: sticky; bottom: 12px; margin-top: 18px; display: flex; align-items: center; gap: 12px; z-index: 5; backdrop-filter: blur(8px); }
.mk-bar .btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
@media (max-width: 520px) {
  .mk-intro { flex-direction: column; text-align: center; }
  .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mk-girl { padding: 12px 8px 14px; }
  .mk-face { width: 92px; }
  .mk-girl p { font-size: 12px; }
  .mk-grid { padding-bottom: 76px; }
  .mk-bar { position: fixed; left: 12px; right: 12px; bottom: calc(74px + var(--safe-b)); margin: 0; padding: 12px 14px; background: rgba(19, 16, 29, .92); }
}
/* ---------- Mines ---------- */
.mn-stage { position: relative; border-radius: var(--r); border: 1px solid var(--line); padding: 18px; background: radial-gradient(ellipse at 50% 0%, rgba(103, 232, 249, .16), transparent 60%), linear-gradient(180deg, #0a1a22, #060d12); }
.mn-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 520px; margin: 0 auto; }
.mn-cell { aspect-ratio: 1; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, #24384a, #172634); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .35); font-size: clamp(22px, 5vw, 40px); cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.mn-cell:hover:not(.open) { transform: translateY(-3px); background: linear-gradient(180deg, #2e4a62, #1d3243); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .35), 0 0 16px rgba(103, 232, 249, .35); }
.mn-cell.flip { animation: mnFlip .17s ease-in; }
.mn-cell.wait { pointer-events: none; }
.mn-cell.open { cursor: default; box-shadow: none; animation: pop .3s; }
.mn-cell.gem { background: radial-gradient(circle, rgba(103, 232, 249, .35), #0c2a33 70%); border-color: rgba(103, 232, 249, .55); }
.mn-cell.bomb { background: radial-gradient(circle, rgba(239, 68, 68, .3), #2a0c0c 70%); border-color: rgba(239, 68, 68, .45); }
.mn-cell.ghost { opacity: .4; animation: none; }
.mn-cell.hit { opacity: 1; background: radial-gradient(circle, #ef4444, #7f1d1d 75%); box-shadow: 0 0 26px rgba(239, 68, 68, .7); }
@keyframes mnFlip { 50% { transform: scaleX(.1); } }
.mn-quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.mn-quick button { padding: 8px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-weight: 800; }
.mn-quick button.on { border-color: var(--gold); background: rgba(245, 197, 66, .12); }
/* ---------- Claw Gamble ---------- */
.cl-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cl-tabs button { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-weight: 800; }
.cl-tabs button.on { border-color: var(--gold); background: rgba(245, 197, 66, .12); }
.cl-stage { position: relative; aspect-ratio: 5 / 6; max-height: 640px; width: 100%; border-radius: var(--r); overflow: hidden; background: #07030d; user-select: none; }
.cl-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cl-price { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cl-price button { padding: 9px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-weight: 800; }
.cl-price button.on { border-color: var(--gold); background: rgba(245, 197, 66, .14); color: var(--gold); }
.cl-renew { height: 6px; border-radius: 99px; background: var(--panel3); overflow: hidden; margin: -4px 0 12px; }
.cl-renew i { display: block; height: 100%; background: linear-gradient(90deg, #a855f7, #f0abfc); }
.cl-leg { display: grid; grid-template-columns: 12px 1fr auto 26px; gap: 8px; align-items: center; font-size: 13px; padding: 3px 0; }
.cl-leg i { width: 10px; height: 10px; border-radius: 50%; } .cl-leg b { text-align: right; }
.cl-pad { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 12px; }
.cl-joy { display: grid; grid-template-columns: repeat(3, 58px); grid-template-rows: repeat(2, 52px); gap: 6px; }
.cl-joy button { border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, #2b1a44, #1a0f2b); font-size: 20px; color: #f0abfc; touch-action: none; -webkit-user-select: none; user-select: none; }
.cl-joy button.on { background: #7e22ce; color: #fff; }
.cl-joy [data-k="back"] { grid-column: 2; } .cl-joy [data-k="left"] { grid-column: 1; grid-row: 2; } .cl-joy [data-k="front"] { grid-column: 2; grid-row: 2; } .cl-joy [data-k="right"] { grid-column: 3; grid-row: 2; }
.cl-grab { width: 112px; height: 112px; border-radius: 50%; border: 4px solid #fecaca; background: radial-gradient(circle at 35% 30%, #ff7a7a, #dc2626 55%, #7f1d1d); color: #fff; font: 900 18px system-ui; box-shadow: 0 8px 0 #450a0a, 0 0 30px rgba(239, 68, 68, .5); touch-action: manipulation; }
.cl-grab:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 3px 0 #450a0a; }
.cl-grab:disabled { filter: grayscale(.7) brightness(.6); box-shadow: 0 8px 0 #2a0a0a; }
.cl-ball { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--ic) 35%, color-mix(in srgb, var(--ic) 55%, #000)); border: 2px solid var(--rc); font-size: 17px; vertical-align: middle; }
.cl-ball.big { width: 64px; height: 64px; font-size: 36px; border-width: 3px; box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 50%, transparent); }
.cl-rar { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; color: var(--rc); border: 1px solid var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cl-grid.ix { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); max-height: 70vh; overflow: auto; padding-right: 4px; }
.cl-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; position: relative; }
.cl-card.unk { opacity: .55; } .cl-card.unk .cl-ball { filter: grayscale(.8); }
.cl-card.found { border-color: rgba(34, 197, 94, .4); }
.cl-meta { font-size: 11px; color: var(--muted); } .cl-got { position: absolute; top: 6px; right: 8px; font-size: 11px; color: #86efac; font-weight: 800; }
.cl-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.cl-filters button { padding: 6px 10px; border-radius: 99px; border: 1px solid var(--rc, var(--line)); background: var(--panel); font-weight: 800; font-size: 12px; color: var(--rc, inherit); }
.cl-filters button.on { background: color-mix(in srgb, var(--rc, #f5c542) 22%, transparent); }
.cl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.cl-stats div { background: var(--panel); border-radius: 12px; padding: 10px; text-align: center; } .cl-stats b { display: block; font-size: 20px; } .cl-stats span { font-size: 11px; color: var(--muted); }
.cl-hist { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; }
.cl-hrow { display: grid; grid-template-columns: 52px 60px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--panel); font-size: 13px; border-left: 3px solid #ef4444; }
.cl-hrow.w { border-left-color: #22c55e; }
@media (max-width: 760px) { .cl-joy { grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 48px); } .cl-grab { width: 96px; height: 96px; } .cl-stats { grid-template-columns: repeat(2, 1fr); } }
/* Claw Gamble: pictogrammen, capsules, opening */
.cl-pic { display: inline-block; width: 34px; height: 34px; flex: none; vertical-align: middle; background: linear-gradient(160deg, #fff 0%, var(--ic) 45%, color-mix(in srgb, var(--rc) 70%, #000) 100%);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--rc) 60%, transparent)); }
.cl-pic.big { width: 72px; height: 72px; }
.cl-card .cl-pic:not(.big) { width: 52px; height: 52px; }
.cl-cap { position: relative; display: inline-block; width: 34px; height: 34px; border-radius: 50%; vertical-align: middle; flex: none;
  background: linear-gradient(180deg, #f472b6 0%, #c026d3 49%, rgba(0,0,0,.4) 49%, rgba(255,255,255,.8) 51%, var(--cc) 53%, var(--cd) 100%); border: 2px solid var(--cd); box-shadow: inset -4px -4px 8px rgba(0,0,0,.3), 0 0 10px color-mix(in srgb, var(--cc) 50%, transparent); }
.cl-cap b { position: absolute; left: 0; right: 0; top: 4%; text-align: center; color: #fff; font-weight: 900; font-size: .55em; line-height: 1; }
.cl-cap { font-size: 34px; } .cl-cap.sm { width: 26px; height: 26px; font-size: 26px; } .cl-cap.md { width: 56px; height: 56px; font-size: 56px; } .cl-cap.xl { width: 130px; height: 130px; font-size: 130px; animation: clShake 1.4s ease-in-out infinite; }
@keyframes clShake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }
.cl-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5, 2, 12, .82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s; }
.cl-overlay.out { opacity: 0; transition: opacity .25s; }
.cl-open { width: min(760px, 100%); background: linear-gradient(180deg, #1d1030, #0e0718); border: 1px solid rgba(240, 171, 252, .35); border-radius: 22px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(168, 85, 247, .25); }
.cl-open-h { display: flex; align-items: center; gap: 12px; } .cl-open-h small { display: block; color: var(--muted); font-size: 12px; }
.cl-odds { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.cl-odds span { padding: 4px 9px; border-radius: 99px; font-size: 12px; color: var(--rc); border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); background: color-mix(in srgb, var(--rc) 10%, transparent); }
.cl-reelwrap { display: grid; }
.cl-reel { position: relative; height: 150px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #08040f, #1a0f2b 50%, #08040f); border: 3px solid #3b2457; box-shadow: inset 0 0 40px rgba(0,0,0,.8); }
.cl-reel.idle { display: grid; place-items: center; height: 170px; }
.cl-track { display: flex; height: 100%; align-items: center; will-change: transform; }
.cl-cell { position: relative; flex: none; width: 104px; height: 118px; margin: 0 4px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rc) 22%, #1b1028), #120a1d 75%); border: 2px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.cl-cell .cl-pic { width: 68px; height: 68px; }
.cl-cell i { position: absolute; left: 8px; right: 8px; bottom: 6px; height: 4px; border-radius: 4px; background: var(--rc); box-shadow: 0 0 10px var(--rc); }
.cl-cell.win { border-color: var(--rc); box-shadow: 0 0 34px var(--rc), inset 0 0 20px color-mix(in srgb, var(--rc) 50%, transparent); animation: pop .5s; z-index: 2; }
.cl-marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #f0abfc; box-shadow: 0 0 16px #e879f9; z-index: 3; }
.cl-fade { position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; } .cl-fade.l { left: 0; background: linear-gradient(90deg, #08040f, transparent); } .cl-fade.r { right: 0; background: linear-gradient(270deg, #08040f, transparent); }
.cl-reel.r3 { border-color: #a855f7; box-shadow: 0 0 30px rgba(168,85,247,.5); } .cl-reel.r4 { border-color: #f59e0b; box-shadow: 0 0 40px rgba(245,158,11,.6); } .cl-reel.r5 { border-color: #ef4444; box-shadow: 0 0 60px rgba(239,68,68,.7); }
.cl-open-res { min-height: 10px; }
.cl-win { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; animation: pop .4s; }
.cl-win > b { font-size: 20px; } .cl-val { font-size: 26px; font-weight: 900; color: var(--gold); } .cl-val small { font-size: 13px; color: var(--muted); }
.cl-open-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.cl-captable { display: grid; gap: 4px; margin: 8px 0 10px; font-size: 12px; }
.cl-captable > div { display: grid; grid-template-columns: 30px 150px repeat(6, 1fr); gap: 6px; align-items: center; background: var(--panel); border-radius: 10px; padding: 5px 8px; }
@media (max-width: 600px) { .cl-captable > div { grid-template-columns: 26px 1fr repeat(6, 34px); } }
/* Claw Gamble: arcade-bedieningspaneel */
.cl-pad { position: relative; display: flex; align-items: center; justify-content: space-around; gap: 20px; margin-top: 12px; padding: 18px 26px; border-radius: 18px;
  background: linear-gradient(180deg, #3b1552 0%, #24093a 45%, #160626 100%); border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -6px 18px rgba(0,0,0,.6), 0 14px 30px rgba(0,0,0,.45); }
.cl-pad::before { content: ''; position: absolute; inset: 7px; border-radius: 13px; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px); border: 1px solid rgba(0,0,0,.35); }
.cl-pad::after { content: ''; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: radial-gradient(circle at 10px 10px, #d4d4d8 0 3px, transparent 4px), radial-gradient(circle at calc(100% - 10px) 10px, #d4d4d8 0 3px, transparent 4px),
              radial-gradient(circle at 10px calc(100% - 10px), #d4d4d8 0 3px, transparent 4px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #d4d4d8 0 3px, transparent 4px); }
.cl-stick { position: relative; width: 132px; height: 132px; touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.cl-stick:active { cursor: grabbing; }
.cl-stick-base { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3f3f46, #09090b 70%);
  box-shadow: 0 0 0 6px #18181b, 0 0 0 8px #52525b, inset 0 6px 14px rgba(0,0,0,.9), 0 8px 16px rgba(0,0,0,.6); }
.cl-stick-base::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, #111, #000); box-shadow: inset 0 2px 4px rgba(0,0,0,.9); }
.cl-stick-shaft { position: absolute; left: 50%; top: 50%; width: 10px; height: 46px; margin-left: -5px; margin-top: -46px; transform-origin: 50% 100%;
  background: linear-gradient(90deg, #52525b, #f4f4f5 45%, #71717a); border-radius: 5px; transform: scaleY(0); }
.cl-stick-ball { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 6%, #ff6b8a 14%, #e11d48 45%, #7f1d1d 85%); box-shadow: 0 10px 18px rgba(0,0,0,.6), inset -6px -8px 14px rgba(0,0,0,.35); }
.cl-grab { position: relative; width: 116px; height: 116px; border-radius: 50%; border: none; color: #fff; font: 900 17px "Arial Black", system-ui; letter-spacing: .04em; text-shadow: 0 2px 0 rgba(0,0,0,.4);
  background: radial-gradient(circle at 50% 35%, #ff8a8a 0%, #ef4444 38%, #b91c1c 70%, #7f1d1d 100%);
  box-shadow: 0 0 0 7px #d4d4d8, 0 0 0 9px #52525b, 0 0 0 11px #18181b, 0 9px 0 4px #450a0a, 0 16px 26px rgba(0,0,0,.6), inset 0 -8px 14px rgba(0,0,0,.35), 0 0 34px rgba(239,68,68,.55); touch-action: manipulation; transition: transform .06s, box-shadow .06s; }
.cl-grab::before { content: ''; position: absolute; left: 22%; top: 10%; width: 56%; height: 30%; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0)); }
.cl-grab:active:not(:disabled) { transform: translateY(6px); box-shadow: 0 0 0 7px #d4d4d8, 0 0 0 9px #52525b, 0 0 0 11px #18181b, 0 3px 0 4px #450a0a, 0 8px 14px rgba(0,0,0,.6), inset 0 -4px 10px rgba(0,0,0,.4), 0 0 50px rgba(239,68,68,.8); }
.cl-grab:not(:disabled) { animation: clGlow 1s ease-in-out infinite; }
.cl-grab:disabled { filter: grayscale(.75) brightness(.55); animation: none; }
@keyframes clGlow { 50% { box-shadow: 0 0 0 7px #d4d4d8, 0 0 0 9px #52525b, 0 0 0 11px #18181b, 0 9px 0 4px #450a0a, 0 16px 26px rgba(0,0,0,.6), inset 0 -8px 14px rgba(0,0,0,.35), 0 0 60px rgba(239,68,68,.95); } }
.cl-stage { background: #05030a; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
@media (max-width: 760px) { .cl-stick { width: 116px; height: 116px; } .cl-stick-ball { width: 50px; height: 50px; margin: -25px 0 0 -25px; } .cl-grab { width: 98px; height: 98px; font-size: 15px; } .cl-pad { padding: 14px; } }
.cl-capcv { display: inline-block; vertical-align: middle; flex: none; }
.cl-capcv.xl { animation: clShake 1.4s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.cl-bigcap { display: grid; place-items: center; }
.adm-luck { position: fixed; right: 12px; bottom: 120px; z-index: 70; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); background: rgba(20,16,30,.94); color: var(--muted); font: 900 13px system-ui; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.5); white-space: nowrap; }
.adm-luck.on { border-color: #22c55e; color: #bbf7d0; background: rgba(5,40,20,.94); box-shadow: 0 0 22px rgba(34,197,94,.55); }
