/* Neutral landing kit for the Dexsport demo network. Light theme only.
   Token-driven: per-site accent is injected on <html> as --c-accent / --c-accent-strong. */

:root {
  /* Per-site accent injected on <html> as --c-accent / --c-accent-strong.
     Fallbacks reproduce the baseline teal when a site sets neither. */
  --accent: var(--c-accent, #0f8f7c);
  --accent-strong: var(--c-accent-strong, #0b6f60);
  --accent-ink: #ffffff;

  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #f0f2f4;
  --line: #e2e6ea;
  --ink: #16202a;
  --ink-2: #4a5765;
  --ink-3: #74818f;
  --shadow: 0 1px 2px rgba(16,32,42,.06), 0 8px 24px rgba(16,32,42,.06);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; color: var(--ink-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-strong); margin: 0 0 .8em; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 54ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 650; font-size: 1rem;
  padding: .8em 1.4em; border-radius: var(--btn-radius, 999px); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn-upper .btn { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .92rem; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; }
.brand img, .brand svg { height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.nav a:hover { color: var(--ink); }
.header-cta { margin-left: 8px; }
.burger { margin-left: auto; display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 42px; height: 40px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 76px 0 40px; }
.hero .trust-line { color: var(--ink-3); font-size: .9rem; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Rankings table */
.rank-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.rank-note { color: var(--ink-3); font-size: .92rem; max-width: 42ch; }
.rank-list { display: grid; gap: 14px; }
.rank-card { display: grid; grid-template-columns: 44px 190px 1fr auto; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.rank-card.is-top { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.rank-num { font-weight: 800; font-size: 1.5rem; color: var(--ink-3); text-align: center; }
.rank-card.is-top .rank-num { color: var(--accent-strong); }
.rank-brand { display: flex; align-items: center; gap: 12px; }
.rank-brand img { height: 30px; width: auto; }
.rank-brand .nm { font-weight: 700; }
.rank-brand .tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 2px 8px; border-radius: 999px; margin-top: 3px; }
.rank-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; }
.rank-facts b { color: var(--ink); font-weight: 650; }
.rank-facts span { color: var(--ink-3); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.rank-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.score { font-weight: 800; font-size: 1.15rem; }
.score small { color: var(--ink-3); font-weight: 600; font-size: .8rem; }
.rank-mobile-note { display: none; color: var(--ink-2); font-size: .9rem; }

/* Trust grid */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-strong); }
.card p { margin: 0; font-size: .95rem; }

/* Editorial */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }
.editorial-block + .editorial-block { margin-top: 42px; }

/* Netherlands / callout */
.callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 15px 0; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent-strong); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 15px; margin: 0; font-size: .97rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: var(--accent-ink); border-radius: calc(var(--radius) + 6px); padding: 44px; text-align: center; }
.cta-band h2 { color: var(--accent-ink); }
.cta-band p { color: color-mix(in srgb, var(--accent-ink) 82%, transparent); max-width: 46ch; margin-inline: auto; }
.cta-band .btn-primary { background: var(--accent-ink); color: var(--accent-strong); margin-top: 18px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: .93rem; }
.footer-links a:hover { color: var(--ink); }
.footer-note { color: var(--ink-3); font-size: .83rem; margin-top: 26px; max-width: 72ch; }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink-3); color: var(--ink-2); font-weight: 800; font-size: .82rem; }

/* Service page */
.doc { padding: 48px 0 72px; }
.doc .prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.breadcrumb { color: var(--ink-3); font-size: .9rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-3); }

/* Byline (E-E-A-T) */
.byline { color: var(--ink-3); font-size: .9rem; margin-top: 16px; }
.byline b { color: var(--ink-2); font-weight: 650; }

