/* ===== CRAZY TIME — PREMIUM DARK THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-deep:    #0a0b14;
  --bg-panel:   #111222;
  --bg-card:    #181928;
  --bg-hover:   #1f2035;
  --border:     #2a2b45;
  --gold:       #f0b429;
  --gold-light: #ffe066;
  --gold-dark:  #b8860b;
  --accent:     #e040fb;
  --red:        #e53935;
  --green:      #43a047;
  --blue:       #1e88e5;
  --white:      #f0f0ff;
  --muted:      #888aaa;
  --seg-1x:     #3a3a5c;
  --seg-2x:     #1a6eb5;
  --seg-5x:     #0f8a4e;
  --seg-10x:    #c17d11;
  --seg-coin:   #b52a2a;
  --seg-pachi:  #7b2fa0;
  --seg-cash:   #8a7200;
  --seg-crazy:  #d4a017;
  --font-main:  'Montserrat', sans-serif;
  --font-game:  'Rajdhani', sans-serif;
  --radius:     12px;
  --shadow:     0 8px 32px rgba(0,0,0,0.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  overflow-x: hidden;
}

/* ── BACKGROUND GLOW ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(240,180,41,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(30,136,229,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(224,64,251,0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

/* ── LAYOUT ── */
.game-wrapper {
  position: relative; z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── HEADER ── */
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.header-left,
.header-center,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-start;
}

.header-center {
  justify-content: center;
}

.header-right {
  justify-content: flex-end;
  gap: 12px;
}

.game-logo h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.balance-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 18px;
}

.balance-box .label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.balance-box .amount {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-game);
  color: var(--gold);
}

.round-badge {
  font-size: 11px;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ── MAIN GAME AREA ── */
.game-main {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 16px;
  padding: 16px 0;
  align-items: start;
}

@media (max-width: 1100px) {
  .game-main { grid-template-columns: 1fr; }
  .game-sidebar-left, .game-sidebar-right { display: none; }
}

/* ── PANELS ── */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}

.panel-header .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ── WHEEL AREA ── */
.wheel-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.wheel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-outer-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(240,180,41,0.2) 0%, rgba(240,180,41,0.05) 25%,
    rgba(30,136,229,0.2) 25%, rgba(30,136,229,0.05) 50%,
    rgba(224,64,251,0.2) 50%, rgba(224,64,251,0.05) 75%,
    rgba(240,180,41,0.2) 75%
  );
  animation: outerRingSpin 20s linear infinite;
  box-shadow: 0 0 60px rgba(240,180,41,0.15), inset 0 0 60px rgba(0,0,0,0.5);
}

@keyframes outerRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#wheelCanvas {
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 30px rgba(240,180,41,0.25));
  border-radius: 50%;
}

/* ── POINTER ── */
.wheel-pointer {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 36px solid var(--gold);
  z-index: 10;
  filter: drop-shadow(0 0 12px rgba(240,180,41,0.8));
}

.wheel-center-hub {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2b45 40%, #111222 100%);
  border: 3px solid var(--gold);
  z-index: 11;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(240,180,41,0.3);
}

/* ── GAME STATUS ── */
.game-status-bar {
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.status-phase {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 8px;
}

.countdown-ring-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 12px;
}

.countdown-display {
  font-size: 48px; font-weight: 900; font-family: var(--font-game);
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(240,180,41,0.5);
  line-height: 1;
  min-width: 60px; text-align: center;
}

.progress-bar-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  height: 6px; overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 100px;
  transition: width 1s linear;
  box-shadow: 0 0 10px var(--gold);
}

/* ── RESULT DISPLAY ── */
.result-display {
  display: none;
  align-items: center; justify-content: center;
  gap: 16px; padding: 16px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, rgba(240,180,41,0.12), rgba(240,180,41,0.04));
  animation: resultPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes resultPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.result-display.show { display: flex; }

.result-segment-label {
  font-size: 28px; font-weight: 900; font-family: var(--font-game);
  color: var(--gold-light);
}

.result-multiplier {
  font-size: 40px; font-weight: 900; font-family: var(--font-game);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(240,180,41,0.6);
}

/* ── BETTING CHIPS ── */
.betting-area {
  width: 100%;
}

.segment-bets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
}

.bet-chip {
  position: relative;
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
  user-select: none;
  overflow: hidden;
}

.bet-chip::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.04);
  opacity: 0;
  transition: opacity 0.2s;
}

.bet-chip:hover::before { opacity: 1; }

.bet-chip.active, .bet-chip:hover {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(240,180,41,0.3);
  transform: translateY(-2px);
}

