/* Paidnymous · RED SEAL. The whole page is the vivid Helius red field (#E64C2A), warm-black ink type at poster scale, paper slips
   for anything you fill in. Stack Sans Headline / Text + SUSE Mono, self-hosted. */
@font-face { font-family: 'Stack Sans Headline'; src: url('/assets/fonts/StackSansHeadline-var.woff2') format('woff2'); font-weight: 200 700; font-display: block; }
@font-face { font-family: 'Stack Sans Text'; src: url('/assets/fonts/StackSansText-var.woff2') format('woff2'); font-weight: 200 700; font-display: block; }
@font-face { font-family: 'SUSE Mono'; src: url('/assets/fonts/SUSEMono-var.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
:root {
  --red: #E64C2A; --red-hi: #EE5A38; --red-lo: #C83A1D; --ember: #6E1A0C; --ink: #140806; --paper: #FFF7F3; --peach: #FFB59A;
  --ink-70: rgba(20, 8, 6, .72); --ink-55: rgba(20, 8, 6, .58); --ink-20: rgba(20, 8, 6, .2); --ink-10: rgba(20, 8, 6, .1);
  --paper-70: rgba(255, 247, 243, .78);
  --head: 'Stack Sans Headline', 'Stack Sans Text', system-ui, sans-serif; --text: 'Stack Sans Text', system-ui, sans-serif; --mono: 'SUSE Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px); --max: 1440px; --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--red); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--red); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.dim { color: var(--ink-70); }
.tiny { font-size: 13px; line-height: 1.45; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.c7 { grid-column: 1 / span 7; } .c5 { grid-column: 8 / span 5; }

/* ---------------------------------------------------------------- header: corner furniture, scrolls with the page */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 22px var(--pad); max-width: var(--max); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--head); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.wallet { border: 2px solid var(--ink); background: transparent; height: 42px; padding: 0 18px; font-weight: 700; font-size: 15px; border-radius: 2px; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.wallet:hover, .wallet.on { background: var(--ink); color: var(--paper); }
.wallet .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }
.menu { display: none; width: 42px; height: 42px; border: 2px solid var(--ink); background: transparent; border-radius: 2px; padding: 0; position: relative; }
.menu i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu i:first-child { top: 15px; } .menu i:last-child { top: 23px; }
.menu-open .menu i:first-child { transform: translateY(4px) rotate(45deg); } .menu-open .menu i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; padding-top: 86px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 42%, var(--red-hi) 0%, var(--red) 46%, var(--red-lo) 100%); }
.stage { position: relative; flex: 1 1 auto; min-height: 420px; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
.ring-back { z-index: 1; } .ring-front { z-index: 3; }
.ring-live .ring { opacity: 1; }
.h1 { position: relative; z-index: 2; margin: 0; text-align: center; font: 700 clamp(52px, 10.6vw, 176px)/.94 var(--head); letter-spacing: -.035em; color: var(--ink); padding: 0 var(--pad); }
.h1 > span { display: block; }
.h1 .nb { white-space: nowrap; }
.h1 .l2 { margin-top: .04em; }
.hero-foot { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; padding-bottom: 30px; align-items: end; }
.hero-foot .lead { grid-column: 1 / span 6; margin: 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; font-weight: 500; max-width: 640px; }
.hero-foot .acts { grid-column: 8 / span 5; justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 14px; font-size: 14px; font-weight: 600; }
.sealed-by { display: inline-flex; align-items: center; gap: 8px; }
.sealed-by img { height: 18px; width: auto; filter: brightness(0) saturate(100%) invert(4%) sepia(12%) saturate(4400%) hue-rotate(345deg) brightness(92%); }
.yours b { font-weight: 700; }
.link { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; cursor: pointer; }
/* intro: words rise once the fonts are in (inline timer caps it at 1.6 s) */
.intro .h1 > span, .intro .hero-foot > * { opacity: 0; transform: translateY(18px); }
.intro.go .h1 > span, .intro.go .hero-foot > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.intro.go .h1 .l2 { transition-delay: .08s; } .intro.go .hero-foot > *:nth-child(2) { transition-delay: .16s; } .intro.go .hero-foot > *:nth-child(3) { transition-delay: .24s; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 700 16px/1 var(--text); text-decoration: none; border-radius: 2px; transition: background .2s, color .2s, transform .15s; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.big { height: auto; min-height: 60px; width: 100%; font-size: 17px; white-space: normal; text-align: center; line-height: 1.25; padding: 10px 18px; }
.studio > *, .forge > *, .payrow > *, .pg > *, .faces > *, .grid4 > * { min-width: 0; }
.face small, .face b { overflow-wrap: anywhere; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.ticket .btn:hover, .sheet .btn:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
.btn.file { position: relative; overflow: hidden; }
.btn.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(80px, 11vw, 150px) 0 0; }
.h2 { margin: 0; font: 700 clamp(40px, 6.2vw, 96px)/.98 var(--head); letter-spacing: -.03em; }
.body { margin: 0; font-size: 18px; line-height: 1.55; font-weight: 500; padding-bottom: .5em; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* SEAL: a paper slip that a ring passes over */
.slipwrap { margin-top: 56px; position: relative; }
.slip { position: relative; background: var(--paper); color: var(--ink); max-width: 760px; margin: 0 auto; padding: 26px 30px 22px; border-radius: 2px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(70, 12, 4, .55), 0 2px 0 rgba(70, 12, 4, .2); }
.slip::before, .slip::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 5px 0, var(--red) 4px, transparent 4.5px) 0 0 / 14px 10px repeat-x; }
.slip::before { top: 0; } .slip::after { bottom: 0; transform: scaleY(-1); }
.slip-h { display: flex; justify-content: space-between; font: 700 15px/1 var(--text); padding: 6px 0 16px; border-bottom: 2px solid var(--ink); text-transform: none; }
.slip .row { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ink-10); font-size: 16px; }
.slip .row > span { color: var(--ink-55); font-weight: 600; }
.slip .row b { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip .row em { font: 600 12px/1 var(--mono); font-style: normal; letter-spacing: .02em; padding: 6px 8px; background: var(--ink-10); border-radius: 2px; }
.slip .row.s.sealed b { font-family: var(--mono); font-weight: 500; color: var(--ember); letter-spacing: .02em; }
.slip .row.s.sealed em { background: var(--ink); color: var(--paper); }
.slip .to { display: inline-flex; align-items: center; gap: 8px; }
.slip .to img { width: 24px; height: 24px; border-radius: 50%; }
.slip-ring { position: absolute; top: 50%; left: 0; width: 230px; height: 230px; margin-top: -115px; pointer-events: none; z-index: 2;
  transform: translateX(var(--x, -260px)) rotate(var(--r, 0deg)); filter: drop-shadow(0 0 10px rgba(232, 65, 37, .55)) drop-shadow(0 10px 18px rgba(110, 26, 12, .25)); }
.slip-ring i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, #E84125, #FF9A72 14%, #E35930 30%, #B4301A 48%, #E84125 62%, #FFB59A 74%, #E35930 88%, #E84125);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 15px), #000 calc(100% - 14px)); mask: radial-gradient(farthest-side, transparent calc(100% - 15px), #000 calc(100% - 14px)); }
.slip-ring i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(farthest-side, transparent calc(100% - 9px), rgba(255, 255, 255, .85) calc(100% - 8px), transparent calc(100% - 5px)); }
.slip-cap { max-width: 760px; margin: 14px auto 0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 80px; border-top: 2px solid var(--ink); }
.fact { padding: 22px 0 30px; border-bottom: 1px solid var(--ink-20); }
.fact h3 { margin: 0 0 8px; font: 700 26px/1.1 var(--head); letter-spacing: -.02em; }
.fact p { margin: 0; color: var(--ink-70); font-weight: 500; max-width: 380px; }

/* PSEUDONYMS */
.forge { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.sigil-card { background: var(--ink); color: var(--paper); padding: 34px 30px 28px; border-radius: 2px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; position: sticky; top: 24px; }
.sigil { width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--red-hi), var(--red) 55%, var(--red-lo)); display: grid; place-items: center; position: relative; }
.sigil svg { width: 86%; height: 86%; transition: opacity .35s; }
.sigil.swap svg { opacity: 0; }
.sig-name b { display: block; font: 700 clamp(30px, 3vw, 42px)/1.05 var(--head); letter-spacing: -.02em; }
.sig-name span { color: var(--peach); font-size: 14px; }
.sig-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sigil-card .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); height: 46px; padding: 0 16px; font-size: 15px; }
.sigil-card .btn:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
.sigil-card .btn.ghost { background: transparent; color: var(--paper); }
.sigil-card .btn.ghost:hover { background: var(--paper); color: var(--ink); }
.sigil-card .dim { color: rgba(255, 247, 243, .64); }
.sigil-card .link { color: var(--paper); }
.nym-copy { display: grid; gap: 0; }
.pt { border-top: 2px solid var(--ink); padding: 18px 0 22px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; }
.pt h3 { margin: 0; font: 700 26px/1.1 var(--head); letter-spacing: -.02em; }
.pt p { margin: 0; color: var(--ink-70); font-weight: 500; }
.proof { background: var(--paper); padding: 22px; border-radius: 2px; margin-top: 10px; }
.tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 2px solid var(--ink); }
.tabs button { background: none; border: 0; padding: 10px 14px 12px; font-weight: 700; color: var(--ink-55); position: relative; }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--red); }
.proof .pane > label, .field > label:not(.drop), .lab { display: block; font-size: 13px; font-weight: 700; color: var(--ink-70); margin-bottom: 8px; letter-spacing: .01em; }
.inrow { display: flex; gap: 10px; align-items: center; }
.inrow input { flex: 1; min-width: 0; height: 52px; border: 2px solid var(--ink); background: #fff; padding: 0 14px; border-radius: 2px; }
.inrow .btn { flex: none; }
.proof textarea { width: 100%; border: 2px solid var(--ink); background: #fff; padding: 12px 14px; border-radius: 2px; resize: vertical; font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.proof-out { margin: 14px 0 8px; padding: 14px; background: var(--ink); color: var(--paper); border-radius: 2px; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; max-height: 260px; overflow: auto; }
.verdict { font-weight: 700; }
.verdict.ok { color: #1d6b39; } .verdict.bad { color: #9b1c0b; }

/* LAUNCH STUDIO */
.studio { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.ticket { background: var(--paper); color: var(--ink); padding: 30px 30px 26px; border-radius: 2px; position: relative; box-shadow: 0 30px 70px -40px rgba(70, 12, 4, .6); }
.field { margin-bottom: 20px; min-width: 0; }
.inp { display: flex; align-items: center; height: 54px; border: 2px solid var(--ink); background: #fff; border-radius: 2px; padding: 0 14px; gap: 6px; transition: box-shadow .2s; }
.inp:focus-within { box-shadow: 0 0 0 4px rgba(230, 76, 42, .45); }
.inp input, .inp textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; font-size: 17px; font-weight: 500; }
.inp textarea { padding: 12px 0; resize: vertical; }
.inp:has(textarea) { height: auto; }
.inp .pre, .inp .suf { font-weight: 700; color: var(--ink-55); }
.inp.bad, .drop.bad { border-color: #b3200c; box-shadow: 0 0 0 4px rgba(179, 32, 12, .18); }
.who { display: flex; align-items: center; gap: 12px; margin-top: 10px; min-height: 52px; padding: 8px 12px; background: var(--ink-10); border-radius: 2px; font-size: 15px; }
.who.empty { color: var(--ink-55); font-weight: 500; }
.who .pfp { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.who b { display: inline-flex; align-items: center; gap: 4px; }
.who small { display: block; color: var(--ink-55); font-size: 13px; }
.who .ok { margin-left: auto; font: 600 12px/1 var(--mono); background: var(--ink); color: var(--paper); padding: 6px 8px; border-radius: 2px; }
.vbadge { width: 16px; height: 16px; }
.split { display: grid; grid-template-columns: 1.15fr 1.4fr 1fr; gap: 14px; }
.split.two { grid-template-columns: 1fr 1.6fr; }
.drop { display: flex; align-items: center; gap: 12px; height: 54px; border: 2px dashed var(--ink); border-radius: 2px; padding: 0 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-70); position: relative; overflow: hidden; background: #fff; }
.drop.over { background: var(--peach); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop #dropT { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--ink-10) center / cover no-repeat; display: grid; place-items: center; }
.thumb svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .pick { height: 44px; padding: 0 14px; border: 2px solid var(--ink); background: #fff; border-radius: 2px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.chips button img, .pick img { width: 22px; height: 22px; border-radius: 50%; }
.chips button small { font-weight: 500; color: var(--ink-55); font-size: 12px; }
.chips button.on, .pick.on { background: var(--ink); color: var(--paper); }
.chips button.on small { color: var(--paper-70); }
.chips .inp.amt { height: 44px; width: 150px; }
.anybox { display: none; margin-top: 10px; }
.anybox.open { display: block; }
.trend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.trend button { height: 36px; padding: 0 10px; border: 1.5px solid var(--ink-20); background: #fff; border-radius: 2px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.trend img { width: 20px; height: 20px; border-radius: 50%; }
.as { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asb { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; min-height: 64px; border: 2px solid var(--ink-20); background: #fff; border-radius: 2px; }
.asb b { display: block; font-size: 16px; } .asb small { color: var(--ink-55); font-size: 13px; font-weight: 500; }
.asb.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mini { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.mini svg { width: 88%; height: 88%; }
.mini.anon { background: var(--ink) radial-gradient(circle, transparent 52%, var(--paper) 54%, var(--paper) 60%, transparent 62%); }
.links-f { align-self: end; }
.links { display: none; gap: 8px; margin-top: 10px; }
.links.open { display: grid; }
.perf { height: 2px; margin: 8px -30px 18px; background: radial-gradient(circle, var(--red) 1.6px, transparent 2px) 0 50% / 12px 2px repeat-x; }
.sum { margin: 0 0 18px; display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; font-size: 15px; }
.sum dt { color: var(--ink-70); font-weight: 600; } .sum dd { margin: 0; font-weight: 700; font-family: var(--mono); }
.sum .tot { border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; font-size: 17px; }
.err { color: #9b1c0b; font-weight: 700; min-height: 1.2em; margin: 10px 0 0; }
.preview { position: sticky; top: 24px; }
.pv-card { background: var(--ink); color: var(--paper); border-radius: 2px; padding: 22px; }
.pv-img { aspect-ratio: 1; background: var(--red); border-radius: 2px; overflow: hidden; display: grid; place-items: center; }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-t { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 12px; border-bottom: 1px solid rgba(255, 247, 243, .18); }
.pv-t b { font: 700 26px/1.1 var(--head); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-t span { color: var(--peach); }
.pv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 247, 243, .12); font-size: 15px; }
.pv-row > span { color: rgba(255, 247, 243, .62); font-weight: 600; }
.pv-row b { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pv-row b img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.pv-row b .mini { width: 26px; height: 26px; }
.pv-seal { display: flex; justify-content: space-between; padding-top: 14px; font-size: 13px; color: rgba(255, 247, 243, .62); font-weight: 600; }
.pv-seal .cy { color: var(--peach); }

/* PAY */
.payrow { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.payt .who:empty { display: none; }
.faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.face { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 2px solid var(--ink); border-radius: 2px; text-decoration: none; transition: background .2s, color .2s; text-align: left; background: transparent; }
.face img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.face b { font-size: 16px; line-height: 1.2; display: inline-flex; gap: 4px; align-items: center; }
.face small { font-size: 13px; color: var(--ink-70); font-weight: 600; }
.face .cy { font-size: 12px; color: var(--ember); }
.face:hover { background: var(--ink); color: var(--paper); }
.face:hover small { color: var(--paper-70); } .face:hover .cy { color: var(--peach); }

/* COINS */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.cc { display: flex; flex-direction: column; background: var(--paper); border-radius: 2px; text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.cc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(70, 12, 4, .7); }
.cc .img { aspect-ratio: 1; background: var(--ink-10); position: relative; }
.cc .img img { width: 100%; height: 100%; object-fit: cover; }
.cc .tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; padding: 5px 8px 5px 5px; border-radius: 2px; }
.cc .tag img { width: 20px; height: 20px; border-radius: 50%; }
.cc .nm { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 14px 4px; gap: 8px; }
.cc .nm b { font: 700 20px/1.15 var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc .nm small { font-family: var(--mono); color: var(--ink-55); }
.cc .by { display: flex; align-items: center; gap: 8px; padding: 6px 14px 14px; font-size: 13px; font-weight: 600; color: var(--ink-70); }
.cc .by .mini { width: 22px; height: 22px; }
.cc .mc { margin-left: auto; font-family: var(--mono); color: var(--ink); font-weight: 600; }
.cc.open { background: transparent; border: 2px dashed var(--ink); align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 26px; min-height: 260px; }
.cc.open b { font: 700 22px/1.1 var(--head); }
.cc.open span { color: var(--ink-70); font-weight: 600; font-size: 14px; max-width: 200px; }
.cc.open .ring-ic { width: 56px; height: 56px; border-radius: 50%; border: 6px solid var(--ink); position: relative; }
.cc.open .ring-ic::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); top: -10px; left: 50%; margin-left: -6px; }

/* pages (/coin, /x, /p) */
#page { padding-top: 110px; min-height: 80vh; }
.pg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.back { display: inline-block; margin-bottom: 26px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); }
.pg-h { background: var(--ink); color: var(--paper); border-radius: 2px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.pg-h h1 { margin: 0; font: 700 clamp(34px, 4vw, 56px)/1 var(--head); letter-spacing: -.03em; overflow-wrap: anywhere; }
.pg-h .sub { color: rgba(255, 247, 243, .64); font-weight: 600; }
.pg-h .big { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; }
.pg-h .bigsig { width: 220px; height: 220px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.pg-h .bigsig svg { width: 88%; height: 88%; }
.pg-h .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pg-h .btn:hover { background: var(--red); border-color: var(--red); }
.pg-h .btn.ghost { background: transparent; color: var(--paper); }
.pg-h .row2 { display: flex; gap: 10px; flex-wrap: wrap; }
.bal { border: 1px solid rgba(255, 247, 243, .2); border-radius: 2px; padding: 14px; display: grid; gap: 6px; }
.bal span { font-size: 13px; color: rgba(255, 247, 243, .64); font-weight: 600; }
.bal .cy { font-size: 20px; color: var(--peach); }
.pg-b { display: grid; gap: 24px; }
.panel { background: var(--paper); border-radius: 2px; padding: 24px; }
.panel h3 { margin: 0 0 16px; font: 700 24px/1.1 var(--head); letter-spacing: -.02em; }
.panel .grid4 { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel .cc { background: #fff; border: 2px solid var(--ink-10); }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ink-10); font-size: 15px; }
.kv dt { color: var(--ink-55); font-weight: 600; } .kv dd { margin: 0; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; text-align: right; }
.kv dd img { width: 22px; height: 22px; border-radius: 50%; }
.kv dd .mini { width: 26px; height: 26px; }
.ca-box { display: flex; gap: 8px; align-items: center; background: rgba(255, 247, 243, .08); padding: 10px 12px; border-radius: 2px; }
.ca-box code { font: 500 13px/1.3 var(--mono); overflow-wrap: anywhere; flex: 1; }
.ca-box button { background: var(--paper); color: var(--ink); border: 0; height: 34px; padding: 0 12px; font-weight: 700; border-radius: 2px; }
.tiprow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ink-10); font-size: 15px; }
.tiprow em { margin-left: auto; font: 600 12px/1 var(--mono); font-style: normal; background: var(--ink); color: var(--paper); padding: 5px 7px; border-radius: 2px; }
.tipchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.tipchips button { height: 44px; padding: 0 14px; border: 2px solid var(--paper); background: transparent; color: var(--paper); border-radius: 2px; font-weight: 700; }
.tipchips button.on { background: var(--paper); color: var(--ink); }
.tipchips .inp { height: 44px; width: 140px; background: transparent; border-color: var(--paper); }
.tipchips .inp input { color: var(--paper); } .tipchips .inp .suf { color: rgba(255, 247, 243, .6); }
.pg-h .err { color: var(--peach); }

/* footer */
.foot { margin-top: clamp(100px, 12vw, 170px); border-top: 2px solid var(--ink); padding: 26px 0 40px; }
.footrow { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footrow p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-70); flex: 1; min-width: 260px; }
.flinks { display: flex; gap: 18px; font-weight: 700; font-size: 14px; }
.flinks a { text-decoration: none; border-bottom: 2px solid transparent; }
.flinks a:hover { border-color: var(--ink); }
.foot .ca { margin-top: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 700; }
.foot .ca code { font: 500 13px var(--mono); background: var(--ink-10); padding: 6px 8px; border-radius: 2px; overflow-wrap: anywhere; }
.foot .ca button { border: 2px solid var(--ink); background: transparent; height: 34px; padding: 0 12px; font-weight: 700; border-radius: 2px; }

/* modals */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20, 8, 6, .55); display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.sheet { position: relative; width: min(460px, 100%); background: var(--paper); color: var(--ink); border-radius: 2px; padding: 28px 26px 24px; transform: translateY(14px); transition: transform .35s var(--ease); max-height: 90vh; overflow: auto; }
.modal.open .sheet { transform: none; }
.sheet h3 { margin: 0 0 6px; font: 700 28px/1.1 var(--head); letter-spacing: -.02em; padding-right: 30px; }
.sheet p { margin: 0 0 16px; }
.x { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border: 0; background: none; }
.x::before, .x::after { content: ''; position: absolute; left: 7px; right: 7px; top: 16px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.wlist { display: grid; gap: 8px; }
.wlist button, .wlist a { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 14px; border: 2px solid var(--ink); background: #fff; border-radius: 2px; font-weight: 700; text-decoration: none; text-align: left; }
.wlist img { width: 30px; height: 30px; border-radius: 8px; }
.wlist small { margin-left: auto; color: var(--ink-55); font-weight: 600; font-size: 13px; }
.wlist button:hover, .wlist a:hover { background: var(--ink); color: var(--paper); }
.lring { width: 64px; height: 64px; border-radius: 50%; border: 7px solid var(--ink-10); border-top-color: var(--red); margin-bottom: 16px; animation: spin 1s linear infinite; }
.done .lring { animation: none; border-color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: grid; gap: 8px; margin: 14px 0; }
.steps .st { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink-55); font-size: 15px; }
.steps .st i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink-20); flex: none; }
.steps .st.now { color: var(--ink); } .steps .st.now i { border-color: var(--red); background: radial-gradient(circle, var(--red) 40%, transparent 45%); }
.steps .st.done { color: var(--ink); } .steps .st.done i { background: var(--ink); border-color: var(--ink); }
.sheet .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 13px 18px; border-radius: 2px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1100px) {
  .grid .c7, .grid .c5 { grid-column: 1 / -1; } .grid .c5 { margin-top: 18px; }
  .forge, .studio, .payrow, .pg { grid-template-columns: 1fr; }
  .sigil-card, .preview { position: static; }
  .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-foot .lead { grid-column: 1 / -1; } .hero-foot .acts { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 0; z-index: 30; background: var(--red); flex-direction: column; gap: 6px; padding: 96px var(--pad) 32px; font: 700 40px/1.1 var(--head); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .top { gap: 10px; } .menu { display: block; z-index: 31; } .wallet { margin-left: auto; z-index: 31; height: 42px; padding: 0 12px; }
  .brand span { font-size: 19px; }
  .hero { min-height: 100svh; padding-top: 80px; }
  .stage { min-height: 360px; }
  .h1 { font-size: clamp(42px, 13.6vw, 76px); line-height: .96; }
  .hero-foot .acts .btn { flex: 1 1 100%; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .facts { grid-template-columns: 1fr; }
  .pt { grid-template-columns: 1fr; gap: 6px; }
  .split, .split.two, .as { grid-template-columns: 1fr; }
  .ticket { padding: 22px 16px 20px; } .perf { margin: 8px -16px 18px; }
  .grid4, .panel .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slip { padding: 20px 16px 16px; } .slip .row { grid-template-columns: 76px 1fr auto; gap: 8px; font-size: 15px; }
  .slip-ring { width: 150px; height: 150px; margin-top: -75px; }
  .inrow { flex-wrap: wrap; } .inrow .btn { flex: 1 1 100%; }
  .chips .inp.amt { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } .rv { opacity: 1; transform: none; } }
