/* ───────── live strip (thin ticker under the nav) ───────── */
.tape { border-bottom: 1px solid var(--line); overflow: hidden; font: 500 12.5px/1 var(--mono); position: relative; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-track { display: flex; width: max-content; animation: tape 80s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; gap: 8px; align-items: center; padding: 11px 20px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tape-item b { font-weight: 600; color: var(--ink); }
.tape-item .up, .tape-item .down { font-weight: 500; }
.tape-flag { display: none; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───────── nav ───────── */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 650 20px/1 var(--display); letter-spacing: -0.04em; }
.logo-mark { display: grid; place-items: center; flex: none; }
.logo-word { font: 700 21px/1 "Chakra Petch", var(--display); letter-spacing: 0.01em; }
.navlinks { display: flex; gap: 2px; margin-left: 8px; }
.navlinks a { font: 500 14px/1 var(--body); color: var(--ink-2); padding: 9px 12px; border-radius: var(--r-pill); transition: color 120ms, background 120ms; }
.navlinks a:hover { color: var(--ink); background: var(--surface-2); }
.navlinks a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn.menu-btn { display: none; }
.mobile-menu { display: none; }
@media (max-width: 1120px) {
  .navlinks { display: none; }
  .icon-btn.menu-btn { display: inline-grid; }
  .mobile-menu.open { display: block; border-top: 1px solid var(--line); max-height: calc(100vh - 68px); overflow-y: auto; padding: 8px 0 16px; }
  .mobile-menu a { display: block; padding: 14px var(--gutter); font: 600 22px/1.1 var(--display); letter-spacing: -0.03em; }
  .mobile-menu .row { padding: 12px var(--gutter); }
}
@media (max-width: 560px) {
  .nav-in { gap: 10px; height: 60px; }
  .btn.nav-cta, .nav .seg { display: none; }
}

/* ───────── buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 550 15px/1 var(--body); letter-spacing: -0.01em; white-space: nowrap; transition: transform 120ms, background 120ms, box-shadow 160ms, border-color 120ms; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.acid, .btn.primary { background: var(--grad); color: var(--on-accent); border-color: transparent; font-weight: 650; box-shadow: var(--glow); }
.btn.acid:hover, .btn.primary:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(0, 232, 143, 0.35), 0 16px 56px -12px rgba(0, 232, 143, 0.6); }
.btn.ink { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.btn.ink:hover { background: var(--btn); opacity: 0.92; }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); padding: 0; font: 500 14px/1 var(--body); color: var(--ink-2); transition: color 120ms, background 120ms; }
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.linkish { all: unset; cursor: pointer; color: var(--accent-ink); font-weight: 550; }

/* ───────── segmented / chips ───────── */
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: var(--r-pill); font: 550 13px/1 var(--body); color: var(--ink-2); min-height: 30px; transition: background 120ms, color 120ms; }
.seg button.on { background: var(--surface-3); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.seg button:not(.on):hover { color: var(--ink); }
.seg.big { border-radius: 14px; padding: 4px; }
.seg.big button { font-size: 15px; padding: 11px 16px; min-height: 42px; border-radius: 10px; }
.seg.fill { display: flex; }
.seg.fill button { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; border-radius: var(--r-pill); font: 500 13px/1 var(--body); color: var(--ink-2); }
.chip b { color: var(--ink); font-weight: 600; margin-left: 4px; }
.chip.on { background: var(--accent-soft); border-color: rgba(0, 232, 143, 0.35); color: var(--accent-ink); }
.chip:not(.on):hover { color: var(--ink); background: var(--surface-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-pill); font: 500 13px/1 var(--body); background: var(--surface); white-space: nowrap; color: var(--ink-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.pill b { color: var(--ink); font-weight: 600; }
.pill .dot, .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(0, 232, 143, 0.6); animation: ping 1.8s ease-out infinite; display: inline-block; flex: none; }
.pill.live { color: var(--ink); }
.pill.off .dot { background: var(--down); animation: none; }
.tag { display: inline-flex; align-items: center; border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; font: 550 11.5px/1.2 var(--body); color: var(--ink-2); background: var(--surface); }
.tag.acid { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(0, 232, 143, 0.3); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 232, 143, 0.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(0, 232, 143, 0); } }
@keyframes blink { 50% { opacity: 0.3; } }

/* ───────── cards (glass) ───────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(18px, 2.2vw, 26px); min-width: 0; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); position: relative; }
.card.flat { box-shadow: none; }
.card.acid { background: linear-gradient(160deg, rgba(0, 232, 143, 0.14), rgba(198, 255, 61, 0.05) 60%, var(--surface)); border-color: rgba(0, 232, 143, 0.28); }
.card.ink { background: var(--surface-solid); }
.card.hover { transition: transform 160ms, border-color 160ms, box-shadow 200ms; }
.card.hover:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
a.card { display: block; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font: 550 13px/1.2 var(--body); color: var(--ink-2); min-width: 0; }
.card-head > * { min-width: 0; }
.big-n { white-space: nowrap; font: 650 clamp(44px, 5.4vw, 72px)/1 var(--display); letter-spacing: -0.05em; }

/* terminal panels are glass cards now */
.term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); min-width: 0; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); overflow: hidden; }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 18px; font: 500 12.5px/1.2 var(--mono); color: var(--ink-3); }
.term-body { padding: clamp(16px, 2vw, 22px); }

