/* TANKED: night aquarium. Abyss navy, coral for actions, sand for money, aqua for live.
   Square corners, real borders, hard shadows with no blur. --u is one UI pixel. */

:root {
  --ink: #050b13;
  --deep: #07121d;
  --bg: #0a1826;
  --panel: #0e2133;
  --panel-2: #12293f;
  --well: #081521;
  --line: #1d3d57;
  --line-hi: #2c5a7c;
  --text: #e6f3f7;
  --muted: #8eb0c1;
  --dim: #5d7d8f;
  --coral: #ff6f59;
  --coral-hi: #ff9a88;
  --coral-lo: #c4432f;
  --aqua: #58e6c9;
  --azure: #5aa2ff;
  --azure-hi: #8cc0ff;
  --azure-lo: #2f6fc4;
  --green: #6fbf73;
  --red: #e5534b;
  --sand: #f0cf8e;
  --plastic: #d3e0e6;
  --plastic-lo: #9db3be;
  --lcd: #a9dcbf;
  --lcd-ink: #10301f;
  --common: #9aa7b0;
  --uncommon: #6fbf73;
  --rare: #5aa2ff;
  --epic: #b57cff;
  --legendary: #f2b04a;
  --u: 4px;
  --display: 'Pixelify Sans', 'Courier New', monospace;
  --label: 'Silkscreen', 'Courier New', monospace;
  --body: 'VT323', 'Courier New', monospace;
  /* Buttons and every number: bold Pixelify draws 5 like an S ("50K" read "SOK"), Silkscreen bold doesn't (2026-10-30). */
  --num: 'Silkscreen', 'Courier New', monospace;
  --wrap: 1200px;
  --ease-out: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 22px/1.25 var(--body);
  -webkit-font-smoothing: none;
  overflow-x: hidden;
}
img, canvas { image-rendering: pixelated; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: var(--u) solid var(--aqua); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--coral); color: var(--ink); padding: 8px 12px; font-family: var(--label); }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(44px, 7vw, 92px); text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 54px); text-transform: uppercase; }
h3 { font-size: 26px; }
p { margin: 0; }
.lbl { font: 400 14px/1 var(--label); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 400 16px/1 var(--label); text-transform: uppercase; color: var(--coral); }
.kicker::before { content: ''; width: 8px; height: 8px; background: currentColor; }
.num { font-family: var(--num); font-weight: 700; font-variant-numeric: tabular-nums; }
.gain { color: var(--aqua); }
.loss { color: var(--red); }
.muted { color: var(--muted); }

/* ---------- buttons: one construction, tones only where colour means something ---------- */
.btn {
  --tone: var(--coral); --tone-hi: var(--coral-hi); --tone-lo: var(--coral-lo); --on: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px var(--u);
  font: 700 17px/1 var(--num); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; text-shadow: none;
  color: var(--on); background: var(--tone);
  border: var(--u) solid var(--ink);
  box-shadow: inset 0 calc(var(--u) * -2) 0 var(--tone-lo), inset 0 var(--u) 0 var(--tone-hi);
  cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none;
  transition: transform .08s ease-out, filter .12s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(var(--u)); box-shadow: inset 0 calc(var(--u) * -1) 0 var(--tone-lo), inset 0 var(--u) 0 var(--tone-hi); }
