/* PETRI — warm ink, agar amber, glass panels. Geist for the interface, Instrument Serif italic for the accents. */
:root {
  --bg: #0c0b09; --surface: #131210; --surface-2: #191815; --surface-3: #201e1a;
  --text: #f4f1ea; --text-2: rgba(244,241,234,.7); --muted: rgba(244,241,234,.5); --subtle: rgba(244,241,234,.34); --placeholder: rgba(244,241,234,.38);
  --line: rgba(255,255,255,.08); --line-soft: rgba(255,255,255,.06); --line-strong: rgba(255,255,255,.18);
  --agar: #f5a524; --agar-2: #ffc873; --agar-3: #c97d0c; --agar-grad: linear-gradient(135deg, #ffe3a8 0%, #f5a524 48%, #c97d0c 100%);
  --agar-bg: rgba(245,165,36,.12); --agar-line: rgba(245,165,36,.4);
  --up: #5bd68c; --up-bg: rgba(91,214,140,.12); --down: #ff6b6b; --down-bg: rgba(255,107,107,.12); --gold: #e9c46a; --gold-bg: rgba(233,196,106,.12);
  --glass: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  --sans: Geist, "Geist Variable", -apple-system, "Segoe UI", Inter, sans-serif; --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif; --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-card: 0 20px 50px -24px rgba(0,0,0,.9);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(900px 520px at 50% -140px, rgba(245,165,36,.15), rgba(245,165,36,0) 70%); }
#shell { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100dvh; }
::selection { background: rgba(245,165,36,.3); }
a { color: inherit; } button { font-family: inherit; font-size: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; } input, textarea { font-family: inherit; color: inherit; } img { display: block; }
svg { display: block; }
.pos { color: var(--up) !important; } .neg { color: var(--down) !important; } .mut { color: var(--muted) !important; }
.mono { font-family: var(--mono); }
.page { flex: 1; max-width: 1240px; width: 100%; margin: 0 auto; padding: 24px 24px 20px; display: flex; flex-direction: column; min-height: 100%; }
.page-body { display: flex; flex-direction: column; flex: 1; gap: 18px; }
.narrow { max-width: 820px; margin: 0 auto; width: 100%; }

