@font-face {
  font-family: 'Inter';
  src: url('/static/brand/fonts/inter-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('/static/brand/fonts/archivo-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

/*
 * Prelaunch Mini App design system.
 * Source: Betting Bot Brand Strategy.zip.
 * This later same-origin stylesheet is equivalent to the supplied end-of-file
 * override patch and keeps rollback isolated.
 */

:root {
  /* surfaces */
  --bg-primary: #080707;
  --bg-secondary: #0f0e0f;
  --bg-card: #151314;
  --bg-card-hover: #1a1719;
  --bg-tertiary: #1a1719;
  --border-color: rgba(255, 255, 255, 0.07);

  /* ink */
  --text-primary: #f6f4f5;
  --text-secondary: #8a8486;
  --text-muted: #6b6668;

  /* one accent, three roles */
  --accent-green: #e161bc;
  --accent-blue: #e161bc;
  --accent-orange: #e161bc;
  --accent-red: #ff6b6b;
  --win-color: #e161bc;
  --loss-color: #8a8486;
  --push-color: #8a8486;

  /* new tokens */
  --ui-accent: #e161bc;
  --ui-accent-tint: rgba(225, 97, 188, 0.12);
  --ui-accent-line: rgba(225, 97, 188, 0.35);
  --ui-pill: 999px;
  --ui-card: 16px;
  --ui-disabled-bg: #1a1719;
  --ui-disabled-ink: #5c5658;

  --font-display: 'Archivo', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body { font-family: var(--font-body); }

.header h1,
.section-title,
.bet-slip-title,
.settings-header h2,
.props-modal-title h2,
.season-zero-title,
.season-zero-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* every number reads as a number */
.record-badge, .team-odds, .bet-value, .bet-odds, .stat-value,
.selection-odds, .payout-value, .unit-preset, .pick-detail,
.prop-line-value, .prop-line-odds, .balance-summary strong,
.season-zero-stat-value, .season-zero-score, .season-zero-rank,
.search-result-odds, .game-time {
  font-variant-numeric: tabular-nums;
}

/* ---------- header ---------- */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}
.header h1 { font-size: 17px; }
.header h1 span { color: var(--ui-accent); }

.record-badge {
  background: transparent;
  border: 1px solid var(--ui-accent-line);
  color: var(--ui-accent);
  border-radius: var(--ui-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}
.record-badge:hover { background: var(--ui-accent-tint); }
.record-badge:active { transform: scale(0.97); }

.settings-btn {
  background: var(--bg-card);
  border: none;
  border-radius: var(--ui-pill);
  width: 40px;
  height: 40px;
  font-size: 14px;
  flex: 0 0 40px;
  padding: 0;
}
.settings-btn:hover { background: var(--bg-card-hover); }

.header-actions { gap: 8px; }

.group-context-bar {
  align-items: center;
  background: var(--bg-primary);
  border: 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  gap: 9px;
  min-height: 40px;
  padding: 8px 16px;
  text-align: left;
  width: 100%;
}
.group-context-bar strong {
  color: var(--text-primary);
  flex: 1;
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-context-bar:disabled {
  cursor: default;
  opacity: 1;
}
.group-context-kicker {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.group-context-change {
  color: var(--ui-accent);
  font-size: 11px;
  font-weight: 700;
}

/* ---------- tabs ---------- */
.nav-tabs {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  gap: 0;
}
.nav-tab {
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 0;
  position: relative;
}
.nav-tab.active {
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
}
.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ui-accent);
}
.nav-tab:hover:not(.active) { background: transparent; color: var(--text-secondary); }

/* ---------- cards: one flat surface, no box-in-box ---------- */
.sport-card, .league-card, .game-card, .stat-card,
.pick-card, .prop-item, .search-result-item,
.season-zero-hero, .season-zero-card,
.leaderboard-summary, .leaderboard-row {
  background: var(--bg-card);
  border: none;
  border-radius: var(--ui-card);
  box-shadow: none;
}
.sport-card, .league-card { padding: 18px; }
.game-card, .season-zero-hero, .season-zero-card { border-radius: 20px; }

.sport-card:hover, .league-card:hover,
.game-card:hover, .prop-item:hover, .search-result-item:hover {
  background: var(--bg-card-hover);
  border: none;
  transform: none;
}
.sport-card.selected {
  background: var(--ui-accent-tint);
  border: none;
  box-shadow: inset 0 0 0 1px var(--ui-accent-line);
}

.leaderboard-summary {
  border-radius: 20px;
}
.leaderboard-row.viewer {
  background: var(--ui-accent-tint);
  box-shadow: inset 0 0 0 1px var(--ui-accent-line);
}
.leaderboard-row-profit:not(.negative),
.leaderboard-movement.positive,
.pick-rank-change.positive {
  color: var(--ui-accent);
}
.leaderboard-row-profit.negative,
.leaderboard-movement.negative,
.pick-rank-change.negative {
  color: var(--text-secondary);
}
.leaderboard-period {
  background: var(--bg-card);
  border: none;
  color: var(--text-secondary);
}
.leaderboard-period.active {
  background: var(--ui-accent);
  border: none;
  color: #fff;
}

/* Sport emoji use the source data and keep a stable menu-card footprint. */
.sport-emoji, .league-emoji {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  color: inherit;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  margin: 0 auto 10px;
  filter: none;
}
.sport-name, .league-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* ---------- game card internals ---------- */
.game-header { border-bottom: 1px solid var(--border-color); }
.game-time {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.live-badge, .ai-badge {
  background: var(--ui-accent-tint);
  color: var(--ui-accent);
  border: none;
  border-radius: var(--ui-pill);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.team-name { font-size: 16px; font-weight: 700; }
.team-odds { font-size: 12px; color: var(--text-secondary); }
.vs-divider { color: var(--text-muted); font-size: 12px; }

.bet-options { gap: 0; border-top: 1px solid var(--border-color); }
.bet-option {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  border-radius: 0;
  padding: 12px 4px;
}
.bet-option:last-child { border-right: none; }
.bet-option:hover { background: rgba(255, 255, 255, 0.03); border-color: var(--border-color); }
.bet-option.selected {
  background: var(--ui-accent-tint);
  border-color: var(--border-color);
  box-shadow: inset 2px 0 0 var(--ui-accent);
}
.bet-option.selected .bet-odds { color: var(--ui-accent); }
.bet-option.draw-option { background: transparent; }
.bet-option:disabled, .prop-line-btn:disabled {
  background: var(--ui-disabled-bg);
  color: var(--ui-disabled-ink);
  opacity: 1;
}
.bet-label {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bet-value { font-size: 15px; font-weight: 700; }
.bet-odds { font-size: 11px; color: var(--text-secondary); }
.odds-source { font-size: 11px; color: var(--text-muted); }

/* ---------- bet slip ---------- */
.bet-slip {
  background: var(--bg-card);
  border: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
}
.bet-slip-header { border-bottom: none; }
.bet-slip-title { font-size: 17px; }
.close-slip {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--ui-pill);
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
}
.close-slip, .props-close-btn, .settings-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 0;
  line-height: 1;
}
.close-slip::before, .close-slip::after,
.props-close-btn::before, .props-close-btn::after,
.settings-close::before, .settings-close::after {
  content: '';
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  border-radius: var(--ui-pill);
  background: currentColor;
}
.close-slip::before, .props-close-btn::before, .settings-close::before {
  transform: rotate(45deg);
}
.close-slip::after, .props-close-btn::after, .settings-close::after {
  transform: rotate(-45deg);
}
.balance-summary {
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 0 0 4px;
}
.balance-summary strong { color: var(--text-primary); }

.bet-slip-selection {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0 0 16px;
}
.selection-team { font-size: 18px; font-weight: 800; }
.selection-details { font-size: 12px; color: var(--text-secondary); }
.selection-odds { font-size: 20px; font-weight: 800; color: var(--ui-accent); background: none; }

.units-label, .unit-mode-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* chips + toggle share one pill radius */
.unit-preset {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--ui-pill);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 11px 0;
}
.unit-preset:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.unit-preset.selected {
  background: var(--ui-accent);
  color: #fff;
  font-weight: 600;
  border: none;
}

.toggle-switch {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--ui-pill);
  padding: 3px;
  gap: 0;
}
.toggle-option {
  background: transparent;
  border: none;
  border-radius: var(--ui-pill);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
}
.toggle-option:first-child, .toggle-option:last-child { border-radius: var(--ui-pill); }
.toggle-option.active {
  background: var(--ui-accent);
  color: #fff;
  font-weight: 600;
}

.custom-units input, .search-input, .props-search-bar input {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--ui-pill);
  color: var(--text-primary);
  font-size: 13px;
  padding: 13px 16px;
}
.custom-units input:focus, .search-input:focus, .props-search-bar input:focus {
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 0 1px var(--ui-accent-line);
}
.custom-units input::placeholder, .search-input::placeholder, .props-search-bar input::placeholder {
  color: var(--text-muted);
}

.payout-preview {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 16px 0;
}
.payout-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.payout-value { font-size: 20px; font-weight: 800; }
.payout-value.risk { color: var(--text-primary); }
.payout-value.win { color: var(--ui-accent); }
.bet-slip-boundary { color: var(--text-muted); }

/* ---------- buttons: primary / secondary / ghost / disabled ---------- */
.submit-bet, .season-zero-button {
  background: var(--ui-accent);
  border: none;
  border-radius: var(--ui-pill);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(225, 97, 188, 0.3);
}
.submit-bet:hover, .season-zero-button:hover { filter: brightness(1.06); transform: none; }
.submit-bet:disabled, .season-zero-button:disabled {
  background: var(--ui-disabled-bg);
  color: var(--ui-disabled-ink);
  box-shadow: none;
  opacity: 1;
}

.props-btn, .season-zero-button.secondary, .prop-search-btn {
  background: transparent;
  border: 1px solid var(--ui-accent);
  border-radius: var(--ui-pill);
  color: var(--ui-accent);
  font-weight: 600;
  box-shadow: none;
}
.props-btn:hover, .season-zero-button.secondary:hover, .prop-search-btn:hover {
  background: var(--ui-accent-tint);
  transform: none;
}
.props-btn:active { transform: scale(0.99); }

.back-btn {
  background: transparent;
  border: none;
  border-radius: var(--ui-pill);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}
.back-btn:hover { background: transparent; color: var(--text-primary); }

/* ---------- picks + stats ---------- */
.pick-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 14px 0;
}
.pick-team { font-size: 14px; font-weight: 600; }
.pick-details, .pick-detail { font-size: 12px; color: var(--text-secondary); }
.pick-detail.positive { color: var(--text-primary); font-weight: 700; }
.pick-detail.negative { color: var(--text-secondary); font-weight: 700; }

