/* ============================================================
   AFTER DARK — Premium Party Games
   Design system: cyberpunk / luxury lounge, glassmorphism
   ============================================================ */

:root {
  /* Core palette */
  --bg-0: #05060a;
  --bg-1: #0a0c16;
  --bg-2: #0f1222;
  --ink: #eaf0ff;
  --ink-dim: #9aa6c8;
  --ink-faint: #5d6688;

  /* Brand glows */
  --teal: #34f5d8;
  --teal-soft: #58fff0;
  --purple: #9a6bff;
  --purple-soft: #c39bff;
  --magenta: #ff4d9d;
  --gold: #ffd27a;

  /* Functional */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-strong: rgba(255, 255, 255, 0.20);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75);

  /* Vibe accents */
  --casual: #3ad1ff;
  --night: #9a6bff;
  --extreme: #ff4d6d;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Heebo', system-ui, 'Segoe UI', sans-serif;
  --display: 'Heebo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Heebo', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100dvh; }

::selection { background: rgba(52, 245, 216, 0.28); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   Ambient background
   ============================================================ */
.bg-aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(154,107,255,0.18), transparent 60%),
    radial-gradient(1000px 700px at 5% 110%, rgba(52,245,216,0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: float 18s var(--ease) infinite; }
.orb-a { width: 46vmax; height: 46vmax; left: -12vmax; top: -10vmax; background: radial-gradient(circle, rgba(154,107,255,0.55), transparent 70%); }
.orb-b { width: 40vmax; height: 40vmax; right: -10vmax; bottom: -12vmax; background: radial-gradient(circle, rgba(52,245,216,0.45), transparent 70%); animation-delay: -6s; }
.orb-c { width: 30vmax; height: 30vmax; left: 40%; top: 40%; background: radial-gradient(circle, rgba(255,77,157,0.32), transparent 70%); animation-delay: -11s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(4vmax,-3vmax) scale(1.08); }
  66% { transform: translate(-3vmax,3vmax) scale(0.96); }
}
.grid-lines {
  position: absolute; inset: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 85%);
}
.noise {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Layout primitives
   ============================================================ */
.app-root { position: relative; min-height: 100dvh; display: flex; flex-direction: column; }

.screen { animation: screenIn 0.55s var(--ease) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(0.99); } to { opacity: 1; transform: none; } }

.shell { width: min(1180px, 100%); margin: 0 auto; padding: clamp(16px, 3vw, 34px); }

.glass {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
}

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); }

h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: 0; line-height: 1.08; }

.brandmark {
  font-family: var(--display); font-weight: 800; letter-spacing: 3px;
  display: inline-flex; align-items: center; gap: 10px;
}
.brandmark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px var(--teal); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============================================================
   Buttons & inputs
   ============================================================ */
.btn {
  font-family: var(--font); font-weight: 600; font-size: 15px;
  border: 1px solid var(--stroke); border-radius: var(--r-md);
  padding: 14px 22px; color: var(--ink); cursor: pointer;
  background: var(--glass-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; user-select: none;
}
.btn:hover { transform: translateY(-2px); border-color: var(--stroke-strong); background: rgba(255,255,255,0.10); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-primary {
  border: none; color: #04110f; font-weight: 700;
  background: linear-gradient(135deg, var(--teal-soft), var(--teal) 55%, #18c7ad);
  box-shadow: 0 12px 32px -8px rgba(52,245,216,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-primary:hover { box-shadow: 0 18px 44px -8px rgba(52,245,216,0.7); }

.btn-violet {
  border: none; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--purple-soft), var(--purple) 55%, #6f3dff);
  box-shadow: 0 12px 32px -8px rgba(154,107,255,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 26px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: var(--r-sm); }

.btn-sso {
  width: 100%; gap: 12px; padding: 15px 20px; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px solid var(--stroke);
  position: relative; overflow: hidden;
}

/* SDA auth button */
.btn-sda {
  gap: 12px; font-weight: 700; color: #fff; border: none;
  background: linear-gradient(135deg, #9a6bff, #6f3dff 55%, #34f5d8);
  box-shadow: 0 12px 32px -10px rgba(154,107,255,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-sda:hover { box-shadow: 0 18px 44px -10px rgba(154,107,255,0.75); transform: translateY(-2px); }
.btn-sda .soon { margin-inline-start: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.35); border-radius: 20px; padding: 3px 8px; }
.sda-glyph {
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 1px; direction: ltr;
  background: rgba(0,0,0,0.28); color: #fff; border-radius: 8px; padding: 5px 8px; display: inline-grid; place-items: center;
}
.btn-sso .glyph { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; font-weight: 800; }
.btn-sso .soon { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--ink-faint); border: 1px solid var(--stroke); border-radius: 20px; padding: 3px 8px; }
.btn-sso:hover { border-color: var(--stroke-strong); background: rgba(255,255,255,0.07); transform: translateY(-2px); }

.field { position: relative; margin-bottom: 16px; }
.field label {
  position: absolute; left: 18px; top: 16px; color: var(--ink-faint);
  font-size: 15px; pointer-events: none; transition: all .2s var(--ease); font-weight: 400;
}
.field input {
  width: 100%; padding: 22px 18px 10px; font-size: 15px; font-family: var(--font);
  color: var(--ink); background: rgba(0,0,0,0.25); border: 1px solid var(--stroke);
  border-radius: var(--r-md); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(52,245,216,0.12); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { top: 7px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); }

.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-faint); font-size: 12px; margin: 22px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--stroke); }

/* Pills / chips */
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 20px; border: 1px solid var(--stroke); color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: all .2s;
  background: var(--glass);
}
.chip:hover { border-color: var(--stroke-strong); color: var(--ink); }
.chip.active { color: #04110f; font-weight: 700; }
.chip-casual.active { background: var(--casual); border-color: var(--casual); box-shadow: 0 0 22px -4px var(--casual); }
.chip-night.active { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 0 22px -4px var(--night); }
.chip-extreme.active { background: var(--extreme); border-color: var(--extreme); color: #fff; box-shadow: 0 0 22px -4px var(--extreme); }

/* ============================================================
   Auth screen
   ============================================================ */
.auth-wrap { min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.auth-art { position: relative; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-art .hero-title { font-size: clamp(40px, 6vw, 86px); line-height: 0.92; margin-top: 24px; }
.auth-art .hero-title .grad { background: linear-gradient(120deg, var(--teal-soft), var(--purple-soft) 60%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-art .hero-sub { color: var(--ink-dim); font-size: 17px; max-width: 460px; margin-top: 22px; line-height: 1.6; }
.auth-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.auth-features .chip { cursor: default; }

.auth-panel { display: grid; place-items: center; padding: 32px; }
.auth-card { width: min(420px, 100%); padding: 36px; }
.auth-tabs { display: flex; gap: 6px; padding: 5px; background: rgba(0,0,0,0.3); border-radius: var(--r-md); margin-bottom: 26px; }
.auth-tabs button { flex: 1; padding: 11px; border: none; background: transparent; color: var(--ink-dim); font-family: var(--font); font-weight: 600; font-size: 14px; border-radius: 12px; cursor: pointer; transition: all .25s var(--ease); }
.auth-tabs button.active { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }

.avatar-pick { display: flex; gap: 10px; margin: 4px 0 20px; flex-wrap: wrap; }
.avatar-pick .swatch { width: 38px; height: 38px; border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: transform .2s; }
.avatar-pick .swatch:hover { transform: scale(1.12); }
.avatar-pick .swatch.active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }

.legal { font-size: 11px; color: var(--ink-faint); text-align: center; margin-top: 18px; line-height: 1.5; }
.age-gate { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--gold); border: 1px solid rgba(255,210,122,0.3); border-radius: 20px; padding: 5px 12px; display: inline-flex; gap: 7px; align-items: center; }

/* ============================================================
   Top bar (in-app)
   ============================================================ */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; row-gap: 8px; padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(14px,3vw,34px) 12px; border-bottom: 1px solid var(--stroke); background: rgba(7,8,16,0.72); backdrop-filter: blur(18px); }
.topbar .spacer { flex: 1 1 0; min-width: 0; }
.topbar .brandmark { font-size: 15px; }
.topbar .spacer { flex: 1; }
.room-badge { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--teal); border: 1px solid rgba(52,245,216,0.3); border-radius: 12px; padding: 8px 14px; cursor: pointer; transition: all .2s; }
.room-badge:hover { background: rgba(52,245,216,0.08); }
.user-pill { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 40px; border: 1px solid var(--stroke); background: var(--glass); cursor: pointer; }
.user-pill:hover { border-color: var(--stroke-strong); }

.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #06121f; font-size: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.avatar.lg { width: 54px; height: 54px; font-size: 19px; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }

/* ============================================================
   Lobby
   ============================================================ */
.lobby-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); }

.join-card { padding: 30px; }
.code-display { font-family: var(--mono); font-size: clamp(30px, 6vw, 46px); letter-spacing: 10px; text-align: center; color: var(--teal); text-shadow: 0 0 26px rgba(52,245,216,0.4); padding: 18px; border: 1px dashed rgba(52,245,216,0.35); border-radius: var(--r-md); margin: 14px 0 8px; cursor: pointer; }
.code-input { text-align: center; font-family: var(--mono); letter-spacing: 8px; text-transform: uppercase; font-size: 22px; }

.players-card { padding: 28px; }
.player-list { display: flex; flex-direction: column; gap: 10px; }
.player-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--stroke); background: var(--glass); animation: rowIn .4s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.player-row .name { font-weight: 600; }
.player-row .meta { font-size: 12px; color: var(--ink-faint); font-family: var(--mono); }
.player-row .host-tag { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--gold); border: 1px solid rgba(255,210,122,0.3); padding: 4px 9px; border-radius: 20px; }
.player-row .kick { margin-left: auto; opacity: 0; }
.player-row:hover .kick { opacity: 1; }

.add-player { display: flex; gap: 10px; margin-top: 16px; }
.add-player input { flex: 1; }

/* ============================================================
   Game dashboard
   ============================================================ */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-size: clamp(30px, 5vw, 52px); }
.vibe-row { display: flex; gap: 10px; flex-wrap: wrap; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.game-card {
  position: relative; padding: 24px; cursor: pointer; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s; min-height: 220px;
  display: flex; flex-direction: column;
}
.game-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.10), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.game-card:hover { transform: translateY(-6px); border-color: var(--stroke-strong); }
.game-card:hover::after { opacity: 1; }
.game-card .glow-edge { position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1px; background: linear-gradient(135deg, var(--accent, var(--teal)), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.game-card:hover .glow-edge { opacity: 0.8; }
.game-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; background: var(--glass-2); border: 1px solid var(--stroke); }
.game-card h3 { font-size: 21px; margin-bottom: 8px; }
.game-card .desc { color: var(--ink-dim); font-size: 13.5px; line-height: 1.55; flex: 1; }
.game-meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.intensity { display: flex; gap: 4px; align-items: center; }
.intensity .bar { width: 16px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); }
.intensity .bar.on { background: var(--accent, var(--teal)); box-shadow: 0 0 8px var(--accent, var(--teal)); }
.game-meta .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--ink-faint); text-transform: uppercase; margin-left: auto; }
.players-needed { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); letter-spacing: 1px; }

/* ============================================================
   Modal / game stage
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(3,4,9,0.72); backdrop-filter: blur(8px); animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { width: min(720px, 100%); max-height: 92dvh; overflow: auto; padding: 30px; animation: screenIn .4s var(--ease) both; }
.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.modal-head h2 { font-size: 26px; flex: 1; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--glass); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 18px; transition: all .2s; }
.icon-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--stroke-strong); }

/* Game stage (full takeover) */
.stage { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; background: radial-gradient(1000px 700px at 50% -10%, rgba(154,107,255,0.16), transparent 60%), var(--bg-0); animation: fadeIn .35s; }
.stage-bar { display: flex; align-items: center; gap: 14px; padding: calc(16px + env(safe-area-inset-top, 0px)) clamp(16px,3vw,30px) 16px; border-bottom: 1px solid var(--stroke); position: relative; z-index: 2; }
.stage-bar h2 { font-size: 20px; }
.stage-bar .spacer { flex: 1; }
.stage-body { flex: 1; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px); padding-bottom: calc(clamp(20px,4vw,48px) + env(safe-area-inset-bottom, 0px)); text-align: center; }
.stage-inner { width: min(760px, 100%); }

/* Turn indicator */
.turn-indicator { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.turn-indicator .label { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-faint); }
.now-playing { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 40px; border: 1px solid var(--stroke-strong); background: var(--glass-2); }
.now-playing .name { font-family: var(--display); font-weight: 700; font-size: 18px; }

.prompt-card { padding: 40px 34px; margin: 0 auto; }
.prompt-text { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 4.4vw, 40px); line-height: 1.15; }
.prompt-sub { color: var(--ink-dim); margin-top: 16px; font-size: 15px; }