.btn.link { --tone: var(--azure); --tone-hi: var(--azure-hi); --tone-lo: var(--azure-lo); }
.btn.go { --tone: var(--green); --tone-hi: #9ad89d; --tone-lo: #3f8a44; }
.btn.lose { --tone: var(--red); --tone-hi: #f08a84; --tone-lo: #9e2f29; --on: var(--text); }
.btn.ghost { --tone: var(--panel-2); --tone-hi: var(--line-hi); --tone-lo: var(--ink); --on: var(--text); }
.btn.sm { min-height: 44px; padding: 0 14px var(--u); font-size: 14px; }
.btn[disabled], .btn.is-off { filter: grayscale(.7) brightness(.65); pointer-events: none; }
/* Not live yet (Buy before launch): full contrast, just not pressable. */
.btn.is-soon { pointer-events: none; cursor: default; }
.btn .ext { font-family: var(--label); font-size: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.eq > .btn { flex: 1 1 0; }
.textlink { font: 400 15px/1 var(--label); text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 2px solid var(--line-hi); padding-bottom: 4px; }
.textlink:hover { color: var(--text); border-color: var(--coral); }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--deep); border-bottom: var(--u) solid var(--ink); box-shadow: 0 2px 0 var(--line); }
.bar-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { font: 700 30px/1 var(--display); letter-spacing: .04em; }
.brand b i { font-style: normal; color: var(--coral); }
.nav { display: flex; gap: 6px; margin-right: auto; }
.nav a { font: 400 15px/1 var(--label); text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 10px 10px 12px; border-bottom: var(--u) solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--coral); }
.bar .icon-btn { width: 52px; min-height: 52px; padding: 0 0 var(--u); }
.bar .icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
#connect.is-on { --tone: var(--panel-2); --tone-hi: var(--line-hi); --tone-lo: var(--ink); --on: var(--aqua); }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .bar-in { gap: 12px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--deep); border-bottom: var(--u) solid var(--ink); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 2px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--coral); }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .brand b { font-size: 24px; }
  .brand img { width: 32px; height: 32px; }
  .bar .x-btn { display: none; }
  #connect { padding: 0 12px var(--u); font-size: 15px; }
}

/* ---------- panels, wells, tiles, chips ---------- */
.panel { background: var(--panel); border: 2px solid var(--line); box-shadow: var(--u) var(--u) 0 var(--ink); }
.well { background: var(--well); border: 2px solid var(--ink); box-shadow: inset 0 var(--u) 0 rgba(0, 0, 0, .35); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 18px 20px 20px; border-right: 2px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.tile:last-child { border-right: 0; }
.tile .v { font: 700 26px/1 var(--num); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.tile .v small { font: 400 14px/1 var(--label); color: var(--muted); margin-left: 6px; text-transform: uppercase; }
@media (max-width: 860px) {
  .tiles, .tiles.four { grid-template-columns: repeat(2, 1fr); }
  .tile { border-bottom: 2px solid var(--line); }
  .tile:nth-child(2n) { border-right: 0; }
  .tiles > .tile:last-child:nth-child(odd) { grid-column: span 2; }
  .tile .v { font-size: 22px; }
}
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 6px; font: 400 13px/1 var(--label); text-transform: uppercase; border: 2px solid currentColor; white-space: nowrap; }
.chip.live { color: var(--aqua); }
.chip.live::before { content: ''; width: 6px; height: 6px; background: currentColor; animation: blink 3.2s steps(1) infinite; }
.chip.soon { color: var(--sand); }
.tier-common { color: var(--common); }
.tier-uncommon { color: var(--uncommon); }
.tier-rare { color: var(--rare); }
.tier-epic { color: var(--epic); }
.tier-legendary { color: var(--legendary); }
.price { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--sand); padding: 6px 10px 7px; font: 700 17px/1 var(--num); white-space: nowrap; }
.price::before { content: ''; width: 10px; height: 10px; background: var(--sand); box-shadow: inset -2px -2px 0 #b8924a; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }

/* ---------- sections ---------- */
.section { padding: 96px 0 0; }
.section-head { display: grid; gap: 16px; margin-bottom: 36px; }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; }
.section-head p { color: var(--muted); max-width: 640px; }
.page-head { padding: 64px 0 32px; display: grid; gap: 16px; }
.page-head p { color: var(--muted); max-width: 680px; }
@media (max-width: 700px) {
  .section { padding-top: 72px; }
  .section-head.split { grid-template-columns: 1fr; }
}

