/* Sherwood Mint. A mint house hidden in the forest: moss frame, mist page, gold foil.
   Type: Newsreader for headlines, DM Sans for everything else. Numbers always tabular. */
:root {
  --moss: #163a2a; --moss-2: #1f4d38; --moss-deep: #0f2a1e; --moss-line: rgba(159, 227, 189, .22);
  --mist: #f2f6f3; --card: #ffffff; --sage: #d8e4dc; --sage-2: #eaf1ec; --sage-3: #f7faf8;
  --mint: #9fe3bd; --mint-ink: #1e7a4c; --mint-pale: #e4f7ec;
  --gold: #c9a24d; --gold-2: #d9b565; --gold-ink: #8b6a1f; --gold-pale: #f7efd9;
  --ink: #12241b; --mute: #5d7066; --down: #8a5a12; --down-pale: #f7efd9;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 6px; --frame: 8px; --wrap: 1180px; --pad: 24px; --head: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--moss); -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--mist); color: var(--ink); font: 15px/1.55 var(--sans); font-variant-numeric: lining-nums tabular-nums; -webkit-font-smoothing: antialiased; }
/* The dark green frame around the whole page, like a gallery mat. */
body::after { content: ""; position: fixed; inset: 0; border: var(--frame) solid var(--moss); pointer-events: none; z-index: 80; }
[hidden] { display: none !important; }
a { color: inherit; }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.012em; }
h1 { font-size: 40px; } h2 { font-size: 30px; } h3 { font-size: 21px; } h4 { font-size: 17px; }
p { margin: 0 0 10px; }
code { font-family: var(--mono); font-size: .86em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--mint); color: var(--moss); }
main { flex: 1 0 auto; }

/* ---- layout ---- */
.sm-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
.sm-main { padding-block: 34px 72px; }
.sm-two { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); gap: 22px; align-items: start; }
.sm-stack > * + * { margin-top: 18px; }
.sm-section { margin: 0 0 42px; }
.sm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 0 0 18px; }
.sm-section-head h2 { font-size: 34px; }
.sm-eyebrow { display: block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
.sm-mute { color: var(--mute); } .sm-up { color: var(--mint-ink); } .sm-down { color: var(--down); }
.sm-small { font-size: 12px; } .sm-lead { font-size: 17px; line-height: 1.6; color: var(--mute); max-width: 62ch; }
.sm-row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sm-state { color: var(--mute); margin: 8px 0 14px; min-height: 1.2em; }
.sm-note { font-size: 13px; color: var(--mute); }
.sm-addr { font-family: var(--mono); font-size: 12px; color: var(--mute); word-break: break-all; }

/* ---- header ---- */
.sm-header { background: var(--moss); color: var(--mist); position: sticky; top: 0; z-index: 40; }
.sm-header-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: var(--head); display: flex; align-items: center; gap: 22px; }
.sm-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--mist); font-family: var(--serif); font-size: 23px; line-height: 1; letter-spacing: -.005em; white-space: nowrap; }
.sm-brand svg { width: 32px; height: 32px; flex: none; }
.sm-nav { display: flex; gap: 2px; margin-left: 6px; }
.sm-nav a { text-decoration: none; color: rgba(242, 246, 243, .74); padding: 8px 12px; border-radius: 4px; font-size: 14px; font-weight: 500; position: relative; }
.sm-nav a:hover { color: var(--mist); }
.sm-nav a.is-on { color: var(--mint); }
.sm-nav a.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--gold); border-radius: 2px; }
.sm-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.sm-connect { background: transparent; color: var(--mint); border-color: rgba(159, 227, 189, .55); }
.sm-connect:hover { border-color: var(--mint); background: rgba(159, 227, 189, .08); }
.sm-connect.is-connected { background: var(--mint); color: var(--moss); border-color: var(--mint); font-family: var(--mono); font-weight: 600; }
.sm-header .sm-burger { display: none; background: transparent; color: var(--mist); border-color: rgba(242, 246, 243, .3); padding: 7px; }

