:root {
  --bg: #050a12;
  --panel: rgba(9, 18, 31, .78);
  --panel-strong: rgba(8, 19, 34, .9);
  --line: rgba(130, 187, 255, .16);
  --line-strong: rgba(107, 189, 255, .33);
  --text: #f5f9ff;
  --muted: #8ea0b7;
  --blue: #2f8cff;
  --cyan: #59dbff;
  --cyan-soft: #8ae8ff;
  --green: #20c46b;
  --green-soft: #87f3b0;
  --red: #e34a55;
  --red-soft: #ff7a84;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 25px 75px rgba(0, 0, 0, .42);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-height: 100dvh; overflow-x: hidden; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.flow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: blur(16px) saturate(145%);
  opacity: .94;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(13, 38, 67, .45), rgba(4, 8, 14, .96) 54%);
  transition: opacity .5s ease, visibility .5s ease;
}
.loading-screen.done { opacity: 0; visibility: hidden; }
.loader-ring {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 2px solid rgba(120, 189, 255, .13);
  border-top-color: rgba(94, 215, 255, .92);
  border-right-color: rgba(54, 132, 255, .56);
  box-shadow: 0 0 42px rgba(72, 171, 255, .14), inset 0 0 30px rgba(87, 194, 255, .06);
  animation: loaderSpin 1.15s linear infinite;
}
.loader-logo {
  position: relative;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(118, 221, 255, .42));
  animation: loaderPulse 1.45s ease-in-out infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 50% { transform: scale(1.07); opacity: .66; } }

.app-shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .55s ease, transform .55s ease;
}
.app-shell.ready { opacity: 1; transform: translateY(0); }

