/* Bullseye L2. Dark only. Space Grotesk carries the words, JetBrains Mono carries
   every figure, address, age and timer. One hue family only: black, white and target red.
   A gaining figure is white, a losing one red, each with its own glyph. */
@font-face { font-family: "Space Grotesk"; src: url(/app/fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/app/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0d10; --panel: #14171c; --well: #0f1115; --raise: #1a1e25;
  --line: #262b33; --line-2: #343a44;
  --red: #e5322d; --red-2: #ff4a45; --red-dim: #5a1a18;
  --ink: #ffffff; --ink-2: #d7dae0; --dim: #8b9099; --dim-2: #5f6570;
  --up: #ffffff; --down: #ff4a45;
  --fd: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 3px; --wrap: 1240px; --head: 60px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 14px/1.5 var(--fd); font-variant-numeric: lining-nums tabular-nums; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
p { margin: 0 0 10px; }
b, strong { font-weight: 600; color: var(--ink); }
code, kbd, samp, .bx-mono, time { font-family: var(--fm); }
img { max-width: 100%; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: var(--red) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bx-skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--red); color: #fff; padding: 8px 12px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.bx-skip:focus { top: 12px; }

.bx-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.bx-main { flex: 1; width: 100%; padding-block: 24px 64px; }
.bx-dim { color: var(--dim); }
.bx-up { color: var(--up); } .bx-down { color: var(--down); } .bx-red { color: var(--red-2); }
.bx-eyebrow { font: 500 10.5px/1.4 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.bx-lead { color: var(--dim); font-size: 15.5px; max-width: 60ch; }
.bx-state { color: var(--dim); font-size: 12.5px; margin: 0; }
.bx-num { font-family: var(--fm); }

/* ---- header ---------------------------------------------------------- */
.bx-header { position: sticky; top: 0; z-index: 40; height: var(--head); background: rgba(11, 13, 16, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bx-header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.bx-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.bx-brand svg { display: block; }
.bx-brand-word { font: 700 17px/1 var(--fd); letter-spacing: -0.01em; }
.bx-brand-tag { font: 600 10px/1 var(--fm); letter-spacing: 0.12em; color: var(--red-2); border: 1px solid var(--red-dim); padding: 3px 4px 2px; border-radius: 2px; margin-top: 1px; }
.bx-nav { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.bx-nav a { display: inline-flex; align-items: center; padding: 0 10px; color: var(--dim); text-decoration: none; font-weight: 500; font-size: 14px; position: relative; transition: color 0.12s; }
.bx-nav a:hover { color: var(--ink); }
.bx-nav a.is-on { color: var(--ink); }
.bx-nav a.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--red); }
.bx-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bx-connect span { font-family: var(--fm); font-size: 12.5px; font-weight: 500; }
.bx-connect.is-connected { border-color: var(--line-2); color: var(--ink); }
.bx-connect.is-connected::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.bx-connect.is-connected svg { display: none; }
.bx-burger { display: none; width: 34px; padding: 0; }

/* ---- buttons ----------------------------------------------------------- */
.bx-btn, .tp-btn, .ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); color: var(--ink); font: 600 13px/1 var(--fd); cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color 0.12s, background 0.12s, color 0.12s; -webkit-tap-highlight-color: transparent; }
.bx-btn:hover, .tp-btn:hover, .ip-btn:hover { border-color: var(--dim); }
.bx-btn:disabled, .tp-btn:disabled, .ip-btn:disabled { opacity: 0.45; cursor: not-allowed; border-color: var(--line-2); }
.bx-btn-sm { height: 26px; padding: 0 9px; font-size: 12px; }
.bx-btn-ghost, .ip-btn-ghost { background: transparent; }
.bx-btn-primary, .tp-btn-primary { background: var(--red); border-color: var(--red); color: #fff; position: relative; }
.bx-btn-primary:hover, .tp-btn-primary:hover { background: var(--red-2); border-color: var(--red-2); }
.bx-btn-primary:disabled, .tp-btn-primary:disabled { background: var(--red); border-color: var(--red); }
/* the reticle: a ring that locks with a dot on hover and pings while busy */
.bx-btn-primary::before, .tp-btn-primary::before { content: ""; width: 10px; height: 10px; flex: none; border: 1.5px solid rgba(255, 255, 255, 0.9); border-radius: 50%; }
.bx-btn-primary::after, .tp-btn-primary::after { content: ""; position: absolute; left: 15px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(2.4); transition: opacity 0.15s, transform 0.15s; }
.bx-btn-primary:hover::after, .bx-btn-primary:focus-visible::after, .tp-btn-primary:hover::after, .tp-btn-primary:focus-visible::after { opacity: 1; transform: scale(1); }
.bx-btn-primary:disabled::after, .tp-btn-primary:disabled::after { opacity: 0; }
.is-locking::before { animation: bx-ping 1s ease-out infinite; }
.is-locking::after { opacity: 1 !important; transform: scale(1) !important; }
@keyframes bx-ping { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
.bx-copy { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--well); color: var(--ink-2); font: 500 11px/1 var(--fm); letter-spacing: 0.04em; cursor: pointer; white-space: nowrap; transition: border-color 0.12s, color 0.12s; }
.bx-copy:hover { border-color: var(--dim); color: var(--ink); }
.bx-copy.is-ok { color: var(--ink); border-color: var(--red); }
.bx-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 2px; font: 500 11px/1 var(--fm); color: var(--ink-2); background: var(--well); white-space: nowrap; text-decoration: none; }
.bx-chip.is-live { color: var(--ink); border-color: var(--red); }
.bx-chip.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: bx-blink 1.6s ease-in-out infinite; }
.bx-chip.is-soon { color: var(--red-2); border-color: var(--red-dim); }
.bx-chip.is-out { color: var(--dim); }
.bx-chip svg { flex: none; }
.bx-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ---- panels, strips, tables ----------------------------------------- */
.bx-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; position: relative; }
.bx-token-side .bx-panel + .bx-panel, .bx-token-main .bx-panel + .bx-panel, .bx-col-side .bx-panel + .bx-panel, .bx-col-main .bx-panel + .bx-panel { margin-top: 14px; }
.bx-panel-title { font-size: 15px; margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bx-panel-title .bx-eyebrow { margin-left: auto; text-align: right; }
.bx-panel p { color: var(--ink-2); }
.bx-panel-acts { margin: 10px 0 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.bx-strip { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.bx-stat { background: var(--panel); padding: 11px 14px; min-width: 0; flex: 1 1 140px; }
#tk-stats .bx-stat { flex-basis: 220px; }
.bx-stat b { display: block; font: 500 15.5px/1.3 var(--fm); color: var(--ink); margin-top: 4px; overflow-wrap: normal; }
.bx-stat b.bx-up { color: var(--up); } .bx-stat b.bx-down { color: var(--down); }
.bx-stat small { display: block; font: 400 11px/1.3 var(--fm); color: var(--dim); margin-top: 3px; overflow-wrap: anywhere; }
.bx-skel { display: inline-block; width: 56px; height: 12px; border-radius: 2px; background: var(--line-2); animation: bx-pulse 1.4s ease-in-out infinite; vertical-align: middle; }
@keyframes bx-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }
.bx-table-wrap { overflow-x: auto; position: relative; }
.bx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bx-table th { font: 500 10.5px/1.4 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.bx-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-family: var(--fm); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.bx-table td.bx-td-name { font-family: var(--fd); font-size: 13.5px; white-space: normal; }
.bx-table td a { color: var(--ink); text-decoration: none; }
.bx-table td a:hover { text-decoration: underline; }
.bx-table tr:last-child td { border-bottom: 0; }
.bx-bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; min-width: 80px; }
.bx-bar i { display: block; height: 100%; background: var(--red); }
.bx-bar.is-full i { background: var(--dim); }
.bx-logo { width: 36px; height: 36px; border-radius: var(--r); object-fit: cover; background: var(--well); border: 1px solid var(--line); display: inline-grid; place-items: center; flex: none; color: var(--dim); font: 600 14px/1 var(--fm); overflow: hidden; }
.bx-logo-lg { width: 60px; height: 60px; font-size: 22px; }
.bx-logo-xl { width: 80px; height: 80px; font-size: 28px; }
.bx-tag { font: 500 12px/1 var(--fm); color: var(--dim); }
.bx-addr { font: 500 12px/1 var(--fm); color: var(--ink-2); }

/* ---- toast, stamp, tremble ------------------------------------------- */
.bx-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 12px); opacity: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--line-2); border-left: 3px solid var(--red); padding: 10px 14px; border-radius: var(--r); font-size: 13px; max-width: min(92vw, 460px); z-index: 60; transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.bx-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.bx-stamp { position: fixed; top: calc(var(--head) + 46px); right: 14px; z-index: 30; font: 700 11px/1 var(--fm); letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-2); border: 1.5px solid var(--red-2); padding: 5px 8px 4px; border-radius: 2px; transform: rotate(-5deg); background: rgba(11, 13, 16, 0.85); pointer-events: none; }
.bx-note { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 10px 12px; color: var(--dim); font-size: 12.5px; margin: 0 0 14px; }
.bx-note b { color: var(--red-2); font-family: var(--fm); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 8px; }
.is-fresh { animation: bx-tremble 0.5s ease, bx-flash 1.8s ease; box-shadow: inset 3px 0 0 var(--red); }
@keyframes bx-tremble { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
@keyframes bx-flash { 0% { background: var(--red-dim); } 100% { background: transparent; } }

/* ---- ticker tape ------------------------------------------------------ */
.bx-tape { height: 36px; border-bottom: 1px solid var(--line); background: var(--well); display: flex; align-items: stretch; overflow: hidden; font-family: var(--fm); font-size: 12px; }
.bx-tape-live { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid var(--line); color: var(--ink); letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; font-weight: 600; }
.bx-tape-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: bx-blink 1.6s ease-in-out infinite; }
@keyframes bx-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.bx-tape-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: stretch; }
.bx-tape-run { display: flex; align-items: stretch; width: max-content; animation: bx-tape var(--tape-dur, 40s) linear infinite; }
.bx-tape-run:hover { animation-play-state: paused; }
.bx-tape-half { display: flex; align-items: stretch; }
@keyframes bx-tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bx-tape-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; border-right: 1px solid var(--line); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.bx-tape-item:hover { background: var(--panel); }
.bx-tape-item .bx-tape-sym { color: var(--ink); font-weight: 600; }
.bx-tape-item time { color: var(--red-2); }
.bx-tape-item .bx-tape-q { color: var(--dim-2); }
.bx-tape-empty { display: inline-flex; align-items: center; padding: 0 16px; color: var(--dim); letter-spacing: 0.04em; }

