:root {
  color-scheme: light;
  --canvas: oklch(97.7% 0.006 110);
  --surface: oklch(99.5% 0.003 110);
  --surface-raised: oklch(100% 0.002 110);
  --ink: oklch(20% 0.018 145);
  --ink-soft: oklch(45% 0.018 145);
  --ink-faint: oklch(60% 0.014 145);
  --line: oklch(89% 0.012 120);
  --green: oklch(61% 0.16 145);
  --green-dark: oklch(43% 0.12 145);
  --green-soft: oklch(94% 0.035 145);
  --amber: oklch(69% 0.13 78);
  --amber-soft: oklch(95% 0.035 78);
  --red: oklch(56% 0.18 27);
  --red-soft: oklch(95% 0.035 27);
  --blue: oklch(58% 0.12 245);
  --blue-soft: oklch(95% 0.025 245);
  --shadow: 0 12px 32px oklch(25% 0.02 145 / 0.07);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid oklch(72% 0.13 145 / 0.35);
  outline-offset: 2px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: oklch(97.7% 0.006 110 / 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.78rem;
}

.market-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.market-state.is-live .state-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.market-state.is-error .state-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

main {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 54px 0 120px;
}

.hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0 34px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: 2.75rem;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: 1.42rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.primary-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0 21px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease;
}

