/* onair: a late-night studio. Near-black ground, one on-air red, glass panels, Geist for words and Geist Mono for
   numbers, addresses and transactions. Shared by the home page, receipts and docs. */
:root {
  --bg: #0b0b0c;
  --bg2: #111113;
  --panel: rgba(255, 255, 255, .035);
  --panel2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #f3f1ee;
  --muted: rgba(243, 241, 238, .62);
  --faint: rgba(243, 241, 238, .4);
  --red: #ff2a14;
  --glow: rgba(255, 42, 20, .3);
  --buy: #3ddc84;
  --sell: #ff6159;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: .22s;
  --font: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 96px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.buy { color: var(--buy); }
.sell { color: var(--sell); }

/* motion baseline: things arrive, nothing pops */
a, button, .card, input, textarea { transition: color var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), opacity var(--t) var(--ease), box-shadow var(--t) var(--ease); }
[data-in] { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-in].in { opacity: 1; transform: none; }
.fade { animation: fade .5s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(7px); } }

/* ---- nav: a floating glass pill */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%); width: min(var(--wrap), calc(100% - 24px));
  display: flex; align-items: center; gap: 20px; height: 58px; padding: 0 10px 0 20px; border-radius: 999px;
  background: rgba(18, 18, 20, .72); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav .logo img { height: 34px; }
.nav .links { display: flex; gap: 4px; margin: 0 auto; }
.nav .links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav .links a:hover, .nav .links a.on { color: var(--text); background: var(--panel2); }
.nav .end { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; margin-left: auto; }
.menu-btn span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--text); }
.drawer { display: none; }
@media (max-width: 920px) {
  .nav .links, .nav .end .btn.ghost, .nav .end .xbtn { display: none; }
  .menu-btn { display: block; }
  .drawer { position: fixed; z-index: 49; top: 80px; left: 12px; right: 12px; display: grid; gap: 2px; padding: 10px; border-radius: 22px; background: rgba(18, 18, 20, .94); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .drawer.open { opacity: 1; transform: none; pointer-events: auto; }
  .drawer a { padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 500; }
  .drawer a:hover { background: var(--panel2); }
}

/* ---- buttons, pills, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn.white { background: var(--text); color: #0b0b0c; }
.btn.white:hover { background: #fff; transform: translateY(-1px); }
.btn.red { background: var(--red); color: #fff; box-shadow: 0 8px 30px var(--glow); }
.btn.red:hover { transform: translateY(-1px); box-shadow: 0 12px 40px var(--glow); }
.btn.ghost { background: var(--panel); border-color: var(--line2); color: var(--text); }
.btn.ghost:hover { background: var(--panel2); }
.btn.sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn:active { transform: scale(.985); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--red); animation: ping 1.8s ease-out infinite; }
.btn.white .dot.on, .btn.red .dot.on, .live-pill .dot { background: #fff; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 42, 20, .55); } 100% { box-shadow: 0 0 0 9px rgba(255, 42, 20, 0); } }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 13.5px; }
.chip .k { color: var(--faint); }
.xbtn { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line2); color: var(--text); }
.xbtn:hover { background: var(--panel2); }
.xbtn svg { width: 15px; height: 15px; }
.xlink { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--text); }
.xlink:hover { background: var(--panel2); }
.xlink svg { width: 13px; height: 13px; }
.host-row span a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.chip button { height: 30px; padding: 0 10px; border-radius: 8px; border: 0; background: var(--panel2); cursor: pointer; font-size: 12.5px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: var(--panel2); color: var(--muted); white-space: nowrap; }
.tag.red { background: rgba(255, 42, 20, .14); color: #ff7a66; }
.tag.buy { background: rgba(61, 220, 132, .12); color: var(--buy); }
.tag.sell { background: rgba(255, 97, 89, .12); color: var(--sell); }
.tag.reh { background: transparent; color: var(--muted); border: 1px dashed var(--line2); }

/* ---- sections */
.section { padding: 110px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #ff7a66; margin-bottom: 14px; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; max-width: 18em; }
.h2 .dim { color: var(--faint); }
.lede { font-size: 18px; color: var(--muted); max-width: 40rem; margin-top: 16px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---- hero */
.hero { position: relative; padding: 150px 0 40px; overflow-x: clip; }
.hero::before { content: ""; position: absolute; z-index: -1; top: -120px; right: -10vw; width: 70vw; height: 900px; background: radial-gradient(closest-side, rgba(255, 42, 20, .22), rgba(255, 42, 20, .06) 55%, transparent 75%); filter: blur(10px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 120px; } }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 0 0 22px; }
.hero h1 .dim { color: var(--faint); }
.hero p.lede { font-size: 19px; margin: 0 0 30px; max-width: 34rem; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---- the live room card: the product as the picture */
.room { padding: 18px; position: relative; box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.room-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.room-top .t { font-weight: 600; font-size: 15.5px; }
.room-top .l { margin-left: auto; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--red); color: #fff; }
.live-pill.off { background: var(--panel2); color: var(--muted); }
.live-pill.off .dot { background: var(--faint); animation: none; }
.host-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.av { position: relative; width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--red); }
.av img { width: 62%; height: 62%; object-fit: contain; }
.av::before, .av::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; }
.av.talking::before { animation: ring 1.6s ease-out infinite; }
.av.talking::after { animation: ring 1.6s ease-out .8s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.host-row b { display: block; font-size: 16px; }
.host-row span { font-size: 13px; color: var(--muted); }
.eq { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 18px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--red); }
.eq.on i { animation: eq .9s ease-in-out infinite; }
.eq.on i:nth-child(2) { animation-delay: -.2s; } .eq.on i:nth-child(3) { animation-delay: -.5s; } .eq.on i:nth-child(4) { animation-delay: -.1s; } .eq.on i:nth-child(5) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.bubble { margin: 14px 0; padding: 16px 18px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .06); font-size: 16px; line-height: 1.5; min-height: 6.2em; }
.vt { color: #ff7a66; font-style: italic; font-size: .88em; }
.bubble .cur { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.18em; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.feed { display: grid; gap: 6px; margin-bottom: 14px; }
.feed-row { display: grid; grid-template-columns: 30px 1fr auto auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14px; animation: fade .5s var(--ease) both; }
.feed-row img, .coin-logo { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: var(--panel2); flex: none; }
.feed-row .s { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-row a, .feed-row button, .play { color: var(--muted); background: none; border: 0; cursor: pointer; font-size: 13px; padding: 4px 6px; border-radius: 7px; white-space: nowrap; }
.feed-row a:hover, .feed-row button:hover, .play:hover { color: var(--text); background: var(--panel2); }
.stage-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 2px 4px 14px; }
.stage-row img { width: 26px; height: 26px; border-radius: 50%; }
.room-actions { display: flex; gap: 8px; }
.room-actions .btn { flex: 1; }

/* ---- stats band */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 64px; background: var(--panel); }
.stats > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--mono); font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.02em; transition: opacity .3s; }
.stats span { font-size: 13px; color: var(--muted); }
.stats-note { margin-top: 10px; font-size: 13px; color: var(--faint); display: flex; gap: 8px; align-items: center; }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(3, 1fr); } .stats > div:nth-child(3n) { border-right: 0; } .stats > div:nth-child(-n + 3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); } .stats > div:nth-child(2n) { border-right: 0 !important; } }

