/* Trethewey Stone base components. The supplied template skin follows below. */

:root {
  --ink: #1e293b;        /* slate-800 — headings, header bar */
  --ink-deep: #0f172a;   /* slate-900 — hero, footer */
  --body: #334155;       /* slate-700 — body text */
  --muted: #64748b;      /* slate-500 — bylines, captions */
  --line: #e2e8f0;       /* slate-200 — borders */
  --wash: #f1f5f9;       /* slate-100 — section tints, zebra rows */
  --paper: #ffffff;
  --cta: #f59e0b;        /* amber-500 — CTAs ONLY */
  --cta-dark: #d97706;   /* amber-600 — CTA hover */
  --good: #15803d;       /* green-700 — positive data points (pros, payout ticks) */
  --bad: #b91c1c;        /* red-700 — cons */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--ink); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 .4rem; }
h2 { font-size: 1.55rem; margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
h4 { font-size: 1.02rem; margin: 1.2rem 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--ink); }
img { max-width: 100%; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1rem; }

/* ---------- Header ---------- */
.site-header { background: var(--ink-deep); color: #e2e8f0; }
.site-header .wrap { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #f8fafc; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 6px; }
.site-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: #cbd5e1; text-decoration: none; font-size: .93rem; padding: .25rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom: 2px solid #94a3b8; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(148,163,184,.18), transparent 60%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: #e2e8f0;
  padding: 2.1rem 0 1.7rem;
}
.hero h1 { color: #f8fafc; }
.hero .lede { max-width: 720px; color: #cbd5e1; font-size: 1.05rem; margin-bottom: .6rem; }
.byline { color: var(--muted); font-size: .88rem; margin: .2rem 0 0; }
.hero .byline { color: #94a3b8; }
.byline a { color: inherit; }
.trust-strip { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .9rem; }
.trust-strip span {
  background: rgba(148,163,184,.14); border: 1px solid rgba(148,163,184,.35);
  color: #e2e8f0; font-size: .78rem; padding: .22rem .6rem; border-radius: 99px;
}

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .83rem; color: var(--muted); padding: .7rem 0 0; }
.crumbs a { color: var(--muted); }

/* ---------- CTA buttons (the ONLY amber on the page) ---------- */
.btn {
  display: inline-block; background: var(--cta); color: #1a1206; font-weight: 700;
  padding: .72rem 1.25rem; border-radius: 8px; text-decoration: none; text-align: center;
  font-size: .98rem; min-height: 44px; line-height: 1.3; border: 0; cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.btn:hover { background: var(--cta-dark); color: #fff; }
.btn-sm { padding: .55rem .9rem; font-size: .9rem; }
.review-link { display: block; font-size: .8rem; color: var(--muted); margin-top: .35rem; text-align: center; }

/* ---------- Comparison table (desktop) ---------- */
.toplist-block { margin: 1.4rem 0 2rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.toplist { border-collapse: collapse; width: 100%; min-width: 860px; font-size: .92rem; background: var(--paper); }
.toplist thead th {
  position: sticky; top: 0; background: var(--ink); color: #e2e8f0; text-align: left;
  padding: .65rem .7rem; font-weight: 600; font-size: .82rem; letter-spacing: .03em; white-space: nowrap; z-index: 2;
}
.toplist td { padding: .7rem .7rem; border-top: 1px solid var(--line); vertical-align: middle; }
.toplist tbody tr:nth-child(even) { background: var(--wash); }
.toplist tbody tr:hover { background: #e8eef5; }
.toplist td.num { text-align: right; white-space: nowrap; }
.toplist td.ctacell { text-align: center; min-width: 150px; }

.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
  font-weight: 700; font-size: .85rem; font-family: Georgia, serif;
}
tr.top-pick { background: #fff8ec !important; box-shadow: inset 3px 0 0 var(--ink); }
.top-pick-flag {
  display: inline-block; background: var(--ink); color: #fff; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 4px; margin-left: .4rem;
}

.op-ident { display: flex; align-items: center; gap: .6rem; min-width: 190px; }
.logo-tile {
  width: 76px; height: 42px; flex: 0 0 76px; background: #fff; border: 1px solid #e8dbcf; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; padding: 4px;
}
.logo-tile img { max-width: 68px; max-height: 34px; width: auto; height: auto; }
.logo-tile img[src$="/metaspins/logo.svg"] { filter: brightness(0); }
.op-name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.op-flag { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }

.score { font-weight: 700; color: var(--ink); white-space: nowrap; }
.score a { color: var(--muted); font-weight: 400; font-size: .78rem; text-decoration: underline; }

/* ---------- Mobile card rows ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .table-scroll { border: 0; overflow: visible; }
  table.toplist, .toplist tbody { display: block; min-width: 0; }
  .toplist thead { display: none; }
  .toplist tbody tr {
    display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .7rem; align-items: center;
    border: 1px solid var(--line); border-radius: 10px; padding: .75rem; margin-bottom: .75rem;
  }
  .toplist tbody tr:nth-child(even) { background: var(--wash); }
  .toplist td { display: block; border: 0; padding: 0; }
  .toplist td[data-col]::before { content: attr(data-col) ": "; font-size: .74rem; color: var(--muted); }
  .toplist td.cell-rank { grid-column: 1; grid-row: 1; }
  .toplist td.cell-op { grid-column: 2 / 4; grid-row: 1; }
  .toplist td.cell-main { grid-column: 1 / 4; }
  .toplist td.cell-extra { display: none; }
  tr.cards-open td.cell-extra { display: block; grid-column: 1 / 4; }
  .toplist td.ctacell { grid-column: 1 / 4; }
  .toplist td.ctacell .btn { display: block; }
  .more-toggle { grid-column: 1 / 4; background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; text-align: left; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: rgba(15,23,42,.97); padding: .55rem .9rem; gap: .8rem; align-items: center;
  }
  .sticky-cta .s-label { color: #e2e8f0; font-size: .82rem; line-height: 1.25; }
  .sticky-cta .btn { margin-left: auto; white-space: nowrap; }
  body { padding-bottom: 64px; }
}

/* ---------- Why-trust strip ---------- */
.why-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem;
  background: var(--wash); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem 1.1rem; margin: 1.3rem 0; font-size: .9rem;
}
.why-trust strong { display: block; color: var(--ink); margin-bottom: .15rem; }

/* ---------- Mini reviews ---------- */
.mini-review { border-top: 1px solid var(--line); padding-top: .6rem; margin-top: 2.4rem; }
.review-head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.review-head .logo-tile { width: 110px; height: 58px; flex-basis: 110px; }
.review-head .logo-tile img { max-width: 96px; max-height: 44px; }
.review-head .btn { margin-left: auto; }
.verdict-line { font-size: .92rem; color: var(--muted); margin: .3rem 0 .8rem; }

table.spec { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 1rem 0; }
.spec th, .spec td { text-align: left; padding: .5rem .65rem; border: 1px solid var(--line); }
.spec th { background: var(--wash); color: var(--ink); width: 42%; font-weight: 600; }
.spec tr:nth-child(even) td { background: #fafcfe; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.pros, .cons { border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; font-size: .92rem; }
.pros h4 { color: var(--good); margin-top: 0; } .cons h4 { color: var(--bad); margin-top: 0; }
.pros ul, .cons ul { margin: 0; padding-left: 1.1rem; }
.pros li, .cons li { margin: .3rem 0; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* ---------- Bonus codes ---------- */
.copy-code {
  background: var(--wash); border: 1px dashed var(--muted); border-radius: 5px;
  padding: .05rem .45rem; cursor: pointer; font-family: ui-monospace, Menlo, monospace;
  font-size: .88em; color: var(--ink); white-space: nowrap;
}
.copy-code:hover { border-style: solid; }

/* ---------- Content helpers ---------- */
.callout { background: var(--wash); border-left: 4px solid var(--ink); border-radius: 0 8px 8px 0; padding: .85rem 1rem; margin: 1.2rem 0; font-size: .95rem; }
.answer-box { background: var(--wash); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.answer-box p:last-child { margin-bottom: 0; }

table.data { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 1rem 0; }
.data th, .data td { text-align: left; padding: .5rem .65rem; border: 1px solid var(--line); }
.data thead th { background: var(--ink); color: #e2e8f0; font-weight: 600; }
.data tbody tr:nth-child(even) { background: var(--wash); }
.data td.num { text-align: right; }
@media (max-width: 760px) { .data-scroll { overflow-x: auto; } }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 8px; margin: .55rem 0; padding: 0 1rem; }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; padding: .75rem 0; }
.faq details[open] { background: #fafcfe; }
.faq details p { margin: 0 0 .8rem; font-size: .95rem; }

/* ---------- Category cards (homepage) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin: 1.4rem 0; }
.cat-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.2rem 1.4rem; background: var(--paper); display: flex; flex-direction: column; }
.cat-card h3 { margin-top: .2rem; }
.cat-card p { font-size: .93rem; flex: 1; }
.cat-kicker { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* ---------- Author / EEAT ---------- */
.author-card { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.5rem 0; background: var(--wash); }
.author-card .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 1.5rem; flex: 0 0 64px; }
.author-card p { font-size: .9rem; margin: .2rem 0 0; }

/* ---------- Responsible gambling block ---------- */
.rg-block { background: var(--ink-deep); color: #cbd5e1; border-radius: 10px; padding: 1.1rem 1.3rem; margin: 2.2rem 0 1rem; font-size: .9rem; }
.rg-block strong { color: #f8fafc; }
.rg-block a { color: #e2e8f0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #94a3b8; margin-top: 3rem; padding: 2rem 0 2.4rem; font-size: .88rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; }
.footer-cols h4 { color: #e2e8f0; font-size: .95rem; margin: 0 0 .5rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: .3rem 0; }
.footer-legal { border-top: 1px solid #1e293b; margin-top: 1.6rem; padding-top: 1.1rem; font-size: .8rem; }

/* ---------- Main column ---------- */
main.wrap { padding-top: .4rem; padding-bottom: 1rem; }
.section-note { font-size: .85rem; color: var(--muted); }
ul.tick { list-style: none; padding-left: 0; }
ul.tick li { padding-left: 1.4rem; position: relative; margin: .4rem 0; }
ul.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }

/* Supplied template adapted for Trethewey Stone's existing page components. */
:root {
  --ink: #1c2527;
  --ink-deep: #083f33;
  --body: #344341;
  --muted: #5b6a6e;
  --line: #e4e0d5;
  --wash: #eaf2ed;
  --paper: #f6f4ee;
  --card: #fff;
  --brand: #0c6b57;
  --brand-soft: #e3efe9;
  --gold: #d9a62e;
  --cta: #c74621;
  --cta-dark: #a93619;
  --foot-muted: #b9cdc4;
  --f-display: "Bebas Neue", Impact, sans-serif;
  --f-head: "Wix Madefor Display", Arial, sans-serif;
  --f-text: "Wix Madefor Text", Arial, sans-serif;
}
body { font: 16.5px/1.65 var(--f-text); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin: 2.1em 0 .65em; }
h2::after { content: ""; display: block; width: 54px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: 10px; }
h3 { font-size: 1.2rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; padding-left: 22px; padding-right: 22px; }
main.wrap { padding-top: 26px; padding-bottom: 42px; }
main.wrap > h2:first-child { margin-top: .4em; }
main.wrap > h1:first-child { font: 400 clamp(2rem, 5vw, 3.3rem)/1.06 var(--f-display); margin: .1em 0 .45em; }
main.wrap > h1:first-child::after { content: ""; display: block; width: 54px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--gold); }

/* R18 strip and template navigation. */
.rg-strip { background: var(--ink-deep); color: #cfe3da; text-align: center; padding: 7px 14px; font-size: .76rem; }
.rg-strip a { color: #fff; text-decoration: underline; }
.rg-strip .age { display: inline-block; background: rgba(255,255,255,.16); color: #fff; border-radius: 4px; padding: 0 7px; margin-right: 8px; font-weight: 700; }
.rg-strip .rg-short { display: none; }
.tkm-nav { position: sticky; top: 0; z-index: 60; background: rgba(246,244,238,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tkm-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.tkm-logo { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none !important; white-space: nowrap; }
.tkm-logo-mark { font: 400 1.7rem/1 var(--f-display); letter-spacing: .04em; color: var(--ink-deep); }
.tkm-logo-mark b { color: var(--gold); }
.tkm-logo-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #6e807e; }
.tkm-nav-links { display: flex; align-items: center; gap: 4px; }
.tkm-navitem { position: relative; }
.tkm-navtop { display: inline-block; padding: 9px 12px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.tkm-navtop:hover, .tkm-navtop[aria-current="page"], .tkm-navtop[data-section="active"] { background: var(--brand-soft); color: var(--ink-deep); text-decoration: none; }
.tkm-caret { color: #7c918b; font-size: .7em; }
.tkm-drop-panel { position: absolute; top: 100%; left: 0; min-width: 230px; z-index: 70; display: none; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(8,63,51,.14); }
.tkm-navitem:hover .tkm-drop-panel, .tkm-navitem:focus-within .tkm-drop-panel { display: block; }
.tkm-drop-panel a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.tkm-drop-panel a:hover { background: var(--brand-soft); text-decoration: none; }
.tkm-burger { display: none; position: relative; }
.tkm-burger > summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.tkm-burger summary::-webkit-details-marker { display: none; }
.tkm-burger-b, .tkm-burger-b::before, .tkm-burger-b::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink-deep); border-radius: 2px; position: relative; }
.tkm-burger-b::before { position: absolute; top: -6px; }
.tkm-burger-b::after { position: absolute; top: 6px; }
.tkm-burger-p { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; width: 270px; max-height: 74vh; overflow: auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(8,63,51,.16); }
.tkm-burger-p a { display: block; padding: 9px 11px; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.tkm-burger-p a:hover, .tkm-bsub[open] summary { background: var(--brand-soft); text-decoration: none; }
.tkm-bsub summary { list-style: none; display: block; padding: 9px 11px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.tkm-bsub summary::after { content: "▾"; float: right; color: #7c918b; }
.tkm-bsub[open] summary::after { content: "▴"; }
.tkm-bsub a { padding-left: 22px; color: var(--muted); }

/* Emerald hero and compact mobile comparison entry. */
.hero { position: relative; overflow: hidden; color: #e7f2ec; padding: 0; background: radial-gradient(900px 420px at 85% -10%,rgba(217,166,46,.22),transparent 60%),radial-gradient(700px 500px at -10% 110%,rgba(15,174,132,.25),transparent 55%),linear-gradient(135deg,var(--ink-deep) 0%,#0a5241 55%,var(--brand) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg,transparent 0 90px,rgba(255,255,255,.035) 90px 92px); }
.hero > .wrap { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 45px; }
.hero h1 { font: 400 clamp(2.1rem, 5.2vw, 3.6rem)/1.04 var(--f-display); letter-spacing: .015em; color: #f2efe6; margin: 0 0 15px; }
.hero .lede { color: #dcebe2; font-size: 1.04rem; max-width: 740px; }
.hero .byline { color: #cfe3da; font-size: .84rem; margin: 0 0 13px; }
.hero .byline a { color: #fff; text-decoration: underline; }
.hero .trust-strip { gap: 9px; margin: 16px 0 0; }
.hero .trust-strip span { font-size: .76rem; padding: 5px 13px; color: #eafff6; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 42px; align-items: center; }
.hero-pick { background: #fff; color: var(--ink); border-radius: 20px; padding: 23px; text-align: center; box-shadow: 0 24px 60px rgba(4,30,24,.42); }
.hero-pick-label { margin: 0 0 10px; color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-pick-name { font: 800 1.2rem/1.2 var(--f-head); margin: 0 0 8px; }
.hero-pick p:not(.hero-pick-label):not(.hero-pick-name) { font-size: .9rem; }
.hero-pick .btn { display: block; }

/* Existing tables and cards receive the template's surfaces. */
.btn { color: #fff; font-family: var(--f-text); border-radius: 10px; box-shadow: 0 3px 0 rgba(96,29,10,.18); }
.btn:hover { color: #fff; }
.table-scroll { border-color: var(--line); border-radius: 14px; background: #fff; }
.more-toggle { display: none; }
table.toplist { background: #fff; }
.toplist thead th, .data thead th { background: var(--ink-deep); color: #fff; }
.toplist tbody tr:nth-child(even), .data tbody tr:nth-child(even) { background: #fbfaf6; }
.toplist tbody tr:hover { background: var(--brand-soft); }
.rank-badge, .top-pick-flag { background: var(--brand); font-family: var(--f-head); }
tr.top-pick { background: #fff !important; box-shadow: inset 3px 0 0 var(--gold); }
.cat-card, .faq details, .pros, .cons { background: #fff; border-color: var(--line); }
.cat-card { border-radius: 16px; box-shadow: 0 2px 12px rgba(28,37,39,.05); }
.cat-card h3 { margin-top: .2rem; }
.callout { border-left-color: var(--brand); }
.answer-box, .why-trust, .author-card { background: #fff; }
.rg-block { background: var(--ink-deep); color: #d6e8de; border-radius: 14px; }
.rg-block strong { color: #fff; }
.rg-block a { color: #fff; text-decoration: underline; }
.crumbs { padding-top: 10px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Five-column template footer. */
.tkm-foot { margin-top: 64px; padding: 44px 0 26px; background: var(--ink-deep); color: #e7f2ec; }
.tkm-foot-g { display: grid; grid-template-columns: 1.55fr repeat(4,minmax(0,1fr)); gap: 24px; }
.tkm-foot h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.tkm-foot-g a { display: block; color: #d6e8de; padding: 4px 0; font-size: .9rem; }
.tkm-foot-g > div:first-child p { color: var(--foot-muted); font-size: .88rem; }
.tkm-foot-plate { font: 400 1.6rem/1 var(--f-display); color: #fff; margin-bottom: 10px; }
.tkm-foot-plate b { color: var(--gold); }
.tkm-age { display: inline-block; width: 32px; height: 32px; line-height: 28px; text-align: center; vertical-align: middle; margin-right: 8px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .76rem; font-weight: 700; }
.rg-footer { margin-top: 26px; padding: 15px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #cfe3da; text-align: center; font-size: .84rem; }
.rg-footer a { color: #fff; text-decoration: underline; }
.footer-copyright { color: var(--foot-muted); font-size: .78rem; margin: 20px 0 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 15px; }

@media (max-width: 1050px) {
  .tkm-foot-g { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tkm-foot-g > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .tkm-nav-links { display: none; }
  .tkm-burger { display: block; }
}
@media (max-width: 860px) {
  .rg-strip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .7rem; padding: 6px 10px; }
  .rg-strip .rg-full { display: none; }
  .rg-strip .rg-short { display: inline; }
  .hero > .wrap { padding-top: 19px; padding-bottom: 18px; }
  .hero-grid { display: block; }
  .hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.3rem); margin-bottom: 8px; }
  .hero .lede, .hero .trust-strip, .hero-pick { display: none; }
  .hero .byline { margin: 0; font-size: .76rem; }
  .crumbs { display: none; }
  main.wrap { padding-top: 14px; }
  main.wrap > h2:first-child { margin-top: 0; }
}
@media (max-width: 760px) {
  .more-toggle { display: block; }
  .table-scroll { border: 0; background: transparent; }
  main.wrap > h2:first-child { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .55rem; }
  main.wrap > h2:first-child::after { width: 42px; height: 3px; margin-top: 6px; }
  .toplist tbody tr { background: #fff !important; box-shadow: 0 2px 10px rgba(28,37,39,.05); }
  .toplist tbody tr.top-pick { border-color: var(--gold); box-shadow: 0 6px 20px rgba(217,166,46,.17); }
  .toplist td.cell-rank { grid-column: 1 / 4; grid-row: 1; }
  .toplist td.cell-op { grid-column: 1 / 4; grid-row: 2; min-width: 0; }
  .toplist .op-ident { min-width: 0; }
  .toplist .op-name { min-width: 0; overflow-wrap: anywhere; }
  .sticky-cta { background: rgba(8,63,51,.97); }
  .sticky-cta .s-label { color: #e7f2ec; }
  .tkm-foot-g { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tkm-foot-g > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .tkm-nav-in { padding-top: 10px; padding-bottom: 10px; }
  .tkm-logo-mark { font-size: 1.45rem; }
  .tkm-logo-tag { font-size: .57rem; letter-spacing: .1em; }
  .hero h1 { font-size: 1.65rem; }
  .tkm-foot-g { grid-template-columns: 1fr; }
  .tkm-foot-g > div:first-child { grid-column: auto; }
}

/* Desktop affiliate rows follow the four-part card layout. */
@media (min-width: 761px) {
  .toplist-block .table-scroll { overflow: visible; border: 0; background: transparent; }
  table.toplist.mobile-affiliate, .toplist.mobile-affiliate tbody {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
  }
  .toplist.mobile-affiliate thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .toplist.mobile-affiliate tbody tr {
    display: grid;
    grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(180px, .9fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 7px;
    min-height: 154px;
    margin-bottom: 14px;
    padding: 18px 20px;
    background: #fff !important;
    border: 2px solid #e8dbcf;
    border-radius: 18px;
    box-shadow: none;
  }
  .toplist.mobile-affiliate tbody tr:nth-child(even) { background: #fbf2eb !important; }
  .toplist.mobile-affiliate tbody tr.top-pick {
    background: #fffaf1 !important;
    border-color: #daa521;
    box-shadow: 0 6px 20px rgba(217,166,46,.13);
  }
  .toplist.mobile-affiliate tbody tr:not(.has-rank) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.55fr) minmax(180px, .9fr);
  }
  .toplist.mobile-affiliate td { display: block; min-width: 0; padding: 0; border: 0; background: transparent; }
  .toplist.mobile-affiliate td.cell-rank { grid-column: 1; grid-row: 1; text-align: center; }
  .toplist.mobile-affiliate td.cell-rank[data-col="Category"] { display: none; }
  .toplist.mobile-affiliate .rank-badge {
    width: 44px;
    height: 44px;
    background: #4b122a;
    font: 800 1.25rem/1 var(--f-head);
  }
  .toplist.mobile-affiliate tr.top-pick .rank-badge { background: #e1ad29; color: #251b08; }
  .toplist.mobile-affiliate td.cell-op { grid-column: 2; grid-row: 1; }
  .toplist.mobile-affiliate tr:not(.has-rank) td.cell-op { grid-column: 1; }
  .toplist.mobile-affiliate .op-ident { min-width: 0; gap: 12px; }
  .toplist.mobile-affiliate .logo-tile {
    width: 96px;
    height: 70px;
    flex: 0 0 96px;
    border-radius: 12px;
  }
  .toplist.mobile-affiliate .logo-tile img { max-width: 82px; max-height: 50px; }
  .toplist.mobile-affiliate .op-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    color: #4b122a;
    font: 800 1.2rem/1.15 var(--f-head);
    overflow-wrap: anywhere;
  }
  .toplist.mobile-affiliate .top-pick-flag {
    order: -1;
    align-self: flex-start;
    margin: 0 0 5px;
    padding: 5px 10px;
    background: #e1ad29;
    color: #251b08;
    border-radius: 7px;
    font: 700 .7rem/1.2 var(--f-text);
  }
  .toplist.mobile-affiliate .desktop-category {
    order: -2;
    margin-bottom: 3px;
    color: #986e28;
    font: 700 .7rem/1.2 var(--f-text);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .toplist.mobile-affiliate .desktop-rating {
    order: 1;
    margin-top: 5px;
    color: #4b122a;
    font: 700 .8rem/1.3 var(--f-text);
  }
  .toplist.mobile-affiliate tr.has-score .op-flag { display: none; }
  .toplist.mobile-affiliate td.mobile-offer {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    min-height: 98px;
    padding: 16px 18px;
    background: linear-gradient(115deg,#fff3c6,#f5dc7a);
    border: 2px solid #daa521;
    border-left-width: 5px;
    border-radius: 14px;
    color: #42182c;
    font: 800 clamp(1rem, 1.7vw, 1.26rem)/1.25 var(--f-head);
    white-space: normal;
  }
  .toplist.mobile-affiliate tr:not(.has-rank) td.mobile-offer { grid-column: 2; }
  .toplist.mobile-affiliate td.mobile-key-metric {
    grid-column: 3;
    grid-row: 2;
    color: var(--muted);
    font: 600 .76rem/1.3 var(--f-text);
    white-space: normal;
  }
  .toplist.mobile-affiliate tr:not(.has-rank) td.mobile-key-metric { grid-column: 2; }
  .toplist.mobile-affiliate td.mobile-key-metric::before { content: attr(data-col) ": "; font-weight: 700; }
  .toplist.mobile-affiliate td.cell-extra:not(.mobile-offer), .toplist.mobile-affiliate td.mobile-score { display: none; }
  .toplist.mobile-affiliate tr.cards-open td.cell-extra:not(.mobile-offer):not(.mobile-score) {
    display: block;
    grid-column: 2 / -1;
    padding: 8px 12px;
    border-top: 1px solid #e8dbcf;
    font-size: .82rem;
    text-align: left;
  }
  .toplist.mobile-affiliate tr:not(.has-rank).cards-open td.cell-extra:not(.mobile-offer):not(.mobile-score) { grid-column: 1 / -1; }
  .toplist.mobile-affiliate tr.cards-open td.cell-extra:not(.mobile-offer):not(.mobile-score)::before {
    content: attr(data-col) ": ";
    font-weight: 700;
  }
  .toplist.mobile-affiliate td.ctacell {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    text-align: center;
  }
  .toplist.mobile-affiliate tr:not(.has-rank) td.ctacell { grid-column: 3; }
  .toplist.mobile-affiliate td.ctacell .btn {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: .83rem .8rem;
    background: #ec4b27;
    font: 800 1rem/1.25 var(--f-head);
  }
  .toplist.mobile-affiliate td.ctacell .btn:hover { background: #c63d1f; }
  .toplist.mobile-affiliate .mobile-terms {
    order: 1;
    display: block;
    margin: 8px 0 0;
    color: #766e69;
    font-size: .7rem;
    line-height: 1.35;
  }
  .toplist.mobile-affiliate .mobile-terms a { color: #7a2440; text-decoration: underline; }
  .toplist.mobile-affiliate .review-link { order: 2; margin-top: 5px; font-size: .7rem; }
  .toplist.mobile-affiliate .more-toggle {
    order: 3;
    display: block;
    align-self: center;
    margin-top: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--muted);
    font: 600 .7rem/1.2 var(--f-text);
    text-decoration: underline;
    cursor: pointer;
  }
}

/* Mobile affiliate cards: rank, logo, pick, offer, score and action. */
.mobile-terms { display: none; }
.mobile-pick-label { display: none; }
@media (max-width: 760px) {
  .toplist.mobile-affiliate .desktop-category, .toplist.mobile-affiliate .desktop-rating { display: none; }
  .toplist.mobile-affiliate tbody tr {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 14px 16px;
    margin-bottom: 14px;
    background: #fffaf1 !important;
    border: 2px solid #e4ddd1;
    border-radius: 25px;
    box-shadow: 0 4px 18px rgba(28,37,39,.06);
  }
  .toplist.mobile-affiliate tbody tr.top-pick {
    border-color: #daa521;
    box-shadow: 0 5px 20px rgba(217,166,46,.14);
  }
  .toplist.mobile-affiliate td {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    text-align: center;
  }
  .toplist.mobile-affiliate td.cell-rank { order: 0; }
  .toplist.mobile-affiliate tr.has-rank td.cell-rank {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    width: auto;
  }
  .toplist.mobile-affiliate td.cell-rank[data-col] { font-size: .78rem; font-weight: 700; color: var(--muted); margin: 2px 0 10px; }
  .toplist.mobile-affiliate td.cell-rank[data-col]::before { font-size: inherit; }
  .toplist.mobile-affiliate .rank-badge {
    width: 44px;
    height: 44px;
    background: #e1ad29;
    color: #251b08;
    font-size: 1.25rem;
    box-shadow: 0 9px 16px rgba(41,31,8,.12);
  }
  .toplist.mobile-affiliate td.cell-op { order: 1; }
  .toplist.mobile-affiliate .op-ident { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 0; }
  .toplist.mobile-affiliate .logo-tile {
    width: 100%;
    height: 78px;
    flex: none;
    padding: 9px;
    margin: 0 0 14px;
    background: #fff;
    border: 2px solid #e8dbcf;
    border-radius: 22px;
  }
  .toplist.mobile-affiliate .logo-tile img { width: auto; height: auto; max-width: 150px; max-height: 54px; }
  .toplist.mobile-affiliate .op-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    color: #42182c;
    font: 800 1.4rem/1.15 var(--f-head);
    overflow-wrap: anywhere;
  }
  .toplist.mobile-affiliate .top-pick-flag { display: none; }
  .toplist.mobile-affiliate .mobile-pick-label {
    display: block;
    margin: 0 0 3px;
    padding: 5px 12px;
    background: #e1ad29;
    color: #251b08;
    border-radius: 9px;
    font: 700 .72rem/1.3 var(--f-text);
    letter-spacing: .06em;
  }
  .toplist.mobile-affiliate .op-flag { display: none; }
  .toplist.mobile-affiliate td.mobile-offer {
    order: 2;
    display: block !important;
    width: 100%;
    margin: 13px 0 8px;
    padding: 14px 13px 16px;
    background: linear-gradient(115deg,#fff3c6,#f5dc7a);
    border: 2px solid #daa521;
    border-radius: 19px;
    color: #42182c;
    font: 800 1.13rem/1.25 var(--f-head);
    white-space: normal;
  }
  .toplist.mobile-affiliate td.mobile-offer::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 7px;
    color: #986e28;
    font: 700 .7rem/1.2 var(--f-text);
    letter-spacing: .13em;
    text-transform: uppercase;
  }
  .toplist.mobile-affiliate td.mobile-key-metric {
    order: 3;
    margin: 1px 0 8px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.35;
    white-space: normal;
  }
  .toplist.mobile-affiliate td.mobile-key-metric::before { font-size: inherit; }
  .toplist.mobile-affiliate td.mobile-score {
    order: 4;
    display: block !important;
    align-self: center;
    width: auto;
    margin: 3px 0 10px;
    padding: 5px 20px;
    border: 2px solid #e8dbcf;
    border-radius: 99px;
    background: #fffaf1;
  }
  .toplist.mobile-affiliate td.mobile-score::before { content: none; }
  .toplist.mobile-affiliate td.mobile-score .score { color: #42182c; font: 800 1rem/1.3 var(--f-head); }
  .toplist.mobile-affiliate td.mobile-score .score::after { content: "/10"; }
  .toplist.mobile-affiliate td.cell-extra:not(.mobile-offer):not(.mobile-score) { display: none; }
  .toplist.mobile-affiliate tr.cards-open td.cell-extra:not(.mobile-offer):not(.mobile-score) {
    order: 7;
    display: block;
    padding: 8px 4px;
    border-top: 1px solid #e8dbcf;
    color: var(--body);
    font-size: .82rem;
  }
  .toplist.mobile-affiliate td.ctacell { order: 5; display: flex; flex-direction: column; align-items: center; width: 100%; }
  .toplist.mobile-affiliate td.ctacell .btn {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: .83rem 1rem;
    background: #24845d;
    border-radius: 99px;
    color: #fff;
    box-shadow: none;
    font: 800 1rem/1.3 var(--f-head);
  }
  .toplist.mobile-affiliate td.ctacell .btn:hover { background: #176c4b; }
  .toplist.mobile-affiliate .mobile-terms { order: 2; display: block; margin: 8px 0 0; color: #766e69; font-size: .72rem; }
  .toplist.mobile-affiliate .mobile-terms a { color: #7a2440; text-decoration: underline; }
  .toplist.mobile-affiliate .review-link { order: 3; margin-top: 6px; font-size: .72rem; }
  .toplist.mobile-affiliate .more-toggle { order: 6; align-self: center; margin-top: 5px; font-size: .73rem; }
}

/* Illustrated author faces beside bylines and on profile cards. */
.byline a[href="/authors/#theo-calder"], .byline a[href="/authors/#marama-reeve"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  vertical-align: middle;
}
.byline a[href="/authors/#theo-calder"]::before, .byline a[href="/authors/#marama-reeve"]::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background-color: #f9edda;
  background-position: center;
  background-size: cover;
  box-shadow: 0 2px 6px rgba(8,63,51,.13);
}
.byline a[href="/authors/#theo-calder"]::before { background-image: url('/assets/authors/theo-calder.jpg'); }
.byline a[href="/authors/#marama-reeve"]::before { background-image: url('/assets/authors/marama-reeve.jpg'); }
.author-card .avatar {
  color: transparent;
  font-size: 0;
  border: 2px solid #e8dbcf;
  background-image: url('/assets/authors/theo-calder.jpg');
  background-position: center;
  background-size: cover;
}
.author-card#marama-reeve .avatar { background-image: url('/assets/authors/marama-reeve.jpg'); }
@media (max-width: 520px) {
  .byline a[href="/authors/#theo-calder"]::before, .byline a[href="/authors/#marama-reeve"]::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}
