/* SMARTMONEY: banknote green and cream, one geometric sans, full-bleed panels. */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --green: #0E2A1E;
  --deep: #081A12;
  --raised: #163A2A;
  --cream: #EDE6D6;
  --page: #EFEBE1;
  --sage: #8FB39A;
  --sand: #CFC6AE;
  --muted: #5F5B4E;
  --line-dark: rgba(237, 230, 214, .14);
  --line-light: rgba(14, 42, 30, .14);
  --m: clamp(16px, 1.6vw, 28px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --mono: "Outfit", ui-sans-serif, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--page); color: var(--green); font: 400 16px/1.45 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cream); color: var(--green); padding: 10px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: inherit; opacity: .62; margin: 0; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
mark { background: var(--green); color: var(--cream); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; background-size: 0% 100%; }
.dark mark, .band mark { background: var(--cream); color: var(--green); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 99px; border: 0; cursor: pointer; text-decoration: none; font-size: 15px; font-weight: 500; overflow: hidden; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-solid, .btn-cream { background: var(--cream); color: var(--green); }
.btn-solid:hover, .btn-cream:hover { background: #fff8e9; }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--raised); }
.btn-line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(237, 230, 214, .45); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--cream); }
.btn[disabled] { opacity: .5; cursor: progress; }
.roll { position: relative; display: inline-block; transition: transform .45s var(--ease); }
.roll::after { content: attr(data-t); position: absolute; left: 0; top: 140%; }
.btn:hover .roll { transform: translateY(-140%); }
.btn[aria-pressed="true"] { background: var(--sage); color: var(--deep); }