/* ---- how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 290px; }
.step .n { font-family: var(--mono); font-size: 13px; color: #ff7a66; }
.step h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.step p { font-size: 15px; color: var(--muted); }
.mini { margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font-size: 13.5px; display: grid; gap: 8px; }
.mini .r { display: flex; align-items: center; gap: 10px; }
.mini .r img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.mini .r .c { display: grid; line-height: 1.3; min-width: 0; }
.mini .r .c b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .r .c span { color: var(--faint); font-size: 12.5px; }
.mini .q { padding: 9px 11px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .06); }
.mini .a { padding: 9px 11px; border-radius: 12px 12px 4px 12px; background: rgba(255, 42, 20, .16); justify-self: end; max-width: 92%; }

/* ---- tables: the coin board, receipts, shows */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.new { animation: fade .5s var(--ease) both; }
.table tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.table tr.playing td { background: rgba(255, 42, 20, .07); }
.table .num { font-family: var(--mono); font-feature-settings: "tnum"; white-space: nowrap; }
.table .coin { display: flex; align-items: center; gap: 11px; min-width: 0; }
.table .coin b { font-weight: 600; }
.table .coin span { color: var(--faint); font-size: 13px; }
.table .say { color: var(--muted); min-width: 260px; max-width: 520px; }
.table a.tx { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.table a.tx:hover { color: var(--text); }
.table-box { border: 1px solid var(--line); border-radius: var(--r); overflow: auto; background: var(--panel); }
.bar { display: flex; width: 110px; height: 6px; border-radius: 99px; overflow: hidden; background: var(--panel2); }
.bar i { display: block; height: 100%; background: var(--buy); }
.bar i + i { background: var(--sell); }
.status-on { color: #ff7a66; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.empty-row td { color: var(--faint); text-align: center; padding: 28px; }
@media (max-width: 760px) { .hide-sm { display: none; } }

/* ---- what the host does */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 980px) { .jobs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jobs { grid-template-columns: 1fr; } }
.job { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.job .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 42, 20, .14); display: grid; place-items: center; }
.job .ic img { width: 24px; height: 24px; object-fit: contain; }
.job h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.job p { font-size: 15px; color: var(--muted); }
.quote { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.quote .src { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--faint); }
.quote .src .play { margin-left: auto; color: #ff7a66; font-weight: 600; }

/* ---- faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 22px; line-height: 1; transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; max-width: 46rem; }
.faq .a a { color: #ff8a77; }

/* ---- cta band + form */
.cta { margin-top: 110px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(255, 42, 20, .28), transparent 70%); pointer-events: none; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 28px; } }
.cta .h2 { font-size: clamp(30px, 3.4vw, 44px); }
.form { display: grid; gap: 12px; position: relative; }
.form label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .35); font-size: 15px; outline: none; resize: none; }
.form input:focus, .form textarea:focus { border-color: rgba(255, 90, 70, .7); box-shadow: 0 0 0 3px rgba(255, 42, 20, .18); }
.form .msg { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---- footer */
.foot { margin-top: 110px; border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot img { height: 34px; margin-bottom: 14px; }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--faint); margin-bottom: 12px; }
.foot a { display: block; color: var(--muted); padding: 4px 0; font-size: 15px; }
.foot a:hover { color: var(--text); }
.foot .legal { margin-top: 40px; font-size: 13px; color: var(--faint); max-width: 60rem; }