/* result state = shape, not colour alone */
.pick-status {
  border-radius: var(--ui-pill);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pick-status.win { background: var(--ui-accent); color: #fff; border: 1px solid var(--ui-accent); }
.pick-status.loss { background: transparent; color: var(--text-secondary); border: 1px solid #3a3638; }
.pick-status.push, .pick-status.pending { background: transparent; color: var(--text-secondary); border: 1px dashed #3a3638; }
.pick-status.voided, .pick-status.cancelled { background: var(--ui-disabled-bg); color: var(--ui-disabled-ink); border: 1px solid transparent; }

.stats-grid {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 18px 4px;
  gap: 0;
}
.stat-card {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0;
}
.stat-card:last-child { border-right: none; }
.stat-value { font-size: 20px; font-weight: 800; color: var(--text-primary); }
.stat-value.positive { color: var(--ui-accent); }
.stat-value.negative { color: var(--text-primary); }
.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flex-card-entry {
  align-items: center;
  background: var(--ui-accent-tint);
  border: 1px solid var(--ui-accent-line);
  border-radius: 16px;
  color: var(--ui-accent);
  display: flex;
  justify-content: space-between;
  margin: 14px 0 22px;
  min-height: 58px;
  padding: 12px 16px;
  text-align: left;
  width: 100%;
}
.flex-card-entry strong,
.flex-card-entry small { display: block; }
.flex-card-entry strong { font-size: 14px; }
.flex-card-entry small {
  color: var(--text-secondary);
  font-size: 11px;
  margin-top: 3px;
}

/* ---------- modals ---------- */
.props-modal, .settings-content {
  background: var(--bg-primary);
  border: none;
}
.props-modal-header, .settings-header { border-bottom: 1px solid var(--border-color); }
.props-modal-title h2, .settings-header h2 { font-size: 18px; }
.props-close-btn, .settings-close {
  background: var(--bg-card);
  border: none;
  border-radius: var(--ui-pill);
  width: 40px;
  height: 40px;
  color: var(--text-secondary);
}
.props-game-info { font-size: 13px; color: var(--text-primary); }
.props-source { font-size: 11px; color: var(--text-muted); }

.props-market-tabs { gap: 8px; border-bottom: none; }
.props-market-tab {
  background: var(--bg-card);
  border: none;
  border-radius: var(--ui-pill);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 8px 14px;
}
.props-market-tab.active { background: var(--ui-accent); color: #fff; font-weight: 600; }

.prop-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 16px 0;
}
.prop-player { font-size: 15px; font-weight: 700; }
.prop-type { font-size: 12px; color: var(--text-secondary); }
.prop-line-btn {
  background: var(--bg-card);
  border: none;
  border-radius: var(--ui-pill);
  color: var(--text-secondary);
  font-size: 13px;
  padding: 11px;
}
.prop-line-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.prop-line-btn.selected {
  background: var(--ui-accent-tint);
  box-shadow: inset 0 0 0 1px var(--ui-accent);
  color: var(--text-primary);
  font-weight: 600;
}
.prop-line-odds { color: var(--ui-accent); }

/* settings radio rows */
.settings-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.settings-option {
  background: var(--bg-card);
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  gap: 13px;
}
.settings-option:hover { background: var(--bg-card-hover); }
.settings-option.active { background: var(--ui-accent-tint); border: none; }
.settings-option-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #3a3638;
  border-radius: var(--ui-pill);
  flex-shrink: 0;
}
.settings-option.active .settings-option-radio { border-color: var(--ui-accent); background: transparent; }
.settings-option.active .settings-option-radio::after { background: var(--ui-accent); }
.settings-option-title { font-size: 14px; font-weight: 600; }
.settings-option-desc { font-size: 12px; color: var(--text-secondary); }

.group-context-content { max-height: min(620px, calc(100vh - 40px)); }
.group-context-copy,
.group-context-empty {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.group-context-option { min-height: 58px; }

/* ---------- season zero ---------- */
.season-zero-title { font-size: 20px; }
.season-zero-copy, .season-zero-meta, .season-zero-empty {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.season-zero-rule, .season-zero-entry, .season-zero-standing {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 13px 0;
}
.season-zero-grid { background: transparent; gap: 0; }
.season-zero-stat {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-color);
  border-radius: 0;
}
.season-zero-stat:last-child { border-right: none; }
.season-zero-stat-value { font-size: 19px; font-weight: 800; }
.season-zero-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.season-zero-progress {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--ui-pill);
  height: 6px;
  overflow: hidden;
}
.season-zero-progress-bar { background: var(--ui-accent); border-radius: var(--ui-pill); }
.season-zero-section-title { font-size: 15px; }
.season-zero-score, .season-zero-rank { color: var(--ui-accent); font-weight: 700; }

/* ---------- states ---------- */
.spinner {
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--ui-accent);
  width: 22px;
  height: 22px;
}
.empty-state { color: var(--text-secondary); padding: 32px 20px; }
.empty-state-icon { filter: grayscale(1); opacity: 0.35; font-size: 26px; }
.empty-state-text { font-size: 13px; color: var(--text-secondary); }

.toast {
  background: var(--bg-card);
  border: none;
  border-left: 2px solid var(--ui-accent);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.toast.error { border-left-color: var(--accent-red); color: #ffb3b3; }

/* ---------- search ---------- */
.search-container { background: var(--bg-primary); border-bottom: 1px solid var(--border-color); }
.search-icon, .search-clear { filter: grayscale(1); opacity: 0.6; }
.search-results { background: var(--bg-primary); }
.search-results-header, .search-section-header {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}
.search-clear-link { color: var(--ui-accent); }
.search-result-item { border-radius: 14px; border: none; }
.search-result-teams, .search-result-matchup { font-size: 14px; font-weight: 600; }
.search-result-sport, .search-result-time { font-size: 11px; color: var(--text-secondary); }
.search-result-odds { color: var(--ui-accent); font-weight: 700; }
.search-no-results .emoji, .props-empty .emoji { filter: grayscale(1); opacity: 0.35; }
.search-helper, .props-empty-detail { font-size: 12px; color: var(--text-secondary); }

/* focus ring follows the accent */
button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ui-accent);
  outline-offset: 2px;
}

/* ---------- Brand shell assets ---------- */
.brand-symbol {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.settings-btn,
.search-icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.settings-btn svg {
  width: 20px;
  height: 20px;
}

.search-icon svg {
  width: 18px;
  height: 18px;
}

.header h1 {
  gap: 9px;
}

.header h1.mark-only {
  gap: 0;
}

/* ---------- motion ---------- */
:root {
  --ui-travel: cubic-bezier(0.32, 0.72, 0, 1);
  --ui-state: cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab {
  transition: color 180ms var(--ui-state), background-color 140ms var(--ui-state);
}

.nav-tab.active::after {
  animation: theme-rule-in 240ms var(--ui-travel);
}

.view.active {
  animation: theme-pane-in 260ms var(--ui-travel);
}

.bet-slip.active {
  animation: theme-sheet-in 320ms var(--ui-travel);
}

.settings-content,
.props-modal {
  animation-duration: 320ms;
  animation-timing-function: var(--ui-travel);
}

.unit-preset,
.toggle-option,
.props-market-tab,
.prop-line-btn,
.settings-option,
.leaderboard-period {
  transition: background-color 140ms var(--ui-state), color 140ms var(--ui-state),
    box-shadow 140ms var(--ui-state), border-color 140ms var(--ui-state);
}

.submit-bet:active,
.season-zero-button:active {
  transform: scale(0.97);
  transition: transform 120ms var(--ui-state);
}

.toast {
  transition: opacity 200ms var(--ui-state), transform 220ms var(--ui-travel);
}

@keyframes theme-rule-in {
  from { opacity: 0; transform: translateX(-50%) scaleX(0.4); }
  to { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

@keyframes theme-pane-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes theme-sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-tab,
  .nav-tab.active::after,
  .view.active,
  .bet-slip.active,
  .settings-content,
  .props-modal,
  .unit-preset,
  .toggle-option,
  .props-market-tab,
  .prop-line-btn,
  .settings-option,
  .leaderboard-period,
  .submit-bet,
  .season-zero-button,
  .toast {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
