:root {
  --ink: #111110;
  --body: #3d3a36;
  --muted: #6f6b64;
  --paper: #ffffff;
  --soft: #f8f7f5;
  --soft2: #f0efed;
  --border: #e6e5e3;
  --orange: #f7931a;
  --orange-ink: #b26400;
  --orange-soft: #fbf6ef;
  --orange-line: #f0e2c8;
  --lime: #d8f532;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --max: 1040px;
  --shadow: 0 12px 32px rgba(17, 17, 16, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: light; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange-ink);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.serif { font-family: Georgia, "Times New Roman", serif; }

#topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand span { letter-spacing: -0.01em; }

.logo {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 6px;
  display: block;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

nav.links a.top {
  color: var(--body);
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
nav.links a.top:hover { color: var(--ink); text-decoration: none; }
nav.links a.top.on {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--orange);
}

.modebadge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}
.modebadge.wait {
  background: #fff3e0;
  color: #b45309;
  border: 1px solid #f0c987;
}

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  background: var(--soft2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-mark {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  display: block;
  margin: 28px auto 0;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6.4vw, 66px);
  line-height: 1.08;
  margin: 22px 0 14px;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 auto 32px;
  max-width: 34rem;
}
.hero h2 b { color: var(--ink); font-weight: 700; }

.pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 32px;
}
.pills span {
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--body);
}

.ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  min-height: 44px;
  font-family: inherit;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
}
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #111; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { color: var(--ink); background: var(--paper); }
.btn.ghost:hover { background: var(--soft); }
.btn:disabled, .btn.dead {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

section.block { padding: 24px 0 72px; }

h3.sec {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 30px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}

p.sub {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
}

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  background: var(--paper);
}
.card.soft { background: var(--soft); }
.card h4 { font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.card p { font-size: 15px; color: var(--body); line-height: 1.55; }
.card .k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--r-md);
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  color: var(--orange-ink);
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sans { font-family: Menlo, Consolas, monospace; font-size: 0.92em; }

.banner {
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.banner.warn {
  background: #fdf7e3;
  border: 1px solid #e8d9a0;
  color: #6b5a1e;
}
.banner.warn strong { color: #3f3512; }

.band {
  background: var(--lime);
  padding: 44px 24px;
  text-align: center;
  margin-top: auto;
}
.band p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.6vw, 25px);
  color: #111;
}
.bandclose {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  font-weight: 700;
  color: #111;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted);
  background: var(--paper);
}
footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
}
footer a { font-weight: 600; }

.preview-banner {
  background: #3b1408;
  color: #f6e6d4;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.7rem 1rem;
}

.floor { padding: 40px 0 72px; }
.floor-head { margin-bottom: 28px; }
.floor-head h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.floor-head p { color: var(--muted); font-size: 16px; max-width: 36rem; }