.primary-button:hover {
  background: oklch(27% 0.02 145);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.primary-button.is-loading .button-icon {
  animation: spin 850ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.plan-strip {
  display: grid;
  grid-template-columns: 160px 230px 1fr;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.allocation-visual {
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.allocation-core {
  width: 75%;
  background: var(--green);
}

.allocation-tactical {
  width: 25%;
  background: var(--amber);
}

.allocation-copy {
  display: flex;
  gap: 24px;
}

.allocation-copy div {
  display: grid;
  gap: 2px;
}

.allocation-copy strong {
  font-size: 1.1rem;
}

.allocation-copy span,
.plan-strip > p {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.plan-strip > p {
  margin: 0;
  line-height: 1.45;
}

.control-row {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 20px 2px 10px;
}

.control-row label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.69rem;
  font-weight: 700;
}

.control-row select,
.money-input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.control-row select {
  min-width: 122px;
  padding: 0 35px 0 12px;
}

.money-input {
  display: flex;
  align-items: center;
  min-width: 140px;
  padding-left: 12px;
}

.money-input > span {
  color: var(--ink-faint);
}

.money-input input {
  width: 100px;
  border: 0;
  outline: 0;
  padding: 0 10px 0 4px;
  background: transparent;
  color: var(--ink);
}

.scan-status {
  margin: 0 0 12px auto;
  color: var(--ink-faint);
  font-size: 0.72rem;
}

.action-section,
.core-section,
.growth-section,
.universe-section,
.method-section {
  padding-top: 58px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading .eyebrow {
  margin-bottom: 7px;
}

.count-pill,
.quiet-label {
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.count-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--surface);
  font-weight: 700;
}

.action-feed {
  display: grid;
  gap: 12px;
}

.trade-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.trade-summary {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(330px, 1.8fr) auto;
  align-items: center;
  gap: 26px;
  padding: 22px 24px;
}

.trade-identity {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.ticker-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.trade-card.is-sell .ticker-avatar {
  background: var(--red-soft);
  color: var(--red);
}

.trade-card.is-hold .ticker-avatar {
  background: var(--blue-soft);
  color: var(--blue);
}

.trade-identity h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.action-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.action-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.is-sell .action-label {
  color: var(--red);
}

.is-hold .action-label {
  color: var(--blue);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.price-block {
  display: grid;
  min-height: 66px;
  align-content: center;
  gap: 5px;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--canvas);
}

.price-block span {
  color: var(--ink-faint);
  font-size: 0.65rem;
  font-weight: 700;
}

.price-block strong {
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.price-block.stop strong {
  color: var(--red);
}

.price-block.target strong {
  color: var(--green-dark);
}

.trade-amount {
  min-width: 100px;
  text-align: right;
}

.trade-amount span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-size: 0.65rem;
  font-weight: 700;
}

.trade-amount strong {
  font-size: 1.1rem;
}

.trade-details {
  border-top: 1px solid var(--line);
}

.trade-details summary {
  padding: 12px 24px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.trade-details summary::-webkit-details-marker {
  display: none;
}

.trade-details summary::after {
  content: "+";
  float: right;
  color: var(--ink-faint);
  font-size: 1rem;
}

.trade-details[open] summary::after {
  content: "−";
}

.trade-details p {
  max-width: 72ch;
  margin: 0;
  padding: 0 24px 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.core-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.core-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 18px;
  padding: 18px 22px;
}

.core-row + .core-row {
  border-left: 1px solid var(--line);
}

.core-name {
  display: flex;
  align-items: center;
  gap: 11px;
}

.core-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 850;
}

.core-name strong,
.core-name span {
  display: block;
}

.core-name span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.core-amount {
  text-align: right;
}

.core-amount strong,
.core-amount span {
  display: block;
}

.core-amount span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 0.67rem;
}

.growth-sub {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.growth-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.growth-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.growth-controls label {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.growth-controls input[type="range"] {
  flex: 1;
  max-width: 340px;
  accent-color: var(--green);
}

.growth-controls output {
  min-width: 68px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.growth-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.growth-chart .grid-line {
  stroke: var(--line);
  stroke-width: 1;
}

.growth-chart .axis-label {
  fill: var(--ink-faint);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.growth-chart .line {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.line-plan {
  stroke: var(--ink);
  stroke-width: 3;
}

.line-core {
  stroke: var(--green);
  stroke-width: 2;
}

.line-sleeve {
  stroke: var(--amber);
  stroke-width: 2;
}

.line-benchmark {
  stroke: var(--ink-faint);
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
}

.growth-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin-top: 16px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.legend-row strong {
  margin-left: auto;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.legend-swatch {
  flex: 0 0 auto;
  width: 16px;
  height: 4px;
  border-radius: 2px;
}

.swatch-plan { background: var(--ink); }
.swatch-core { background: var(--green); }
.swatch-sleeve { background: var(--amber); }

.swatch-benchmark {
  height: 0;
  border-top: 2px dashed var(--ink-faint);
  background: transparent;
}

.alpha-callout {
  margin: 18px 0 0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
  line-height: 1.55;
}

.growth-footnote {
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 0.68rem;
  line-height: 1.5;
}

.notes-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms ease;
}

.notes-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.notes-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.92rem;
}

.notes-card span:not(.notes-arrow) {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.notes-arrow {
  flex: 0 0 auto;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 1rem;
}

.method-notes-link {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.method-notes-link a {
  color: var(--green-dark);
  font-weight: 700;
}

.universe-heading {
  align-items: end;
}

.universe-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.search-field {
  display: flex;
  align-items: center;
  width: min(280px, 100%);
  min-height: 42px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--ink-faint);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.universe-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: -3px 0 12px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.universe-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-buy { background: var(--green); }
.legend-qualified { background: var(--amber); }
.legend-watch { background: var(--ink-faint); }

.universe-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.universe-row + .universe-row {
  border-top: 1px solid var(--line);
}

.universe-row summary {
  display: grid;
  grid-template-columns: 44px minmax(110px, 1fr) minmax(150px, 1.4fr) 86px 92px;
  align-items: center;
  min-height: 64px;
  gap: 12px;
  padding: 8px 18px;
  cursor: pointer;
  list-style: none;
}

.universe-row summary::-webkit-details-marker {
  display: none;
}

.rank {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.universe-ticker strong,
.universe-ticker span {
  display: block;
}

.universe-ticker strong {
  font-size: 0.84rem;
}

.universe-ticker span {
  margin-top: 3px;
  overflow: hidden;
  color: var(--ink-faint);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  justify-self: start;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--canvas);
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 750;
}

.status-badge.buy {
  background: var(--green-soft);
  color: var(--green-dark);
}

.status-badge.qualified {
  background: var(--amber-soft);
  color: oklch(48% 0.1 70);
}

.universe-score,
.universe-price {
  text-align: right;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.universe-score span {
  color: var(--ink-faint);
}

.universe-detail {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 14px;
  padding: 4px 18px 18px 74px;
}

.universe-explanation {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.mini-level {
  display: grid;
  gap: 3px;
}

.mini-level span {
  color: var(--ink-faint);
  font-size: 0.62rem;
}

.mini-level strong {
  font-size: 0.78rem;
}

.method-section {
  max-width: 760px;
}

.method-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.method-list > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.method-list > div > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.65rem;
  font-weight: 800;
}

.method-list p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.method-list strong {
  color: var(--ink);
}

.disclaimer {
  margin: 24px 0 0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: var(--amber-soft);
  color: oklch(39% 0.045 75);
  font-size: 0.72rem;
  line-height: 1.55;
}

.bottom-nav {
  display: none;
}

.skeleton {
  overflow: hidden;
  position: relative;
  background: oklch(92% 0.009 110);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, oklch(98% 0.003 110 / 0.8), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.action-skeleton {
  height: 132px;
  border-radius: var(--radius-lg);
}

.core-skeleton {
  height: 88px;
}

.universe-skeleton {
  height: 64px;
  border-bottom: 1px solid var(--line);
}

.error-state {
  border: 1px solid oklch(85% 0.05 27);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--red-soft);
}

.error-state p {
  margin: 6px 0 16px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.error-state button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  cursor: pointer;
}

.empty-state {
  padding: 28px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 58px;
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  main {
    width: min(100% - 28px, 1040px);
    padding: 30px 0 104px;
  }

  .hero {
    display: grid;
    gap: 22px;
    padding: 8px 0 26px;
  }

  h1 {
    max-width: 340px;
    font-size: 2.15rem;
  }

  .hero-copy {
    font-size: 0.9rem;
  }

  .primary-button {
    width: 100%;
  }

  .plan-strip {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px;
  }

  .allocation-copy {
    justify-content: space-between;
  }

  .control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .control-row select,
  .money-input {
    width: 100%;
  }

  .scan-status {
    grid-column: 1 / -1;
    margin: 3px 0 0;
  }

  .action-section,
  .core-section,
  .growth-section,
  .universe-section,
  .method-section {
    padding-top: 44px;
  }

  .growth-panel {
    padding: 16px;
  }

  .growth-controls {
    flex-wrap: wrap;
  }

  .growth-legend {
    grid-template-columns: 1fr;
  }

  .trade-summary {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px;
  }

  .price-grid {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .trade-amount {
    min-width: auto;
  }

  .trade-details summary {
    padding: 12px 18px;
  }

  .trade-details p {
    padding: 0 18px 17px;
  }

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

  .core-row + .core-row {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .quiet-label {
    display: none;
  }

  .universe-heading {
    display: grid;
    align-items: start;
  }

  .search-field {
    width: 100%;
  }

  .universe-row summary {
    grid-template-columns: 32px minmax(88px, 1fr) 88px 70px;
    gap: 8px;
    padding: 8px 12px;
  }

  .universe-price {
    display: none;
  }

  .status-badge {
    padding: 5px 7px;
    font-size: 0.61rem;
    text-align: center;
  }

  .universe-detail {
    grid-template-columns: repeat(3, 1fr);
    padding: 4px 12px 16px 52px;
  }

  .universe-explanation {
    grid-column: 1 / -1;
  }

  .bottom-nav {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 60px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 5px;
    background: oklch(99% 0.003 110 / 0.95);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .bottom-nav a {
    display: grid;
    place-items: center;
    gap: 1px;
    border-radius: 13px;
    color: var(--ink-soft);
    font-size: 0.65rem;
    font-weight: 720;
    text-decoration: none;
  }

  .bottom-nav a span {
    font-size: 0.9rem;
  }

  .bottom-nav a.active {
    background: var(--green-soft);
    color: var(--green-dark);
  }
}

@media (max-width: 390px) {
  .price-block {
    min-height: 60px;
    padding: 9px;
  }

  .price-block strong {
    font-size: 0.88rem;
  }

  .universe-legend {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