/* ---------- header ---------- */
.masthead { position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--m); pointer-events: none; color: var(--cream); }
.masthead > * { pointer-events: auto; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.02em; justify-self: start; }
.brandmark img { border-radius: 8px; }
.masthead.on-light .brandmark { color: var(--green); }
.pill { display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 8px; background: rgba(8, 26, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.pill-dot { border-radius: 6px; margin-right: 6px; transition: transform .8s var(--ease); }
.pill:hover .pill-dot { transform: rotate(180deg); }
.pill a { padding: 8px 12px; border-radius: 99px; text-decoration: none; font-size: 14px; color: rgba(237, 230, 214, .78); transition: color .25s, background-color .25s; }
.pill a:hover, .pill a.is-on { color: var(--cream); background: var(--raised); }
.pill .btn { margin-left: 4px; }
.coinbar { justify-self: end; display: flex; align-items: center; gap: 6px; padding: 5px; background: rgba(8, 26, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.ca { height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 99px; border: 0; background: transparent; color: rgba(237, 230, 214, .82); cursor: pointer; font-size: 13px; max-width: 220px; }
.ca:hover { background: var(--raised); color: var(--cream); }
.ca-k { font-weight: 600; color: var(--cream); }
#caText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 99px; color: var(--cream); }
.ico:hover { background: var(--raised); }
.ico svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; background: var(--green); color: var(--cream); overflow: hidden; }
#flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: absolute; left: var(--m); bottom: calc(var(--m) + 8px); max-width: min(720px, 60vw); z-index: 2; }
.hero h1 { margin: 0 0 14px; font-weight: 400; font-size: clamp(46px, 6.2vw, 120px); line-height: .98; letter-spacing: -.035em; white-space: nowrap; }
.hero-sub { margin: 0 0 22px; max-width: 520px; font-size: clamp(15px, 1.1vw, 19px); color: rgba(237, 230, 214, .8); }
.hero-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.latest { position: absolute; right: var(--m); bottom: calc(var(--m) + 8px); z-index: 2; width: min(340px, 30vw); padding: 16px; border-radius: 14px; background: rgba(8, 26, 18, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-dark); }
.latest-k { margin: 0 0 12px; font-size: 13px; color: var(--sage); }
.latest-body .lt-row { display: flex; align-items: center; gap: 12px; }
.latest-body .lt-main { font-size: 17px; line-height: 1.25; }
.latest-body .lt-meta { margin: 10px 0 14px; font-size: 13px; color: rgba(237, 230, 214, .66); }
.tok { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--raised); flex: none; }
.tok-sm { width: 26px; height: 26px; border-radius: 7px; }
.tok-blank { display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--sage); }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); padding: clamp(80px, 11vw, 190px) var(--m) clamp(70px, 9vw, 150px); }
.statement { grid-column: 2; margin: 0; font-size: clamp(22px, 2.15vw, 40px); line-height: 1.22; letter-spacing: -.015em; }
.statement .ln { display: block; overflow: hidden; }
.statement .ln > span { display: block; }
.lookup { grid-column: 1; grid-row: 1; align-self: end; max-width: 440px; }
.lookup label { display: block; font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.lookup-row { display: flex; gap: 8px; padding: 5px 5px 5px 18px; border-radius: 99px; background: #fff9ec; box-shadow: inset 0 0 0 1px var(--line-light); }
.lookup-row input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--mono); font-size: 13px; }
.lookup-err { min-height: 1.2em; margin: 8px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- panels shared ---------- */
.panel-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--m); padding: var(--m); }
.title { margin: 0; font-weight: 400; font-size: clamp(38px, 4.4vw, 84px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.title-lg { margin: 0; font-weight: 400; font-size: clamp(34px, 4vw, 76px); line-height: 1.04; letter-spacing: -.03em; max-width: 15ch; text-wrap: balance; }
.foot-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 360px; font-size: 14px; }
.foot-side p { margin: 0; opacity: .78; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 99px; background: rgba(14, 42, 30, .07); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 99px; background: transparent; cursor: pointer; font-size: 14px; color: inherit; opacity: .7; }
.seg button[aria-selected="true"] { background: var(--green); color: var(--cream); opacity: 1; }
.tape .seg, .seg-dark { background: rgba(237, 230, 214, .08); }
.tape .seg button[aria-selected="true"], .seg-dark button[aria-selected="true"] { background: var(--cream); color: var(--green); }
.empty { padding: 40px 6px; margin: 0; text-align: center; opacity: .7; }

/* ---------- tape ---------- */
.tape { background: var(--page); padding: 0; }
.tape-frame { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--deep); color: var(--cream); clip-path: inset(0 0 0 0); }
.tape-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 86px var(--m) 12px; flex-wrap: wrap; }
.tape-status { margin: 0; font-size: 14px; color: var(--sage); }
.tape-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sage); vertical-align: 1px; animation: beat 2s ease-in-out infinite; }
@keyframes beat { 50% { opacity: .25; } }
.tape-scroll { flex: 1; min-height: 0; max-height: 62vh; overflow: auto; margin: 0 var(--m); border-top: 1px solid var(--line-dark); overscroll-behavior: contain; }
.tape-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tape-table th { position: sticky; top: 0; z-index: 1; background: var(--deep); text-align: left; font-weight: 400; color: var(--sage); padding: 12px 10px; font-size: 13px; }
.tape-table td { padding: 11px 10px; border-top: 1px solid var(--line-dark); vertical-align: middle; white-space: nowrap; }
.tape-table .num { text-align: right; }
.tape-table tr.new td { animation: flash 1.6s var(--ease); }
@keyframes flash { from { background: rgba(237, 230, 214, .14); } to { background: transparent; } }
.who { display: flex; flex-direction: column; line-height: 1.2; }
.who b { font-weight: 500; }
.who span { font-family: var(--mono); font-size: 12px; opacity: .55; }
.trade { display: flex; align-items: center; gap: 10px; }
.side-buy { color: var(--cream); font-weight: 600; }
.side-sell { color: var(--sage); font-weight: 600; }
.sub { display: block; font-size: 12px; opacity: .55; }
.link { color: var(--sage); text-decoration: none; }
.link:hover { color: var(--cream); text-decoration: underline; }
.wbtn { border: 0; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; padding: 0; text-align: left; }
.mini { height: 30px; padding: 0 12px; border-radius: 99px; border: 0; cursor: pointer; background: var(--cream); color: var(--green); font-size: 13px; font-weight: 500; }
.mini:hover { background: #fff8e9; }
.mini-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; opacity: .8; }

