/* ==========================================================================
   CasinoLupa — Editorial Comparison System
   Independent comparison publication. Static CSS, no framework.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/dm-serif-display-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --porcelain: #f2f5f8;
  --paper: #ffffff;
  --ink: #131b27;
  --ink-2: #3b4656;
  --slate: #586474;
  --midnight: #14233b;
  --midnight-2: #1d3150;
  --midnight-3: #0e1a2d;
  --teal: #14716b;
  --teal-2: #0f5c57;
  --teal-soft: #e2f0ee;
  --cobalt: #34539e;
  --cobalt-2: #26407f;
  --cobalt-soft: #e8edf8;
  --silver: #c9d2dc;
  --silver-2: #e1e6ec;
  --amber: #8f5c0e;
  --amber-soft: #fbf1dc;
  --amber-line: #ddb05a;
  --plum: #6a4c93;
  --plum-line: #b9a8d4;

  --font-display: "DM Serif Display", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-s: 4px;
  --radius-m: 8px;
  --rg-bar-h: max(64px, 10vh);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--cobalt);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  padding-bottom: var(--rg-bar-h);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-2); text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 3px; }
button { font: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.005em; }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 650; }
strong { font-weight: 650; }
small { font-size: .8125rem; }
hr { border: 0; border-top: 1px solid var(--silver-2); margin: 2rem 0; }
table { border-collapse: collapse; }
.num, td, th { font-variant-numeric: tabular-nums; }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none; box-shadow: 0 2px 10px rgba(19,27,39,.2);
}
.skip-link:focus { top: 12px; }

/* ---------- Utility strip ---------- */
.utility { background: var(--midnight); color: #dfe6ef; font-size: .8125rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.tags li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.tags li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; margin-right: 8px; }
.tag-18 { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 700; font-size: .75rem; }
.lang { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lang li { margin: 0; }
.lang a { display: inline-grid; place-items: center; min-width: 40px; min-height: 30px; padding: 0 8px; color: #dfe6ef; text-decoration: none; border-radius: var(--radius-s); font-weight: 600; letter-spacing: .02em; }
.lang a[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; }
.lang a:hover { color: #fff; background: rgba(255,255,255,.08); }
.utility a:focus-visible { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 4px #9fb6e8; }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); border-bottom: 1px solid var(--silver-2); position: relative; z-index: 20; }
.masthead__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--midnight); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--midnight); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; letter-spacing: .06em; }
.brand__motto { display: block; font-family: var(--font-display); font-style: italic; font-size: .875rem; letter-spacing: 0; color: var(--slate); margin-top: 4px; }
.ops-nav { display: none; align-items: center; gap: 4px; font-size: .875rem; }
.ops-nav__label { color: var(--slate); margin-right: 6px; }
.ops-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--silver); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.ops-nav a:hover { border-color: var(--midnight); }
.ops-nav a[aria-current="page"] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.mainnav { display: none; border-top: 1px solid var(--silver-2); }
.mainnav ul { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0; padding: 0; list-style: none; }
.mainnav li { margin: 0; }
.mainnav a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 12px; color: var(--ink-2); text-decoration: none; font-size: .875rem; font-weight: 550; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--ink); border-bottom-color: var(--silver); }
.mainnav a[aria-current="page"] { color: var(--midnight); border-bottom-color: var(--teal); }
.mainnav .sep { width: 1px; height: 18px; background: var(--silver); align-self: center; margin: 0 8px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--silver); border-radius: var(--radius-s); background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.menu-toggle__bars { width: 18px; height: 12px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.menu-toggle__bars::before { top: 0; } .menu-toggle__bars span { top: 5px; } .menu-toggle__bars::after { bottom: 0; }
.no-js .menu-toggle { display: none; }
.drawer { display: none; border-top: 1px solid var(--silver-2); background: var(--paper); }
.drawer.is-open { display: block; }
.no-js .drawer { display: block; }
.drawer__grid { display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-block: 20px 28px; }
.drawer__title { font-size: .8125rem; font-weight: 650; color: var(--slate); letter-spacing: .02em; margin: 0 0 6px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { margin: 0; }
.drawer a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--silver-2); }
.drawer a[aria-current="page"] { color: var(--teal); }
.masthead .masthead__cta { display: none; }
@media (min-width: 560px) { .masthead .masthead__cta { display: inline-flex; } }
@media (max-width: 559px) {
  .brand__motto { display: none; }
  .brand__name { font-size: 1.3rem; }
  .brand svg { width: 32px; height: 32px; }
  .masthead__row { gap: 12px; min-height: 64px; }
  .utility { font-size: .75rem; }
  .utility__inner { align-items: center; padding-block: 4px; }
  .tags { gap: 2px 9px; }
  .tags li + li::before { margin-right: 4px; }
  .lang a { min-width: 40px; min-height: 40px; }
}
@media (min-width: 1100px) {
  .menu-toggle, .drawer, .no-js .drawer { display: none !important; }
  .ops-nav { display: inline-flex; }
  .mainnav { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius-s); border: 1.5px solid transparent;
  font-weight: 650; font-size: .9375rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
}
.btn--primary { background: var(--midnight); color: #fff; }
.btn--primary:hover { background: var(--midnight-2); color: #fff; }
.btn--secondary { background: transparent; color: var(--midnight); border-color: var(--midnight); }
.btn--secondary:hover { background: var(--midnight); color: #fff; }
.btn--ext { background: var(--paper); color: var(--midnight); border-color: var(--midnight); }
.btn--ext:hover { background: var(--cobalt-soft); color: var(--midnight); }
.btn--ext::after, .ext::after {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2.5h4.5V7M13.5 2.5L7 9M11.5 9.5v3.25a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 .75-.75H6.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9 2.5h4.5V7M13.5 2.5L7 9M11.5 9.5v3.25a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-7.5a.75.75 0 0 1 .75-.75H6.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ext { display: inline; }
.ext::after { display: inline-block; width: 11px; height: 11px; margin-left: 4px; vertical-align: -1px; }
.btn--small { min-height: 40px; padding: 0 14px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Labels (external / affiliate) ---------- */
.xlabels { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.xlabels li { margin: 0; }
.xlabel {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 8px;
  border: 1px solid var(--silver); border-radius: var(--radius-s); background: var(--paper);
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap;
}
.xlabel--aff { border-color: var(--amber-line); background: var(--amber-soft); color: var(--amber); }
.aff-note { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; margin: 8px 0 0; }

/* ---------- Status markers ---------- */
.st { display: inline-flex; align-items: flex-start; gap: 7px; line-height: 1.4; }
.st::before {
  content: ""; flex: none; width: 15px; height: 15px; margin-top: .14em; background: currentColor;
  -webkit-mask: var(--st-icon) center / contain no-repeat; mask: var(--st-icon) center / contain no-repeat;
}
.st-ok { --st-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5 8.3l2 2 4-4.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.st-ind { --st-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 1.4a6.6 6.6 0 0 1 0 13.2z' fill='black'/%3E%3C/svg%3E"); }
.st-nv { --st-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='black' stroke-width='1.7' stroke-dasharray='2.6 2.1'/%3E%3Ccircle cx='8' cy='8' r='1.7' fill='black'/%3E%3C/svg%3E"); }
.st-np { --st-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M5 8h6' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.st-na { --st-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.st-tp { --st-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='8' cy='8' r='2.7' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.st-ok::before { color: var(--teal); }
.st-ind::before { color: var(--cobalt); }
.st-tp::before { color: var(--plum); }
.st-add { display: flex; margin-top: 7px; }
.src-list { display: block; font-size: .75rem; color: var(--slate); line-height: 1.5; margin-top: 4px; }
.st-nv::before { color: var(--amber); }
.st-np::before, .st-na::before { color: var(--slate); }
.st-nv { color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .8125rem; color: var(--ink-2); }
.legend li { margin: 0; }

/* ---------- Page sections ---------- */
.band { padding-block: clamp(48px, 6vw, 84px); }
.band--paper { background: var(--paper); }
.band--porcelain { background: var(--porcelain); }
.band--teal { background: var(--teal-soft); }
.band--tight { padding-block: clamp(32px, 4vw, 48px); }
.band + .band--paper, .band--paper + .band { border-top: 1px solid var(--silver-2); }
.sec-head { max-width: 760px; margin-bottom: 28px; }
.sec-head p { color: var(--ink-2); font-size: 1.0625rem; }
.lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.meta-line { font-size: .8125rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 18px; }
.meta-line span { display: inline-flex; gap: 6px; align-items: center; }
.crumbs { font-size: .8125rem; color: var(--slate); margin: 0 0 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--silver); }
.crumbs a { color: var(--slate); }
.page-head { background: var(--paper); border-bottom: 1px solid var(--silver-2); padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 24ch; font-size: clamp(2rem, 1.25rem + 2.6vw, 3.1rem); }
.page-head .lede { margin-top: 8px; }
.grid-2 { display: grid; gap: 28px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Prose (guides and legal) ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul li::marker { color: var(--teal); }
.prose ol li::marker { color: var(--teal); font-weight: 650; }
.prose .note { font-size: .9375rem; color: var(--ink-2); }
.layout-aside { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.aside-box { border: 1px solid var(--silver-2); border-radius: var(--radius-m); background: var(--paper); padding: 20px; position: relative; }
.aside-box + .aside-box { margin-top: 18px; }
.aside-box h2, .aside-box h3 { font-family: var(--font-ui); font-size: 1rem; font-weight: 650; margin-bottom: 8px; }
.aside-box p, .aside-box li { font-size: .9375rem; }
.aside-box ul { padding-left: 1.1em; }
.aside-sticky { display: grid; gap: 18px; align-content: start; }
@media (min-width: 980px) {
  .aside-sticky { height: 100%; }
  .aside-sticky > .toc:last-child { position: sticky; top: 20px; }
}
.aside-sticky > .aside-box + .aside-box { margin-top: 0; }
.toc ol { padding-left: 1.2em; margin: 0; }
.toc li { font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--silver-2); padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.hero__grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 52px; } }
.hero h1 { max-width: 17ch; margin-bottom: 20px; }
.hero__note { font-size: .9375rem; color: var(--ink-2); max-width: 60ch; border-left: 2px solid var(--silver); padding-left: 14px; margin: 18px 0 26px; }
.hero__tags { margin-top: 24px; color: var(--ink-2); font-size: .875rem; }
.hero__tags .tag-18 { color: var(--midnight); }

/* Verification ledger — the lens */
.ledger { margin: 0; background: var(--porcelain); border: 1px solid var(--silver-2); border-radius: var(--radius-m); padding: clamp(18px, 3vw, 28px); }
.ledger__motto { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; color: var(--midnight); margin: 0 0 4px; }
.ledger__sub { font-size: .8125rem; color: var(--slate); margin: 0 0 18px; }
.ledger table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.ledger th, .ledger td { padding: 11px 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--silver-2); }
.ledger thead th { font-size: .75rem; font-weight: 650; color: var(--slate); border-bottom: 1px solid var(--silver); padding-top: 4px; }
.ledger tbody th { font-weight: 650; color: var(--ink); white-space: nowrap; }
.ledger tbody tr:last-child th, .ledger tbody tr:last-child td { border-bottom: 0; }
.ledger .lens { border-left: 2px solid var(--teal); border-right: 2px solid var(--teal); background: rgba(20,113,107,.06); }
.ledger thead .lens { border-top: 2px solid var(--teal); border-radius: 22px 22px 0 0; color: var(--teal-2); border-bottom-color: transparent; }
.ledger tbody tr:last-child .lens { border-bottom: 2px solid var(--teal); border-radius: 0 0 22px 22px; }
.ledger__note { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; align-items: start; margin: 16px 0 0; font-size: .8125rem; color: var(--ink-2); }
.ledger__note::before { content: ""; grid-column: 1; grid-row: 1; height: 1px; background: var(--teal); margin-top: .75em; }
.ledger__note > * { grid-column: 2; }
.ledger__key { margin: 8px 0 0; }
.ledger .st { font-size: .8125rem; }
.ledger td.lens .st { white-space: nowrap; }
.ledger td .st { white-space: normal; }
.ledger td:not(.lens) { min-width: 9.5em; }
.hero__grid > * { min-width: 0; }
@media (max-width: 560px) {
  .ledger { padding: 16px; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--silver-2); }
  .ledger tbody tr:last-child { border-bottom: 0; }
  .ledger tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 2px; font-size: .9375rem; }
  .ledger tbody td { display: block; border: 0; padding: 6px 7px; }
  .ledger tbody td::before { content: attr(data-label); display: block; font-size: .6875rem; font-weight: 650; color: var(--slate); margin-bottom: 3px; line-height: 1.25; }
  .ledger td .st { white-space: normal; font-size: .75rem; }
  .ledger tbody .lens, .ledger tbody tr:last-child .lens { border: 1.5px solid var(--teal); border-radius: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ledger .lens { animation: lens-in .9s ease-out .2s both; }
  @keyframes lens-in { from { border-color: transparent; background: transparent; } }
}

/* ---------- Operator cards ---------- */
.op-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1040px) { .op-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.op-card { background: var(--paper); border: 1px solid var(--silver); border-top: 3px solid var(--midnight); border-radius: var(--radius-m); display: flex; flex-direction: column; }
.op-card__head { padding: 20px 20px 14px; border-bottom: 1px solid var(--silver-2); }
.op-card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.85rem; line-height: 1.05; margin: 0 0 10px; }
.op-card__name a { color: var(--ink); text-decoration: none; }
.op-card__name a:hover { text-decoration: underline; }
.op-card__body { padding: 16px 20px; display: grid; gap: 16px; flex: 1; align-content: start; }
.facts { margin: 0; display: grid; gap: 8px; font-size: .875rem; }
.facts div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 10px; align-items: start; }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; }
.offer { border: 1px solid var(--silver-2); border-left: 3px solid var(--silver); border-radius: var(--radius-s); padding: 12px 14px; background: var(--paper); }
.offer--ok { border-left-color: var(--teal); }
.offer--nv { border-left-color: var(--amber-line); border-left-style: dashed; background: #fffdf8; }
.nw { white-space: nowrap; }
.offer--tp { border-left-color: var(--plum); border-left-style: dashed; background: #fcfbfe; }
.offer--ind { border-left-color: var(--cobalt); border-left-style: dashed; background: #fbfcff; }
.offer__kind { font-size: .8125rem; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.offer__title { font-weight: 650; font-size: .9375rem; margin: 0 0 8px; line-height: 1.4; }
.offer__terms { margin: 0 0 8px; padding: 0; list-style: none; font-size: .8125rem; color: var(--ink-2); display: grid; gap: 3px; }
.offer__terms li { margin: 0; padding-left: 12px; position: relative; }
.offer__terms li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 1px; background: var(--slate); }
.offer__date { font-size: .75rem; color: var(--slate); margin: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.offer__date a { color: var(--slate); }
.cx { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 650; padding: 3px 8px; border-radius: var(--radius-s); border: 1px solid var(--silver); color: var(--ink-2); background: var(--porcelain); margin-bottom: 8px; }
.op-card__foot { padding: 16px 20px 20px; border-top: 1px solid var(--silver-2); background: #fbfcfd; border-radius: 0 0 var(--radius-m) var(--radius-m); }
.op-card__foot .btn-row { gap: 8px; flex-direction: column; align-items: flex-start; }
.op-card__more { font-size: .875rem; font-weight: 600; }
.allfields { margin-top: 2px; }
.allfields summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--cobalt); min-height: 40px; display: flex; align-items: center; }
.allfields dl { margin: 6px 0 0; font-size: .8125rem; display: grid; gap: 6px; }
.allfields dl div { display: grid; grid-template-columns: 42% 1fr; gap: 8px; border-bottom: 1px dotted var(--silver-2); padding-bottom: 6px; }
.allfields dt { color: var(--slate); }
.allfields dd { margin: 0; }

/* ---------- Coverage meter ---------- */
.coverage { display: grid; gap: 6px; font-size: .8125rem; }
.coverage__bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.coverage__bar i { height: 8px; border-radius: 2px; background: var(--silver-2); border: 1px dashed var(--amber-line); }
.coverage__bar i.ok { background: var(--teal); border: 0; }
.coverage__bar i.tp { background: repeating-linear-gradient(90deg, var(--plum) 0 2px, #d6cbe6 2px 4px); border: 0; }
.coverage__bar i.ind { background: repeating-linear-gradient(135deg, var(--cobalt) 0 3px, #b9c6e6 3px 6px); border: 0; }
.coverage__txt { color: var(--ink-2); }

/* ---------- Matrices ---------- */
.matrix-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--silver); border-radius: var(--radius-m); -webkit-overflow-scrolling: touch; }
.matrix-wrap:focus-visible { box-shadow: var(--focus); }
.matrix { width: 100%; font-size: .875rem; line-height: 1.45; background: var(--paper); }
.matrix caption { text-align: left; padding: 16px 18px 6px; font-weight: 650; font-size: .9375rem; color: var(--ink); caption-side: top; }
.matrix caption small { display: block; font-weight: 400; color: var(--slate); margin-top: 2px; }
.matrix th, .matrix td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--silver-2); }
.matrix thead th { background: var(--porcelain); font-size: .8125rem; font-weight: 650; color: var(--ink-2); border-bottom: 1px solid var(--silver); position: sticky; top: 0; z-index: 1; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix tbody th { font-weight: 650; color: var(--ink); }
.matrix .op-col-head { min-width: 210px; }
.matrix .op-col-head strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); line-height: 1.1; margin-bottom: 6px; }
.matrix .op-col-head .xlabel { font-size: .625rem; }
.matrix .row-group th { background: var(--midnight); color: #fff; font-size: .8125rem; font-weight: 650; padding: 9px 14px; }
.matrix .src { display: block; font-size: .75rem; color: var(--slate); margin-top: 4px; }
.matrix .src a { color: var(--slate); }
.matrix--summary { min-width: 1000px; }
.matrix--summary th, .matrix--summary td { padding: 12px 10px; }
@media (min-width: 1100px) { .matrix--summary { min-width: 0; table-layout: auto; } }
.matrix--summary tbody th { min-width: 150px; }
.matrix--spec { min-width: 860px; }
.matrix--spec tbody th { width: 22%; min-width: 180px; }
.matrix-foot { font-size: .8125rem; color: var(--ink-2); margin: 12px 2px 0; }
.op-filter { border: 1px solid var(--silver-2); border-radius: var(--radius-m); background: var(--paper); padding: 10px 16px 12px; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.op-filter legend { font-size: .8125rem; font-weight: 650; color: var(--ink-2); padding: 0 6px; }
.op-filter label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: .9375rem; font-weight: 550; cursor: pointer; }
.op-filter input { width: 18px; height: 18px; accent-color: var(--midnight); }
.no-js .op-filter, .no-js .js-only { display: none !important; }
.hide-betsson [data-op="betsson"], .hide-betano [data-op="betano"], .hide-betwarrior [data-op="betwarrior"] { display: none; }
.group-block { margin-bottom: 18px; }
.group-block > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--midnight); color: #fff; border-radius: var(--radius-m) var(--radius-m) 0 0; font-weight: 650; min-height: 48px; }
.group-block > summary::-webkit-details-marker { display: none; }
.group-block > summary::after { content: "−"; font-size: 1.25rem; line-height: 1; }
.group-block:not([open]) > summary { border-radius: var(--radius-m); }
.group-block:not([open]) > summary::after { content: "+"; }
.group-block > .matrix-wrap { border-radius: 0 0 var(--radius-m) var(--radius-m); border-top: 0; }
.group-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }

/* Responsive matrices: stacked cards on small screens */
@media (max-width: 760px) {
  .matrix-wrap.stack { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .stack .matrix, .stack .matrix tbody, .stack .matrix tr, .stack .matrix th, .stack .matrix td { display: block; width: 100%; min-width: 0; }
  .stack .matrix { background: transparent; }
  .stack .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack .matrix caption { display: block; padding: 0 0 10px; }
  .stack .matrix tr { background: var(--paper); border: 1px solid var(--silver); border-radius: var(--radius-m); margin-bottom: 14px; overflow: hidden; }
  .stack .matrix tbody th { background: var(--porcelain); border-bottom: 1px solid var(--silver); padding: 12px 14px; font-size: .9375rem; }
  .stack .matrix td { border-bottom: 1px solid var(--silver-2); padding: 10px 14px; }
  .stack .matrix td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 650; color: var(--slate); margin-bottom: 3px; }
  .stack .matrix tr.row-group { border: 0; background: transparent; margin: 18px 0 8px; }
  .stack .matrix tr.row-group th { background: var(--midnight); border-radius: var(--radius-s); }
  .stack .matrix--summary tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
  .group-block > .matrix-wrap.stack { padding-top: 12px; }
}

/* ---------- Notices, disclosure, RG panel ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--amber-line); background: var(--amber-soft); border-radius: var(--radius-m); padding: 14px 16px; font-size: .9375rem; color: var(--ink); margin: 0 0 22px; }
.notice::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--amber); box-shadow: inset 0 0 0 3px var(--amber-soft), inset 0 0 0 9px var(--amber); }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }
.disclosure { border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver); padding: 16px 0; font-size: .875rem; color: var(--ink-2); display: grid; gap: 6px; }
.disclosure strong { color: var(--ink); }
.disclosure p { margin: 0; }
.rg-panel { display: grid; gap: 24px; grid-template-columns: 1fr; background: var(--paper); border: 1px solid #bcd9d5; border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); }
@media (min-width: 860px) { .rg-panel { grid-template-columns: 1.3fr 1fr; } }
.rg-panel h2 { margin-bottom: 12px; }
.rg-panel ul { margin: 0; }
.helpline { border-left: 3px solid var(--teal); padding: 4px 0 4px 16px; }
.helpline__num { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 700; letter-spacing: .01em; color: var(--midnight); display: block; line-height: 1.15; text-decoration: none; }
.helpline__num:hover { color: var(--teal-2); }
.helpline p { font-size: .9375rem; margin: 6px 0 0; }
.jur-card { background: var(--paper); border: 1px solid var(--silver); border-radius: var(--radius-m); padding: 22px; }
.jur-card dl { margin: 12px 0 0; display: grid; gap: 10px; font-size: .9375rem; }
.jur-card dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--silver-2); }
.jur-card dt { color: var(--slate); }
.jur-card dd { margin: 0; }
@media (max-width: 520px) { .jur-card dl div, .facts div, .allfields dl div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Steps / how it works ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; margin: 0; padding: 18px 18px 18px 0; border-top: 2px solid var(--midnight); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--teal); border-radius: 50%; color: var(--teal-2); font-weight: 700; font-size: .875rem; margin-bottom: 10px; }
.steps h3 { font-size: 1.0625rem; }
.steps p { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.roles { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 820px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.roles div { background: var(--paper); border: 1px solid var(--silver-2); border-radius: var(--radius-m); padding: 18px; }
.roles dt { font-size: .875rem; color: var(--slate); margin-bottom: 4px; }
.roles dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }

/* ---------- Data list (operator profile) ---------- */
.spec { margin: 0; border-top: 1px solid var(--silver); }
.spec > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--silver-2); }
@media (min-width: 700px) { .spec > div { grid-template-columns: 240px 1fr; gap: 20px; } }
.spec dt { font-weight: 650; font-size: .9375rem; color: var(--ink); }
.spec dd { margin: 0; font-size: .9375rem; }
.spec .src { display: block; font-size: .75rem; color: var(--slate); margin-top: 3px; }
.spec .src a { color: var(--slate); }
.offer-sec { background: var(--paper); border: 1px solid var(--silver); border-radius: var(--radius-m); padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; }
.offer-sec--nv { border-style: dashed; border-color: var(--amber-line); }
.offer-sec--tp { border-style: dashed; border-color: var(--plum-line); }
.offer-sec--ind { border-style: dashed; border-color: #9fb0da; }
.offer-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: baseline; margin-bottom: 14px; }
.offer-sec__head h3 { font-size: 1.35rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; font-size: .8125rem; padding: 4px 10px; border-radius: 999px; background: var(--porcelain); border: 1px solid var(--silver-2); }
.profile-cta { background: var(--midnight); color: #e6ecf4; border-radius: var(--radius-m); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; }
.profile-cta h2 { color: #fff; font-size: 1.6rem; margin: 0; }
.profile-cta p { margin: 0; font-size: .9375rem; }
.profile-cta .btn--ext { border-color: #fff; }
.profile-cta .xlabel { background: transparent; color: #e6ecf4; border-color: rgba(255,255,255,.4); }
.profile-cta .xlabel--aff { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.profile-cta .aff-note { color: #cfd8e3; }
.ext-banner { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--silver); border-left: 4px solid var(--midnight); background: var(--paper); border-radius: var(--radius-s); font-weight: 600; margin: 18px 0 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--silver); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--silver); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; font-weight: 650; font-size: 1.0625rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--silver); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat; border-color: var(--teal); }
.faq .answer { padding: 0 2px 18px; color: var(--ink-2); max-width: 72ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--silver); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); min-height: 48px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(52,83,158,.25); outline: none; }
.field .hint { font-size: .8125rem; color: var(--slate); margin-top: 4px; }
.field .error { font-size: .8125rem; color: #9b1c1c; margin-top: 6px; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #9b1c1c; }
.form-status { padding: 14px 16px; border-radius: var(--radius-s); background: var(--teal-soft); border: 1px solid #a9d1cc; font-weight: 600; }
.form-status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight-3); color: #cdd6e1; font-size: .875rem; padding-top: 48px; }
.site-footer a { color: #e7edf5; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { box-shadow: 0 0 0 2px var(--midnight-3), 0 0 0 4px #9fb6e8; }
.foot-disclosure { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-m); padding: 18px 20px; display: grid; gap: 8px; margin-bottom: 40px; color: #e7edf5; }
.foot-disclosure p { margin: 0; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-grid h2 { font-family: var(--font-ui); font-size: .8125rem; font-weight: 650; color: #fff; margin-bottom: 10px; letter-spacing: .01em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0 0 6px; }
.foot-grid a { text-decoration: none; display: inline-flex; min-height: 28px; align-items: center; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand .brand { color: #fff; margin: 0 0 12px; }
.foot-brand .brand__motto { color: #aab6c4; }
.foot-brand p { margin: 0 0 8px; }
.foot-reg { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; }
.foot-reg p { margin: 0; }
.foot-bottom { padding: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #9fadbd; font-size: .8125rem; }
.foot-bottom p { margin: 0; }
.linklike { background: none; border: 0; padding: 0; color: #e7edf5; text-decoration: underline; cursor: pointer; font-size: inherit; min-height: 28px; }
@media (max-width: 760px) { .foot-grid a, .linklike { min-height: 40px; } .foot-grid li { margin: 0; } }

/* ---------- Fixed responsible-gambling bar (statutory warning) ---------- */
.rg-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; min-height: var(--rg-bar-h);
  background: var(--midnight); color: #fff; border-top: 2px solid var(--teal);
  display: flex; align-items: center;
}
.rg-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; text-align: center; padding-block: 8px; }
.rg-bar__warn { font-weight: 800; letter-spacing: .02em; font-size: clamp(.8125rem, .72rem + .45vw, 1.0625rem); line-height: 1.25; }
.rg-bar__18 { display: inline-grid; place-items: center; min-width: 46px; height: 32px; padding: 0 8px; border: 2px solid #fff; border-radius: 999px; font-weight: 800; font-size: 1rem; }
.rg-bar__help { font-size: .8125rem; color: #d6dee8; }
.rg-bar__help a { color: #fff; font-weight: 700; }
.rg-bar__help a:focus-visible { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 4px #9fb6e8; }
.rg-bar__tr { display: block; font-weight: 500; font-size: .75rem; color: #c9d3df; letter-spacing: 0; }
@media (max-width: 700px) {
  .rg-bar__inner { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; text-align: left; justify-content: start; padding-block: 6px; }
  .rg-bar__18 { grid-row: span 2; min-width: 42px; height: 30px; font-size: .9375rem; }
  .rg-bar__warn { font-size: .75rem; }
  .rg-bar__help { font-size: .75rem; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(var(--rg-bar-h) + 12px);
  max-width: 720px; margin-inline: auto; background: var(--paper); color: var(--ink);
  border: 1px solid var(--silver); border-radius: var(--radius-m); box-shadow: 0 12px 40px rgba(14,26,45,.22);
  padding: 20px; max-height: calc(100vh - var(--rg-bar-h) - 40px); overflow: auto;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.cookie p { font-size: .9375rem; color: var(--ink-2); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 160px; }
.cookie__prefs { border-top: 1px solid var(--silver-2); margin-top: 14px; padding-top: 14px; display: grid; gap: 12px; }
.cookie__prefs[hidden] { display: none; }
.pref { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.pref input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--midnight); }
.pref label { font-weight: 650; }
.pref p { grid-column: 2; font-size: .8125rem; margin: 0; }

/* ---------- 404 ---------- */
.nf { text-align: left; padding-block: clamp(8px, 3vw, 40px); }
.nf__ring { width: 120px; height: 120px; margin-bottom: 28px; }

/* ---------- Print ---------- */
@media print {
  .utility, .masthead, .rg-bar, .cookie, .menu-toggle, .op-filter, .site-footer .foot-grid { display: none !important; }
  body { padding: 0; background: #fff; }
  .matrix-wrap { overflow: visible; border: 0; }
  a.btn--ext::after { content: " (" attr(href) ")"; -webkit-mask: none; mask: none; background: none; width: auto; height: auto; }
}