.desk {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cell {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.cell .lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.cell .v {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cell .h { font-size: 14px; color: var(--body); margin-top: 10px; line-height: 1.5; }

.split {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0 0 16px;
}
.split div { background: var(--soft); padding: 16px 14px; }
.split b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.split span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.buy-card { margin-top: 0; }
.buy-card .btn { width: 100%; margin-top: 16px; text-align: center; }

.miss { padding: 96px 0 80px; text-align: center; }
.miss h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.miss p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }

.wbtn {
  margin-left: 6px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
}
.wbtn:hover { background: var(--soft); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { left: 8px; top: 8px; }

.home, .shop-body { background: #fff6ec; }
.home::before, .shop-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/logo.png") 12px 12px / 168px auto repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.home > *, .shop-body > * { position: relative; z-index: 1; }
.shop { padding: 28px 0 72px; }

.hero-field {
  background: var(--orange);
  margin: 0 0 8px;
}
.hero-field .hero { padding: 56px 0 52px; }
.hero-field .eyebrow {
  background: rgba(17, 17, 16, 0.08);
  border-color: transparent;
  color: #3d2a10;
}
.hero-field .hero-mark {
  width: 128px;
  height: 128px;
  border-radius: 22px;
  box-shadow: 0 0 0 3px rgba(17, 17, 16, 0.12);
}
.hero-field h1 { color: #111; }
.hero-field .triad {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 6px 0 18px;
  color: #111;
}
.hero-field .triad b { font-weight: 700; }
.hero-field h2 { color: #3d2a10; }
.hero-field h2 b { color: #111; }
.hero-field .pills span {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(17, 17, 16, 0.08);
  color: #111;
}
.hero-field .btn.ghost { background: #fff; border-color: transparent; }

.stake {
  display: block;
  margin: 0 0 22px;
  padding: 22px 24px 20px;
  border-radius: var(--r-xl);
  background: var(--orange);
  color: #111;
}
.stake-head .desk-kicker { color: #6a3d08; }
.stake-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.stake-lead { margin: 0 0 16px; font-size: 14.5px; line-height: 1.45; color: #3d2a10; }
.stake-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 14px; }
.stake-cell {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(17, 17, 16, 0.08);
  border-radius: var(--r-lg);
  padding: 16px 16px 14px;
}
.stake-cell.earn {
  position: relative;
  overflow: hidden;
  background: #161410;
  color: #f3efe7;
  border-color: #161410;
}
.stake-cell.earn .lab { color: #9a9388; }
.stake-cell.earn .stake-note { color: #9a9388; }
.stake-cell.earn.hot { box-shadow: inset 0 0 0 1px rgba(134, 245, 154, 0.2); }
.stake-cell .lab {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a3d08;
  margin-bottom: 6px;
}
.stake-labrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.stake-labrow .lab { margin-bottom: 0; }
.stake-amt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 0 0 8px;
}
.stake-amt.flash { animation: stake-flash 0.7s ease; }
.stake-amt.tick {
  color: #86f59a;
  font-size: clamp(28px, 4.4vw, 40px);
  letter-spacing: -0.04em;
}
.stake-amt.tick .unit {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7a9a7e;
  margin-left: 6px;
}
.tick-wrap { position: relative; }
.tick-delta {
  position: absolute;
  right: 0;
  top: -6px;
  font-size: 13px;
  font-weight: 700;
  color: #86f59a;
  opacity: 0;
  pointer-events: none;
}
.tick-delta.pop { animation: delta-pop 0.85s ease forwards; }
.tape-line {
  min-height: 1.35em;
  margin: 0 0 10px;
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
  color: #c8c2b6;
}
.tick-spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin: 0 0 10px;
}
.tick-spark i {
  flex: 1;
  min-width: 0;
  background: #86f59a;
  opacity: 0.35;
  border-radius: 1px 1px 0 0;
  height: 8%;
}
.tick-spark i.on { opacity: 0.95; }
.stake-meta {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c8c2b6;
}
.stake-note { margin: 0; font-size: 13px; line-height: 1.45; color: #3d2a10; }
.stake .desk-msg { color: #3d2a10; }
.btn.dark {
  background: #111;
  border-color: #111;
  color: #fff;
  margin-top: 14px;
}
.btn.dark:hover { filter: none; background: #2a2a28; }
.btn.cash {
  background: var(--orange);
  border-color: var(--orange);
  color: #111;
  margin: 4px 0 10px;
}
.btn.cash:hover { filter: brightness(1.05); }
.accrue[hidden] { display: none !important; }
.accrue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef8e4;
  color: #3b6b14;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.accrue::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b6b14;
}
@media (prefers-reduced-motion: no-preference) {
  .accrue::before { animation: accrue-pulse 1.4s ease-in-out infinite; }
}
@keyframes accrue-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes stake-flash {
  0% { color: #1f5a10; }
  100% { color: #111; }
}
@keyframes delta-pop {
  0% { opacity: 1; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .tick-delta.pop { animation: none; opacity: 0; }
}

.shop-nav { width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.clock-board {
  background: #161410;
  color: #f3efe7;
  border-radius: var(--r-xl);
  padding: 22px 22px 20px;
  margin: 0 0 22px;
}
.clock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.clock-board .desk-kicker { color: #ffc46b; }
.clock-board h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0 0;
  color: #fff;
}
.clock-formula {
  margin: 0;
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
  color: #8a8074;
}
.blk-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.hm-blk {
  flex: 0 0 128px;
  min-height: 124px;
  border-radius: var(--r-md);
  padding: 12px;
  background: linear-gradient(165deg, #2a2318, #17140f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  scroll-snap-align: start;
  color: #d9cfc0;
}
.hm-blk .blk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hm-blk .h { font-weight: 700; font-size: 14px; color: #ffc46b; }
.hm-blk .tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8074;
}
.hm-blk .dim { color: #8a8074; font-size: 11px; }
.hm-blk .addr {
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #ffc46b;
  letter-spacing: -0.02em;
}
.hm-blk.now {
  flex: 0 0 176px;
  background: linear-gradient(165deg, #3d2a12, #24180c);
  box-shadow: inset 0 0 0 1px rgba(247, 147, 26, 0.28);
}
.hm-blk.now .tag { color: #ffd9a3; }
.hm-blk.now .h { color: #ffd9a3; }
.hm-blk.now .big {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hm-blk.now .addr { color: #ffe9c9; }
.hm-blk.now .addr.you { color: #86f59a; }
.hm-blk .bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 4px;
}
.hm-blk .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), #ffb347);
}
.last-hand {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}
.last-hand.hot {
  background: linear-gradient(180deg, rgba(247, 147, 26, 0.08), transparent 70%);
  margin: 0 -8px;
  padding: 16px 8px 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.last-hand-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.last-hand .lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9388;
}
.last-hand-addrrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.last-hand-addr {
  margin: 0;
  font-family: Menlo, Consolas, monospace;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: #ffd9a3;
  letter-spacing: -0.02em;
  word-break: break-all;
}
.last-hand-addr.you { color: #86f59a; }
.last-hand-addr.snipe { animation: hand-snipe 0.7s ease; }
.last-hand-addr.you.snipe { animation: hand-snipe-you 0.7s ease; }
.last-hand-exact {
  margin: 0 0 10px;
  font-family: Menlo, Consolas, monospace;
  font-size: 12px;
  color: #8a8074;
  word-break: break-all;
}
.last-hand-amt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 8px;
  color: #fff;
}
.last-hand-amt .unit { font-size: 14px; color: #9a9388; margin-left: 8px; }
.last-hand-dim { margin: 0; font-size: 14px; color: #9a9388; line-height: 1.5; }
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffd9a3;
  font: 700 11px/1 inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.chip:hover { background: rgba(255, 255, 255, 0.1); }
@keyframes hand-snipe {
  0% { color: #fff; }
  100% { color: #ffd9a3; }
}
@keyframes hand-snipe-you {
  0% { color: #fff; }
  100% { color: #86f59a; }
}

.round-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 24px;
  row-gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.round-strip h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0 0;
}
.round-meta {
  display: flex;
  gap: 22px;
  text-align: right;
}
.round-meta .lab {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.round-meta b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.round-meta .mono { font-variant-numeric: tabular-nums; }

.clock-track {
  grid-column: 1 / -1;
  height: 4px;
  background: #eceae6;
  border-radius: 99px;
  overflow: hidden;
}
.clock-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  border-radius: inherit;
}
@media (prefers-reduced-motion: no-preference) {
  .clock-track i { transition: width 0.25s linear; }
}

.desk-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin: 0 0 6px;
}
.desk-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.desk-lead { font-size: 14.5px; color: var(--body); line-height: 1.55; margin: 0 0 16px; }
.desk-lead.tight { margin-bottom: 0; max-width: 36rem; }

.shop-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  margin-bottom: 16px;
}

.desk-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  background: var(--paper);
}
.buy-desk { background: var(--soft); }

.fld {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.fld-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--body);
}

.eth-in {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px 12px;
}
.eth-in input {
  flex: 1;
  border: 0;
  background: transparent;
  font: 700 22px/1.4 Georgia, "Times New Roman", serif;
  color: var(--ink);
  min-width: 0;
  padding: 8px 0;
  font-variant-numeric: tabular-nums;
}
.eth-in input:focus { outline: none; }
.eth-in:focus-within { border-color: var(--orange); }
.eth-in .u { color: var(--muted); font-weight: 700; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.presets button {
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
  font: 600 13px/1 inherit;
  color: var(--ink);
  cursor: pointer;
}
.presets button:hover { border-color: var(--orange); color: var(--orange-ink); }
.presets button.on {
  background: var(--orange-soft);
  border-color: var(--orange);
  color: var(--orange-ink);
}

.quote-hero {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px 16px;
  margin: 0 0 14px;
}
.quote-hero > .lab,
.quote-meta .lab {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.quote-amt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 0 0 12px;
}
.quote-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.quote-meta b { font-size: 15px; }

.gate {
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  max-width: 16rem;
}
.gate[data-kind="ignite"],
.gate[data-kind="extend"] {
  background: #eef8e4;
  color: #3b6b14;
}
.gate[data-kind="buy"] {
  background: var(--soft2);
  color: var(--body);
}
.gate[data-kind="need"],
.gate[data-kind="bad"] {
  background: #fdf3e3;
  color: #8a4b00;
}

.buy-split { margin: 0 0 16px; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.slim { margin-top: 12px; padding: 8px 12px; min-height: 40px; font-size: 13px; width: 100%; }
.desk-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.iface-line {
  margin: 8px 0 0;
  font-family: Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: #9a958c;
}

.vault {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 24px;
  background: #161410;
  color: #f3efe7;
}
.vault > * { position: relative; z-index: 1; }
.vault::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  background: radial-gradient(circle, rgba(247,147,26,0.2), transparent 68%);
  pointer-events: none;
}
.vault-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.vault .lab { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9388; }
.vault-amt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 10px;
}
.vault-amt .unit { font-size: 15px; color: #9a9388; margin-left: 8px; }
.vault-dim { font-size: 14px; color: #9a9388; line-height: 1.5; margin: 0 0 18px; }
.vault-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.vault-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9a9388; margin-bottom: 4px; }
.vault-facts dd { font-size: 13px; font-weight: 600; word-break: break-all; }

.gh-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.gh-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gh-status.off { background: rgba(255,255,255,.06); color: #9a9388; border: 1px solid rgba(255,255,255,.08); }
.gh-status.ready { background: rgba(80,180,110,.12); color: #b8f0c8; border: 1px solid rgba(120,220,150,.22); }

.rail-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 8px;
}
.split.rail { margin: 0 0 28px; }

.bay, .machine { margin: 0 0 28px; }
.bay-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 16px; }
.bay-grid, .machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.machine-grid { grid-template-columns: repeat(3, 1fr); }
.bay-grid.pair { grid-template-columns: 1fr 1fr; }
.keeper-row { display: flex; gap: 8px; margin-top: 8px; }
.keeper-row .btn { margin-top: 0; }

.workshop {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 14px 18px;
  align-items: end;
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  background: var(--soft);
  font-size: 13px;
  color: var(--muted);
}
.workshop-copy .lab {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 4px;
}
.workshop-copy p { margin: 0; line-height: 1.45; }
.workshop-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.workshop-ctrl span {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.workshop-ctrl input { flex: 1; accent-color: var(--orange); min-width: 140px; }
.workshop-ctrl b { color: var(--ink); min-width: 4ch; text-align: right; }
.workshop-price { margin: 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
body.is-live .workshop { display: none; }
body.locked { overflow: hidden; }

.mmask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
}
.mmask[hidden] { display: none; }
.mbox {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  max-width: 430px;
  width: 100%;
  padding: 28px;
}
.mbox h3 { margin: 0 0 10px; font-size: 18px; }
.mbox p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--body); }

@media (max-width: 860px) {
  .shop-desk, .bay-grid, .machine-grid, .stake, .stake-grid { grid-template-columns: 1fr 1fr; }
  .clock-head { flex-direction: column; align-items: flex-start; }
  .round-strip { grid-template-columns: 1fr; }
  .round-meta { text-align: left; flex-wrap: wrap; }
  .bay-head { flex-direction: column; align-items: flex-start; }
  .nav { height: auto; min-height: 64px; flex-wrap: wrap; padding: 8px 0; }
  .workshop { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .grid.c2, .grid.c3, .desk, .shop-desk, .machine-grid, .stake, .stake-grid { grid-template-columns: 1fr; }
  .split, .bay-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 40px; }
  nav.links a.top { padding: 8px 10px; }
  .shop-bar .modebadge { display: none; }
  .shop-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 2px;
    padding: 10px 0 8px;
  }
  .shop-nav .brand { grid-column: 1; }
  .shop-nav .wbtn { grid-column: 2; grid-row: 1; margin-left: 0; }
  .shop-nav .links {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
    justify-content: flex-start;
  }
  .quote-meta { flex-direction: column; align-items: flex-start; }
  .gate { text-align: left; max-width: none; }
  .vault-facts { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 420px) {
  .bay-grid, .vault-facts { grid-template-columns: 1fr 1fr; }
  .split b { font-size: 18px; }
}
