:root {
  --bg: #f6f7fb;
  --bg-dark: #0d1118;
  --panel: #ffffff;
  --panel-dark: #121722;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --line-dark: rgba(255, 255, 255, 0.08);
  --text: #10131a;
  --text-muted: #5f6674;
  --text-soft: #7c8392;
  --text-inverse: #f5f7fb;
  --blue: #2160f3;
  --blue-strong: #1a55de;
  --cyan: #1fb6ad;
  --red: #ff5b6b;
  --orange: #cf8b31;
  --purple: #7756d7;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.06);
  --shadow-terminal: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  transition: background 180ms ease, color 180ms ease;
}

body[data-route="replay"] {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

#app {
  min-height: 100vh;
}

.page-shell {
  width: min(1440px, calc(100vw - 48px));
  margin: 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.brand-mark-badge {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(150deg, #2f74ff 0%, #194bc2 58%, #0f172a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 24px rgba(33, 96, 243, 0.16);
}

.brand-mark-badge::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-left-width: 4px;
  border-radius: 8px;
  transform: skewX(-9deg);
}

.brand-mark-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-mark-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark-meta {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark.is-dark {
  color: var(--text-inverse);
}

.brand-mark.is-dark .brand-mark-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 24px rgba(15, 23, 42, 0.32);
}

.brand-mark.is-dark .brand-mark-meta {
  color: rgba(255, 255, 255, 0.62);
}

.button-primary,
.button-secondary,
.button-dark,
.nav-link {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button-primary:hover {
  background: var(--blue-strong);
}

.button-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.button-dark {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  background: transparent;
  color: var(--text-muted);
}

.nav-link--action {
  color: var(--text);
}

.section-eyebrow,
.hero-eyebrow {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.positive {
  color: #149f8f;
}

.negative {
  color: #d84f65;
}

/* Landing */

.landing-page {
  padding: 16px 0 48px;
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  gap: 48px;
  padding: 24px 0 18px;
  align-items: center;
}

.hero-copy {
  padding: 14px 0 0;
}

.hero-title,
.secondary-title,
.review-title,
.review-card strong,
.hero-stat h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-title {
  margin: 12px 0 14px;
  font-size: clamp(58px, 7vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-body {
  max-width: 28ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.54;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.hero-stat {
  max-width: none;
}

.hero-stat h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.02;
}

.hero-stat p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.landing-preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.preview-topbar,
.preview-toolbar,
.preview-summary,
.preview-footer,
.replay-toolbar,
.replay-summary,
.replay-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-topbar {
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.preview-topbar-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.preview-symbol {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 14px;
  font-weight: 700;
}

.preview-label,
.preview-date,
.preview-capital,
.toolbar-meta,
.replay-session-label,
.review-body,
.review-panel-head p,
.review-card span,
.trade-table-row,
.trade-table-empty {
  color: var(--text-muted);
}

.preview-dots {
  display: flex;
  gap: 8px;
}

.preview-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d6dce7;
}

.preview-toolbar,
.replay-toolbar {
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.preview-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-summary,
.replay-summary {
  min-height: 62px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.preview-date {
  margin: 0 0 6px;
  font-size: 12px;
}

.preview-ohlc {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.preview-chart {
  min-height: 344px;
  padding: 0 12px;
}

.preview-indicator {
  min-height: 96px;
  padding: 0 12px;
  border-top: 1px solid var(--line);
}

.preview-footer {
  min-height: 52px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  background: rgba(247, 249, 252, 0.94);
}

.preview-capital {
  color: #425167;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.preview-actions,
.replay-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-secondary {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
  padding-top: 16px;
}

.secondary-copy {
  padding-top: 22px;
  border-top: 3px solid var(--text);
}

.secondary-title {
  margin: 18px 0 0;
  max-width: 10ch;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.flow-card,
.review-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.flow-card {
  padding: 24px 28px 28px;
}

.flow-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.flow-card-head h3,
.review-panel-head h2 {
  margin: 10px 0 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.flow-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.flow-grid article {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.flow-grid article p:last-child {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.58;
}

/* Replay */

.replay-page {
  height: 100svh;
  width: min(1800px, calc(100vw - 12px));
  padding: 0;
}

.replay-terminal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: var(--panel-dark);
  box-shadow: var(--shadow-terminal);
}

.replay-terminal--setup {
  isolation: isolate;
}

.replay-session-chip {
  color: rgba(15, 23, 42, 0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.replay-canvas {
  display: grid;
  grid-template-rows: 40px 44px minmax(0, 1fr) 148px auto;
  min-height: 0;
  background: white;
  color: var(--text);
}

.replay-canvas.is-indicator-collapsed {
  grid-template-rows: 40px 44px minmax(0, 1fr) 0 auto;
}

.replay-canvas.is-awaiting-start {
  grid-template-rows: 40px 44px minmax(0, 1fr) 0;
}

.canvas-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f6fa;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.canvas-pill.is-active {
  color: var(--blue);
}

.canvas-pill--button {
  cursor: pointer;
}

.chart-wrap,
.indicator-wrap {
  position: relative;
  overflow: hidden;
}

.chart-wrap--replay {
  min-height: 0;
  height: 100%;
  padding: 0 8px;
}

.chart-wrap--setup {
  padding: 18px;
}

.indicator-wrap--replay {
  min-height: 148px;
  padding: 0 8px;
  border-top: 1px solid var(--line);
}

.indicator-wrap--replay.is-collapsed {
  min-height: 0;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
}

.replay-start-placeholder {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(44, 119, 255, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(18, 184, 165, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(247, 250, 253, 0.96), rgba(238, 244, 249, 0.92));
}

.replay-start-placeholder__glow {
  position: absolute;
  inset: 16% 12%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 70%);
  filter: blur(36px);
}

.replay-start-placeholder__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 92%);
}

.replay-start-placeholder__label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  gap: 6px;
}

.replay-start-placeholder__label span {
  color: rgba(71, 85, 105, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.replay-start-placeholder__label strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.replay-start-scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.24);
  backdrop-filter: blur(16px);
  z-index: 1;
}

.replay-start-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(440px, calc(100% - 36px));
  padding: 26px 26px 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(14, 22, 39, 0.96), rgba(12, 18, 32, 0.98)),
    rgba(15, 23, 42, 0.98);
  color: white;
  box-shadow: 0 28px 80px rgba(3, 7, 18, 0.42);
  transform: translate(-50%, -50%);
}

.replay-start-modal .section-eyebrow {
  color: rgba(191, 219, 254, 0.72);
}

.replay-start-modal h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.replay-start-copy {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 15px;
  line-height: 1.58;
}

.replay-start-field {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.replay-start-field span {
  color: rgba(226, 232, 240, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.replay-start-field input {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font: inherit;
}

.replay-start-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: rgba(226, 232, 240, 0.68);
  font-size: 13px;
}

.replay-start-submit {
  width: 100%;
  margin-top: 20px;
}

.replay-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 8px 16px 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background: rgba(248, 250, 253, 0.96);
}

.micro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: white;
  color: #425167;
}

.micro-button.buy {
  background: rgba(31, 182, 173, 0.1);
  color: #12857e;
  border-color: rgba(31, 182, 173, 0.16);
}

.micro-button.sell {
  background: rgba(255, 91, 107, 0.1);
  color: #cf4960;
  border-color: rgba(255, 91, 107, 0.16);
}

.micro-button.neutral {
  background: white;
  border-color: rgba(15, 23, 42, 0.07);
}

.micro-button.dark {
  background: #161a22;
  color: white;
}

.micro-button-step {
  margin-left: auto;
}

.replay-controls-group {
  flex-wrap: wrap;
}

.micro-input {
  gap: 10px;
  padding-right: 10px;
}

.micro-input input,
.micro-input select {
  width: 64px;
  border: 0;
  background: transparent;
  color: inherit;
  outline: none;
}

@media (max-width: 900px) {
  .replay-start-modal {
    width: min(420px, calc(100% - 24px));
    padding: 22px 20px 20px;
  }

  .replay-start-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .replay-start-placeholder {
    min-height: 320px;
  }
}

/* Review */

.review-page {
  padding: 40px 0 56px;
}

.review-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.review-title {
  margin: 14px 0 14px;
  font-size: clamp(58px, 7vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.review-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.review-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.review-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.review-card {
  min-height: 132px;
  padding: 18px 22px 20px;
}

.review-card strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.review-card span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.review-card--highlight {
  background: var(--blue);
  color: white;
}

.review-card--highlight .section-eyebrow,
.review-card--highlight span {
  color: rgba(255, 255, 255, 0.8);
}

.review-panel {
  margin-top: 18px;
  padding: 22px 22px 26px;
}

.review-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.review-panel-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
}

.review-equity-chart {
  min-height: 280px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(247, 250, 253, 0.8), rgba(243, 248, 252, 0.92));
}

.trade-table-head,
.trade-table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.6fr 0.6fr 0.8fr;
  gap: 14px;
  align-items: center;
}

.trade-table-head {
  padding: 0 12px 14px;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trade-table-row {
  min-height: 84px;
  padding: 0 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.trade-table-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.trade-table-row span {
  color: var(--text-muted);
  font-size: 14px;
}

.trade-table-empty {
  padding: 24px 12px 6px;
  font-size: 15px;
}

/* Chart primitives */

.chart-svg,
.indicator-svg,
.equity-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-surface,
.indicator-surface,
.equity-surface {
  fill: transparent;
}

.chart-grid-line,
.indicator-guide {
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1;
}

.indicator-band {
  fill: rgba(33, 96, 243, 0.06);
}

.candle-body,
.candle-wick {
  stroke-width: 1.8;
}

.ema-line,
.indicator-path,
.equity-line,
.equity-area {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ema-line {
  stroke-width: 1.35;
}

.ema-line--10 {
  stroke: #1aa36f;
}

.ema-line--30 {
  stroke: #d6901e;
}

.ema-line--75 {
  stroke: #d2555f;
}

.ema-line--200 {
  stroke: #2f6eb5;
}

.ema-line--fast {
  stroke: var(--orange);
}

.ema-line--slow {
  stroke: #2f6eb5;
}

.indicator-primary {
  stroke: #4f5d73;
  stroke-width: 1;
}

.indicator-secondary {
  stroke: #f0b536;
  stroke-width: 1.8;
}

.equity-line {
  stroke: var(--cyan);
  stroke-width: 3.2;
}

.equity-area {
  fill: rgba(31, 182, 173, 0.1);
}

.replay-cutline {
  stroke: rgba(148, 163, 184, 0.75);
  stroke-dasharray: 6 6;
}

.current-price-line,
.active-trade-line {
  stroke: rgba(255, 91, 107, 0.58);
  stroke-dasharray: 4 4;
}

.price-flag rect {
  fill: var(--red);
}

.indicator-flag rect {
  fill: #161a22;
}

.price-flag text,
.indicator-flag text {
  fill: white;
  font-size: 11px;
  font-weight: 700;
}

.trade-entry-dot {
  fill: var(--cyan);
}

.trade-exit-dot {
  fill: var(--red);
}

.trade-entry-label,
.trade-exit-label,
.active-trade-label,
.axis-label,
.indicator-label,
.indicator-guide-label {
  fill: #7a8799;
  font-size: 11px;
  font-weight: 600;
}

.preview-date,
.preview-ohlc,
.preview-capital,
.toolbar-meta,
.micro-button,
.price-flag text,
.indicator-flag text,
.axis-label,
.indicator-label,
.trade-entry-label,
.trade-exit-label,
.active-trade-label {
  font-variant-numeric: tabular-nums;
}

.axis-label--bottom {
  font-size: 10px;
}

/* Responsive */

@media (max-width: 1220px) {
  .landing-hero,
  .landing-secondary,
  .review-header,
  .review-panel-head {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .review-header-actions {
    justify-content: flex-start;
  }

  .review-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-card-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: min(1440px, calc(100vw - 28px));
  }

  .landing-header,
  .landing-nav,
  .replay-header,
  .replay-header-copy,
  .replay-header-actions {
    align-items: flex-start;
  }

  .landing-header,
  .replay-header {
    flex-direction: column;
  }

  .landing-hero {
    gap: 34px;
  }

  .flow-grid,
  .replay-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stat-list {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    display: flex;
  }

  .replay-controls {
    padding: 12px 18px;
  }

  .review-metric-grid,
  .review-breakdown-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100vw - 20px);
  }

  .landing-page,
  .review-page {
    padding-top: 18px;
  }

  .landing-header {
    padding: 16px 6px 14px;
  }

  .landing-nav,
  .hero-actions,
  .review-header-actions {
    width: 100%;
  }

  .landing-nav > *,
  .hero-actions > *,
  .review-header-actions > *,
  .replay-header-actions > * {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-title,
  .review-title,
  .secondary-title {
    max-width: none;
  }

  .hero-body {
    max-width: none;
  }

  .hero-stat-list {
    gap: 16px;
  }

  .preview-summary,
  .replay-summary,
  .preview-toolbar,
  .replay-toolbar,
  .preview-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .replay-canvas {
    grid-template-rows: auto auto minmax(320px, 1fr) 148px auto;
  }

  .trade-table-head,
  .trade-table-row {
    grid-template-columns: 1.2fr repeat(5, minmax(54px, 1fr));
    font-size: 13px;
  }
}
