/* style.css — הכספת האחרונה / THE LAST VAULT
   Polished, RTL-first vault-heist visual language per client spec section 3:
   dark stone/steel/glass underground complex, charcoal-black/steel-grey/deep-blue
   base, champagne-gold + emerald-green accents, red reserved for alarm/risk only.
*/

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@500;700;800;900&family=Rubik:wght@600;700;800&display=swap');

:root {
  --bg-deep: #0a0d14;
  --bg-mid: #121824;
  --steel: #232a38;
  --gold: #f5cf6b;
  --gold-deep: #d9a63c;
  --emerald: #2ecf8f;
  --emerald-deep: #1f9e6e;
  --cyan: #5ef0ff;
  --red: #ff3b52;
  --panel-glass: rgba(10, 13, 20, 0.78);
  --panel-border: rgba(245, 207, 107, 0.18);
  --text-main: #f4f1e8;
  --text-dim: rgba(244, 241, 232, 0.66);
  --shadow-deep: 0 10px 30px rgba(0, 0, 0, 0.55);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, #1a2130 0%, var(--bg-deep) 55%, #050608 100%);
  color: var(--text-main);
  font-family: 'Heebo', system-ui, sans-serif;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  direction: rtl;
}

.app {
  min-height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top, 10px) 12px env(safe-area-inset-bottom, 14px);
  gap: 10px;
  position: relative;
}

/* ---------------- Topbar ---------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 2px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 4px;
}

.brand-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(245, 207, 107, 0.45));
}

.brand-name {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--gold) 0%, #fff3d0 45%, var(--emerald) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(245, 207, 107, 0.2);
}

.demo-badge {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 3px 7px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  margin-right: auto;
}

.balance-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 207, 107, 0.16), rgba(46, 207, 143, 0.1));
  border: 1px solid rgba(245, 207, 107, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-width: 92px;
  line-height: 1.1;
}

.balance-label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-dim);
  white-space: nowrap;
}

.balance-value {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(245, 207, 107, 0.35);
  white-space: nowrap;
  direction: ltr;
  display: inline-block;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.icon-btn:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.16);
}

/* ---------------- Vault progress track ---------------- */

.vault-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
}

.vault-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--panel-border);
  color: var(--text-dim);
  transition: all 0.25s ease;
  position: relative;
}

.vault-dot.cleared {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-color: var(--emerald);
  color: #04291b;
  box-shadow: 0 0 10px rgba(46, 207, 143, 0.5);
}

.vault-dot.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-color: var(--gold);
  color: #2a1a04;
  box-shadow: 0 0 14px rgba(245, 207, 107, 0.6);
  transform: scale(1.12);
}

.vault-dot-connector {
  width: 14px;
  height: 2px;
  background: var(--panel-border);
}

.vault-dot-connector.cleared {
  background: var(--emerald);
}

/* ---------------- RNG badge ---------------- */

.rng-row {
  display: flex;
  justify-content: center;
  min-height: 22px;
}

.rng-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 4px 11px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(94, 240, 255, 0.16), rgba(94, 240, 255, 0.05));
  border: 1px solid rgba(94, 240, 255, 0.38);
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 10px rgba(94, 240, 255, 0.14);
  direction: ltr;
}

.rng-badge.pending {
  color: var(--text-dim);
  border-color: var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  animation: pulse-pending 1s ease-in-out infinite;
}

@keyframes pulse-pending {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---------------- Stage ---------------- */

.stage-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: #06080c;
}

.status-area {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  padding: 0 10px;
}

.subtitle {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(6, 8, 12, 0.6);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.game-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  touch-action: none;
}

.loot-readout {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.loot-readout[hidden] {
  display: none;
}

.loot-readout-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-left: 6px;
}

.loot-readout {
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(6, 8, 12, 0.6);
  backdrop-filter: blur(4px);
  padding: 5px 16px;
  border-radius: 14px;
  border: 1px solid rgba(245, 207, 107, 0.3);
}

.loot-readout-value {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(245, 207, 107, 0.45);
  direction: ltr;
}

.feedback-slot {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.feedback-slot .pill {
  font-weight: 800;
  font-size: 0.8rem;
  padding: 7px 16px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  text-align: center;
}

.feedback-slot.show .pill {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Decision panel (collect or risk) ---------------- */

.decision-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-deep);
}

.decision-panel[hidden] {
  display: none;
}