.brand-header {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 13px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(93, 211, 255, .18));
}
.brand-title {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1;
  font-weight: 870;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand-title span {
  background: linear-gradient(90deg, #78deff, #337dff, #71ecff, #2d73ff, #78deff);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: terminalGradient 5.4s linear infinite;
}
@keyframes terminalGradient { to { background-position: 260% 0; } }

.main-content {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}
.page { display: none; animation: pageIn .38s ease both; }
.page.active { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } }

.ticker-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid rgba(104, 181, 255, .11);
  border-bottom: 1px solid rgba(104, 181, 255, .11);
  background: rgba(8, 17, 30, .34);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 36px;
  padding: 0 14px;
  animation: tickerMove 34s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: .05em;
  color: #b9c8d9;
  text-transform: uppercase;
}
.ticker-item strong { color: #f5fbff; font-size: 11px; }
.ticker-dot { width: 4px; height: 4px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 10px rgba(89, 219, 255, .6); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  margin-bottom: 14px;
}
.section-row h1 {
  margin: 3px 0 0;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .16em;
  color: #7da3c9;
  font-weight: 800;
}
.api-badge {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  color: #c9f3ff;
  border: 1px solid rgba(72, 201, 255, .3);
  background: rgba(38, 125, 190, .14);
  padding: 7px 10px;
  border-radius: 999px;
}
.api-badge.stale { color: #ffc8a6; border-color: rgba(255, 151, 91, .35); background: rgba(153, 76, 24, .13); }

.market-stage { position: relative; padding: 3px 0 8px; }
.market-card {
  position: relative;
  width: min(100%, 1200px);
  height: clamp(300px, 42.4vw, 509px);
  max-width: 1200px;
  max-height: 509px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(113, 189, 255, .19);
  background: linear-gradient(135deg, rgba(8, 19, 34, .92), rgba(7, 21, 39, .78));
  box-shadow: var(--shadow), 0 0 60px rgba(32, 117, 214, .08);
}
.market-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  background-image:
    linear-gradient(135deg, rgba(4, 12, 24, .30), rgba(4, 17, 33, .54)),
    url("/static/assets/cards.webp");
  background-size: cover;
  background-position: center;
  filter: blur(1.4px) saturate(112%);
  opacity: .77;
  transform: scale(1.012);
}
.market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 42%, rgba(66, 167, 255, .13), transparent 38%),
    linear-gradient(180deg, rgba(4, 9, 18, .08), rgba(3, 9, 17, .46));
  pointer-events: none;
}
.market-card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(18px, 3.4vw, 42px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(12px, 2vw, 24px);
}
.market-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-category { color: #8ec8f7; font-size: clamp(9px, 1.2vw, 12px); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.market-status { color: #c9f4ff; font-size: 9px; letter-spacing: .08em; font-weight: 850; padding: 6px 8px; border-radius: 999px; border: 1px solid rgba(78, 206, 255, .28); background: rgba(32, 119, 174, .13); }
.market-question {
  margin: 0;
  align-self: center;
  width: min(84%, 850px);
  font-size: clamp(24px, 4.2vw, 54px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.market-core { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.chance-block { display: flex; align-items: baseline; gap: 10px; }
.chance-block span { color: var(--muted); font-size: clamp(10px, 1.25vw, 13px); }
.chance-block strong { font-size: clamp(26px, 4.5vw, 48px); line-height: 1; letter-spacing: -.045em; }
.outcome-actions { display: flex; gap: 9px; }
.outcome-btn {
  position: relative;
  min-width: clamp(76px, 10vw, 118px);
  height: clamp(45px, 6vw, 58px);
  border-radius: 14px;
  border: 1px solid transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.outcome-btn span { font-size: 11px; font-weight: 900; letter-spacing: .03em; }
.outcome-btn b { font-size: 12px; }
.outcome-btn.yes { background: rgba(18, 127, 68, .30); color: #82efad; border-color: rgba(42, 209, 111, .28); }
.outcome-btn.no { background: rgba(154, 39, 49, .28); color: #ff858e; border-color: rgba(238, 83, 94, .27); }
.outcome-btn.yes:hover, .outcome-btn.yes:focus-visible { background: linear-gradient(180deg, #16a653, #08743a); color: #effff4; border-color: rgba(104, 242, 158, .72); box-shadow: 0 0 30px rgba(82, 237, 140, .17), 0 10px 28px rgba(15, 154, 72, .19); transform: translateY(-1px); }
.outcome-btn.no:hover, .outcome-btn.no:focus-visible { background: linear-gradient(180deg, #d63b45, #9f222a); color: #fff4f4; border-color: rgba(255, 111, 122, .72); box-shadow: 0 0 30px rgba(236, 72, 84, .14), 0 10px 28px rgba(177, 40, 51, .18); transform: translateY(-1px); }
.outcome-btn:active { transform: scale(.975); }
.market-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric { padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(110, 180, 241, .12); background: rgba(5, 13, 24, .38); }
.metric span { display: block; color: #71869d; font-size: 8px; letter-spacing: .12em; font-weight: 850; }
.metric strong { display: block; margin-top: 4px; font-size: clamp(12px, 1.6vw, 17px); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 13px 0 0; }
.carousel-arrow { width: 34px; height: 34px; border-radius: 12px; border: 1px solid rgba(111, 182, 243, .16); background: rgba(9, 19, 33, .67); color: #a8c7e7; font-size: 22px; line-height: 1; cursor: pointer; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 12px; }
.carousel-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 999px; background: rgba(119, 157, 193, .35); transition: width .2s ease, background .2s ease; }
.carousel-dot.active { width: 20px; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px rgba(74, 193, 255, .35); }

.bonus-container, .settings-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(100, 182, 255, .12);
  border-radius: var(--radius-xl);
  background: rgba(7, 15, 27, .42);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bonus-container { padding: clamp(24px, 5vw, 60px); }
.settings-panel { padding: clamp(24px, 5vw, 60px); display: grid; place-items: center; }

.bonus-onboarding, .email-stage, .empty-promos {
  width: min(100%, 650px);
  margin: 0 auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bonus-onboarding h2, .email-stage h2, .empty-promos h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.04em; }
.bonus-onboarding > p, .email-stage > p, .empty-promos > p { max-width: 580px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.bonus-join-btn {
  min-width: min(360px, 100%);
  min-height: 54px;
  margin: 8px auto 15px;
  padding: 0 22px;
  border-radius: 17px;
  border: 1px solid rgba(126, 145, 164, .15);
  background: linear-gradient(180deg, #222b37, #151c25);
  color: #748292;
  font-weight: 850;
  cursor: not-allowed;
  transition: background .25s ease, color .25s ease, box-shadow .28s ease, border-color .25s ease, transform .2s ease;
}
.bonus-join-btn.enabled {
  cursor: pointer;
  color: #ecfff3;
  border-color: rgba(100, 239, 156, .54);
  background: linear-gradient(180deg, #16a653, #08743a);
  box-shadow: 0 0 22px rgba(122, 255, 166, .17), 0 12px 30px rgba(14, 143, 69, .20);
}
.bonus-join-btn.enabled:hover { transform: translateY(-1px); box-shadow: 0 0 34px rgba(126, 255, 171, .22), 0 13px 34px rgba(14, 143, 69, .24); }
.consent-list { width: min(440px, 100%); display: grid; gap: 9px; }
.consent-row { display: flex; align-items: center; gap: 9px; text-align: left; color: #8c9bae; font-size: 11px; line-height: 1.35; }
.consent-row input { width: 17px; height: 17px; accent-color: var(--green); flex: 0 0 auto; }
.consent-row a { color: #a8d8ff; text-decoration: underline; text-underline-offset: 2px; }

.email-entry {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: stretch;
}
.email-entry input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  color: var(--text);
  border-radius: 15px;
  border: 1px solid rgba(108, 185, 255, .22);
  background: rgba(5, 13, 24, .72);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.email-entry input:focus { border-color: rgba(85, 205, 255, .62); box-shadow: 0 0 0 3px rgba(54, 156, 235, .08), 0 0 30px rgba(58, 163, 243, .08); }
.email-entry input.invalid { border-color: rgba(255, 91, 101, .65); box-shadow: 0 0 0 3px rgba(255, 75, 87, .08); }
.email-entry input:disabled { color: #66717f; background: rgba(22, 24, 29, .64); border-color: rgba(132, 110, 115, .12); }
.email-confirm {
  width: 48px;
  height: 52px;
  border-radius: 15px;
  border: 1px solid rgba(91, 201, 255, .25);
  background: rgba(22, 83, 130, .25);
  color: #aeeaff;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.email-confirm:hover:not(:disabled) { color: white; background: linear-gradient(180deg, #168ed2, #0c5da1); border-color: rgba(106, 219, 255, .62); box-shadow: 0 0 24px rgba(70, 188, 255, .14); }
.email-confirm:disabled { opacity: .35; cursor: not-allowed; }
.field-note { width: min(620px, 100%); margin: 10px auto 0; color: #76879b; font-size: 11px; line-height: 1.45; }
.field-error { width: min(620px, 100%); min-height: 18px; margin: 7px auto 0; color: #ff8189; font-size: 11px; }

.info-button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(112, 197, 255, .2);
  background: rgba(10, 30, 50, .45);
  color: #8acdf7;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.info-button:hover { color: #d9f6ff; border-color: rgba(115, 223, 255, .52); background: rgba(21, 90, 139, .38); box-shadow: 0 0 24px rgba(74, 188, 255, .15); }
.hidden { display: none !important; }

.promo-list { display: grid; gap: 10px; }
.promo-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 17px;
  border-radius: 17px;
  border: 1px solid rgba(111, 185, 248, .14);
  background: rgba(6, 15, 27, .60);
  cursor: pointer;
  transition: transform .18s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.promo-row:hover { transform: translateY(-1px); border-color: rgba(89, 201, 255, .33); background: rgba(8, 25, 43, .74); box-shadow: 0 0 24px rgba(52, 161, 240, .08); }
.promo-code { font-size: clamp(15px, 2vw, 19px); font-weight: 850; letter-spacing: .01em; overflow-wrap: anywhere; }
.promo-time { margin-top: 5px; color: #77899d; font-size: 10px; }
.promo-amount { font-size: clamp(16px, 2vw, 20px); font-weight: 900; color: #c9f5ff; }

.settings-box { width: min(670px, 100%); }
.settings-box h2 { margin: 0 0 9px; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.04em; }
.settings-box > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.settings-warning {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffadb2;
  font-size: 11px;
  line-height: 1.45;
  border: 1px solid rgba(229, 73, 84, .17);
  background: rgba(100, 22, 29, .12);
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(330px, calc(100% - 28px));
  height: 64px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  border: 1px solid rgba(106, 177, 239, .18);
  border-radius: 23px;
  background: rgba(5, 13, 24, .78);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.02);
}
.nav-btn { border: 0; border-radius: 18px; background: transparent; color: #60768d; display: grid; place-items: center; cursor: pointer; transition: .2s ease; }
.nav-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn.active { color: #b8efff; background: linear-gradient(180deg, rgba(47, 139, 255, .22), rgba(35, 93, 162, .12)); box-shadow: inset 0 0 0 1px rgba(87, 192, 255, .14), 0 0 21px rgba(67, 171, 255, .07); }
.nav-btn:hover { color: #9bdfff; }

.modal { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(1, 6, 12, .58); backdrop-filter: blur(13px) saturate(115%); }
.modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(480px, calc(100% - 28px));
  transform: translate(-50%, -46%) scale(.98);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(110, 196, 255, .18);
  background: linear-gradient(180deg, rgba(8, 21, 37, .97), rgba(5, 13, 24, .98));
  box-shadow: 0 30px 100px rgba(0,0,0,.62), 0 0 55px rgba(43, 137, 222, .09);
  transition: transform .28s ease;
}
.modal.open .modal-card { transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; right: 15px; top: 13px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.045); color: #8698aa; font-size: 20px; cursor: pointer; }
.modal-kicker { color: #72cfff; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.modal-card h2 { margin: 8px 0 10px; font-size: 28px; letter-spacing: -.04em; }
.modal-card p { color: #95a5b7; font-size: 13px; line-height: 1.55; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.primary-btn, .secondary-btn { min-height: 47px; border-radius: 14px; cursor: pointer; font-weight: 850; border: 1px solid rgba(109, 182, 244, .16); }
.secondary-btn { color: #97a9bc; background: rgba(255,255,255,.035); }
.primary-btn { color: #e8f8ff; background: linear-gradient(180deg, #187fc1, #0b5894); border-color: rgba(95, 202, 255, .38); transition: .22s ease; }
.primary-btn:hover, .primary-btn:focus-visible { color: #effff4; background: linear-gradient(180deg, #16a653, #08743a); border-color: rgba(102, 239, 157, .65); box-shadow: 0 0 30px rgba(105, 246, 159, .18), 0 12px 27px rgba(12, 138, 65, .18); }
.modal-ok { width: 100%; margin-top: 15px; }

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(94px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(107, 195, 255, .2);
  background: rgba(5, 17, 29, .9);
  color: #d7f5ff;
  font-size: 11px;
  backdrop-filter: blur(12px);
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.fade-out { animation: suckAway .42s cubic-bezier(.55,.05,.8,.2) forwards; }
.fade-in { animation: emerge .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes suckAway { to { opacity: 0; filter: blur(8px); transform: scale(.78); } }
@keyframes emerge { from { opacity: 0; filter: blur(8px); transform: scale(.82); } }

@media (max-width: 700px) {
  .brand-header, .main-content { width: min(100% - 22px, 1240px); }
  .brand-header { padding-top: 17px; }
  .brand-logo { width: 26px; height: 26px; }
  .brand-title { font-size: clamp(18px, 6vw, 25px); }
  .ticker-track { min-height: 32px; gap: 23px; }
  .section-row { margin-top: 22px; }
  .market-card { height: 318px; border-radius: 24px; }
  .market-card-inner { padding: 18px; gap: 11px; }
  .market-question { width: 100%; font-size: clamp(24px, 7.3vw, 34px); }
  .market-core { align-items: center; }
  .chance-block { display: grid; gap: 2px; }
  .chance-block strong { font-size: 29px; }
  .outcome-btn { min-width: 67px; height: 43px; border-radius: 12px; }
  .outcome-btn span { font-size: 10px; }
  .outcome-btn b { font-size: 11px; }
  .metric { padding: 8px 9px; }
  .bonus-container, .settings-panel { min-height: 410px; padding: 22px 16px; border-radius: 24px; }
  .email-entry { grid-template-columns: minmax(0, 1fr) 46px; }
  .email-entry input { font-size: 13px; }
}

@media (max-width: 390px) {
  .brand-title { font-size: 18px; }
  .brand-logo { width: 24px; height: 24px; }
  .market-card { height: 300px; }
  .market-question { font-size: 23px; }
  .market-core { gap: 9px; }
  .outcome-actions { gap: 5px; }
  .outcome-btn { min-width: 58px; padding: 0 7px; }
  .chance-block strong { font-size: 26px; }
  .carousel-controls { margin-top: 9px; }
  .bottom-nav { height: 58px; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .app-shell { padding-bottom: 25px; }
  .bottom-nav { left: 10px; top: 50%; bottom: auto; transform: translateY(-50%); width: 52px; height: 182px; grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .main-content, .brand-header { width: min(980px, calc(100% - 84px)); margin-left: 70px; margin-right: 14px; }
  .brand-header { padding-top: 9px; padding-bottom: 7px; }
  .brand-logo { width: 22px; height: 22px; }
  .brand-title { font-size: 20px; }
  .ticker-track { min-height: 27px; }
  .section-row { margin-top: 12px; margin-bottom: 8px; }
  .section-row h1 { font-size: 27px; }
  .market-card { height: 270px; }
  .market-card-inner { padding: 14px 18px; gap: 7px; }
  .market-question { font-size: 25px; }
  .bonus-container, .settings-panel { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