/* ───────── form fields ───────── */
.field { display: block; }
.field-label { display: flex; justify-content: space-between; gap: 8px; font: 500 13px/1.2 var(--body); color: var(--ink-2); margin-bottom: 8px; }
.field-label button { font-size: 13px; }
.input-wrap { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); transition: border-color 120ms, box-shadow 160ms; overflow: hidden; }
.input-wrap:focus-within { border-color: rgba(0, 232, 143, 0.5); box-shadow: 0 0 0 4px var(--accent-soft); }
.input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 16px; font: 550 clamp(20px, 2vw, 24px)/1 var(--body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; outline: none; }
.input.sm { font-size: 16px; padding: 10px 12px; }
.input-suffix { display: flex; align-items: center; padding: 0 16px; font: 550 14px/1 var(--body); color: var(--ink-2); white-space: nowrap; }
.select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 13px 38px 13px 14px; font: 550 15px/1 var(--body); width: 100%; }
.range { width: 100%; accent-color: var(--accent); height: 28px; }
.input-wrap .select { border: 0; border-left: 1px solid var(--line); border-radius: 0; width: auto; }

/* ───────── stats ───────── */
.stat { min-width: 0; container-type: inline-size; }
.stat-label { font: 500 13px/1.3 var(--body); color: var(--ink-2); }
.stat-value { font: 650 clamp(18px, 13cqi, 34px)/1.1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-top: 6px; overflow-wrap: break-word; }
.stat-value.xl { font-size: clamp(28px, 14cqi, 60px); }
.stat-sub { font: 400 13px/1.35 var(--body); color: var(--ink-3); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.stats > .stat { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font: 400 14px/1.35 var(--body); font-variant-numeric: tabular-nums; }
.kv > :nth-child(odd) { color: var(--ink-2); }
.kv > :nth-child(even) { text-align: right; font-weight: 600; }
.kv.lines > * { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }

/* ───────── bar ───────── */
.bar { height: 6px; border-radius: 6px; background: var(--surface-3); position: relative; min-width: 60px; overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; background: var(--grad); border-radius: 6px; }
.bar.hot > i { background: linear-gradient(90deg, #ff8a3d, var(--down)); }

/* ───────── market table ───────── */
.mtable { width: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.mrow { display: grid; grid-template-columns: minmax(170px, 1.7fr) 1fr 0.8fr 1.2fr 0.9fr 0.8fr 0.7fr minmax(110px, 1fr) 96px; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 15px/1.2 var(--body); font-variant-numeric: tabular-nums; transition: background 120ms; }
.mrow:last-child { border-bottom: 0; }
.mrow.head { font: 500 12.5px/1.2 var(--body); color: var(--ink-3); background: transparent; padding-top: 12px; padding-bottom: 12px; }
.mrow.head button { all: unset; cursor: pointer; }
.mrow.head button:hover { color: var(--ink); }
.mrow:not(.head):hover { background: var(--surface-2); }
.mrow .r { text-align: right; }
.asset { display: flex; gap: 12px; align-items: center; min-width: 0; }
.asset-badge { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); color: var(--ink); font: 650 10px/1 var(--display); letter-spacing: -0.02em; border: 1px solid var(--line); }
.asset-badge.usdg { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.asset-name { font: 400 12.5px/1.25 var(--body); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asset b { font: 600 15px/1.15 var(--body); }
.apr-hl { font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flash-up { animation: flashUp 900ms ease-out; border-radius: 6px; }
.flash-down { animation: flashDown 900ms ease-out; border-radius: 6px; }
@keyframes flashUp { from { background: rgba(0, 232, 143, 0.28); } }
@keyframes flashDown { from { background: rgba(255, 77, 109, 0.28); } }
.mlabel { display: none; }
@media (max-width: 1080px) {
  .mrow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 16px; }
  .mrow.head { display: none; }
  .mrow .cell-asset { grid-column: 1 / 3; }
  .mrow .cell-act { grid-column: 3; grid-row: 1; justify-self: end; }
  .mrow .r { text-align: left; }
  .mlabel { display: block; font: 500 11.5px/1.2 var(--body); color: var(--ink-3); margin-bottom: 3px; }
  .mrow .cell-util { grid-column: 1 / -1; }
}

/* ───────── code ───────── */
.code { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #070a0b; color: #e8ece6; min-width: 0; overflow: hidden; }
.code pre { margin: 0; padding: 18px; overflow-x: auto; font: 450 13px/1.65 var(--mono); white-space: pre; }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font: 500 12px/1 var(--mono); color: #00e88f; }
.code .copy { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; background: transparent; color: #e8ece6; font: 500 12px/1 var(--body); padding: 6px 10px; }
.code .copy:hover { background: rgba(255, 255, 255, 0.08); }
.code-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.code-tabs button { border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); padding: 8px 14px; font: 550 13px/1 var(--body); color: var(--ink-2); }
.code-tabs button.on { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(0, 232, 143, 0.35); }
.inline-code { font: 500 0.9em var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

/* ───────── steps / risks ───────── */
.steps { counter-reset: s; display: grid; gap: 12px; }
.step { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.step::before { content: counter(s, decimal-leading-zero); display: grid; place-items: center; font: 600 18px/1 var(--mono); color: var(--accent-ink); border-right: 1px solid var(--line); }
.step > div { padding: 18px 20px; }
.step h4 { margin-bottom: 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.risk { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px; position: relative; }
.risk::before { content: ""; position: absolute; left: 20px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--down); box-shadow: 0 0 12px var(--down); }
.risk > div { padding-left: 20px; }
.risk h4 { font-size: 16px; margin-bottom: 6px; }
.risk p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ───────── clock ───────── */
.clock-face { font: 600 clamp(44px, 6.6vw, 92px)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.exch { display: grid; gap: 12px; }
.countdown { font: 600 clamp(22px, 3vw, 32px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.week > div { border-radius: 10px; padding: 9px 4px; text-align: center; font: 550 12px/1.2 var(--body); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.week .open { background: var(--surface-2); color: var(--ink); }
.week .wk { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(0, 232, 143, 0.3); }
.week .today { outline: 2px solid var(--accent); outline-offset: 1px; }
.week .hol { color: var(--ink-3); text-decoration: line-through; }

/* ───────── marquee words ───────── */
.shout { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.shout-track { display: flex; width: max-content; animation: tape 50s linear infinite; }
.shout span { font: 650 clamp(40px, 6vw, 84px)/1 var(--display); letter-spacing: -0.05em; padding: 22px 28px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.shout span:nth-child(3n + 1) { color: var(--ink); -webkit-text-stroke: 0; }
.shout span::after { content: "↘"; margin-left: 56px; color: var(--accent); -webkit-text-stroke: 0; }

/* ───────── footer ───────── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { color: var(--ink-2); font-size: 14.5px; margin-top: 14px; max-width: 32ch; }
.footer-cols { display: contents; }
.footer h4 { font: 550 13px/1 var(--body); color: var(--ink-3); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font: 450 14.5px/1.3 var(--body); color: var(--ink-2); width: fit-content; transition: color 120ms; }
.footer-col a:hover { color: var(--ink); }
.footer-word { font: 700 clamp(64px, 17vw, 300px)/0.82 var(--display); letter-spacing: -0.07em; margin: 56px 0 0; white-space: nowrap; background: linear-gradient(180deg, var(--line-2), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; text-align: center; }
.footer-note { border-top: 1px solid var(--line); padding-top: 20px; font: 400 12.5px/1.6 var(--body); color: var(--ink-3); margin-top: 40px; }
.footer-note p { margin: 0 0 6px; max-width: none; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 400 12.5px/1.4 var(--body); color: var(--ink-3); margin-top: 12px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ───────── misc ───────── */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--surface-solid); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 18px; font: 550 14px/1.35 var(--body); z-index: 100; max-width: calc(100vw - 32px); }
.boot { display: grid; place-items: center; height: 60vh; font: 600 20px/1 var(--display); color: var(--ink-3); letter-spacing: -0.02em; }
.prose { max-width: 70ch; font-size: 17.5px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 0.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.prose blockquote { margin: 1.4em 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; font: 500 20px/1.5 var(--body); color: var(--ink); }
.legal h2 { font-size: 22px; margin: 2em 0 0.6em; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-2); }
.callout { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 14px 16px; font: 400 14px/1.55 var(--body); color: var(--ink-2); }
.callout.down { border-color: rgba(255, 77, 109, 0.35); background: var(--down-soft); color: var(--ink); }
.callout b { color: var(--ink); }
.addr { font: 500 13px/1.2 var(--mono); overflow-wrap: anywhere; }
.addr .addr-short { display: none; }
@media (max-width: 760px) { .addr .addr-full { display: none; } .addr .addr-short { display: inline; } }
.list-table { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.list-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 1.3fr) minmax(0, 1.8fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.list-row:last-child { border-bottom: 0; }
.list-row.head { font: 500 12.5px/1 var(--body); color: var(--ink-3); }
@media (max-width: 760px) { .list-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } .list-row.head { display: none; } }
.tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tool:last-child { border-bottom: 0; }
.tool code { font: 550 14px/1.2 var(--mono); color: var(--accent-ink); overflow-wrap: anywhere; }
.tool p { margin: 0; font-size: 14px; color: var(--ink-2); }
details.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { cursor: pointer; padding: 18px 20px; font: 550 16.5px/1.3 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; font: 400 22px/1 var(--body); color: var(--ink-3); }
details.faq[open] summary::after { content: "–"; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq > div { padding: 0 20px 18px; color: var(--ink-2); }
.modal-back { position: fixed; inset: 0; z-index: 90; background: rgba(3, 5, 6, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface-solid); }
.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.plan .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font: 600 12px/1 var(--mono); }
.plan code { font: 500 14px/1.4 var(--body); overflow-wrap: anywhere; }
.plan-params { margin: 0; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font: 450 12.5px/1.6 var(--mono); max-height: 220px; overflow: auto; }