/* ---- hero ------------------------------------------------------------ */
.bx-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px; align-items: center; padding-block: 44px 24px; }
.bx-hero-title { font-size: clamp(36px, 5.2vw, 66px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 600; margin: 12px 0 18px; max-width: 12ch; }
.bx-hero-title em { font-style: normal; color: var(--red); }
.bx-hero-sub { max-width: 50ch; color: var(--dim); font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
.bx-hero-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.bx-hero-art { justify-self: end; width: 100%; max-width: 340px; }
.bx-reticle { display: block; width: 100%; height: auto; }
.bx-reticle-spin { transform-origin: 160px 160px; animation: bx-spin 90s linear infinite; }
@keyframes bx-spin { to { transform: rotate(360deg); } }

/* ---- the board (feed) --------------------------------------------------- */
.bx-board-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 8px; }
.bx-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.bx-switch button { font: 600 13px/1 var(--fd); padding: 8px 16px; background: var(--well); color: var(--dim); border: 0; border-left: 1px solid var(--line-2); cursor: pointer; }
.bx-switch button:first-child { border-left: 0; }
.bx-switch button.is-on { background: var(--panel); color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.bx-board-state { margin-left: auto; }
.bx-board { width: 100%; border-collapse: collapse; }
.bx-board th { font: 500 10.5px/1.4 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.bx-board th.bx-r, .bx-board td.bx-r { text-align: right; }
.bx-board td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; position: relative; }
.bx-board .bx-num { font-family: var(--fm); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.bx-board .bx-num small { display: block; color: var(--dim); font-size: 11px; margin-top: 2px; }
.bx-board .bx-num.bx-up { color: var(--up); } .bx-board .bx-num.bx-down { color: var(--down); }
.bx-status { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bx-board .bx-num .bx-status small { display: block; margin: 0; }
.bx-row { cursor: crosshair; transition: background 0.12s; }
.bx-row:hover { background: var(--panel); }
.bx-row td:first-child::before, .bx-row td:first-child::after, .bx-row td:last-child::before, .bx-row td:last-child::after { content: ""; position: absolute; width: 9px; height: 9px; border: 0 solid var(--red); opacity: 0; transition: opacity 0.12s; pointer-events: none; }
.bx-row td:first-child::before { top: 4px; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.bx-row td:first-child::after { bottom: 4px; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.bx-row td:last-child::before { top: 4px; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.bx-row td:last-child::after { bottom: 4px; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.bx-row:hover td::before, .bx-row:hover td::after, .bx-row:focus-within td::before, .bx-row:focus-within td::after { opacity: 1; }
.bx-age time { font: 500 13px/1 var(--fm); color: var(--red-2); white-space: nowrap; }
.bx-tlink { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.bx-tname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bx-tname b { font-size: 14px; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.bx-tname span { font: 500 11.5px/1 var(--fm); color: var(--dim); }
.bx-tname span i { font-style: normal; color: var(--dim-2); margin-left: 6px; }
.bx-tlink:hover b { color: var(--red-2); }
.bx-act { text-align: right; white-space: nowrap; }
.bx-act .bx-acts { justify-content: flex-end; flex-wrap: nowrap; }
.bx-btn-entry { height: 28px; padding: 0 11px; font-size: 12.5px; }
.bx-row:hover .bx-btn-entry { background: var(--red); border-color: var(--red); color: #fff; }
.bx-more { margin: 16px 0 0; }
.bx-empty { padding: 36px 16px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--dim); }
.bx-empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.bx-empty svg { display: block; margin: 0 auto 12px; }

/* ---- token and collection pages --------------------------------------- */
.bx-thead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bx-thead h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.05; }
.bx-thead h1 span { font: 500 15px/1 var(--fm); color: var(--dim); margin-left: 8px; letter-spacing: 0; vertical-align: 4px; }
.bx-thead-main { min-width: 0; flex: 1; }
.bx-thead-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.bx-thead-meta .bx-eyebrow { margin-right: 2px; }
.bx-token-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 16px; align-items: start; }
.bx-col-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.bx-token-side, .bx-token-main, .bx-col-side, .bx-col-main, .bx-form, .bx-article { min-width: 0; }
.bx-embed { width: 100%; height: 420px; border: 0; border-radius: var(--r); background: var(--well); display: block; }
.bx-chart-off { height: 200px; display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--dim); font: 500 12px/1.5 var(--fm); text-align: center; padding: 16px; }
.bx-spark-wrap svg { display: block; }
.bx-spark-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--dim); margin-top: 6px; flex-wrap: wrap; }
.bx-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; margin: 0; }
.bx-kv dt { color: var(--dim); } .bx-kv dd { margin: 0; font-family: var(--fm); font-size: 12.5px; color: var(--ink); text-align: right; }
.bx-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bx-inline-form input { width: 90px; }
.bx-banner { aspect-ratio: 3 / 1; max-height: 260px; width: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--well); position: relative; }
.bx-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-banner-off { position: absolute; inset: 0; display: block; }
.bx-thead.bx-thead-col { margin-top: -30px; padding: 0 16px; position: relative; z-index: 1; }
.bx-thead-col .bx-logo-xl { border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.bx-thead-col h1 { text-shadow: 0 1px 12px rgba(11, 13, 16, 0.95), 0 0 2px rgba(11, 13, 16, 0.9); }
.bx-phase { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bx-phase:last-child { border-bottom: 0; padding-bottom: 0; }
.bx-phase:first-child { padding-top: 0; }
.bx-phase-name { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); flex-wrap: wrap; }
.bx-phase-when, .bx-phase-terms { font: 400 12px/1.5 var(--fm); color: var(--dim); }
.bx-phase-terms { grid-column: 1 / -1; }
.bx-phase-timer { font: 600 13px/1 var(--fm); color: var(--dim); text-align: right; white-space: nowrap; padding-top: 4px; }
.bx-phase-timer time { color: var(--red-2); }
.bx-phase.is-open .bx-phase-timer time { color: var(--ink); }
.bx-phase.is-off { opacity: 0.6; }
.bx-elig { color: var(--ink-2); }
.bx-stepper { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.bx-stepper button { width: 36px; height: 36px; background: var(--well); color: var(--ink); border: 0; font: 600 18px/1 var(--fm); cursor: pointer; }
.bx-stepper button:hover { background: var(--raise); }
.bx-stepper button:disabled { color: var(--dim-2); cursor: not-allowed; }
.bx-stepper output { min-width: 52px; display: grid; place-items: center; font: 600 15px/1 var(--fm); color: var(--ink); border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.bx-mint-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.bx-mint-total { font: 500 13px/1.3 var(--fm); color: var(--ink-2); }
.bx-mint-total small { display: block; color: var(--dim); font-size: 11px; }
.bx-mint-go .bx-btn { width: 100%; height: 42px; font-size: 14px; }
.bx-big { font: 500 22px/1.1 var(--fm); color: var(--ink); }
.bx-big small { font-size: 12px; color: var(--dim); margin-left: 6px; }

/* ---- forms ------------------------------------------------------------ */
.bx-page-head { margin: 8px 0 26px; }
.bx-page-head h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; margin: 8px 0 10px; }
.bx-launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.bx-form { max-width: 720px; }
.bx-fs { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.bx-fs legend, .bx-fs-title { display: block; width: 100%; padding: 0 0 10px; margin: 0 0 14px; border-bottom: 1px solid var(--line); font: 600 14px/1.3 var(--fd); color: var(--ink); }
.bx-fs legend .bx-eyebrow, .bx-fs-title .bx-eyebrow { display: block; margin-bottom: 4px; }
.bx-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.bx-field > label, .bx-label { font: 500 10.5px/1.4 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.bx-field > label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim-2); }
.bx-field input:not([type="checkbox"]):not([type="file"]), .bx-field textarea, .bx-field select, .bx-input, [data-urlwrap] input, .bx-inline-form input, .tp-custom input { font: 400 14px/1.4 var(--fd); color: var(--ink); background: var(--well); border: 1px solid var(--line-2); border-radius: var(--r); padding: 9px 11px; width: 100%; min-width: 0; transition: border-color 0.12s; }
.bx-field input::placeholder, .bx-field textarea::placeholder { color: var(--dim-2); }
.bx-field input:hover, .bx-field textarea:hover, .bx-field select:hover { border-color: var(--dim-2); }
.bx-field input[inputmode], .bx-field input[type="datetime-local"], .bx-field input[spellcheck="false"], .bx-inline-form input, .tp-custom input, .bx-field input.bx-mono { font-family: var(--fm); font-size: 13px; }
.bx-field textarea { resize: vertical; min-height: 80px; }
.bx-field select { appearance: none; -webkit-appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b9099' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; cursor: pointer; }
.bx-field select option { background: var(--panel); color: var(--ink); }
.bx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bx-err { color: var(--red-2); font-size: 12px; min-height: 1.2em; line-height: 1.3; }
.bx-hint { color: var(--dim); font-size: 12px; line-height: 1.4; }
.bx-check { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--fd); color: var(--ink-2); cursor: pointer; text-transform: none; letter-spacing: 0; }
.bx-check input { width: 15px; height: 15px; accent-color: var(--red); margin: 0; }
.bx-form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.bx-form-foot .bx-state { flex: 1; min-width: 200px; }
.bx-ticket { position: sticky; top: calc(var(--head) + 16px); }
.bx-ticket-name { font-size: 18px; margin-bottom: 2px; word-break: break-word; }
.bx-ticket-sym { font: 500 13px/1 var(--fm); color: var(--red-2); margin-bottom: 14px; }
.bx-ticket .bx-kv { grid-template-columns: 1fr auto; }
.bx-ticket-ok { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--fm); color: var(--dim); }
.bx-ticket-ok.is-ready { color: var(--ink); }
.bx-phase-fs { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 0 0 10px; background: var(--well); position: relative; min-width: 0; }
.bx-phase-head { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.bx-phase-head .bx-check { font-size: 13.5px; color: var(--ink); }
.bx-phase-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.bx-phase-fs .bx-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; }
.bx-phase-fs .bx-field { margin-bottom: 8px; }
.bx-phase-fs.is-off .bx-phase-body { display: none; }
.bx-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bx-pick-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; padding: 22px; cursor: crosshair; transition: border-color 0.12s; min-height: 280px; }
.bx-pick-card h2 { font-size: 22px; letter-spacing: -0.02em; }
.bx-pick-card:hover { border-color: var(--line-2); }
.bx-spec { list-style: none; margin: 0 0 auto; padding: 0; color: var(--dim); font-size: 13.5px; display: grid; gap: 6px; }
.bx-spec li { padding-left: 16px; position: relative; }
.bx-spec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border: 1.5px solid var(--red); border-radius: 50%; }
.bx-pick-card .bx-btn { align-self: flex-start; margin-top: 10px; }
.bx-corners, .bx-pick-card::before, .bx-pick-card::after, .bx-corners::before, .bx-corners::after { position: absolute; width: 10px; height: 10px; border: 0 solid var(--red); opacity: 0; transition: opacity 0.12s; pointer-events: none; content: ""; }
.bx-corners { display: block; inset: 0; border: 0; width: auto; height: auto; }
.bx-pick-card::before { top: 6px; left: 6px; border-top-width: 1.5px; border-left-width: 1.5px; }
.bx-pick-card::after { bottom: 6px; right: 6px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.bx-corners::before { top: 6px; right: 6px; border-top-width: 1.5px; border-right-width: 1.5px; }
.bx-corners::after { bottom: 6px; left: 6px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.bx-pick-card:hover::before, .bx-pick-card:hover::after, .bx-pick-card:hover .bx-corners::before, .bx-pick-card:hover .bx-corners::after, .bx-pick-card:focus-visible::before, .bx-pick-card:focus-visible::after { opacity: 1; }

/* ---- trade panel (PadTrade markup, tp- classes) ----------------------- */
.tp-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.tp-tab { font: 600 13px/1 var(--fd); padding: 9px; background: var(--well); color: var(--dim); border: 0; cursor: pointer; transition: color 0.12s, background 0.12s; }
.tp-tab + .tp-tab { border-left: 1px solid var(--line-2); }
.tp-tab.is-on { background: var(--raise); color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.tp-tab[data-tab="sell"].is-on { box-shadow: inset 0 -2px 0 var(--ink); }
.tp-leg { background: var(--well); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.tp-leg:focus-within { border-color: var(--line-2); }
.tp-leg-top { display: flex; align-items: center; gap: 8px; font: 500 10.5px/1.4 var(--fm); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.tp-bal { margin-left: auto; letter-spacing: 0; text-transform: none; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-btn-max { height: 22px; padding: 0 7px; font: 600 11px/1 var(--fm); }
.tp-amt { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.tp-input { flex: 1; min-width: 0; font: 500 24px/1.2 var(--fm); color: var(--ink); background: transparent; border: 0; outline: 0; padding: 0; }
.tp-input::placeholder { color: var(--dim-2); }
.tp-out { flex: 1; min-width: 0; font: 500 24px/1.2 var(--fm); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-out.is-dim { color: var(--dim-2); font-size: 18px; }
.tp-asset { flex: none; font: 600 12px/1 var(--fm); color: var(--ink-2); border: 1px solid var(--line-2); padding: 5px 7px; border-radius: 2px; }
.tp-mid { height: 16px; position: relative; }
.tp-mid::before { content: ""; position: absolute; left: 50%; top: 2px; width: 7px; height: 7px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim); transform: translateX(-50%) rotate(45deg); }
.tp-facts { display: grid; gap: 6px; margin: 12px 0 8px; font: 400 12.5px/1.4 var(--fm); }
.tp-fact { display: flex; justify-content: space-between; gap: 12px; }
.tp-fact dt { color: var(--dim); } .tp-fact dd { margin: 0; color: var(--ink-2); text-align: right; }
.tp-fact dd.is-down { color: var(--down); }
.tp-hint { font-size: 12px; color: var(--dim); margin: 0 0 10px; }
.tp-slip { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 10.5px/1.4 var(--fm); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.tp-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.tp-seg button { font: 500 11px/1 var(--fm); padding: 5px 8px; background: var(--well); color: var(--dim); border: 0; border-left: 1px solid var(--line-2); cursor: pointer; }
.tp-seg button:first-child { border-left: 0; }
.tp-seg button.is-on { background: var(--raise); color: var(--ink); }
.tp-custom { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--dim); }
.tp-custom input { width: 84px; }
.tp-steps { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 0; padding: 10px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: 12px; color: var(--dim); }
.tp-steps i, .tp-cap i { font-style: normal; }
.tp-act { margin-top: 12px; }
.tp-act .tp-btn { width: 100%; height: 42px; font-size: 14px; }
.tp-note { font-size: 12.5px; color: var(--dim); margin: 10px 0 0; }
.tp-note.is-warn { color: var(--down); }
.tp-cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--dim); }
.tp-foot { font-size: 12px; margin: 10px 0 0; color: var(--dim); }
.tp-empty { color: var(--dim); font-size: 13px; margin: 0; }

/* ---- image picker (PadImagePick markup, ip- classes) ------------------ */
.ip-drop { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 12px; background: var(--well); transition: border-color 0.12s; }
.ip-drop.is-over { border-color: var(--red); }
.ip-prev { width: 64px; height: 64px; border-radius: var(--r); object-fit: cover; background: var(--panel); flex: none; }
.ip-ph { display: grid; place-items: center; color: var(--dim-2); border: 1px solid var(--line); }
.ip-main { min-width: 0; flex: 1; }
.ip-title { font-weight: 600; color: var(--ink); font-size: 13.5px; }
.ip-sub { font-size: 12px; color: var(--dim); margin-top: 2px; }
.ip-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ip-btn { height: 28px; padding: 0 10px; font-size: 12px; }
.ip-err { color: var(--red-2); font-size: 12px; min-height: 1em; margin-top: 4px; }

/* ---- dashboard, learn, 404 --------------------------------------------- */
.bx-section { margin-top: 28px; }
.bx-section-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.bx-section-title h2 { font-size: 18px; letter-spacing: -0.015em; }
.bx-section-title .bx-eyebrow { margin-left: auto; }
.bx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bx-cards .bx-panel + .bx-panel { margin-top: 0; }
.bx-learn { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.bx-learn-nav { position: sticky; top: calc(var(--head) + 24px); display: flex; flex-direction: column; gap: 2px; }
.bx-learn-nav a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-left: 2px solid var(--line); text-decoration: none; color: var(--dim); font-weight: 500; font-size: 14px; transition: color 0.12s, border-color 0.12s; }
.bx-learn-nav a .bx-eyebrow { font-size: 10px; }
.bx-learn-nav a:hover { color: var(--ink); }
.bx-learn-nav a[aria-current="page"] { color: var(--ink); border-left-color: var(--red); }
.bx-article h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; margin: 6px 0 20px; max-width: 20ch; }
.bx-article p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 66ch; margin-bottom: 16px; }
.bx-article .bx-eyebrow { color: var(--red-2); }
.bx-article-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bx-article-foot .bx-eyebrow { margin-right: 4px; }
.bx-miss { text-align: center; padding: 60px 0 40px; }
.bx-miss h1 { font-size: clamp(64px, 12vw, 140px); letter-spacing: -0.05em; line-height: 0.9; }
.bx-miss h1 em { font-style: normal; color: var(--red); }
.bx-miss p { color: var(--dim); font-size: 16px; margin: 18px 0 22px; }
.bx-miss svg { display: block; margin: 0 auto 20px; }

/* ---- footer ----------------------------------------------------------- */
.bx-footer { border-top: 1px solid var(--line); padding-block: 22px 28px; color: var(--dim); font-size: 12.5px; }
.bx-footer-in { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.bx-footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.bx-footer-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.bx-footer-nav a { color: var(--dim); text-decoration: none; }
.bx-footer-nav a:hover { color: var(--ink); }
.bx-footer-chain { font-family: var(--fm); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim-2); }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .bx-token-grid { grid-template-columns: 360px minmax(0, 1fr); }
  .bx-col-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .bx-launch-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 900px) {
  .bx-token-grid, .bx-col-grid, .bx-launch-grid, .bx-learn { grid-template-columns: minmax(0, 1fr); }
  .bx-col-side { order: -1; }
  .bx-ticket { position: static; }
  .bx-learn-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .bx-learn-nav a { border-left: 0; border-bottom: 2px solid var(--line); white-space: nowrap; padding: 8px 10px; }
  .bx-learn-nav a[aria-current="page"] { border-bottom-color: var(--red); }
  .bx-learn-nav a .bx-eyebrow { display: none; }
  .bx-pick { grid-template-columns: 1fr; }
  .bx-pick-card { min-height: 0; }
  .bx-phase-fs .bx-cols { grid-template-columns: 1fr 1fr; }
  .bx-embed { height: 340px; }
}
@media (max-width: 860px) {
  .bx-board thead { display: none; }
  .bx-board, .bx-board tbody { display: block; }
  .bx-board tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; padding: 14px 4px 14px 8px; border-bottom: 1px solid var(--line); position: relative; }
  .bx-board td { display: block; padding: 0; border: 0; position: static; }
  .bx-board td.bx-age { position: absolute; top: 14px; right: 4px; }
  .bx-board td.bx-target { grid-column: 1 / -1; padding-right: 76px; }
  .bx-board td.bx-act { grid-column: 1 / -1; text-align: left; margin-top: 2px; }
  .bx-board td.bx-act .bx-acts { justify-content: flex-start; }
  .bx-board td.bx-num { text-align: left; }
  .bx-board td.bx-num::before { content: attr(data-l); display: block; font: 500 10px/1.4 var(--fm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
  .bx-board td.bx-num small { display: inline; margin-left: 6px; }
  .bx-board td.bx-r { text-align: left; }
  .bx-row td:first-child::before, .bx-row td:first-child::after, .bx-row td:last-child::before, .bx-row td:last-child::after { display: none; }
  .bx-row.is-fresh { box-shadow: inset 3px 0 0 var(--red); }
  .bx-tname b { max-width: 60vw; white-space: normal; }
}
@media (max-width: 760px) {
  .bx-wrap { padding-inline: 16px; }
  .bx-header-in { gap: 12px; }
  .bx-nav { display: none; position: absolute; left: 0; right: 0; top: var(--head); height: auto; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 12px; gap: 0; }
  .bx-nav.is-open { display: flex; }
  .bx-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .bx-nav a:last-child { border-bottom: 0; }
  .bx-nav a.is-on::after { left: auto; right: 0; top: 50%; bottom: auto; width: 6px; height: 6px; border-radius: 50%; margin-top: -3px; }
  .bx-burger { display: inline-flex; }
  .bx-hero { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 8px; }
  .bx-hero-art { justify-self: start; max-width: 150px; order: -1; }
  .bx-hero-title { max-width: none; }
  .bx-stat { flex-basis: calc(50% - 1px); }
  .bx-panel-title .bx-eyebrow { flex-basis: 100%; margin-left: 0; text-align: left; }
  .bx-stat b { font-size: 15px; }
  .bx-cols { grid-template-columns: 1fr; }
  .bx-phase-fs .bx-cols { grid-template-columns: 1fr 1fr; }
  .bx-thead h1 { font-size: 24px; }
  .bx-thead.bx-thead-col { margin-top: -22px; padding: 0 8px; }
  .bx-logo-xl { width: 64px; height: 64px; font-size: 22px; }
  .bx-embed { height: 300px; }
  .bx-stamp { top: calc(var(--head) + 42px); right: 8px; font-size: 10px; }
  .bx-footer-nav { margin-left: 0; }
  .bx-board-head { margin-top: 18px; }
  .bx-phase { grid-template-columns: 1fr; }
  .bx-phase-timer { text-align: left; padding-top: 0; }
  .bx-tape-live { padding: 0 12px; }
}
@media (max-width: 420px) {
  .bx-phase-fs .bx-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .bx-tape-run { animation: none; }
  .bx-tape-track { overflow-x: auto; }
  .bx-reticle-spin { animation: none; }
  .is-fresh { animation: none; }
}