/* ---------- hero: the tank ---------- */
.hero { position: relative; overflow: hidden; background: #0b1a28; border-bottom: var(--u) solid var(--ink); min-height: min(820px, calc(100svh - 72px)); display: grid; }
.hero .scene { position: absolute; left: 0; top: 0; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; padding: 72px 0 96px; }
.hero-copy { display: grid; gap: 24px; justify-items: start; text-shadow: 0 var(--u) 0 var(--ink); }
.hero-copy h1 em { font-style: normal; color: var(--coral); }
/* A dark plate under the paragraph, so fish and bubbles passing behind it can't break up the words. */
.hero-copy .lede { font-size: 25px; max-width: 580px; color: #e6f3f7; background: rgba(5, 11, 19, 0.78); padding: 12px 16px 14px; border-left: var(--u) solid var(--coral); text-shadow: none; }
.hero-copy .down { text-shadow: none; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 36px; }
}

/* The feeder: the automatic fish feeder clipped to the tank. It carries the feeding clock. */
.feeder { position: relative; color: var(--lcd-ink); background: var(--plastic); border: var(--u) solid var(--ink); box-shadow: calc(var(--u) * 2) calc(var(--u) * 2) 0 var(--ink), inset 0 calc(var(--u) * -2) 0 var(--plastic-lo), inset var(--u) var(--u) 0 #f2f7f9; padding: 16px 16px 20px; margin-top: 44px; }
.feeder::before { /* the hopper */
  content: ''; position: absolute; left: 50%; top: -44px; width: 120px; height: 44px; transform: translateX(-50%);
  background:
    linear-gradient(var(--sand), var(--sand)) 18px 14px / 8px 8px no-repeat,
    linear-gradient(#e2a35c, #e2a35c) 38px 22px / 8px 8px no-repeat,
    linear-gradient(var(--sand), var(--sand)) 62px 16px / 8px 8px no-repeat,
    linear-gradient(#e2a35c, #e2a35c) 84px 24px / 8px 8px no-repeat,
    rgba(200, 230, 240, .35);
  border: var(--u) solid var(--ink); border-bottom: 0;
}
.feeder-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.feeder-top .lbl { color: #3d5562; }
.feeder .chip.live { color: #0f7a52; }
.feeder .chip.soon { color: #8a5a12; }
.lcd { background: var(--lcd); border: var(--u) solid var(--ink); box-shadow: inset 0 var(--u) 0 #7fb798; padding: 14px 14px 12px; display: grid; gap: 12px; }
.lcd .time { font: 700 60px/1 var(--num); text-align: center; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.pips { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.pips i { height: 10px; background: rgba(16, 48, 31, .18); }
.pips i.on { background: var(--lcd-ink); }
.feeder-foot { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border: 2px solid var(--plastic-lo); }
.feeder-foot div { padding: 10px 10px 12px; display: grid; gap: 8px; border-right: 2px solid var(--plastic-lo); }
.feeder-foot div:last-child { border-right: 0; }
.feeder-foot .lbl { color: #4d6673; font-size: 12px; }
.feeder-foot b { font: 700 16px/1 var(--num); white-space: nowrap; }
.feeder.flat { margin-top: 0; }
.feeder.flat::before { display: none; }

/* ---------- stats strip ---------- */
.strip { margin-top: -48px; position: relative; z-index: 2; }

/* ---------- feeding history ---------- */
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tabs { display: flex; gap: 0; border: 2px solid var(--ink); }
.tabs button { background: var(--panel-2); border: 0; border-right: 2px solid var(--ink); padding: 9px 14px 11px; font: 400 14px/1 var(--label); color: var(--muted); cursor: pointer; }
.tabs button:last-child { border-right: 0; }
.tabs button[aria-pressed="true"] { background: var(--coral); color: var(--ink); }
.chart { position: relative; margin: 20px; height: 240px; display: flex; align-items: flex-end; gap: 3px; padding: 12px; }
.chart i { flex: 1 1 0; background: var(--aqua); box-shadow: inset 0 var(--u) 0 #b4f5e6; min-width: 2px; }
.chart i.zero { background: var(--line); box-shadow: none; height: 2px !important; }
.chart .empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 16px; }
.chart .empty b { font: 600 26px/1 var(--display); }
.chart .empty span { color: var(--muted); }
.chart-foot { border-top: 2px solid var(--line); }

/* ---------- tank cards ---------- */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { display: grid; gap: 12px; padding: 14px 14px 16px; align-content: start; }
.card .art { display: grid; place-items: center; background: var(--well); border: 2px solid var(--ink); padding: 10px 0; min-height: 128px; }
.card h3 { font-size: 22px; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--line); padding-top: 10px; }
.card .facts div { display: grid; gap: 6px; }
.card .facts b { font: 700 17px/1 var(--num); }
.card .facts .lbl { font-size: 12px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .cards, .cards.three { grid-template-columns: repeat(2, 1fr); gap: 10px; } .card h3 { font-size: 19px; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 24px; display: grid; gap: 14px; align-content: start; }
.step .n { font: 700 40px/1 var(--num); color: var(--coral); }
.step h3 { text-transform: uppercase; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.cta-band { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- lists ---------- */
.list { display: grid; }
.list .li { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 2px solid var(--line); }
.list .li:last-child { border-bottom: 0; }
.list .li.head { padding-top: 12px; padding-bottom: 12px; }
.list .li b { font: 700 17px/1 var(--num); }
.list .txs { display: flex; gap: 10px; flex-wrap: wrap; }
.list .txs a { font: 400 13px/1 var(--label); color: var(--azure); text-decoration: none; border-bottom: 2px solid var(--azure-lo); padding-bottom: 3px; }
@media (max-width: 760px) {
  .list .li { grid-template-columns: 1fr 1fr; }
  .list .li.head { display: none; }
}
.empty-box { padding: 56px 24px; display: grid; place-items: center; text-align: center; gap: 16px; }
.empty-box b { font: 600 28px/1 var(--display); text-transform: uppercase; }
.empty-box p { color: var(--muted); max-width: 460px; }

/* ---------- stats page ---------- */
.odds { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.odd { padding: 18px 20px; display: grid; gap: 14px; }
.odd-top { display: flex; align-items: center; gap: 14px; }
.odd-top .pic { width: 64px; height: 52px; display: grid; place-items: center; background: var(--well); border: 2px solid var(--ink); }
.odd-top h3 { flex: 1; }
.bars { display: grid; gap: 8px; }
.bars div { display: grid; grid-template-columns: 56px 1fr 56px; gap: 10px; align-items: center; }
.bars .track { height: 14px; background: var(--well); border: 2px solid var(--ink); }
.bars .fill { height: 100%; background: currentColor; }
.bars .lbl { font-size: 12px; }
.bars b { font: 700 15px/1 var(--num); text-align: right; }
.table-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; min-width: 760px; }
.spec th { text-align: left; font: 400 13px/1 var(--label); text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.spec td { padding: 12px 16px; border-bottom: 2px solid var(--line); font-size: 22px; white-space: nowrap; }
.spec td.n { font: 700 16px/1 var(--num); }
.spec tr:last-child td { border-bottom: 0; }
.spec tfoot td { background: var(--panel-2); }
.spec .who { display: flex; align-items: center; gap: 12px; }
.note { color: var(--dim); margin-top: 16px; font-size: 20px; }

/* ---------- feedings ---------- */
.feed-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; margin-bottom: 32px; }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.tiles.two .tile { padding: 28px 24px; }
.tiles.two .tile:nth-child(2n) { border-right: 0; }
.tiles.two .tile:nth-child(-n + 2) { border-bottom: 2px solid var(--line); }
.tiles.two .tile .v { font-size: 34px; }
@media (max-width: 860px) { .feed-top { grid-template-columns: 1fr; } .tiles.two .tile .v { font-size: 24px; } }
.list .li.c4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .list .li.c4 { grid-template-columns: 1fr 1fr; } }

/* ---------- my tanks ---------- */
.toolbar { margin: 24px 0; }
.section-head .section-head { margin: 0; }
.card p.muted { font-size: 20px; }
.spec .who canvas { flex: none; }
.find { display: flex; gap: 12px; padding: 18px 20px; flex-wrap: wrap; }
.find input { flex: 1 1 320px; min-height: 52px; background: var(--well); color: var(--text); border: 2px solid var(--ink); padding: 0 14px; font: 20px var(--body); }
.find input:focus { outline: var(--u) solid var(--aqua); outline-offset: 0; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-bottom: 24px; }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; padding: 16px; }
.toc a { font: 400 14px/1.2 var(--label); text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 8px 4px; display: flex; gap: 10px; }
.toc a span { color: var(--coral); }
.toc a:hover { color: var(--text); }
.doc { display: grid; gap: 56px; }
.doc section { display: grid; gap: 16px; scroll-margin-top: 96px; }
.doc section > .lbl { color: var(--coral); }
.doc p { color: #cfe3ea; max-width: 760px; }
.doc ul { margin: 0; padding-left: 22px; color: #cfe3ea; display: grid; gap: 8px; max-width: 760px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; }
.facts-grid div { padding: 14px 16px; display: grid; gap: 8px; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.facts-grid b { font: 600 20px/1.1 var(--display); word-break: break-all; }
.formula { padding: 20px; font: 600 24px/1.3 var(--display); color: var(--sand); }
.faq { display: grid; gap: 0; }
.faq details { border-bottom: 2px solid var(--line); padding: 16px 20px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font: 600 20px/1.2 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--coral); }
.faq details[open] summary::after { content: '-'; }
.faq details p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- footer ---------- */
.foot { margin-top: 112px; border-top: var(--u) solid var(--ink); box-shadow: 0 -2px 0 var(--line); background: var(--deep); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 36px 0; }
.ca { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ca code { font: 20px var(--body); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca code.pending { color: var(--sand); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.foot-links a { font: 400 14px/1 var(--label); text-transform: uppercase; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-fine { border-top: 2px solid var(--line); padding: 16px 0 24px; color: var(--dim); font-size: 18px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; } .foot-links { justify-content: flex-start; } }

/* ---------- modal board ---------- */
.veil { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.veil.in { opacity: 1; }
.board { width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--panel); border: var(--u) solid var(--ink); box-shadow: inset 0 0 0 2px var(--line-hi), calc(var(--u) * 2) calc(var(--u) * 2) 0 var(--ink); padding: 28px 24px 24px; display: grid; gap: 18px; justify-items: center; text-align: center; transform: translateY(-36px); opacity: 0; }
.veil.in .board { animation: drop .7s var(--ease-out) forwards; }
@keyframes drop {
  0% { transform: translateY(-36px); opacity: 0; }
  55% { transform: translateY(6px); opacity: 1; }
  78% { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.board h3 { font-size: 30px; text-transform: uppercase; }
.board p { color: var(--muted); max-width: 360px; }
.board .row { justify-content: center; width: 100%; }
.board .row.eq > .btn { flex: 1 1 0; }
.board .art { background: var(--well); border: 2px solid var(--ink); padding: 12px 18px; display: grid; place-items: center; }
.shelf { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.shelf div { padding: 12px 10px 14px; display: grid; gap: 8px; justify-items: center; border-right: 2px solid var(--ink); }
.shelf div:last-child { border-right: 0; }
.shelf b { font: 700 19px/1 var(--num); white-space: nowrap; }
.shelf b.long { font-size: 15px; }
.notice { width: 100%; padding: 10px 12px 12px; background: var(--ink); color: var(--sand); font: 400 14px/1.3 var(--label); text-transform: uppercase; }
.notice.bad { color: var(--red); }
.stepper { width: 100%; display: grid; gap: 8px; }
.stepper div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--well); border: 2px solid var(--ink); text-align: left; }
.stepper div b { font: 600 19px/1 var(--display); flex: 1; }
.stepper .st { width: 28px; display: grid; place-items: center; font: 700 18px/1 var(--display); }
.stepper .done .st { color: var(--aqua); }
.stepper .wait { opacity: .45; }
.reveal { display: grid; gap: 14px; justify-items: center; }
.reveal .tile-rise { animation: rise .38s var(--ease-out) both; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; background: currentColor; opacity: .2; animation: dot 1.2s steps(1) infinite; }
.dots i:nth-child(2) { animation-delay: .4s; }
.dots i:nth-child(3) { animation-delay: .8s; }
@keyframes dot { 0%, 33% { opacity: 1; } 34%, 100% { opacity: .2; } }
.wait-box { display: grid; gap: 14px; justify-items: center; padding: 18px 0; color: var(--aqua); }
.addr { font: 20px var(--body); color: var(--text); word-break: break-all; background: var(--well); border: 2px solid var(--ink); padding: 10px 12px; width: 100%; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: var(--text); border: 2px solid var(--line-hi); padding: 12px 16px; font: 400 14px/1.3 var(--label); text-transform: uppercase; transition: transform .3s var(--ease-out), opacity .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.in { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; gap: 20px; padding: 64px 0; }