/* Scorecards */
.scorecards-sec { padding: 28px 0; }
.scorecards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scorecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.sc-big { font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; }
.sc-of { font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.sc-small { color: var(--ink-2); font-size: .9rem; margin-top: 6px; }

/* Comparison table */
.wrap-wide { max-width: 1280px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; font-size: .83rem; table-layout: fixed; }
table.cmp thead th { text-align: left; padding: 12px 9px; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-3); font-weight: 700; border-bottom: 1px solid var(--line); vertical-align: bottom; }
table.cmp thead th span { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); opacity: .8; }
table.cmp tbody td { padding: 12px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); word-wrap: break-word; }
/* Fixed column widths, class-based so the column ORDER can vary per site
   without breaking the layout (no reliance on nth-child position). */
table.cmp .c-num { width: 38px; white-space: nowrap; text-align: center; padding-left: 4px; padding-right: 4px; }
table.cmp .c-brand { width: 22%; }
table.cmp .col-score { width: 72px; }
table.cmp .col-kyc { width: 92px; }
table.cmp .col-custody { width: 13%; }
table.cmp .col-coins { width: 10%; }
table.cmp .col-min { width: 10%; }
table.cmp .col-wd { width: 11%; }
table.cmp .col-lic { width: 10%; }
table.cmp .col-est { width: 54px; }
table.cmp .c-cta { width: 70px; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr.is-top { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.c-num { color: var(--ink-3); font-weight: 800; width: 34px; }
tr.is-top .c-num { color: var(--accent-strong); }
.c-cta { text-align: right; white-space: nowrap; }
.c-min { white-space: nowrap; }
.tb-brand { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.tb-brand img { height: 26px; width: auto; flex: none; }
.tb-dot { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; font-weight: 800; color: var(--accent-ink); background: var(--accent); font-size: .85rem; }
.tb-brand .nm { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tb-note { color: var(--ink-3); font-size: .78rem; max-width: 34ch; }
.tb-brand .tag { display: inline-block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 1px 6px; border-radius: 999px; vertical-align: middle; }
.c-score b { color: var(--ink); font-weight: 800; }
.bar { display: block; height: 4px; border-radius: 3px; background: var(--surface-2); margin-top: 5px; min-width: 56px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-nokyc { color: #04512f; background: #bde9ce; }
.pill-riskbased, .pill-threshold { color: #6f4400; background: #f3dca2; }
.pill-mandatory { color: #7d2727; background: #f0c4c4; }
.pill-\2014 { color: var(--ink-3); background: var(--surface-2); }
.table-foot { color: var(--ink-3); font-size: .82rem; margin-top: 14px; }

/* Collapsible rows (top 10 visible, rest behind Show all) */
table.cmp[data-collapsed="true"] tbody tr.row-extra { display: none; }
.show-all-wrap { text-align: center; margin-top: 18px; }
.show-all { min-width: 240px; }

/* Sponsored promo banner (ad unit for the top pick) */
.promo-sec { padding: 10px 0 44px; }
.promo { position: relative; display: block; text-decoration: none; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.promo-flag { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: .64rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 999px; }
.promo-img img { display: block; width: 100%; height: auto; }
.promo-body { background:
    radial-gradient(1200px 300px at 85% -40%, color-mix(in srgb, var(--accent) 30%, transparent), transparent),
    linear-gradient(120deg, var(--surface), var(--surface-2)); padding: 34px 36px; }
.promo-eyebrow { color: var(--accent-strong); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; margin: 0 0 8px; }
.promo-title { color: var(--ink); font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 0 0 8px; max-width: 24ch; }
.promo-text { color: var(--ink-2); margin: 0 0 18px; max-width: 60ch; }
.promo-body .btn { pointer-events: none; }

/* Sources / methodology */
.src-line { color: var(--ink-3); font-size: .82rem; margin-top: 18px; }

/* =========================================================================
   Per-site design variants. Defaults (d-normal / cards-shadow / hdr-split /
   hero-left / nav-plain) are no-ops, so the baseline site is unchanged.
   ========================================================================= */

/* Density — visible size/spacing difference between sites (guarded above mobile) */
@media (min-width: 561px) {
  body.d-compact { font-size: 16px; }
  body.d-spacious { font-size: 18px; }
}
.d-compact .section { padding: 56px 0; }
.d-compact table.cmp { font-size: .8rem; }
.d-compact table.cmp thead th, .d-compact table.cmp tbody td { padding: 9px 8px; }
.d-compact .hero { padding: 60px 0 32px; }
.d-spacious .section { padding: 92px 0; }
.d-spacious .hero { padding: 92px 0 48px; }
.d-spacious .lead { font-size: 1.2rem; }
.d-spacious table.cmp tbody td { padding: 15px 10px; }
.d-spacious .card { padding: 26px; }

/* Card treatment */
.cards-outline .card, .cards-outline .scorecard, .cards-outline .table-scroll,
.cards-outline .rank-card, .cards-outline .callout { box-shadow: none; border-width: 1.5px; }
.cards-flat .card, .cards-flat .scorecard { box-shadow: none; border: none; background: var(--surface-2); }
.cards-flat .table-scroll { box-shadow: none; }
.cards-flat .card .ic { background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* Header layout */
.hdr-center .nav { margin-left: auto; margin-right: auto; }

/* Hero alignment */
.hero-center .hero .wrap { text-align: center; }
.hero-center .hero .lead { margin-inline: auto; }
.hero-center .hero-cta { justify-content: center; }

/* Hero variant: split (text + #1 pick card) */
.hero-split { display: grid; grid-template-columns: 1.4fr .9fr; gap: 44px; align-items: center; }
.toppick-card { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cards-flat .toppick-card { box-shadow: none; }
.cards-outline .toppick-card { box-shadow: none; border-width: 1.5px; }
.tp-flag { position: absolute; top: 14px; right: 14px; font-size: .66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 3px 9px; border-radius: 999px; }
.tp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tp-head img { height: 40px; width: auto; }
.tp-name { font-weight: 750; font-size: 1.1rem; color: var(--ink); }
.tp-score { font-weight: 800; font-size: 1.6rem; color: var(--accent-strong); line-height: 1; }
.tp-score small { font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.tp-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.tp-facts li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; font-size: .92rem; }
.tp-facts li:last-child { border-bottom: none; padding-bottom: 0; }
.tp-facts span { color: var(--ink-3); }
.tp-facts b { color: var(--ink); font-weight: 650; text-align: right; }
.tp-cta { width: 100%; justify-content: center; }

/* Hero variant: panel (stat strip under the CTAs) */
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 30px; }
.hero-center .hero-stats { justify-content: center; }
.hstat { display: flex; flex-direction: column; }
.hstat b { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.hstat span { color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 5px; }

/* Nav accent — the accent colour is now visible in the tabs, not just on buttons.
   plain: accent on hover · pills: accent-tinted chips · accent: accent text at rest */
.nav a { transition: color .15s ease, background .15s ease; }
.nav a:hover { color: var(--accent-strong); }
.nav-pills .nav { gap: 8px; }
.nav-pills .nav a { padding: 7px 14px; border-radius: 999px; font-weight: 600;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.nav-pills .nav a:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-strong); }
.nav-accent .nav a { color: var(--accent-strong); font-weight: 600; }
.nav-accent .nav a:hover { color: var(--accent); }

/* Table style variants — the table is the dominant block, so it differs per site */
table.cmp.tbl-striped thead th { background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 32%, var(--line)); }
table.cmp.tbl-striped tbody td { border-bottom: none; }
table.cmp.tbl-striped tbody tr:nth-child(even) { background: var(--surface-2); }
table.cmp.tbl-striped tbody tr.is-top { background: color-mix(in srgb, var(--accent) 12%, transparent); }
table.cmp.tbl-divided th, table.cmp.tbl-divided td { border-right: 1px solid var(--line); }
table.cmp.tbl-divided th:last-child, table.cmp.tbl-divided td:last-child { border-right: none; }
table.cmp.tbl-divided thead th { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent-strong); }

/* Stats (scorecards) style variants */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-b { padding: 22px 24px; border-left: 1px solid var(--line); }
.stat-b:first-child { border-left: none; }
.sb-big { font-size: 2.1rem; font-weight: 800; color: var(--accent-strong); line-height: 1; }
.sb-of { font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.sb-small { color: var(--ink-2); font-size: .9rem; margin-top: 8px; }
.stat-ledger { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-l { flex: 1 1 180px; display: flex; align-items: baseline; gap: 10px; background: var(--surface-2);
  border-radius: var(--radius-sm); padding: 14px 16px; }
.sl-big { font-size: 1.5rem; font-weight: 800; color: var(--accent-strong); line-height: 1; white-space: nowrap; }
.sl-of { font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.sl-small { color: var(--ink-2); font-size: .85rem; }

/* Why Dexsport block (sponsored deep-dive on the #1 pick, per-site angle) */
.why-reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.why-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cards-outline .why-card { box-shadow: none; border-width: 1.5px; }
.cards-flat .why-card { box-shadow: none; border: none; background: var(--surface-2); }
.why-ic { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.why-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.why-card p { margin: 0; font-size: .93rem; }
.why-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.shot { margin: 0; }
.shot-frame { position: relative; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 28px 10px 10px; overflow: hidden; }
.shot-frame .dot { position: absolute; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot-frame .dot:nth-child(1) { left: 12px; }
.shot-frame .dot:nth-child(2) { left: 28px; }
.shot-frame .dot:nth-child(3) { left: 44px; }
.shot-frame img { display: block; width: 100%; max-height: 360px; object-fit: cover; object-position: top;
  border-radius: 6px; border: 1px solid var(--line); }
.shot figcaption { color: var(--ink-3); font-size: .85rem; margin-top: 10px; text-align: center; }

/* Live market strip (news site) — a row of price/sentiment tiles from the API */
.market-strip-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.market-strip { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; padding: 14px 0; }
.ms-live { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-2); margin-right: 4px; }
.ms-tile { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.ms-label { color: var(--ink-3); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ms-val { color: var(--ink); font-weight: 750; font-size: .95rem; }
.ms-sub { font-size: .78rem; font-weight: 600; }
.ms-up { color: #0a7d4d; }
.ms-down { color: #b4232a; }
.ms-watch { color: #9a6400; }
.ms-neutral { color: var(--ink-3); }
.ms-updated { color: var(--ink-3); font-size: .72rem; margin-left: auto; }

/* Feature widget — the dominant block on non-table sites. Shared head. */
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.feat-head h2 { margin: 0; }
.feat-note { color: var(--ink-3); font-size: .92rem; max-width: 42ch; margin: 0; }
.feat-disclaimer { color: var(--ink-3); font-size: .82rem; margin-top: 20px; }

/* News feed variant (list of editorial cards) */
.newsfeed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.news-item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.cards-outline .news-item { box-shadow: none; border-width: 1.5px; }
.cards-flat .news-item { box-shadow: none; border: none; background: var(--surface-2); }
.news-item.news-lead { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 13%, transparent); padding: 3px 9px; border-radius: 999px; }
.news-meta time { color: var(--ink-3); font-size: .8rem; }
.news-item h3 { margin: 0 0 8px; font-size: 1.12rem; }
.news-lead h3 { font-size: 1.5rem; }
.news-item p { margin: 0 0 16px; font-size: .95rem; color: var(--ink-2); }
.news-foot { margin-top: auto; }
.news-src { color: var(--ink-3); font-size: .8rem; font-weight: 600; }

/* News hero — the freshest post featured, with a side list of more headlines */
.news-hero { padding: 56px 0 44px; }
.nh-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 48px; align-items: start; }
.nh-lead .news-meta { margin: 0 0 12px; }
.nh-lead h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0 0 .35em; }
.nh-lead h1 a { color: inherit; text-decoration: none; }
.nh-lead h1 a:hover { color: var(--accent-strong); }
.nh-lead .lead { max-width: 56ch; }
.nh-side { border-left: 1px solid var(--line); padding-left: 28px; }
.nh-side-h { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--ink-3); margin: 0 0 14px; }
.nh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nh-list li { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.nh-list li:last-child { border-bottom: none; padding-bottom: 0; }
.nh-list a { display: grid; gap: 5px; text-decoration: none; }
.nh-list .nh-list-t { color: var(--ink); font-weight: 650; font-size: .98rem; line-height: 1.35; }
.nh-list a:hover .nh-list-t { color: var(--accent-strong); }
.nh-list time { color: var(--ink-3); font-size: .78rem; }

/* News feed card links */
.news-item h3 a { color: inherit; text-decoration: none; }
.news-item h3 a:hover { color: var(--accent-strong); }
.news-more { color: var(--accent-strong); font-size: .85rem; font-weight: 650; text-decoration: none; }
.news-more:hover { text-decoration: underline; }

/* Pager */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.pg { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: .95rem; }
.pg:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent-strong); }
.pg-cur { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pg-step { font-weight: 600; }

/* Article (post) page */
.article-body { max-width: 72ch; }
.article-body .news-meta { margin: 0 0 10px; }
.article-body h1 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.article-body > p { font-size: 1.05rem; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 36px 0 8px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: radial-gradient(900px 240px at 90% -40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent), var(--surface); }
.ac-eyebrow { color: var(--accent-strong); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 700; margin: 0 0 6px; }
.ac-line { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 46ch; }
.article-cta .btn { flex: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 0; }
.pn { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; }
.pn:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pn span { color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.pn b { color: var(--ink); font-weight: 650; font-size: .95rem; line-height: 1.35; }
.pn-newer { text-align: right; }
.back-to-news { margin-top: 28px; }
.back-to-news a { color: var(--accent-strong); font-weight: 650; text-decoration: none; }

/* Signals widget (single-page): a grid of market/value signal cards.
   Direction colours are semantic (green up / red down / amber watch), independent
   of the site accent. Illustrative only — a disclaimer sits under the grid. */
.sig-updated { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .85rem; margin: -10px 0 20px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px color-mix(in srgb, #16a34a 22%, transparent); }
.signalfeed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.signal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.cards-outline .signal-card { box-shadow: none; border-width: 1.5px; }
.cards-flat .signal-card { box-shadow: none; border: none; background: var(--surface-2); }
.sig-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sig-type { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 13%, transparent); padding: 3px 9px; border-radius: 999px; }
.sig-top time { color: var(--ink-3); font-size: .78rem; }
.sig-market { font-weight: 750; font-size: 1.1rem; color: var(--ink); margin-bottom: 10px; }
.sig-dir { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; margin-bottom: 14px; }
.sig-bullish { color: #04512f; background: #bde9ce; }
.sig-bearish { color: #7d2727; background: #f0c4c4; }
.sig-watch   { color: #6f4400; background: #f3dca2; }
.sig-neutral { color: var(--ink-2); background: var(--surface-2); }
.sig-conf { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sc-label { color: var(--ink-3); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.conf-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.conf-fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.sc-val { color: var(--ink); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.sig-note { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* Token hero — copy on the left, the live token panel on the right (fills the hero) */
.token-hero { padding: 52px 0 44px; }
.th-grid { display: grid; grid-template-columns: .95fr 1.15fr; gap: 48px; align-items: center; }
.th-copy h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.th-copy .lead { max-width: 46ch; }
.th-panel .tokenwrap { margin: 0; }
/* In the narrower hero column, show two metrics per row for breathing room. */
.th-panel .token-metrics { grid-template-columns: repeat(2, 1fr); }
.th-panel .tk-metric:nth-child(3n) { border-right: 1px solid var(--line); }
.th-panel .tk-metric:nth-child(2n) { border-right: none; }
.th-panel .tk-px { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.th-panel .tk-utility { display: none; }

/* Token badge shows the real operator logo rather than a letter */
.tk-badge-img { background: #ffffff; border: 1px solid var(--line); overflow: hidden; }
.tk-badge-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* Token tracker panel (single-page): live price + metrics grid + supply bar + utility */
.tokenwrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cards-outline .tokenwrap { box-shadow: none; border-width: 1.5px; }
.cards-flat .tokenwrap { box-shadow: none; }
.token-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 28px; background: radial-gradient(900px 260px at 92% -60%, color-mix(in srgb, var(--accent) 22%, transparent), transparent), var(--surface-2); border-bottom: 1px solid var(--line); }
.tk-id { display: flex; align-items: center; gap: 14px; }
.tk-badge { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.4rem; }
.tk-name { font-weight: 750; font-size: 1.15rem; color: var(--ink); }
.tk-sym { color: var(--ink-3); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.tk-price { text-align: right; }
.tk-px { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--ink); line-height: 1; }
.tk-chg { font-weight: 700; font-size: .95rem; margin-top: 6px; }
.tk-chg span { color: var(--ink-3); font-weight: 600; font-size: .78rem; }
.tk-up { color: #0a7d4d; }
.tk-down { color: #b4232a; }
.token-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.tk-metric { padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tk-metric:nth-child(3n) { border-right: none; }
.tkm-label { display: block; color: var(--ink-3); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.tkm-val { color: var(--ink); font-weight: 750; font-size: 1.15rem; }
.tk-supply { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.tks-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: .9rem; color: var(--ink-2); }
.tks-head b { color: var(--ink); font-weight: 700; }
.tks-bar { height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.tks-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); border-radius: 6px; }
.tk-utility { padding: 24px 28px; }
.tk-utility h3 { margin: 0 0 14px; font-size: 1.05rem; }
.tk-utility ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk-utility li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.tk-utility li svg { flex: none; width: 18px; height: 18px; color: var(--accent-strong); margin-top: 2px; }

/* Sponsor block — a standalone #1 pick card beside its copy (Dexsport, sponsored) */
.sponsor-row { display: grid; grid-template-columns: 1.2fr .9fr; gap: 44px; align-items: center; }
.sponsor-copy h2 { margin-top: 0; }
.tp-sponsored { text-align: center; color: var(--ink-3); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin: 12px 0 0; }

/* Sticky partner CTA, mobile only (safe-area aware; sits under the open drawer) */
.mobile-cta { display: none; }

/* Mobile drawer */
.drawer { display: none; }
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .scorecards { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-b:nth-child(2) { border-left: none; }
  .why-reasons { grid-template-columns: 1fr; }
  .why-shots { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .newsfeed { grid-template-columns: 1fr; }
  .sponsor-row { grid-template-columns: 1fr; gap: 28px; }
  .signalfeed { grid-template-columns: 1fr; }
  .token-metrics { grid-template-columns: repeat(2, 1fr); }
  .tk-metric:nth-child(3n) { border-right: 1px solid var(--line); }
  .tk-metric:nth-child(2n) { border-right: none; }
  .th-grid { grid-template-columns: 1fr; gap: 28px; }
  .nh-grid { grid-template-columns: 1fr; gap: 30px; }
  .nh-side { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .post-nav { grid-template-columns: 1fr; }
  .pn-newer { text-align: left; }
  /* On small screens let the wide table scroll horizontally again */
  table.cmp { table-layout: auto; min-width: 860px; }
  .rank-card { grid-template-columns: 38px 1fr auto; grid-template-areas: "num brand right" "facts facts facts"; row-gap: 12px; }
  .rank-num { grid-area: num; } .rank-brand { grid-area: brand; } .rank-right { grid-area: right; } .rank-facts { grid-area: facts; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 38;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(140%) blur(10px);
    border-top: 1px solid var(--line); }
  .mobile-cta .btn { width: 100%; justify-content: center; }
  body { padding-bottom: 78px; }
  .drawer[data-open="true"] { display: block; position: fixed; inset: 66px 0 0; background: var(--bg); z-index: 39; padding: 20px; }
  .drawer a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
  .drawer .btn { margin-top: 18px; width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  /* Promo sits between two full-padding sections; keep its own padding tight so
     the banner is not wrapped in a double gap (the mobile .section rule above
     otherwise overrides .promo-sec by source order). */
  .promo-sec { padding: 4px 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}

/* --- scores widget (football / esports) --- */
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 22px}
.scores-standings{width:100%;border-collapse:collapse;font-size:14px;min-width:460px}
.scores-standings th{text-align:right;padding:9px 10px;color:var(--ink-3);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid var(--line)}
.scores-standings th:nth-child(1),.scores-standings th:nth-child(2){text-align:left}
.scores-standings td{padding:9px 10px;text-align:right;border-bottom:1px solid var(--line);color:var(--ink-2);font-variant-numeric:tabular-nums}
.scores-standings td.st-pos{color:var(--ink-3);width:2em}
.scores-standings td.st-team{text-align:left;color:var(--ink);font-weight:600}
.scores-standings td.st-team span{display:inline-flex;align-items:center;gap:9px}
.scores-standings td.st-team img{width:20px;height:20px;object-fit:contain;flex:none;margin-right:9px}
.scores-standings tbody tr:hover{background:var(--surface-2)}
.scores-cols{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.esport-lane{margin:0 0 26px}
.lane-h{font-size:18px;margin:0 0 12px;padding-bottom:7px;border-bottom:2px solid var(--accent);display:inline-block;color:var(--ink)}
.scores-h{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-3);margin:0 0 10px;font-weight:700}
.match-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.match{border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 12px;background:var(--surface)}
.m-meta{display:block;font-size:11.5px;color:var(--ink-3);margin-bottom:6px}
.m-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.m-team{display:flex;align-items:center;gap:7px;min-width:0;font-weight:600;color:var(--ink);font-size:14px}
.m-team.m-away{flex-direction:row-reverse;text-align:right}
.m-team img{width:18px;height:18px;object-fit:contain;flex:none}
.m-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-vs{font-size:11px;color:var(--ink-3);font-weight:600}
.m-score{font-weight:800;color:var(--accent-strong);font-variant-numeric:tabular-nums;white-space:nowrap}

/* --- odds widget (prediction markets) --- */
.odds-table{width:100%;border-collapse:collapse;font-size:14px;min-width:620px}
.odds-table th{text-align:left;padding:10px 12px;color:var(--ink-3);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid var(--line)}
.odds-table td{padding:11px 12px;border-bottom:1px solid var(--line);color:var(--ink-2);vertical-align:middle}
.odds-table tbody tr:hover{background:var(--surface-2)}
.od-q{color:var(--ink);font-weight:600;max-width:340px}
.od-lead,.od-chance,.od-vol,.od-ends{white-space:nowrap}
.od-vol,.od-ends{font-variant-numeric:tabular-nums}
.od-chance .conf-bar{display:inline-block;width:68px;vertical-align:middle;margin-right:8px}

/* On phones the 5-column odds table becomes one card per market: the question
   is the card title, every other cell a label:value row (no horizontal scroll). */
@media(max-width:560px){
  .odds-table{min-width:0;display:block;font-size:14px}
  .odds-table thead{display:none}
  .odds-table tbody,.odds-table tr,.odds-table td{display:block;width:auto}
  .odds-table tr{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 12px;background:var(--surface)}
  .odds-table tbody tr:hover{background:var(--surface)}
  .odds-table td{border:0;padding:5px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;white-space:normal}
  .odds-table td.od-q{display:block;max-width:none;color:var(--ink);font-size:15px;font-weight:700;padding:0 0 8px;margin:0 0 6px;border-bottom:1px solid var(--line)}
  .odds-table td::before{content:attr(data-label);color:var(--ink-3);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;flex:0 0 auto}
  .odds-table td.od-q::before{display:none}
  .od-lead,.od-chance,.od-vol,.od-ends{white-space:normal;text-align:right}
  .od-lead{color:var(--ink);font-weight:600}
  .od-chance .conf-bar{width:60px;margin-right:0}
}

@media(max-width:720px){.scores-cols{grid-template-columns:1fr;gap:18px}}

/* A single group (e.g. esports lane with only upcoming) spans the full width and
   lays its matches two-up, so teams sit close to "vs" instead of stretching apart. */
.scores-cols-1{grid-template-columns:1fr}
.scores-cols-1 .match-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start}
@media(max-width:700px){.scores-cols-1 .match-list{grid-template-columns:1fr}}
