/* MemeDAQ · pages.css — one block per page. Page builders edit ONLY between their own markers.
   Shared components live in base.css / board.css. */

/* shared page frame (foundation) */
.page { min-width: 0; }
.page-head { padding: 28px 0 8px; }
@media (min-width: 900px) { .page-head { padding: 44px 0 12px; } }
.page-body { padding: 8px 0 24px; display: grid; gap: 20px; }
.not-found { padding: 64px 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.not-found .flaps { font-size: clamp(40px, 8vw, 80px); }
/* === end shared === */

/* === page: home === */
/* v2「晨雾蓝」 (docs/03 §5): hero with the index wall (stage.svg + MDUI.indexCard on the navy screen + bull-bell),
   stats, constituents, live trades, how it works, $MDAQ flywheel. Tokens and components from base.css / board.css only;
   every rule here is scoped to hm-* classes (or .page-home). */

/* ── hero: copy ─────────────────────────────────────────────────────── */
.hm-hero { position: relative; overflow-x: clip; padding: clamp(16px, 2.6vw, 40px) 0 clamp(40px, 4.4vw, 64px); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: 32px clamp(24px, 3.2vw, 48px); }
.hm-copy { position: relative; z-index: 5; min-width: 0; }
.hm-h1 { display: grid; justify-items: start; gap: clamp(6px, .9vw, 12px); margin: 18px 0 22px; }
.hm-h1 .wordmark { font-size: clamp(52px, 7.4vw, 112px); text-transform: uppercase; margin-left: -.045em; }
.hm-h1 .headline { font-size: clamp(28px, 3.05vw, 44px); }
.hm-lead { margin-top: 18px; max-width: 31em; }
.hm-cta { margin-top: 28px; gap: 12px; }
.hm-taxline { display: flex; flex-wrap: wrap; row-gap: 2px; margin-top: 20px; font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.hm-taxline span { white-space: nowrap; }
.hm-taxline span:not(:last-child)::after { content: "·"; margin: 0 .55em; color: var(--ink-4); }
.hm-taxline span:first-child { color: var(--ink-2); font-weight: 600; }
.hm-preline { display: flex; align-items: baseline; gap: 9px; margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.hm-preline i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 3px var(--gold-soft); transform: translateY(-1px); }

/* EIP-8888 protocol pill + shared tooltip */
.hm-proto-w { position: relative; display: inline-flex; max-width: 100%; }
.hm-proto {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 36px; padding: 4px 14px 4px 4px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -14px rgba(15, 35, 80, .4);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease);
}
.hm-proto b { flex: none; display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: linear-gradient(180deg, #1B2C5E, #0B1B3F); color: var(--gold); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.hm-proto > span:not(.arrow) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-proto .arrow { color: var(--accent); transition: transform .2s var(--ease); }
.hm-proto:hover { color: var(--ink); background: #fff; border-color: var(--accent-line); transform: translateY(-1px); }
.hm-proto:hover .arrow { transform: translateX(3px); }
.hm-proto:focus-visible { border-radius: var(--r-pill); }
.hm-tip {
  position: absolute; z-index: 30; left: 0; bottom: calc(100% + 10px); width: max-content; max-width: min(320px, 78vw);
  padding: 9px 13px; border-radius: 11px; background: var(--navy); color: var(--on-navy);
  font-family: var(--f-body); font-size: 12.5px; font-weight: 500; line-height: 1.65; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal;
  box-shadow: 0 16px 34px -16px rgba(11, 27, 63, .7);
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.hm-tip::after { content: ""; position: absolute; left: 20px; top: 100%; border: 6px solid transparent; border-top-color: var(--navy); }
.hm-proto-w .hm-tip { bottom: auto; top: calc(100% + 10px); transform: translateY(-4px); }
.hm-proto-w .hm-tip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy); }
.hm-proto-w:hover .hm-tip, .hm-proto-w:focus-within .hm-tip,
.hm-fxw:hover .hm-tip, .hm-fxw:focus-within .hm-tip { opacity: 1; visibility: visible; transform: none; }

/* ── hero: index wall ───────────────────────────────────────────────── */
.hm-art { position: relative; min-width: 0; padding: 30px 0 38px; }
.hm-art::before { content: ""; position: absolute; inset: -2% -8% -6% -6%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(110, 155, 255, .24), rgba(110, 155, 255, .06) 60%, transparent 76%); }
.hm-stage { position: relative; aspect-ratio: 1200 / 1000; }
.hm-stage-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.hm-screen { position: absolute; z-index: 2; left: 11.3%; top: 27.6%; width: 62%; height: 36.2%; container-type: size; --hm-k: 4; }
.hm-bull { position: absolute; z-index: 4; right: -3%; bottom: -9.5%; width: 45%; }
/* reaction bubble / arrow chip sit on the floor left of the bull, below the wall screen */
.hm-bull .mascot .bubble { right: auto; left: -16%; top: 38%; border-radius: 14px 14px 4px 14px; font-size: 12.5px; }
.hm-bull .mascot .m-arrow { left: -8%; top: 56%; }
.hm-xhair { z-index: 3; --xh-c: rgba(47, 91, 255, .42); }
.hm-xhair .xh-v { background: repeating-linear-gradient(180deg, var(--xh-c) 0 4px, transparent 4px 8px); }
.hm-xhair .xh-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.hm-xhair .ptag { height: 30px; font-size: 12px; }
.hm-xh3 { --xh-c: rgba(224, 166, 58, .6); }
.hm-xh3 .xh-dot { border-color: var(--gold-2); box-shadow: 0 0 0 4px var(--gold-soft); }
.hm-xh3 .xh-dot::after { border-color: rgba(224, 166, 58, .5); }
/* the same facts as a plain list: screen-reader text on desktop, a chip strip under the stage on phones */
.hm-below { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hm-callouts { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* indexCard restyled for the navy wall screen */
.hm-wall.ixb {
  height: 100%; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  display: flex; flex-direction: column; gap: 3.4cqh;
}
.hm-wall .ixb-top { font-size: clamp(9.5px, 2.4cqw, 12px); letter-spacing: .16em; color: var(--on-navy-3); }
.hm-wall .ixb-top b { color: #fff; }
.hm-wall .ixb-status { font-size: clamp(10.5px, 2.6cqw, 12.5px); color: var(--on-navy-2); }
.hm-wall .ixb-status::before { box-shadow: 0 0 0 3px rgba(224, 166, 58, .22); }
.hm-wall .ixb-status.live { color: #5FE0AA; }
.hm-wall .ixb-status.bad { color: #FFA3A6; }
.hm-wall .flaps { flex: none; margin: 0; font-size: min(calc(92cqw / var(--hm-k)), 38cqh); }
.hm-wall .flap:not(.sep) { box-shadow: 0 .06em .18em -.02em rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(140, 170, 255, .22); }
.hm-wall .ixb-note { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; font-size: clamp(10.5px, 2.5cqw, 12.5px); color: var(--on-navy-2); }
.hm-chg { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.hm-chg .lbl { font-size: inherit; color: var(--on-navy-2); }
.hm-wall .pct { font-size: inherit; }
.hm-wall .pct.up { color: #5FE0AA; }
.hm-wall .pct.down { color: #FFA3A6; }
.hm-wall .pct.flat { color: var(--on-navy-2); }
.hm-wall .pct .pill { padding: 2px 9px; background: rgba(255, 255, 255, .08); }
.hm-wall .pct.up .pill { background: rgba(18, 168, 112, .22); }
.hm-wall .pct.down .pill { background: rgba(229, 72, 77, .24); }
.hm-wall .arr { border-bottom-color: currentColor; }
.hm-wall .down .arr, .hm-wall .arr.down { border-top-color: currentColor; border-bottom-color: transparent; }
.hm-wall .loading-txt { color: var(--on-navy-2); font-size: inherit; }
.hm-wall .loading-txt::before { background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 210, 122, .3), rgba(255, 255, 255, .08)); background-size: 200% 100%; }
.hm-wall .retrying { color: #FFA3A6; font-size: inherit; }
.hm-fxw { position: relative; flex: none; }
.hm-fx {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 3px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; color: var(--on-navy); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s, border-color .2s;
}
.hm-fx i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--f-display); font-size: 11px; font-weight: 700; font-style: italic; }
.hm-fx:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.hm-fx:focus-visible { outline-color: var(--gold); border-radius: var(--r-pill); }
.hm-fxw .hm-tip { left: auto; right: -6px; }
.hm-fxw .hm-tip::after { left: auto; right: 22px; }
.hm-wall-x { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 2cqh; }
.hm-wall-x-cap { display: none; }
.hm-wall .ixb-spark { flex: 1 1 auto; height: auto; min-height: 24px; margin: 0; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 210, 122, .1), rgba(255, 210, 122, 0)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hm-wall .ixb-spark .spark-empty { font-size: clamp(10.5px, 2.4cqw, 12px); color: var(--on-navy-3); }
.hm-wall .ixb-foot { flex: none; margin: 0; font-size: clamp(9.5px, 2.2cqw, 11px); color: var(--on-navy-3); }

/* stats row + price-axis ruler */
.hm-stats { position: relative; z-index: 5; margin-top: clamp(24px, 2.6vw, 40px); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hm-stats .stat p { font-size: 12px; color: var(--ink-3); }
.hm-stats .stat .big { overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-stats .stat .big .unit { font-family: var(--f-body); }
.hm-ruler { position: absolute; left: 0; right: 0; bottom: 6px; }

/* ── 01 constituents ────────────────────────────────────────────────── */
.hm-sec { padding: clamp(44px, 5.4vw, 80px) 0; }
.hm-sec .sh { margin-bottom: clamp(20px, 2.6vw, 32px); }
/* desktop: Chinese copy breaks at punctuation, not inside a word (anywhere = safety net) */
@media (min-width: 701px) { .hm-sec .sh p, .hm-tax-h p, .hm-foot-note, .hm-lead { word-break: keep-all; overflow-wrap: anywhere; } }
.hm-shw { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hm-shw .sh { flex: 1 1 auto; min-width: 0; }
.hm-sh-art { position: relative; z-index: 6; flex: none; width: clamp(124px, 11.5vw, 164px); margin: -48px 18px -36px 0; pointer-events: none; }
.hm-sh-art::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 3%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 35, 80, .2), transparent); z-index: -1; }
.hm-sh-art img { display: block; width: 100%; height: auto; }
.hm-shw-think .hm-sh-art { margin-bottom: -16px; }
.hm-board .hm-row { grid-template-columns: 34px minmax(0, 2.1fr) minmax(0, 1.35fr) minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, 1.25fr); gap: 18px; padding: 14px 24px; }
.hm-board .brow.hd .r, .hm-fc { text-align: right; }
.hm-list > li { border-bottom: 1px solid var(--line); }
.hm-list > li:last-child { border-bottom: 0; }
.hm-list .brow { border-bottom: 0; }
a.hm-row { color: var(--ink); }
a.hm-row:focus-visible { outline-offset: -3px; border-radius: 4px; }
a.hm-row:hover .tok .nm b { color: var(--accent-deep); }
.hm-pc { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.35; }
.hm-pc .cell-led { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hm-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 16px; }
.hm-sub .pct { font-size: 12px; }
.hm-gk { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.hm-gk.up { color: var(--up-ink); }
.hm-gk.down { color: var(--down-ink); }
.hm-fc { min-width: 0; overflow: hidden; }
.hm-sold { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hm-sold-t { min-width: 46px; text-align: right; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }
.tok .nm .hm-sold-m { display: none; }
.hm-board .board-foot { align-items: center; line-height: 1.55; padding: 12px 24px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.hm-board .board-foot .link { white-space: nowrap; }
.hm-foot-r { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.hm-board-state:empty, .hm-feed-state:empty { display: none; }
.hm-board-state .board-empty { padding: 36px 16px; }
.hm-idx-empty .empty.banner .empty-art { width: 128px; }
.hm-idx-empty .empty-body h3 { font-size: clamp(18px, 1.7vw, 22px); }

/* ── 02 live trades ─────────────────────────────────────────────────── */
.hm-live { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.hm-ph-r { font-size: 12.5px; color: var(--ink-3); }
.hm-feed-body, .hm-new-body { padding: 0; }
.hm-tape.tape { height: 38px; margin: 14px 16px 6px; }
.hm-tr { display: grid; grid-template-columns: 66px minmax(0, .95fr) minmax(0, 1.5fr) minmax(0, 1.35fr) 80px 28px; align-items: center; gap: 12px; min-height: 54px; padding: 10px 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.hm-tr:last-child { border-bottom: 0; }
.hm-kind { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.hm-kind.buy { color: var(--up-ink); background: var(--up-soft); }
.hm-kind.sell { color: var(--down-ink); background: var(--down-soft); }
.hm-kind.new { color: var(--accent-deep); background: var(--accent-soft); }
.hm-kind.other { color: var(--ink-2); background: var(--bg-3); }
.hm-tr-tok { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; color: var(--ink); }
.hm-tr-tok .tlogo { border-radius: 8px; }
.hm-tr-tok > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tr-tok:hover { color: var(--accent-deep); }
.hm-tr-d, .hm-tr-tax { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tr-d .mono, .hm-tr-tax .mono { font-size: 12.5px; }
.hm-tr-tax { color: var(--ink-2); }
.hm-tr-t { text-align: right; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.hm-snipe-flag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); font-family: var(--f-body); font-size: 11px; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); vertical-align: 1px; }
.hm-newlist > li { border-bottom: 1px solid var(--line); }
.hm-newlist > li:last-child { border-bottom: 0; }
.hm-new { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 22px; color: var(--ink); transition: background .2s; }
.hm-new:hover { background: var(--accent-softer); }
.hm-new:focus-visible { outline-offset: -3px; }
.hm-new .tlogo { border-radius: 12px; }
.hm-new-id { min-width: 0; }
.hm-new-id b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; line-height: 1.35; }
.hm-new-id small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.hm-new-v { text-align: right; line-height: 1.25; }
.hm-new-v small { display: block; font-size: 11px; color: var(--ink-3); }
.hm-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ── 03 how it works + tax ──────────────────────────────────────────── */
.hm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-step { display: grid; align-content: start; gap: 10px; padding: 22px 22px 20px; }
.hm-step-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.hm-step-art { flex: none; width: 96px; height: 72px; border-radius: 16px; background: linear-gradient(180deg, #F3F6FD, #E7ECF7); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.hm-step-art svg { width: 100%; height: 100%; }
.hm-step .ptag { height: 24px; font-size: 11px; }
.hm-step h3 { font-size: 20px; font-weight: 800; }
.hm-step p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.hm-step .link { justify-self: start; font-size: 13.5px; }
.hm-step .link::after { content: " →"; }
.hm-step:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 58px; z-index: 2; width: 12px; height: 12px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); opacity: .7;
}
.hm-tax { display: grid; gap: 28px; margin-top: 20px; padding: clamp(20px, 2.6vw, 34px); }
.hm-tax-h { display: grid; gap: 8px; max-width: 780px; }
.hm-tax-h p { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.hm-flow { display: grid; grid-template-columns: auto 56px auto 56px minmax(0, 1fr); align-items: center; gap: 14px; }
.hm-node { min-width: 118px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.hm-node small { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--ink-3); }
.hm-node b { display: block; margin-top: 3px; font-family: var(--f-body); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.hm-node.big { border-color: #0B1B3F; background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: 0 14px 30px -16px rgba(11, 27, 63, .7); }
.hm-node.big small { color: var(--on-navy-3); }
.hm-node.big b { font-family: var(--f-mono); font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--gold); }
.hm-pipe { position: relative; height: 2px; border-radius: 2px; background: var(--accent-soft); }
.hm-pipe::after { content: ""; position: absolute; inset: 0 8px 0 0; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: hm-flow 1s linear infinite; }
.hm-pipe::before { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
@keyframes hm-flow { to { background-position: 12px 0; } }
.hm-split { display: grid; gap: 12px; min-width: 0; }
.hm-sbar { display: flex; gap: 4px; height: 54px; padding: 4px; border-radius: 16px; background: var(--bg-3); box-shadow: inset 0 1px 2px rgba(15, 35, 80, .08); }
.hm-seg { position: relative; flex-basis: 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; }
.hm-seg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); pointer-events: none; }
.hm-seg b { font-family: var(--f-mono); font-size: 16px; font-weight: 800; }
.hm-seg.s1 { background: linear-gradient(180deg, #FFE2A6, #F0B652); color: var(--navy); }
.hm-seg.s2 { background: linear-gradient(180deg, #4A73FF, #2448E6); color: #fff; }
.hm-seg.s3 { background: linear-gradient(180deg, #1B2C5E, #0B1B3F); color: var(--gold); }
.hm-slabels { display: grid; gap: 4px; }
.hm-slab { min-width: 0; padding: 0 4px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.hm-slab b { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); }
.hm-slab i { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.hm-slab span { display: block; }
.hm-slab.s1 i { background: #F0B652; }
.hm-slab.s2 i { background: var(--accent); }
.hm-slab.s3 i { background: var(--navy); }
.hm-snipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: center; gap: 18px 40px; padding-top: 26px; border-top: 1px dashed var(--line-2); }
.hm-snipe-t b { font-size: 16px; }
.hm-snipe-t p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.hm-snipe-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.hm-snipe-legend i { display: inline-block; width: 12px; height: 10px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
.hm-snipe-legend i.x { background: linear-gradient(180deg, rgba(47, 91, 255, .55), rgba(47, 91, 255, .12)); box-shadow: inset 0 2px 0 var(--accent); }
.hm-snipe-legend i.b { height: 0; border-top: 2px dashed var(--navy); border-radius: 0; vertical-align: 3px; }
.hm-snipe-chart { position: relative; padding: 30px 0 0 48px; }
.hm-snipe-plot { position: relative; }
.hm-snipe-svg { display: block; width: 100%; height: 132px; overflow: visible; border-radius: 12px; background: linear-gradient(180deg, #FFFFFF, #F5F7FC); box-shadow: inset 0 0 0 1px var(--line); }
.hm-snipe-svg .win { fill: rgba(224, 166, 58, .08); }
.hm-snipe-svg .ln { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hm-snipe-svg .base { stroke: var(--navy); stroke-width: 1.3; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.hm-snipe-svg .edge { stroke: var(--gold-2); stroke-width: 1.3; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.hm-y { position: absolute; left: -48px; width: 40px; transform: translateY(-50%); text-align: right; font-family: var(--f-mono); font-size: 11.5px; line-height: 1; color: var(--ink-2); }
.hm-y0 { color: var(--navy); font-weight: 700; }
.hm-snipe-tag { position: absolute; top: -8px; transform: translate(-50%, -100%); }
.hm-x { position: relative; height: 18px; margin-top: 7px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.hm-x span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.hm-x span.x0 { left: 0; transform: none; }
.hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 22px; padding-top: 26px; border-top: 1px dashed var(--line-2); }
.hm-fact { display: grid; align-content: start; gap: 6px; min-width: 0; }
.hm-fact .ptag { justify-self: start; height: 24px; font-size: 11px; }
.hm-fact b { margin-top: 4px; font-size: 15px; }
.hm-fact p { font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.hm-foot-note { margin-top: 18px; max-width: 900px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }

/* ── 04 $MDAQ flywheel ──────────────────────────────────────────────── */
.hm-mdaq { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); overflow: hidden; }
.hm-mdaq-l { display: grid; align-items: center; justify-items: center; padding: clamp(20px, 2.8vw, 38px); border-right: 1px solid var(--line); }
.hm-mdaq-r { display: grid; align-content: start; gap: 18px; padding: clamp(20px, 2.8vw, 38px); }
.hm-flywheel { display: grid; justify-items: center; gap: 26px; width: 100%; }
.hm-wheel { position: relative; width: min(100%, 320px); aspect-ratio: 1; }
.hm-wheel-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hm-wheel-svg .track { fill: none; stroke: rgba(47, 91, 255, .1); stroke-width: 20; }
.hm-wheel-svg .tick { fill: none; stroke: rgba(15, 35, 80, .2); stroke-width: 7; stroke-dasharray: 1.2 9; }
.hm-wheel-svg .arc { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 8; animation: hm-dash 1.3s linear infinite; }
.hm-wheel-svg .arr { fill: var(--accent); }
.hm-wheel-svg .pin-o { fill: #fff; stroke: rgba(15, 35, 80, .14); stroke-width: 1.5; }
.hm-wheel-svg .pin-i { fill: var(--navy); }
.hm-wheel-svg .pin-t { fill: var(--gold); font-family: var(--f-mono); font-size: 16px; font-weight: 800; }
@keyframes hm-dash { to { stroke-dashoffset: -16; } }
.hm-wheel-coin { position: absolute; left: 50%; top: 50%; width: 44%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 14px 20px rgba(11, 27, 63, .28)); }
.hm-wsteps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; width: 100%; max-width: 520px; }
.hm-wsteps .hm-ws-loop { grid-column: 1 / -1; }
.hm-wsteps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 12px; }
.hm-ws-k { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--navy); color: var(--gold); font-family: var(--f-mono); font-size: 12.5px; font-weight: 800; box-shadow: 0 6px 12px -8px rgba(11, 27, 63, .7); }
.hm-ws-t { display: grid; min-width: 0; line-height: 1.45; }
.hm-ws-t b { font-size: 15px; }
.hm-ws-t small { font-size: 12.5px; color: var(--ink-3); }
.hm-ws-loop .hm-ws-k { background: var(--accent-soft); color: var(--accent-deep); box-shadow: none; font-family: var(--f-body); }
.hm-ws-loop .hm-ws-t { align-self: center; }
.hm-msplit { display: grid; gap: 12px; }
.hm-mbar { display: flex; gap: 3px; height: 12px; }
.hm-mbar i { flex-basis: 0; border-radius: var(--r-pill); }
.hm-mbar .a { background: linear-gradient(90deg, #6E9BFF, #2F5BFF); }
.hm-mbar .o { background: linear-gradient(90deg, #FFD27A, #E0A63A); }
.hm-mbar .d { background: var(--ink-4); }
.hm-mbar .m, .hm-mleg .m b::before { background: #A58BE8; }
.hm-mbar .l, .hm-mleg .l b::before { background: #37B79B; }
.hm-mleg { display: grid; gap: 6px; }
.hm-mleg li { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-2); }
.hm-mleg b { position: relative; padding-left: 15px; font-family: var(--f-mono); font-size: 14px; color: var(--ink); }
.hm-mleg b::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 3px; }
.hm-mleg .a b::before { background: var(--accent); }
.hm-mleg .o b::before { background: var(--gold-2); }
.hm-mleg .d b::before { background: var(--ink-4); }
.hm-kv > div { align-items: center; min-height: 44px; }
.hm-kv b { display: flex; justify-content: flex-end; align-items: center; min-height: 22px; }
.hm-kv b .pending, .hm-kv b .badge, .hm-kv b .retrying, .hm-kv b .loading-txt { font-family: var(--f-body); }
.hm-note { font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.hm-mdaq-cta { gap: 10px; }
.hm-flaplink:empty { display: none; }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hm-live { grid-template-columns: minmax(0, 1fr); }
  .hm-flow { grid-template-columns: auto 56px auto; justify-content: center; }
  .hm-flow .hm-pipe2 { display: none; }
  .hm-split { grid-column: 1 / -1; }
  .hm-snipe { grid-template-columns: minmax(0, 1fr); }
  .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-art { width: 100%; max-width: 700px; justify-self: center; }
  .hm-mdaq { grid-template-columns: minmax(0, 1fr); }
  .hm-mdaq-l { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hm-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hm-step { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding: 18px; }
  .hm-step > * { grid-column: 2; }
  .hm-step > .hm-step-top { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; margin: 0; }
  .hm-step:not(:last-child)::after { display: none; }
}
@media (max-width: 700px) {
  .hm-sh-art { display: none; }
  .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-stats > .stat:last-child { grid-column: 1 / -1; }
  .hm-board .hm-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr) minmax(0, 1.2fr) 40px; gap: 8px; padding: 12px 14px; }
  .hm-board .hm-fc .cell-led { font-size: 12.5px; }
  .hm-board .brow.hd > :last-child { text-align: right; }
  .hm-board .hm-c-sold { display: none; }
  .hm-board .tok .av { width: 32px; height: 32px; }
  .hm-board .tok .av .tlogo { width: 100% !important; height: 100% !important; }
  .tok .nm .hm-sold-m { display: block; font-family: var(--f-body); font-size: 11px; color: var(--ink-3); }
  .hm-sub .pct { font-size: 11.5px; }
  .hm-gk { display: none; }
  .hm-board .board-foot { padding: 12px 14px; font-size: 12px; }
  .hm-tr { grid-template-columns: 58px minmax(0, 1fr) auto 28px; grid-template-areas: "k tok t x" "d d tax tax"; row-gap: 6px; column-gap: 8px; padding: 11px 14px; }
  .hm-tr > .hm-kind { grid-area: k; }
  .hm-tr > .hm-tr-tok { grid-area: tok; }
  .hm-tr > .hm-tr-t { grid-area: t; }
  .hm-tr > :last-child { grid-area: x; }
  .hm-tr > .hm-tr-d { grid-area: d; }
  .hm-tr > .hm-tr-tax { grid-area: tax; text-align: right; }
  .hm-new { padding: 11px 14px; }
  .hm-tape.tape { margin: 12px 12px 4px; }
}
@media (max-width: 640px) {
  .hm-hero { padding-top: 20px; }
  .hm-h1 { margin: 14px 0 18px; }
  .hm-h1 .wordmark { font-size: min(17.2vw, 76px); }
  .hm-h1 .headline { font-size: min(8.3vw, 34px); }
  .hm-proto { font-size: 12.5px; gap: 8px; padding-right: 12px; }
  .hm-cta .btn { flex: 1 1 0; min-width: 0; }
  .hm-cta .btn-lg { --b-h: 52px; padding: 0 16px; font-size: 15.5px; }
  .hm-screen { left: 11%; top: 27.5%; width: 61%; height: 35%; }
  .hm-wall.ixb { gap: 4cqh; justify-content: center; }
  .hm-wall .flaps { font-size: min(calc(94cqw / var(--hm-k)), 44cqh); }
  .hm-wall .ixb-top { font-size: 9.5px; letter-spacing: .12em; }
  .hm-wall .ixb-status { font-size: 10.5px; }
  .hm-wall .ixb-note { min-height: 22px; font-size: 10.5px; }
  .hm-fx { height: 22px; padding-right: 8px; font-size: 10.5px; }
  .hm-fx i { width: 16px; height: 16px; font-size: 10px; }
  .hm-bull { width: 40%; right: 1%; bottom: -7%; }
  .hm-bull .mascot .bubble { font-size: 11.5px; padding: 5px 10px; }
  .hm-art { padding: 8px 0 0; }
  .hm-xhair { display: none; }
  .hm-below { position: static; inset: auto; pointer-events: auto; margin-top: 22px; display: grid; gap: 12px; }
  .hm-callouts { position: static !important; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: flex; flex-wrap: wrap; gap: 8px; }
  .hm-callouts .ptag { height: 28px; }
  .hm-fxw .hm-tip { right: -64px; max-width: 72vw; }
  .hm-fxw .hm-tip::after { right: 86px; }
  .hm-taxline { font-size: 11.5px; }
  .hm-below .hm-wall-x {
    display: grid; gap: 6px; padding: 12px 14px 10px; border-radius: var(--r);
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72)); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  }
  .hm-below .hm-wall-x-cap { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); }
  .hm-below .ixb-spark { height: 64px; margin: 0; }
  .hm-below .ixb-foot { margin: 0; }
  .hm-stats { margin-top: 32px; }
  .hm-flow { gap: 10px; grid-template-columns: auto 32px auto; }
  .hm-node { min-width: 0; padding: 10px 12px; }
  .hm-node.big b { font-size: 28px; }
  .hm-sbar { height: 46px; }
  .hm-seg b { font-size: 14px; }
  .hm-slabels { grid-template-columns: minmax(0, 1fr) !important; gap: 8px; }
  .hm-slab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; }
  .hm-slab b { white-space: nowrap; }
  .hm-snipe-chart { padding-left: 40px; }
  .hm-y { left: -40px; width: 34px; font-size: 11px; }
  .hm-x span.xa { display: none; }
  .hm-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hm-wheel { width: min(100%, 250px); }
  .hm-wsteps { grid-template-columns: minmax(0, 1fr); }
  .hm-mleg li { grid-template-columns: 52px minmax(0, 1fr); }
  .hm-kv > div { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .hm-stats .stat .big { font-size: 22px; }
  .hm-wall .hm-chg .pct + .lbl { display: none; }
}
@media (max-width: 380px) {
  .hm-proto > span:not(.arrow) { white-space: normal; line-height: 1.35; }
  .hm-cta { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-pipe::after, .hm-wheel-svg .arc { animation: none; }
}
html.rm .hm-pipe::after, html.rm .hm-wheel-svg .arc { animation: none; }
/* === end page: home === */

/* === page: launch === */
/* v2 light palette ①「晨雾蓝」 (docs/03 §5 #/launch): page head · stepper · form card (steps 1–3) · confirm card (step 4) ·
   sticky preview card with the mascot on top · review modal. Weight segments use palette colours s0–s3 (hub first). */
.lp { padding: clamp(26px, 4vw, 56px) 0 4px; }

/* ── page head ── */
.lp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 56px; align-items: end; }
.lp-head-l .eyebrow { margin-bottom: 16px; }
.lp-head .h1 { margin-bottom: 14px; }
.lp-head .lead { max-width: 720px; }
.lp-head-r { display: flex; align-items: stretch; padding: 4px 0 6px; }
.lp-axis { display: grid; gap: 12px; justify-items: end; align-content: center; }
.lp-ax { display: flex; align-items: center; }
.lp-ax .ptag { height: 30px; font-size: 12.5px; }
.lp-ax i { display: block; width: var(--ax, 24px); height: 1px; margin-left: 4px; background: linear-gradient(90deg, rgba(47, 91, 255, .55), rgba(47, 91, 255, .18)); position: relative; }
.lp-ax i::after { content: ""; position: absolute; right: -3px; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); }
.lp-ax:nth-child(1) { --ax: 30px; }
.lp-ax:nth-child(2) { --ax: 12px; }
.lp-ax:nth-child(3) { --ax: 44px; }
.lp-vruler { width: 30px; }
@media (max-width: 1020px) { .lp-head { grid-template-columns: minmax(0, 1fr); } .lp-head-r { display: none; } }
.lp-pre {
  display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 8px 18px 8px 8px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .95);
  background: radial-gradient(360px 120px at 0% 50%, rgba(255, 210, 122, .22), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.lp-pre-tag {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px;
  border-radius: 10px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  background: linear-gradient(180deg, #1B2C5E, #0B1B3F);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 14px -8px rgba(11, 27, 63, .8);
}
.lp-pre-tag svg { width: 14px; height: 14px; color: var(--gold); }
.lp-pre p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.lp-pre b { color: var(--ink); margin-right: 2px; }
.lp-hstate { margin-top: 16px; }
.lp-hstate .notice { align-items: center; flex-wrap: wrap; }
.lp-ruler { height: 12px; margin: 26px 0 18px; }
@media (max-width: 600px) {
  .lp-pre { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; margin-top: 18px; }
  .lp-ruler { margin: 18px 0 12px; }
}

/* ── grid ── */
.lp-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-areas: "main side" "end side"; gap: 18px 28px; align-items: start;
}
.lp-main { grid-area: main; min-width: 0; display: grid; gap: 14px; }
.lp-end { grid-area: end; min-width: 0; }
.lp-side { grid-area: side; min-width: 0; position: relative; padding-top: 112px; align-self: start; }
@media (min-width: 1000px) and (min-height: 640px) { .lp-side { position: sticky; top: var(--lp-stick, calc(var(--header-top) + var(--header-h) + 6px)); } }
@media (max-width: 999px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "end"; gap: 16px; }
  .lp-side { padding-top: 104px; }
}

/* ── stepper ── */
.lp-stepper {
  position: relative; z-index: 6; padding: 8px 10px 12px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
@media (min-width: 1000px) { .lp-stepper { position: sticky; top: calc(var(--header-top) + var(--header-h) + 8px); } }
.lp-stepper ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.lp-sp-rail { position: absolute; left: 18px; right: 18px; bottom: 7px; height: 3px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.lp-sp-rail i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6E9BFF, #2F5BFF); transition: width .5s var(--ease); }
.lp-sp { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; text-align: left; transition: background .2s; }
.lp-sp:hover { background: var(--accent-softer); }
.lp-sp-n {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 13.5px; color: var(--ink-3);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .25s, color .25s, box-shadow .25s;
}
.lp-sp-n i { font-style: normal; }
.lp-sp-n svg { display: none; width: 16px; height: 16px; }
.lp-sp-t { min-width: 0; display: grid; line-height: 1.3; }
.lp-sp-t b { font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-sp-t small { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-sp[aria-current="step"] .lp-sp-n { color: var(--gold); background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 16px -10px rgba(11, 27, 63, .9); }
.lp-sp[aria-current="step"] .lp-sp-t b { color: var(--ink); }
.lp-sp[data-state="done"] .lp-sp-n, .lp-sp[data-state="ready"] .lp-sp-n { color: #fff; background: var(--btn); box-shadow: 0 8px 16px -10px rgba(47, 91, 255, .9); }
.lp-sp[data-state="ready"][aria-current="step"] .lp-sp-n { box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 16px -10px rgba(47, 91, 255, .9); }
.lp-sp[data-state="done"] .lp-sp-n i, .lp-sp[data-state="lock"] .lp-sp-n i { display: none; }
.lp-sp[data-state="done"] .lp-sp-n svg:nth-of-type(1) { display: block; }
.lp-sp[data-state="done"] .lp-sp-t b { color: var(--ink); }
.lp-sp[data-state="ready"] small { color: var(--accent-deep); font-weight: 600; }
.lp-sp[data-state="bad"] .lp-sp-n { color: var(--down-ink); background: #FFF3F3; box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .45); }
.lp-sp[data-state="bad"] small { color: var(--down-ink); }
.lp-sp[data-state="lock"] .lp-sp-n { color: var(--ink-3); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.lp-sp[data-state="lock"] .lp-sp-n svg:nth-of-type(2) { display: block; }
@media (max-width: 700px) {
  .lp-stepper { padding: 6px 4px 12px; }
  .lp-sp { flex-direction: column; gap: 5px; padding: 6px 2px; text-align: center; }
  .lp-sp-n { width: 30px; height: 30px; border-radius: 10px; font-size: 12.5px; }
  .lp-sp-t b { font-size: 12.5px; }
  .lp-sp-t small { font-size: 10.5px; }
}
@media (max-width: 380px) { .lp-sp-t small { display: none; } }

/* ── form card ── */
.lp-fh { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 20px 26px 16px; border-bottom: 1px solid var(--line); }
.lp-fh-l { display: grid; gap: 6px; }
.lp-fh h2 { font-size: 20px; font-weight: 900; letter-spacing: -.005em; }
.lp-fh-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-draft { font-size: 12px; color: var(--ink-3); }
.lp-draft:not(:empty)::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--up); vertical-align: 1px; }
.lp-body { padding: 4px 26px 24px; display: grid; }
.lp-step { border: 0; margin: 0; padding: 24px 0 28px; min-width: 0; display: grid; gap: 18px; scroll-margin-top: 170px; }
.lp-step + .lp-step { border-top: 1px dashed var(--line-2); }
.lp-step:last-child { padding-bottom: 6px; }
.lp-step[disabled] { opacity: .6; }
.lp-leg { float: left; width: 100%; display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 0; margin: 0; }
.lp-no {
  display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 7px; border-radius: 7px;
  font-family: var(--f-mono); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--gold);
  background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: 0 6px 12px -8px rgba(11, 27, 63, .8);
}
.lp-st { font-size: 18px; font-weight: 900; letter-spacing: -.005em; color: var(--ink); line-height: 1.3; }
.lp-leg em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.lp-f { min-width: 0; }
.lp div.l { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.lp div.l em { font-style: normal; font-weight: 500; color: var(--ink-3); font-family: var(--f-mono); font-size: 11.5px; }
.lp .l .lp-opt { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--bg-3); color: var(--ink-3); font-family: var(--f-body); font-size: 11px; font-weight: 500; vertical-align: 1px; }
.lp-count.bad, .lp-meta-n b.bad, .lp-est-v.bad, .lp-sumline b.bad { color: var(--down-ink); }
.lp .hint.ok { color: var(--up-ink); }
.lp .hint.warn { color: var(--warn-ink); }
/* step 1 */
.lp-id { display: grid; grid-template-columns: 100px minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.lp-logo {
  width: 100px; height: 100px; border-radius: 28px; display: grid; place-items: center;
  border: 1px dashed var(--line-3); background: repeating-linear-gradient(135deg, rgba(15, 35, 80, .035) 0 6px, transparent 6px 12px), #fff;
}
.lp-logo .tlogo { border-radius: 24px; box-shadow: 0 10px 22px -14px rgba(15, 35, 80, .55); }
.lp-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-meta, .lp-weights { display: grid; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(238, 242, 250, .92), rgba(238, 242, 250, .5)); }
.lp-meta { gap: 10px; padding: 14px 16px; }
.lp-meta-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.lp-meta-n { white-space: nowrap; font-family: var(--f-mono); }
.lp-meta-n b { font-size: 17px; color: var(--ink); }
.lp-meta-n small { font-size: 11.5px; color: var(--ink-3); }
.lp-meta .bar { background: #fff; }
.lp-meta .bar.bad i { background: var(--down); }
.lp-json summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--accent-deep); width: max-content; max-width: 100%; }
.lp-json summary:hover { color: var(--accent); }
.lp-jsonpre { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
/* step 2 */
.lp-chips { gap: 10px; }
.lp-chip { min-height: 50px; padding: 6px 16px 6px 9px; border-radius: 14px; gap: 9px; text-align: left; }
.lp-chip .ck { flex: none; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; color: #fff; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-3); transition: background .15s, box-shadow .15s; }
.lp-chip .ck svg { width: 12px; height: 12px; opacity: 0; }
.lp-chip[aria-pressed="true"] .ck { background: var(--accent); box-shadow: none; }
.lp-chip[aria-pressed="true"] .ck svg { opacity: 1; }
.lp-chip-t { display: grid; line-height: 1.25; min-width: 0; }
.lp-chip-t b { font-size: 14px; font-weight: 700; color: var(--ink); }
.lp-chip-t small { font-size: 11.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.lp-chip[aria-pressed="true"] .lp-chip-t small { color: var(--accent-deep); }
.lp-chip.hub { cursor: default; }
.lp-chip.manual { border-style: dashed; }
.lp-chip.warn .lp-chip-t small { color: var(--down-ink); }
.lp-more { display: inline-flex; align-items: center; min-height: 50px; padding: 0 6px; font-size: 13px; color: var(--ink-3); }
.lp-weights { gap: 12px; padding: 14px 16px 16px; }
.lp-wtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-wtop .l { margin: 0; }
.lp-wrows { display: grid; gap: 10px; }
.lp-wrow {
  display: grid; grid-template-columns: 176px minmax(0, 1fr) 94px; align-items: center; gap: 16px;
  padding: 10px 12px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -12px rgba(15, 35, 80, .35);
}
.lp-wname { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lp-wname > div { min-width: 0; line-height: 1.3; }
.lp-wname b { display: block; font-size: 14px; }
.lp-wname small { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-dot { flex: none; width: 8px; height: 8px; border-radius: 3px; }
.lp-dot.s0, .lp-sumbar .s0 { background: var(--accent); }
.lp-dot.s1, .lp-sumbar .s1 { background: var(--navy); }
.lp-dot.s2, .lp-sumbar .s2 { background: var(--accent-2); }
.lp-dot.s3, .lp-sumbar .s3 { background: var(--gold-2); }
.lp-wnum-wrap { position: relative; }
.lp-wnum { min-height: 40px; padding: 6px 28px 6px 10px; text-align: right; font-size: 17px; font-weight: 700; }
.lp-wnum-wrap i { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--f-mono); color: var(--ink-3); pointer-events: none; }
.lp-sumbar { display: flex; gap: 3px; height: 10px; margin-top: 2px; border-radius: var(--r-pill); overflow: hidden; background: var(--bg-3); }
.lp-sumbar i { display: block; height: 100%; min-width: 3px; transition: flex-grow .3s var(--ease); }
.lp-sumline { display: flex; justify-content: space-between; align-items: center; gap: 6px 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.lp-sumline b { margin-left: 4px; font-family: var(--f-mono); font-size: 16px; color: var(--up-ink); }
/* step 3 */
.lp-buy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.lp-devg .inp { min-height: 56px; }
.lp-devg .addon { gap: 8px; font-family: var(--f-display); font-size: 15px; color: var(--ink); }
.lp-devg:has(.inp[aria-invalid="true"]) { border-color: var(--down); box-shadow: 0 0 0 4px var(--down-soft); }
.lp-devg .inp[aria-invalid="true"] { box-shadow: none; }
.lp-bal { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.lp-bal .num { color: var(--ink-2); }
.lp-est {
  min-height: 58px; padding: 9px 14px; border-radius: 14px; display: grid; gap: 2px; align-content: center;
  background: radial-gradient(260px 90px at 100% 0%, rgba(47, 91, 255, .10), transparent 70%), #fff;
  border: 1px solid rgba(47, 91, 255, .18);
}
.lp-est-v { font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.lp-est-v .pre, .lp-est-v .pending, .lp-est-v .retrying, .lp-est-v .loading-txt { font-size: 14px; letter-spacing: 0; }
.lp-est small { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.lp-slip { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.lp-slip-l { font-size: 13px; font-weight: 600; }
.lp-slip .seg { grid-auto-columns: minmax(64px, auto); }
.lp-slip .seg button { min-height: 32px; font-family: var(--f-mono); font-size: 13px; }
.lp-slip .hint { margin: 0; }
.lp-kv { padding: 2px 16px; border-radius: 14px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); }
.lp-kv > div > span { min-width: 0; }
.lp-kv b { flex: none; max-width: 55%; }

/* ── confirm card (step 4) ── */
.lp-step4 { padding: 22px 26px 24px; display: grid; gap: 18px; scroll-margin-top: 170px; }
.lp-step4 > .lp-leg { float: none; }
.lp-step4 h2.lp-st { font-size: 18px; }
.lp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-fact {
  display: grid; gap: 4px; align-content: start; min-width: 0; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .72)); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.lp-fact small { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 24px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .07em; color: var(--ink-3); }
.lp-fact b { min-width: 0; min-height: 30px; font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); overflow-wrap: anywhere; }
.lp-fact b .pre, .lp-fact b .pending, .lp-fact b .retrying, .lp-fact b .loading-txt, .lp-fact b .lp-dim { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.lp-fact b .addr { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.lp-fact p { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.lp-fact-total { border-color: rgba(47, 91, 255, .22); background: radial-gradient(280px 120px at 100% 0%, rgba(47, 91, 255, .12), transparent 70%), linear-gradient(180deg, #fff, rgba(255, 255, 255, .72)); }
.lp-dim { color: var(--ink-3); font-size: 13px; font-weight: 500; }
.lp-rules {
  display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(224, 166, 58, .32);
  background: radial-gradient(420px 160px at 0% 0%, rgba(255, 210, 122, .22), transparent 70%), rgba(255, 255, 255, .8);
}
.lp-rules h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; }
.lp-rules h3 .ico { color: var(--gold-ink); }
.lp-rules ul { display: grid; gap: 6px; }
.lp-rules li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.lp-rules li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 1px; background: var(--gold-2); transform: rotate(45deg); }
.lp-rules b { color: var(--ink); }
.lp-rules .link { margin-left: 6px; }
.lp-submit { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; }
.lp-go { min-width: 220px; }
.lp-submit small { flex: 1; min-width: 200px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.lp-step4 > .btn-reason { margin-top: -10px; }
.lp-done a { margin-left: 8px; }

/* ── preview column: mascot perch + card ── */
.lp-perch { position: absolute; left: 0; right: 0; top: 0; height: 112px; display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: none; }
.lp-mascot { position: relative; z-index: 3; flex: none; width: 142px; margin: 0 6px -22px 0; }
.lp-mascot .mascot .bubble { display: none !important; }
.lp-say {
  position: relative; z-index: 2; align-self: center; min-width: 0; max-width: 300px; margin: 0 4px 6px 0; padding: 10px 14px;
  display: grid; gap: 2px; border-radius: 16px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line);
  box-shadow: 0 16px 34px -20px rgba(15, 35, 80, .55); pointer-events: auto;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lp-say::after { content: ""; position: absolute; right: -6px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; background: #fff; border-right: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.lp-say b { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.lp-say span { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; overflow-wrap: anywhere; }
.lp-say.up b { color: var(--up-ink); }
.lp-say.down b { color: var(--down-ink); }
.lp-card {
  display: grid; gap: 12px; padding: 28px 22px 16px;
  background: radial-gradient(520px 240px at 100% 0%, rgba(47, 91, 255, .10), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8));
  box-shadow: var(--shadow-lg);
}
.lp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lp-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.lp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 3px var(--gold-soft); }
.lp-status[data-kind="wait"]::before { background: var(--ink-4); box-shadow: 0 0 0 3px rgba(15, 35, 80, .06); }
.lp-status[data-kind="busy"] { color: var(--accent-deep); }
.lp-status[data-kind="busy"]::before { background: var(--accent); box-shadow: none; animation: blink 1s ease-in-out infinite; }
.lp-status[data-kind="ready"], .lp-status[data-kind="live"] { color: var(--up-ink); }
.lp-status[data-kind="ready"]::before, .lp-status[data-kind="live"]::before { background: var(--up); color: var(--up); box-shadow: none; animation: pulse 1.8s ease-out infinite; }
.lp-tick { display: flex; align-items: center; gap: 16px; min-width: 0; }
.lp-tlogo { flex: none; }
.lp-tlogo .tlogo { border-radius: 22px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), 0 14px 26px -14px rgba(15, 35, 80, .6); }
.lp-tick-r { min-width: 0; flex: 1; display: grid; gap: 8px; }
.lp-flaps.flaps { justify-content: flex-start; font-size: 42px; gap: .08em; }
.lp-flaps.flaps[data-len="2"] { font-size: 31px; }
.lp-flaps.flaps[data-len="3"] { font-size: 24px; }
.lp-symtxt { font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tname { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.lp-tname b { min-width: 0; font-size: 16.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tname b.lp-dim { font-size: 16.5px; font-weight: 700; }
.lp-tname span { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-eip { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 12px; background: var(--accent-softer); border: 1px solid rgba(47, 91, 255, .14); font-size: 12.5px; line-height: 1.5; }
.lp-eip-chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; white-space: nowrap; cursor: help;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: linear-gradient(180deg, #1B2C5E, #0B1B3F);
}
.lp-eip-draft { margin-left: -6px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.lp-eip-t { flex: 1 1 210px; color: var(--ink-2); }
.lp-desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-height: 1.6em; }
.lp-desc.lp-dim { color: var(--ink-3); font-size: 13.5px; }
.lp-crow { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.lp-tlinks { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-tlinks span { padding: 2px 9px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); }
.lp-qchips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lp-qchips > small { margin-right: 2px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--ink-3); }
.lp-qchips .chip.static { background: #fff; color: var(--ink); }
.lp-alloc { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 18px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-donut { position: relative; width: 128px; aspect-ratio: 1; }
.lp-donut svg { width: 100%; height: 100%; overflow: visible; }
.lp-donut circle { fill: none; stroke-width: 15; }
.lp-donut-track { stroke: var(--bg-3); }
.lp-arc { transition: stroke-dasharray .45s var(--ease), stroke-dashoffset .45s var(--ease); }
.lp-arc.s0 { stroke: var(--accent); }
.lp-arc.s1 { stroke: var(--navy); }
.lp-arc.s2 { stroke: var(--accent-2); }
.lp-arc.s3 { stroke: var(--gold-2); }
.lp-donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.2; }
.lp-donut-c b { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.lp-donut-c small { font-size: 10.5px; color: var(--ink-3); }
.lp-pools { display: grid; min-width: 0; }
.lp-pool { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 1px 9px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); min-width: 0; }
.lp-pool:last-child { border-bottom: 0; }
.lp-pair { display: flex; align-items: center; gap: 7px; min-width: 0; }
.lp-pair b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pool-w { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.lp-pool-s { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; font-size: 12px; color: var(--ink-2); }
.lp-pool-s > .num { white-space: nowrap; }
.lp-pool-p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pool-p small { font-size: 11.5px; color: var(--ink-3); }
.lp-pool-p .pre, .lp-pool-p .pending { font-size: 12px; }
.lp-pool-p .retrying, .lp-pool-p .loading-txt { font-size: 11.5px; }
.lp-pstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-pst { min-width: 0; padding: 0 12px; border-left: 1px solid var(--line); }
.lp-pst:first-child { padding-left: 0; border-left: 0; }
.lp-pst small { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.lp-pst b { display: block; margin-top: 4px; min-height: 1.45em; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-pst b .pre, .lp-pst b .pending, .lp-pst b .lp-dim, .lp-pst b .loading-txt, .lp-pst b .retrying { font-size: 12.5px; font-weight: 500; letter-spacing: 0; }
.lp-pst b .num { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.lp-cap { display: flex; justify-content: space-between; gap: 2px 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); }
.lp-cap span:last-child { color: var(--accent-deep); }
.lp-foot { padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }

/* ── review modal (rendered in <body>) ── */
.lp-review { display: grid; gap: 14px; }
.lp-rv-head { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(238, 242, 250, .92), rgba(238, 242, 250, .5)); }
.lp-rv-head .tlogo { border-radius: 16px; box-shadow: 0 0 0 3px #fff, 0 10px 20px -12px rgba(15, 35, 80, .5); }
.modal-b .lp-rv-name { display: block; font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.lp-rv-sym { font-family: var(--f-mono); font-weight: 700; color: var(--accent-deep); overflow-wrap: anywhere; }
.lp-rv-g { display: grid; gap: 4px; }
.lp-rv-gt { display: flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); }
.lp-rv-gt .ico { width: 13px; height: 13px; color: var(--gold-ink); }
.lp-rv-kv > div { align-items: flex-start; }
.lp-rv-kv > div > span { flex: none; max-width: 46%; }
.modal-b .lp-rv-kv b { font-family: var(--f-body); font-size: 13.5px; font-weight: 600; }
.lp-rv-qs { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lp-rv-qs .chip.static { background: #fff; color: var(--ink); }
.lp-rv-tw { overflow-x: auto; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lp-rv-pools { font-size: 13px; }
.lp-rv-pools th, .lp-rv-pools td { padding: 9px 12px; }
.lp-rv-pools td { white-space: nowrap; }
.lp-rv-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(180deg, #1B2C5E, #0B1B3F); }
.lp-rv-total span { font-weight: 700; color: var(--on-navy-2); }
.modal-b .lp-rv-total b { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--gold); }
.lp-sim { align-items: center; }
.lp-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; line-height: 1.6; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.lp-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.lp-check:has(input:checked) { border-color: var(--accent); background: #F4F7FF; }

/* ── small screens ── */
@media (max-width: 700px) {
  .lp-links { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .lp-fh { padding: 16px 16px 14px; }
  .lp-body { padding: 0 16px 18px; }
  .lp-step { padding: 20px 0 24px; gap: 16px; }
  .lp-st { font-size: 17px; }
  .lp-id { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .lp-id > .lp-f:last-child { grid-column: 1 / -1; }
  .lp-logo { width: 80px; height: 80px; border-radius: 22px; }
  .lp-logo .tlogo { width: 72px !important; height: 72px !important; border-radius: 20px; }
  .lp-chip { min-height: 46px; padding-right: 12px; }
  .lp-wrow { grid-template-columns: minmax(0, 1fr) 88px; gap: 6px 12px; }
  .lp-wrow input[type=range] { grid-column: 1 / -1; grid-row: 2; }
  .lp-buy { grid-template-columns: minmax(0, 1fr); }
  .lp-step4 { padding: 18px 16px 20px; }
  .lp-fact b { font-size: 19px; }
  .lp-go { width: 100%; min-width: 0; }
  .lp-card { padding: 28px 16px 16px; gap: 12px; }
  .lp-mascot { width: 128px; margin-bottom: -20px; }
  .lp-say { max-width: calc(100% - 136px); padding: 8px 12px; }
  .lp-say b { font-size: 13px; }
  .lp-say span { font-size: 12px; }
  .lp-tlogo .tlogo { width: 60px !important; height: 60px !important; border-radius: 18px; }
  .lp-tick { gap: 12px; }
  .lp-flaps.flaps { font-size: 34px; }
  .lp-flaps.flaps[data-len="2"] { font-size: 25px; }
  .lp-flaps.flaps[data-len="3"] { font-size: 19px; }
  .lp-alloc { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; }
  .lp-donut { width: 100px; }
  .lp-donut-c b { font-size: 17px; }
  .lp-donut-c small { font-size: 9.5px; }
  .lp-pst { padding: 0 8px; }
  .lp-pst b { font-size: 16px; }
  .lp-pool-s { flex-wrap: wrap; justify-content: flex-start; gap: 0 10px; }
  .lp-pool-p { overflow: visible; white-space: normal; }
  .lp-kv { padding: 2px 14px; }
  .lp-kv > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .lp-kv b { max-width: none; text-align: left; }
  .lp-rv-kv b { width: 100%; text-align: left; }
  .lp-rv-qs { justify-content: flex-start; }
  .lp-rv-kv > div { flex-wrap: wrap; }
  .lp-rv-kv > div > span { max-width: none; }
}
@media (max-width: 400px) {
  .lp-fact { padding: 12px 13px; }
  .lp-fact-addr, .lp-fact-total { grid-column: 1 / -1; }
  .lp-fact b { font-size: 17px; }
  .lp-pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .lp-pst-addr { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
.lp-upload {position:relative;display:flex;align-items:center;gap:16px;padding:24px;border:2px dashed var(--line-3);border-radius:16px;background:var(--accent-softer);cursor:pointer;min-height:120px;transition:border-color .15s,background .15s}
.lp-upload:hover,.lp-upload.is-dragging,.lp-upload:focus-within {border-color:var(--accent);background:var(--accent-soft)}
.lp-upload > span {display:grid;gap:8px;min-width:0;overflow-wrap:anywhere}
.lp-upload-status {font-size:12px;color:var(--ink-3);line-height:1.6}
.lp-upload-thumb {width:64px;height:64px;object-fit:cover;border-radius:14px;flex-shrink:0}
.lp-logo-file {position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.lp-price-health {display:block;margin:18px 0}
.lp-price-health p {margin:8px 0;font-size:13px;line-height:1.7}
.lp-price-sources,.lp-price-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.lp-price-sources span {font-size:12px;padding:4px 8px;border:1px solid currentColor;border-radius:8px}
/* === end page: launch === */

/* === page: tokens === */
/* v2 light (docs/03 §5 「#/tokens」): head + count tile · ruler · glass toolbar (search / sort / 计价币 filter) ·
   card grid (compact list on phones) · one empty state per case · reading guide. Shared tokens only. */
.tl-page { padding-top: clamp(30px, 4.6vw, 64px); padding-bottom: 0; }
/* guard: keep the shared ticker-code eyebrow look here even if another block restyles .eyebrow globally */
.tl-page .eyebrow { display: inline-flex; justify-content: flex-start; justify-self: start; flex-wrap: nowrap; gap: 8px; margin-bottom: 0; font-size: var(--t-eyebrow); color: var(--accent-text); }
.tl-page .empty-body > .eyebrow { margin-bottom: 10px; }

/* head */
.tl-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; }
.tl-head .sh { position: relative; margin-bottom: 0; }
.tl-count {
  min-width: 268px; padding: 16px 20px 15px; display: grid; gap: 10px; align-content: start; overflow: hidden; isolation: isolate;
  background: radial-gradient(260px 140px at 100% 0%, rgba(47, 91, 255, .12), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78));
}
/* faint decorative candlestick skyline inside the tile (not data) */
.tl-count .tl-sky.skyline { z-index: -1; left: auto; right: 0; width: 50%; height: 72%; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%), linear-gradient(180deg, transparent, #000 70%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 55%), linear-gradient(180deg, transparent, #000 70%); mask-composite: intersect; }
.tl-count-l { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.tl-count-l::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.tl-count-v { display: flex; align-items: flex-end; gap: 8px; padding-left: 15px; }
.tl-count .flaps { font-size: 40px; }
.tl-count-u { padding-bottom: 3px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.tl-count-note { padding-left: 15px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); min-height: 1.5em; }
.tl-ruler { margin: clamp(22px, 3vw, 34px) 0 12px; }

/* toolbar */
.tl-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; margin-bottom: 22px; }
.tl-bar-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; }
.tl-search { position: relative; min-width: 0; }
.tl-search .inp { min-height: 48px; padding-left: 46px; padding-right: 44px; border-radius: var(--r-pill); background: var(--bg); }
.tl-search .inp:focus { background: #fff; }
.tl-search .inp::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.tl-search-ic { position: absolute; left: 17px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.tl-search:focus-within .tl-search-ic { color: var(--accent); }
.tl-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; font-size: 19px; line-height: 1; }
.tl-sort { display: flex; align-items: center; gap: 10px; padding-right: 2px; }
.tl-lbl { flex: none; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.tl-sort .seg { min-width: 184px; }
.tl-sort .seg button:disabled { opacity: .55; cursor: not-allowed; }
.tl-bar-bot { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 12px 6px 2px; border-top: 1px dashed var(--line-2); }
.tl-filter { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 100%; }
.tl-chip { min-height: 32px; padding: 0 12px; gap: 6px; font-size: 13px; }
.tl-chip:has(.coin) { padding-left: 6px; }
.tl-chip > span:not(.coin) { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-chip em { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.tl-chip[aria-pressed="true"] em { color: var(--accent); }
.tl-status { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 10px; min-width: 0; min-height: 1.5em; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); text-align: right; overflow-wrap: anywhere; }

/* states (one per case) */
.tl-state:empty { display: none; }
.tl-state { margin-bottom: 18px; }
.tl-wait { padding: 40px 16px; }
.tl-wait p { color: var(--ink-2); }
.tl-state .empty h2 { overflow-wrap: anywhere; }
.tl-q-echo { color: var(--accent-deep); }
.tl-addr { margin-top: 10px; }

/* grid + cards */
.tl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tl-grid:empty { display: none; }
.tl-card {
  display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 14px; overflow: hidden; color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, .86));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.tl-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .25s; }
.tl-card.is-new { background: radial-gradient(280px 130px at 100% 0%, rgba(47, 91, 255, .09), transparent 70%), linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, .86)); }
a.tl-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
a.tl-card:hover::before, a.tl-card:focus-visible::before { opacity: 1; }
a.tl-card:focus-visible { outline-offset: 3px; border-radius: var(--r); }
.tl-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tl-av { flex: none; width: 48px; height: 48px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(15, 35, 80, .45); transition: transform .35s var(--ease-spring); }
.tl-av .tlogo { width: 100% !important; height: 100% !important; border-radius: 0; box-shadow: none; }
a.tl-card:hover .tl-av { transform: rotate(-5deg) scale(1.05); }
.tl-id { min-width: 0; display: grid; gap: 3px; }
.tl-id b { font-size: 15.5px; font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0 7px; min-width: 0; font-size: 12px; line-height: 1.4; color: var(--ink-3); white-space: nowrap; }
.tl-sym { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-mono); font-weight: 600; color: var(--ink-2); }
.tl-age { flex: none; }
.tl-new { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 6px; border-radius: 5px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--accent); box-shadow: 0 4px 10px -5px rgba(47, 91, 255, .8); }
.tl-new::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; color: #fff; animation: pulse 1.8s ease-out infinite; }

.tl-mc { position: relative; display: block; min-width: 0; padding: 10px 13px 12px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(238, 242, 250, .85), rgba(238, 242, 250, .45)); }
.tl-mc-l { display: grid; gap: 1px; min-width: 0; }
.tl-mc small { display: flex; align-items: center; min-height: 24px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); line-height: 1.4; }
.tl-fdv.cell-led { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tl-fdv.is-wait { font-family: var(--f-body); font-size: 13px; font-weight: 500; line-height: 1.85; }
.tl-price { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-price:empty { display: none; }
/* change pill sits on the label row so the value gets the full width */
.tl-chg { position: absolute; top: 10px; right: 10px; }
.tl-chg .pct { font-size: 12px; }

.tl-sold { display: grid; gap: 7px; }
.tl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.tl-row small { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.tl-sold-v { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink); }
.tl-sold .bar { height: 5px; }

.tl-qs { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-q { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 26px; padding: 0 9px 0 4px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: 12px; font-weight: 700; line-height: 1; color: var(--ink); }
.tl-q > span:not(.coin) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-q em { font-style: normal; font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--ink-3); }

.tl-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); white-space: nowrap; min-width: 0; }
.tl-creator { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tl-creator .mono { color: var(--ink-2); }
.tl-go { flex: none; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent-deep); }
.tl-go .arrow { font-family: var(--f-display); transition: transform .2s var(--ease); }
a.tl-card:hover .tl-go .arrow, a.tl-card:focus-visible .tl-go .arrow { transform: translateX(3px); }

/* load more */
.tl-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 26px; }
.tl-more-note:empty { display: none; }
.tl-more-note { font-size: 12.5px; }
.tl-end { color: var(--ink-3); }

/* reading guide */
.tl-guide { margin-top: clamp(40px, 5vw, 64px); padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(238, 242, 250, .9), rgba(238, 242, 250, .5)); }
.tl-guide-head { display: grid; gap: 8px; margin-bottom: 18px; }
.tl-guide-head h2 { font-size: var(--t-h3); font-weight: 800; }
.tl-defs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tl-def { display: grid; gap: 6px; align-content: start; padding: 14px 16px 16px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .78); }
.tl-def-k { justify-self: start; padding: 2px 7px; border-radius: 5px; background: var(--navy); color: var(--gold); font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; }
.tl-def b { margin-top: 2px; font-size: 14.5px; }
.tl-def p { font-size: 13px; line-height: 1.7; color: var(--ink-2); }

@media (max-width: 1100px) { .tl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tl-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .tl-count { width: auto; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l f" "n f"; align-items: center; gap: 2px 16px; padding: 14px 16px; }
  .tl-count-l { grid-area: l; }
  .tl-count-v { grid-area: f; padding-left: 0; }
  .tl-count .flaps { font-size: 30px; }
  .tl-count .tl-sky.skyline { width: 46%; height: 100%; opacity: .35; }
  .tl-count-note { grid-area: n; }
  .tl-defs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) { .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 700px) {
  .tl-bar-top { grid-template-columns: minmax(0, 1fr); }
  .tl-sort .seg { flex: 1; min-width: 0; }
  .tl-bar-bot { padding: 12px 2px 2px; }
  .tl-filter { flex: 1 1 100%; }
  /* chips: one row that scrolls sideways (padding keeps the focus ring visible) */
  .tl-chips { flex-wrap: nowrap; overflow-x: auto; padding: 4px; margin: -4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .tl-chips::-webkit-scrollbar { display: none; }
  .tl-chip { flex: none; }
  .tl-status { margin-left: 0; justify-content: flex-start; text-align: left; }
}
/* phones: one-column compact list */
@media (max-width: 560px) {
  .tl-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tl-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top mc" "sold sold" "qs qs" "foot foot"; gap: 12px; padding: 14px 14px 10px; }
  .tl-top { grid-area: top; gap: 10px; }
  .tl-av { width: 42px; height: 42px; border-radius: 12px; }
  .tl-id b { font-size: 15px; }
  .tl-sub { gap: 6px; font-size: 11.5px; }
  .tl-mc { grid-area: mc; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; }
  .tl-mc-l { justify-items: end; text-align: right; }
  .tl-mc small { min-height: 0; font-size: 11px; line-height: 1.2; }
  .tl-price { display: none; }
  .tl-fdv.cell-led { justify-self: end; font-size: 18px; }
  .tl-fdv.is-wait { font-size: 12px; line-height: 1.5; }
  .tl-chg { position: static; }
  .tl-chg .pct { font-size: 11.5px; }
  .tl-chg .pct .pill { padding: 2px 7px; }
  .tl-sold { grid-area: sold; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
  .tl-row { display: contents; }
  .tl-row small { order: 1; font-size: 11.5px; }
  .tl-sold .bar { order: 2; }
  .tl-sold-v { order: 3; font-size: 11.5px; min-width: 4.4em; text-align: right; }
  .tl-qs { grid-area: qs; gap: 5px; }
  .tl-q { height: 24px; font-size: 11.5px; }
  .tl-foot { grid-area: foot; padding-top: 9px; font-size: 11.5px; }
  .tl-defs { grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .78); }
  .tl-def { grid-template-columns: 58px minmax(0, 1fr); gap: 2px 10px; padding: 12px 14px; border: 0; border-radius: 0; background: none; }
  .tl-def + .tl-def { border-top: 1px solid var(--line); }
  .tl-def-k { grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
  .tl-def b { margin: 0; font-size: 14px; }
  .tl-def p { font-size: 12.5px; }
}
@media (max-width: 340px) { .tl-card { grid-template-areas: "top top" "mc mc" "sold sold" "qs qs" "foot foot"; } .tl-mc { align-items: flex-start; } .tl-mc-l { justify-items: start; text-align: left; } }
@media (prefers-reduced-motion: reduce) { a.tl-card:hover, a.tl-card:hover .tl-av, a.tl-card:hover .tl-go .arrow { transform: none; } .tl-new::before { animation: none; } }
/* === end page: tokens === */

/* === page: token === */
/* v2「晨雾蓝」 token detail — shared tokens/components only (base.css, board.css). */
.page-token { --tk-side: 410px; }
/* ── top: crumbs + head ─────────────────────────────────────────── */
.page-token .tk-top { position: relative; padding: clamp(22px, 3vw, 40px) 0 0; }
.page-token .eyebrow { display: inline-flex; justify-content: flex-start; flex-wrap: nowrap; gap: 8px; margin-bottom: 0; font-size: var(--t-eyebrow); color: var(--accent-text); }
.page-token .empty-body > .eyebrow { margin-bottom: 10px; }
.page-token .empty-body > .eyebrow > .eyebrow { margin: 0; }
.tk-crumbs { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 20px; }
.tk-crumbs > a { display: inline-flex; border-radius: 6px; }
.tk-crumbs > a .eyebrow { transition: color .15s; }
.tk-crumbs > a:hover .eyebrow { color: var(--accent-deep); }
.tk-crumb-sep { color: var(--ink-4); font-family: var(--f-mono); font-size: 12px; }
.tk-crumb-cur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.tk-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; align-items: end; margin-bottom: 28px; }
.tk-idrow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 24px; align-items: start; min-width: 0; }
.tk-logo { position: relative; width: 96px; height: 96px; padding: 4px; border-radius: 28px; background: linear-gradient(150deg, #FFFFFF, rgba(255, 255, 255, .55)); box-shadow: 0 0 0 1px var(--line), 0 1px 0 #fff inset, 0 20px 40px -20px rgba(15, 35, 80, .5); }
.tk-logo .tlogo { width: 100% !important; height: 100% !important; border-radius: 24px; }
.tk-logo::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; background: radial-gradient(circle at 34% 28%, #FFF1C9 0%, #FFD98A 26%, #F0B64A 58%, #B98126 100%); box-shadow: 0 4px 10px -4px rgba(150, 100, 20, .6); }
.tk-id { min-width: 0; padding-top: 2px; }
.tk-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-width: 0; }
.tk-title h1 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: anywhere; min-width: 0; }
.tk-sym {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px;
  font-family: var(--f-mono); font-size: 16px; font-weight: 800; letter-spacing: .04em; color: var(--gold);
  background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px -10px rgba(11, 27, 63, .7);
  overflow-wrap: anywhere; max-width: 100%;
}
.tk-eip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 4px; border-radius: var(--r-pill); border: 1px solid rgba(47, 91, 255, .22); background: rgba(240, 244, 255, .9); color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; transition: border-color .15s, background .15s, box-shadow .15s; }
.tk-eip b { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: var(--btn); color: #fff; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.tk-eip:hover { border-color: var(--accent); background: #fff; box-shadow: 0 6px 16px -10px rgba(47, 91, 255, .6); color: var(--accent-deep); }
.tk-state { display: inline-flex; align-items: center; min-width: 0; }
.tk-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 16px; font-size: 13px; }
.tk-facts > div { display: grid; align-content: start; gap: 5px; min-width: 0; max-width: 100%; }
.tk-facts dt { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); white-space: nowrap; }
.tk-facts dd { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; min-width: 0; min-height: 26px; color: var(--ink); }
.tk-facts .tk-ftime dd { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.5; }
.tk-ftime .tk-dot { display: none; }
.tk-fq dd { max-width: 330px; }
.tk-dot { color: var(--ink-4); }
.tk-qlist { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tk-qchip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 4px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .88); font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tk-qchip em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.tk-me { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.tk-desc { margin-top: 12px; max-width: 720px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tk-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.tk-metalinks { display: contents; }
.tk-mnote { margin-left: 4px; }
.tk-gotrade { display: none; }
.tk-headart { display: none; }
.tk-banner { margin-bottom: 28px; }
.tk-missing { margin-bottom: 8px; }
.tk-missing .tk-bad { margin-bottom: 28px; }
.tk-badh { font-size: var(--t-h1); font-weight: 900; letter-spacing: -.02em; margin: 2px 0 22px; }
.page-token .tk-badaddr { padding-bottom: 12px; }
@media (min-width: 1180px) {
  .tk-head.has-art { grid-template-columns: minmax(0, 1fr) var(--tk-side); }
  .tk-headart { display: block; position: relative; z-index: 3; justify-self: end; width: 214px; margin: -36px 26px -64px 0; pointer-events: none; }
}
@media (max-width: 1179px) { .tk-gotrade { display: inline-flex; } }
@media (max-width: 760px) {
  .tk-head { margin-bottom: 22px; }
  .tk-idrow { gap: 14px; }
  .tk-logo { width: 66px; height: 66px; padding: 3px; border-radius: 21px; }
  .tk-logo .tlogo { border-radius: 18px; }
  .tk-logo::after { width: 20px; height: 20px; right: -4px; bottom: -4px; border-width: 2px; }
  .tk-id { display: contents; }
  .tk-title { grid-column: 2; align-self: center; gap: 6px 8px; }
  .tk-title h1 { font-size: 26px; flex: 0 0 100%; }
  .tk-sym { height: 28px; font-size: 13.5px; padding: 0 9px; border-radius: 8px; }
  .tk-eip { height: 28px; }
  .tk-facts, .tk-desc, .tk-links { grid-column: 1 / -1; margin-top: 0; }
  .tk-facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .75); box-shadow: var(--shadow-sm); }
  .tk-facts { grid-template-columns: minmax(0, 1fr); }
  .tk-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
  .tk-fq dd { max-width: none; }
  .tk-facts .tk-ftime dd { align-items: flex-end; }
  .tk-facts > div:first-child { border-top: 0; }
  .tk-facts dd { justify-content: flex-end; text-align: right; }
  .tk-links > .btn { flex: 1 1 auto; }
  .tk-mnote { flex: 0 0 100%; margin: 0; }
}

/* ── grid ───────────────────────────────────────────────────────── */
.page-token .tk-body { position: relative; padding: 0 0 8px; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.tk-main, .tk-side { display: contents; }
.tk-price { order: 1; }
.tk-trade { order: 2; }
.tk-taxbox { order: 3; }
.tk-divp { order: 4; }
.tk-crp { order: 5; }
.tk-pools { order: 6; }
.tk-trades { order: 7; }
.tk-risk { order: 8; }
@media (min-width: 761px) and (max-width: 1179px) {
  .tk-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); grid-template-areas: "price price" "trade tax" "trade divs" "trade crp" "trade ." "pools pools" "trades trades" "risk risk"; gap: 20px; align-items: start; }
  .tk-price { grid-area: price; }
  .tk-trade { grid-area: trade; }
  .tk-taxbox { grid-area: tax; }
  .tk-divp { grid-area: divs; }
  .tk-crp { grid-area: crp; }
  .tk-pools { grid-area: pools; }
  .tk-trades { grid-area: trades; }
  .tk-risk { grid-area: risk; }
}
@media (min-width: 1180px) {
  .tk-grid { grid-template-columns: minmax(0, 1fr) var(--tk-side); gap: 24px; align-items: start; }
  .tk-main, .tk-side { display: grid; gap: 24px; align-content: start; min-width: 0; }
}
.tk-phnote { font-size: 12px; color: var(--ink-3); }
.tk-fine { font-size: 12px; color: var(--ink-3); line-height: 1.65; overflow-wrap: anywhere; }
.tk-fine .addr { font-size: 12px; vertical-align: middle; }
.tk-v { display: inline-block; font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-coin { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; }
.tk-break { overflow-wrap: anywhere; word-break: break-all; }

/* ── price card ─────────────────────────────────────────────────── */
.tk-price { padding: 20px 24px 0; overflow: hidden; }
.tk-price::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(560px 240px at 100% 0%, rgba(47, 91, 255, .09), transparent 70%), radial-gradient(420px 200px at 0% 30%, rgba(255, 210, 122, .10), transparent 70%); }
.tk-price > * { position: relative; }
.tk-ptop { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.tk-pair { height: 28px; }
.tk-pairsub { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.tk-pstate { margin-left: auto; display: flex; align-items: center; }
.tk-pmid { margin: 22px 0 0; }
.flaps.tk-flaps { font-size: clamp(46px, 5.2vw, 76px); }
.tk-flaps .flap.sep.sub { width: .38em; }
.tk-flaps .flap.sep.sub i { font-size: .44em; font-weight: 800; color: var(--accent-deep); padding-bottom: .08em; }
.tk-pmeta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; min-width: 0; }
.tk-chg { justify-content: flex-start; min-height: 30px; }
.tk-chg .pct { font-size: 15px; }
.tk-formula { font-size: 12.5px; color: var(--ink-3); }
.tk-chart { position: relative; height: 156px; margin: 12px -24px 0; }
.tk-chart::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; pointer-events: none; background: linear-gradient(180deg, rgba(47, 91, 255, 0), rgba(47, 91, 255, .04)); }
.tk-chart .spark { position: relative; height: 100%; }
.tk-chart .spark-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; pointer-events: none; }
.tk-chart .spark-empty span { padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 12.5px; color: var(--ink-2); text-align: center; }
.tk-cap { margin-top: 2px; }
.tk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px -24px 0; border-top: 1px solid var(--line); background: rgba(238, 242, 250, .5); }
.tk-stats .stat { padding: 16px 20px 18px; border-left: 1px solid var(--line); }
.tk-stats .stat:first-child { border-left: 0; }
.tk-stats .big { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; width: fit-content; max-width: calc(100% + 8px); margin: 0 -4px; padding: 0 4px; font-size: clamp(20px, 1.8vw, 26px); border-radius: 6px; }
.tk-stats .big .unit { margin-left: 0; white-space: nowrap; }
.tk-dash { color: var(--ink-3); font-weight: 500; }
.tk-stats .big.flash-up { animation: fup 1.1s var(--ease); }
.tk-stats .big.flash-dn { animation: fdn 1.1s var(--ease); }
.tk-cellx { margin-top: 8px; }
.tk-cellx:empty { display: none; }
@media (max-width: 760px) {
  .tk-price { padding: 16px 16px 0; }
  .tk-pstate { flex: 0 0 100%; margin-left: 0; }
  .tk-pmid { margin-top: 16px; }
  .tk-pmeta { margin-top: 10px; }
  .flaps.tk-flaps { font-size: min(11vw, 50px); }
  .tk-chart { height: 124px; margin: 8px -16px 0; }
  .tk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px -16px 0; }
  .tk-stats .stat { padding: 13px 16px 15px; }
  .tk-stats .stat:nth-child(odd) { border-left: 0; }
  .tk-stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── live tax card ──────────────────────────────────────────────── */
.tk-taxbox { display: grid; gap: 18px 28px; padding: 20px 22px; transition: border-color .3s, box-shadow .3s; }
.tk-taxbox.hot { border-color: rgba(229, 72, 77, .38); box-shadow: 0 0 0 4px var(--down-soft), var(--shadow); }
.tk-taxtop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tk-taxtop h2 { font-size: 16.5px; font-weight: 800; letter-spacing: 0; }
.tk-taxtop small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.tk-taxbig { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; min-height: 58px; margin: 10px 0 4px; }
.tk-taxv { font-family: var(--f-display); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tk-taxv.hot { color: var(--down-ink); }
.tk-taxbox .bar { margin: 6px 0 2px; }
.tk-taxbox.hot .bar i { background: linear-gradient(90deg, #FF9C8A, #E5484D); }
.tk-taxline { font-size: 12.5px; color: var(--ink-2); min-height: 1.3em; }
.tk-curve { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-areas: "y plot" ". x"; margin: 12px 0 8px; }
.tk-curve-y { grid-area: y; position: relative; }
.tk-curve-y span { position: absolute; right: 7px; transform: translateY(-50%); font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; line-height: 1; color: var(--accent-deep); }
.tk-curve-y span.hi { top: 5.5%; color: var(--down-ink); }
.tk-curve-y span:last-child { top: 90.5%; }
.tk-curve-plot { grid-area: plot; position: relative; height: 76px; border-radius: 12px; background: linear-gradient(180deg, rgba(238, 242, 250, .7), rgba(238, 242, 250, .25)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tk-curve-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tk-curve-dot { position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); transition: left .6s var(--ease), top .6s var(--ease); }
.tk-curve-dot.hot { border-color: var(--down); box-shadow: 0 0 0 4px var(--down-soft); }
.tk-curve-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid currentColor; color: rgba(47, 91, 255, .5); animation: ping 2.4s ease-out infinite; }
.tk-curve-dot.hot::after { color: rgba(229, 72, 77, .55); }
.tk-curve-x { grid-area: x; position: relative; display: flex; justify-content: space-between; margin-top: 5px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .02em; color: var(--ink-3); }
.tk-curve-x span:last-child { position: absolute; right: 12%; padding-right: 6px; white-space: nowrap; }
.tk-taxr { display: grid; gap: 10px; align-content: start; min-width: 0; }
.tk-splith { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tk-splith b { font-size: 14px; }
.tk-splith small { font-size: 12px; color: var(--ink-3); }
.tk-splitbar { display: flex; gap: 3px; height: 12px; }
.tk-splitbar i { display: block; height: 100%; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.tk-splitbar .s-cr { flex: 2; }
.tk-splitbar .s-hd { flex: 5; }
.tk-splitbar .s-bb { flex: 3; }
.tk-splitbar .s-cr, .tk-legend .s-cr::before { background: linear-gradient(90deg, #FFD98A, #E0A63A); }
.tk-splitbar .s-hd, .tk-legend .s-hd::before { background: linear-gradient(90deg, #6E9BFF, #2F5BFF); }
.tk-splitbar .s-bb, .tk-legend .s-bb::before { background: linear-gradient(90deg, #22346B, #0B1B3F); }
.tk-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--ink-2); }
.tk-legend li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tk-legend li::before { content: ""; width: 9px; height: 9px; border-radius: 3px; flex: none; }
.tk-legend b { font-family: var(--f-mono); font-weight: 700; color: var(--ink); }
.tk-taxrule { margin-top: 2px; }
@media (min-width: 1180px) {
  .tk-taxbox { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .tk-taxr { padding-left: 28px; border-left: 1px dashed var(--line-2); }
}
@media (max-width: 1179px) { .tk-taxr { padding-top: 16px; border-top: 1px dashed var(--line-2); } }
@media (max-width: 760px) { .tk-taxbox { padding: 16px; } .tk-taxv { font-size: 44px; } }

/* ── trade widget ───────────────────────────────────────────────── */
.tk-trade { scroll-margin-top: calc(var(--header-h) + var(--header-top) + 16px); }
.tk-trade .ph h3 { font-size: 18px; }
.tk-tbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 20px 20px; }
.tk-seg button { min-height: 40px; font-size: 15px; }
.tk-seg button.buy.on { background: linear-gradient(180deg, #FFFFFF, #F1FBF6); box-shadow: inset 0 0 0 1px rgba(18, 168, 112, .32), 0 4px 12px -6px rgba(18, 168, 112, .5); }
.tk-seg button.sell.on { background: linear-gradient(180deg, #FFFFFF, #FFF4F4); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .3), 0 4px 12px -6px rgba(229, 72, 77, .45); }
.tk-chips { display: grid; gap: 8px; }
.tk-chips-l { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.tk-paywith { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.tk-paywith .chip { min-height: 34px; padding: 0 13px 0 7px; font-size: 13px; }
.tk-paywith .chip small { font-size: 11px; font-weight: 700; color: var(--down-ink); }
.tk-paywith .chip.is-paused { border-style: dashed; }
.tk-chipnote { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.tk-pair2 { display: grid; gap: 6px; }
.tk-box { position: relative; min-width: 0; padding: 12px 14px 13px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); box-shadow: inset 0 1px 2px rgba(15, 35, 80, .05); transition: border-color .2s, box-shadow .2s; }
.tk-box:focus-within { border-color: var(--accent); box-shadow: inset 0 1px 2px rgba(15, 35, 80, .04), var(--ring); }
.tk-box.bad { border-color: rgba(229, 72, 77, .55); }
.tk-get { background: linear-gradient(180deg, rgba(238, 242, 250, .9), rgba(238, 242, 250, .55)); }
.tk-box .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; color: var(--ink-3); }
.tk-box .top > :first-child { flex: none; font-weight: 600; color: var(--ink-2); }
.tk-box .field-err { margin-top: 4px; }
.tk-bal { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.tk-bal-l { flex: none; }
.tk-bal .num { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--ink-2); }
.tk-max { flex: none; height: 22px; padding: 0 9px; margin-left: 2px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-deep); font-size: 11.5px; font-weight: 700; transition: background .15s, color .15s; }
.tk-max:hover:not(:disabled) { background: var(--accent); color: #fff; }
.tk-max:disabled { opacity: .45; cursor: not-allowed; }
.tk-box .mid { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 8px; }
.tk-amt, .tk-out { flex: 1; min-width: 0; padding: 0; border: 0; outline: none; background: none; font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tk-amt::placeholder { color: #A3ACC2; }
.tk-amt:disabled { cursor: not-allowed; }
.tk-amt:disabled::placeholder { font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.tk-out { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-out.dim { color: #6F7B98; }
.tk-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; max-width: 50%; min-width: 0; padding: 0 15px 0 6px; border-radius: var(--r-pill); background: linear-gradient(180deg, #FFFFFF, #F3F6FD); border: 1px solid var(--line-2); box-shadow: 0 1px 0 #fff inset, 0 4px 12px -8px rgba(15, 35, 80, .4); font-size: 14.5px; font-weight: 700; }
.tk-pill .coin { width: 30px; height: 30px; font-size: 14px; }
.tk-pill > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-pav { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; }
.tk-pav .tlogo { width: 30px !important; height: 30px !important; }
.tk-via { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.tk-flip {
  position: relative; z-index: 2; justify-self: center; display: grid; place-items: center;
  width: 38px; height: 38px; margin: -22px 0; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-2); color: var(--accent-deep);
  font-family: var(--f-display); font-size: 18px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 4px #F6F8FE, 0 8px 16px -10px rgba(15, 35, 80, .5);
  transition: transform .3s var(--ease), border-color .2s, color .2s;
}
.tk-flip:hover { border-color: var(--accent); color: var(--accent); transform: rotate(180deg); }
.tk-kv { gap: 8px; padding: 13px 15px; border-radius: var(--r); background: rgba(238, 242, 250, .62); border: 1px solid var(--line); font-size: 13px; }
.tk-kv > .tk-kvsplit { justify-content: flex-start; margin-top: -5px; }
.tk-split { position: relative; padding-left: 14px; font-size: 11.5px; color: var(--ink-3); }
.tk-split::before { content: ""; position: absolute; left: 3px; top: -1px; width: 7px; height: 9px; border-left: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3); border-bottom-left-radius: 3px; }
.tk-split.hot { color: var(--down-ink); }
.tk-kv b.down { color: var(--down-ink); }
.tk-slip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tk-slipb { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--bg-3); border: 1px solid var(--line); }
.tk-slipb button { min-height: 28px; padding: 0 10px; border-radius: var(--r-pill); font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink-3); transition: background .15s, color .15s, box-shadow .15s; }
.tk-slipb button:hover { color: var(--ink); }
.tk-slipb button[aria-pressed="true"] { background: #fff; color: var(--accent-deep); box-shadow: 0 2px 8px -4px rgba(15, 35, 80, .4); }
.tk-qstatus { display: flex; align-items: baseline; gap: 8px; min-height: 1.5em; font-size: 12px; line-height: 1.55; color: var(--ink-3); overflow-wrap: anywhere; }
.tk-qstatus::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); transform: translateY(-1px); }
.tk-qstatus.ok::before { background: var(--up); }
.tk-qstatus.busy::before { background: var(--accent); animation: blink 1s ease-in-out infinite; }
.tk-qstatus.bad { color: var(--down-ink); }
.tk-qstatus.bad::before { background: var(--down); }
.tk-steps { padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(47, 91, 255, .2); background: #F0F4FF; font-size: 12.5px; color: var(--accent-deep); }
.tk-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.tk-check input { flex: none; margin-top: 3px; }
.btn.tk-go { --b-h: 56px; font-size: 17px; white-space: normal; }
.tk-tbody .btn-reason { margin-top: -6px; text-align: center; }
@media (max-width: 760px) {
  .tk-tbody { padding: 16px; }
  .tk-amt, .tk-out { font-size: 26px; }
  .tk-pill { height: 38px; font-size: 13.5px; }
  .tk-pill .coin, .tk-pav, .tk-pav .tlogo { width: 26px !important; height: 26px !important; }
  .tk-slipb button { padding: 0 8px; }
}

/* ── dividends + creator ────────────────────────────────────────── */
.tk-divp .pb, .tk-crp .pb { display: grid; gap: 14px; }
.tk-hold { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-2); }
.tk-holdl { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.tk-hold b { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.tk-hold small { font-size: 12px; color: var(--ink-3); }
.tk-hold small.down { color: var(--down-ink); }
.tk-rows, .tk-crtable { display: grid; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(15, 35, 80, .04); }
.tk-rows.is-note, .tk-crtable.is-closed { overflow: visible; border: 0; background: none; box-shadow: none; }
.tk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tk-row:last-child { border-bottom: 0; }
.tk-row .tk-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.tk-v.dim { color: var(--ink-3); }
.tk-rows.is-note .tk-quiet.is-state { border-style: solid; }
.tk-note { display: grid; gap: 6px; justify-items: start; padding: 14px 16px; border-radius: var(--r); border: 1px dashed var(--line-2); background: rgba(238, 242, 250, .6); font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.tk-note b { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.tk-notel { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.tk-crrow { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.tk-crrow:last-child { border-bottom: 0; }
.tk-crrow.hd { padding-top: 9px; padding-bottom: 9px; background: rgba(238, 242, 250, .6); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.tk-crrow > span:not(:first-child) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.tk-crrow .num { color: var(--ink-2); }
.tk-crrow .tk-v { font-size: 14px; font-weight: 700; }
.tk-crrow .tk-v.is-pos { color: var(--up-ink); }
.tk-cract { display: grid; gap: 12px; }
.tk-cract > .btn-reason { margin-top: -6px; }
.tk-crmove { margin-top: 2px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.tk-crline { display: flex; gap: 8px; }
.tk-crline .inp { min-height: 44px; padding: 9px 12px; font-size: 13px; }
.tk-crline .btn { flex: none; }
@media (max-width: 420px) {
  .tk-crline { flex-direction: column; }
  .tk-crrow { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, .9fr)); gap: 6px; padding: 9px 11px; }
}

/* ── pools + trades tables ──────────────────────────────────────── */
.tk-pbody { padding: 0; }
.tk-prow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); transition: background .15s; }
.tk-poolrows > .tk-prow:last-child { border-bottom: 0; }
.tk-prow:not(.hd):hover, .tk-trow:not(.hd):hover { background: var(--accent-softer); }
.tk-prow.hd, .tk-trow.hd { padding-top: 11px; padding-bottom: 11px; background: rgba(238, 242, 250, .6); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.tk-prow.is-paused { background: rgba(229, 72, 77, .035); }
.tk-pname { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tk-pname .coin.lg { width: 38px; height: 38px; font-size: 17px; }
.tk-pname > div { display: grid; gap: 4px; justify-items: start; min-width: 0; flex: 1; }
.tk-pname b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 14px; font-weight: 700; }
.tk-pname small { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 150px; font-size: 11.5px; color: var(--ink-3); }
.tk-pname .badge { height: 22px; padding: 0 9px; font-size: 11px; }
.tk-w { font-family: var(--f-mono); white-space: nowrap; }
.tk-pc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ink-2); }
.tk-pc .tk-v { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; font-size: 14px; }
.tk-pid { display: flex; align-items: center; gap: 2px; }
.tk-pid code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-2); }
.tk-quiet { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }
.tk-quiet.is-state { justify-content: center; padding: 28px 22px; }
.tk-quiet-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--accent-deep); background: linear-gradient(180deg, #F3F6FF, #E6ECFB); box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .14), 0 6px 14px -10px rgba(47, 91, 255, .6); }
.tk-quiet-ic svg { width: 22px; height: 22px; }
.tk-quiet small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); }
.tk-quiet p { margin-top: 1px; }
.tk-rows.is-note .tk-quiet { padding: 14px 16px; border-radius: var(--r); border: 1px dashed var(--line-2); background: rgba(238, 242, 250, .6); }
.tk-trow { display: grid; grid-template-columns: 76px minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .95fr) minmax(0, .85fr); align-items: center; gap: 10px; padding: 11px 22px; border-bottom: 1px solid var(--line); font-size: 13px; transition: background .15s; }
.tk-trow.hd > span:last-child { text-align: right; }
.tk-trow.is-me { background: rgba(47, 91, 255, .04); }
.tk-tc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.tk-got { color: var(--ink); font-weight: 600; }
.tk-mav { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -3px; }
.tk-mav .tlogo { width: 16px !important; height: 16px !important; }
.tk-mfee { display: none; }
.tk-tc .addr { font-size: 12px; }
.tk-tc small.hot { color: var(--down-ink); }
.tk-dir { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tk-dir::before { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.tk-dir.buy { color: var(--up-ink); background: var(--up-soft); }
.tk-dir.buy::before { border-bottom: 5px solid var(--up); }
.tk-dir.sell { color: var(--down-ink); background: var(--down-soft); }
.tk-dir.sell::before { border-top: 5px solid var(--down); }
.tk-dir.other { color: var(--ink-2); background: var(--bg-2); }
.tk-dir.other::before { display: none; }
.tk-when { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.tk-trerr { padding: 10px 22px; border-bottom: 1px solid var(--line); }
.tk-trempty { margin: 6px 8px; }
.tk-trbtns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .tk-prow.hd, .tk-trow.hd { display: none; }
  .tk-prow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 14px 16px; }
  .tk-pname { grid-column: 1 / -1; }
  .tk-pc::before { content: attr(data-l); display: block; margin-bottom: 2px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
  .tk-pid { flex-wrap: wrap; }
  .tk-pid::before { flex: 0 0 100%; }
  .tk-trow { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "dir got when" "dir paid addr"; gap: 3px 10px; padding: 11px 16px; }
  .tk-trow > :nth-child(1) { grid-area: dir; align-self: start; padding-top: 1px; }
  .tk-trow > :nth-child(2) { grid-area: paid; font-size: 12px; white-space: normal; }
  .tk-trow > :nth-child(3) { grid-area: got; font-size: 13.5px; }
  .tk-trow > :nth-child(4) { display: none; }
  .tk-trow > :nth-child(5) { grid-area: addr; justify-self: end; align-self: start; }
  .tk-trow > :nth-child(6) { grid-area: when; }
  .tk-trow > :nth-child(2)::before { content: attr(data-l) " "; color: var(--ink-3); }
  .tk-mfee { display: inline-block; margin-left: 10px; white-space: nowrap; color: var(--ink-3); }
  .tk-trbtns .btn { flex: 1 1 auto; }
}

/* ── risk ───────────────────────────────────────────────────────── */
.tk-risk { align-items: flex-start; padding: 14px 18px; }
.tk-riskic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(224, 166, 58, .2); color: var(--gold-ink); font-family: var(--f-display); font-size: 16px; font-weight: 700; }
.tk-risk .link { white-space: nowrap; }
.tk-eipnote { display: block; margin-top: 6px; font-size: 12px; color: var(--gold-ink); }
@media (prefers-reduced-motion: reduce) { .tk-flip:hover { transform: none; } }
/* === end page: token === */

/* === page: mdaq === */
/* v2「晨雾蓝」 (docs/03 §5). The long-form frame (.lf-*) below is shared with page: rules. */

/* scoped eyebrow (guards against page-level .eyebrow overrides elsewhere in this file) */
.page-mdaq .eyebrow, .page-rules .eyebrow { display: inline-flex; justify-content: flex-start; margin: 0; font-size: var(--t-eyebrow); color: var(--accent-text); gap: 8px; }

/* ── long-form frame: sticky side index + reading column ───────────── */
.lf-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 0 56px; align-items: start; padding-top: clamp(44px, 5vw, 76px); }
.lf-aside { position: sticky; top: calc(var(--header-top) + var(--header-h) + 28px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; z-index: 5; }
.lf-toc {
  padding: 14px 8px 10px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .7));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.lf-toch { display: block; padding: 0 12px 8px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink-3); }
.lf-tocl { position: relative; display: grid; gap: 2px; }
.lf-toc a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 12px; color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .15s, background .15s; }
.lf-toc a:hover { color: var(--ink); background: var(--accent-softer); }
.lf-tn { flex: none; min-width: 20px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; transition: color .15s; }
.lf-toc a[aria-current] { color: var(--ink); font-weight: 700; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -12px rgba(15, 35, 80, .45); }
.lf-toc a[aria-current]::before { content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.lf-toc a[aria-current] .lf-tn { color: var(--accent); }
.lf-aside-card { display: grid; gap: 4px; padding: 14px 18px 16px; border-radius: var(--r); border: 1px dashed var(--line-2); font-size: 13.5px; }
.lf-aside-card small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); margin-top: 4px; }
.lf-aside-card small:first-child { margin-top: 0; }
.lf-aside-card a { width: fit-content; }
.lf-main { min-width: 0; }
.lf-sec { position: relative; padding-bottom: clamp(60px, 6.4vw, 96px); }
.lf-sec:last-child { padding-bottom: 0; }
/* a faint price-axis ruler above every section after the first */
.lf-sec + .lf-sec { padding-top: 34px; }
.lf-sec + .lf-sec::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 35, 80, .20) 1px, transparent 1px) 0 0 / 64px 9px repeat-x,
    linear-gradient(90deg, rgba(15, 35, 80, .10) 1px, transparent 1px) 0 0 / 8px 4px repeat-x,
    linear-gradient(rgba(15, 35, 80, .14), rgba(15, 35, 80, .14)) 0 0 / 100% 1px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000, #000 40%, transparent);
  mask-image: linear-gradient(90deg, #000, #000 40%, transparent);
}
.lf-sec .sh { margin-bottom: 24px; }
.lf-sec .sh h2 { font-size: clamp(25px, 2.4vw, 32px); }
.lf-sec .sh p { font-size: 15.5px; line-height: 1.85; padding-right: max(0px, calc(100% - 740px)); }
@media (max-width: 1179px) {
  .lf-layout { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .lf-aside { top: calc(var(--header-top) + var(--header-h) + 8px); z-index: 20; margin-bottom: 30px; }
  .lf-aside-card, .lf-toch { display: none; }
  .lf-toc { padding: 5px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset, 0 10px 26px -18px rgba(15, 35, 80, .5); }
  .lf-tocl { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
  .lf-tocl::-webkit-scrollbar { display: none; }
  .lf-toc a { flex: none; min-height: 34px; padding: 0 13px; border-radius: var(--r-pill); font-size: 13.5px; gap: 6px; }
  .lf-toc a[aria-current] { color: #fff; background: var(--navy); box-shadow: none; }
  .lf-toc a[aria-current]::before { display: none; }
  .lf-toc a[aria-current] .lf-tn { color: var(--gold); }
  .lf-sec { scroll-margin-top: 58px; }
}
@media (max-width: 600px) {
  .lf-sec .sh p { font-size: 15px; }
  .lf-sec + .lf-sec { padding-top: 28px; }
}

/* ── page head ─────────────────────────────────────────────────────── */
.mq-hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 0; overflow-x: clip; }
.mq-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 548px); gap: 32px 60px; align-items: center; }
.mq-intro { min-width: 0; padding-top: 40px; }
.mq-h1 { margin: 16px 0 18px; font-size: var(--t-h1); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.mq-tk {
  display: inline-block; font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; padding-right: .04em;
  background: var(--wordmark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 1.3em; line-height: 1; vertical-align: -.04em;
}
.mq-lead { max-width: 580px; }
.mq-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 28px; }
.mq-btnwrap { display: inline-flex; flex-direction: column; align-items: flex-start; }
.mq-btnwrap .btn-reason { margin-top: 6px; }
.mq-hnote { display: flex; align-items: flex-start; gap: 8px; max-width: 540px; margin-top: 16px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.mq-hnote .ico { width: 14px; height: 14px; margin-top: 3px; color: var(--gold-2); }

.mq-stage { position: relative; padding-top: 188px; min-width: 0; }
.mq-sky.skyline { top: 64px; bottom: auto; height: 132px; left: -24px; right: -24px; opacity: .5; z-index: 0; }
.mq-mascot { position: absolute; right: 6px; top: -4px; width: 222px; z-index: 3; container-type: inline-size; pointer-events: none; }
.mq-mascot .mascot .bubble { right: auto; left: -36%; top: 12%; pointer-events: auto; }
.mq-sign {
  position: absolute; left: 60.5%; top: 58.5%; width: 21.8%; height: 11.5%; z-index: 2;
  display: grid; place-items: center; font-family: var(--f-body); font-weight: 900; line-height: 1; white-space: nowrap;
  font-size: 11px; font-size: 5.6cqw; letter-spacing: .06em; color: var(--gold);
}
.mq-co1, .mq-co2 { z-index: 2; }
.mq-co1 { right: 232px; top: 70px; }
.mq-co2 { right: 214px; top: 124px; }
.mq-board {
  position: relative; z-index: 1; padding: 20px 22px 16px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .86));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.mq-bd-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-right: 150px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); }
.mq-bd-lbl b { color: var(--ink); }
.mq-flaps.flaps { justify-content: flex-start; margin: 16px 0 16px; font-size: clamp(54px, 5.4vw, 80px); }
.mq-rates { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mq-rate { display: inline-flex; align-items: baseline; gap: 8px; height: 32px; padding: 0 13px; border-radius: var(--r-pill); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.mq-rate small { font-size: 12px; color: var(--ink-2); line-height: 32px; }
.mq-rate b { font-family: var(--f-mono); font-size: 14.5px; font-weight: 700; color: var(--accent-deep); }
.mq-rsrc { font-size: 12px; color: var(--ink-3); margin-left: 2px; }
.mq-bd-split { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.mq-cap { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 10px; text-transform: uppercase; }
.mq-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.mq-cell { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.mq-cell small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.4; }
.mq-cell b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-top: 3px; font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; overflow-wrap: anywhere; min-height: 1.4em; }
.mq-cell b .unit { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.mq-cell b .pending, .mq-cell b .pre, .mq-cell b .retrying, .mq-cell b .loading-txt { font-size: 13px; }
.mq-bd-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); }

/* split bar (hero + 03) */
.mq-split { min-width: 0; }
.mq-sbar { display: flex; gap: 3px; height: 34px; padding: 3px; border-radius: 12px; background: var(--bg-3); box-shadow: inset 0 1px 2px rgba(15, 35, 80, .08); }
.mq-seg { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; border-radius: 9px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; transition: flex-grow .8s var(--ease); }
.mq-seg.s-marketing { color: #fff; background: #8C6BC6; }
.mq-seg.s-liquidity { color: #fff; background: #208C77; }
.l-marketing .mq-lk i, .mq-fcard.l-marketing::before { background: #8C6BC6; }
.l-liquidity .mq-lk i, .mq-fcard.l-liquidity::before { background: #208C77; }
.mq-seg.s-flap { color: var(--ink-2); background: linear-gradient(180deg, #E3E9F6, #D2DBEE); box-shadow: inset 0 0 0 1px rgba(15, 35, 80, .06); }
.mq-seg.s-holders { color: #fff; background: linear-gradient(180deg, #4A73FF, #2448E6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.mq-seg.s-vault { color: var(--gold); background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.mq-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin-top: 10px; }
.mq-legend > div { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mq-lk { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.mq-lk i { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.l-flap .mq-lk i, .l-flap > .mq-lk i { background: #C9D3EA; box-shadow: inset 0 0 0 1px rgba(15, 35, 80, .12); }
.l-holders .mq-lk i { background: var(--accent); }
.l-vault .mq-lk i { background: var(--navy); box-shadow: inset 0 0 0 1.5px var(--gold); }
.mq-legend small { font-size: 12px; color: var(--ink-3); padding-left: 16px; }
.mq-legend b { font-family: var(--f-mono); font-size: 13px; color: var(--ink); padding-left: 16px; }

@media (max-width: 1100px) {
  .mq-top { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px 36px; }
}
@media (max-width: 899px) {
  .mq-top { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mq-intro { padding-bottom: 8px; }
}
@media (max-width: 560px) {
  .mq-h1 { margin: 12px 0 14px; }
  .mq-cta { margin-top: 22px; }
  .mq-cta > .btn, .mq-cta > .mq-btnwrap { flex: 1 1 auto; }
  .mq-cta .btn-lg { --b-h: 50px; padding: 0 20px; font-size: 15px; }
  .mq-stage { padding-top: 150px; }
  .mq-mascot { width: 172px; right: -4px; top: -2px; }
  .mq-sky.skyline { top: 50px; height: 104px; }
  .mq-co1 { right: 164px; top: 58px; }
  .mq-co2 { right: 150px; top: 104px; }
  .mq-co1 .co-line { width: 18px; }
  .mq-co2 .co-line { width: 32px; }
  .mq-board { padding: 16px 16px 14px; }
  .mq-bd-top { padding-right: 70px; letter-spacing: .08em; }
  .mq-flaps.flaps { font-size: min(15vw, 62px); margin: 12px 0; }
  .mq-legend { gap: 6px 8px; }
  .mq-lk { font-size: 12px; gap: 5px; }
  .mq-legend small, .mq-legend b { padding-left: 14px; font-size: 11.5px; }
  .mq-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) { .mq-co1 { display: none; } .mq-rsrc { flex-basis: 100%; margin: 0 0 0 4px; } }

/* ── 01 token info ─────────────────────────────────────────────────── */
.mq-infocard .pb { padding-top: 8px; padding-bottom: 10px; }
.mq-src-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.mq-src-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }
.mq-src-tag.live { color: var(--up-ink); }
.mq-src-tag.live::before { background: var(--up); }
.mq-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; gap: 0 36px; }
.mq-kv > div, .mq-kv1 > div { align-items: baseline; min-height: 46px; }
.mq-kl { flex: none; display: inline-flex; flex-direction: column; line-height: 1.4; color: var(--ink-2); }
.mq-kl small { font-size: 11px; color: var(--ink-3); }
.mq-kv b, .mq-kv1 b { max-width: 72%; line-height: 1.55; }
.mq-kv b .addr, .mq-kv1 b .addr { justify-content: flex-end; }
@media (max-width: 760px) { .mq-kv { grid-template-columns: minmax(0, 1fr); } .mq-kv b, .mq-kv1 b { max-width: 66%; } }

/* ── 02 flywheel ───────────────────────────────────────────────────── */
.mq-flycard { padding: 18px 22px 16px; overflow: hidden; }
.mq-flyhead { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.mq-flystate { font-size: 12.5px; color: var(--ink-3); }
.fly { position: relative; aspect-ratio: 920 / 540; margin: 10px 0 4px; }
.fly-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fly-inner { fill: rgba(238, 242, 250, .5); stroke: rgba(47, 91, 255, .14); stroke-width: 1; stroke-dasharray: 2 6; }
.fly-axis { stroke: rgba(15, 35, 80, .16); stroke-width: 1; }
.fly-tick { stroke: rgba(15, 35, 80, .16); stroke-width: 1; }
.fly-tick.major { stroke: rgba(15, 35, 80, .3); }
.fly-rail { fill: none; stroke: rgba(47, 91, 255, .08); stroke-width: 18; }
.fly-line { fill: none; stroke: rgba(47, 91, 255, .42); stroke-width: 1.5; stroke-dasharray: 3 5; }
.fly-run { fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 34 166; animation: mqFlyRun 3.6s linear infinite; }
@keyframes mqFlyRun { to { stroke-dashoffset: -200; } }
.fly-arr circle { fill: #fff; stroke: rgba(47, 91, 255, .3); stroke-width: 1.2; filter: drop-shadow(0 3px 5px rgba(15, 35, 80, .18)); }
.fly-arr path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fly-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; text-align: center; pointer-events: none; }
.fly-logo { position: relative; display: block; width: 88px; height: 88px; margin-bottom: 8px; }
.fly-logo::before { content: ""; position: absolute; inset: -26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 155, 255, .32), transparent); }
.fly-logo img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(150, 100, 20, .28)); }
.fly-center b { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ink); }
.fly-center small { font-size: 12.5px; color: var(--ink-3); }
.fly-nodes { position: absolute; inset: 0; }
.fly-node {
  position: absolute; left: var(--fx); top: var(--fy); width: 28%; transform: translate(-50%, -50%);
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 11px; row-gap: 2px; align-items: start;
  padding: 13px 14px 13px 12px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px var(--line), 0 16px 34px -22px rgba(15, 35, 80, .45);
}
.fly-no {
  grid-row: 1 / span 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 800; color: var(--gold);
  background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 12px -8px rgba(11, 27, 63, .8);
}
.fly-t { font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.fly-s { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.fly-ro { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line-2); font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; color: var(--accent-deep); line-height: 1.4; overflow-wrap: anywhere; }
.fly-ro.pend { font-family: var(--f-body); font-weight: 500; color: var(--ink-3); }
.fly-ro.err { font-family: var(--f-body); font-weight: 600; color: var(--down-ink); }
.fly-node[data-k="trade"] { box-shadow: 0 0 0 1px rgba(47, 91, 255, .28), 0 16px 34px -20px rgba(47, 91, 255, .5); }
.fly-loop { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mq-flycap { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 1320px) and (min-width: 1180px) { .fly-node { width: 29.5%; padding: 11px 12px 11px 10px; column-gap: 9px; } .fly-s { font-size: 12px; } }
@media (max-width: 899px) {
  .mq-flycard { padding: 16px 16px 14px; }
  .fly { aspect-ratio: auto; margin-top: 14px; }
  .fly-svg, .fly-center { display: none; }
  .fly-nodes { position: relative; inset: auto; display: grid; gap: 10px; }
  .fly-nodes::before { content: ""; position: absolute; left: 28px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 10px); opacity: .45; }
  .fly-node { position: relative; left: auto; top: auto; width: auto; transform: none; }
  .fly-loop { position: relative; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: center; padding: 11px 14px 11px 12px; border-radius: var(--r); border: 1px dashed var(--accent-line); background: var(--accent-softer); font-size: 13px; color: var(--ink-2); }
  .fly-loop .fly-no { grid-row: auto; background: #fff; color: var(--accent); box-shadow: 0 0 0 1px var(--accent-line); font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .fly-run { animation: none; stroke-dasharray: none; stroke: rgba(47, 91, 255, .55); stroke-width: 2.2; } }
html.rm .fly-run { animation: none; }

/* ── 03 tax math ───────────────────────────────────────────────────── */
.mq-taxcard { padding: 22px 24px 20px; }
.mq-flow { display: grid; grid-template-columns: auto 38px auto 38px minmax(0, 1fr); align-items: center; }
.mq-node { min-width: 108px; padding: 11px 16px 12px; border-radius: var(--r); text-align: center; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 22px -18px rgba(15, 35, 80, .5); }
.mq-node small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.4; white-space: nowrap; }
.mq-node b { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.mq-node.navy { background: linear-gradient(180deg, #1B2C5E, #0B1B3F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 28px -18px rgba(11, 27, 63, .8); }
.mq-node.navy small { color: var(--on-navy-2); }
.mq-node.navy b { font-family: var(--f-mono); font-weight: 800; font-size: 38px; letter-spacing: -.03em; background: linear-gradient(180deg, #FFEBC0, #FFD27A 50%, #F0B652); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mq-pipe { position: relative; display: block; height: 2px; margin: 0 7px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px); opacity: .7; }
.mq-pipe::after { content: ""; position: absolute; right: -3px; top: -4px; border-left: 7px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.mq-tsplit .mq-sbar { height: 40px; }
.mq-fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.mq-fcard { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px 14px; box-shadow: var(--shadow-sm); }
.mq-fcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.mq-fcard.l-flap::before { background: #C9D3EA; }
.mq-fcard.l-holders::before { background: var(--accent); }
.mq-fcard.l-vault::before { background: linear-gradient(90deg, var(--navy), var(--navy-3)); }
.mq-fval { font-family: var(--f-display); font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.mq-fcard.l-holders .mq-fval { color: var(--accent-deep); }
.mq-fcard code { padding: 3px 8px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--ink-2); }
.mq-fcard p { font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.mq-live { align-self: stretch; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-3); }
.mq-live b { font-family: var(--f-mono); font-weight: 700; color: var(--ink); }
.mq-example { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.mq-example b { color: var(--ink); }
.mq-srcnote { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 760px) {
  .mq-taxcard { padding: 16px; }
  .mq-flow { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); row-gap: 16px; }
  .mq-flow > .mq-pipe:nth-of-type(2) { display: none; }
  .mq-flow > .mq-split { grid-column: 1 / -1; }
  .mq-node { min-width: 0; padding: 9px 14px 10px; }
  .mq-node b { font-size: 24px; }
  .mq-node.navy b { font-size: 30px; }
  .mq-fgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; }
  .mq-fcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; }
  .mq-fcard .mq-lk { grid-column: 1; }
  .mq-fcard .mq-fval { grid-column: 2; grid-row: 1 / span 2; font-size: 28px; align-self: center; }
  .mq-fcard code, .mq-fcard p, .mq-live { grid-column: 1 / -1; justify-self: start; }
  .mq-live { justify-self: stretch; }
}

/* ── 04 reserve vault ──────────────────────────────────────────────── */
.mq-vcard { overflow: hidden; }
.mq-cname { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; margin-left: 4px; }
.mq-navrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 24px; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); background: radial-gradient(520px 200px at 0% 0%, rgba(47, 91, 255, .08), transparent 70%); }
.mq-navbox { min-width: 0; }
.mq-navbox .mq-cap { margin-bottom: 4px; }
.mq-navv { font-family: var(--f-display); font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; background: var(--wordmark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; overflow-wrap: anywhere; }
.mq-navv > span { -webkit-text-fill-color: initial; font-size: 15px; letter-spacing: 0; vertical-align: middle; }
.mq-navnote { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.mq-vcells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mq-vcells .mq-cell { background: #fff; }
.mq-amts { display: inline-flex; flex-direction: column; gap: 2px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.mq-amt { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.mq-quiet { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--ink-3); }
.mq-vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 36px; padding-top: 16px; padding-bottom: 8px; }
.mq-h4 { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 2px; }
.mq-risk { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-body); font-weight: 700; }
.mq-risk.bad { color: var(--down-ink); }
.mq-risk.bad::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--down); }
.mq-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 6px 22px 18px; }
.mq-act { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px; border-radius: var(--r); border: 1px dashed var(--line-2); background: rgba(238, 242, 250, .55); }
.mq-actb { display: flex; flex-direction: column; align-items: flex-start; }
.mq-actb .btn-reason { margin-top: 6px; }
.mq-act small { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.mq-vfoot { display: grid; gap: 10px; padding: 0 22px; }
.mq-vfoot > :last-child:not([hidden]) { margin-bottom: 18px; }
.mq-desc { font-size: 13px; }
.mq-desc summary { cursor: pointer; color: var(--ink-2); font-weight: 600; width: fit-content; }
.mq-desc summary:hover { color: var(--accent-deep); }
.mq-desctext { margin-top: 8px; padding: 12px 14px; max-height: 240px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 12px; background: var(--bg-2); font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.mq-hold { margin-top: 14px; }
.mq-hold .brow { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); }
.mq-hold .brow.hd > :nth-child(n+2), .mq-hold a.brow > :nth-child(2), .mq-hold a.brow > :nth-child(3) { text-align: right; }
.mq-rowstate { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px 16px; font-size: 13px; color: var(--ink-3); }
.mq-rows > .empty { border-radius: 0; }
.mq-powers { margin-top: 14px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; }
.mq-ic { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 13px; background: rgba(224, 166, 58, .2); color: var(--gold-ink); }
.mq-ic.info { background: rgba(47, 91, 255, .12); color: var(--accent-deep); }
.mq-vempty { margin-bottom: 12px; }
.mq-anyrow { padding: 16px 18px 18px; }
.mq-anyrow .mq-cap { margin-bottom: 10px; }
.mq-anygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mq-anyone { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mq-anyone b { display: block; font-size: 14.5px; }
.mq-anyone p { margin-top: 2px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 860px) {
  .mq-navrow { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .mq-vgrid { grid-template-columns: minmax(0, 1fr); }
  .mq-acts { grid-template-columns: minmax(0, 1fr); padding: 4px 16px 16px; }
  .mq-vfoot { padding: 0 16px; }
  .mq-vfoot > :last-child:not([hidden]) { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .mq-vcells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mq-vcells .mq-cell:last-child { grid-column: 1 / -1; }
  .mq-anygrid { grid-template-columns: minmax(0, 1fr); }
  .mq-hold .brow { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .7fr); }
}

/* ── 05 buyback ────────────────────────────────────────────────────── */
.mq-bstats { margin-bottom: 14px; }
.mq-bstats .stat .big { font-size: clamp(22px, 2vw, 28px); }
.mq-bcard { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); overflow: hidden; }
.mq-bl, .mq-br { min-width: 0; padding: 20px 22px; display: grid; gap: 12px; align-content: start; }
.mq-bl { border-right: 1px solid var(--line); }
.mq-br { background: rgba(238, 242, 250, .45); }
.mq-bcard h3 { font-size: 16.5px; font-weight: 800; }
.mq-small { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.mq-pend { display: grid; gap: 6px; }
.mq-pend > .pending, .mq-pend > .retrying, .mq-pend > .loading-txt { justify-self: start; }
.mq-prow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mq-pcur { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.mq-pempty { padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-3); }
.mq-pend + .mq-small:empty { display: none; }
.mq-collect { display: flex; flex-direction: column; align-items: flex-start; }
.mq-collect .btn-reason { margin-top: 6px; }
.mq-list { display: grid; gap: 9px; }
.mq-list li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.mq-list li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 1.5px; background: var(--accent); transform: rotate(45deg); }
@media (max-width: 860px) {
  .mq-bcard { grid-template-columns: minmax(0, 1fr); }
  .mq-bl { border-right: 0; border-bottom: 1px solid var(--line); }
  .mq-bl, .mq-br { padding: 18px 16px; }
}

/* ── 06 dividends ──────────────────────────────────────────────────── */
.mq-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mq-step { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; box-shadow: var(--shadow-sm); }
.mq-stepno { display: inline-grid; place-items: center; width: 34px; height: 26px; margin-bottom: 6px; border-radius: 8px; font-family: var(--f-mono); font-size: 12px; font-weight: 800; color: var(--gold); background: linear-gradient(180deg, #1B2C5E, #0B1B3F); }
.mq-step > b { font-size: 16px; font-weight: 800; }
.mq-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.mq-step p b { font-family: var(--f-mono); color: var(--ink); }
.mq-step p small { font-size: 12px; color: var(--ink-3); }
.mq-divnote { margin-top: 14px; }
.mq-divnote b { color: #12297A; }
@media (max-width: 860px) { .mq-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; } .mq-step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; } .mq-stepno { grid-row: 1 / span 2; margin: 0; } }
/* === end page: mdaq === */

/* === page: rules === */
/* v2「晨雾蓝」 (docs/03 §5). Uses the long-form frame (.lf-*) defined in page: mdaq. */

/* ── page head ─────────────────────────────────────────────────────── */
.rl-hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 0; overflow-x: clip; }
.rl-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px 48px; align-items: end; }
.rl-intro { min-width: 0; }
.rl-h1 { margin: 16px 0 16px; font-size: var(--t-h1); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.rl-lead { max-width: 640px; }
.rl-proto { margin-top: 22px; display: grid; gap: 8px; justify-items: start; }
.rl-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 16px 4px 5px;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -14px rgba(15, 35, 80, .45);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.rl-pill:hover { border-color: var(--accent-line); transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 12px 26px -14px rgba(47, 91, 255, .45); }
.rl-pill-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--gold); background: linear-gradient(180deg, #1B2C5E, #0B1B3F); }
.rl-pill .arrow { color: var(--accent); }
.rl-pill:hover .arrow { transform: translateX(3px); }
.rl-proto small { font-size: 12px; color: var(--ink-3); line-height: 1.6; padding-left: 6px; }
.rl-audit { margin-top: 20px; max-width: 640px; align-items: flex-start; }
.rl-audit p { font-size: 14px; }
.rl-audit b { color: #7E1B21; }
.rl-ic { flex: none; width: 24px; height: 24px; margin-top: 1px; display: grid; place-items: center; border-radius: 8px; font-family: var(--f-display); font-weight: 700; font-size: 13px; background: rgba(229, 72, 77, .14); color: var(--down-ink); }
.rl-ic.info { background: rgba(47, 91, 255, .12); color: var(--accent-deep); }
.rl-art { position: relative; min-height: 360px; }
.rl-mascot { position: absolute; right: 0; bottom: -6px; width: 300px; }
.rl-mascot .mascot .bubble { right: auto; left: 2%; top: 10%; }
.rl-art .callout { z-index: 3; }
.rl-co1 { left: -12px; top: 150px; }
.rl-co2 { left: 6px; top: 206px; }
.rl-co3 { left: -4px; top: 262px; }
.rl-facts { margin-top: clamp(28px, 3vw, 40px); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rl-facts .stat .big { font-size: clamp(22px, 2vw, 28px); white-space: nowrap; }
.rl-facts .stat p { font-size: 12.5px; }
@media (max-width: 1100px) {
  .rl-top { grid-template-columns: minmax(0, 1fr) 300px; }
  .rl-art { min-height: 300px; }
  .rl-mascot { width: 240px; }
  .rl-art .callout { display: none; }
  .rl-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rl-top { grid-template-columns: minmax(0, 1fr); }
  .rl-art { display: none; }
  .rl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-facts .stat:last-child { grid-column: 1 / -1; }
}

/* ── body ──────────────────────────────────────────────────────────── */
.rl-body { display: grid; gap: 18px; min-width: 0; }
.rl-h3 { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 17px; font-weight: 800; line-height: 1.3; }
.rl-h3::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--accent-soft); }
.rl-p { max-width: 760px; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.rl-note { max-width: 760px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.rl-list { display: grid; gap: 10px; max-width: 760px; }
.rl-list li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.rl-list li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); opacity: .8; }
.rl-list.can li::before, .rl-list.cannot li::before, .rl-list.rk li::before {
  left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; transform: none; opacity: 1;
  display: grid; place-items: center; font-family: var(--f-display); font-size: 11px; font-weight: 700; line-height: 1;
}
.rl-list.can li::before { content: "✓"; color: var(--up-ink); background: var(--up-soft); box-shadow: inset 0 0 0 1px rgba(18, 168, 112, .3); }
.rl-list.cannot li::before { content: "✕"; color: var(--down-ink); background: var(--down-soft); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .3); }
.rl-list.rk li::before { content: "!"; color: #fff; background: var(--down); }
.rl-list.can li, .rl-list.cannot li, .rl-list.rk li { padding-left: 28px; }
.rl-num { font-family: var(--f-mono); font-weight: 700; color: var(--ink); white-space: nowrap; }
.rl-v { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; vertical-align: baseline; }
.rl-quiet { font-size: 13px; color: var(--ink-3); }
.rl-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--ink-2); }
.rl-st::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rl-st.ok { color: var(--up-ink); }
.rl-st.bad { color: var(--down-ink); }
.rl-st.warn { color: var(--gold-ink); }
.rl-st.off { color: var(--ink-3); font-weight: 500; }
.rl-st.off::before { background: var(--ink-4); }
.rl-hl { max-width: 760px; }
.rl-hl p b { color: #12297A; }
@media (max-width: 600px) { .rl-list li, .rl-p { font-size: 14.5px; } }

/* tables (card) */
.rl-tcard { overflow: hidden; }
.rl-ptable > div, .rl-qtable > div, .rl-ctable > div { border-bottom: 1px solid var(--line); }
.rl-ptable > div:last-child, .rl-qtable > div:last-child, .rl-ctable > div:last-child { border-bottom: 0; }
.rl-prow.hd, .rl-qrow.hd, .rl-crow.hd {
  padding-top: 11px; padding-bottom: 11px; background: rgba(238, 242, 250, .7);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3);
}
.rl-prow { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: 15px 22px; align-items: baseline; }
.has-live .rl-prow { grid-template-columns: 148px minmax(0, 1fr) 132px; }
.rl-pn { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.rl-pr { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.rl-pv { text-align: right; min-width: 0; }
.has-live .rl-prow.hd > div:last-child { text-align: right; }
.rl-fixed { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.rl-fixed .ico { width: 12px; height: 12px; }
.rl-tcard .pf { justify-content: flex-start; }
.rl-qtable .rl-qrow { display: grid; grid-template-columns: minmax(0, 1.3fr) 84px minmax(0, 1.1fr) minmax(0, 1fr) 96px; gap: 12px; padding: 12px 22px; align-items: center; font-size: 14px; }
.rl-qrow > div:last-child { text-align: right; }
.rl-qc { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rl-qc b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-hub { flex: none; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--gold); background: var(--navy); }
.rl-stale { font-size: 13px; color: var(--ink-3); }
.rl-qstate { padding: 18px 22px; }
@media (max-width: 700px) {
  .rl-prow, .has-live .rl-prow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 13px 16px; }
  .rl-prow.hd, .rl-qrow.hd, .rl-crow.hd { display: none; }
  .rl-pr { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; }
  .rl-pv { grid-column: 2; grid-row: 1; }
  .rl-qtable .rl-qrow { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 16px; }
  .rl-qrow > [data-l] { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); }
  .rl-qrow > [data-l]::before { content: attr(data-l) "："; color: var(--ink-3); font-family: var(--f-body); }
  .rl-qrow > div:last-child { grid-column: 2; grid-row: 1; }
}

/* 02 curve figure */
.rl-fig { margin: 0; padding: 16px 20px 14px; }
.rl-fig figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); }
.rl-curve, .rl-chart { display: block; width: 100%; height: auto; overflow: visible; }
.rl-narrow { display: none; }
@media (max-width: 600px) { .rl-wide { display: none; } .rl-narrow { display: block; } .rl-fig { padding: 14px 14px 12px; } }
.rl-axis { stroke: rgba(15, 35, 80, .3); stroke-width: 1; }
.rl-grid { stroke: rgba(15, 35, 80, .09); stroke-width: 1; stroke-dasharray: 3 5; }
.rl-xt { stroke: rgba(15, 35, 80, .3); stroke-width: 1; }
.rl-xt.minor { stroke: rgba(15, 35, 80, .16); }
.rl-ax { font-family: var(--f-mono); font-weight: 500; fill: var(--ink-3); }
.rl-ax.win { fill: var(--ink-2); font-weight: 600; }
.rl-ax.cap { fill: var(--ink-3); }
.rl-line { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 4px 6px rgba(47, 91, 255, .28)); }
.rl-base { stroke: var(--up); stroke-width: 1.4; stroke-dasharray: 6 5; opacity: .8; }
.rl-win { stroke: rgba(15, 35, 80, .3); stroke-width: 1; stroke-dasharray: 4 4; }
.rl-floor { stroke: var(--gold-2); stroke-width: 1.4; stroke-dasharray: 6 5; }
.rl-cross { stroke: rgba(47, 91, 255, .45); stroke-width: 1; stroke-dasharray: 3 4; }
.rl-sellarr { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linecap: round; }
.rl-sellhead { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rl-pt { fill: #fff; stroke: var(--accent); stroke-width: 2.4; }
.rl-pt-halo { fill: rgba(47, 91, 255, .14); }
.rl-tag path, .rl-tag rect { fill: var(--navy); }
.rl-tag text { fill: #fff; font-family: var(--f-body); font-weight: 700; }
.rl-tag.accent path, .rl-tag.accent rect { fill: var(--accent); }
.rl-tag.gold rect { fill: var(--gold); }
.rl-tag.gold text { fill: var(--navy); }
.rl-tag.white rect { fill: #fff; stroke: rgba(15, 35, 80, .18); stroke-width: 1; }
.rl-tag.white text { fill: var(--ink-2); }

/* 03 tax */
.rl-splitcard { padding: 20px 22px 18px; max-width: 760px; }
.rl-split { display: grid; gap: 12px; }
.rl-sbar { display: flex; gap: 3px; height: 42px; padding: 3px; border-radius: 13px; background: var(--bg-3); box-shadow: inset 0 1px 2px rgba(15, 35, 80, .08); }
.rl-sbar > div { display: flex; align-items: center; justify-content: center; min-width: 0; border-radius: 10px; font-family: var(--f-mono); font-size: 14px; font-weight: 700; }
.rl-sbar > .s1 { flex: 20 1 0; color: var(--navy); background: linear-gradient(180deg, #FFE3A6, #FFD27A); box-shadow: inset 0 0 0 1px rgba(224, 166, 58, .35); }
.rl-sbar > .s2 { flex: 50 1 0; color: #fff; background: linear-gradient(180deg, #4A73FF, #2448E6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.rl-sbar > .s3 { flex: 30 1 0; color: var(--gold); background: linear-gradient(180deg, #1B2C5E, #0B1B3F); }
.rl-slab { display: grid; grid-template-columns: 20fr 50fr 30fr; gap: 3px; }
.rl-slab > div { min-width: 0; padding: 0 4px; }
.rl-slab b { display: flex; align-items: center; gap: 7px; font-size: 13.5px; white-space: nowrap; }
.rl-slab small { display: block; padding-left: 16px; font-size: 12px; color: var(--ink-3); }
.rl-slab i { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.rl-slab i.s1 { background: var(--gold); box-shadow: inset 0 0 0 1px rgba(224, 166, 58, .6); }
.rl-slab i.s2 { background: var(--accent); }
.rl-slab i.s3 { background: var(--navy); box-shadow: inset 0 0 0 1.5px var(--gold); }
.rl-chartcard { display: grid; gap: 16px; padding: 20px 22px 18px; }
.rl-formula { margin: 0; padding: 12px 16px; border-radius: 12px; background: #F0F4FF; box-shadow: inset 0 0 0 1px rgba(47, 91, 255, .18); font-family: var(--f-mono); font-size: 13px; line-height: 1.85; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.rl-sched { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.rl-sc { min-width: 0; padding: 9px 11px 10px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.rl-sc small { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.rl-sc b { display: block; margin: 1px 0; font-family: var(--f-mono); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.rl-sc span { display: block; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.rl-sc.base { background: var(--up-soft); box-shadow: inset 0 0 0 1px rgba(18, 168, 112, .28); }
.rl-sc.base b { color: var(--up-ink); }
@media (max-width: 700px) {
  .rl-splitcard, .rl-chartcard { padding: 16px; }
  .rl-slab b { font-size: 12px; gap: 5px; }
  .rl-slab small { padding-left: 14px; font-size: 11px; }
  .rl-slab > div { padding: 0; }
  .rl-slab { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rl-formula { font-size: 12px; padding: 10px 12px; }
  .rl-sched { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .rl-sc { padding: 7px 9px 8px; }
  .rl-sc b { font-size: 15px; }
  .rl-sc small, .rl-sc span { font-size: 11px; }
}

/* 05 formulas */
.rl-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rl-fcard { display: grid; gap: 8px; align-content: start; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.rl-fcard > b { font-size: 15px; font-weight: 800; }
.rl-fcard code { padding: 8px 11px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.rl-fcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.rl-live { padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-3); }
.rl-live > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
@media (max-width: 700px) { .rl-fgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* 07 powers */
.rl-pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rl-pcard { display: grid; gap: 12px; align-content: start; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.rl-ph { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.rl-ph h3 { font-size: 17.5px; font-weight: 800; }
.rl-tagtxt { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; color: var(--ink-2); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.rl-who { gap: 0; padding: 0 12px; border-radius: 12px; background: var(--bg-2); }
.rl-who > div { padding: 9px 0; }
.rl-who b { max-width: 70%; }
.rl-cap { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; margin-bottom: -6px; }
.rl-cap.ok { color: var(--up-ink); }
.rl-cap.no { color: var(--down-ink); }
.rl-pcard .rl-list { gap: 7px; }
.rl-pcard .rl-list li { font-size: 14px; line-height: 1.7; }
.rl-pcard .rl-list li::before { top: .3em; }
@media (max-width: 860px) { .rl-pgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .rl-pcard { padding: 16px; } }

/* 08 risks */
.rl-riskcard { padding: 20px 24px; max-width: 800px; border-color: rgba(229, 72, 77, .22); background: radial-gradient(520px 200px at 0% 0%, rgba(229, 72, 77, .07), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78)); }
.rl-riskcard .rl-list { gap: 8px; }
@media (max-width: 480px) { .rl-riskcard { padding: 16px; } }

/* 09 contracts */
.rl-crow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) 92px; gap: 14px; padding: 13px 22px; align-items: center; }
.rl-ctable.ext .rl-crow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.rl-cn { min-width: 0; }
.rl-cn b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.rl-cn small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.rl-ca { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rl-ca .rl-v { max-width: 100%; }
.rl-ca .rl-v > span { max-width: 100%; min-width: 0; }
.rl-ca .addr { font-size: 12.5px; }
.rl-from { font-size: 11px; color: var(--ink-3); }
.rl-cs { text-align: right; }
.rl-crow.hd > div:nth-child(3) { text-align: right; }
.rl-pdhead { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); background: radial-gradient(420px 160px at 0% 0%, rgba(255, 210, 122, .2), transparent 70%); }
.rl-lock { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(180deg, #1B2C5E, #0B1B3F); color: var(--gold); box-shadow: 0 8px 18px -10px rgba(11, 27, 63, .7); }
.rl-lock .ico { width: 18px; height: 18px; }
.rl-pdhead b { display: block; font-size: 15.5px; }
.rl-pdhead p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.rl-cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rl-cgrid li { min-width: 0; padding: 13px 22px; border-bottom: 1px solid var(--line); }
.rl-cgrid li:nth-child(odd) { border-right: 1px solid var(--line); }
.rl-cgrid li:nth-last-child(-n+2) { border-bottom: 0; }
.rl-cgrid b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 14.5px; }
.rl-cgrid code { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.rl-cgrid small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 700px) {
  .rl-crow, .rl-ctable.ext .rl-crow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 16px; }
  .rl-ca { grid-column: 1 / -1; grid-row: 2; }
  .rl-ca .addr { font-size: 11.5px; }
  .rl-pdhead { padding: 16px; }
  .rl-cgrid { grid-template-columns: minmax(0, 1fr); }
  .rl-cgrid li { padding: 12px 16px; border-right: 0 !important; }
  .rl-cgrid li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
/* === end page: rules === */
/* Proposed external Meme basket: metadata only until its oracle is deployed. */
.hm-basket-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 24px 0; list-style: none; }
.hm-basket-member { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.hm-basket-member img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hm-basket-info { min-width: 0; flex: 1; }
.hm-basket-info h3 { margin: 0 0 6px; color: var(--ink); font-size: 20px; }
.hm-basket-address { display: block; color: var(--accent-deep); overflow-wrap: anywhere; font-family: monospace; font-size: 12px; line-height: 1.6; }
.hm-basket-status { flex-shrink: 0; color: var(--ink-2); font-size: 12px; }
.hm-basket-plus { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); color: var(--accent-deep); font-size: 28px; }
.hm-basket-info p, .hm-basket-note { color: var(--ink-2); line-height: 1.7; font-size: 14px; margin: 0; }
.hm-basket-pending { background: var(--glass); border-style: dashed; }
@media (max-width: 700px) { .hm-basket-grid { grid-template-columns: 1fr; } .hm-basket-member { padding: 18px; gap: 12px; } }

.hm-basket-maintenance { margin-top: 20px; color: var(--ink-2); line-height: 1.8; }
.hm-basket-maintenance summary { cursor: pointer; }
.hm-basket-maintenance p { max-width: 850px; margin: 14px 0; }

/* Shared basket draft picker, used on the home and launch pages. */
.basket-picker { min-width: 0; padding: clamp(18px, 3vw, 30px); background: radial-gradient(600px 220px at 100% 0%, rgba(47, 91, 255, .07), transparent 75%), var(--surface); }
.bp-header { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.bp-kicker { font: 700 10px var(--f-mono); letter-spacing: .14em; color: var(--accent-deep); margin-bottom: 7px; }
.bp-header h3 { font-size: clamp(19px, 2vw, 25px); line-height: 1.35; }
.bp-count { flex-shrink: 0; padding: 8px 13px; border-radius: var(--r-pill); font: 700 13px var(--f-mono); color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line-2); }
.bp-count.is-complete { color: var(--accent-deep); background: var(--accent-soft); border-color: var(--accent-line); }
.bp-intro { margin: 14px 0 20px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.bp-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bp-legend, .bp-label { margin: 0 0 10px; padding: 0; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.bp-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 14px; gap: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.bp-card:hover { border-color: var(--accent-line); }
.bp-card.is-selected { background: linear-gradient(160deg, #F3F6FF, #fff); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 6px 16px -13px rgba(47, 91, 255, .6); }
.bp-card:focus-within { outline: 3px solid var(--accent-line); outline-offset: 3px; }
.bp-card.is-locked { cursor: default; opacity: .7; }
.bp-card-top { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 5px; }
.bp-checkbox { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); cursor: inherit; }
.bp-card-kind { font: 600 9px var(--f-mono); letter-spacing: .1em; color: var(--ink-3); }
.bp-platform { padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; color: var(--gold); background: var(--navy); }
.bp-card img, .bp-fallback { display: block; width: 48px; height: 48px; margin-top: 3px; object-fit: cover; border-radius: 50%; }
.bp-fallback { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); font-size: 21px; }
.bp-card-name { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.bp-card-note { color: var(--ink-3); font-size: 11px; line-height: 1.4; }
.bp-card-weight { margin-top: auto; padding-top: 4px; color: var(--ink-3); font: 600 11px var(--f-mono); }
.bp-card.is-selected .bp-card-weight { color: var(--accent-deep); }
.bp-preview-wrap { margin-top: 22px; }
.bp-preview { display: grid; grid-template-columns: repeat(var(--bp-slots, 4), minmax(0, 1fr)); gap: 5px; }
.bp-preview-slot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 8px; min-width: 0; padding: 11px 12px; border-radius: 8px; color: var(--ink-3); font-size: 11px; background: var(--bg-2); border: 1px dashed var(--line-2); }
.bp-preview-slot.is-filled { color: #fff; background: var(--accent); border-color: transparent; }
.bp-preview-slot:nth-child(2).is-filled { background: #456EDC; }
.bp-preview-slot:nth-child(3).is-filled { background: #324B8C; }
.bp-preview-slot:nth-child(4).is-filled { background: var(--navy); }
.bp-preview-slot b { font-size: 12px; overflow-wrap: anywhere; }
.bp-preview-slot > span:last-child { font-family: var(--f-mono); }
.bp-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.8; color: var(--ink-2); background: var(--bg-2); }
.bp-status.is-ready { color: var(--up-ink); background: var(--up-soft); }
.bp-status.is-pending { color: var(--gold-ink); background: var(--gold-soft); }
.bp-combo-wrap { margin-top: 22px; }
.bp-combinations { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-combo { display: inline-flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; max-width: 100%; padding: 9px 12px; text-align: left; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 11px; line-height: 1.6; cursor: pointer; }
.bp-combo:hover, .bp-combo.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.bp-combo.is-active { box-shadow: inset 0 0 0 1px var(--accent); }
.lp-single-pool { display:flex; align-items:center; gap:16px; padding:20px; border:1px solid var(--accent-line); border-radius:16px; background:var(--accent-softer); }
.lp-single-pool > div { flex:1; min-width:0; }
.lp-single-pool b { font-size:16px; }
.lp-single-pool p { color:var(--ink-3); font-size:12px; line-height:1.8; margin-top:5px; }
.lp-single-pool > strong { color:var(--accent); font-family:var(--f-mono); }
.lp-logo-pick { display:block; padding:0; border:1px dashed var(--accent-line); border-radius:23%; background:transparent; cursor:pointer; }
.lp-logo-pick:hover { border-color:var(--accent); box-shadow:var(--ring); }
.lp-optional { border-top:1px solid var(--line); padding-top:14px; margin-top:14px; }
.lp-optional > summary { color:var(--ink-3); cursor:pointer; font-size:12px; }
.lp-optional[open] > summary { margin-bottom:18px; }
.bp-combo:disabled { cursor: default; opacity: .65; }
.bp-combo-name { overflow-wrap: anywhere; }
.bp-combo-state { flex-shrink: 0; color: var(--ink-3); }
.bp-combo-state.is-ready { color: var(--up-ink); }
.bp-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.bp-saved { font-size: 11px; line-height: 1.7; color: var(--ink-3); }
.hm-basket-launch { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; }
.hm-basket-launch-note { font-size: 12px; color: var(--ink-3); }
.hm-basket-live-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.hm-basket-live-head h3 { font-size: 19px; }
@media (max-width: 600px) {
  .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .bp-card { padding: 12px; }
  .bp-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-count { padding: 7px 9px; font-size: 11px; }
  .bp-combo { width: 100%; }
  .bp-footer { gap: 6px; }
  .bp-footer .btn { white-space: nowrap; }
}