.bet-chip[data-seg="1x"]       { background: rgba(58,58,92,0.8); border-color: rgba(58,58,92,1); }
.bet-chip[data-seg="2x"]       { background: rgba(26,110,181,0.8); border-color: rgba(26,110,181,1); }
.bet-chip[data-seg="5x"]       { background: rgba(15,138,78,0.8); border-color: rgba(15,138,78,1); }
.bet-chip[data-seg="10x"]      { background: rgba(193,125,17,0.8); border-color: rgba(193,125,17,1); }
.bet-chip[data-seg="CoinFlip"] { background: rgba(181,42,42,0.8); border-color: rgba(181,42,42,1); }
.bet-chip[data-seg="Pachinko"] { background: rgba(123,47,160,0.8); border-color: rgba(123,47,160,1); }
.bet-chip[data-seg="CashHunt"] { background: rgba(138,114,0,0.8); border-color: rgba(138,114,0,1); }
.bet-chip[data-seg="CrazyTime"]{ background: linear-gradient(135deg, rgba(212,160,23,0.9), rgba(180,120,0,0.9)); border-color: var(--gold); }

.bet-chip .chip-name  { font-size: 13px; font-weight: 800; font-family: var(--font-game); letter-spacing: 0.5px; }
.bet-chip .chip-odds  { font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.bet-chip .chip-count { font-size: 11px; color: var(--gold); font-weight: 700; margin-top: 4px; min-height: 14px; }

.chip-amount-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.chip-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-main);
}

.chip-btn:hover, .chip-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 0 12px rgba(240,180,41,0.4);
}

.custom-bet-input {
  flex: 1; min-width: 80px; max-width: 120px;
  padding: 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-size: 13px; font-weight: 700;
  outline: none; font-family: var(--font-main);
}

.custom-bet-input:focus { border-color: var(--gold); }

.clear-bets-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #444;
  background: rgba(255,50,50,0.15);
  color: #ff6666;
  font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.15s;
  font-family: var(--font-main);
}

.clear-bets-btn:hover { background: rgba(255,50,50,0.3); }

/* ── SIDEBAR: HISTORY ── */
.history-list { padding: 8px; max-height: 400px; overflow-y: auto; }
.history-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-radius: 8px;
  margin-bottom: 4px; font-size: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.hist-seg {
  display: inline-flex; align-items: center;
  gap: 6px; font-weight: 700;
}

.hist-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}

.hist-mult { color: var(--gold); font-family: var(--font-game); font-weight: 700; }

/* ── SIDEBAR: STATS / LIVE BETS ── */
.live-bet-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-radius: 8px; margin-bottom: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12px;
}

.live-bet-name { color: var(--muted); }
.live-bet-amount { color: var(--green); font-weight: 700; }

/* ── NOTIFICATION TOAST ── */
.toast-container {
  position: fixed; top: 80px; right: 16px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 9999; pointer-events: none;
}

.toast {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  border-left: 4px solid var(--gold);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  color: var(--white);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  max-width: 280px;
}

.toast.success { border-color: var(--green); }
.toast.error   { border-color: var(--red); }
.toast.win     { border-color: var(--gold); background: rgba(240,180,41,0.15); }

@keyframes toastIn  { from { opacity:0; transform: translateX(30px); } to { opacity:1; transform: translateX(0); } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; } }

/* ── BONUS OVERLAY ── */
.bonus-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.bonus-overlay.show { display: flex; }