.decision-text {
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: var(--text-main);
}

.decision-actions {
  display: flex;
  gap: 10px;
}

.decision-actions .btn {
  flex: 1;
}

.btn-collect {
  padding: 15px 10px;
  font-size: 1rem;
  color: #04291b;
  background: linear-gradient(135deg, #7dffc0 0%, var(--emerald) 50%, var(--emerald-deep) 100%);
  box-shadow: 0 5px 0 #146b4a, 0 8px 18px rgba(46, 207, 143, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-continue-risk {
  padding: 15px 10px;
  font-size: 0.98rem;
  color: #2a1a04;
  background: linear-gradient(135deg, #ffe9b0 0%, var(--gold) 50%, var(--gold-deep) 100%);
  box-shadow: 0 5px 0 #96701e, 0 8px 18px rgba(245, 207, 107, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---------------- Path picker ---------------- */

.path-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-deep);
}

.path-picker[hidden] {
  display: none;
}

.path-picker-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-dim);
}

.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.path-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  border: 2px solid var(--panel-border);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.path-card:active:not(:disabled) {
  transform: scale(0.96);
}

.path-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.path-quiet {
  background: linear-gradient(160deg, rgba(94, 240, 255, 0.14), rgba(94, 240, 255, 0.02));
  border-color: rgba(94, 240, 255, 0.4);
}

.path-forceful {
  background: linear-gradient(160deg, rgba(245, 207, 107, 0.16), rgba(245, 207, 107, 0.02));
  border-color: rgba(245, 207, 107, 0.4);
}

.path-name {
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--text-main);
}

.path-chance {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  direction: ltr;
}

.path-quiet .path-chance { color: var(--cyan); }
.path-forceful .path-chance { color: var(--gold); }

.path-payout {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  direction: ltr;
}

/* ---------------- Controls panel (bet) ---------------- */

.controls-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-deep);
}

.controls-panel[hidden] {
  display: none;
}

.bet-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bet-label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text-dim);
}

.bet-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amount-input {
  width: 84px;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-main);
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  direction: ltr;
  text-align: center;
}

.amount-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245, 207, 107, 0.25);
}

.quick-amounts {
  display: flex;
  gap: 6px;
  flex: 1;
}

.quick-amt {
  flex: 1;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: 'Rubik', sans-serif;
}

.quick-amt:active {
  transform: scale(0.92);
}

.quick-amt.active {
  border-color: var(--cyan);
  background: linear-gradient(160deg, rgba(94, 240, 255, 0.22), rgba(94, 240, 255, 0.05));
  box-shadow: 0 0 10px rgba(94, 240, 255, 0.28);
}

.action-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
  filter: brightness(0.92);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.btn-launch {
  padding: 16px;
  font-size: 1.1rem;
  letter-spacing: 0.1px;
  color: #2a1a04;
  background: linear-gradient(135deg, #ffe9b0 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 6px 0 #96701e, 0 10px 24px rgba(245, 207, 107, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.btn-launch:active:not(:disabled) {
  box-shadow: 0 3px 0 #96701e, 0 6px 14px rgba(245, 207, 107, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(3px) scale(0.98);
}

.btn-launch-sub {
  font-size: 0.66rem;
  font-weight: 700;
  opacity: 0.75;
}

.btn-refill {
  padding: 13px;
  font-size: 0.9rem;
  color: var(--text-main);
  background: linear-gradient(135deg, rgba(94, 240, 255, 0.26), rgba(94, 240, 255, 0.08));
  border: 1px solid rgba(94, 240, 255, 0.4);
  box-shadow: 0 0 14px rgba(94, 240, 255, 0.18);
}

.btn-continue {
  padding: 14px 28px;
  font-size: 1rem;
  color: #2a1a04;
  background: linear-gradient(135deg, #ffe9b0 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 5px 0 #96701e, 0 8px 18px rgba(245, 207, 107, 0.35);
}

.btn-close-help {
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--bg-deep);
  background: var(--gold);
  margin-top: 12px;
}

/* ---------------- History ---------------- */

.history-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 2px 2px;
}

.history-title {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text-dim);
  margin: 0;
  padding-right: 2px;
}

.history-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.history-list::-webkit-scrollbar {
  display: none;
}

.history-item {
  flex-shrink: 0;
  min-width: 100px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.7rem;
}

