/* Perpfield v3 mockup styles. Retail-first, progressive disclosure (L1 card -> L2 breakdown -> L3 venue page).
   Spec: (internal). Static mockup only, not the site. */
:root, [data-theme="light"] {
  --bg: #FFFFFF; --bg-soft: #F5F7F9; --surface: #FFFFFF; --surface-2: #F2F4F7; --surface-3: #E9EDF1;
  --line: #E4E8ED; --line-strong: #CDD3DB;
  --text: #0B0E13; --text-2: #4B5462; --text-3: #667080;
  --accent: #0A7F50; --accent-hover: #086C44; --accent-ink: #FFFFFF; --accent-soft: #E7F5EE; --accent-text: #08693F;
  --deal: #8A4B00; --deal-soft: #FFF3E0;
  --bar-fee: #0B0E13; --bar-imp: #9AA3AF;
  --neg: #B42318; --pos: #067647;
  --shadow-card: 0 1px 2px rgba(16,24,40,.04), 0 1px 1px rgba(16,24,40,.02);
  --shadow-lift: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px -8px rgba(16,24,40,.12);
  --logo-ring: rgba(11,14,19,.08);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0B0D10; --bg-soft: #0F1215; --surface: #13161B; --surface-2: #1A1E24; --surface-3: #222730;
  --line: #242A33; --line-strong: #343C48;
  --text: #EEF1F5; --text-2: #A9B2BF; --text-3: #8790A0;
  --accent: #3DDC97; --accent-hover: #5BE6A9; --accent-ink: #04140C; --accent-soft: rgba(61,220,151,.12); --accent-text: #5BE6A9;
  --deal: #F5B455; --deal-soft: rgba(245,180,85,.12);
  --bar-fee: #EEF1F5; --bar-imp: #5B6472;
  --neg: #FF8A7E; --pos: #3DDC97;
  --shadow-card: none;
  --shadow-lift: 0 0 0 1px rgba(255,255,255,.02), 0 24px 48px -16px rgba(0,0,0,.6);
  --logo-ring: rgba(255,255,255,.08);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 Geist, ui-sans-serif, system-ui, sans-serif; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ic-16 { width: 16px; height: 16px; } .ic-24 { width: 24px; height: 24px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.muted { color: var(--text-2); } .meta { color: var(--text-3); font-size: 13px; line-height: 1.45; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- header ---------- */
.preview-bar { font-size: 12px; color: var(--text-3); border-bottom: 1px solid var(--line); padding: 6px 0; text-align: center; }
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 560; font-size: 19px; letter-spacing: -.035em; }
.brand svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background-color .12s, color .12s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.hdr-r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--text-2); }
.menu-btn { display: none; }