/* ---------- board + wallet ---------- */
.board { position: relative; background: var(--green); color: var(--cream); }
.board-grid { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; min-height: 100vh; min-height: 100svh; }
.board-list { padding: 86px 0 0 var(--m); display: flex; flex-direction: column; min-width: 0; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; padding-right: 10px; }
.src { margin: 0; font-size: 13px; color: var(--sage); }
.src a { color: inherit; }
.ranks { list-style: none; margin: 0; padding: 0 10px 0 0; overflow: auto; max-height: calc(100vh - 220px); border-top: 1px solid var(--line-dark); overscroll-behavior: contain; }
.ranks li button { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent; color: inherit; cursor: pointer; text-align: left; transition: background-color .25s; }
.ranks li button:hover, .ranks li button[aria-current="true"] { background: var(--raised); }
.rk { font-family: var(--mono); font-size: 12px; opacity: .5; }
.rn b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rn span { font-size: 12px; opacity: .55; }
.rv { text-align: right; font-family: var(--mono); font-size: 14px; }
.rv span { display: block; font-size: 11px; opacity: .55; font-family: var(--sans); }
.pos { color: var(--cream); }
.neg { color: var(--sage); }
.wallet { position: relative; min-width: 0; min-height: 70vh; }
#roots { position: absolute; inset: 0; width: 100%; height: 100%; }
.wallet-card { position: absolute; right: var(--m); top: 86px; width: min(380px, 90%); padding: 18px; border-radius: 14px; background: rgba(8, 26, 18, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-dark); }
.wc-name { margin: 0; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.wc-addr { margin: 4px 0 14px; font-family: var(--mono); font-size: 12px; opacity: .6; }
.wc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0 0 14px; }
.wc-stats dt { font-size: 12px; opacity: .6; }
.wc-stats dd { margin: 2px 0 0; font-family: var(--mono); font-size: 18px; }
.wc-note { margin: 0 0 14px; font-size: 12px; opacity: .7; }
.wc-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.board .panel-foot { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.board .panel-foot > * { pointer-events: auto; }
.board .panel-foot .title { padding-left: 0; }

/* ---------- replay ---------- */
.replay { position: relative; padding: clamp(90px, 10vw, 170px) var(--m) clamp(60px, 7vw, 110px); background-color: var(--page);
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--m)) / 12) 120px; background-position: var(--m) 0; }
.replay-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 80px); }
.replay-head mark { background-image: linear-gradient(var(--green), var(--green)); background-color: transparent; background-repeat: no-repeat; }
.replay-ctl { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.replay-ctl label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: #fff9ec; box-shadow: inset 0 0 0 1px var(--line-light); color: var(--green); }
.field input { width: 70px; border: 0; background: transparent; outline: none; font-family: var(--mono); }
.cards { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: var(--m); align-items: end; }
.card { padding: 22px; border-radius: 16px; background: rgba(255, 249, 236, .72); box-shadow: inset 0 0 0 1px var(--line-light); min-height: 260px; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 auto; font-weight: 400; font-size: 15px; color: var(--muted); }
.card .big { margin: 30px 0 6px; font-size: clamp(36px, 3.6vw, 64px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.card-note { margin: 0; font-size: 13px; color: var(--muted); }
.card-dark { background: var(--green); color: var(--cream); min-height: 360px; box-shadow: none; }
.card-dark h3, .card-dark .card-note { color: var(--sage); }
.curve { width: 100%; height: 120px; margin: 10px 0; overflow: visible; }
.method { max-width: 760px; margin: 34px 0 0 auto; font-size: 14px; color: var(--muted); }
.movers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); margin-top: 30px; }
.movers h4 { margin: 0 0 8px; font-weight: 400; font-size: 14px; color: var(--muted); }
.movers ul { list-style: none; margin: 0; padding: 0; }
.movers li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line-light); font-size: 14px; }

/* ---------- band ---------- */
.band { position: relative; background: var(--green); color: var(--cream); padding: clamp(110px, 13vw, 220px) var(--m) 0; overflow: hidden; }
.band-lines { position: absolute; inset: 0 0 auto 0; width: 100%; height: 70%; opacity: .55; }
.band blockquote { position: relative; margin: 0 auto; max-width: 980px; text-align: center; }
.band blockquote p { margin: 0; font-size: clamp(26px, 3vw, 54px); line-height: 1.15; letter-spacing: -.02em; }
.ridges { display: block; width: 100%; height: clamp(120px, 15vw, 240px); margin-top: clamp(70px, 9vw, 150px); }