.history-item.win {
  border-color: rgba(46, 207, 143, 0.45);
  background: rgba(46, 207, 143, 0.08);
}

.history-item.lose {
  border-color: rgba(255, 59, 82, 0.4);
  background: rgba(255, 59, 82, 0.07);
}

.history-item .h-mult {
  font-weight: 800;
  font-size: 0.82rem;
}

.history-item .h-result {
  font-weight: 700;
  color: var(--text-dim);
  font-size: 0.6rem;
  letter-spacing: 0.1px;
}

.history-item .h-net {
  font-weight: 800;
  direction: ltr;
  display: inline-block;
}

.history-item.win .h-net { color: var(--emerald); }
.history-item.lose .h-net { color: var(--red); }

.history-item .h-proof {
  margin-top: 2px;
  font-size: 0.56rem;
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.8;
  direction: ltr;
  display: inline-block;
}

.history-empty {
  color: var(--text-dim);
  font-size: 0.78rem;
  padding: 10px 4px;
}

/* ---------------- Toast / storage disclaimer ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: rgba(10, 13, 20, 0.95);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
  max-width: 85%;
  text-align: center;
  box-shadow: var(--shadow-deep);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.storage-disclaimer {
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-dim);
  opacity: 0.55;
  padding: 2px 10px 6px;
}

/* ---------------- Win / final-vault celebration overlay ---------------- */

.win-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(245, 207, 107, 0.2), rgba(6, 8, 12, 0.94) 70%);
  animation: fade-in 0.3s ease;
}

.win-overlay[hidden] {
  display: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.win-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.win-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0;
  background: linear-gradient(135deg, #fff7d6 0%, var(--gold) 35%, var(--emerald) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(245, 207, 107, 0.6));
  animation: win-title-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), win-title-shine 2.4s ease-in-out infinite 0.7s;
}

@keyframes win-title-pop {
  0% { transform: scale(0.2) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.18) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes win-title-shine {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(245, 207, 107, 0.6)); }
  50% { filter: drop-shadow(0 0 38px rgba(46, 207, 143, 0.65)); }
}

.win-amount {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--emerald);
  text-shadow: 0 0 20px rgba(46, 207, 143, 0.55);
  animation: win-amount-pop 0.5s ease 0.25s both;
  direction: ltr;
}

@keyframes win-amount-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.win-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  opacity: 0.9;
}

/* ---------------- Failure / alarm overlay ---------------- */

.lose-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 59, 82, 0.18), rgba(6, 8, 12, 0.92) 70%);
  animation: fade-in 0.25s ease;
}

.lose-overlay[hidden] {
  display: none;
}

.lose-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.lose-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.2px;
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 59, 82, 0.4);
}

.lose-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dim);
}

/* ---------------- Help / odds dialogs ---------------- */

.help-dialog, .odds-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 22px;
  max-width: 440px;
  width: 90vw;
  background: linear-gradient(165deg, #171d29, #0b0e15);
  color: var(--text-main);
  box-shadow: var(--shadow-deep);
}

.help-dialog::backdrop, .odds-dialog::backdrop {
  background: rgba(2, 3, 6, 0.75);
  backdrop-filter: blur(3px);
}

.help-dialog h2, .odds-dialog h2 {
  font-family: 'Rubik', sans-serif;
  margin-top: 0;
  color: var(--gold);
  font-size: 1.15rem;
}

.help-dialog p, .odds-dialog p {
  line-height: 1.55;
  font-size: 0.9rem;
}

.help-disclaimer {
  font-size: 0.72rem;
  opacity: 0.65;
}

.odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-top: 8px;
}

.odds-table th {
  text-align: center;
  padding: 6px 4px;
  color: var(--text-dim);
  font-weight: 700;
  border-bottom: 1px solid var(--panel-border);
}

.odds-table td {
  text-align: center;
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.odds-table td:first-child {
  text-align: start;
  font-weight: 700;
}

.odds-cell-chance {
  font-weight: 800;
  direction: ltr;
  display: inline-block;
}

.odds-cell-payout {
  font-size: 0.68rem;
  color: var(--text-dim);
  display: block;
  direction: ltr;
}

@media (max-width: 380px) {
  .win-title { font-size: 1.8rem; }
  .win-amount { font-size: 1.5rem; }
  .path-name { font-size: 0.78rem; }
  .path-chance { font-size: 0.98rem; }
}