/* ---------- logos ---------- */
.logo { display: block; flex: none; border-radius: 24%; box-shadow: 0 0 0 1px var(--logo-ring); object-fit: cover; background: var(--surface-2); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .12s, transform .08s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.link { color: var(--accent-text); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 500; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background-color .12s, border-color .12s, color .12s; }
.chip:hover { border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.tag .ic { width: 14px; height: 14px; }
.tag-accent { background: var(--accent-soft); color: var(--accent-text); }
.tag-deal { background: var(--deal-soft); color: var(--deal); }

/* ---------- hero: one question, one answer ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.h1 { font-size: 52px; line-height: 1.04; font-weight: 600; letter-spacing: -.04em; margin: 0 0 16px; text-wrap: balance; }
.lede { font-size: 18px; color: var(--text-2); margin: 0 0 32px; max-width: 30em; }
.q-label { font-size: 15px; font-weight: 600; margin: 0 0 12px; display: block; }
.assume { margin-top: 18px; font-size: 14.5px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.assume button { border: 0; background: var(--surface-2); height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; color: var(--text); }
.assume button .ic { width: 14px; height: 14px; color: var(--text-3); }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lift); }
.answer-k { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-text); margin-bottom: 18px; }
.answer-id { display: flex; align-items: center; gap: 14px; }
.answer-id .nm { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.answer-num { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; }
.answer-num b { font-size: 76px; line-height: .95; font-weight: 600; letter-spacing: -.045em; }
.answer-num span { color: var(--text-2); font-size: 18px; }
.answer-why { font-size: 16px; font-weight: 500; color: var(--accent-text); margin: 8px 0 22px; display: flex; align-items: center; gap: 6px; }
.answer-foot { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-3); }
.answer-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.answer-alt b { color: var(--text); font-weight: 600; }
.trust-line { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 12px; }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; position: relative; }
.tab { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; transition: color .16s; }
.tab .n { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.tab[aria-selected="true"] { color: var(--text); }
.tab-pill { position: absolute; top: 4px; left: 4px; height: 40px; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 0 0 1px var(--line); transition: transform .22s cubic-bezier(.2,.8,.2,1), width .22s cubic-bezier(.2,.8,.2,1); }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 16px; flex-wrap: wrap; }
.h2 { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.tab-note { font-size: 14.5px; color: var(--text-2); margin: 14px 0 0; }

/* ---------- venue row (L1) + breakdown (L2) ---------- */
.rows { display: grid; gap: 10px; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); transition: border-color .15s, box-shadow .15s; }
.row:hover { border-color: var(--line-strong); }
.row.open { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.row-top { display: grid; grid-template-columns: 48px minmax(0,1fr) auto auto auto; align-items: center; gap: 16px; padding: 16px 16px 16px 20px; cursor: pointer; }
.row-id .nm { font-size: 17px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.row-id .ben { font-size: 14.5px; color: var(--text-2); margin-top: 2px; }
.row-id .ben.good { color: var(--accent-text); font-weight: 500; }
.row-num { text-align: right; min-width: 120px; }
.row-num b { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.row-num span { color: var(--text-3); font-size: 14px; margin-left: 2px; }
.row-num .lbl { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: -2px; }
.chev { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--text-3); background: transparent; border: 0; cursor: pointer; }
.chev .ic { transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.row.open .chev .ic { transform: rotate(180deg); }
.row-x { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s cubic-bezier(.2,.8,.2,1); }
.row.open .row-x { grid-template-rows: 1fr; }
.row-x > div { overflow: hidden; }
.row-x .in { padding: 4px 20px 20px; opacity: 0; transition: opacity .16s ease-out .04s; }
.row.open .row-x .in { opacity: 1; }
.bd { border-top: 1px solid var(--line); padding-top: 18px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.bd-h { font-size: 13px; font-weight: 600; color: var(--text-3); margin: 0 0 10px; }
.bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.bar i { display: block; height: 100%; }
.bar .f { background: var(--bar-fee); } .bar .m { background: var(--bar-imp); }
.bd-lines { margin: 14px 0 0; display: grid; gap: 8px; font-size: 15px; }
.bd-lines div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.bd-lines dt { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.bd-lines dd { margin: 0; font-weight: 600; }
.bd-lines .tot { border-top: 1px dashed var(--line-strong); padding-top: 8px; }
.bd-lines .tot dt { color: var(--text); font-weight: 600; }
.key { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
[data-theme="dark"] .fact { background: var(--surface-2); }
.fact .k { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.fact .k .ic { width: 16px; height: 16px; }
.fact .v { font-size: 15.5px; font-weight: 600; margin-top: 2px; line-height: 1.3; }
.bd-act { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.bd-act .sp { flex: 1; }
.cmp { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); cursor: pointer; min-height: 44px; padding-right: 6px; }
.cmp input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.bd-note { font-size: 12.5px; color: var(--text-3); margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.bd-deal { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--deal-soft); color: var(--deal); font-size: 14.5px; font-weight: 500; }
.show-all { margin: 14px auto 0; display: flex; }

/* ---------- tooltip (InfoTip) ---------- */
.tip { position: relative; display: inline-flex; }
.tip-b { border: 0; background: none; padding: 2px; margin: -2px; color: var(--text-3); cursor: help; display: inline-flex; border-radius: 999px; }
.tip-b .ic { width: 15px; height: 15px; }
.tip-p { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 8px); width: 260px; transform: translateX(-50%) scale(.97); transform-origin: 50% 100%; opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; transition: opacity .12s, transform .12s cubic-bezier(.2,.8,.2,1); font-weight: 400; }
.tip.on .tip-p { opacity: 1; transform: translateX(-50%) scale(1); }

/* ---------- sections ---------- */
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.sec-sub { color: var(--text-2); font-size: 15.5px; margin: 6px 0 0; }

/* promo card */
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.promo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.promo-id { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.promo-id .sp { flex: 1; }
.promo-h { font-size: 21px; line-height: 1.22; font-weight: 600; letter-spacing: -.02em; margin: 16px 0 6px; }
.promo-when { font-size: 14px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.promo details { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.promo summary { cursor: pointer; list-style: none; color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.promo summary::-webkit-details-marker { display: none; }
.promo ul { margin: 6px 0 0; padding-left: 18px; }
.promo-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.promo-src { justify-self: start; font-size: 12.5px; color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }
.promo-src:hover { color: var(--text-2); }
.promo-meta { font-size: 12.5px; color: var(--text-3); display: flex; justify-content: space-between; gap: 8px; }
.code { display: flex; align-items: center; justify-content: space-between; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 8px 8px 8px 14px; font-family: "Geist Mono", monospace; font-size: 15px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rail > * { scroll-snap-align: start; }

/* coin tiles (where to trade what) */
.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.coin { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; display: block; transition: border-color .15s; box-shadow: var(--shadow-card); }
.coin:hover { border-color: var(--line-strong); }
.coin-h { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--text-2); }
.coin-badge { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.coin-win { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.coin-win .nm { font-size: 18px; font-weight: 600; }
.coin-win .v { font-size: 14px; color: var(--text-2); }
.coin-list { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.coin-list li { display: flex; align-items: center; gap: 10px; }
.coin-list li span:last-child { margin-left: auto; font-weight: 600; }

/* data block */
.data-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bg-soft); border-radius: 20px; padding: 28px 32px; }
[data-theme="dark"] .data-cta { background: var(--surface); border: 1px solid var(--line); }

/* compare tray + sheet */
.tray { position: fixed; z-index: 40; left: 50%; bottom: 20px; transform: translate(-50%, calc(100% + 40px)); transition: transform .24s cubic-bezier(.2,.8,.2,1); background: var(--text); color: var(--bg); border-radius: 999px; padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); }
.tray.on { transform: translate(-50%, 0); }
.tray .logos { display: flex; } .tray .logos img { margin-left: -6px; box-shadow: 0 0 0 2px var(--text); } .tray .logos img:first-child { margin-left: 0; }
.tray .btn { height: 40px; background: var(--accent); color: var(--accent-ink); }
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(5,8,12,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet { position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; background: var(--surface); border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); padding: 10px 0 28px; }
.sheet.on { transform: none; } .sheet-bg.on { opacity: 1; pointer-events: auto; }
.grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line-strong); margin: 0 auto 14px; }
.ctab { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctab th, .ctab td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctab thead th { position: sticky; top: 0; background: var(--surface); }
.ctab tbody th { font-weight: 500; color: var(--text-2); width: 28%; }
.ctab .best { color: var(--accent-text); font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-3); font-size: 13.5px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- venue page (L3) ---------- */
.crumbs { font-size: 14px; color: var(--text-3); padding: 20px 0 0; display: flex; gap: 6px; align-items: center; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.vhero { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 24px 0 32px; align-items: start; }
.vname { display: flex; align-items: center; gap: 16px; }
.vname h1 { font-size: 40px; line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin: 0; }
.vtags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.vsum { font-size: 17px; color: var(--text-2); margin: 20px 0 0; max-width: 38em; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.kpi { padding: 16px 18px; border-left: 1px solid var(--line); }
.kpi:first-child { border-left: 0; }
.kpi .k { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.kpi .s { font-size: 12.5px; color: var(--text-3); }
.vcard { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-lift); }
.stabs { position: sticky; top: 64px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.stabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.stabs a { text-decoration: none; padding: 14px 12px; font-size: 15px; font-weight: 500; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.stabs a[aria-current] { color: var(--text); border-color: var(--text); }
.vsec { padding: 40px 0; border-bottom: 1px solid var(--line); max-width: 760px; }
.vsec h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 600; }
.vsec .sec-sub { margin-bottom: 18px; }
.dt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dt th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--text-3); padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.dt td { padding: 12px; border-bottom: 1px solid var(--line); }
.dt td.n, .dt th.n { text-align: right; }
.dt tr.you td { background: var(--accent-soft); }
.dt tr.you td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.dt-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px 0; background: var(--surface); }
.dt-wrap .dt tr:last-child td { border-bottom: 0; }
/* GEO (17 Nov): home "Every venue in one table" — a real <table> of the full ranking. No overflow-x: on mobile the optional columns hide so it never scrolls sideways. */
.rank-home { margin-top: 30px; }
.rank-home .rank-h { margin: 0 0 4px; }
.rank-home .sec-sub { margin: 0 0 14px; }
/* GEO (18 Nov): fold the full table away so it's there for AI/citation but not up-front */
.rank-fold { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.rank-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.rank-fold > summary::-webkit-details-marker { display: none; }
.rank-fold > summary .rank-h { margin: 0; }
.rank-fold > summary .ic { width: 18px; height: 18px; color: var(--text-3); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.rank-fold[open] > summary .ic { transform: rotate(180deg); }
.rank-fold > summary + .sec-sub { margin-top: 10px; }
.rank-home-wrap { border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; background: var(--surface); }
.rank-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rank-t thead th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--text-3); padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rank-t th.n, .rank-t td.n { text-align: right; }
.rank-t tbody th, .rank-t tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: middle; }
.rank-t tbody tr:last-child th, .rank-t tbody tr:last-child td { border-bottom: 0; }
.rank-t .rt-rk { color: var(--text-3); width: 1%; white-space: nowrap; }
.rank-t .rt-v { font-weight: 500; }
.rank-t .rt-v a { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; min-height: 40px; }
.rank-t .rt-v a:hover { text-decoration: underline; }
.rank-t .rt-ty { color: var(--text-3); font-size: 13px; }
.rank-t .rt-tot b { font-weight: 600; }
.rank-t tbody tr.rt-best th, .rank-t tbody tr.rt-best td { background: var(--accent-soft); }
.rank-t tbody tr.rt-best .rt-rk { box-shadow: inset 3px 0 0 var(--accent); }
@media (max-width: 640px) {
  .rank-t .rt-opt, .rank-t .rt-ty { display: none; }
  .rank-t { font-size: 13.5px; }
  .rank-t thead th, .rank-t tbody th, .rank-t tbody td { padding-left: 7px; padding-right: 7px; }
  .rank-home-wrap { padding: 8px 10px; }
}
.more-btn { margin-top: 12px; }
.spark { display: block; }
.srcs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.srcs li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.srcs li:first-child { border-top: 0; }
.srcs li .meta { margin-left: auto; }
.factlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sticky-cta { display: none; }

/* category page */
.cat-tabs { display: flex; gap: 8px; margin: 24px 0 8px; flex-wrap: wrap; }
.podium { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-card); }
.pcard.first { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pcard .pos { font-size: 13px; font-weight: 600; color: var(--text-3); }
.pcard.first .pos { color: var(--accent-text); }
.pcard .id { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pcard .id .nm { font-size: 18px; font-weight: 600; }
.pcard .big { font-size: 34px; font-weight: 600; letter-spacing: -.035em; margin-top: 16px; line-height: 1; }
.pcard .big span { font-size: 15px; color: var(--text-3); font-weight: 400; letter-spacing: 0; }
.pcard .ben { font-size: 14.5px; color: var(--text-2); margin: 8px 0 16px; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

@media (max-width: 980px) {
  .hero-grid, .vhero { grid-template-columns: 1fr; gap: 28px; }
  .coins, .uses { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
  .vcard { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; } .menu-btn { display: grid; }
  .hdr .wrap { height: 56px; }
  .hero { padding: 24px 0 24px; }
  .h1 { font-size: 34px; line-height: 1.08; margin-bottom: 10px; }
  .lede { font-size: 16px; margin-bottom: 22px; }
  .chips .chip { flex: 1; padding: 0 8px; }
  .answer { padding: 20px; border-radius: 20px; }
  .answer-num b { font-size: 60px; }
  .row-top { grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; padding: 14px 12px 14px 14px; }
  .row-top .logo { width: 44px; height: 44px; }
  .row-top .rcta, .row-top .chev { display: none; }
  .row-num { min-width: 0; } .row-num b { font-size: 21px; } .row-num .lbl { display: none; }
  .row-id .ben { font-size: 14px; }
  .row-x .in { padding: 0 14px 16px; }
  .bd { grid-template-columns: 1fr; gap: 18px; }
  .bd-act .btn-primary { flex: 1; }
  .h2 { font-size: 24px; }
  .tabs { width: 100%; } .tab { flex: 1; justify-content: center; padding: 0 10px; }
  .sec { padding: 40px 0; }
  .data-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
  .vname h1 { font-size: 30px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .factlist { grid-template-columns: 1fr; }
  .vcard { display: none; }
  .sticky-cta { display: flex; position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .sticky-cta .btn { flex: 1; }
  .tray { left: 12px; right: 12px; transform: translateY(calc(100% + 40px)); justify-content: space-between; }
  .tray.on { transform: none; }
  .promos { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 86%; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 16px; }
  .ctab { font-size: 14px; } .ctab th, .ctab td { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}

/* v3 beginner hero additions */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); margin: 0 0 16px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); }
.hero-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.link-quiet { color: var(--text-2); font-weight: 500; }
.cues { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.cues li { display: flex; gap: 8px; align-items: flex-start; }
.cues .ic { width: 18px; height: 18px; color: var(--accent-text); margin-top: 2px; }
.cues .deal .ic { color: var(--deal); }
.why { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14.5px; color: var(--text-2); }
.why summary { cursor: pointer; list-style: none; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 6px; min-height: 32px; }
.why summary::-webkit-details-marker { display: none; }
.why summary .ic { width: 16px; height: 16px; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.why[open] summary .ic { transform: rotate(180deg); }
.why p { margin: 6px 0 0; }
.risk { font-size: 12.5px; color: var(--text-3); margin: 12px 0 0; }
.sec-tight { padding-top: 24px; }
.pcard { display: flex; flex-direction: column; }
.pcard .btn { margin-top: auto; }
.pcard .cue { font-size: 13.5px; color: var(--text-3); margin: -8px 0 16px; display: flex; gap: 6px; align-items: center; }
.pcard .cue .ic { width: 16px; height: 16px; }
.why-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; font-size: 14.5px; color: var(--text-2); }
.why-strip > div { display: flex; gap: 10px; align-items: flex-start; }
.why-strip .ic { color: var(--text); margin-top: 2px; }
.why-strip b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
  .kicker { margin-bottom: 10px; font-size: 13px; }
  .hero .lede { display: none; }
  .hero-copy .hero-links { display: none; }
  .hero-links.m { display: flex; margin-top: 18px; }
  .why-strip { grid-template-columns: 1fr; gap: 14px; }
  .answer-num { margin-top: 12px; }
  .answer-k { margin-bottom: 12px; }
}
@media (min-width: 761px) { .hero-links.m { display: none; } }
/* fixes r1 */
.sticky-cta[hidden] { display: none !important; }
.hdr { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.tip-p { display: none; }
.tip.on .tip-p { display: block; animation: tipin .12s cubic-bezier(.2,.8,.2,1); }
@keyframes tipin { from { opacity: 0; transform: translateX(-50%) scale(.97); } }
@media (max-width: 760px) {
  .tip-p { width: min(260px, 78vw); left: auto; right: -10px; transform: none !important; transform-origin: 100% 100%; }
  @keyframes tipin { from { opacity: 0; } }
  .answer-num { flex-wrap: wrap; gap: 0 8px; }
  .answer-num b { font-size: 56px; }
  .answer-num span { font-size: 16px; }
  .answer-id .logo { width: 44px; height: 44px; }
}
/* Perpfield v3 "black + metal" layer: v46 visual language (no Citari content). Loaded after v3.css.
   Metal on exactly 5 element types: 1 chrome H1, 2 hero number, 3 ring panels (answer card, venue card, compare sheet),
   4 primary CTA (mint pearl), 5 small glass details (tab indicator, chips, assumption pills). Everything else stays flat. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/geist-wght.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/geist-mono-wght.woff2) format("woff2"); }
[data-theme="dark"] {
  --bg: #050606; --bg-soft: #0b0d0c; --surface: #0b0d0c; --surface-2: #121514; --surface-3: #181c1a;
  --line: rgba(255,255,255,.075); --line-strong: rgba(255,255,255,.13);
  --text: #eef1ef; --text-2: rgba(238,241,239,.66); --text-3: #8a8f8c;
  --accent: #8fe3bf; --accent-hover: #a6ead0; --accent-ink: #06130d; --accent-soft: rgba(143,227,191,.09); --accent-text: #8fe3bf;
  --deal: #e8d2a6; --deal-soft: rgba(232,210,166,.08);
  --bar-fee: #eef1ef; --bar-imp: #5d625f;
  --logo-ring: rgba(255,255,255,.10);
  --chr: linear-gradient(180deg, #ffffff 0%, #f6f7f6 45%, #c9cecb 72%, #e9ecea 88%, #ffffff 100%);
  --chr-band: linear-gradient(100deg, rgba(255,255,255,0) 46%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 54%);
  --num: linear-gradient(180deg, #fbfcfb 18%, #c2c7c4 62%, #a9afac 100%);
  --ring: linear-gradient(165deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.10) 22%, rgba(255,255,255,.045) 50%, rgba(255,255,255,.09) 78%, rgba(255,255,255,.20) 100%);
  --ring-hi: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0));
  --edge: inset 0 1px 0 rgba(255,255,255,.075);
  --depth: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,0) 36%);
  --drop: 0 30px 60px -40px rgba(0,0,0,.6);
  --shadow-card: var(--edge); --shadow-lift: var(--edge), var(--drop);
  --ease: cubic-bezier(.16,1,.3,1);
}
[data-theme="dark"] body { font-family: Geist, ui-sans-serif, system-ui, -apple-system, sans-serif; font-feature-settings: "tnum"; letter-spacing: -.0125em; font-size: 16px;
  background: radial-gradient(1200px 520px at 50% -120px, rgba(255,255,255,.045), rgba(255,255,255,0) 70%), var(--bg) no-repeat; }
[data-theme="dark"] :is(.h1, .h2, .answer-num b, .row-num b, .pcard .big, .promo-h, .vname h1, .vsec h2, .kpi .v, .answer-id .nm, .row-id .nm, .pcard .id .nm, .coin-win .nm, .brand, .btn, .tab, .chip, b, .fact .v) { font-weight: 500; }
[data-theme="dark"] .h1 { letter-spacing: -.03em; }
[data-theme="dark"] .preview-bar { background: transparent; }
[data-theme="dark"] .hdr { background: rgba(5,6,6,.86); }
/* radii 16 panels / 14 cards / 10 controls */
[data-theme="dark"] :is(.answer, .vcard, .data-cta) { border-radius: 16px; }
[data-theme="dark"] :is(.row, .pcard, .promo, .coin, .kpis, .dt-wrap, .srcs) { border-radius: 14px; }
[data-theme="dark"] .fact { border-radius: 10px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .btn { border-radius: 10px; letter-spacing: 0; }
[data-theme="dark"] :is(.row, .pcard, .promo, .coin) { background-image: var(--depth); }

/* 1. chrome H1 (one specular pass on load, desktop only) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  [data-theme="dark"] .chr { background-image: var(--chr-band), var(--chr); background-size: 250% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .06em; filter: drop-shadow(0 0 24px rgba(255,255,255,.06)); }
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) { [data-theme="dark"] .chr { animation: chr-sweep 1.6s cubic-bezier(.45,0,.25,1) .3s both; } }
  @keyframes chr-sweep { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
  /* 2. hero number only (lists stay solid ink) */
  [data-theme="dark"] .answer-num b { background-image: var(--num); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
/* 3. ring panels */
[data-theme="dark"] :is(.answer, .vcard) { position: relative; border-color: transparent; background: var(--depth), var(--surface); box-shadow: var(--edge), var(--drop); isolation: isolate; }
[data-theme="dark"] :is(.answer, .vcard)::after { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background-image: var(--ring-hi), var(--ring); background-repeat: no-repeat; background-size: 280px 280px, 100% 100%; background-position: -80px -140px, 0 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
[data-theme="dark"] .answer::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .05; mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.75' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.2 -0.6'/%3E%3C/filter%3E%3Crect width='600' height='300' filter='url(%23b)'/%3E%3C/svg%3E") 0 0 / 600px 300px; }
[data-theme="dark"] .sheet { background: var(--depth), var(--surface); box-shadow: var(--edge), 0 -30px 60px -30px rgba(0,0,0,.8); border-top: 1px solid var(--line-strong); }
/* 4. primary CTA: mint pearl (the one colour = the one action), specular pass on hover for pointer devices */
[data-theme="dark"] .btn-primary { position: relative; isolation: isolate; overflow: hidden; color: var(--accent-ink);
  background: linear-gradient(180deg, #b4f0d6 0%, #8fe3bf 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(0,0,0,.14), 0 0 0 1px rgba(143,227,191,.35), 0 10px 30px -12px rgba(143,227,191,.35); }
[data-theme="dark"] .btn-primary:hover { background: linear-gradient(180deg, #c2f4de 0%, #9be8c7 100%); }
[data-theme="dark"] .btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translate3d(-110%,0,0);
  background: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 58%); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { [data-theme="dark"] .btn-primary:hover::after { transform: translate3d(110%,0,0); transition: transform .7s cubic-bezier(.3,.7,.2,1); } }
/* pearl (white) variant kept for the A/B board only */
[data-theme="dark"] .btn-pearl { background: linear-gradient(180deg, #ffffff 0%, #e9ecea 100%); color: #121413; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.10), 0 0 0 1px rgba(255,255,255,.16); }
[data-theme="dark"] :is(.btn-ghost, .btn-line) { background: rgba(255,255,255,.06); box-shadow: var(--edge), inset 0 0 0 1px var(--line); color: var(--text); }
[data-theme="dark"] :is(.btn-ghost, .btn-line):hover { background: rgba(255,255,255,.1); }
/* 5. small glass details */
[data-theme="dark"] .tabs { background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; }
[data-theme="dark"] .tab, [data-theme="dark"] .tab-pill { border-radius: 9px; }
[data-theme="dark"] .tab-pill { background: #161a18; box-shadow: var(--edge), 0 0 0 1px var(--line-strong); transition: transform .32s var(--ease), width .32s var(--ease); }
[data-theme="dark"] .chip { background: rgba(255,255,255,.03); border-color: var(--line-strong); box-shadow: var(--edge); border-radius: 10px; }
[data-theme="dark"] .chip[aria-pressed="true"] { background: #eef1ef; color: #121413; border-color: #eef1ef; }
[data-theme="dark"] .tag { background: rgba(255,255,255,.06); }
[data-theme="dark"] .tag-accent { background: var(--accent-soft); }
[data-theme="dark"] .tag-deal { background: var(--deal-soft); }
[data-theme="dark"] :focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 5px rgba(143,227,191,.18); }
[data-theme="dark"] .row.open { box-shadow: var(--edge), var(--drop); }
[data-theme="dark"] .tray { background: #eef1ef; }
@media (max-width: 760px) {
  [data-theme="dark"] .answer::before { display: none; }
  [data-theme="dark"] .btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -1px 0 rgba(0,0,0,.14), 0 0 0 1px rgba(143,227,191,.35); }
  [data-theme="dark"] .sticky-cta { background: rgba(11,13,12,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
@media (prefers-reduced-motion: reduce) { [data-theme="dark"] .chr { animation: none !important; } [data-theme="dark"] .btn-primary::after { display: none; } }
[data-theme="dark"] .dim-h { color: var(--text-3); }

/* ===== v3 site components (beyond the mockup) ===== */
.h1-sub { font-size: 44px; }
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; z-index: 0; left: 50%; top: -260px; width: 1100px; height: 700px; margin-left: -550px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(143,227,191,.075), rgba(143,227,191,0) 70%), radial-gradient(40% 30% at 70% 40%, rgba(255,255,255,.05), rgba(255,255,255,0)); will-change: transform; }
.hero > .wrap { position: relative; z-index: 1; }
.answer-num b.num-metal { display: inline-block; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  [data-theme="dark"] .answer-num b.num-metal { background-image: var(--chr-band), var(--num); background-size: 250% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) { [data-theme="dark"] .answer-num b.num-metal { animation: chr-sweep 1.6s cubic-bezier(.45,0,.25,1) .9s both; } }
}
/* reveal on scroll (only below the fold, JS adds .rv) */
.rv { opacity: 0; transform: translate3d(0, 10px, 0); }
.rv.in { opacity: 1; transform: none; transition: opacity .5s var(--ease, cubic-bezier(.16,1,.3,1)) calc(var(--i, 0) * 60ms), transform .6s var(--ease, cubic-bezier(.16,1,.3,1)) calc(var(--i, 0) * 60ms); }
.row[hidden] { display: none; }
.row-x { transition: grid-template-rows .32s cubic-bezier(.16,1,.3,1); }
.bd-honest { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.bd-honest .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--text-3); }
.mono-tile { width: 32px; height: 32px; border-radius: 24%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-strong); flex: none; }
.promo-gets { font-size: 14.5px; color: var(--text-2); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.promo .promo-h { font-size: 18px; margin-top: 14px; }
.fp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fp .tag { font-weight: 500; font-size: 12px; height: 22px; }
.promo details p { margin: 6px 0 0; }
.promo[hidden] { display: none; }
.link.sm { font-size: 13.5px; }
.coin-badge { background: rgba(255,255,255,.06); color: var(--text); box-shadow: var(--edge, none); }
.coin-badge .ic { width: 18px; height: 18px; }
.pcard .btn, .promo-foot .btn { margin-top: 0; }
.pcard > .btn:last-child, .pcard > a.btn { margin-top: auto; }
.foot p { margin: 12px 0 0; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.mnav { position: relative; display: none; }
.mnav summary { list-style: none; } .mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: 48px; min-width: 220px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 8px; display: grid; box-shadow: var(--shadow-lift); z-index: 50; }
.mnav nav a { padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: 15px; }
.mnav nav a:hover { background: var(--surface-2); }
/* hidden-costs strip */
.hstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hc { background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--line), var(--edge, none); border-radius: 14px; padding: 16px; }
.hc .k { font-size: 13px; color: var(--text-3); display: flex; gap: 6px; align-items: center; } .hc .k .ic { width: 16px; height: 16px; }
.hc .v { font-size: 18px; font-weight: 500; margin-top: 6px; letter-spacing: -.015em; }
.hc p { font-size: 13.5px; color: var(--text-2); margin: 4px 0 8px; }
.hc-wide { grid-column: 1 / -1; }
.vsec { max-width: 820px; }
.vlink { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.vlink .logo { width: 22px; height: 22px; }
.dt .spark { color: var(--text-2); } .spark polyline { fill: none; stroke: currentColor; stroke-width: 1.5; } .spark-0 { stroke: var(--line-strong); stroke-dasharray: 2 2; }
/* where page */
.cat { padding: 28px 0 8px; scroll-margin-top: 80px; }
.cat-h { font-size: 22px; margin-bottom: 12px; }
.mk-list { display: grid; gap: 8px; }
.mk { background: var(--surface); background-image: var(--depth, none); box-shadow: inset 0 0 0 1px var(--line), var(--edge, none); border-radius: 14px; scroll-margin-top: 80px; }
.mk summary { list-style: none; display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 16px; align-items: center; padding: 14px 16px 14px 20px; cursor: pointer; }
.mk summary::-webkit-details-marker { display: none; }
.mk-name { font-weight: 500; font-size: 16px; display: grid; } .mk-name .meta { font-weight: 400; }
.mk-win { display: flex; align-items: center; gap: 10px; } .mk-win > span { display: grid; line-height: 1.3; } .mk-win b { font-weight: 500; }
.mk[open] .chev .ic { transform: rotate(180deg); }
.mk-body { padding: 0 16px 16px; }
.mk-body .dt-wrap { background: transparent; }
.stabs { background: rgba(5,6,6,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tray .btn[disabled] { opacity: .5; cursor: default; }
@media (max-width: 980px) { .hstrip { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .mnav { display: block; }
  .h1-sub { font-size: 32px; }
  .mk summary { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px; }
  .mk-alt { display: none; } .mk summary .chev { display: none; }
  .mk-win .logo { width: 28px; height: 28px; }
  .mk-name { grid-column: 1 / -1; }
  .hero-bg { display: none; }
  .rv.in { transition-duration: .35s; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
/* r2: grid children must be allowed to shrink (long hosts / wide tables overflowed iPhone) */
.promos, .mk-list, .rows, .podium, .coins, .uses { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.mk-list, .rows { grid-template-columns: minmax(0, 1fr); }
.promo, .mk, .row, .pcard, .coin { min-width: 0; }
.promo-foot .btn { white-space: normal; text-align: center; min-height: 40px; height: auto; padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 981px) { .podium { grid-template-columns: 1.3fr 1fr 1fr; } .coins, .uses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fp .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* AB brand (15 Nov): Shortlist mark + Geist wordmark */
[data-theme] .brand { font-weight: 560; letter-spacing: -.035em; }
.brand svg { width: 24px; height: 24px; flex: none; }

/* Header v46 scale (15 Nov "too big"): 60px bar, 14px nav, subtle active pill */
.hdr .wrap { height: 60px; gap: 28px; }
[data-theme] .hdr .brand { font-size: 16px; gap: 7px; }
.hdr .brand svg { width: 20px; height: 20px; }
.nav { gap: 2px; }
.nav a { font-size: 14px; font-weight: 500; letter-spacing: -.01em; padding: 6px 10px; color: var(--text-2); border-radius: 999px; }
.nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.nav a[aria-current] { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
@media (max-width: 760px) { .hdr .wrap { height: 56px; } .menu-btn { width: 38px; height: 38px; } }

/* ===== Deals, bonuses, hidden costs, market selector (15 Nov) ===== */
.bz { margin-top: 10px; }
.bz > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.bz > summary::-webkit-details-marker { display: none; }
.bz-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; line-height: 1.3; }
.bz-chip b { font-weight: 560; }
.bz-chip small { font-size: 12px; opacity: .78; font-weight: 400; }
.bz-chip .ic { width: 15px; height: 15px; }
.bz-end { display: inline-flex; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong, rgba(255,255,255,.16)); color: var(--text); font-size: 12px; white-space: nowrap; }
.bz-end[hidden] { display: none; }
.bz-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--text-3); }
.bz-more .ic { width: 14px; height: 14px; transition: transform .2s; }
.bz[open] .bz-more .ic { transform: rotate(180deg); }
.bz-body { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.bz-body p, .bz-body ul { margin: 0 0 6px; } .bz-body ul { padding-left: 18px; }
.bz-note { color: var(--text-3); } .bz-meta { font-size: 12.5px; color: var(--text-3); }
.bz-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bz-ans { margin: 12px 0 2px; }
.bz-in { margin-top: 14px; }
.bonus-strip { margin-top: 40px; }
.bonus-strip .h3 { font-size: 20px; font-weight: 560; letter-spacing: -.02em; margin: 0 0 4px; }
.bstrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; margin-top: 14px; }
.bcard { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.bc-id { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; } .bc-id .bz-end { margin-left: auto; }
.bc-amt { font-size: 21px; font-weight: 560; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.bc-cond { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.bc-note { margin: 0 0 4px; font-size: 13px; color: var(--text-3); flex: 1; }
.bc-meta { margin: 0; font-size: 12px; color: var(--text-3); }
.mk-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; }
#mksel { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
#mksel button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 12px; min-height: 34px; border-radius: 999px; cursor: pointer; }
#mksel button[aria-pressed="true"] { background: color-mix(in srgb, var(--text) 9%, transparent); color: var(--text); }
.mk-note { margin: 0; font-size: 13px; color: var(--text-3); }
.row.mk-na { opacity: .55; }
.hx { margin-top: 18px; }
.hx-l { margin: 8px 0 0; display: grid; gap: 0; }
.hx-l > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.hx-l > div:last-child { border-bottom: 0; }
.hx-l dt { color: var(--text-2); } .hx-l dd { margin: 0; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.hx-l .tot dt, .hx-l .tot dd { font-weight: 560; }
.hx-x { display: block; font-size: 12px; color: var(--text-3); }
.hx-n { margin: 8px 0 0; font-size: 13px; color: var(--text-3); line-height: 1.45; }
.hx-warn { display: flex; gap: 6px; align-items: flex-start; color: var(--text-2); }
.pbig { font-size: 24px; font-weight: 560; letter-spacing: -.02em; margin: 8px 0 2px; color: var(--text); }
.preal { margin: 0 0 6px; font-size: 13px; color: var(--text-3); }
.pl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.psort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.psort select { font: inherit; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; min-height: 38px; }
.mq-chip { display: inline-flex; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 500; }
.mk-tag { display: block; }
.mq { margin: 0 0 14px; } .mq-h { margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.mq-l { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px; font-size: 13.5px; }
.mq-l > div { display: flex; justify-content: space-between; } .mq-l dt { color: var(--text-2); } .mq-l dd { margin: 0; }
.kicker .motto { color: var(--text); font-weight: 500; }
.foot-motto { margin: 6px 0 12px; font-size: 13.5px; color: var(--text-2); }
.rc-deal { margin-left: 8px; flex: none; }
.rb-bz, .rb-hx { margin-bottom: 14px; }

.bc-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mk-how { order: 3; font-size: 13px; color: var(--text-2); }

.blend { margin-top: 18px; }
.wtabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin: 18px 0 4px; }
.wtabs .tab { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 7px 14px; min-height: 36px; border-radius: 999px; cursor: pointer; }
.wtabs .tab[aria-selected="true"] { background: color-mix(in srgb, var(--text) 9%, transparent); color: var(--text); }
.wt-cex [data-ty="dex"], .wt-dex [data-ty="cex"] { display: none !important; }
.mk-t { display: contents; }
.qlabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.qlab { font-size: 12px; padding: 1px 7px; border-radius: 999px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
/* Markets page category chips: no underline, one line per chip, scroll sideways on phones (was wrapping inside the pill) */
.cat-tabs a { text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .cat-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .cat-tabs::-webkit-scrollbar { display: none; } }

.pbig-sm { font-size: 18px; }

/* venue About panel */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 8px; }
.pg { background: var(--surface); border-radius: 14px; padding: 18px 18px 14px; box-shadow: inset 0 0 0 1px var(--line); }
.pg h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; font-weight: 560; letter-spacing: -.01em; }
.pg h3 .ic { width: 18px; height: 18px; color: var(--text-2); }
.pg .hx-l > div { align-items: baseline; }
.pg .hx-l dd { max-width: 62%; }
.pg .hx-l .sub { border-bottom: 0; padding-top: 0; }
.ease { display: inline-flex; padding: 1px 8px; margin-right: 6px; border-radius: 999px; font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.ease-easy { background: var(--accent-soft); color: var(--accent-text); box-shadow: none; }
.ease-medium { color: var(--text); }
.ease-hard { color: var(--text-2); }
.valt { display: flex; align-items: center; gap: 6px; margin-top: 10px; }

.life { margin-top: 18px; }
.hc .life { margin-top: 0; }
/* Holders page */
.hold-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; color: var(--text-2); max-width: 62em; }
.hold { padding: 28px 0 8px; }
.hold-win { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 14px 0 16px; }
.hw { padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hw .k { font-size: 13px; color: var(--text-2); } .hw .v { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; font-size: 17px; } .hw .s { font-size: 14px; color: var(--text-2); }
.hold-list { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.hl-h, .hl-r { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 12px; align-items: center; padding: 12px 16px; }
.hl-h { font-size: 12.5px; color: var(--text-3); border-bottom: 1px solid var(--line); }
.hl-r + .hl-r { border-top: 1px solid var(--line); }
.hl-r small { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; }
.hl-n .vlink { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.hl-v b { font-weight: 560; font-variant-numeric: tabular-nums; } .hl-v .rcv { color: var(--accent-text); }
.hl-s { font-size: 13.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .hl-h { display: none; }
  .hl-r { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .hl-n { grid-column: 1 / -1; }
  .hl-s { grid-column: 1 / -1; }
  .hl-v::before, .hl-s::before { content: attr(data-l); display: block; font-size: 12px; color: var(--text-3); }
}
/* Compare page */
.cmp-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 6px; max-width: 760px; }
.cmp-pick select { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.cmpw { margin-top: 18px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.cmpt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmpt th, .cmpt td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 200px; scroll-snap-align: start; }
.cmpt tr:last-child th, .cmpt tr:last-child td { border-bottom: 0; }
.cmpt .lab { position: sticky; left: 0; z-index: 1; background: var(--bg); color: var(--text-2); font-weight: 500; min-width: 170px; width: 190px; }
.cmpt thead th { background: var(--bg); }
@media (min-width: 761px) { .cmpw { overflow: visible; } .cmpt thead th { position: sticky; top: 60px; z-index: 2; } }
.cmpt thead th.lab { z-index: 3; }
.cmp-v { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text); text-decoration: none; font-weight: 560; font-size: 16px; }
.cmpt .r-cost td { font-size: 20px; font-weight: 560; font-variant-numeric: tabular-nums; }
.cmpt td.best { color: var(--accent-text); }
.cmpt [hidden] { display: none; }
@media (max-width: 760px) { .cmp-pick { grid-template-columns: 1fr; } .cmpt th, .cmpt td { min-width: 62vw; } .cmpt .lab { min-width: 34vw; width: 34vw; font-size: 13px; } }

/* venue: user reports, safety, quality rows */
.ur-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 6px 0 14px; }
.ur-tp { font-size: 15px; } .ur-tp b { font-size: 22px; font-weight: 560; }
.ur-thin { display: flex; gap: 6px; align-items: center; margin: 0; padding: 8px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text-2); }
.ur-list { list-style: none; margin: 0; padding: 0; } .ur-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.ur-h { margin: 0 0 6px; font-weight: 500; } .ur-m { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ur-ex { margin: 6px 0 0; font-size: 13.5px; } .ur-ex a { color: var(--text-2); }
.ur-h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 560; }
.dt tr.qrow td { padding-top: 0; border-top: 0; }
.verdict { display: flex; gap: 8px; align-items: center; margin: 14px 0 6px; font-size: 18px; font-weight: 500; color: var(--text); }
.verdict .ic { color: var(--accent-text); }
.faq-pair { padding: 28px 0 8px; max-width: 760px; } .faq-pair details { border-top: 1px solid var(--line); padding: 12px 0; } .faq-pair summary { cursor: pointer; font-weight: 500; } .faq-pair p { color: var(--text-2); margin: 8px 0 0; }
.pair .cmpt th, .pair .cmpt td { min-width: 0; }
/* report form + badges */
.rep { display: grid; gap: 12px; max-width: 560px; }
.rep label { display: grid; gap: 6px; }
.rep select, .rep textarea, .rep input { font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.rep .btn { justify-self: start; }
.rep-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rep-ok { padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--text); margin: 0 0 12px; }
.f-sub { font-weight: 400; color: var(--text-3); }
.badge-list { display: grid; gap: 14px; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.badge-code { flex: 1; min-width: 260px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.badge-name { grid-column: 1 / -1; font-weight: 500; }
.badge-code textarea { font: 12.5px/1.4 "Geist Mono", ui-monospace, monospace; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; resize: none; }
.vcmp { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }
/* Markets overview + market pages */
.mk-tools { display: grid; gap: 10px; margin: 14px 0 6px; }
.mk-search input { width: 100%; max-width: 520px; font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.mk-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .mk-chips::-webkit-scrollbar { display: none; } .mk-chips .chip { white-space: nowrap; }
.mgrp { padding: 22px 0 6px; } .mgrp[hidden] { display: none; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px; margin-top: 12px; }
.mcard { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; }
.mcard:hover { box-shadow: inset 0 0 0 1px var(--line-strong, rgba(255,255,255,.18)); }
.mcard[hidden] { display: none; }
.mc-h { display: flex; align-items: baseline; gap: 8px; } .mc-h b { font-size: 16px; font-weight: 560; }
.mc-win { display: flex; align-items: center; gap: 10px; } .mc-win b { display: block; font-weight: 500; } .mc-win .meta { font-size: 13px; }
.mc-run { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--text-3); }
.mshow { margin-top: 10px; }
.mstats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 14px 0 6px; } .mstats .k { display: block; font-size: 12.5px; color: var(--text-3); } .mstats b { font-weight: 560; font-variant-numeric: tabular-nums; }

.aff-note { display: block; margin-top: 6px; font-size: 13px; color: var(--text-2); }

.pl-opts { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 0 0 14px; font-size: 14px; color: var(--text-2); } .pl-opts input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.promo[hidden] { display: none; }

/* ===== QA mobile fixes (M9/M10) ===== */
.hdr, [data-theme="dark"] .hdr { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 760px) {
  .sticky-cta { min-height: 0; height: auto; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
  .sticky-cta .logo { width: 28px; height: 28px; }
  .sticky-cta .btn { min-height: 40px; padding: 0 14px; }
  .sticky-cta .meta { font-size: 12.5px; }
}
.sticky-cta[hidden] { display: none !important; }
@media (max-width: 420px) {
  .bd-act { flex-direction: column; align-items: stretch; gap: 8px; }
  .bd-act .btn { width: 100%; justify-content: center; }
  .bd-act .sp { display: none; }
  .bd-act .cmp { align-self: flex-start; }
}
/* 2-exchange compare pages fit a phone: sticky labels + two equal value columns */
@media (max-width: 760px) {
  .pair .cmpw { overflow: visible; }
  .pair .cmpt { table-layout: fixed; font-size: 13.5px; }
  .pair .cmpt th, .pair .cmpt td { min-width: 0; padding: 10px 8px; word-break: break-word; }
  .pair .cmpt .lab { width: 32%; min-width: 0; font-size: 12.5px; }
  .pair .cmp-v { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
  .pair .cmpt thead .btn { width: 100%; justify-content: center; padding: 0 8px; }
  .pair .cmpt .r-cost td { font-size: 17px; }
}
/* scroll hint on tables that can scroll sideways */
.dt-wrap, .cmpw { position: relative; }
@media (max-width: 760px) {
  .dt-wrap, .compare:not(.pair) .cmpw { background: linear-gradient(to left, var(--bg) 0, transparent 28px) right / 28px 100% no-repeat local, linear-gradient(to left, rgba(255,255,255,.07), transparent) right / 18px 100% no-repeat scroll; }
}

.guide { max-width: 720px; padding-bottom: 56px; } .guide h2 { font-size: 20px; font-weight: 560; margin: 28px 0 8px; } .guide p, .guide li { color: var(--text-2); line-height: 1.6; font-size: 16px; }
.guide .ex { margin: 14px 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); line-height: 1.55; }
.guide .cta-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 28px; }

/* ===== QA m6: tap targets, contrast, chips, menu ===== */
.tip-b { min-width: 32px; min-height: 32px; display: inline-grid; place-items: center; margin: -8px -6px; }
.foot-links a, .foot a { display: inline-block; padding: 6px 2px; }
.cmp input[type="checkbox"], .pl-opts input { width: 20px; height: 20px; }
.cmp { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-pressed="false"], .seg-lg button[aria-pressed="false"] { color: var(--text); opacity: 1; }
.chip { min-height: 36px; height: auto; white-space: nowrap; }
.chips { flex-wrap: wrap; }
.menu-btn { width: auto !important; padding: 0 12px 0 10px; gap: 6px; grid-auto-flow: column; border-radius: 999px; }
.menu-lbl { font-size: 14px; font-weight: 500; color: var(--text); }
.mnav[open]::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 40; }
.mnav nav { z-index: 50; }
@media (max-width: 760px) { .btn, .chip, .tab { min-height: 44px; } }


/* all-in % / bps secondary line (headline = $10,000 traded, 17 Nov) */
.allin { display: inline-flex; align-items: baseline; gap: 5px; font-size: 12.5px; font-weight: 500; letter-spacing: .01em; color: var(--text-2); background: var(--accent-soft); border-radius: 999px; padding: 2px 9px; line-height: 1.5; white-space: nowrap; }
.allin-p { font-weight: 400; color: var(--text-3); font-size: 12px; }
.answer-num .allin, .vcard .allin { margin-top: 8px; }
.pcard .allin { margin-top: 8px; }
.row-num .allin { font-size: 11.5px; padding: 1px 7px; }

/* type chip on ranking rows (combined CEX+Onchain list, 17 Nov) */
.tag-type { font-size: 10.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text-3); background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; vertical-align: middle; }
.tabs .tab[data-t="all"][aria-selected="true"] ~ * { }

/* type chip in the simple calculator list (combined ranking) */
.cs-type { font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; }

/* ======================================================================
   Asset / coin icons (asset_icon()) + consistent money-CTA (17 Nov)
   - asset icons: bundled CC0 coin SVG for crypto, else a deterministic
     lettered badge (stocks/forex/commodities/long-tail). Circular, so an
     ASSET reads differently from the squircle venue logos.
   - money CTA: every /go/<venue>/ link = the one green button (btn-primary)
     with the small venue logo on it. Non-money links stay outlined.
   ====================================================================== */
.aic { flex: none; border-radius: 50%; box-shadow: 0 0 0 1px var(--logo-ring); background: var(--surface-2); vertical-align: middle; }
img.aic { display: inline-block; object-fit: cover; }
span.aic-fb { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; line-height: 1; letter-spacing: -.01em; font-variant-numeric: normal; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(0,0,0,.28); }
/* placements */
.mc-h { gap: 9px; } .mc-h .aic { align-self: center; }
.crumb-mk { display: inline-flex; align-items: center; gap: 7px; }
.mk-h1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mk-h1 .aic { flex: none; }
@media (max-width: 640px) { .mk-h1 { gap: 10px; } }

/* subtle lift/press on the money button (motion skill: occasional click, <200ms, reduced-motion off) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-primary:hover { transform: translateY(-1px); }
  .btn-primary:active { transform: translateY(0) scale(.985); }
}

/* forex pair = two overlapping country flags (flag-icons, MIT), bundled local */
.aic-fx { background: transparent !important; box-shadow: none !important; display: inline-flex; align-items: center; justify-content: center; overflow: visible; }
.aic-fx .aic-fl { width: 70%; height: 70%; border-radius: 50%; object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 1.5px var(--bg); flex: none; }
.aic-fx .aic-fl + .aic-fl { margin-left: -26%; }

/* ---- GEO dated answer-first sentence (one quotable line for AI engines). Tasteful, high in the DOM on home / exchange / market. ---- */
/* Subtle dateline (GEO answer AI can lift) — clean, muted, no box. */
.asof { display: flex; align-items: baseline; gap: 7px; max-width: 56em; margin: 2px 0 20px; padding: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-3); background: none; border: 0; }
.asof .ic { color: var(--accent-text); opacity: .75; flex: none; width: 13px; height: 13px; align-self: flex-start; position: relative; top: 2px; }
.asof-t { color: var(--text-3); }
.asof-src { color: var(--text-3); font-weight: 600; }
.v3.venue .asof, .v3.where .asof { margin: 10px 0 18px; }
@media (max-width: 640px) { .asof { font-size: 12px; margin-bottom: 16px; } }
