/* Kasinolicenser: design B "Sea chart" (chosen 29 Oct 2026). Base structure + direction B tokens.
   Source: design/public/css/base.css + b.css. Fonts are self-hosted (no Google Fonts request). */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/familjen-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/familjen-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  --paper: #fff;
  --surface: #fff;
  --ink: #1c2230;
  --muted: #5d6675;
  --line: #d9dde3;
  --accent: #c8102e;
  --accent-ink: #fff;
  --head: system-ui, sans-serif;
  --body: system-ui, sans-serif;
  --radius: 6px;
  --wrap: 1200px;
  --l-eu: #2a4d8f; --l-mga: #b0283a; --l-cga: #1f6aa5; --l-anj: #2d7d5a; --l-emta: #3f7fb8; --l-gib: #9a3d6e; --l-kgc: #6a5a8c; --l-none: #8a8f98;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); font-feature-settings: "tnum" 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 900px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }


/* dashed underline = not verified yet */
.sample { text-decoration: underline dashed; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); }

/* ---------- header and navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--head-bg, var(--paper)); color: var(--head-ink, var(--ink)); border-bottom: 1px solid var(--head-line, var(--line)); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--head); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list > li > a, .sub-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 2px; background: none; border: 0; cursor: pointer; text-decoration: none; font-weight: 600; }
.chev { width: 12px; height: 8px; transition: transform .2s; }
.has-sub { position: relative; }
.nav-list > li:last-child .sub { left: auto; right: -16px; }
.sub { position: absolute; top: calc(100% + 6px); left: -16px; min-width: 260px; padding: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px -12px rgba(16, 24, 40, .28); display: none; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.sub a { display: block; padding: 9px 12px; border-radius: calc(var(--radius) - 2px); text-decoration: none; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--sub-hover, rgba(0, 0, 0, .06)); }
.sub a[aria-current="page"] { font-weight: 700; }
.has-sub.open .sub { display: block; }
.has-sub.open .chev { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 861px) {
  .has-sub:hover .sub { display: block; }
  .has-sub:hover .chev { transform: rotate(180deg); }
}
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: var(--radius); overflow: hidden; font: 700 0.8125rem/1 var(--body); }
.lang a { padding: 7px 10px; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--head-ink, var(--ink)); color: var(--head-bg, var(--paper)); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; padding: 9px 12px; background: none; border: 1px solid currentColor; border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 20px 22px; background: var(--head-bg, var(--paper)); border-bottom: 1px solid var(--head-line, var(--line)); }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .sub-btn { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--head-line, var(--line)); }
  .sub, .nav-list > li:last-child .sub { position: static; min-width: 0; margin: 6px 0 10px; box-shadow: none; }
  .lang { align-self: flex-start; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border: 2px solid transparent; border-radius: var(--radius); font: 700 1rem/1.1 var(--body); text-decoration: none; text-align: center; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover, var(--accent)); }
.btn-ghost { border-color: currentColor; }

/* ---------- sections ---------- */
main > section, main > div > section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section-head p { margin-top: 12px; color: var(--muted); }