/* ---------- popular, follows ---------- */
.popular, .follows { padding: clamp(80px, 9vw, 150px) var(--m) clamp(40px, 5vw, 80px); }
.follows { padding-bottom: clamp(90px, 10vw, 170px); }
.follows-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.follows-head p { max-width: 420px; margin: 0; color: var(--muted); }
.rows { list-style: none; margin: 34px 0 0; padding: 0; }
.rows li { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-light); font-size: 15px; }
.rows li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--green); transition: width .6s var(--ease); }
.rows li:hover::after { width: 100%; }
.rows .r-name b { font-weight: 500; }
.rows .r-name span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rows .r-num { font-family: var(--mono); font-size: 14px; }
.rows .r-acts { display: flex; gap: 8px; justify-content: flex-end; }
.rows .r-empty { display: block; color: var(--muted); }
.rows .mini { background: var(--green); color: var(--cream); }
.rows .mini-ghost { background: transparent; color: var(--green); }
.addf { display: flex; gap: 8px; flex-wrap: wrap; padding: 5px; border-radius: 99px; background: #fff9ec; box-shadow: inset 0 0 0 1px var(--line-light); max-width: 760px; }
.addf input { flex: 1 1 200px; min-width: 0; border: 0; background: transparent; outline: none; padding: 0 14px; height: 36px; }
#addAddr { font-family: var(--mono); font-size: 13px; flex-basis: 300px; }
#followsConnect { margin-top: 30px; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--page); overflow: hidden; }
.ridges-foot { margin: 0; height: clamp(160px, 20vw, 320px); }
.wordmark { margin: 0; padding: clamp(60px, 8vw, 140px) var(--m) 0; font-weight: 700; font-size: clamp(36px, 10.4vw, 270px); line-height: .9; letter-spacing: -.035em; white-space: nowrap; color: var(--green); }
.foot-base { display: grid; grid-template-columns: auto 1fr 1fr 1.4fr; gap: var(--m); padding: clamp(36px, 4vw, 64px) var(--m) 40px; background: var(--sand); color: var(--green); }
.foot-base img { border-radius: 12px; }
.foot-base ul { list-style: none; margin: 0; padding: 0; }
.foot-base li { padding: 6px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; }
.foot-base li a { text-decoration: none; }
.foot-base li a:hover { text-decoration: underline; }
.fine { margin: 0; font-size: 13px; color: var(--muted); max-width: 440px; }

/* ---------- sheets and toasts ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; background: rgba(8, 26, 18, .55); padding: var(--m); }
[hidden] { display: none !important; }
.sheet-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 2 * var(--m)); overflow: auto; padding: 26px; border-radius: 20px; background: var(--green); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-dark); }
.sheet-sm { width: min(400px, 100%); }
.sheet-card h2 { margin: 0 0 6px; font-weight: 400; font-size: 30px; letter-spacing: -.02em; }
.sheet-x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border-radius: 99px; border: 0; background: var(--raised); color: var(--cream); font-size: 20px; cursor: pointer; }
.sheet-src { margin: 0 0 18px; color: rgba(237, 230, 214, .75); font-size: 15px; }
.sheet .field { background: var(--raised); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-dark); }
.sheet .field input { width: 110px; }
.qrow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-dark); font-size: 14px; }
.qrow span:last-child { font-family: var(--mono); }
.sheet-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sheet-msg { margin: 14px 0 0; font-size: 14px; color: var(--sage); min-height: 1.2em; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 14px; }
.chips button { height: 32px; padding: 0 14px; border-radius: 99px; border: 0; background: var(--raised); color: var(--cream); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--cream); color: var(--green); }
.pick-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pick-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 0; background: var(--raised); color: var(--cream); cursor: pointer; font-size: 16px; }
.pick-list button:hover { background: #1d4734; }
.pick-list img { width: 30px; height: 30px; border-radius: 8px; }
.toasts { position: fixed; right: var(--m); bottom: var(--m); z-index: 90; display: grid; gap: 8px; width: min(360px, calc(100vw - 2 * var(--m))); }
.toast { padding: 14px 16px; border-radius: 14px; background: var(--deep); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 14px; animation: tin .5s var(--ease); }
.toast b { font-weight: 600; }
@keyframes tin { from { transform: translateY(14px); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .masthead { grid-template-columns: auto 1fr auto; gap: 10px; }
  .pill a { display: none; }
  .pill { justify-self: end; }
  .ca { max-width: 120px; }
  .board-grid { grid-template-columns: 1fr; }
  .wallet { min-height: 92vh; }
  .ranks { max-height: 60vh; }
  .board .panel-foot { position: static; }
  .cards { grid-template-columns: 1fr; }
  .foot-base { grid-template-columns: auto 1fr 1fr; }
  .fine { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .brandmark span { display: none; }
  .pill-dot { display: none; }
  .pill { padding: 4px; }
  .masthead { grid-template-columns: auto 1fr; row-gap: 8px; }
  .coinbar { grid-column: 1 / -1; justify-self: stretch; padding: 4px; }
  .ca { flex: 1; max-width: none; justify-content: flex-start; }
  .hero-copy { max-width: none; right: var(--m); bottom: auto; top: 25vh; }
  .hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .latest { left: var(--m); right: var(--m); width: auto; bottom: var(--m); }
  .intro { grid-template-columns: 1fr; }
  .statement, .lookup { grid-column: 1; grid-row: auto; }
  .panel-foot { flex-direction: column; align-items: flex-start; }
  .title { white-space: normal; }
  .tape-table th:nth-child(5), .tape-table td:nth-child(5), .tape-table th:nth-child(6), .tape-table td:nth-child(6) { display: none; }
  .tape-table td, .tape-table th { padding: 10px 6px; }
  .tape-table th:nth-child(1), .tape-table td:nth-child(1) { display: none; }
  .tape-table .who span, .tape-table .tok-sm { display: none; }
  .tape-table .num .sub { display: none; }
  section[id], .band { scroll-margin-top: 112px; }
  .wallet-card { position: relative; right: auto; top: auto; margin: 52vh var(--m) 0; width: auto; }
  .rows li { grid-template-columns: 1fr auto; }
  .rows .r-num { font-size: 13px; }
  .rows .r-num:nth-child(3) { display: none; }
  .movers { grid-template-columns: 1fr; }
  .foot-base { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover .roll { transform: none; }
}