.bonus-modal {
  background: var(--bg-panel);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 32px;
  max-width: 700px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 80px rgba(240,180,41,0.3);
  animation: modalIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modalIn {
  from { transform: scale(0.7) translateY(50px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.bonus-title {
  text-align: center;
  font-size: 32px; font-weight: 900; font-family: var(--font-game);
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.bonus-subtitle {
  text-align: center; color: var(--muted);
  font-size: 13px; margin-bottom: 24px;
}

.bonus-result-reveal {
  text-align: center; margin-top: 24px;
  font-size: 18px; font-weight: 700;
}

.bonus-multiplier-big {
  font-size: 72px; font-weight: 900; font-family: var(--font-game);
  color: var(--gold-light);
  text-shadow: 0 0 40px rgba(240,180,41,0.6);
  animation: multiplierPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
  line-height: 1;
}

@keyframes multiplierPop {
  from { transform: scale(0.3); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}

/* ── COIN FLIP ── */
.coin-scene {
  perspective: 600px;
  width: 160px; height: 160px;
  margin: 0 auto 20px;
}

.coin {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0s;
}

.coin.flipping {
  animation: coinFlip 2.5s ease-in-out forwards;
}

@keyframes coinFlip {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(1440deg); }
}

.coin-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900; font-family: var(--font-game);
  backface-visibility: hidden;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.coin-red  {
  background: radial-gradient(circle at 35% 35%, #e57373, #b71c1c);
  color: #fff; transform: rotateY(0deg);
}

.coin-blue {
  background: radial-gradient(circle at 35% 35%, #64b5f6, #0d47a1);
  color: #fff; transform: rotateY(180deg);
}

/* ── PACHINKO BOARD ── */
.pachinko-board {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: #0a0b14;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

#pachinkoCanvas { display: block; margin: 0 auto; }

/* ── CASH HUNT GRID ── */
.cash-hunt-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  max-height: 300px;
  overflow: hidden;
}

.cash-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; font-family: var(--font-game);
  cursor: default;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cash-cell.revealed {
  background: rgba(240,180,41,0.2);
  border-color: var(--gold);
  color: var(--gold);
  font-size: 11px;
}

.cash-cell.winner {
  background: rgba(240,180,41,0.5);
  border-color: var(--gold-light);
  box-shadow: 0 0 16px rgba(240,180,41,0.6);
  animation: cellWin 0.5s ease;
}

@keyframes cellWin {
  from { transform: scale(0.8); }
  to   { transform: scale(1); }
}

.cash-cell .cell-icon { font-size: 16px; }

/* ── CRAZY TIME MINI WHEEL ── */
#crazyWheelCanvas {
  display: block; margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(240,180,41,0.3));
}

/* ── FOOTER ── */
.game-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 11px; color: var(--muted);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── UTILS ── */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }

.glow-gold { box-shadow: 0 0 20px rgba(240,180,41,0.4); }
.glow-red  { box-shadow: 0 0 20px rgba(229,57,53,0.4); }

.spin-animation { animation: spin 4s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.btn-primary {
  padding: 10px 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000;
  font-size: 14px; font-weight: 800;
  border: none; cursor: pointer;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.2s;
  font-family: var(--font-main);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240,180,41,0.4);
}

.bonus-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.bonus-close-btn:hover { color: var(--white); border-color: var(--white); }

/* ── SEGMENT COUNT STATS ── */
.seg-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; padding: 10px;
}

.seg-stat {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12px;
}

.seg-stat-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.seg-stat-name { font-weight: 600; flex: 1; }
.seg-stat-count { color: var(--muted); }

/* ── GLITTER PARTICLES ── */
.particles-container {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 500;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: particleFall linear forwards;
}

@keyframes particleFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ── LIVE INDICATOR ── */
.live-indicator {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--red); text-transform: uppercase;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(229,57,53,0.4); }
  50%       { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(229,57,53,0); }
}

/* ── WON AMOUNT ── */
.win-popup {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  text-align: center;
  animation: winPopIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}

@keyframes winPopIn {
  from { transform: translate(-50%,-50%) scale(0.3); opacity:0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity:1; }
}

.win-popup .win-label { font-size: 18px; color: var(--gold); font-weight: 700; }
.win-popup .win-amount { font-size: 64px; font-weight: 900; font-family: var(--font-game); color: var(--gold-light); text-shadow: 0 0 40px rgba(240,180,41,0.8); line-height:1; }


/* =========================
   MOBILE ONLY UI
========================= */

.game-wrapper{
    max-width:480px;
    width:100%;
    padding:0 8px;
}

/* HEADER */

.game-header{
    padding:10px 0;
    gap:8px;
}

.game-logo h1{
    font-size:18px;
}

.balance-box{
    padding:6px 10px;
}

.balance-box .amount{
    font-size:16px;
}

.balance-box .label{
    font-size:9px;
}

.round-badge{
    display:none;
}

.live-indicator{
    font-size:10px;
}

/* MAIN */

.game-main{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:10px 0;
}

.game-sidebar-left,
.game-sidebar-right{
    display:none;
}

/* WHEEL */

.wheel-container{
    width:100%;
}

.wheel-outer-ring{
    width:320px;
    height:320px;
}

#wheelCanvas{
    width:300px !important;
    height:300px !important;
}

.wheel-pointer{
    border-left:10px solid transparent;
    border-right:10px solid transparent;
    border-top:24px solid var(--gold);
}

.wheel-center-hub{
    width:42px;
    height:42px;
    font-size:8px;
}

/* STATUS */

.countdown-display{
    font-size:34px;
}

.status-phase{
    font-size:11px;
}

/* RESULT */

.result-display{
    padding:10px;
}

.result-segment-label{
    font-size:18px;
}

.result-multiplier{
    font-size:26px;
}

/* BETTING */

.segment-bets-grid{
    grid-template-columns:repeat(2,1fr);
    gap:6px;
    padding:8px;
}

.bet-chip{
    padding:12px 6px;
}

.bet-chip .chip-name{
    font-size:12px;
}

.bet-chip .chip-odds{
    font-size:9px;
}

.bet-chip .chip-count{
    font-size:10px;
}

/* CHIP SELECTOR */

.chip-amount-selector{
    gap:6px;
    padding:8px;
}

.chip-btn{
    flex:1;
    min-width:60px;
    font-size:11px;
    padding:8px;
}

.custom-bet-input{
    max-width:none;
    width:100%;
}

/* HISTORY */

.history-list{
    max-height:220px;
}

/* BONUS */

.bonus-modal{
    width:96%;
    padding:16px;
}

.bonus-title{
    font-size:24px;
}

.bonus-multiplier-big{
    font-size:48px;
}

/* CASH HUNT */

.cash-hunt-grid{
    grid-template-columns:repeat(6,1fr);
}

.cash-cell{
    min-height:36px;
}

/* PACHINKO */

.pachinko-board{
    padding:10px;
    min-height:240px;
}

/* FOOTER */

.game-footer{
    flex-direction:column;
    gap:4px;
    text-align:center;
}

/* TOAST */

.toast-container{
    top:60px;
    right:8px;
    left:8px;
}

.toast{
    max-width:none;
}

/* REMOVE DESKTOP WIDTHS */

.panel,
.betting-area,
.game-status-bar,
.wheel-area{
    width:100%;
}