/* ── header: floating glass bar ── */
.hd { position: sticky; top: 0; z-index: 50; padding: 14px 16px 6px; }
.hd::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(180deg, rgba(12,11,9,.92), rgba(12,11,9,0)); pointer-events: none; z-index: -1; }
.hd-in { max-width: 1208px; margin: 0 auto; height: 58px; padding: 0 10px 0 16px; display: flex; align-items: center; gap: 14px; background: rgba(19,18,16,.78); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -30px rgba(0,0,0,.8); }
.wordmark { font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: #fff; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; line-height: 1; }
.wordmark svg { width: 26px; height: 26px; filter: drop-shadow(0 4px 10px rgba(245,165,36,.35)); }
.nav { display: flex; gap: 2px; margin-left: 4px; }
.nav a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-2); text-decoration: none; transition: color .12s, background .12s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); } .nav a.on { color: #fff; background: rgba(255,255,255,.07); }
.hd-search { position: relative; flex: 1 1 0; min-width: 0; max-width: 300px; margin-left: auto; }
.hd-search .box { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 10px; }
.hd-search .box svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.hd-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 13.5px; } .hd-search input::placeholder { color: var(--subtle); }
.hd-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, color .12s, transform .12s; }
.btn svg { width: 15px; height: 15px; }
.btn-create { background: #fff; color: #0c0b09; box-shadow: 0 6px 20px -10px rgba(255,255,255,.4); } .btn-create:hover { transform: translateY(-1px); }
.btn-wallet { background: rgba(255,255,255,.04); color: #fff; border: 1px solid var(--line); } .btn-wallet:hover { background: rgba(255,255,255,.08); }
.btn-wallet.on { font-family: var(--mono); font-size: 12.5px; border-color: var(--agar-line); } .btn-wallet.busy { opacity: .6; pointer-events: none; }
.search-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.search-list .row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; } .search-list .row:hover { background: rgba(255,255,255,.07); }
.search-list img, .search-list .av { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; font-size: 9px; }
.search-list .nm { font-size: 14px; font-weight: 700; } .search-list .dn { font-size: 13px; color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .search-list .rt { font-size: 12px; color: var(--muted); font-family: var(--mono); white-space: nowrap; }

/* ── primitives ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--agar-2); font-weight: 600; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--agar); }
.h1 { font-weight: 600; font-size: 72px; line-height: .98; letter-spacing: -.045em; margin: 18px 0 22px; color: #fff; }
em.acc, .h1 em, .h2 em, .sec-hd h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--agar-2); }
.sub { font-size: 16.5px; line-height: 1.62; color: var(--text-2); max-width: 540px; margin: 0 0 30px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.pill.w { background: #fff; color: #0c0b09; box-shadow: 0 12px 30px -14px rgba(255,255,255,.45); } .pill.w:hover { transform: translateY(-1px); }
.pill.a { background: var(--agar-grad); color: #1a1000; box-shadow: 0 12px 34px -12px rgba(245,165,36,.7), inset 0 1px 0 rgba(255,255,255,.4); } .pill.a:hover { transform: translateY(-1px); }
.pill.d { background: rgba(255,255,255,.04); color: #fff; border: 1px solid var(--line); } .pill.d:hover { background: rgba(255,255,255,.08); }
.pill.sm { height: 38px; font-size: 13px; padding: 0 16px; } .pill.xs { height: 32px; font-size: 12px; padding: 0 12px; }
.pill:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.pill svg { width: 16px; height: 16px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.glass { background: var(--glass), var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); }
.panel { border-radius: 20px; padding: 20px; margin-top: 14px; }
.empty { padding: 26px 16px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line); border-radius: 16px; }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 7px; font-size: 11px; font-weight: 700; border: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-family: var(--mono); letter-spacing: .02em; white-space: nowrap; }
.badge.grad { border-color: var(--agar-line); color: var(--agar-2); background: var(--agar-bg); }
.badge.dead { border-color: rgba(255,107,107,.4); color: var(--down); background: var(--down-bg); }
.badge.wait { border-color: rgba(233,196,106,.4); color: var(--gold); background: var(--gold-bg); }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--up); box-shadow: 0 0 0 3px rgba(91,214,140,.16); display: inline-block; flex: none; }
.dot.dead { background: var(--down); box-shadow: 0 0 0 3px rgba(255,107,107,.16); } .dot.egg { background: var(--gold); box-shadow: 0 0 0 3px rgba(233,196,106,.16); }
.dot.live { animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91,214,140,.5); } 100% { box-shadow: 0 0 0 9px rgba(91,214,140,0); } }
.av { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--agar-2); background: linear-gradient(135deg, #201e1a, #131210); border: 1px solid var(--line); flex: none; overflow: hidden; }
.sect { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; font-family: var(--mono); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 14px; }
.stat-grid div { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.stat-grid span { display: block; font-size: 10.5px; margin: 0 0 3px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.stat-grid b { display: block; font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wallet-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wallet-row code { font-family: var(--mono); font-size: 12.5px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--agar-2); word-break: break-all; }
.persona { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--text-2); border-left: 2px solid var(--agar); padding-left: 12px; font-family: var(--serif); font-style: italic; }
.addr { font-family: var(--mono); font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; } .addr a { color: var(--agar-2); text-decoration: none; display: inline-flex; } .addr svg { width: 12px; height: 12px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── hero ── */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 48px; align-items: center; padding: 64px 0 40px; }
.hero-copy { position: relative; z-index: 1; }
.hero-art { position: relative; min-height: 600px; }
.dish { position: absolute; width: min(640px, 112%); aspect-ratio: 1; right: -8%; top: 50%; transform: translateY(-50%); pointer-events: none; z-index: 0; animation: float 9s ease-in-out infinite; }
.dish canvas, .dish svg { width: 100%; height: 100%; display: block; }
@keyframes float { 0%, 100% { transform: translateY(-50%) rotate(0deg); } 50% { transform: translateY(calc(-50% + 14px)) rotate(-1.5deg); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.stats > div { padding: 16px 18px 0 0; border-right: 1px solid var(--line); margin-right: 18px; } .stats > div:last-child { border-right: 0; margin-right: 0; }
.stats b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stats span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; }

/* ── how strip ── */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 10px; }
.how > div { position: relative; border-radius: 20px; padding: 22px; overflow: hidden; }
.how > div::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 60%; height: 100%; background: radial-gradient(closest-side, rgba(245,165,36,.12), rgba(245,165,36,0)); pointer-events: none; }
.how .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--agar-bg); border: 1px solid rgba(245,165,36,.28); display: flex; align-items: center; justify-content: center; margin-bottom: 40px; }
.how .ic svg { width: 24px; height: 24px; color: var(--agar-2); }
.how .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); position: absolute; top: 24px; right: 22px; }
.how b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; margin-bottom: 6px; }
.how p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* ── board ── */
.bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 46px 0 16px; }
.bar h2 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; margin: 0 6px 0 0; }
.tabs { display: inline-flex; gap: 2px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.tabs button { height: 32px; padding: 0 13px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); } .tabs button.on { background: rgba(255,255,255,.09); color: #fff; }
.search { margin-left: auto; height: 38px; width: 260px; border-radius: 10px; padding: 0 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); color: #fff; font-size: 13.5px; outline: 0; } .search::placeholder { color: var(--subtle); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.card { display: block; border-radius: 20px; padding: 16px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.card:hover { border-color: rgba(245,165,36,.35); transform: translateY(-2px); box-shadow: 0 30px 60px -36px rgba(245,165,36,.4); }
.card-top { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.card-top img, .card-top .av { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; font-size: 15px; }
.card-top .nm { min-width: 0; } .card-top .nm b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; } .card-top .nm span { display: block; font-size: 12px; color: var(--muted); font-family: var(--mono); margin-top: 2px; }
.card-top .fdv { text-align: right; } .card-top .fdv b { display: block; font-size: 17px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; } .card-top .fdv span { font-size: 11px; font-family: var(--mono); font-weight: 600; }
.spark { margin: 14px 0 0; height: 44px; width: 100%; display: block; }
.spark path.l { fill: none; stroke: var(--up); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; } .spark path.f { fill: url(#sparkUp); }
.spark.down path.l { stroke: var(--down); } .spark.down path.f { fill: url(#sparkDown); }
.spark.flat path.l { stroke: var(--muted); stroke-dasharray: 3 3; } .spark.flat path.f { fill: none; }
.card-meta { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); margin: 10px 0 0; font-family: var(--mono); letter-spacing: .02em; } .card-meta span b { color: var(--text-2); font-weight: 600; }
.card-agent { margin-top: 12px; padding: 10px 12px; border-radius: 13px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.card-agent .st { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #fff; } .card-agent .st span { color: var(--muted); font-weight: 500; font-family: var(--mono); font-size: 11px; margin-left: auto; }
.card-agent .say { color: var(--text-2); margin-top: 6px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: 15.5px; }
.prog { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 11px; color: var(--muted); font-family: var(--mono); letter-spacing: .02em; }
.prog .track { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; } .prog .track i { display: block; height: 100%; background: var(--agar-grad); border-radius: 999px; }

/* ── token page ── */
.coin { display: flex; flex-direction: row-reverse; align-items: stretch; gap: 16px; }
.coin-side { display: flex; flex-direction: column; width: 350px; flex-shrink: 0; gap: 16px; }
.coin-main { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; gap: 16px; }
.box { border-radius: 24px; padding: 20px; }
.coin-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 0 22px; }
.coin-id { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.coin-id .logo { position: relative; flex-shrink: 0; } .coin-id .logo img, .coin-id .logo .av { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; font-size: 14px; }
.coin-id .pairdot { position: absolute; right: -5px; bottom: -5px; padding: 2px; background: var(--bg); border-radius: 999px; } .coin-id .pairdot img { width: 16px; height: 16px; border-radius: 999px; }
.coin-id .t1 { display: flex; align-items: center; gap: 8px; min-width: 0; } .coin-id .t1 .ticker { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; color: var(--subtle); transition: color .12s, background .12s; text-decoration: none; } .icon-btn:hover { color: var(--text); background: var(--surface-2); } .icon-btn svg { width: 14px; height: 14px; }
.coin-id .t2 { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 500; color: var(--text-2); } .coin-id .t2 .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .coin-id .t2 .age { color: var(--subtle); flex-shrink: 0; }
.coin-nums { display: flex; align-items: flex-end; gap: 26px; flex-shrink: 0; }
.coin-nums > div { display: flex; flex-direction: column; align-items: flex-end; } .coin-nums .v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-family: var(--mono); color: var(--text-2); display: flex; align-items: center; gap: 6px; } .coin-nums .v.main { color: #fff; } .coin-nums .v img { width: 14px; height: 14px; }
.coin-nums .l { font-size: 14px; font-weight: 500; color: var(--text-2); } .coin-nums .sep { width: 1px; align-self: stretch; background: var(--line-soft); }
.stage { border-radius: 14px; padding: 14px 16px; }
.stage .top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; } .stage .top b { color: #fff; }
.stage p { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.stage.done { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--up); } .stage.done svg { width: 16px; height: 16px; }
.chart { border-radius: 14px; overflow: hidden; }
.chart-hd { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.tfs { display: flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 8px; } .tfs button { height: 26px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--muted); } .tfs button.on { background: var(--surface); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.chart-title { margin: 0; font-size: 13px; font-weight: 800; display: flex; gap: 6px; align-items: center; } .chart-title .m { color: var(--muted); font-weight: 600; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .1em; font-weight: 800; color: var(--muted); } .live i { width: 6px; height: 6px; border-radius: 999px; background: var(--down); }
.chart-body { position: relative; } .chart-body canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.trade .tt { display: flex; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 12px; } .trade .tt button { flex: 1; height: 36px; border-radius: 9px; font-weight: 800; font-size: 14px; color: var(--muted); }
.trade .tt button.on { background: var(--agar); color: #1a1000; } .trade .tt button.on.sell { background: var(--down); color: #fff; }
.trade .in { display: flex; align-items: center; gap: 8px; margin-top: 12px; height: 52px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); } .trade .in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 22px; font-weight: 800; color: #fff; } .trade .in span { font-size: 13px; font-weight: 800; color: var(--muted); }
.trade .quick { display: flex; gap: 6px; margin-top: 8px; } .trade .quick button { flex: 1; height: 30px; border-radius: 8px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--text-2); } .trade .quick button:hover { color: #fff; }
.trade .est { margin: 12px 0; font-size: 13px; color: var(--text-2); min-height: 18px; }
.primary { width: 100%; height: 46px; border-radius: 12px; background: #fff; color: #0c0b09; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; } .primary:hover { filter: brightness(.94); } .primary:disabled { opacity: .5; cursor: not-allowed; } .primary svg { width: 14px; height: 14px; }
.note { font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--muted); margin: 10px 0 0; }
.pons-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; font-family: var(--mono); } .pons-link:hover { color: var(--agar-2); } .pons-link svg { width: 12px; height: 12px; }
.kv-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; } .kv-hd .lbl { display: flex; align-items: center; gap: 9px; } .kv-hd .ic { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); } .kv-hd .ic svg { width: 14px; height: 14px; }
.cap { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; font-family: var(--mono); color: var(--muted); }
.big { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-family: var(--mono); color: #fff; margin: 6px 0 10px; }
.kv { display: flex; flex-direction: column; } .kv > div { display: flex; align-items: baseline; padding: 7px 0; } .kv .k { font-size: 14px; font-weight: 500; color: var(--text-2); } .kv .dots { flex: 1; margin: 0 10px; height: 1px; align-self: center; border-bottom: 1px dotted var(--line-strong); } .kv .v { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; font-family: var(--mono); flex-shrink: 0; } .kv .v a { color: var(--agar-2); text-decoration: none; }
.hr { border-top: 1px solid var(--line-soft); margin: 12px 0; }
.about b { font-size: 14px; font-weight: 700; font-family: var(--mono); } .about p { margin: 2px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.ctabs { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px; margin-bottom: 14px; } .ctabs .list { display: flex; gap: 4px; } .ctabs button { display: flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted); transition: color .12s, background .12s; } .ctabs button:hover { color: var(--text); } .ctabs button.on { color: var(--text); background: var(--surface-2); }
.rows .r { display: flex; align-items: center; gap: 8px; padding: 0 2px 8px; margin-top: 8px; border-bottom: 1px solid var(--line-soft); } .rows .r:first-child { margin-top: 0; } .rows .r:last-child { border-bottom: 0; }
.rows .h { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-family: var(--mono); color: var(--muted); } .rows .c { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; font-family: var(--mono); white-space: nowrap; text-decoration: none; } .rows .c.sub { color: var(--subtle); font-weight: 600; margin-left: 3px; }
.ext { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--text-2); text-decoration: none; transition: .12s; flex-shrink: 0; } .ext:hover { color: var(--text); border-color: var(--line-strong); } .ext svg { width: 12px; height: 12px; }
.panel-hd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .panel-hd img, .panel-hd .av { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; font-size: 14px; }
.panel-hd .t b { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; } .panel-hd .t b a { color: inherit; text-decoration: none; } .panel-hd .t span { font-size: 12.5px; color: var(--muted); }
.post { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .post:first-of-type { border-top: 0; }
.post img, .post .av { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; font-size: 12px; }
.post .who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 4px; flex-wrap: wrap; } .post .who b { font-weight: 700; color: #fff; } .post .who b a { color: inherit; text-decoration: none; } .post .who a.tk { color: var(--agar-2); text-decoration: none; font-weight: 700; } .post .who span { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.post .txt { font-size: 14.5px; line-height: 1.5; }
.did { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.06); color: var(--text-2); font-family: var(--mono); letter-spacing: .02em; } .did a { color: inherit; }
.did.ok, .did.birth, .did.fees { background: var(--up-bg); color: var(--up); } .did.bad, .did.death { background: var(--down-bg); color: var(--down); }
.reply { font-size: 12px; color: var(--muted); margin-bottom: 4px; font-family: var(--mono); } .reply b { color: var(--agar-2); font-weight: 600; }
table.tbl { width: 100%; border-collapse: collapse; } .tbl th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 14px 18px; white-space: nowrap; } .tbl td { padding: 10px 14px; vertical-align: middle; font-size: 14px; font-weight: 700; white-space: nowrap; } .tbl tbody tr { border-top: 1px solid var(--line-soft); } .tbl tbody tr:hover { background: var(--surface-2); } .tbl-wrap { overflow-x: auto; }
.chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 700; text-decoration: none; } .tbl .m { color: var(--muted); font-weight: 600; }

/* ── feed ── */
.fwrap { max-width: 1160px; margin: 0 auto; width: 100%; }
.fcols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-top: 20px; align-items: start; }
.fbox { border-radius: 18px; overflow: hidden; }
.fbox-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); color: #fff; padding: 12px 16px; font-weight: 600; font-size: 13.5px; }
.fbox-hd .r { font-size: 11px; color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); letter-spacing: .03em; } .fbox-hd .r i { width: 7px; height: 7px; border-radius: 999px; background: var(--up); display: inline-block; margin-right: 5px; box-shadow: 0 0 0 3px rgba(91,214,140,.16); }
.fbox-hd a { color: var(--agar-2); text-decoration: none; }
.fpost { display: grid; grid-template-columns: 48px 1fr; border-top: 1px solid var(--line); border-left: 2px solid transparent; } .fpost:first-of-type { border-top: 0; } .fpost.hot { border-left-color: var(--agar); } .fpost.death { border-left-color: var(--down); }
.vote { display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 2px; } .vote button { width: 24px; height: 22px; font-size: 13px; color: var(--muted); line-height: 1; } .vote button:hover, .vote button.on { color: var(--agar-2); } .vote b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fbody { padding: 12px 16px 12px 6px; min-width: 0; }
.fmeta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; font-family: var(--mono); }
.fmeta .tag { background: var(--agar-bg); color: var(--agar-2); font-weight: 700; padding: 2px 7px; border-radius: 6px; font-size: 10.5px; } .fmeta .sub { color: var(--agar-2); font-weight: 700; text-decoration: none; } .fmeta .who { color: var(--text); font-weight: 600; font-family: var(--sans); font-size: 13px; text-decoration: none; }
.fmeta img, .fmeta .av { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; font-size: 8px; }
.ftext { font-size: 15px; line-height: 1.5; }
.ffoot { display: flex; gap: 14px; margin-top: 10px; font-size: 11.5px; font-family: var(--mono); } .ffoot a { color: var(--muted); text-decoration: none; font-weight: 600; } .ffoot a:hover { color: var(--agar-2); }
.fside .fbox + .fbox { margin-top: 14px; }
.flive { padding: 4px 14px; } .flive div { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; } .flive div:first-child { border-top: 0; } .flive b { color: var(--text); } .flive b a { color: inherit; text-decoration: none; } .flive a.tk { color: var(--agar-2); text-decoration: none; } .flive small { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; font-family: var(--mono); }
.flive img, .flive .av { width: 18px; height: 18px; border-radius: 5px; vertical-align: -4px; display: inline-flex; object-fit: cover; font-size: 7px; }
.ftok a { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; text-decoration: none; color: inherit; border-top: 1px solid var(--line); } .ftok a:first-child { border-top: 0; } .ftok a:hover { background: rgba(255,255,255,.03); }
.ftok img, .ftok .av { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; font-size: 11px; } .ftok b { display: block; font-size: 13.5px; font-weight: 600; } .ftok small { color: var(--muted); font-size: 11px; font-family: var(--mono); }
.ftok .fdv { text-align: right; font-size: 12px; font-weight: 600; color: #fff; font-family: var(--mono); } .ftok i { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--up); margin-right: 5px; } .ftok i.dead { background: var(--down); } .ftok i.egg { background: var(--gold); }
.fempty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.fhow { padding: 12px 14px; font-size: 13px; line-height: 1.55; color: var(--text-2); } .fhow a { color: var(--agar-2); text-decoration: none; }

/* ── launch page ── */
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; max-width: 1040px; margin: 0 auto; width: 100%; }
.lp-card { border-radius: 22px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; }
.lp-hd { padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; } .lp-hd h1 { margin: 0 0 4px; font-size: 26px; font-weight: 600; letter-spacing: -.035em; } .lp-hd h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--agar-2); }
.lp-hd p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--agar-2); font-family: var(--mono); }
.step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); } .step:last-of-type { border-bottom: 0; }
.sn { width: 30px; height: 30px; border-radius: 999px; background: #fff; color: #0c0b09; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.sb { display: flex; flex-direction: column; gap: 14px; min-width: 0; } .sb h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .f > label { font-size: 12px; font-weight: 700; color: var(--text-2); }
.inp, .ta { background: rgba(255,255,255,.03); border: 1px solid var(--line); color: #fff; border-radius: 12px; padding: 0 12px; height: 44px; font-size: 15px; width: 100%; outline: 0; } .ta { min-height: 96px; padding: 10px 12px; resize: none; }
.inp:focus, .ta:focus, .pre:focus-within, .amt:focus-within { border-color: rgba(245,165,36,.9); box-shadow: 0 0 0 3px rgba(245,165,36,.16); } .inp::placeholder, .ta::placeholder { color: var(--placeholder); }
.hint { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.pre { display: flex; align-items: center; height: 44px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); padding-left: 12px; } .pre span { color: var(--muted); font-size: 14px; } .pre input { background: none; border: 0; height: 42px; padding-left: 4px; flex: 1; min-width: 0; outline: 0; color: #fff; font-size: 15px; }
.imgbtn { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px dashed var(--line-strong); color: var(--text-2); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; width: 100%; } .imgbtn img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; } .imgbtn .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; } .imgbtn .ic svg { width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; } .chipb { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: #fff; } .chipb img { width: 16px; height: 16px; border-radius: 999px; } .chipb.on { border-color: var(--agar); box-shadow: inset 0 0 0 1px var(--agar); background: var(--agar-bg); }
.amt { display: flex; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; height: 52px; padding: 0 14px; width: 100%; } .amt input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 20px; font-weight: 700; font-family: var(--mono); color: #fff; } .amt .u { font-size: 14px; font-weight: 500; font-family: var(--mono); color: var(--muted); display: flex; align-items: center; gap: 6px; } .amt .u img { width: 18px; height: 18px; border-radius: 999px; }
.adv > button { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 13px; font-weight: 700; color: var(--text-2); padding: 4px 0; } .adv > button svg { width: 14px; height: 14px; } .advbody { display: flex; flex-direction: column; gap: 14px; padding: 10px 0 6px; }
.due { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.lp-cta { width: 100%; height: 50px; font-size: 16px; }
.lp-side { position: sticky; top: 90px; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.lp-kv { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); } .lp-kv > div { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; } .lp-kv span { color: var(--muted); font-weight: 600; } .lp-kv b { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #fff; }
.lp-note { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── secondary pages ── */
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 30px 0 18px; }
.sec-hd h1 { font-weight: 600; font-size: 46px; margin: 0; letter-spacing: -.04em; line-height: 1; } .sec-hd p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.stepc { border-radius: 20px; padding: 22px; position: relative; } .stepc .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--agar-2); text-transform: uppercase; } .stepc b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 26px 0 6px; color: #fff; } .stepc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); } .stepc.wide { grid-column: 1 / -1; }
.prof { display: flex; align-items: center; gap: 16px; margin: 30px 0 18px; flex-wrap: wrap; } .prof img, .prof .av { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; font-size: 20px; } .prof .t { flex: 1; min-width: 200px; } .prof h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -.035em; display: flex; align-items: center; gap: 10px; } .prof p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; } .prof p a { color: var(--agar-2); text-decoration: none; font-weight: 600; }
.endpoint { padding: 14px 18px; } .endpoint b { font-family: var(--mono); font-size: 13px; } .endpoint b .m { color: var(--agar-2); } .endpoint p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.status-list { display: flex; flex-direction: column; border-radius: 24px; padding: 6px 18px; } .status-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); } .status-list > div:last-child { border-bottom: 0; } .status-list .n { font-size: 14px; font-weight: 500; color: var(--text-2); } .status-list .s { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; } .status-list .s i { width: 8px; height: 8px; border-radius: 999px; background: var(--up); flex: none; } .status-list .s i.bad { background: var(--gold); }
.legal { max-width: 720px; margin: 0 auto; } .legal h1 { font-size: 34px; font-weight: 600; letter-spacing: -.035em; margin: 30px 0 6px; } .legal .date { color: var(--muted); font-size: 13px; font-family: var(--mono); margin-bottom: 26px; } .legal h2 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; } .legal p, .legal li { font-size: 14.5px; line-height: 1.65; color: var(--text-2); } .legal ul { padding-left: 20px; }
.admin-out { white-space: pre-wrap; font-size: 12px; color: var(--text-2); margin: 10px 0 0; font-family: var(--mono); }