/* ---- buttons ---- */
.sm-btn, .tp-btn, .ip-btn, .sm-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--sage); border-radius: 4px; background: var(--card); color: var(--ink); font: 500 13px/1.2 var(--sans); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.sm-btn:hover, .tp-btn:hover, .ip-btn:hover, .sm-copy:hover { border-color: var(--moss); }
.sm-btn:disabled, .tp-btn:disabled, .ip-btn:disabled { opacity: .45; cursor: default; border-color: var(--sage); }
.sm-btn-gold, .tp-btn-primary { background: var(--gold); border-color: var(--gold); color: var(--moss); font-weight: 600; }
.sm-btn-gold:hover, .tp-btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.sm-btn-moss { background: var(--moss); border-color: var(--moss); color: var(--mist); }
.sm-btn-moss:hover { background: var(--moss-2); border-color: var(--moss-2); }
.sm-btn-ghost, .ip-btn-ghost { background: transparent; }
.sm-btn-lg { padding: 11px 18px; font-size: 14px; }
.sm-btn.is-ok, .sm-copy.is-ok { border-color: var(--mint-ink); color: var(--mint-ink); }
.sm-copy { padding: 5px 9px; font-size: 12px; }
.sm-link { color: var(--mint-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---- stamps and seals ---- */
.sm-stamp { display: inline-block; padding: 5px 11px; border: 2px solid var(--gold); border-radius: 3px; box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--gold); color: var(--gold-ink); font: 700 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; transform: rotate(-6deg); background: rgba(255, 255, 255, .82); }
.sm-stamp-cover { position: absolute; right: 14px; bottom: 16px; font-size: 14px; padding: 7px 14px; transform: rotate(-9deg); }
.sm-stamp-mint { border-color: var(--mint-ink); box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px var(--mint-ink); color: var(--mint-ink); }
.sm-sample { position: fixed; right: 26px; top: 86px; z-index: 45; transform: rotate(6deg); font-size: 12px; padding: 7px 13px; }
.sm-seal { display: inline-block; width: 40px; height: 40px; }

/* ---- cards, placards ---- */
.sm-card { background: var(--card); border: 1px solid var(--sage); border-radius: var(--r); padding: 20px; }
.sm-card > h3, .sm-card > h2 { margin: 0 0 12px; }
.sm-card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.sm-card-title h3 { margin: 0; }
.sm-placard { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--sage); border: 1px solid var(--sage); border-radius: var(--r); overflow: hidden; }
.sm-stat { background: var(--card); padding: 14px 16px; min-width: 0; }
.sm-stat b { display: block; font-weight: 600; font-size: 18px; letter-spacing: -.01em; line-height: 1.25; overflow-wrap: break-word; }
.sm-placard-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm-placard-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sm-stat span { display: block; color: var(--mute); font-size: 12px; margin-top: 3px; }
.sm-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.sm-kv dt { color: var(--mute); } .sm-kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.sm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sm-table th, .sm-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--sage); vertical-align: middle; }
.sm-table th { font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.sm-table tr:last-child td { border-bottom: 0; }
.sm-table-wrap { overflow-x: auto; }
.sm-empty { display: flex; gap: 14px; align-items: center; padding: 26px 22px; border: 1px dashed var(--sage); border-radius: var(--r); color: var(--mute); background: var(--sage-3); }
.sm-empty svg { flex: none; width: 34px; height: 34px; color: var(--mint-ink); }
.sm-empty b { display: block; color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 19px; margin-bottom: 2px; }

/* ---- logos with a letter fallback ---- */
.sm-logo { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: var(--moss); color: var(--mint); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; flex: none; border: 1px solid var(--sage); }
.sm-logo-lg { width: 76px; height: 76px; border-radius: 14px; font-size: 36px; }
.sm-letter { display: grid; place-items: center; width: 100%; height: 100%; background: var(--moss); color: var(--mint); font-family: var(--serif); font-size: 96px; }

/* ---- hero ---- */
.sm-hero { background: var(--moss); color: var(--mist); position: relative; overflow: hidden; }
.sm-hero-in { max-width: var(--wrap); margin: 0 auto; padding: 44px var(--pad) 40px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center; }
.sm-hero h1 { font-size: clamp(38px, 5.2vw, 66px); font-weight: 400; line-height: 1.02; letter-spacing: -.018em; max-width: 12ch; }
.sm-hero h1 em { font-style: italic; color: var(--mint); }
.sm-hero .sm-eyebrow { color: var(--gold); margin-bottom: 16px; }
.sm-hero p { font-size: 17px; line-height: 1.6; max-width: 50ch; color: rgba(242, 246, 243, .8); margin: 18px 0 24px; }
.sm-hero-art { justify-self: end; width: 100%; max-width: 440px; }
.sm-hero-art svg { width: 100%; height: auto; display: block; }
.sm-ledger { border-top: 1px solid var(--moss-line); margin-top: 30px; padding-top: 18px; display: flex; gap: 34px; flex-wrap: wrap; }
.sm-ledger b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.sm-ledger span { color: rgba(242, 246, 243, .62); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sm-hero .sm-btn-ghost { color: var(--mist); border-color: rgba(242, 246, 243, .35); }
.sm-hero .sm-btn-ghost:hover { border-color: var(--mist); }
@media (prefers-reduced-motion: no-preference) {
  .sm-draw path, .sm-draw use { stroke-dasharray: 700; stroke-dashoffset: 700; animation: sm-draw 2.2s ease-out forwards; }
  .sm-draw .sm-seal-art { opacity: 0; animation: sm-fade .8s ease-out 1.4s forwards; }
}
@keyframes sm-draw { to { stroke-dashoffset: 0; } }
@keyframes sm-fade { to { opacity: 1; } }

/* ---- segmented switch ---- */
.sm-seg { display: inline-flex; border: 1px solid var(--sage); border-radius: 5px; background: var(--card); padding: 3px; gap: 2px; }
.sm-seg button { font: 500 13px/1.2 var(--sans); padding: 6px 13px; border: 0; background: transparent; border-radius: 3px; cursor: pointer; color: var(--mute); }
.sm-seg button.is-on { background: var(--moss); color: var(--mist); }
.sm-seg button:not(.is-on):hover { color: var(--ink); }

/* ---- the gallery (drops) ---- */
.sm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.sm-drop { background: var(--card); border: 1px solid var(--sage); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.sm-drop:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -20px rgba(22, 58, 42, .55); }
.sm-cover { position: relative; aspect-ratio: 1 / 1; background: var(--sage-2); overflow: hidden; }
.sm-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-cover a { position: absolute; inset: 0; }
.sm-drop-body { padding: 16px 18px 18px; border-top: 2px solid var(--gold); }
.sm-drop-body h3 { font-size: 24px; margin: 0 0 2px; }
.sm-drop-body h3 a { text-decoration: none; }
.sm-drop-body h3 a:hover { color: var(--mint-ink); }
.sm-drop-meta { color: var(--mute); font-size: 12px; margin: 0 0 12px; }
.sm-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 13px; margin: 0 0 8px; }
.sm-status.is-live { color: var(--mint-ink); }
.sm-status.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-ink); box-shadow: 0 0 0 3px rgba(159, 227, 189, .45); }
.sm-progress { height: 4px; background: var(--sage-2); border-radius: 2px; overflow: hidden; margin: 6px 0 6px; }
.sm-progress i { display: block; height: 100%; background: var(--gold); }
.sm-drop-nums { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--mute); margin: 0 0 14px; flex-wrap: wrap; }
.sm-drop-nums b { color: var(--ink); font-weight: 600; }
.is-fresh { animation: sm-tremble .5s ease; box-shadow: 0 0 0 2px var(--mint) !important; }
@keyframes sm-tremble { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

/* ---- the shelf (tokens) ---- */
.sm-shelf { border: 1px solid var(--sage); border-radius: var(--r); background: var(--card); overflow: hidden; }
.sm-shelf-head, .sm-row { display: grid; grid-template-columns: minmax(200px, 1.7fr) 1fr .6fr 1.1fr 1.1fr .9fr auto; gap: 14px; align-items: center; padding: 12px 18px; }
.sm-shelf-head { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--sage); background: var(--sage-3); font-weight: 600; }
.sm-row { border-bottom: 1px solid var(--sage); }
.sm-row:last-child { border-bottom: 0; }
.sm-row:hover { background: var(--sage-3); }
.sm-row-token { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sm-row-token a { text-decoration: none; font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.sm-row-token a:hover { color: var(--mint-ink); }
.sm-row-token small { display: block; color: var(--mute); font-size: 12px; }
.sm-ticker { color: var(--gold-ink); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.sm-cell { min-width: 0; font-size: 14px; }
.sm-cell b { font-weight: 600; }
.sm-cell small { display: block; color: var(--mute); font-size: 12px; }
.sm-cell-l { display: none; }

/* ---- forms ---- */
.sm-field { display: flex; flex-direction: column; gap: 5px; margin: 0 0 14px; min-width: 0; }
.sm-field > label { font-weight: 600; font-size: 13px; }
.sm-field input, .sm-field textarea, .sm-field select, .tp-custom input, .ip-drop + div input, [data-url] { font: inherit; padding: 9px 11px; border: 1px solid var(--sage); border-radius: 4px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.sm-field input:focus, .sm-field textarea:focus, .sm-field select:focus, [data-url]:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(159, 227, 189, .5); }
.sm-field textarea { resize: vertical; }
.sm-hint { font-size: 12px; color: var(--mute); }
.sm-err { color: var(--down); font-size: 12px; min-height: 1em; }
.sm-fs { border: 1px solid var(--sage); border-radius: var(--r); padding: 18px 20px 8px; margin: 0 0 18px; background: var(--card); min-width: 0; }
.sm-fs legend { font-family: var(--serif); font-size: 21px; padding: 0 8px; margin-left: -8px; }
.sm-fs-note { color: var(--mute); font-size: 13px; margin: -6px 0 14px; }
.sm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sm-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sm-inline input { width: 90px; padding: 7px 9px; border: 1px solid var(--sage); border-radius: 4px; }
.sm-check { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 13px; cursor: pointer; }
.sm-check input { width: 16px; height: 16px; accent-color: var(--moss); margin: 0; }
.sm-phase { border: 1px solid var(--sage); border-radius: var(--r); padding: 14px 16px 6px; margin: 0 0 12px; background: var(--card); }
.sm-phase.is-on { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.sm-phase-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.sm-phase-head .sm-check { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.sm-phase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; }
.sm-sheet { position: sticky; top: calc(var(--head) + 18px); }
.sm-sheet .sm-kv { margin: 0 0 14px; }
.sm-sheet-status { margin: 0; padding-top: 12px; border-top: 1px solid var(--sage); font-weight: 500; }
.sm-status-line { min-height: 1.4em; }

/* ---- learn ---- */
.sm-learn { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.sm-learn-nav { position: sticky; top: calc(var(--head) + 18px); }
.sm-learn-nav a { display: block; padding: 9px 12px; text-decoration: none; border-radius: 4px; color: var(--mute); font-size: 14px; }
.sm-learn-nav a:hover { color: var(--ink); background: var(--sage-3); }
.sm-learn-nav a[aria-current] { color: var(--moss); background: var(--sage-2); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.sm-article { padding: 34px 40px 40px; }
.sm-article h1 { font-size: 42px; margin: 0 0 18px; max-width: 18ch; }
.sm-article p { font-size: 17px; line-height: 1.68; max-width: 64ch; margin: 0 0 16px; }
.sm-article p:first-of-type { font-size: 19px; color: var(--ink); }
.sm-article-foot { border-top: 1px solid var(--sage); padding-top: 16px; margin-top: 26px; font-size: 13px; color: var(--mute); }

/* ---- token page ---- */
.sm-title { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.sm-title h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.sm-title h1 .sm-ticker { font-family: var(--sans); font-size: 15px; vertical-align: middle; margin-left: 8px; }
.sm-title-body { min-width: 0; flex: 1 1 320px; }
.sm-idrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 0; font-size: 12px; color: var(--mute); }
.sm-idrow code { font-size: 12px; color: var(--ink); overflow-wrap: anywhere; word-break: break-all; }
.sm-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sm-chart { width: 100%; height: 420px; border: 0; border-radius: var(--r); background: var(--moss-deep); display: block; }
.sm-spark { width: 100%; height: auto; display: block; }
.sm-spark text { font-family: var(--sans); font-size: 12px; fill: var(--mute); }
.sm-about p { font-size: 15px; line-height: 1.65; max-width: 66ch; }

/* ---- collection page ---- */
.sm-banner { position: relative; height: 240px; border-radius: var(--r); overflow: hidden; background: var(--moss); border: 1px solid var(--sage); }
.sm-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-banner-art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mint); opacity: .55; }
.sm-banner-art svg { width: 220px; height: auto; }
.sm-placard-head { display: flex; gap: 22px; align-items: flex-start; margin: -46px 0 0 26px; position: relative; flex-wrap: wrap; }
.sm-cover-lg { width: 132px; height: 132px; border-radius: 10px; border: 4px solid var(--card); background: var(--moss); box-shadow: 0 10px 30px -14px rgba(22, 58, 42, .6); overflow: hidden; flex: none; position: relative; display: grid; place-items: center; color: var(--mint); font-family: var(--serif); font-size: 56px; }
.sm-cover-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-placard-text { padding: 58px 0 4px; min-width: 0; flex: 1 1 320px; }
.sm-schedule { list-style: none; margin: 0; padding: 0; }
.sm-phase-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--sage); position: relative; }
.sm-phase-row:last-child { border-bottom: 0; }
.sm-phase-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--sage); background: var(--card); margin-top: 5px; }
.sm-phase-row.is-open .sm-phase-dot { background: var(--mint-ink); border-color: var(--mint-ink); box-shadow: 0 0 0 3px rgba(159, 227, 189, .5); }
.sm-phase-row.is-ended .sm-phase-dot { background: var(--sage); }
.sm-phase-row.is-next .sm-phase-dot { border-color: var(--gold); background: var(--gold-pale); }
.sm-phase-name { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sm-phase-name b { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.sm-phase-when { color: var(--mute); font-size: 13px; margin: 2px 0 0; }
.sm-phase-terms { font-size: 13px; margin: 4px 0 0; }
.sm-pill { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--sage-2); color: var(--mute); }
.sm-pill.is-live { background: var(--mint-pale); color: var(--mint-ink); }
.sm-pill.is-next { background: var(--gold-pale); color: var(--gold-ink); }
.sm-mintbox { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.sm-mintbox h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sm-price { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 2px; }
.sm-price small { font-size: 14px; color: var(--mute); font-weight: 500; letter-spacing: 0; }
.sm-stepper { display: inline-flex; align-items: center; border: 1px solid var(--sage); border-radius: 4px; overflow: hidden; }
.sm-stepper button { width: 38px; height: 38px; border: 0; background: var(--card); cursor: pointer; font-size: 18px; color: var(--ink); }
.sm-stepper button:hover { background: var(--sage-3); }
.sm-stepper button:disabled { opacity: .35; cursor: default; }
.sm-stepper b { min-width: 44px; text-align: center; font-size: 17px; border-left: 1px solid var(--sage); border-right: 1px solid var(--sage); height: 38px; line-height: 38px; }
.sm-mint-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.sm-mint-go { width: 100%; padding: 12px; font-size: 15px; }
.sm-recent-row.is-fresh { box-shadow: inset 3px 0 0 var(--mint); }

/* ---- dashboard ---- */
.sm-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* ---- launch chooser ---- */
.sm-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sm-choice { display: block; text-decoration: none; padding: 28px 28px 26px; border: 1px solid var(--sage); border-radius: var(--r); background: var(--card); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.sm-choice:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 34px -22px rgba(22, 58, 42, .55); }
.sm-choice h2 { font-size: 32px; margin: 14px 0 8px; }
.sm-choice p { color: var(--mute); max-width: 40ch; }
.sm-choice svg { width: 44px; height: 44px; }
.sm-choice .sm-btn { margin-top: 12px; }
.sm-choice-art { position: absolute; right: -20px; bottom: -30px; width: 190px; opacity: .12; color: var(--moss); pointer-events: none; }

/* ---- trade panel ---- */
.tp-tabs { display: inline-flex; border: 1px solid var(--sage); border-radius: 5px; padding: 3px; gap: 2px; margin-bottom: 12px; background: var(--card); }
.tp-tab { font: 500 13px/1.2 var(--sans); padding: 6px 16px; border: 0; background: transparent; border-radius: 3px; cursor: pointer; color: var(--mute); }
.tp-tab.is-on { background: var(--moss); color: var(--mist); }
.tp-leg { border: 1px solid var(--sage); border-radius: var(--r); padding: 12px 14px; margin: 0; background: var(--sage-3); }
.tp-leg-top { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--mute); }
.tp-lbl { font-weight: 600; color: var(--mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tp-bal { margin-left: auto; }
.tp-btn-max { padding: 3px 8px; font-size: 11px; }
.tp-amt { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.tp-input { flex: 1; font: 600 26px/1.2 var(--sans); letter-spacing: -.02em; border: 0; outline: 0; background: transparent; min-width: 0; color: var(--ink); padding: 0; }
.tp-input::placeholder { color: #b7c6bd; }
.tp-out { flex: 1; font: 600 26px/1.2 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; }
.tp-asset { font-weight: 600; color: var(--moss); background: var(--mint-pale); padding: 4px 9px; border-radius: 4px; font-size: 13px; }
.is-dim { color: var(--mute); }
.tp-mid { height: 10px; position: relative; }
.tp-mid::before { content: ""; position: absolute; left: 50%; top: -4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--card); border: 1px solid var(--sage); }
.tp-facts { display: grid; gap: 5px; font-size: 13px; margin: 12px 0; }
.tp-fact { display: flex; justify-content: space-between; gap: 10px; }
.tp-fact dt { color: var(--mute); } .tp-fact dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.tp-fact dd.is-down { color: var(--down); }
.tp-hint { font-size: 12px; color: var(--mute); margin: 0 0 10px; }
.tp-slip { display: flex; justify-content: space-between; align-items: center; font-size: 12px; gap: 8px; flex-wrap: wrap; }
.tp-seg { display: inline-flex; gap: 3px; }
.tp-seg button { font: 500 12px/1.2 var(--sans); padding: 4px 8px; border: 1px solid var(--sage); background: var(--card); border-radius: 4px; cursor: pointer; }
.tp-seg button.is-on { background: var(--moss); color: var(--mist); border-color: var(--moss); }
.tp-custom { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-top: 8px; }
.tp-custom input { width: 80px; padding: 5px 8px; }
.tp-note { font-size: 12px; color: var(--mute); margin: 8px 0 0; }
.tp-note.is-warn { color: var(--down); }
.tp-act { margin-top: 12px; }
.tp-act .tp-btn { width: 100%; padding: 12px; font-size: 15px; }
.tp-steps { display: flex; gap: 8px; align-items: center; font-size: 12px; margin: 10px 0 0; flex-wrap: wrap; }
.tp-steps i { font-style: normal; color: var(--mute); }
.tp-cap { font-size: 12px; display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.tp-cap i { font-style: normal; color: var(--mute); }
.tp-foot { font-size: 12px; margin: 8px 0 0; }
.tp-empty { color: var(--mute); margin: 0; }

/* ---- image picker ---- */
.ip-drop { border: 1px dashed var(--sage); border-radius: var(--r); padding: 12px; display: flex; gap: 12px; align-items: center; background: var(--sage-3); }
.ip-drop.is-over { border-color: var(--moss); background: var(--mint-pale); }
.ip-prev { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--moss); color: var(--mint); display: grid; place-items: center; flex: none; }
.ip-main { min-width: 0; }
.ip-title { font-weight: 600; font-size: 14px; }
.ip-sub { font-size: 12px; color: var(--mute); }
.ip-acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ip-btn { padding: 5px 10px; font-size: 12px; }
.ip-err { color: var(--down); font-size: 12px; min-height: 0; }

/* ---- footer, toast ---- */
.sm-footer { background: var(--moss); color: rgba(242, 246, 243, .7); font-size: 13px; margin-top: auto; }
.sm-footer-in { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--pad) 36px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.sm-footer-brand { display: flex; gap: 12px; align-items: center; color: var(--mist); }
.sm-footer-brand svg { width: 30px; height: 30px; }
.sm-footer-brand b { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; line-height: 1.1; }
.sm-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.sm-footer nav a { text-decoration: none; color: rgba(242, 246, 243, .75); }
.sm-footer nav a:hover { color: var(--mint); }
.sm-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; background: var(--moss); color: var(--mist); padding: 11px 16px; border-radius: 6px; font-size: 13px; transition: .2s; z-index: 90; max-width: min(90vw, 480px); box-shadow: inset 3px 0 0 var(--gold), 0 12px 30px -12px rgba(22, 58, 42, .6); }
.sm-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---- not found ---- */
.sm-lost { text-align: center; padding: 40px 0 20px; }
.sm-lost svg { width: 150px; height: auto; color: var(--moss); }
.sm-lost h1 { font-size: 48px; margin: 14px 0 8px; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .sm-shelf-head, .sm-row { grid-template-columns: minmax(180px, 1.6fr) 1fr .6fr 1fr auto; }
  .sm-cell-fdv, .sm-cell-fees { display: none; }
}
@media (max-width: 820px) {
  :root { --head: 60px; --pad: 20px; }
  .sm-nav { display: none; position: absolute; left: 0; right: 0; top: var(--head); background: var(--moss); flex-direction: column; padding: 8px 12px 14px; border-top: 1px solid var(--moss-line); border-bottom: 1px solid var(--moss-line); margin: 0; }
  .sm-nav.is-open { display: flex; }
  .sm-nav a { padding: 11px 12px; font-size: 16px; }
  .sm-nav a.is-on::after { display: none; }
  .sm-nav a.is-on { box-shadow: inset 3px 0 0 var(--gold); border-radius: 0 4px 4px 0; }
  .sm-header .sm-burger { display: inline-flex; }
  .sm-two, .sm-learn, .sm-choose { grid-template-columns: minmax(0, 1fr); }
  .sm-stack > *, .sm-two > * { min-width: 0; }
  /* One column on phones: the stacks dissolve so the mint box and the counter sit right under the numbers. */
  .sm-two > .sm-stack { display: contents; }
  .sm-two > .sm-stack > * + * { margin-top: 0; }
  #tk-head { order: 1; } #tk-stats { order: 2; } #tk-trade-card { order: 3; } #tk-chart-card { order: 4; } #tk-spark-card { order: 5; } #tk-about { order: 6; } #tk-supply { order: 7; } #tk-earn { order: 8; }
  #cl-mint { order: 1; } #cl-phases { order: 2; } #cl-about { order: 3; } #cl-recent-card { order: 4; } #cl-tools { order: 5; }
  .sm-learn-nav { position: static; display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; }
  .sm-learn-nav a { white-space: nowrap; }
  .sm-hero-in { grid-template-columns: 1fr; padding: 34px var(--pad) 32px; gap: 20px; }
  .sm-hero-art { max-width: 300px; justify-self: start; order: -1; }
  .sm-sheet { position: static; }
  .sm-article { padding: 24px 22px 28px; }
  .sm-article h1 { font-size: 34px; }
  .sm-phase-grid { grid-template-columns: 1fr 1fr; }
  .sm-sample { top: 70px; right: 18px; font-size: 11px; }
  .sm-chart { height: 340px; }
  .sm-banner { height: 150px; }
  .sm-placard-head { margin: -34px 0 0 14px; gap: 14px; }
  .sm-placard-text { padding-top: 42px; }
  .sm-placard-4, .sm-placard-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-cover-lg { width: 96px; height: 96px; font-size: 40px; }
  .sm-section-head h2 { font-size: 28px; }
  .sm-drop-body h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .sm-shelf-head { display: none; }
  .sm-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px 16px; }
  .sm-row-token { grid-column: 1 / -1; }
  .sm-cell-fdv, .sm-cell-fees { display: block; }
  .sm-cell-l { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
  .sm-cell-act { grid-column: 1 / -1; }
  .sm-grid-2 { grid-template-columns: 1fr; }
  .sm-hero h1 { max-width: none; }
  .sm-ledger { gap: 22px; }
  .sm-ledger b { font-size: 20px; }
  .sm-title h1 { font-size: 30px; }
  .sm-lost h1 { font-size: 36px; }
  .sm-fs { padding: 14px 14px 4px; }
}