/* ---- player */
.player {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%); width: min(720px, calc(100% - 24px));
  display: grid; grid-template-columns: 40px 1fr auto auto; grid-template-rows: auto 3px; gap: 8px 14px; align-items: center; padding: 10px 12px;
  border-radius: 18px; background: rgba(18, 18, 20, .9); border: 1px solid var(--line2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); animation: up .45s var(--ease);
}
.player[hidden] { display: none; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 16px); } }
.pp { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); cursor: pointer; display: grid; place-items: center; }
.pp span { width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.pp.playing span { width: 12px; height: 13px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.np { min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np b { font-weight: 600; margin-right: 8px; }
.np span { color: var(--muted); }
.prog { grid-column: 2 / 5; height: 3px; border-radius: 3px; background: var(--panel2); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--red); transition: width .25s linear; }
.follow { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.follow input { accent-color: var(--red); }
.player .x { border: 0; background: none; color: var(--faint); font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px; }
@media (max-width: 560px) { .follow { display: none; } .player { grid-template-columns: 40px 1fr auto; } .prog { grid-column: 2 / 4; } }

/* ---- receipts page */
.page-hero { padding: 150px 0 10px; position: relative; overflow-x: clip; }
.page-hero::before { content: ""; position: absolute; z-index: -1; top: -200px; left: 20%; width: 60vw; height: 600px; background: radial-gradient(closest-side, rgba(255, 42, 20, .16), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; font-weight: 600; margin: 14px 0 16px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 40px 0 14px; }
.tabs button { height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; }
.tabs button.on { background: var(--text); color: #0b0b0c; border-color: transparent; }
.tabs input { margin-left: auto; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; outline: none; width: 220px; }
.tabs input:focus { border-color: rgba(255, 90, 70, .6); }
@media (max-width: 640px) { .tabs input { margin-left: 0; width: 100%; } }
.verify { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
@media (max-width: 860px) { .verify { grid-template-columns: 1fr; } }
.verify > div { padding: 20px; }
.verify b { display: block; margin-bottom: 6px; }
.verify p { color: var(--muted); font-size: 15px; }
.more { display: flex; margin: 22px auto 0; }
.more[hidden] { display: none; }

/* ---- docs */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 120px; align-items: start; }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 0; padding-top: 96px; }
  .side { position: sticky; top: 80px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 0 -24px; padding-left: 24px; background: linear-gradient(var(--bg) 80%, transparent); scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side h5 { display: none; }
  .side a { flex: none; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 14px; }
}
.side { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; }
.side h5 { font-size: 12.5px; font-weight: 600; color: var(--faint); margin: 18px 0 8px 12px; }
.side h5:first-child { margin-top: 0; }
.side a { padding: 7px 12px; border-radius: 10px; color: var(--muted); }
.side a:hover { color: var(--text); background: var(--panel); }
.side a.on { color: var(--text); background: var(--panel2); }
.doc { max-width: 760px; padding-bottom: 40px; min-width: 0; }
.doc h1 { font-size: clamp(36px, 4.4vw, 54px); letter-spacing: -.04em; line-height: 1.02; font-weight: 600; margin: 10px 0 18px; }
.doc h2 { font-size: 28px; letter-spacing: -.025em; font-weight: 600; margin: 64px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 19px; font-weight: 600; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 16.5px; }
.doc p { margin: 12px 0; }
.doc ul, .doc ol { margin: 12px 0 12px 22px; display: grid; gap: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: #ff8a77; text-decoration: underline; text-decoration-color: rgba(255, 138, 119, .4); text-underline-offset: 3px; }
.doc code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--panel2); color: var(--text); }
.doc pre { margin: 14px 0; padding: 16px 18px; border-radius: 14px; background: #0f0f11; border: 1px solid var(--line); overflow: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: #d9d6d1; }
.doc pre code { padding: 0; background: none; font-size: inherit; }
.callout { margin: 18px 0; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 42, 20, .3); background: rgba(255, 42, 20, .07); }
.callout p { margin: 0; color: var(--text); font-size: 15.5px; }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 1px; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.kv > div { padding: 12px 14px; background: var(--bg2); font-size: 15px; color: var(--muted); }
.kv > div:nth-child(odd) { color: var(--text); font-weight: 500; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-in] { opacity: 1; transform: none; }
}