/* ── footer, modal, toast ── */
.ft { margin-top: auto; padding: 26px 0 6px; border-top: 1px solid var(--line); margin-top: 60px; }
.ft-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; } .ft .wordmark { font-size: 18px; } .ft .wordmark svg { width: 20px; height: 20px; }
.ft-links { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; } .ft-links a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; } .ft-links a:hover { color: #fff; }
.ft-social { display: flex; gap: 10px; } .ft-social a { color: var(--muted); display: flex; } .ft-social svg { width: 16px; height: 16px; }
.ft-note { margin: 12px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }
.modal-bg { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { width: 100%; max-width: 360px; border-radius: 22px; padding: 22px 20px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); position: relative; }
.modal h3 { margin: 0 0 16px; font-size: 18px; font-weight: 700; text-align: center; } .modal .x { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); } .modal .x svg { width: 14px; height: 14px; }
.modal .opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #fff; font-weight: 600; font-size: 14px; margin-top: 10px; text-align: left; } .modal .opt:hover { border-color: var(--line-strong); } .modal .opt svg { width: 18px; height: 18px; }
.modal .sub { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; text-align: center; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 90; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 40px rgba(0,0,0,.4); max-width: 90vw; } .toast.bad { border-color: var(--down); }

@media (max-width: 1000px) {
  .page { padding: 16px 16px 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; gap: 20px; } .hero-art { min-height: 0; height: 320px; } .dish { width: 380px; right: 0; animation: none; opacity: .9; }
  .h1 { font-size: 50px; } .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(2) { border-right: 0; }
  .how { grid-template-columns: 1fr; } .fcols { grid-template-columns: 1fr; } .hd-search { display: none; } .steps { grid-template-columns: 1fr; } .search { width: 100%; margin-left: 0; }
  .coin { flex-direction: column-reverse; } .coin-side { width: 100%; } .coin-nums > div:not(.main-col) { display: none; } .coin-nums .sep { display: none; }
  .lp { grid-template-columns: 1fr; } .lp-side { position: static; } .row2 { grid-template-columns: 1fr; }
  .hd-in { height: auto; flex-wrap: wrap; padding: 10px 14px; gap: 10px; } .nav { order: 3; width: 100%; overflow-x: auto; } .hd-right { margin-left: auto; } .btn-create { padding: 0 10px; }
  .ft-links { margin-left: 0; gap: 12px; }
  }