.stage-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* Countdown */
.countdown { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 22vw, 200px); line-height: 1; background: linear-gradient(120deg, var(--teal-soft), var(--purple-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pop .9s var(--ease); }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

/* Timer ring */
.timer-ring { position: relative; width: 200px; height: 200px; margin: 0 auto 24px; }
.timer-ring svg { transform: rotate(-90deg); }
.timer-ring .time-text { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 44px; font-weight: 600; }

/* Cards (poker / king's cup) */
.card-face {
  width: 96px; height: 134px; border-radius: 12px; background: linear-gradient(160deg, #fff, #e8edf5);
  color: #0a0c16; position: relative; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.7); flex: none; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 9px 11px; font-weight: 700; font-size: 22px;
  animation: dealIn .5s var(--ease) both;
}
@keyframes dealIn { from { opacity: 0; transform: translateY(-20px) rotateY(60deg); } to { opacity: 1; transform: none; } }
.card-face.red { color: #d11149; }
.card-face .rank { font-size: 1em; line-height: 1; }
.card-face .suit-lg { font-size: 1.5em; text-align: center; line-height: 1; }
.card-face .rank.bottom { transform: rotate(180deg); align-self: flex-end; }
.card-back { background: linear-gradient(135deg, #1a1f3a, #0a0c16); border: 1px solid rgba(154,107,255,0.4); }
.card-back::after { content: '◆'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(154,107,255,0.5); font-size: 30px; }
.card-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* חלוקת קלפים מדורגת בבלקג'ק — תחושת "דילר מחלק" אחד-אחד (מתוחם ללבד הבלקג'ק כדי שבפוקר לא יונפש מחדש בכל פעולה) */
@keyframes dealSlide { from { opacity: 0; transform: translate(40px, -60px) rotate(12deg) scale(.85); } to { opacity: 1; transform: none; } }
.bj-felt .card-row .card-face { animation: dealSlide .42s cubic-bezier(.2,.7,.3,1) both; }
.bj-felt .card-row .card-face:nth-child(2) { animation-delay: .13s; }
.bj-felt .card-row .card-face:nth-child(3) { animation-delay: .26s; }
.bj-felt .card-row .card-face:nth-child(4) { animation-delay: .39s; }
.bj-felt .card-row .card-face:nth-child(5) { animation-delay: .52s; }
.bj-felt .card-row .card-face:nth-child(6) { animation-delay: .65s; }
.bj-felt .card-row .card-face:nth-child(7) { animation-delay: .78s; }
/* פוקר: חשיפת קלף (פליפ) — רק לקלפים חדשים (פלופ/טורן/ריבר/הול), לא בכל render */
@keyframes cardReveal { from { opacity: 0; transform: rotateY(85deg) scale(.9); } to { opacity: 1; transform: none; } }
.card-face.reveal { animation: cardReveal .42s cubic-bezier(.2,.7,.3,1) both; }
.card-face.rd1 { animation-delay: .2s; }
.card-face.rd2 { animation-delay: .4s; }

/* Poker layout */
.poker-table { display: flex; flex-direction: column; gap: 20px; }
.community { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pot-display { font-family: var(--mono); color: var(--gold); font-size: 16px; letter-spacing: 1px; }

/* Oval poker table — seats around a felt centerpiece */
.poker-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.poker-felt { position: relative; width: min(420px, 92%); margin: 2px auto; padding: 22px 24px 18px; border-radius: 50% / 30%; background: radial-gradient(115% 100% at 50% 32%, #0e8c50, #064827 74%); border: 6px solid; border-color: #e0bd76 #9c7a32 #6b521f #caa455; box-shadow: inset 0 0 46px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.12), 0 16px 42px -16px #000; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.felt-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,235,190,0.75); }
.felt-label .felt-blinds { color: #ffe6a8; border: 1px solid rgba(255,210,122,0.4); border-radius: 12px; padding: 1px 8px; }
.felt-board { min-height: 56px; align-items: center; }
.felt-pot { font-size: 17px; color: #ffe6a8; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

.poker-lastact { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 10px; min-height: 18px; }
/* Seat avatar + countdown ring (modern poker style: name above, timer ring around avatar) */
.seat-av { position: relative; width: 44px; height: 44px; }
.seat .avatar.sm { width: 44px; height: 44px; font-size: 16px; }
.seat-av.timing .avatar { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), 0 0 16px -2px var(--teal); }
.seat-ring { position: absolute; inset: -6px; pointer-events: none; }
.seat-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.seat-ring .rt { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 3; }
.seat-ring .rp { fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; }
.seat-ring .rp.low { stroke: var(--magenta); }
@keyframes clkdep { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 144.5; } }
.tc-seats { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 4px; }
.tc-seat { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-dim); background: var(--glass-2); border: 1px solid var(--stroke); border-radius: 20px; padding: 3px 9px 3px 4px; }
.tc-seat .avatar { width: 20px; height: 20px; font-size: 10px; }
.seat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.seat { position: relative; padding: 10px 12px; min-width: 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .2s var(--ease), box-shadow .3s, border-color .3s; }
.seat.active { border-color: var(--teal); box-shadow: 0 0 22px -6px var(--teal); transform: translateY(-2px); }
.seat.folded { opacity: 0.42; }
.seat.winner { border-color: var(--gold); box-shadow: 0 0 26px -6px var(--gold); }
.seat .seat-name { font-weight: 700; font-size: 13px; margin: 0; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat .seat-stack { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.seat .seat-bet { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-top: 2px; }
.seat .seat-bet.allin { color: var(--magenta); font-weight: 700; }
.seat .seat-chip { font-family: var(--mono); font-size: 11px; color: #ffe6a8; margin-top: 2px; }
.seat .dealer-btn { position: absolute; top: -7px; inset-inline-end: -7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #1a1205; background: radial-gradient(circle at 35% 30%, #fff, #d9b65a); border: 1px solid #b8860b; box-shadow: 0 2px 5px rgba(0,0,0,0.5); z-index: 2; }

/* Never have I ever / vote tallies */
.tally-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.tally { padding: 20px; }
.tally .num { font-family: var(--display); font-size: 40px; font-weight: 800; }
.tally.drink .num { color: var(--magenta); }
.tally.safe .num { color: var(--teal); }

/* Inventory (barter) */
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.perk-card { padding: 18px; cursor: pointer; transition: all .3s; position: relative; overflow: hidden; }
.perk-card:hover { transform: translateY(-4px); }
.perk-card.hidden-perk { display: grid; place-items: center; min-height: 120px; }
.perk-card .perk-icon { font-size: 30px; margin-bottom: 10px; }
.perk-card .perk-name { font-weight: 700; font-size: 15px; }
.perk-card .perk-desc { font-size: 12px; color: var(--ink-dim); margin-top: 6px; line-height: 1.4; }
.rarity { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; padding: 3px 7px; border-radius: 10px; }
.rarity.common { background: rgba(154,166,200,0.2); color: var(--ink-dim); }
.rarity.rare { background: rgba(52,245,216,0.16); color: var(--teal); }
.rarity.epic { background: rgba(154,107,255,0.2); color: var(--purple-soft); }
.rarity.legendary { background: rgba(255,210,122,0.18); color: var(--gold); }

/* Rules log (21 / king's cup) */
.rules-log { text-align: left; max-height: 240px; overflow: auto; padding: 4px; }
.rule-item { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--glass); border: 1px solid var(--stroke); margin-bottom: 8px; animation: rowIn .35s var(--ease) both; }
.rule-item .n { font-family: var(--mono); color: var(--teal); font-weight: 600; flex: none; }

/* Bomb */
.bomb { font-size: clamp(90px, 24vw, 180px); animation: shake 0.5s infinite; display: inline-block; }
@keyframes shake { 0%,100% { transform: translate(0,0) rotate(0); } 25% { transform: translate(-4px,2px) rotate(-3deg); } 75% { transform: translate(4px,-2px) rotate(3deg); } }
.bomb.calm { animation: breathe 2.4s infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Secret reveal (psychiatrist) */
.secret-card { padding: 36px; text-align: center; }
.secret-card .secret-rule { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--purple-soft); margin: 16px 0; }
.pass-device { font-family: var(--mono); color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* Toast */
.toast-host { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { padding: 13px 20px; border-radius: var(--r-md); background: rgba(15,18,34,0.92); border: 1px solid var(--stroke-strong); backdrop-filter: blur(14px); font-size: 14px; box-shadow: var(--shadow); animation: toastIn .4s var(--ease); display: flex; gap: 10px; align-items: center; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px); } }

/* Leaderboard */
.lb-list { display: flex; flex-direction: column; gap: 8px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--stroke); background: var(--glass); animation: rowIn .35s var(--ease) both; }
.lb-row.lead { border-color: rgba(255,210,122,0.45); background: linear-gradient(90deg, rgba(255,210,122,0.10), var(--glass)); box-shadow: 0 0 26px -10px var(--gold); }
.lb-rank { width: 34px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; flex: none; }
.lb-row .meta { font-size: 12px; color: var(--ink-faint); font-family: var(--mono); }
.lb-pts { text-align: center; font-family: var(--mono); }
.lb-pts b { font-size: 22px; color: var(--teal); }
.lb-adjust { display: flex; gap: 6px; flex: none; }
.icon-btn.sm { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }

/* Entry hub — casino lounge entrance */
.hub-wrap { min-height: 100dvh; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top,0px)) 16px calc(24px + env(safe-area-inset-bottom,0px)); }
.hub-shell { width: min(720px, 100%); }
.hub-head { text-align: center; margin-bottom: 34px; }
.hub-grid { display: flex; flex-direction: column; gap: 14px; }
.hub-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.hub-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 200px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.08), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.hub-card:hover { transform: translateY(-3px); border-color: var(--stroke-strong); }
.hub-card:hover::after { opacity: 1; }
.hub-card .hub-icon { width: 58px; height: 58px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: var(--glass-2); border: 1px solid var(--stroke); box-shadow: 0 0 26px -10px var(--accent); }
.hub-card h3 { font-size: 21px; margin-bottom: 5px; }
.hub-card .desc { color: var(--ink-dim); font-size: 13.5px; line-height: 1.5; }
.hub-card .hub-go { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; color: var(--accent); font-size: 22px; }
.hub-card .hub-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--ink-faint); border: 1px solid var(--stroke); border-radius: 20px; padding: 3px 9px; }
.mgr-help { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.mgr-help li { font-size: 13px; color: var(--ink-dim); padding-inline-start: 2px; }

.house-earn { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 12px; border-radius: 10px; background: linear-gradient(180deg, rgba(255,210,122,0.1), rgba(255,210,122,0.03)); border: 1px solid rgba(255,210,122,0.3); font-size: 13px; }
.house-earn b { font-family: var(--mono); font-size: 18px; color: var(--gold); }

/* Join approval — waiting screen + manager approvals */
.wait-spin { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; border: 4px solid rgba(255,210,122,0.18); border-top-color: var(--gold); animation: wait-rot 0.9s linear infinite; }
@keyframes wait-rot { to { transform: rotate(360deg); } }
/* לובי המתנה (חדר נעול) */
.wait-status { display: inline-flex; align-items: center; gap: 9px; margin: 16px auto 0; padding: 8px 16px; border-radius: 999px; background: rgba(255,210,122,0.1); border: 1px solid rgba(255,210,122,0.3); color: var(--gold); font-family: var(--mono); font-size: 13px; letter-spacing: 0.3px; }
.wait-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255,210,122,0.5); animation: wait-pulse 1.4s ease-out infinite; }
@keyframes wait-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,210,122,0.5); } 70% { box-shadow: 0 0 0 10px rgba(255,210,122,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,122,0); } }
.lobby-people { padding: 16px; margin: 22px auto 0; max-width: 380px; text-align: right; }
.note-banner { margin: 4px auto 14px; max-width: 320px; font-size: 12px; color: var(--ink-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--stroke); border-radius: 12px; padding: 9px 12px; text-align: center; }
/* מחוון-חיבור: באנר עליון קבוע (offline / מצב מקומי) */
.conn-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; padding: calc(8px + env(safe-area-inset-top,0px)) 12px 8px; text-align: center; font-size: 13px; font-weight: 700; }
.conn-banner.off { background: #c1121f; color: #fff; }
.conn-banner.solo { background: #3a2f10; color: #ffd27a; }
.approve-card { padding: 18px; margin-bottom: 18px; border-color: rgba(255,210,122,0.4); background: linear-gradient(180deg, rgba(255,210,122,0.08), var(--glass-1)); }
.chip.alert { background: rgba(255,77,109,0.18); border-color: rgba(255,77,109,0.45); color: #ff8aa0; font-weight: 800; }

/* Chip animations — flying chips (poker→pot), blackjack bet chip */
.fly-chip { position: fixed; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; z-index: 9999; pointer-events: none; border: 2px dashed rgba(255,255,255,0.65); box-shadow: 0 3px 8px rgba(0,0,0,0.55), inset 0 0 0 2px rgba(0,0,0,0.15); animation: fly-chip-move 0.6s cubic-bezier(0.45,0.05,0.3,1) forwards; }
@keyframes fly-chip-move { 0% { transform: translate(0,0) scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0.5); opacity: 0.2; } }
.bj-chip-row { display: flex; justify-content: center; margin-top: 8px; }
.bj-chip { font-family: var(--mono); font-size: 12px; font-weight: 800; color: #2a1c05; background: radial-gradient(circle at 35% 30%, #ffe9a8, #e3b24a); border: 2px dashed #b8860b; border-radius: 20px; padding: 4px 11px; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.bj-chip.drop { animation: bj-chip-drop 0.35s cubic-bezier(0.3,0.8,0.4,1.2); }
@keyframes bj-chip-drop { from { transform: translateY(-18px) scale(0.7); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes rchip-pop { from { transform: translateX(-50%) scale(0.35); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }

/* Casino floor — tables + manager dashboard + personal machines */
.floor { display: flex; flex-direction: column; }
.mgr-dash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 18px; border-color: rgba(255,210,122,.32); background: linear-gradient(180deg, rgba(255,210,122,.07), var(--glass-1)); }
.mgr-dash .mgr-stat { font-size: 16px; font-weight: 700; color: var(--gold); margin-top: 3px; }
.table-list { display: flex; flex-direction: column; gap: 12px; }
.table-card { padding: 16px 18px; --accent: #ffd27a; }
.table-card .tc-head { display: flex; align-items: center; gap: 14px; }
.tc-icon { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; font-size: 24px; background: var(--glass-2); border: 1px solid var(--stroke); box-shadow: 0 0 22px -10px var(--accent); }
.table-card h3, .machine-card h3 { font-size: 17px; }
.tc-meta { color: var(--ink-dim); font-size: 12.5px; margin-top: 3px; }
.tc-denoms { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.denom-chip { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ink); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.16), rgba(255,255,255,.03)); border: 1.5px dashed var(--stroke-strong); border-radius: 20px; padding: 3px 9px; }
.tc-actions { display: flex; gap: 8px; }
.tc-actions .grow { flex: 1; }
.empty-floor { padding: 26px 18px; text-align: center; color: var(--ink-dim); font-size: 14px; }
.machine-row { display: flex; flex-direction: column; gap: 10px; }
.machine-card { display: flex; align-items: center; gap: 13px; padding: 13px 16px; cursor: pointer; --accent: #ffd27a; transition: transform .25s var(--ease), border-color .25s; }
.machine-card:hover { transform: translateY(-2px); border-color: var(--stroke-strong); }

/* Category tabs (party / casino) */
.cat-tabs { display: flex; gap: 8px; padding: 5px; background: rgba(0,0,0,0.3); border-radius: var(--r-md); }
.cat-tab { flex: 1; padding: 12px 10px; border: none; background: transparent; color: var(--ink-dim); font-family: var(--font); font-weight: 700; font-size: 15px; border-radius: 12px; cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; }
.cat-tab.active { background: var(--glass-2); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.cat-tab.casino.active { background: linear-gradient(135deg, rgba(255,210,122,0.25), rgba(154,107,255,0.25)); color: var(--gold); box-shadow: 0 0 22px -6px var(--gold); }
.cat-tab.kiosk.active { background: linear-gradient(135deg, rgba(52,245,216,0.22), rgba(90,255,157,0.22)); color: var(--mint, #5cff9d); box-shadow: 0 0 22px -6px #34f5d8; }

/* ---- טיקר עליון לקיוסק ---- */
.kiosk-ticker { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-radius: var(--r-md); border: 1px solid rgba(52,245,216,.25); background: linear-gradient(90deg, rgba(52,245,216,.08), rgba(154,107,255,.08)); overflow: hidden; flex-wrap: wrap; }
.kt-caption { font-weight: 800; font-size: 15px; color: var(--ink); white-space: nowrap; }
.kt-caption.flip { animation: kt-in .4s var(--ease); }
@keyframes kt-in { 0% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: translateY(0); } }
.kt-timers { display: flex; gap: 14px; font-size: 12px; color: var(--ink-dim); flex-wrap: wrap; }
.kt-timers b { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 13px; }

/* ---- כרטיסי גירוד ---- */
.scratch-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.scratch-ticket { padding: 16px 14px; border-radius: var(--r-md); text-align: center; cursor: pointer; border-top: 3px solid var(--accent); transition: transform .18s var(--ease), box-shadow .18s var(--ease); position: relative; overflow: hidden; }
.scratch-ticket::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120px 80px at 50% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); pointer-events: none; }
.scratch-ticket:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -14px var(--accent); }
.scratch-ticket.locked { opacity: .55; }
.st-emoji { font-size: 40px; line-height: 1; margin-bottom: 6px; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--accent) 40%, transparent)); }
.scratch-ticket h3 { margin: 4px 0; font-size: 18px; color: var(--accent); }
.st-blurb { font-size: 12px; color: var(--ink-dim); min-height: 30px; }
.st-meta { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 10px; font-size: 13px; }
.st-top { color: var(--gold); font-weight: 700; }
.st-price { background: rgba(0,0,0,.3); padding: 2px 10px; border-radius: 999px; font-weight: 800; }
.sc-play { position: relative; width: 300px; max-width: 92vw; aspect-ratio: 1; margin: 8px auto; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 3px var(--accent), 0 18px 40px -18px var(--accent); }
.sc-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(160deg, #14161c, #0c0d11); }
.sc-cell { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: clamp(15px, 4.5vw, 20px); color: var(--ink); border: 1px solid rgba(255,255,255,.05); transition: background .2s, color .2s; }
.sc-cell.win { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 75%); color: var(--accent); animation: sc-pop .5s var(--ease); }
@keyframes sc-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.sc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; z-index: 2; }
.sc-canvas:active { cursor: grabbing; }
.sc-banner { text-align: center; font-weight: 800; font-size: 20px; margin: 6px 0 2px; min-height: 26px; }
.sc-banner.win { color: var(--gold); animation: sc-pop .5s var(--ease); }
.sc-banner.lose { color: var(--ink-dim); }
.sc-banner.idle { color: var(--ink-dim); font-size: 16px; }

