@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  color-scheme: dark;
  --bg: #101b19;
  --panel: #182522;
  --line: #304039;
  --muted: #a5b2a8;
  --text: #f0f1e8;
  --lime: #d8fa76;
  --red: #ffa092;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
button {
  transition:
    background 0.18s,
    transform 0.18s;
}
button:hover {
  filter: brightness(1.1);
}
header {
  height: 96px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 5%;
  gap: 20px;
}
.logo {
  font:
    800 23px "Manrope",
    sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-dot {
  font-size: 11px;
  align-self: flex-start;
  margin: 6px 0 0 -8px;
}
.brandmark {
  display: inline-flex;
  gap: 3px;
  height: 25px;
  align-items: flex-end;
}
.brandmark i {
  width: 6px;
  background: var(--lime);
  height: 12px;
}
.brandmark i:nth-child(2) {
  height: 18px;
}
.brandmark i:nth-child(3) {
  height: 25px;
}
.header-right {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}
.icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 11px;
}
.landing {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8%;
  padding: 76px 5% 65px;
  max-width: 1600px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.tiny-line {
  display: inline-block;
  width: 23px;
  height: 2px;
  background: var(--lime);
  vertical-align: middle;
  margin-right: 10px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    500 clamp(65px, 7vw, 106px) / 1.02 "Manrope",
    sans-serif;
  letter-spacing: -6px;
  margin: 28px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--lime);
}
.intro {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 460px;
}
.hero-tags {
  display: flex;
  gap: 20px;
  margin: 24px 0 30px;
  font-size: 11px;
  color: #d1dbcb;
}
.hero-tags span:before {
  content: "↗";
  color: var(--lime);
  margin-right: 7px;
}
.entry {
  max-width: 470px;
}
.entry label,
.autopilot label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 2.4;
}
input,
select {
  display: block;
  background: #1d2a26;
  border: 1px solid #3a4940;
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--text);
  width: 100%;
  min-width: 0;
}
input::placeholder {
  color: #819188;
}
.form-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 10px;
}
.form-row label {
  flex: 1;
}
.primary {
  background: var(--lime);
  border: 0;
  border-radius: 7px;
  color: #1b2b1a;
  font-weight: 700;
  padding: 15px 20px;
  white-space: nowrap;
}
.primary span {
  margin-left: 20px;
}
.secondary {
  border: 1px solid #526249;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  padding: 13px 20px;
}
.join-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.join-row input {
  flex: 1;
  width: 100px;
  letter-spacing: 2px;
}
.small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 14px;
}
.hero-art {
  align-self: center;
  position: relative;
  min-height: 540px;
  border: 1px solid #3a4c38;
  border-radius: 170px 170px 12px 12px;
  background: radial-gradient(ellipse at 60% 65%, #43503350, transparent 75%);
  padding: 36px;
  overflow: hidden;
}
.art-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  position: relative;
  margin-top: 70px;
}
.art-label span {
  font-size: 25px;
  color: var(--lime);
  margin-top: -9px;
}
.growth-columns {
  height: 255px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-top: 24px;
  padding: 0 15px;
  border-bottom: 1px solid #5b6b47;
  position: relative;
}
.growth-columns > div {
  height: var(--h);
  background: linear-gradient(
    105deg,
    var(--c),
    color-mix(in srgb, var(--c) 65%, #263021)
  );
  flex: 1;
  position: relative;
  border-radius: 3px 3px 0 0;
  box-shadow: 8px -6px 0 #d8fa7610;
}
.growth-columns span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  color: #182522;
}
.orbit {
  position: absolute;
  border: 1px solid #6a805825;
  border-radius: 50%;
  width: 480px;
  height: 480px;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
}
.orbit-two {
  width: 340px;
  height: 340px;
  top: 95px;
}
.bot-card {
  position: relative;
  background: #e4e9d9;
  color: #233121;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 9px;
  margin-top: -4px;
  box-shadow: 0 12px 40px #0003;
  transform: rotate(-3deg);
}
.bot-face {
  font-size: 23px;
  text-align: center;
  line-height: 0.65;
  background: #ced6c0;
  padding: 15px 10px;
  border-radius: 10px;
}
.bot-card .eyebrow {
  color: #556347;
  font-size: 8px;
}
.bot-card h3 {
  font-size: 22px;
  margin: 4px 0;
}
.bot-card p {
  font-size: 11px;
  margin: 0;
}
.bot-star {
  margin-left: auto;
  font-size: 40px;
  color: #688443;
}
.art-foot {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 26px;
}
.principles {
  border-top: 1px solid var(--line);
  margin: 0 5%;
  padding: 30px 0 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7%;
}
.principles article > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--lime);
}
.principles h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 15px 0 10px;
}
.principles p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 12px;
  max-width: 330px;
}
footer {
  border-top: 1px solid var(--line);
  margin: 0 5%;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: var(--muted);
}
footer span {
  letter-spacing: 1px;
}
.lobby {
  max-width: 1050px;
  padding: 65px 30px;
  margin: auto;
}
.lobby h1 {
  font-size: 70px;
}
.room-code {
  font:
    600 36px "Manrope",
    sans-serif;
  letter-spacing: 7px;
  background: var(--panel);
  color: var(--lime);
  padding: 18px 24px;
  border: 1px dashed #738153;
  border-radius: 8px;
  margin: 15px 0 30px;
}
.room-code small {
  font:
    9px "DM Sans",
    sans-serif;
  letter-spacing: 1px;
  display: block;
  margin-top: 10px;
  text-align: left;
  color: var(--muted);
}
.lobby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.section-title {
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-title > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0;
}
.player-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #34443b;
  display: grid;
  place-items: center;
}
.lime {
  background: var(--lime);
  color: var(--bg);
}
.player-row > .muted {
  margin-left: auto;
  font-size: 10px;
}
.muted {
  color: var(--muted);
}
.briefing h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 16px;
}
.briefing p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rule-chips span {
  padding: 5px 8px;
  background: #28382d;
  border-radius: 4px;
  font-size: 10px;
  color: var(--lime);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.checkbox input {
  width: 16px;
  accent-color: var(--lime);
}
.big {
  padding: 18px 35px;
}
.waiting {
  margin-top: 25px;
  color: var(--lime);
}
.dashboard {
  max-width: 1600px;
  margin: auto;
  padding: 35px 5% 50px;
}
.game-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.game-title h2 {
  font:
    500 32px "Manrope",
    sans-serif;
  letter-spacing: -1px;
  margin: 10px 0 20px;
}
.clock {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 7px;
}
.clock strong {
  font:
    600 22px "Manrope",
    sans-serif;
}
.clock span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}
.clock button {
  align-self: flex-end;
}
.timeline {
  height: 3px;
  background: #2d3a31;
  border-radius: 3px;
  margin: 5px 0 28px;
}
.timeline i {
  display: block;
  height: 100%;
  background: var(--lime);
  transition: width 0.5s;
}
.stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin-bottom: 30px;
}
.stats article {
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.stats article:first-child {
  padding-left: 0;
}
.stats article:last-child {
  border: 0;
}
.stats span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: block;
}
.stats strong {
  font:
    500 clamp(25px, 3vw, 42px) "Manrope",
    sans-serif;
  letter-spacing: -1px;
  display: block;
  margin: 9px 0;
}
.stats small {
  font-size: 10px;
  color: var(--muted);
}
.positive {
  color: var(--lime) !important;
}
.negative {
  color: var(--red) !important;
}
.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 25px;
}
.tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin-bottom: 20px;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 12px 0;
  font-size: 13px;
}
.tabs button.active {
  color: var(--text);
  border-color: var(--lime);
}
.tabs > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.asset-card {
  text-align: left;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  background: var(--panel);
  overflow: hidden;
}
.asset-card.selected {
  border-color: var(--asset);
  background: #243125;
}
.asset-card > div:first-child {
  display: flex;
  justify-content: space-between;
}
.ticker {
  font-size: 9px;
  letter-spacing: 1px;
  background: #ffffff0a;
  padding: 4px 6px;
  border-radius: 3px;
  color: var(--asset);
}
.asset-arrow {
  color: var(--asset);
}
.asset-card h3 {
  font-size: 14px;
  margin: 14px 0 5px;
  font-weight: 500;
}
.asset-card p {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 15px;
}
.asset-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.asset-bottom strong {
  font-weight: 500;
  font-size: 17px;
}
.asset-bottom > span {
  font-size: 10px;
}
.chart {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}
.asset-card .chart {
  height: 35px;
  margin-top: 10px;
}
.investment-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.investment-head h2 {
  font:
    500 27px "Manrope",
    sans-serif;
  letter-spacing: -1px;
  margin: 8px 0 20px;
}
.investment-head > div:last-child > strong {
  display: block;
  text-align: right;
  font-size: 24px;
  font-weight: 500;
}
.investment-head > div:last-child > span:not(.eyebrow) {
  font-size: 10px;
  display: block;
  margin-top: 6px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 12px;
}
.asset-description {
  color: var(--muted);
  line-height: 1.6;
  font-size: 12px;
  margin: 22px 0;
}
.trade-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
}
.segmented button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 4px;
}
.segmented .active {
  background: #3a4932;
  color: var(--lime);
}
.amount-label {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  background: #1d2a26;
  border: 1px solid #3a4940;
  border-radius: 7px;
  padding-left: 12px;
}
.amount-label input {
  border: 0;
  width: 100%;
  padding-left: 8px;
}
.trade-form .primary {
  font-size: 12px;
  padding: 14px;
}
.dispatch {
  display: flex;
  gap: 20px;
  padding: 25px 0;
}
.dispatch-icon {
  color: var(--lime);
  font-size: 35px;
}
.dispatch h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 10px 0;
}
.dispatch p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
aside > .panel {
  margin-bottom: 18px;
  padding: 20px;
}
.ranking {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.rank {
  font-size: 10px;
  color: var(--muted);
}
.ranking strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.ranking small {
  color: var(--lime);
  font-size: 7px;
}
.ranking div > span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 5px;
}
.ranking b {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
}
.ranking.you .rank {
  color: var(--lime);
}
.bot-note {
  display: flex;
  gap: 12px;
  color: var(--lime);
  font-size: 20px;
  padding-top: 18px;
}
.bot-note span {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.autopilot h3,
.playbook h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 12px 0;
}
.autopilot p,
.playbook p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.autopilot label {
  margin-bottom: 9px;
}
.autopilot select {
  padding: 10px;
}
.full {
  width: 100%;
  font-size: 12px;
  margin-top: 7px;
}
.plan-status {
  font-size: 10px;
  color: var(--lime);
  margin-top: 12px;
}
.playbook button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  margin-top: 8px;
  text-align: left;
  color: var(--text);
  width: 100%;
}
.playbook button strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.playbook button span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.holdings {
  margin-top: 25px;
}
.holdings > div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.holdings strong {
  font-weight: 400;
  flex: 1;
}
.holdings > div > span:last-child {
  width: 50px;
  text-align: right;
  color: var(--muted);
}
.activity {
  margin-top: 20px;
}
.activity p {
  font-size: 12px;
  margin: 18px 0 0;
}
.activity small {
  color: var(--muted);
  margin-right: 12px;
}
.finale {
  padding: 35px;
  margin-bottom: 30px;
  border: 1px solid #72804d;
  background: linear-gradient(110deg, #34432b, #182522);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.finale h1 {
  font-size: 40px;
  letter-spacing: -2px;
  margin: 18px 0;
}
.finale p {
  font-size: 13px;
  line-height: 1.7;
}
.finale .small {
  font-size: 10px;
  max-width: 600px;
}
.dna-stats {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}
.dna-stats span {
  font-size: 10px;
  color: var(--muted);
}
.dna-stats b {
  display: block;
  font-size: 25px;
  color: var(--lime);
  margin-bottom: 5px;
}
.pause-banner {
  padding: 12px;
  background: #39412a;
  color: var(--lime);
  margin-bottom: 20px;
  border-radius: 6px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--lime);
  color: #17241d;
  border-radius: 8px;
  padding: 15px 24px;
  box-shadow: 0 10px 40px #0005;
  transition: 0.2s;
  z-index: 10;
  max-width: 90vw;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .landing {
    gap: 10%;
  }
  .hero-art {
    min-height: 600px;
  }
  .growth-columns {
    height: 310px;
  }
}
@media (max-width: 1050px) {
  .game-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 15px;
  }
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-art {
    padding: 25px;
    min-height: 480px;
  }
  .growth-columns {
    height: 220px;
    gap: 10px;
  }
  .hero-tags {
    gap: 12px;
    font-size: 10px;
  }
  .landing {
    gap: 5%;
  }
  .header-right {
    font-size: 8px;
  }
  .panel {
    padding: 18px;
  }
}
@media (max-width: 760px) {
  header {
    height: 75px;
  }
  .logo {
    font-size: 19px;
  }
  .header-right > span:not(.live-dot) {
    display: none;
  }
  .header-right {
    gap: 6px;
  }
  .landing {
    display: block;
    padding-top: 42px;
  }
  .hero-copy h1 {
    font-size: 80px;
  }
  .hero-art {
    margin-top: 50px;
    min-height: 450px;
    max-width: 500px;
  }
  .hero-art .art-label {
    margin-top: 40px;
  }
  .growth-columns {
    height: 220px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .principles article {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .principles p {
    max-width: none;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .asset-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .asset-card {
    padding: 12px;
  }
  .asset-card h3 {
    font-size: 12px;
  }
  .asset-card p {
    font-size: 8px;
  }
  .stats article {
    padding: 0 12px;
  }
  .stats strong {
    font-size: 26px;
  }
  .stats small {
    font-size: 8px;
    line-height: 1.6;
    display: block;
  }
  .stats span {
    font-size: 8px;
  }
  .game-title h2 {
    font-size: 25px;
  }
  .clock strong {
    font-size: 17px;
  }
  .clock span {
    font-size: 7px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .lobby {
    padding: 40px 5%;
  }
  .lobby h1 {
    font-size: 60px;
    letter-spacing: -4px;
  }
  .lobby-grid {
    grid-template-columns: 1fr;
  }
  .finale {
    display: block;
    padding: 24px;
  }
  .finale h1 {
    font-size: 32px;
  }
  .finale > .primary {
    margin-top: 15px;
  }
  footer {
    font-size: 8px;
    flex-wrap: wrap;
  }
  .tabs > span {
    font-size: 7px;
  }
  .intro {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    flex-wrap: wrap;
  }
  .form-row .primary {
    width: 100%;
  }
  .form-row label {
    flex-basis: 100%;
  }
  .hero-tags {
    flex-wrap: wrap;
  }
  .hero-copy h1 {
    font-size: 70px;
  }
  .stats strong {
    font-size: 21px;
  }
  .stats article {
    padding: 0 9px;
  }
  .stats span {
    letter-spacing: 0.5px;
  }
  .trade-form .primary {
    flex: 1;
  }
  .logo {
    font-size: 17px;
  }
  .header-right .icon-btn {
    font-size: 9px;
    padding: 6px;
  }
  .dna-stats {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Shared market moments and stable mobile order ticket. */
.invite-qr {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 28px;
  max-width: 440px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.invite-qr img {
  background: white;
  padding: 5px;
  border-radius: 10px;
}
.moment {
  border: 1px solid #5e7043;
  border-radius: 12px;
  padding: 24px;
  margin: 0 0 26px;
  background: #243220;
  scroll-margin-top: 20px;
}
.moment[hidden] {
  display: none;
}
.moment h2 {
  font:
    500 28px "Manrope",
    sans-serif;
  margin: 12px 0;
}
.moment p {
  color: #c2cbb9;
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0;
}
.moment-clock {
  float: right;
  font-size: 20px;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.moment.crisis {
  background: #302523;
  border-color: #bc7864;
}
.crisis .eyebrow {
  color: #ffb9a4;
}
.crash-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.crash-options button {
  padding: 20px;
  background: #17231e;
  color: var(--text);
  border: 1px solid #667151;
  border-radius: 8px;
  text-align: left;
}
.crash-options strong,
.crash-options span {
  display: block;
}
.crash-options span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}
.crash-options .chosen {
  border: 2px solid var(--lime);
  opacity: 1;
}
.reactions {
  display: flex;
  gap: 12px;
}
.reactions button {
  background: #13201a;
  color: white;
  border: 1px solid #516146;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 18px;
}
.annual-allocations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.annual-allocations > div {
  border-bottom: 1px solid #506043;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.annual-allocations span {
  font-size: 11px;
  color: var(--muted);
}
.recap {
  padding: 12px 20px;
}
.recap p {
  font-size: 11px;
}
.funding-hint {
  color: var(--lime) !important;
}
.mobile-asset {
  display: none;
}
@media (max-width: 760px) {
  .dashboard {
    padding-bottom: 180px;
  }
  .trade-form {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    background: #16241ff5;
    backdrop-filter: blur(15px);
    border-top: 1px solid #778a50;
    padding: 10px 15px max(12px, env(safe-area-inset-bottom));
    gap: 7px;
    box-shadow: 0 -8px 25px #0005;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
  }
  .mobile-asset {
    display: flex;
    grid-column: 1/-1;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 10px;
  }
  .mobile-asset select {
    flex: 1;
    padding: 7px 10px;
  }
  .trade-form .segmented {
    grid-column: 1;
    justify-content: center;
  }
  .trade-form .amount-label {
    grid-column: 2;
  }
  .trade-form #max {
    grid-column: 3;
  }
  .trade-form .primary {
    grid-column: 1/-1;
    padding: 10px;
  }
  .trade-form input {
    padding: 9px 5px;
  }
  .segmented button {
    padding: 7px 13px;
  }
  .asset-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
  }
  .asset-card {
    min-width: 145px;
    scroll-snap-align: start;
  }
  .asset-card .chart {
    height: 24px;
  }
  .moment {
    padding: 18px;
  }
  .moment h2 {
    font-size: 22px;
  }
  .crash-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .crash-options button {
    padding: 12px;
  }
  .crash-options span {
    margin-top: 4px;
  }
  .annual-allocations {
    grid-template-columns: repeat(2, 1fr);
  }
  .moment.opening .primary {
    white-space: normal;
    width: 100%;
  }
  .intro {
    max-width: 100%;
  }
}

.market-area {
  min-width: 0;
}