/* ── homepage small-screen layout ── */
@media (max-width: 600px) {
  .hd { padding: 10px 10px 4px; }
  .hd-in { border-radius: 14px; padding: 10px 12px; gap: 10px; }
  .wordmark { font-size: 20px; }
  .wordmark svg { width: 25px; height: 25px; }
  .hd-right { width: 100%; gap: 8px; }
  .hd-right .btn { flex: 1; justify-content: center; padding-inline: 10px; }
  .nav { gap: 2px; margin-left: -4px; padding-bottom: 1px; }
  .nav a { padding-inline: 10px; font-size: 13px; }
  .page { padding: 12px 16px 16px; }
  .hero { padding: 38px 0 24px; gap: 8px; }
  .h1 { font-size: clamp(42px, 12vw, 52px); line-height: .98; margin: 16px 0 20px; }
  .sub { font-size: 15.5px; line-height: 1.58; margin-bottom: 26px; }
  .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cta .pill { width: 100%; padding-inline: 10px; font-size: 13px; }
  .stats { margin-top: 32px; }
  .stats > div { padding: 14px 10px 0 0; margin-right: 10px; }
  .stats b { font-size: 24px; }
  .stats span { font-size: 10px; letter-spacing: .03em; }
  .hero-art { height: 250px; margin-top: 8px; }
  .dish { width: min(360px, 108vw); right: 50%; transform: translate(50%, -50%); top: 50%; }
  .how { margin-top: 18px; }
}

@media (max-width: 360px) {
  .nav a { padding-inline: 7px; font-size: 12px; }
  .h1 { font-size: 39px; }
  .cta { grid-template-columns: 1fr; }
}