/* ---- לוטו ---- */
.lotto-jackpot { text-align: center; padding: 16px; border-radius: var(--r-md); border-top: 3px solid #34f5d8; background: radial-gradient(160px 100px at 50% 0%, rgba(52,245,216,.18), transparent 70%); }
.lj-amount { font-size: 40px; font-weight: 900; color: #34f5d8; letter-spacing: 1px; text-shadow: 0 0 24px rgba(52,245,216,.5); }
.lj-clock { font-size: 15px; color: var(--ink); margin-top: 4px; } .lj-clock b { color: var(--gold); font-variant-numeric: tabular-nums; }
.lotto-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.lotto-strong { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.lnum { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); background: var(--glass-1); color: var(--ink); border-radius: 50%; font-weight: 800; font-size: 15px; cursor: pointer; transition: transform .12s, background .15s; }
.lnum:hover { transform: scale(1.08); }
.lnum.on { background: linear-gradient(135deg, #34f5d8, #18c7ad); color: #04211d; border-color: transparent; box-shadow: 0 0 14px -3px #34f5d8; }
.lnum.strong.on { background: linear-gradient(135deg, #ffd27a, #ff9d5c); color: #2a1600; box-shadow: 0 0 14px -3px #ffd27a; }
.lotto-mine { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); }
.lt-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.06); font-weight: 600; }
.lt-row .grow { flex: 1; } .lt-strong { color: var(--gold); font-weight: 800; } .lt-amt { color: #5cff9d; font-weight: 800; }
.lotto-draw-head { text-align: center; font-size: 20px; font-weight: 800; margin: 6px 0 16px; color: #34f5d8; }
.lotto-balls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lotto-ball { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; background: radial-gradient(circle at 32% 28%, #fff, #d0d4dc 60%, #9aa0ab); color: #14161c; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6), inset -3px -4px 8px rgba(0,0,0,.25); }
.lotto-ball.up { animation: ball-drop .55s cubic-bezier(.2,1.3,.4,1); }
.lotto-ball.pending { background: rgba(255,255,255,.06); color: var(--ink-dim); box-shadow: none; border: 1px dashed rgba(255,255,255,.15); }
.lotto-ball.strong { background: radial-gradient(circle at 32% 28%, #fff2cf, #ffd27a 60%, #ff9d5c); color: #2a1600; }
@keyframes ball-drop { 0% { transform: translateY(-40px) scale(.4); opacity: 0; } 60% { transform: translateY(6px) scale(1.12); opacity: 1; } 100% { transform: translateY(0) scale(1); } }
.lotto-strong-wrap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; }
.lotto-win-banner { text-align: center; font-weight: 800; font-size: 18px; margin: 14px 0; padding: 10px; border-radius: var(--r-md); }
.lotto-win-banner.win { color: #04211d; background: linear-gradient(135deg, #34f5d8, #5cff9d); animation: sc-pop .5s var(--ease); }
.lotto-win-banner.lose { color: var(--ink-dim); background: var(--glass-1); }
.lotto-winners { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); }

/* ---- צ'אנס ---- */
.chance-form { display: flex; flex-direction: column; gap: 10px; }
.chance-row { display: flex; align-items: center; gap: 10px; }
.chance-suit { width: 40px; font-size: 28px; text-align: center; color: var(--ink); flex-shrink: 0; }
.chance-suit.red { color: #ff5c7a; }
.chance-vals { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; flex: 1; }
.cval { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); background: var(--glass-1); color: var(--ink); border-radius: 8px; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .12s, background .15s; }
.cval:hover { transform: scale(1.08); }
.cval.on { background: linear-gradient(135deg, #9a6bff, #b79bff); color: #160a2e; border-color: transparent; box-shadow: 0 0 12px -3px #9a6bff; }
.lt-row .grow.red { color: #ff5c7a; }
.chance-cards { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 10px 0 4px; }
.chance-card { width: 76px; height: 106px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); position: relative; }
.chance-card.back { background: repeating-linear-gradient(45deg, #6f3dff, #6f3dff 8px, #582fd6 8px, #582fd6 16px); color: rgba(255,255,255,.9); font-size: 30px; }
.chance-card.up { background: #fbfbfd; color: #14161c; animation: card-flip .5s var(--ease); }
.chance-card.up.red { color: #d61f3a; }
.cc-val { font-size: 30px; font-weight: 900; line-height: 1; }
.cc-suit { font-size: 30px; line-height: 1; }
.chance-card.back .cc-logo { font-size: 34px; }
@keyframes card-flip { 0% { transform: rotateY(90deg) scale(.9); opacity: 0; } 60% { transform: rotateY(-12deg) scale(1.05); opacity: 1; } 100% { transform: rotateY(0) scale(1); } }
/* מסך צר: פורסים את ערכי הצ'אנס ל-4 עמודות (2 שורות) כדי שהכפתורים יהיו נוחים ללחיצה */
@media (max-width: 460px) { .chance-vals { grid-template-columns: repeat(4, 1fr); } }

/* ---- ניחושי ספורט ---- */
.sp-board { display: flex; flex-direction: column; gap: 10px; }
.sp-match { padding: 12px 14px; border-radius: var(--r-md); }
.sp-match.live { border-inline-start: 3px solid #ff4d6d; }
.sp-match-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.sp-teams { font-weight: 800; font-size: 15px; }
.sp-live { color: #ff5c7a; font-weight: 800; font-size: 13px; white-space: nowrap; }
.sp-fin { color: var(--ink-dim); font-weight: 700; font-size: 13px; }
.sp-ko { color: var(--gold); font-size: 13px; }
.sp-market { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.sp-mlabel { font-size: 11px; color: var(--ink-dim); width: 92px; flex-shrink: 0; }
.sp-sels { display: flex; gap: 6px; flex: 1; }
.sp-odd { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 4px; border: 1px solid rgba(255,255,255,.12); background: var(--glass-1); color: var(--ink); border-radius: 9px; cursor: pointer; transition: transform .12s, background .15s; }
.sp-odd:hover { transform: translateY(-1px); }
.sp-odd .sp-oname { font-size: 11px; color: var(--ink-dim); }
.sp-odd b { font-size: 14px; color: #5cff9d; }
.sp-odd.on { background: linear-gradient(135deg, #5cff9d, #1fd87a); border-color: transparent; }
.sp-odd.on .sp-oname, .sp-odd.on b { color: #04211d; }
.sp-odd.locked { opacity: .45; cursor: not-allowed; }
.sp-slip { margin-top: 16px; padding: 14px; border-radius: var(--r-md); border-top: 3px solid #5cff9d; }
.sp-stake { display: flex; align-items: center; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.sp-stake-btns { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; }
.sp-summary { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; font-weight: 700; }
.sp-pot { color: #5cff9d; font-size: 18px; font-weight: 900; }
.sp-bet { padding: 12px 14px; border-radius: var(--r-md); margin-bottom: 10px; }
.sp-bet.won { border-inline-start: 3px solid #5cff9d; } .sp-bet.lost { border-inline-start: 3px solid #ff4d6d; opacity: .8; } .sp-bet.open { border-inline-start: 3px solid var(--gold); }
.sp-bet-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 8px; }
.sp-bet-status.won { color: #5cff9d; } .sp-bet-status.lost { color: #ff5c7a; } .sp-bet-status.open { color: var(--gold); }
.sp-leg { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-size: 13px; }
.sp-leg .grow { flex: 1; } .sp-leg.hit { color: #5cff9d; } .sp-leg.miss { color: #ff5c7a; }

.casino-note { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 6px; cursor: pointer; border-color: rgba(255,210,122,0.3); }
.casino-note span:first-child { font-size: 22px; }

/* coming-soon game cards */
.game-card.soon { opacity: 0.6; cursor: default; }
.game-card.soon:hover { transform: none; }
.soon-tag { position: absolute; top: 16px; inset-inline-start: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--gold); border: 1px solid rgba(255,210,122,0.4); background: rgba(255,210,122,0.1); padding: 4px 10px; border-radius: 20px; }

/* Poker table */
.seat { position: relative; }
.seat .seat-stack { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.seat .seat-chip { font-family: var(--mono); font-size: 12px; color: #ffe08a; margin-top: 2px; }
.seat .seat-bet.allin { color: var(--magenta); font-weight: 700; letter-spacing: 1px; }
.seat.winner { border-color: rgba(92,255,157,0.55); box-shadow: 0 0 26px -8px #5cff9d; }
.dealer-btn { position: absolute; top: 8px; inset-inline-end: 8px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #0a0c16; font-weight: 800; font-size: 12px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.poker-clock { font-family: var(--mono); color: var(--teal); }
.poker-actions { margin-top: 10px; }
.raise-box { padding: 14px 16px; max-width: 420px; margin: 0 auto; }
.raise-amt { color: var(--gold); font-family: var(--mono); font-size: 18px; }
.raise-slider { width: 100%; accent-color: var(--gold); margin: 4px 0 10px; height: 26px; }

/* Casino settings (manager) */
.cfg-grid { display: flex; flex-direction: column; gap: 8px; }
.cfg-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.cfg-row span { color: var(--ink-dim); }
.cfg-row input[type=number] { background: rgba(0,0,0,0.3); border: 1px solid var(--stroke); border-radius: 10px; color: var(--ink); padding: 7px 9px; font-family: var(--mono); font-size: 14px; text-align: center; }
.cfg-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--purple); }

/* Casino solo games */
.bet-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.bet-btn { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--glass); color: var(--ink-dim); font-family: var(--mono); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; }
.bet-btn:hover:not(:disabled) { border-color: var(--stroke-strong); color: var(--ink); }
.bet-btn.active { background: var(--gold); color: #1a1205; border-color: var(--gold); box-shadow: 0 0 18px -5px var(--gold); }
.bet-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Slot machine — cabinet + lever */
.slot-cabinet { position: relative; display: inline-flex; align-items: stretch; gap: 4px; margin: 8px auto 0; }
.slot-machine { padding: 18px 22px; border-radius: 22px; background: linear-gradient(180deg, #2a1330, #140a1c); border: 4px solid; border-color: #e6c47e #9c7a32 #6b521f #caa455; box-shadow: inset 0 2px 0 rgba(255,255,255,0.12), 0 18px 44px -18px #000; }
.slot-toptext { text-align: center; font-family: var(--display); font-weight: 900; letter-spacing: 4px; color: var(--gold); text-shadow: 0 0 14px rgba(255,210,122,0.55); margin-bottom: 10px; font-size: 13px; }
.slot-display { background: #06080f; border-radius: 12px; padding: 11px; box-shadow: inset 0 0 26px rgba(0,0,0,0.85), inset 0 0 0 2px rgba(255,210,122,0.32); }
.slot-machine.flash-win { animation: slot-win 0.7s ease-out 2; }
@keyframes slot-win { 0%,100% { box-shadow: inset 0 2px 0 rgba(255,255,255,0.12), 0 18px 44px -18px #000; } 50% { box-shadow: inset 0 0 0 3px var(--gold), 0 0 50px -6px var(--gold); } }
.slot-reels { display: flex; gap: 9px; }
.slot-reel { width: 74px; height: 94px; border-radius: 11px; overflow: hidden; background: linear-gradient(180deg,#fff,#dbe2ec); display: grid; place-items: center; font-size: 46px; box-shadow: inset 0 9px 12px -7px rgba(0,0,0,0.45), inset 0 -9px 12px -7px rgba(0,0,0,0.45); }
.slot-reel.spinning { animation: reelRoll .1s linear infinite; }
@keyframes reelRoll { 0% { transform: translateY(-13px); filter: blur(1.6px); } 100% { transform: translateY(13px); filter: blur(1.6px); } }
.slot-lever { position: relative; width: 30px; cursor: pointer; align-self: stretch; -webkit-user-select: none; user-select: none; }
.slot-lever .lever-base { position: absolute; bottom: 6px; left: 50%; width: 18px; height: 16px; margin-left: -9px; background: linear-gradient(180deg,#5a5a5a,#222); border-radius: 4px; }
.slot-lever .lever-rod { position: absolute; bottom: 18px; left: 50%; width: 7px; height: 64px; margin-left: -3.5px; background: linear-gradient(90deg,#7a7a7a,#e8e8e8,#7a7a7a); border-radius: 4px; transform-origin: bottom center; transition: transform .25s cubic-bezier(.3,.8,.4,1.3); }
.slot-lever .lever-knob { position: absolute; bottom: 76px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7a7a, #b01f1f); box-shadow: 0 4px 9px rgba(0,0,0,0.55); transition: transform .25s cubic-bezier(.3,.8,.4,1.3); }
.slot-lever.pulled .lever-rod { transform: translateY(42px) scaleY(.45); }
.slot-lever.pulled .lever-knob { transform: translateY(42px); }
.paytable { padding: 14px 18px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.pay-line { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }

.roul-result { width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; border: 4px solid; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 46px; background: rgba(0,0,0,0.3); }
/* spinning wheel */
.roul-wheel-wrap { position: relative; width: 230px; height: 230px; margin: 6px auto 4px; }
.roul-wheel { position: absolute; inset: 0; border-radius: 50%; border: 6px solid #2a2030; box-shadow: inset 0 0 30px rgba(0,0,0,0.75), 0 16px 40px -12px rgba(0,0,0,0.8); will-change: transform; }
@keyframes roul-spin { from { transform: rotate(var(--rfrom)); } to { transform: rotate(var(--rto)); } }
.roul-num { position: absolute; top: 50%; left: 50%; width: 0; height: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; }
.roul-rim { position: absolute; inset: -7px; border-radius: 50%; border: 7px solid; border-color: #e3c27a #9c7a32 #6b521f #c9a455; box-shadow: inset 0 0 14px rgba(0,0,0,0.6), 0 0 22px -6px #ffd27a99; pointer-events: none; z-index: 1; }
.roul-ball-track { position: absolute; inset: 0; z-index: 2; pointer-events: none; will-change: transform; }
.roul-ball { position: absolute; top: 7px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b8b8b8); box-shadow: 0 0 7px rgba(255,255,255,0.85), 0 2px 3px rgba(0,0,0,0.5); }
.roul-hub { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #5a4734, #1a1410); border: 2px solid #ffd27a88; box-shadow: inset 0 2px 6px rgba(255,255,255,0.15), 0 0 14px rgba(0,0,0,0.6); z-index: 2; }
.roul-pointer { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid #ffd27a; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7)); z-index: 4; }

/* Roulette felt — professional betting layout */
.roul-betsize { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
/* Roulette felt — real table, vertical (0+00 top, outside/dozen strips on the left, on green felt) */
.roul-table { display: grid; width: min(380px, 94vw); grid-template-columns: 40px 30px 1fr 1fr 1fr; grid-template-rows: 30px repeat(12, 34px) 28px; margin: 2px auto 0; direction: ltr; background: #0b6e3a; border: 4px solid #caa455; border-radius: 10px; box-shadow: inset 0 0 50px rgba(0,0,0,0.4), 0 12px 30px -14px #000; }
.rzeros { grid-column: 3 / 6; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; }
.roul-table .rcell { position: relative; border: 1px solid rgba(255,255,255,0.55); display: grid; place-items: center; cursor: pointer; font-weight: 700; font-size: 14px; color: #fff; background: transparent; -webkit-user-select: none; user-select: none; text-align: center; overflow: hidden; }
.roul-table .rcell:active { filter: brightness(1.25); }
.roul-table .rcell .rcl { line-height: 1.05; text-shadow: 0 1px 2px rgba(0,0,0,0.55); }
.roul-table .rcell.rnum { font-family: var(--display); font-weight: 800; font-size: 15px; }
.roul-table .rcell.rnum.r-red { background: #c1121f; }
.roul-table .rcell.rnum.r-black { background: #16181d; }
.roul-table .rcell.rzero { background: #0a8a3f; font-size: 16px; font-family: var(--display); }
.roul-table .rcell.rcol { font-size: 12px; font-weight: 800; }
.roul-table .rcell.vstrip .rcl { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; }
.roul-table .rcell.dia .rcl { font-size: 22px; line-height: 1; }
.roul-table .rcell.dia-red .rcl { color: #e2392f; }
.roul-table .rcell.dia-black .rcl { color: #0c0c0c; text-shadow: 0 0 2px rgba(255,255,255,0.3); }
.roul-table .rcell:hover { box-shadow: 0 0 0 2px rgba(255,210,122,0.5) inset; z-index: 2; }
.roul-table .rcell.has { box-shadow: 0 0 0 2px var(--gold) inset, 0 0 14px -3px var(--gold); z-index: 3; }
.rchip { position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; font-weight: 800; color: #2a1c05; background: radial-gradient(circle at 35% 30%, #ffe9a8, #e3b24a); border: 1.5px solid #b8860b; border-radius: 11px; padding: 0 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.55); animation: rchip-pop 0.22s ease-out; z-index: 4; }

/* Blackjack — real table look */
.bj-felt { position: relative; padding: 18px 16px 26px; border-radius: 18px 18px 46% 46% / 18px 18px 30% 30%; background: radial-gradient(125% 95% at 50% 0%, #0e8c50, #064a2a 74%); border: 5px solid; border-color: #e0bd76 #9c7a32 #6b521f #caa455; box-shadow: inset 0 0 50px rgba(0,0,0,0.45), inset 0 2px 0 rgba(255,255,255,0.12), 0 14px 36px -16px #000; overflow: hidden; }
.bj-felt.flash-win { animation: bj-win-flash 0.7s ease-out; }
@keyframes bj-win-flash { 0% { box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 60px rgba(255,210,122,0.5); } 100% { box-shadow: inset 0 0 50px rgba(0,0,0,0.45); } }
.bj-arc { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: rgba(255,235,190,0.7); border-top: 1px dashed rgba(255,235,190,0.3); border-bottom: 1px dashed rgba(255,235,190,0.3); padding: 6px 0; margin: 12px 0; }
.bj-dealer-label, .bj-felt .eyebrow { color: rgba(255,255,255,0.85); }

/* Chip economy / Bank */
.chip-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 40px; border: 1px solid rgba(255,210,122,0.35); background: rgba(255,210,122,0.08); cursor: pointer; position: relative; transition: all .2s; }
.chip-pill:hover { background: rgba(255,210,122,0.16); }
.chip-pill b { color: var(--gold); font-family: var(--mono); font-size: 14px; }
.req-dot { position: absolute; top: -6px; left: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px; background: var(--magenta); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 10px var(--magenta); }
.icon-btn.back-btn { font-size: 20px; font-weight: 800; border-color: var(--stroke-strong); }
.icon-btn.bell { position: relative; animation: bell-pulse 1.4s ease-in-out infinite; }
@keyframes bell-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.casino-chip { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.55); box-shadow: 0 2px 5px rgba(0,0,0,0.5), inset 0 0 0 3px rgba(0,0,0,0.12); }
.chip-stack { display: flex; gap: 14px; align-items: flex-end; min-height: 36px; margin-top: 4px; }
.chip-col { position: relative; width: 26px; height: 30px; }
.bank-mybal { font-family: var(--display); font-weight: 900; font-size: 52px; color: var(--gold); line-height: 1; }
.bank-list { display: flex; flex-direction: column; gap: 8px; }
.bank-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--stroke); background: var(--glass); }
.bank-bal { color: var(--gold); font-family: var(--mono); font-size: 15px; flex: none; min-width: 56px; text-align: center; }
.bank-reqs, .bank-req-row { display: flex; flex-direction: column; gap: 8px; }
.bank-req-row { flex-direction: row; align-items: center; gap: 8px; }
.bank-overlay input[type=number], .bank-list input, .bank-reqs input { background: rgba(0,0,0,0.3); border: 1px solid var(--stroke); border-radius: 10px; color: var(--ink); padding: 8px 10px; font-family: var(--mono); font-size: 14px; outline: none; }
.bank-overlay input[type=number]:focus { border-color: var(--gold); }

/* Helpers */
.row { display: flex; gap: 12px; align-items: center; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.mt-s { margin-top: 10px; } .mt-m { margin-top: 20px; } .mt-l { margin-top: 32px; }
.muted { color: var(--ink-dim); } .faint { color: var(--ink-faint); }
.hide { display: none !important; }
/* keep latin codes/cards rendering left-to-right inside RTL layout */
.code-display, .room-badge, .brandmark, .card-face { direction: ltr; }
.grow { flex: 1; }
.pulse-glow { animation: glowPulse 2s infinite; }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,245,216,0.4); } 50% { box-shadow: 0 0 0 14px rgba(52,245,216,0); } }
.fade-key { animation: screenIn .45s var(--ease) both; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-panel { min-height: 100dvh; }
  .lobby-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .game-grid { grid-template-columns: 1fr; }
  .tally-grid { grid-template-columns: 1fr; }
  .topbar .brandmark span.full { display: none; }
  .modal { padding: 22px; }
  .stage-body { padding: 18px; }
  .code-display { letter-spacing: 6px; }
}

/* ============================================================
   פוקר — שולחן אובלי לרוחב (Texas Hold'em, סגנון אפליקציות אמיתיות)
   ============================================================ */
.pk-rotate { display: none; }
.pk-msg { text-align: center; padding: 26px 22px; max-width: 420px; margin: 30px auto; }

/* פורטרייט → בקשה לסובב את הטלפון */
@media (orientation: portrait) {
  .pk-table, .pk-bar, .bj2-table, .bj2-bar { display: none !important; }
  .pk-rotate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 58vh; text-align: center; padding: 30px; }
  .pk-rotate .pk-rotic { font-size: 64px; animation: pk-rot 2.4s ease-in-out infinite; }
  .pk-rotate p { font-size: 16px; color: var(--ink); max-width: 280px; line-height: 1.5; }
}
@keyframes pk-rot { 0%,55%,100% { transform: rotate(0); } 25%,40% { transform: rotate(90deg); } }

/* לנדסקייפ → שולחן מלא */
.stage-body:has(.pk-table), .stage-body:has(.bj2-table) { padding: 0 !important; overflow: hidden; }
.pk-table { position: relative; width: 100%; height: calc(100dvh - 56px); max-height: 600px; margin: 0 auto; }
.pk-felt { position: absolute; inset: 4% 2% 8%; border-radius: 50% / 46%; background: radial-gradient(120% 100% at 50% 26%, #16965b, #0b5e34 64%, #06401f); border: 7px solid; border-color: #e0bd76 #9c7a32 #6b521f #caa455; box-shadow: inset 0 0 64px rgba(0,0,0,0.55), inset 0 3px 0 rgba(255,255,255,0.10), 0 18px 48px -18px #000; }

.pk-center { position: absolute; left: 50%; top: 37%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.pk-pot { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 700; color: #ffe6a8; font-size: 14px; background: rgba(0,0,0,0.42); padding: 4px 15px; border-radius: 20px; border: 1px solid rgba(255,210,122,0.4); box-shadow: 0 4px 14px -6px #000; }
.pk-pot b { color: #fff; }
.pk-board { display: flex; gap: 5px; }
.pk-board .card-face { width: 44px; height: 63px; font-size: 13px; border-radius: 6px; padding: 4px 5px; }
.pk-street { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.5); text-transform: uppercase; }

.pk-seat { position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center; transform: translate(-50%,-50%); }
.pk-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 10px; border-radius: 14px; background: rgba(8,10,20,0.7); border: 1px solid rgba(255,255,255,0.10); min-width: 74px; }
.pk-pod.turn { border-color: var(--teal); box-shadow: 0 0 20px -4px var(--teal); }
.pk-pod.fold { opacity: 0.4; }
.pk-pod.won { border-color: var(--gold); box-shadow: 0 0 28px -3px var(--gold); animation: pk-wonpulse 1s ease-in-out infinite; }
@keyframes pk-wonpulse { 0%,100% { box-shadow: 0 0 22px -6px var(--gold); } 50% { box-shadow: 0 0 34px 0 var(--gold); } }
.pk-av { position: relative; width: 44px; height: 44px; }
.pk-av .avatar.sm { width: 44px; height: 44px; font-size: 16px; }
.pk-av.timing .avatar { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), 0 0 16px -2px var(--teal); }
.pk-nm { font-weight: 700; font-size: 11px; max-width: 94px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-st { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.pk-hand { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: #bff3e6; }
.pk-win { font-family: var(--mono); font-size: 12px; color: #5cff9d; font-weight: 700; }
.pk-badges { position: absolute; top: -9px; inset-inline-end: -10px; display: flex; gap: 3px; z-index: 4; }
.pk-d { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #1a1205; background: radial-gradient(circle at 35% 30%, #fff, #d9b65a); border: 1px solid #b8860b; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.pk-bl { font-family: var(--mono); font-size: 8px; font-weight: 800; letter-spacing: 0.5px; padding: 2px 4px; border-radius: 7px; color: #fff; }
.pk-bl.sb { background: #2b6cb0; }
.pk-bl.bb { background: #9a6bff; }
.pk-lastact { position: absolute; top: -11px; inset-inline-start: -6px; font-family: var(--mono); font-size: 8.5px; font-weight: 800; letter-spacing: 0.5px; padding: 2px 7px; border-radius: 9px; background: rgba(0,0,0,0.82); border: 1px solid rgba(255,255,255,0.2); color: #fff; white-space: nowrap; z-index: 5; }
.pk-lastact.a-fold { color: #ff8aa0; border-color: rgba(255,77,109,0.5); }
.pk-lastact.a-raise, .pk-lastact.a-bet { color: #ffd27a; border-color: rgba(255,210,122,0.6); }
.pk-lastact.a-call { color: #aef7ec; }
.pk-mini { display: flex; gap: 2px; margin-bottom: -6px; }
.pk-mini .card-face { width: 24px; height: 34px; border-radius: 4px; padding: 3px; }
.pk-mini.show .card-face { width: 32px; height: 45px; border-radius: 5px; font-size: 11px; padding: 3px 4px; }

.pk-betchip { position: absolute; transform: translate(-50%,-50%); z-index: 4; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.62); padding: 2px 9px 2px 4px; border-radius: 20px; border: 1px solid rgba(255,210,122,0.45); animation: pk-betin 0.25s var(--ease); }
.pk-betchip .pk-chipdot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe8a8, #d9a93a); border: 1.5px dashed rgba(255,255,255,0.75); }
.pk-betchip.allin { color: #ff7591; border-color: var(--magenta); font-weight: 800; }
.pk-betchip.allin .pk-chipdot { background: radial-gradient(circle at 35% 30%, #ff9db1, var(--magenta)); }
@keyframes pk-betin { from { opacity: 0; transform: translate(-50%,-30%) scale(0.6); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }

/* אזור השחקן — קבוע למטה-מרכז (קלפים גדולים + הסטאק שלי תמיד נראה) */
.pk-hero { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 12px; z-index: 6; }
.pk-myhole { display: flex; gap: 6px; }
.pk-myhole .card-face { width: 60px; height: 84px; font-size: 18px; box-shadow: 0 12px 24px -8px rgba(0,0,0,0.75); }
.pk-hero .pk-pod { background: rgba(8,10,20,0.85); border-color: rgba(94,234,212,0.4); }

.pk-status { position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); z-index: 5; font-family: var(--mono); color: var(--gold); letter-spacing: 1px; font-size: 13px; background: rgba(5,6,10,0.62); padding: 6px 16px; border-radius: 20px; text-align: center; white-space: nowrap; }
.pk-status.win { background: rgba(5,6,10,0.8); padding: 8px 22px; display: flex; flex-direction: column; gap: 2px; }
.pk-status .pk-winbanner { font-family: var(--display); font-weight: 900; font-size: 19px; color: var(--gold); text-shadow: 0 0 16px rgba(255,210,122,0.5); }
.pk-status .pk-next { font-size: 11px; color: var(--ink-dim); }

/* פקודות — בפינות התחתונות (לא מסתירות קלפים) */
.pk-corner { position: absolute; bottom: 8px; z-index: 7; display: flex; flex-direction: column; gap: 6px; }
.pk-corner.left { inset-inline-start: 10px; width: 114px; }
.pk-corner.right { inset-inline-end: 10px; width: 200px; }
.pk-act { padding: 11px 8px; border-radius: 12px; font-weight: 800; font-size: 15px; letter-spacing: 1px; border: 1px solid var(--stroke); background: var(--glass-2); color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; transition: transform 0.12s var(--ease); }
.pk-act:active { transform: scale(0.95); }
.pk-act em { font-style: normal; font-family: var(--mono); font-size: 11px; opacity: 0.9; }
.pk-act.fold { background: rgba(255,77,109,0.16); border-color: rgba(255,77,109,0.45); color: #ff8aa0; }
.pk-act.call, .pk-act.check { background: rgba(94,234,212,0.18); border-color: rgba(94,234,212,0.5); color: #aef7ec; }
.pk-act.raise { background: linear-gradient(135deg, var(--gold), #e0a93a); border-color: var(--gold); color: #1a1205; }
.pk-quick { display: flex; gap: 5px; }
.pk-q { flex: 1; padding: 7px 2px; border-radius: 9px; font-size: 12px; font-weight: 700; background: var(--glass); border: 1px solid var(--stroke); color: var(--ink-dim); cursor: pointer; }
.pk-q:active { background: var(--gold); color: #1a1205; }
.pk-sliderrow { display: flex; align-items: center; gap: 8px; background: rgba(5,6,10,0.6); padding: 3px 9px; border-radius: 10px; }
.pk-slider { flex: 1; accent-color: var(--gold); height: 22px; min-width: 0; }
.pk-amt { color: var(--gold); font-family: var(--mono); font-size: 14px; min-width: 52px; text-align: center; }

/* ============================================================
   בלק-ג'ק — שולחן לרוחב (סגנון אפליקציות קזינו אמיתיות)
   ============================================================ */
.bj2-table { position: relative; width: 100%; height: calc(100dvh - 56px); max-height: 600px; margin: 0 auto; }
.bj2-felt { position: absolute; inset: 3% 2% 8%; background: radial-gradient(120% 120% at 50% 0%, #16965b, #0b5e34 60%, #05381d); border: 7px solid; border-color: #e0bd76 #9c7a32 #6b521f #caa455; border-radius: 18px 18px 48% 48% / 18px 18px 80% 80%; box-shadow: inset 0 0 70px rgba(0,0,0,0.55), inset 0 3px 0 rgba(255,255,255,0.10), 0 18px 48px -18px #000; }
.bj2-table.win .bj2-felt { animation: bj-win-flash 0.7s ease-out 3; }
.bj2-dealer { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bj2-label { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.bj2-shoe { font-size: 30px; opacity: 0.8; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); }
.bj2-rules { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); z-index: 1; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.5px; color: rgba(255,235,180,0.4); text-transform: uppercase; border-top: 1px solid rgba(255,210,122,0.14); border-bottom: 1px solid rgba(255,210,122,0.14); padding: 4px 14px; white-space: nowrap; }
.bj2-hands { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3; display: flex; gap: 22px; justify-content: center; }
.bj2-me { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 14px; transition: box-shadow 0.3s, background 0.3s; }
.bj2-me.active { background: rgba(255,210,122,0.10); box-shadow: 0 0 0 1.5px rgba(255,210,122,0.5), 0 0 26px -8px var(--gold); }
.bj2-val { font-family: var(--mono); font-size: 14px; font-weight: 700; color: #aef7ec; }
.bj2-val.bust { color: #ff8aa0; }
.bj2-cards { display: flex; gap: 5px; }
.bj2-cards.dealer .card-face { width: 48px; height: 68px; font-size: 14px; }
.bj2-cards.me .card-face { width: 58px; height: 82px; font-size: 17px; box-shadow: 0 10px 22px -8px rgba(0,0,0,0.7); }
.bj2-betchip2 { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 12px; color: #ffe6a8; background: rgba(0,0,0,0.4); padding: 2px 11px; border-radius: 20px; border: 1px solid rgba(255,210,122,0.4); }
.bj2-betchip2::before { content: ''; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe8a8, #d9a93a); border: 1.5px dashed rgba(255,255,255,0.7); }
.bj2-result { font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: 1px; padding: 1px 12px; border-radius: 8px; margin-top: 2px; }
.bj2-result.r-win, .bj2-result.r-bj { background: rgba(92,255,157,0.16); color: #5cff9d; }
.bj2-result.r-lose { background: rgba(255,77,109,0.16); color: #ff8aa0; }
.bj2-result.r-push { background: rgba(255,255,255,0.1); color: var(--ink-dim); }
.bj2-betspot { position: absolute; left: 50%; top: 52%; transform: translate(-50%,-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bj2-chipbig { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: 20px; color: #1a1205; background: radial-gradient(circle at 38% 32%, #ffe8a8, #d9a93a 70%, #b9892b); border: 4px dashed rgba(255,255,255,0.75); box-shadow: 0 8px 20px -6px rgba(0,0,0,0.6); }
.bj2-betlbl { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.6); }

/* סטטוס מרכזי (דילר משחק / תוצאה) */
.bj2-status { position: absolute; left: 50%; bottom: 116px; transform: translateX(-50%); z-index: 5; font-family: var(--mono); color: var(--gold); letter-spacing: 1px; font-size: 14px; text-align: center; background: rgba(5,6,10,0.6); padding: 6px 18px; border-radius: 20px; white-space: nowrap; }
.bj2-status.dealer { color: #ffd27a; }
.bj2-status.result { font-family: var(--display); font-weight: 800; font-size: 18px; }

/* שליטה בהימור (שלב ה-bet) — מרכז-תחתון */
.bj2-controls { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; gap: 9px; align-items: center; }
.bj2-chiptray { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bj2-chip { min-width: 58px; padding: 9px 10px; border-radius: 22px; font-family: var(--mono); font-weight: 700; font-size: 13px; color: #1a1205; background: radial-gradient(circle at 38% 30%, #ffe8a8, #e6b94a 75%); border: 2px dashed rgba(255,255,255,0.7); cursor: pointer; }
.bj2-chip:disabled { opacity: 0.35; }
.bj2-chip.clear { background: var(--glass); color: var(--ink-dim); border: 1px solid var(--stroke); min-width: 46px; }

/* פקודות בפינות התחתונות — לא מסתירות קלפים */
.bj2-corner { position: absolute; bottom: 10px; z-index: 7; display: flex; flex-direction: column; gap: 7px; width: 150px; }
.bj2-corner.left { inset-inline-start: 12px; }
.bj2-corner.right { inset-inline-end: 12px; }
.bj2-act { padding: 13px 8px; border-radius: 13px; font-weight: 800; font-size: 15px; letter-spacing: 1px; border: 1px solid var(--stroke); background: var(--glass-2); color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; transition: transform 0.12s var(--ease); }
.bj2-act:active { transform: scale(0.95); }
.bj2-act:disabled { opacity: 0.4; }
.bj2-act em { font-style: normal; font-family: var(--mono); font-size: 11px; opacity: 0.9; }
.bj2-act.hit { background: rgba(94,234,212,0.16); border-color: rgba(94,234,212,0.45); color: #aef7ec; }
.bj2-act.stand { background: rgba(255,77,109,0.14); border-color: rgba(255,77,109,0.4); color: #ff8aa0; }
.bj2-act.split { background: rgba(154,107,255,0.16); border-color: rgba(154,107,255,0.45); color: #c9b3ff; }
.bj2-act.ins, .bj2-act.deal { background: linear-gradient(135deg, var(--gold), #e0a93a); border-color: var(--gold); color: #1a1205; }
.bj2-controls .bj2-act.deal { min-width: 240px; }

/* יומן עמלות (מנהל) */
.rake-log { display: flex; flex-direction: column; gap: 10px; max-height: 240px; overflow-y: auto; }
.rake-day-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; padding: 4px 2px; border-bottom: 1px solid var(--stroke); }
.rake-day-head b { color: #5cff9d; font-family: var(--mono); }
.rake-day-items { display: flex; flex-direction: column; gap: 3px; margin-top: 5px; }
.rake-item { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 3px 6px; border-radius: 8px; background: rgba(255,255,255,0.03); }
.rake-item .grow { flex: 1; }
.rake-item .rake-time { font-family: var(--mono); font-size: 10px; color: var(--ink-dim); }
.rake-item b { font-family: var(--mono); }

/* רולטה — המספר שיצא, גדול במרכז המסך */
.roul-result { position: fixed; left: 50%; top: 40%; transform: translate(-50%,-50%); z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; animation: roul-pop 0.45s var(--ease) both; }
.roul-result-chip { width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 54px; color: #fff; border: 5px solid rgba(255,255,255,0.85); box-shadow: 0 0 60px -4px currentColor, 0 18px 44px -10px #000; }
.roul-result-chip.red { background: radial-gradient(circle at 36% 30%, #e23b3b, #c1121f); color: #e23b3b; }
.roul-result-chip.black { background: radial-gradient(circle at 36% 30%, #2a2d34, #111316); color: #444; }
.roul-result-chip.green { background: radial-gradient(circle at 36% 30%, #12a050, #0a8a3f); color: #12a050; }
.roul-result-cap { font-family: var(--mono); font-weight: 700; letter-spacing: 2px; font-size: 14px; color: #fff; background: rgba(5,6,10,0.72); padding: 5px 16px; border-radius: 20px; }
@keyframes roul-pop { from { opacity: 0; transform: translate(-50%,-50%) scale(0.5); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }

/* פוקר — שורת "הצג קלפים / אל תראה" (ניצחון בפרישה) */
.pk-showrow { display: flex; gap: 8px; margin-top: 6px; }
.pk-showrow .pk-act { padding: 8px 16px; font-size: 13px; flex: none; }

/* רולטה — אזורי הימור על קווים (split 2 / corner 4) */
.roul-table .rcell.rnum { overflow: visible; }
.rzone { position: absolute; z-index: 6; cursor: pointer; }
.rzone.rz-r { top: 12%; inset-inline-end: -5px; width: 11px; height: 76%; }
.rzone.rz-b { inset-inline-start: 12%; bottom: -5px; height: 11px; width: 76%; }
.rzone.rz-c { inset-inline-end: -7px; bottom: -7px; width: 15px; height: 15px; z-index: 7; }
/* הז'טון על הקו/הצומת — ממורכז בדיוק על אזור ההימור (בלי ריבוע צד) */

/* בהירות זכייה/הפסד */
.roul-result-win { font-family: var(--mono); font-weight: 800; font-size: 14px; padding: 5px 16px; border-radius: 20px; }
.roul-result-win.win { color: #5cff9d; background: rgba(92,255,157,0.14); }
.roul-result-win.lose { color: #ff8aa0; background: rgba(255,77,109,0.16); }
.pk-win.neg { color: #ff8aa0; }

/* בלק-ג'ק רב-משתתפי — דילר למעלה, מושבים מסביב לקשת */
.bjt-dealer { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bjt-table .bj2-cards.dealer .card-face { width: 46px; height: 66px; font-size: 14px; box-shadow: 0 8px 18px -8px rgba(0,0,0,0.7); }
.bjt-table .bj2-cards.me .card-face { width: 41px; height: 58px; font-size: 13px; box-shadow: 0 8px 18px -8px rgba(0,0,0,0.7); }
.bjt-seat { position: absolute; transform: translate(-50%,-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bjt-seat.turn { z-index: 5; }
.bjt-hands { display: flex; gap: 10px; }
.bjt-hand { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 7px; border-radius: 12px; transition: box-shadow .3s, background .3s; }
.bjt-hand.active { background: rgba(255,210,122,0.12); box-shadow: 0 0 0 1.5px rgba(255,210,122,0.55), 0 0 24px -8px var(--gold); }
/* חיווי ניקוד כתג עגול (כמו בתמונת הרפרנס) */
.bjt-val { font-family: var(--mono); font-size: 12px; font-weight: 800; color: #06281f; background: linear-gradient(135deg, #aef7ec, #5eead4); padding: 2px 10px; border-radius: 14px; box-shadow: 0 3px 8px -3px rgba(0,0,0,0.6); }
.bjt-hand.active .bjt-val { background: linear-gradient(135deg, #ffe8a8, var(--gold)); color: #1a1205; }
.bjt-val.bust { background: linear-gradient(135deg, #ff8aa0, #ff4d6d); color: #fff; }
.bjt-betchip { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; color: #ffe6a8; background: rgba(0,0,0,0.42); padding: 1px 8px; border-radius: 16px; border: 1px solid rgba(255,210,122,0.4); }
.bjt-betchip::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe8a8, #d9a93a); border: 1.5px dashed rgba(255,255,255,0.7); }
.bjt-betstate { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.55); }
.bjt-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 9px; border-radius: 13px; background: rgba(8,10,20,0.7); border: 1px solid rgba(255,255,255,0.1); min-width: 64px; }
.bjt-seat.turn .bjt-pod { border-color: var(--teal); box-shadow: 0 0 18px -4px var(--teal); }
.bjt-seat.me .bjt-pod { background: rgba(8,10,20,0.85); border-color: rgba(94,234,212,0.4); }
.bjt-mybet { font-family: var(--mono); font-size: 13px; color: var(--gold); text-align: center; }

/* רולטה — כרטיס תוצאה קטן קופצני (נעלם אחרי 2ש' / ✕) */
.roul-pop { position: fixed; left: 50%; top: 40%; transform: translate(-50%,-50%); z-index: 95; width: min(248px, 78vw); padding: 18px 18px 16px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; box-shadow: 0 26px 64px -18px #000; animation: roul-pop-in 0.34s var(--ease) both; }
.roul-pop.win { background: linear-gradient(160deg, #0f3d28, #0a261a); border: 2px solid rgba(92,255,157,0.55); }
.roul-pop.lose { background: linear-gradient(160deg, #281620, #170d12); border: 2px solid rgba(255,77,109,0.3); }
.roul-pop-x { position: absolute; top: 7px; inset-inline-end: 7px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.roul-pop-x:active { background: rgba(255,255,255,0.25); }
.roul-pop-chip { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 36px; color: #fff; border: 4px solid rgba(255,255,255,0.85); box-shadow: 0 8px 22px -6px #000; }
.roul-pop-chip.red { background: radial-gradient(circle at 36% 30%, #e23b3b, #c1121f); }
.roul-pop-chip.black { background: radial-gradient(circle at 36% 30%, #2a2d34, #111316); }
.roul-pop-chip.green { background: radial-gradient(circle at 36% 30%, #12a050, #0a8a3f); }
.roul-pop-cap { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,0.75); }
.roul-pop-amt { font-family: var(--display); font-weight: 800; font-size: 20px; }
.roul-pop.win .roul-pop-amt { color: #5cff9d; text-shadow: 0 0 16px rgba(92,255,157,0.5); }
.roul-pop.lose .roul-pop-amt { color: #ff8aa0; }
@keyframes roul-pop-in { from { opacity: 0; transform: translate(-50%,-50%) scale(0.7); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.roul-pop.win .roul-pop-chip { animation: roul-pop-cheer 0.6s 0.3s ease; }
@keyframes roul-pop-cheer { 0%,100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-8deg) scale(1.12); } 60% { transform: rotate(8deg) scale(1.12); } }

/* צ'אט חדר */
.chat-modal { max-width: 440px; display: flex; flex-direction: column; max-height: 82vh; }
.chat-body { flex: 1; min-height: 180px; max-height: 50vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px 4px; }
.chat-msg { display: flex; flex-direction: column; gap: 1px; align-self: flex-start; max-width: 82%; background: var(--glass-2); border: 1px solid var(--stroke); border-radius: 12px; padding: 6px 11px; }
.chat-msg.mine { align-self: flex-end; background: rgba(94,234,212,0.14); border-color: rgba(94,234,212,0.35); }
.chat-name { font-size: 10px; font-weight: 700; color: var(--gold); }
.chat-msg.mine .chat-name { color: var(--teal); }
.chat-text { font-size: 14px; word-break: break-word; }
.chat-emojis { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; padding: 8px 0; border-top: 1px solid var(--stroke); margin-top: 6px; }
.chat-emoji { font-size: 22px; background: none; border: none; cursor: pointer; padding: 3px 5px; border-radius: 8px; }
.chat-emoji:active { background: var(--glass-2); transform: scale(1.2); }
.chat-inputrow { display: flex; gap: 8px; margin-top: 4px; }
.chat-input { flex: 1; }
.chat-fab { position: fixed; top: 64px; left: 10px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--glass-2); border: 1px solid var(--stroke); box-shadow: 0 6px 18px -6px #000; cursor: pointer; }
.chat-fab .req-dot { position: absolute; top: -3px; right: -3px; }

/* בלק-ג'ק — שעון שלב הימור */
.bjt-betclock { width: 220px; max-width: 78%; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.bjt-betclock-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); }
@keyframes bjt-clock { from { width: 100%; } to { width: 0%; } }

/* פוקר — הבזק ALL-IN דרמטי */
.pk-allin-flash { position: fixed; left: 50%; top: 36%; transform: translate(-50%,-50%); z-index: 96; font-family: var(--display); font-weight: 900; font-size: 32px; color: #fff; letter-spacing: 2px; padding: 14px 28px; border-radius: 18px; background: linear-gradient(135deg, #ff4d6d, #c1121f); border: 2px solid rgba(255,255,255,0.6); box-shadow: 0 0 60px -6px var(--magenta), 0 18px 44px -12px #000; pointer-events: none; white-space: nowrap; animation: pk-allin-flash 1.5s ease both; }
@keyframes pk-allin-flash { 0% { opacity: 0; transform: translate(-50%,-50%) scale(0.5) rotate(-6deg); } 15% { opacity: 1; transform: translate(-50%,-50%) scale(1.15) rotate(3deg); } 30% { transform: translate(-50%,-50%) scale(1) rotate(0); } 80% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(0.9); } }
.pk-betchip.allin { animation: pk-betin 0.25s var(--ease), pk-allin-pulse 0.85s ease-in-out infinite; }
@keyframes pk-allin-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,109,0.5); } 50% { box-shadow: 0 0 14px 3px rgba(255,77,109,0.75); } }

/* פוקר — equity באול-אין */
.pk-eq { font-family: var(--mono); font-size: 11px; font-weight: 800; color: #ffd27a; background: rgba(255,210,122,0.16); border-radius: 8px; padding: 1px 7px; margin-top: 1px; }

/* ז'טונים צבעוניים אחידים (לפי ערך, כמו בקזינו אמיתי) */
.casino-chip.dark { border-color: rgba(0,0,0,0.4); }
.chip-disc { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 800; border: 2px dashed rgba(255,255,255,0.72); box-shadow: 0 2px 5px rgba(0,0,0,0.5), inset 0 0 0 3px rgba(0,0,0,0.14); flex: none; line-height: 1; }
.chip-disc.dark { color: #1a1205; border-color: rgba(0,0,0,0.35); }
.chip-pile { display: inline-flex; align-items: center; }
.chip-pile .chip-disc { width: 20px; height: 20px; border-width: 1.5px; margin-inline-start: -8px; }
.chip-pile .chip-disc:first-child { margin-inline-start: 0; }
.chip-pile-val { margin-inline-start: 6px; font-family: var(--mono); font-size: 12px; font-weight: 800; color: #fff; }
.chip-pile.sm .chip-disc { width: 16px; height: 16px; }
.chip-pile.sm .chip-pile-val { font-size: 10px; margin-inline-start: 4px; }

/* רולטה — ז'טונים צבעוניים על הלבד + בוחר ז'טון */
.roul-table .rcell > .chip-disc { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; font-size: 8px; border-width: 1.5px; z-index: 4; }
.rzone .chip-disc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; font-size: 7px; border-width: 1.5px; z-index: 9; }
.chip-pick { background: transparent; border: 2px solid transparent; border-radius: 50%; padding: 1px; cursor: pointer; line-height: 0; }
.chip-pick.active { border-color: var(--gold); box-shadow: 0 0 14px -4px var(--gold); }
.chip-pick:disabled { opacity: 0.4; }
.chip-pick .chip-disc { width: 34px; height: 34px; font-size: 11px; }

/* בלק-ג'ק — תצוגת ההימור הנבחר כערימת ז'טונים צבעונית */
.bj2-betpile { display: flex; justify-content: center; align-items: center; min-height: 42px; }
.bj2-betpile .chip-disc { width: 34px; height: 34px; }
.bj2-betpile .chip-pile-val { font-size: 20px; margin-inline-start: 8px; }
.bj2-betempty { font-family: var(--mono); color: rgba(255,255,255,0.5); font-size: 13px; }
.bjt-mybet { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }

/* ---- מרכז התראות (פעמון) ---- */
.notif-log { display: flex; flex-direction: column; gap: 6px; }
.notif-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); font-size: 13.5px; }
.notif-item .notif-ic { font-size: 16px; flex: 0 0 auto; }
.topbar .bell { position: relative; }
.topbar .bell .bell-badge { position: absolute; top: -4px; inset-inline-end: -4px; }

/* ---- בלק-ג'ק שולחן: כפתור שינוי הימור + סטאפ ---- */
.bjt-changebet { position: absolute; top: 10px; inset-inline-start: 12px; z-index: 6; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,210,122,0.5); background: rgba(20,16,8,0.82); color: #ffd27a; font-family: var(--mono); font-size: 12.5px; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px); }
.bjt-changebet:active { transform: scale(0.96); }
.bjt-setup { gap: 12px; }
.bjt-setup .bjt-mybet { font-size: 15px; }

/* ---- בלק-ג'ק שולחן: ארנק עליון + שורת פעולות משנית מופרדת ---- */
.bjt-wallet { position: absolute; top: 10px; inset-inline-end: 12px; z-index: 6; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(52,245,216,0.4); background: rgba(8,16,16,0.82); color: #34f5d8; font-family: var(--mono); font-size: 12.5px; font-weight: 700; cursor: pointer; backdrop-filter: blur(4px); }
.bjt-wallet:active { transform: scale(0.96); }
/* DOUBLE/SPLIT — מעל STAND/HIT בפינות, בולטים, עם רווח שמונע לחיצה בטעות */
.bj2-act.dbl { background: rgba(255,210,122,0.2); border-color: rgba(255,210,122,0.75); color: #ffd27a; }
.bj2-act.dbl em, .bj2-act.split em { display: block; font-size: 11px; opacity: 0.85; font-style: normal; }
.bj2-act.gap { margin-bottom: 16px; }

/* ---- חשבונות: הרשמה / הגדרות / ריבוי-חדרים / תפריט ---- */
.reg-check { display: flex; align-items: center; gap: 9px; margin: 8px 2px; font-size: 13.5px; cursor: pointer; }
.reg-check input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--teal); }
.reg-check a { color: var(--gold); text-decoration: underline; }
.room-list { display: flex; flex-direction: column; gap: 8px; }
.room-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; cursor: pointer; }
.room-row:active { transform: scale(0.99); }
.settings-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; }
.legal-body { font-size: 13px; line-height: 1.6; color: var(--ink-dim); }
.legal-body h3 { color: var(--ink); font-size: 14.5px; margin: 14px 0 4px; }
.legal-body p { margin: 4px 0; }
.menu-sheet { padding: 14px; }
.menu-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 10px; border-radius: 12px; background: transparent; border: none; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; text-align: start; }
.menu-item:hover { background: rgba(255,255,255,0.05); }
.menu-item .mi-ic { font-size: 18px; width: 24px; text-align: center; }

/* ============================================================
   KIOSK · NEON ARCADE — עולם ההימורים החי (scoped under .kiosk-neon)
   ============================================================ */
:root {
  --n-cyan:#22e6ff; --n-cyan-2:#6bfff0;
  --n-magenta:#ff3ea5; --n-magenta-2:#ff7ac6;
  --n-lime:#a8ff3e; --n-lime-2:#d6ff8f;
  --n-violet:#9a6bff; --n-gold:#ffd27a; --n-gold-hi:#fff3cf;
  --n-stroke:rgba(120,180,255,.22);
  --n-glass:rgba(12,14,26,.62);
  --r-lg:20px;
  --n-sweep:linear-gradient(90deg,var(--n-cyan),var(--n-violet) 34%,var(--n-magenta) 66%,var(--n-gold));
  --n-sweep-lg:linear-gradient(90deg,var(--n-cyan),var(--n-lime) 22%,var(--n-violet) 46%,var(--n-magenta) 70%,var(--n-gold));
  --n-gold-grad:linear-gradient(135deg,var(--n-gold-hi),var(--n-gold) 34%,#b8862f 70%,var(--n-gold));
}
/* חשוב: לא לקבוע position על .kiosk-neon — היא נדבקת גם ל-.stage (position:fixed) ותשבור אותו */
.kiosk-neon::before { content:''; position:fixed; inset:-20% -20% auto -20%; height:60vh; z-index:-1; pointer-events:none;
  background:
    radial-gradient(40vw 30vh at 20% 8%,rgba(34,230,255,.13),transparent 60%),
    radial-gradient(46vw 32vh at 85% 0%,rgba(255,62,165,.12),transparent 62%),
    radial-gradient(38vw 28vh at 55% 40%,rgba(255,210,122,.08),transparent 60%);
  animation:n-aurora 14s ease-in-out infinite alternate; }
@keyframes n-aurora { from { transform:translate3d(-3%,0,0) scale(1); } to { transform:translate3d(4%,2%,0) scale(1.08); } }
.n-foil { background:var(--n-sweep-lg); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:220% 100%; animation:n-hue 6s linear infinite; }
@keyframes n-hue { to { background-position:220% 0; } }

/* --- טיקר קבוע שרץ מימין-לשמאל --- */
.kiosk-ticker { display:flex; flex-direction:column; gap:8px; padding:0; border:0; background:none; overflow:visible; }
.kt-marquee { position:relative; overflow:hidden; border-radius:14px; height:44px; display:flex; align-items:center;
  background:linear-gradient(180deg,rgba(12,14,26,.9),rgba(8,10,20,.9));
  box-shadow:0 0 0 1px rgba(120,180,255,.15),0 0 22px -6px var(--n-cyan),inset 0 0 24px -10px var(--n-magenta); }
.kt-marquee::before { content:''; position:absolute; inset:0; border-radius:14px; padding:1px; pointer-events:none;
  background:var(--n-sweep-lg); background-size:250% 100%; animation:n-hue 5s linear infinite;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.9; }
.kt-marquee::after { content:''; position:absolute; inset:0; pointer-events:none; z-index:2;
  background:linear-gradient(90deg,var(--n-glass),transparent 12% 88%,var(--n-glass)); }
.kt-track { display:flex; flex:none; white-space:nowrap; will-change:transform; animation:kt-scroll 26s linear infinite; }
.kt-seg { display:inline-block; padding-inline:14px; font-weight:800; font-size:15px; letter-spacing:.3px; color:var(--n-cyan-2); text-shadow:0 0 10px rgba(34,230,255,.35); }
@keyframes kt-scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.kt-marquee:hover .kt-track { animation-play-state:paused; }
.kt-timers { display:flex; gap:12px; justify-content:center; font-size:12px; color:var(--ink-dim); flex-wrap:wrap; }
.kt-timers span { padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.04); border:1px solid var(--n-stroke); }
.kt-timers b { color:var(--n-gold); font-variant-numeric:tabular-nums; font-size:13px; }

/* --- אזור ההגרלות: לוטו גדול + צ'אנס קטן --- */
.draw-hub { display:flex; flex-direction:column; gap:12px; margin-top:14px; }
.dh-card { position:relative; overflow:hidden; border-radius:var(--r-lg); cursor:pointer;
  background:linear-gradient(160deg,rgba(16,20,38,.9),rgba(8,10,20,.92)); border:1px solid var(--n-stroke); transition:transform .18s var(--ease); }
.dh-card:active { transform:scale(.985); }
.dh-card.lotto { padding:20px 18px 18px; text-align:center; box-shadow:0 20px 50px -22px var(--n-cyan),inset 0 0 40px -18px var(--n-violet); }
.dh-card.lotto::before { content:''; position:absolute; inset:-40%; z-index:0; pointer-events:none; opacity:.5;
  background:conic-gradient(from 0deg,transparent,var(--n-cyan),transparent 30%,var(--n-magenta),transparent 60%,var(--n-gold),transparent);
  animation:dh-rot 9s linear infinite; -webkit-mask:radial-gradient(closest-side,transparent 55%,#000 72%); mask:radial-gradient(closest-side,transparent 55%,#000 72%); }
@keyframes dh-rot { to { transform:rotate(1turn); } }
.dh-card.lotto>* { position:relative; z-index:1; }
.dh-ribbon { display:inline-block; margin-bottom:6px; border-radius:999px; z-index:2;
  background:var(--n-gold-grad); color:#2a1c02; font-weight:900; font-size:10px; letter-spacing:1px; padding:3px 14px; box-shadow:0 4px 12px -4px rgba(0,0,0,.5); }
.dh-badge { font-size:12px; font-weight:800; color:var(--n-cyan-2); letter-spacing:.5px; }
.dh-when { color:var(--ink-dim); font-weight:600; }
.dh-clock-wrap { margin-top:12px; }
.dh-lbl { display:block; font-size:11px; color:var(--ink-dim); margin-bottom:2px; }
.dh-clock { font-size:clamp(38px,13vw,60px); font-weight:900; line-height:1; font-variant-numeric:tabular-nums; letter-spacing:2px;
  background:var(--n-gold-grad); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:220% 100%;
  animation:n-hue 5s linear infinite,dh-breathe 2.4s var(--ease) infinite; }
@keyframes dh-breathe { 0%,100% { text-shadow:0 0 18px rgba(255,210,122,.35); } 50% { text-shadow:0 0 40px rgba(255,210,122,.7); } }
.dh-cta { margin-top:12px; display:inline-block; padding:8px 16px; border-radius:999px; font-weight:800; font-size:13px;
  background:linear-gradient(135deg,var(--n-cyan),var(--n-violet)); color:#04141a; box-shadow:0 6px 18px -8px var(--n-cyan); }
.dh-card.chance { padding:14px 16px; box-shadow:0 14px 34px -20px var(--n-violet); }
.dh-card.chance .dh-clock-wrap { display:flex; align-items:baseline; gap:10px; margin:0; }
.dh-card.chance .dh-clock.sm { font-size:clamp(24px,8vw,34px);
  background:linear-gradient(90deg,var(--n-violet),var(--n-magenta)); -webkit-background-clip:text; background-clip:text; color:transparent; animation:n-hue 6s linear infinite; }
.dh-cta2 { font-size:12px; color:var(--n-magenta-2); font-weight:800; margin-inline-start:auto; }

/* --- כרטיסי גירוד: פוסטר לכל סוג --- */
.st-art { width:100%; aspect-ratio:1.66; border-radius:12px 12px 0 0; overflow:hidden; margin-bottom:8px; position:relative; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.st-art svg { display:block; width:100%; height:100%; }
.st-art::after { content:''; position:absolute; inset:0; background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.38) 50%,transparent 60%); transform:translateX(-120%); transition:transform .6s var(--ease); }
.scratch-ticket:hover .st-art::after { transform:translateX(120%); }
.scratch-ticket[data-theme=fast] { box-shadow:0 0 0 2px rgba(92,255,157,.4),0 12px 26px -16px #5cff9d; }
.scratch-ticket[data-theme=x100] { box-shadow:0 0 0 2px rgba(255,210,122,.4),0 12px 26px -16px #ffd27a; }
.scratch-ticket[data-theme=diamond] { box-shadow:0 0 0 2px rgba(58,209,255,.45),0 12px 26px -16px #3ad1ff; }
.sc-play { box-shadow:0 0 0 3px var(--accent),0 20px 46px -18px var(--accent),inset 0 0 50px rgba(0,0,0,.4); }
.sc-art { position:absolute; inset:0; z-index:0; }
.sc-art svg { width:100%; height:100%; display:block; }
.sc-grid { z-index:1; background:linear-gradient(160deg,rgba(10,12,18,.66),rgba(6,7,12,.74)); backdrop-filter:blur(1px); }
.sc-canvas { z-index:3; }
.sc-cell { text-shadow:0 1px 3px rgba(0,0,0,.7); }
.sc-cell.win { background:radial-gradient(circle,color-mix(in srgb,var(--accent) 55%,transparent),transparent 72%); color:#fff; text-shadow:0 0 10px var(--accent); animation:sc-pop .5s var(--ease),sc-cellglow 1.1s var(--ease) infinite; }
@keyframes sc-cellglow { 0%,100% { box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 40%,transparent); } 50% { box-shadow:inset 0 0 16px 0 var(--accent); } }
.sc-banner.win { background:var(--n-sweep-lg); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:200%; animation:n-hue 3s linear infinite; }
.sc-play.won::after { content:''; position:absolute; inset:0; z-index:4; pointer-events:none; background:radial-gradient(circle at 50% 45%,rgba(255,210,122,.4),transparent 62%); animation:sc-flash .85s ease-out; }
@keyframes sc-flash { 0% { opacity:0; } 30% { opacity:1; } 100% { opacity:0; } }

/* --- לוטו רב-טבלאות: לשוניות --- */
.lb-tabs { display:flex; gap:6px; flex-wrap:wrap; margin:14px 0 6px; }
.lb-tab { position:relative; display:inline-flex; align-items:center; gap:5px; padding:7px 12px; border-radius:10px; font-weight:800; font-size:13px; cursor:pointer; border:1px solid var(--n-stroke); background:rgba(255,255,255,.03); color:var(--ink-dim); transition:transform .12s,box-shadow .15s; }
.lb-tab:active { transform:translateY(-1px); }
.lb-tab.active { color:#04211d; background:linear-gradient(135deg,var(--n-cyan),var(--n-lime)); border-color:transparent; box-shadow:0 0 16px -4px var(--n-cyan); }
.lb-tab.full:not(.active) { border-color:var(--n-lime); color:var(--n-lime); }
.lb-dot { color:var(--n-lime); font-weight:900; } .lb-tab.active .lb-dot { color:#04211d; } .lb-cnt { opacity:.7; font-variant-numeric:tabular-nums; }
.lb-x { margin-inline-start:4px; opacity:.7; font-size:11px; } .lb-x:hover { opacity:1; color:var(--n-magenta); }
.lb-tab.add { background:transparent; border-style:dashed; color:var(--n-cyan); }

/* --- ספורט: קרסטים, צבעי קבוצה, לייב --- */
.sp-demo { display:inline-flex; align-items:center; gap:4px; font-size:12px; padding:5px 12px; border-radius:999px; margin-bottom:10px; background:rgba(255,210,122,.1); border:1px solid rgba(255,210,122,.4); color:var(--n-gold); }
.sp-demo b { font-weight:900; } .sp-demo.on { background:rgba(255,62,165,.12); border-color:rgba(255,62,165,.5); color:var(--n-magenta-2); }
.sp-match { position:relative; overflow:hidden; padding:14px; border-radius:var(--r-md); background:linear-gradient(160deg,rgba(16,20,34,.85),rgba(8,10,18,.9)); border:1px solid var(--n-stroke); }
.sp-match::before { content:''; position:absolute; inset-block:0; inset-inline-start:0; width:4px; background:var(--home); box-shadow:0 0 14px var(--home); }
.sp-match::after { content:''; position:absolute; inset-block:0; inset-inline-end:0; width:4px; background:var(--away); box-shadow:0 0 14px var(--away); }
.sp-match.live { border-color:rgba(255,62,165,.4); box-shadow:0 0 26px -14px var(--n-magenta); }
.sp-match-head { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; margin-bottom:12px; }
.sp-team { display:flex; align-items:center; gap:8px; min-width:0; } .sp-team.away { justify-content:flex-end; }
.sp-crest { width:30px; height:30px; flex:none; } .sp-crest svg { width:100%; height:100%; display:block; }
.sp-tname { font-weight:800; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sp-mid { display:flex; flex-direction:column; align-items:center; gap:3px; }
.sp-vs { font-size:12px; font-weight:900; color:var(--ink-dim); letter-spacing:1px; }
.sp-score { font-size:18px; font-weight:900; font-variant-numeric:tabular-nums; color:var(--ink); } .sp-score.live { color:var(--n-lime); text-shadow:0 0 12px rgba(168,255,62,.5); }
.sp-pill { font-size:10px; font-weight:800; padding:2px 8px; border-radius:999px; letter-spacing:.5px; }
.sp-pill.ko,.sp-pill.fin { background:rgba(255,255,255,.06); color:var(--ink-dim); }
.sp-pill.live { background:rgba(255,62,165,.16); color:var(--n-magenta-2); display:inline-flex; align-items:center; gap:5px; }
.sp-livedot { width:7px; height:7px; border-radius:50%; background:var(--n-magenta); box-shadow:0 0 8px var(--n-magenta); animation:sp-blink 1s steps(2) infinite; }
@keyframes sp-blink { 50% { opacity:.25; } }
.sp-market { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:10px; margin-top:8px; }
.sp-mlabel { font-size:11px; color:var(--ink-dim); min-width:56px; } .sp-sels { display:flex; gap:6px; }
.sp-odd { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 4px; border-radius:10px; border:1px solid var(--n-stroke); background:rgba(255,255,255,.03); color:var(--ink); cursor:pointer; transition:transform .12s,box-shadow .15s,background .15s; }
.sp-odd:hover:not(.locked) { transform:translateY(-2px); box-shadow:0 6px 16px -8px var(--n-lime); }
.sp-odd .sp-oname { font-size:10px; color:var(--ink-dim); } .sp-odd b { font-size:15px; color:var(--n-lime); font-variant-numeric:tabular-nums; }
.sp-odd.on { background:linear-gradient(135deg,var(--n-lime),#5cff9d); border-color:transparent; box-shadow:0 0 18px -4px var(--n-lime); } .sp-odd.on .sp-oname,.sp-odd.on b { color:#04210f; }
.sp-odd.locked { opacity:.4; cursor:not-allowed; }
.sp-slip { position:sticky; bottom:10px; z-index:5; margin-top:16px; padding:14px; border-radius:var(--r-md); border:1px solid var(--n-lime); background:linear-gradient(180deg,rgba(14,18,30,.96),rgba(8,10,18,.98)); box-shadow:0 -8px 30px -12px var(--n-lime); }
.sp-pot { color:var(--n-lime); font-weight:900; }

/* --- המשכיות ניאון בתוך המשחקים --- */
.kiosk-neon .lotto-jackpot { border-top:0; border:1px solid var(--n-stroke); background:radial-gradient(160px 100px at 50% 0%,rgba(255,62,165,.14),transparent 70%),linear-gradient(160deg,rgba(16,20,38,.9),rgba(8,10,20,.92)); }
.kiosk-neon .lj-amount { background:var(--n-gold-grad); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:220% 100%; animation:n-hue 5s linear infinite; text-shadow:none; }
.kiosk-neon .lj-clock b { color:var(--n-gold); font-variant-numeric:tabular-nums; }
.kiosk-neon .lotto-ball.up { box-shadow:0 0 14px -3px var(--n-cyan); }
.kiosk-neon .lotto-ball.up.strong { box-shadow:0 0 16px -3px var(--n-magenta); }
.kiosk-neon .lotto-win-banner.win { background:var(--n-sweep-lg); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:200%; animation:n-hue 3s linear infinite; }
.cat-tab.kiosk.active { background:linear-gradient(135deg,var(--n-cyan),var(--n-magenta)); color:#04141a; border-color:transparent; box-shadow:0 6px 18px -8px var(--n-magenta); }

/* ---- אווירת קזינו לחדר (רק הלובי/הרחבה — לא בתוך המשחקים) ---- */
.casino-vibe::before { content:''; position:fixed; inset:-20% -20% auto -20%; height:62vh; z-index:-1; pointer-events:none;
  background:
    radial-gradient(44vw 30vh at 22% 6%,rgba(255,210,122,.16),transparent 60%),
    radial-gradient(46vw 32vh at 82% 2%,rgba(154,107,255,.13),transparent 62%),
    radial-gradient(40vw 30vh at 55% 42%,rgba(18,185,129,.09),transparent 60%);
  animation:n-aurora 16s ease-in-out infinite alternate; }
.casino-vibe .casino-note { border:1px solid rgba(255,210,122,.28); box-shadow:0 0 26px -16px var(--n-gold); }
.casino-vibe .machine-card { transition:transform .16s var(--ease),box-shadow .2s var(--ease); }
.casino-vibe .machine-card:hover { transform:translateY(-3px); box-shadow:0 16px 34px -18px var(--accent,#ffd27a); }
.casino-vibe .floor-title,.casino-vibe .eyebrow { text-shadow:0 0 18px rgba(255,210,122,.25); }
@media (prefers-reduced-motion:reduce) { .kiosk-neon::before,.n-foil,.kt-track,.kt-marquee::before,.kt-seg,.dh-card.lotto::before,.dh-clock,.sc-cell.win,.sc-banner.win,.sc-play.won::after,.sp-livedot,.kiosk-neon .lj-amount,.kiosk-neon .lotto-win-banner.win { animation:none!important; } .kt-track { transform:translateX(-25%); } }

/* ---- התחברות SDA (QR / wait / onboarding) ---- */
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-note { font-size: 13px; color: #ffd27a; background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.32); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; text-align: center; line-height: 1.5; }
.sda-qr { width: 220px; height: 220px; max-width: 78vw; max-height: 78vw; border-radius: 16px; background: #fff; padding: 8px; display: block; margin: 0 auto; box-shadow: 0 12px 30px -12px rgba(0,0,0,.55); }
.sda-qr.loading { display: flex; align-items: center; justify-content: center; color: #888; font-size: 40px; }
.sda-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--gold, #ffd27a); animation: sda-spin .8s linear infinite; margin: 0 auto 12px; }
.sda-spinner.sm { width: 18px; height: 18px; border-width: 2px; margin: 0; }
@keyframes sda-spin { to { transform: rotate(360deg); } }
.sda-safari-hint { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,180,60,.10); border: 1px solid rgba(255,180,60,.45); text-align: center; font-size: 14px; line-height: 1.5; }
.sda-safari-title { font-weight: 700; color: #ffcf70; margin-bottom: 6px; }
.avatar-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---- צ'אנס: יד גלויה + כפתורי מיני-קלף ---- */
.chance-hand { display: flex; gap: 10px; justify-content: center; margin-bottom: 2px; }
.chance-hand .chance-card { width: 62px; height: 88px; }
.chance-card.empty { background: rgba(255,255,255,.03); border: 1.5px dashed rgba(154,107,255,.42); box-shadow: none; color: var(--n-violet); }
.chance-card.empty .cc-suit.ghost { font-size: 26px; opacity: .5; }
.chance-card.empty .cc-suit.ghost.red { color: #ff5c7a; }
.chance-card.empty .cc-pick { font-size: 22px; font-weight: 900; opacity: .6; }
.chance-pick-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 12px; transition: background .2s; }
.chance-pick-row.done { background: rgba(154,107,255,.08); }
.chance-pick-lbl { display: flex; flex-direction: column; align-items: center; width: 38px; flex: none; gap: 2px; }
.chance-pick-lbl .chance-suit { font-size: 24px; }
.chance-pick-lbl > span:last-child { font-size: 10px; color: var(--ink-dim); }
.chance-pick-row.done .chance-pick-lbl > span:last-child { color: var(--n-lime, #a8ff3e); font-weight: 900; font-size: 14px; }
.cval.card { aspect-ratio: auto; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; line-height: 1.05; border-radius: 8px; background: linear-gradient(180deg,#fbfbfd,#e6e7ee); color: #14161c; border: 1px solid rgba(0,0,0,.14); }
.cval.card b { font-size: 15px; font-weight: 900; }
.cval.card .cval-suit { font-size: 12px; }
.cval.card.red { color: #d61f3a; }
.cval.card.on { background: linear-gradient(135deg,#9a6bff,#b79bff); color: #fff; border-color: transparent; box-shadow: 0 0 16px -3px #9a6bff; transform: translateY(-2px); }
.cval.card.on.red, .cval.card.on .cval-suit { color: #fff; }

/* ============================================================
   משחקי זוגות — "ROSE NEON" scope + רכיבים
   ============================================================ */
/* 4 טאבים — פריסה גמישה שלא נשברת (גלילה אופקית עדינה במסך צר) */
.cat-tabs.cat-tabs-4 { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tabs.cat-tabs-4 .cat-tab { flex: 1 1 auto; min-width: 84px; padding: 11px 8px; font-size: 13px; white-space: nowrap; }
.cat-tab.couples.active { border-color: #ff6f91; color: #ff6f91; box-shadow: 0 0 18px -6px #ff4d6d; }

.couples-neon { --c-rose: #ff6f91; --c-rose-2: #ff4d6d; --c-violet: #c39bff; --c-plum: #7a4dff; }
.couples-neon::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 12%, rgba(255,77,109,.22), transparent 60%),
    radial-gradient(55% 45% at 15% 82%, rgba(195,155,255,.20), transparent 60%),
    radial-gradient(45% 40% at 50% 50%, rgba(122,77,255,.10), transparent 70%); }
.couples-note { border-color: rgba(255,111,145,.4) !important; }
.couples-note span:first-child { font-size: 20px; }

/* בורר שלב-הקשר */
.cpl-lead { text-align: center; font-size: 15px; color: var(--ink-dim); margin: 6px 0 16px; letter-spacing: .3px; }
.cpl-stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cpl-stage-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); color: var(--ink); text-align: center; transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease; }
.cpl-stage-card:hover, .cpl-stage-card:active { transform: translateY(-3px); border-color: rgba(255,111,145,.55); box-shadow: 0 10px 30px -12px rgba(255,77,109,.6); }
.cpl-stage-card.sp1 { --st: #ff9ec4; } .cpl-stage-card.sp2 { --st: #ff6f91; } .cpl-stage-card.sp3 { --st: #c39bff; } .cpl-stage-card.sp4 { --st: #ff4d6d; }
.cpl-stage-card.adult { background: linear-gradient(160deg, rgba(255,77,109,.16), rgba(122,77,255,.10)); border-color: rgba(255,77,109,.4); }
.cpl-stage-emoji { font-size: 34px; line-height: 1; }
.cpl-stage-name { font-size: 18px; font-weight: 900; color: var(--st, #ff6f91); }
.cpl-stage-blurb { font-size: 11.5px; color: var(--ink-dim); line-height: 1.35; min-height: 30px; }
.cpl-spice { display: flex; gap: 3px; margin-top: 2px; }
.cpl-spice .flame { font-size: 12px; filter: grayscale(1) opacity(.3); }
.cpl-spice .flame.on { filter: none; }

/* קונסנט (חבילת "לוהט") */
.cpl-consent { padding: 26px 20px; text-align: center; max-width: 380px; margin: 20px auto; border: 1px solid rgba(255,77,109,.4); }
.cpl-consent-emoji { font-size: 40px; }
.cpl-consent h3 { font-size: 20px; margin: 8px 0 8px; }
.cpl-consent p { font-size: 14px; color: var(--ink-dim); line-height: 1.5; }

/* קלף המשחק */
.cpl-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.cpl-badge { font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: rgba(255,111,145,.14); border: 1px solid rgba(255,111,145,.35); color: #ff9ec4; }
.cpl-turn { font-size: 13px; color: var(--ink-dim); font-weight: 700; }
.cpl-card { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px 22px; border-radius: 22px; text-align: center;
  background: linear-gradient(155deg, rgba(255,111,145,.10), rgba(122,77,255,.06)); border: 1px solid rgba(255,111,145,.28); }
.cpl-card.hot { background: linear-gradient(155deg, rgba(255,77,109,.16), rgba(122,77,255,.12)); border-color: rgba(255,77,109,.45); box-shadow: 0 0 40px -14px rgba(255,77,109,.7); }
.cpl-mode { font-size: 13px; font-weight: 900; letter-spacing: 2px; padding: 4px 16px; border-radius: 999px; background: rgba(255,77,109,.2); color: #ff6f91; }
.cpl-prompt { font-size: 21px; font-weight: 800; line-height: 1.4; color: #fff; }
.cpl-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }

/* בחירת אמת/חובה */
.cpl-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.cpl-choice { padding: 26px 12px; font-size: 19px; font-weight: 900; border-radius: 18px; }
.cpl-choice.truth { background: linear-gradient(135deg,#ff6f91,#ff9ec4); color: #2a0a15; }
.cpl-choice.dare { background: linear-gradient(135deg,#ff4d6d,#7a4dff); color: #fff; border: none; }

/* דו-מכשירי — מענה, חשיפה, ניקוד */
.cpl-input { width: 100%; padding: 14px 16px; font-size: 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,111,145,.4); color: #fff; text-align: center; }
.cpl-input:focus { outline: none; border-color: #ff6f91; box-shadow: 0 0 0 3px rgba(255,111,145,.2); }
.cpl-reveal { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 4px; }
.cpl-rev-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cpl-rev-row b { font-size: 16px; color: #fff; text-align: left; }
.cpl-rev-row.guess { border-color: rgba(195,155,255,.4); }
.cpl-score { display: flex; flex-direction: column; gap: 8px; max-width: 340px; margin: 0 auto 18px; }
.cpl-score-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,111,145,.25); }
.cpl-score-row b { color: #ff9ec4; font-size: 17px; }
.cpl-score-row:first-child { border-color: rgba(255,111,145,.6); box-shadow: 0 0 22px -10px rgba(255,77,109,.7); }

/* כניסת קלף + עוצמת-צבע לפי שלב-הקשר */
.cpl-card { animation: cplPop .3s ease; }
@keyframes cplPop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
/* דייט — ורדרד עדין ומזמין */
.cpl-card.cpl-st-date { background: linear-gradient(155deg, rgba(255,158,196,.14), rgba(255,111,145,.05)); border-color: rgba(255,158,196,.35); }
.cpl-card.cpl-st-date .cpl-prompt { color: #fff; }
.cpl-b-date { background: rgba(255,158,196,.16); border-color: rgba(255,158,196,.4); color: #ffc4db; }
/* זוג — חמים, פנק, ורוד→סגול */
.cpl-card.cpl-st-couple { background: linear-gradient(155deg, rgba(255,111,145,.14), rgba(195,155,255,.08)); border-color: rgba(255,111,145,.35); }
.cpl-b-couple { background: rgba(255,111,145,.16); border-color: rgba(255,111,145,.4); color: #ff9ec4; }
/* נשואים — זהוב-חמים, בשל */
.cpl-card.cpl-st-married { background: linear-gradient(155deg, rgba(255,210,122,.14), rgba(255,111,145,.06)); border-color: rgba(255,210,122,.38); box-shadow: 0 0 34px -16px rgba(255,190,90,.6); }
.cpl-card.cpl-st-married .cpl-prompt { color: #fff8ec; }
.cpl-b-married { background: rgba(255,210,122,.16); border-color: rgba(255,210,122,.45); color: #ffd98a; }
/* לוהט — אדום-עז, זוהר וחם באמת */
.cpl-card.cpl-st-hot, .cpl-card.hot { background: linear-gradient(155deg, rgba(255,45,85,.2), rgba(122,0,60,.16)) !important; border-color: rgba(255,45,85,.55) !important; box-shadow: 0 0 48px -12px rgba(255,45,85,.8) !important; }
.cpl-card.cpl-st-hot .cpl-prompt { color: #fff; text-shadow: 0 0 22px rgba(255,60,100,.5); }
.cpl-b-hot { background: rgba(255,45,85,.2); border-color: rgba(255,45,85,.55); color: #ff8aa6; }

/* מצב "לוהט" — משנה את כל האווירה של הבמה לאדום-כהה ומזמין */
#game-stage.couples-neon.cpl-hot::before { background:
    radial-gradient(62% 50% at 50% 8%, rgba(255,25,80,.30), transparent 60%),
    radial-gradient(52% 46% at 18% 86%, rgba(150,0,70,.30), transparent 62%),
    radial-gradient(46% 42% at 84% 80%, rgba(120,20,255,.14), transparent 70%) !important; }
#game-stage.couples-neon.cpl-hot { background: radial-gradient(120% 90% at 50% 0%, rgba(40,0,15,.55), transparent 70%); }

/* --- גלגל / קוביות --- */
@keyframes cplPopHit { 0% { transform: scale(.9); } 55% { transform: scale(1.12); } 100% { transform: scale(1); } }
.pop { animation: cplPopHit .3s ease; }
.cpl-wheel-res { font-size: 27px; font-weight: 900; color: #fff; text-align: center; line-height: 1.3; text-shadow: 0 0 22px rgba(255,120,160,.5); }
.cpl-dice-row { display: flex; justify-content: center; gap: 16px; margin: 10px 0 14px; }
.cpl-die { flex: none; width: 66px; height: 66px; display: flex; align-items: center; justify-content: center; font-size: 46px; line-height: 1; border-radius: 16px; background: linear-gradient(160deg,#fff,#e8e8f0); color: #14161c; box-shadow: 0 8px 22px -8px rgba(0,0,0,.6), inset 0 -3px 8px rgba(0,0,0,.12); }
.couples-neon.cpl-hot .cpl-die { box-shadow: 0 0 26px -6px rgba(255,45,85,.8); }

/* --- טיימר --- */
.cpl-timer-sec { font-size: 15px; color: var(--ink-dim); font-weight: 700; }
.cpl-ring { width: 128px; height: 128px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 900; color: #fff; margin: 6px auto 0; border: 5px solid rgba(255,111,145,.35); box-shadow: 0 0 34px -10px rgba(255,111,145,.7), inset 0 0 22px -8px rgba(255,111,145,.5); }
.cpl-ring.done { border-color: #5cff9d; color: #5cff9d; box-shadow: 0 0 34px -8px rgba(92,255,157,.7); }

/* --- סולם החום --- */
.cpl-ladder-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.cpl-ladder-bar .rung { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); filter: grayscale(1) opacity(.4); transition: all .2s; }
.cpl-ladder-bar .rung.on { filter: none; background: rgba(255,122,77,.16); border-color: rgba(255,122,77,.5); }
.cpl-ladder-bar .rung.cur { transform: scale(1.18); box-shadow: 0 0 20px -5px rgba(255,122,77,.8); }
.cpl-fin { text-align: center; font-size: 18px; font-weight: 900; color: #ff9ec4; padding: 14px; }

/* --- מפת הסקס --- */
.cpl-map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 12px; }
.cpl-map-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; text-align: center; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: transform .15s, box-shadow .2s; }
.cpl-map-cell .mc-sum { font-size: 12px; font-weight: 900; opacity: .7; }
.cpl-map-cell .mc-act { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.2; }
.cpl-map-cell.t1 { border-color: rgba(255,158,196,.4); } .cpl-map-cell.t2 { border-color: rgba(255,111,145,.45); }
.cpl-map-cell.t3 { border-color: rgba(195,155,255,.5); } .cpl-map-cell.t4 { border-color: rgba(255,160,90,.5); }
.cpl-map-cell.t5 { border-color: rgba(255,90,80,.55); } .cpl-map-cell.t6 { border-color: rgba(255,45,85,.7); background: rgba(255,45,85,.08); }
.cpl-map-cell.hit { transform: scale(1.06); box-shadow: 0 0 26px -6px rgba(255,45,85,.9); border-color: #ff2d55; background: rgba(255,45,85,.18); }

/* ============================================================
   הזירה (⚔️) — סקופ + מנוע כיוון/כוח + משחקים
   ============================================================ */
.cat-tab.arena.active { border-color: #5c8dff; color: #9dc0ff; box-shadow: 0 0 18px -6px #5c8dff; }
.arena-neon::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 80% 8%, rgba(92,141,255,.20), transparent 60%),
    radial-gradient(55% 45% at 12% 88%, rgba(255,210,122,.13), transparent 60%),
    radial-gradient(45% 40% at 50% 55%, rgba(122,77,255,.08), transparent 70%); }
.arena-note { border-color: rgba(92,141,255,.4) !important; }
.arena-note span:first-child { font-size: 20px; }

.arena-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.arena-badge { font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: rgba(90,141,255,.15); border: 1px solid rgba(90,141,255,.4); color: #9dc0ff; }
.arena-score { font-size: 15px; font-weight: 900; color: var(--gold, #ffd27a); }
.arena-hint { text-align: center; color: var(--ink-dim); font-size: 13px; margin: 10px 0; }

/* מד — סרגל כיוון/כוח */
.arena-meter-wrap { margin: 14px 0 4px; }
.arena-meter-wrap.tall { display: flex; justify-content: center; }
.am-bar { position: relative; height: 26px; border-radius: 999px; overflow: visible; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(90deg,#ff4d6d,#ffd27a,#5cff9d); }
.am-bar .am-marker { position: absolute; top: -5px; left: 0; width: 5px; height: 36px; background: #fff; border-radius: 3px; box-shadow: 0 0 12px #fff; transform: translateX(-50%); }
.am-bar.v { width: 44px; height: 230px; margin: 0 auto; overflow: hidden; background: linear-gradient(0deg,#5c8dff,#ffd27a,#ff4d6d); }
.am-bar.v .am-marker { top: auto; bottom: 0; left: -7px; width: 58px; height: 5px; transform: translateY(50%); }
.am-bar .am-fill { position: absolute; left: 0; bottom: 0; width: 100%; height: 0; background: rgba(255,255,255,.22); }
.am-bar.v .am-zone { position: absolute; left: 0; width: 100%; background: rgba(92,255,157,.45); border-top: 1px solid rgba(92,255,157,.8); border-bottom: 1px solid rgba(92,255,157,.8); }
.am-bar:not(.v) .am-zone { position: absolute; top: 0; height: 100%; background: rgba(92,255,157,.45); }

/* חצים */
.arena-target-wrap { display: flex; justify-content: center; margin: 8px 0; }
.arena-target { width: 210px; max-width: 62vw; display: block; }
/* מד-כוח */
.arena-strength-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px 0; }
.as-bell { font-size: 30px; filter: drop-shadow(0 0 8px rgba(255,210,122,.6)); }
/* סל */
.arena-hoop { font-size: 46px; text-align: center; margin: 6px 0; }
/* באולינג */
.arena-pins { display: flex; justify-content: center; gap: 3px; margin: 8px 0; }
.arena-pins .pin { font-size: 20px; transition: opacity .2s, transform .2s; }
.arena-pins .pin.down { opacity: .18; filter: grayscale(1); transform: rotate(24deg) translateY(3px); }

.arena-shot-result { text-align: center; font-size: 23px; font-weight: 900; padding: 26px 12px; color: #fff; }
.arena-shot-result.good { color: #5cff9d; text-shadow: 0 0 20px rgba(92,255,157,.5); }
.arena-shot-result.miss { color: #ff6b6b; }
.arena-final { text-align: center; padding: 24px 18px; margin-bottom: 12px; }
.arena-final .af-emoji { font-size: 50px; line-height: 1; }
.arena-final h2 { font-size: 34px; margin: 8px 0 4px; }

/* דו-קרב ראש-בראש */
.duel-stakes { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
.duel-stakes .btn { min-width: 64px; }
.duel-vs { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0; }
.duel-vs.big { gap: 18px; }
.duel-vs-x { font-size: 16px; font-weight: 900; color: var(--ink-dim); letter-spacing: 1px; }
.duel-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); min-width: 96px; }
.duel-chip .dc-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.duel-chip b { font-size: 24px; color: #9dc0ff; }
.duel-chip .dc-ok { color: #5cff9d; font-weight: 900; }
.duel-chip .dc-wait { color: var(--ink-dim); }
.duel-chip.win { border-color: rgba(255,210,122,.7); box-shadow: 0 0 26px -8px rgba(255,210,122,.8); background: rgba(255,210,122,.1); }
.duel-vs.big .duel-chip { padding: 16px 20px; }

/* סנוקר */
.snooker-wrap { display: flex; justify-content: center; margin: 10px 0; }
.snooker-canvas { width: 100%; max-width: 300px; aspect-ratio: 300 / 524; border-radius: 12px; touch-action: none; background: #0b6b3a; box-shadow: 0 10px 34px -12px rgba(0,0,0,.75), inset 0 0 0 4px #7a4a1e; cursor: crosshair; }

/* משחקי זירה — קנבס */
.arena-canvas-wrap { display: flex; justify-content: center; margin: 10px 0; }
.arena-canvas { width: 100%; max-width: 340px; height: auto; border-radius: 14px; touch-action: none; background: #12151d; box-shadow: 0 10px 34px -12px rgba(0,0,0,.7); cursor: crosshair; }
.arena-canvas-wrap.narrow .arena-canvas { max-width: 200px; }

/* לוח-ניקוד באולינג — עולה אחרי כל תור, יורד אחרי 2ש' */
.bowl-board { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -160%); opacity: 0; transition: transform .38s cubic-bezier(.2,.9,.3,1.25), opacity .38s; z-index: 60; background: linear-gradient(180deg,#13141e,#0a0b12); border: 1px solid rgba(92,141,255,.55); border-radius: 14px; padding: 11px 13px; box-shadow: 0 0 28px -3px rgba(92,141,255,.65), 0 12px 34px -8px #000; }
.bowl-board.show { transform: translate(-50%, 0); opacity: 1; }
.bb-frames { display: flex; gap: 5px; }
.bb-frame { min-width: 36px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.03); }
.bb-frame.cur { border-color: #5c8dff; box-shadow: 0 0 10px -2px #5c8dff; }
.bb-fn { font-size: 10px; color: #8ea0c8; padding: 2px 0; background: rgba(92,141,255,.14); }
.bb-rolls { display: flex; }
.bb-rolls span { flex: 1; font-size: 13px; font-weight: 700; padding: 3px 0; border-top: 1px solid rgba(255,255,255,.1); }
.bb-rolls span + span { border-right: 1px solid rgba(255,255,255,.1); }
.bb-rolls span.sp { color: #5cff9d; }
.bb-tot { font-size: 14px; font-weight: 800; color: #ffd27a; padding: 3px 0; border-top: 1px solid rgba(255,255,255,.1); }
.bb-total { text-align: center; margin-top: 8px; font-weight: 800; color: #5c8dff; font-size: 15px; text-shadow: 0 0 10px rgba(92,141,255,.7); }

/* צ'יפים של שלב-קשר בקטגוריית זוגות */
.couples-stage-row { flex-wrap: wrap; gap: 8px; }
.cpl-chip { transition: border-color .15s, box-shadow .15s, color .15s; }
.cpl-chip.active { border-color: #ff6f91; color: #ffb3c6; box-shadow: 0 0 0 1px #ff6f91, 0 4px 16px -6px rgba(255,111,145,.6); }
.cpl-chip.cpl-b-hot.active { border-color: #ff2d55; color: #ff7a95; box-shadow: 0 0 0 1px #ff2d55, 0 0 16px -3px rgba(255,45,85,.7); }

/* פוקר מול הבית */
.pkbot-seat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: box-shadow .2s, border-color .2s; }
.pkbot-seat.act { border-color: var(--gold, #ffd27a); box-shadow: 0 0 0 1px var(--gold, #ffd27a), 0 6px 22px -10px rgba(255,210,122,.5); }
.pkbot-who { display: flex; flex-direction: column; gap: 2px; }
.pkbot-name { font-weight: 700; font-size: 15px; }
.pkbot-stack { color: var(--gold, #ffd27a); font-size: 13px; font-weight: 600; }
.pkbot-cards { display: flex; gap: 6px; }
.pkbot-cards .card-face { width: 46px; height: 64px; font-size: 13px; }
.pkbot-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 14px 0; }
.pkbot-pot { font-weight: 800; font-size: 17px; color: var(--gold, #ffd27a); letter-spacing: .3px; }
.pkbot-board { display: flex; gap: 6px; justify-content: center; }
.pkbot-board .card-face { width: 44px; height: 62px; font-size: 12px; }
.pkbot-slot { opacity: .28; }
.pkbot-msg { text-align: center; font-size: 15px; margin: 12px 0; min-height: 22px; font-weight: 600; }
.pkbot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pkbot-actions .pkbtn { flex: 1 1 40%; min-width: 90px; }