.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 16ch; }
.for { font-weight: 600; font-size: 0.9375rem; margin-bottom: 18px; }
.lede { margin-top: 20px; font-size: 1.1875rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* licence grid (homepage) */
.lic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-eu { --lc: var(--l-eu); } .l-mga { --lc: var(--l-mga); } .l-cga { --lc: var(--l-cga); } .l-anj { --lc: var(--l-anj); } .l-emta { --lc: var(--l-emta); } .l-gib { --lc: var(--l-gib); } .l-kgc { --lc: var(--l-kgc); } .l-none { --lc: var(--l-none); }
.lc { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.lc-body { flex: 1; }
.lc-place { font-size: 0.875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lc-km { display: none; }
.lc h3 { font-size: 1.5rem; margin-top: 6px; }
.lc-text { margin-top: 10px; }
.lc-btn { align-self: flex-start; }

/* steps */
.step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step-list li { counter-increment: step; position: relative; padding-top: 52px; }
.step-list li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: grid; place-items: center; font: 700 1.125rem/1 var(--head); border-radius: 50%; background: var(--ink); color: var(--paper); }
.step-list h3 { font-size: 1.25rem; }
.step-list p { margin-top: 8px; color: var(--muted); }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.96875rem; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: 0.875rem; color: var(--muted); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { white-space: nowrap; font-weight: 700; }
.lic-dot { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: var(--lc); vertical-align: -1px; flex: none; }

/* FAQ */
.faq h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 700; font-size: 1.125rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; max-width: none; }

/* safer gambling */
.safer { padding: 40px 0 !important; background: var(--safer-bg, rgba(0, 0, 0, .04)); }
.safer-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.safer h2 { font-size: 1.375rem; }
.safer p { margin-top: 6px; max-width: 64ch; }
.safer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.safer-links a { display: inline-block; padding: 10px 14px; border: 1px solid currentColor; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.age { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border: 2px solid currentColor; border-radius: 50%; font: 800 0.8125rem/1 var(--body); }
.age-lg { width: 64px; height: 64px; font-size: 1.25rem; border-width: 3px; }

/* footer */
.site-footer { padding: 56px 0 32px; background: var(--foot-bg, var(--ink)); color: var(--foot-ink, var(--paper)); }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.f-brand p { margin-top: 14px; max-width: 40ch; opacity: .85; }
.site-footer h2 { font: 700 1rem/1.2 var(--body); margin-bottom: 12px; }
.site-footer nav li + li { margin-top: 8px; }
.site-footer nav a { text-decoration: none; opacity: .85; }
.site-footer nav a:hover { opacity: 1; text-decoration: underline; }
.f-disc { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 0.9375rem; opacity: .85; max-width: 80ch; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; font-size: 0.875rem; opacity: .85; }

/* ---------- licence page ---------- */
.page-head { padding: 48px 0 56px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.page-head h1 { margin-top: 18px; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.byline { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }
.byline.has-photo { display: flex; align-items: center; gap: 12px; }
.byline.has-photo img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.factbox { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fb-head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fb-head h2 { font-size: 1.375rem; }
.factbox dl { margin: 0; }
.factbox dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.factbox dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.factbox dt { color: var(--muted); font-size: 0.9375rem; }
.factbox dd { margin: 0; font-weight: 600; }

/* casino grid */
.casinos { padding-top: 24px !important; }
.cas-list { display: grid; gap: 16px; }
.cc { position: relative; display: grid; grid-template-columns: 48px 88px minmax(0, 1fr) 210px; grid-template-areas: "rank logo main side" "rank logo fine side"; column-gap: 20px; row-gap: 6px; align-items: center; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cc-rank { grid-area: rank; font: 800 1.5rem/1 var(--head); }
.cc-logo { grid-area: logo; width: 88px; height: 88px; border-radius: var(--radius); overflow: hidden; background: #160f2a; display: grid; place-items: center; }
.cc-logo img { width: 100%; height: 100%; object-fit: cover; }
.cc-logo.wide { background: #2a1f4d; padding: 8px; }
.cc-logo.wide img { object-fit: contain; }
.cc-main { grid-area: main; min-width: 0; }
.cc-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.cc-name h3 { font-size: 1.375rem; }
.lic { display: inline-flex; align-items: center; padding: 4px 10px 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--lc) 12%, transparent); color: var(--ink); font-size: 0.8125rem; font-weight: 700; line-height: 1.2; }
.lic .lic-dot { width: 10px; height: 10px; margin-right: 6px; }
.cc-offer { margin-top: 8px; font: 700 1.1875rem/1.3 var(--body); }
.cc-extra { font-weight: 600; }
.cc-min { margin-top: 4px; font-size: 0.9375rem; color: var(--muted); }
.cc-min strong { color: var(--ink); }
.cc-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cc-pay li { padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 0.8125rem; font-weight: 600; }
.cc-pay .more { color: var(--muted); }
.cc-side { grid-area: side; display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.cc-score strong { font: 800 2rem/1 var(--head); }
.cc-score span { color: var(--muted); font-weight: 600; }
.cc-fine { grid-area: fine; font-size: 0.8125rem; color: var(--muted); }

.others { padding: 48px 0 !important; }
.others h2 { font-size: 1.5rem; margin-bottom: 16px; }
.others ul { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; }
.others a:hover { border-color: var(--lc); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .lic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .hero-grid, .ph-grid { grid-template-columns: 1fr; gap: 40px; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  main > section, main > div > section { padding: 52px 0; }
  .hero { padding: 40px 0 52px; }
  .lic-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .safer-row { grid-template-columns: 1fr; gap: 16px; }
  .cc { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "logo main" "side side" "fine fine"; padding: 18px 16px; column-gap: 14px; row-gap: 14px; align-items: start; }
  .cc-logo { width: 64px; height: 64px; }
  .cc-rank { position: absolute; top: 8px; left: 8px; z-index: 1; width: 26px; height: 26px; display: grid; place-items: center; font-size: 0.875rem; background: var(--paper); color: var(--ink); border-radius: 50%; border: 1px solid var(--line); }
  .cc-side { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .cc-side .btn { flex: 1; max-width: 220px; }
  .factbox dl div { grid-template-columns: 8rem 1fr; }
}
@media (max-width: 520px) {
  .f-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.dir-b {
  --paper: #f2f7f8;
  --surface: #fff;
  --ink: #12303f;
  --muted: #4b6673;
  --line: #cfe0e5;
  --sea: #0d4a68;
  --depth: #8fc3d1;
  --signal: #e8611a;
  --dune: #e6dab8;
  --accent: #c84a12;
  --accent-hover: #a83c0c;
  --head: "Familjen Grotesk", system-ui, sans-serif;
  --body: "Familjen Grotesk", system-ui, sans-serif;
  --radius: 10px;
  --l-eu: #0d4a68; --l-mga: #c84a12; --l-cga: #0f7c8c; --l-anj: #3d7a3a; --l-emta: #5a6fa8; --l-gib: #9a5b2b; --l-kgc: #6d5a93; --l-none: #8a979d;
  --safer-bg: var(--dune);
  --foot-bg: var(--sea);
  --focus: var(--signal);
}
.dir-b h1, .dir-b h2, .dir-b h3 { font-weight: 700; letter-spacing: -0.015em; }
.dir-b .brand { font-weight: 700; letter-spacing: -0.01em; color: var(--sea); }
.dir-b .site-header { --head-bg: var(--paper); }
.dir-b .lang { border-color: var(--line); }
.dir-b .lang a[aria-current="true"] { background: var(--sea); color: #fff; }

/* hero: chart paper with a graticule */
.dir-b .hero {
  background-color: #e6f0f3;
  background-image: linear-gradient(rgba(13, 74, 104, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 74, 104, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}
.dir-b .hero h1 { color: var(--sea); font-size: clamp(2.4rem, 5vw, 3.9rem); }
.dir-b .for { color: var(--muted); }
.dir-b .btn-ghost { color: var(--sea); }

.chart { margin: 0; }
.chart svg { width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.chart figcaption { margin-top: 10px; text-align: center; font-size: 0.9375rem; color: var(--muted); }
.ch-rings circle { fill: none; stroke: var(--depth); stroke-width: 1.2; }
.ch-rings circle:last-child { fill: rgba(255, 255, 255, .55); stroke-width: 1.6; }
.ch-ring-labels text { fill: #5f8796; font: 500 10.5px/1 var(--body); }
.ch-axes { stroke: var(--depth); stroke-dasharray: 3 5; }
.ch-north { fill: var(--sea); font: 700 13px/1 var(--body); }
.ch-line { stroke: var(--sea); stroke-width: 1.6; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: ch-draw .9s cubic-bezier(.3, .7, .3, 1) forwards; animation-delay: calc(.25s + var(--i) * .14s); }
.ch-pt circle { fill: var(--signal); stroke: #fff; stroke-width: 3; }
.ch-pt { opacity: 0; animation: ch-show .4s ease-out forwards; animation-delay: calc(.85s + var(--i) * .14s); }
.ch-pt:hover circle, .ch-pt:focus circle { fill: var(--sea); }
.ch-name { fill: var(--ink); font: 700 15px/1 var(--body); }
.ch-km { fill: var(--muted); font: 500 12.5px/1 var(--body); }
.ch-home { fill: var(--sea); stroke: #fff; stroke-width: 3; }
.ch-home-label { fill: var(--sea); font: 700 13px/1 var(--body); }
@keyframes ch-draw { to { stroke-dashoffset: 0; } }
@keyframes ch-show { to { opacity: 1; } }

/* licence grid: every card shows its distance */
.dir-b .lc { border-radius: var(--radius); }
.dir-b .lc-mark { display: flex; align-items: center; justify-content: space-between; }
.pin { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--lc, var(--sea)); color: var(--lc, var(--sea)); font: 700 1rem/1 var(--head); background: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--lc, var(--sea)) 12%, transparent); }
.dir-b .lc-place { font-size: 0.9375rem; }
.dir-b .lc-km { display: block; text-align: right; font-size: 0.875rem; color: var(--muted); line-height: 1.3; }
.dir-b .lc-km strong { display: block; font-size: 1.375rem; color: var(--sea); }
.dir-b .lc h3 { font-size: 1.4rem; }
.dir-b .lc-btn { background: none; border-color: var(--sea); color: var(--sea); }
.dir-b .lc-btn:hover { background: var(--sea); color: #fff; }

.dir-b .steps { background: #fff; }
.dir-b .step-list li::before { background: var(--sea); }
.dir-b .compare { background: var(--paper); }
.dir-b thead th { background: var(--dune); color: var(--ink); }
.dir-b .faq { background: #fff; }

/* licence page */
.dir-b .page-head { background-color: #e6f0f3; background-image: linear-gradient(rgba(13, 74, 104, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 74, 104, .07) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 1px solid var(--line); }
.dir-b .page-head h1 { color: var(--sea); }
.dir-b .fb-head .pin { width: 52px; height: 52px; flex: none; }
.dir-b .factbox dl div:last-child dd { color: var(--sea); font-size: 1.25rem; }
.dir-b .casinos { background: var(--paper); padding-top: 56px !important; }
.dir-b .cc { border-radius: var(--radius); }
.dir-b .cc-rank { color: var(--depth); font-size: 2.2rem; }


.dir-b .cc-score strong { color: var(--sea); }
.dir-b .others { background: #fff; }

@media (max-width: 720px) {
  .dir-b .cc-rank { color: var(--ink); font-size: 0.875rem; }
  .ch-name { font-size: 17px; }
  .ch-km { font-size: 14px; }
}

/* ---------- live-site additions (30 Oct 2026) ---------- */
.site-footer .brand { color: #fff; }
.soon { opacity: .6; cursor: default; }
.others .soon { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px dashed var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; }
.soon small { font-weight: 400; }
.sub .soon { display: block; padding: 9px 12px; }
.lc .soon.btn { align-self: flex-start; border-style: dashed; }
.lang .lang-off { padding: 7px 10px; opacity: .45; }
.btn.is-off { cursor: default; }
.text-section { background: #fff; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; max-width: none; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--sea); text-underline-offset: 3px; }
.prose table { min-width: 0; margin: 8px 0 20px; background: var(--surface); border: 1px solid var(--line); }
.prose tbody th { white-space: normal; }
.prose .note { padding: 14px 18px; border-left: 4px solid var(--sea); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.text-section + .text-section { padding-top: 0 !important; }
.lic-strip { display: flex; align-items: center; gap: 18px; margin: 4px 0 26px; padding: 16px 20px; background: var(--paper); border-left: 5px solid var(--lc); border-radius: 0 var(--radius) var(--radius) 0; }
.lic-strip .pin { flex: none; width: 52px; height: 52px; }
.lic-strip dl { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; }
.lic-strip dt { font-size: 0.8125rem; color: var(--muted); }
.lic-strip dd { margin: 0; font-weight: 700; }
.toc { background: var(--paper); padding: 48px 0 !important; border-bottom: 1px solid var(--line); }
.toc h2 { font-size: 1.5rem; margin-bottom: 16px; }
.toc ol { columns: 2; column-gap: 48px; list-style: decimal; padding-left: 22px; max-width: 900px; }
.toc li { break-inside: avoid; padding: 4px 0; }
.toc a { color: var(--sea); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 720px) { .toc ol { columns: 1; } .lic-strip { flex-direction: column; align-items: flex-start; } }
.authors { background: var(--paper); }
.authors h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }
.author-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.author { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.author-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--sea); color: #fff; font: 700 1.75rem/1 var(--head); }
.author h3 { font-size: 1.3rem; }
.author-role { margin: 4px 0 10px; color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.author-link { margin-top: 12px; font-weight: 600; }
.author-link a { color: var(--sea); }
.authors-hub { margin-top: 28px; }
.author-profile { background: #fff; }
.ap-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: start; }
.ap-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.ap-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.ap-body p { margin: 0 0 16px; max-width: none; }
@media (max-width: 720px) { .ap-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 720px) { .author-list { grid-template-columns: 1fr; } .author { flex-direction: column; } }

/* ---------- licence comparison (2 Nov 2026) ---------- */
.cmp[hidden] { display: none; }
.dir-b .cmp { background: #fff; }
.dir-b .cmp-all { background: var(--paper); }
.cmp-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 20px; }
.cmp-pick label { display: grid; gap: 6px; flex: 1 1 220px; font-weight: 700; font-size: 0.9375rem; }
.cmp-pick select { min-height: 46px; padding: 8px 12px; font: 600 1rem/1.2 var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-swap { min-height: 46px; min-width: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--sea, var(--ink)); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.cmp-pick select:focus-visible, .cmp-swap:focus-visible { outline: 3px solid var(--sea, var(--ink)); outline-offset: 2px; }
.cmp-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.cmp-table caption { padding: 14px 16px 6px; text-align: left; font-weight: 700; color: var(--muted); font-size: 0.9375rem; }
.cmp-table thead th { vertical-align: middle; font-size: 1.0625rem; color: var(--ink); border-bottom: 3px solid var(--lc, var(--line)); }
.cmp-table thead th .pin { display: inline-grid; width: 40px; height: 40px; margin-right: 10px; font-size: 0.8125rem; vertical-align: middle; box-shadow: none; }
.cmp-table tbody th { padding: 14px 16px 2px; font-size: 0.8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 0; background: none; }
.cmp-table tbody td { padding-top: 4px; }
.cmp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.cmp-msg { color: var(--muted); font-size: 0.9375rem; }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cmp-card { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--lc); border-radius: var(--radius); }
.cmp-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cmp-card-head .pin { flex: none; width: 48px; height: 48px; font-size: 0.875rem; }
.cmp-card-head h3 { margin: 0; font-size: 1.375rem; }
.cmp-card dl { margin: 0 0 18px; }
.cmp-card dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cmp-card dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cmp-card dd { margin: 2px 0 0; }
.cmp-card-foot { margin-top: auto; }
@media (max-width: 720px) {
  .cmp-table th, .cmp-table td { padding-left: 10px; padding-right: 10px; font-size: 0.9375rem; overflow-wrap: anywhere; }
  .cmp-table caption { padding-left: 10px; padding-right: 10px; }
  .cmp-table thead th { font-size: 0.9375rem; }
  .cmp-table thead th .pin { display: none; }
}

/* commission note beside the casino grid (owner, 2 Nov 2026) */
.cas-disc { margin: -16px 0 20px; max-width: 720px; font-size: 0.875rem; color: var(--muted); }
