/* ==========================================================================
   Landeskarte — the site as a sheet of the Swiss national map 1:25 000.
   Lake fields own whole regions, contours carry the terrain, licensing sits
   in the sheet collar. One file, tokens first.
   ========================================================================== */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/sg.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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../fonts/sg-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; }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/sg-italic.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: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(../fonts/sg-italic-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 {
  /* map inks */
  --paper: #f7f8f4;          /* map white */
  --paper-2: #eef0ea;        /* lowland tint */
  --ink: #17191c;
  --ink-2: #3c4148;          /* secondary text on paper, 9.9:1 */
  --ink-3: #5b616a;          /* captions, 6.1:1 */
  --rule: #c9ccc3;
  --rule-strong: #17191c;

  --lake: #1d64a3;           /* lake field; white text 6.1:1 */
  --lake-deep: #144a7c;
  --lake-ink: #e6f0f9;       /* text on lake */
  --lake-ink-2: #b9d2ea;     /* secondary text on lake, 4.9:1 on --lake */
  --lake-tint: #dbe8f4;
  --lake-line: rgba(255, 255, 255, .22);

  --contour: #b06a32;        /* contour lines */
  --contour-ink: #8a4f22;    /* contour-coloured text, 5.6:1 */
  --relief: #7a7fae;
  --relief-ink: #555b8f;     /* relief violet for labels; white text 6.1:1 */
  --forest: #4f8a43;
  --forest-ink: #3b6c31;
  --forest-tint: #e1ecd8;
  --route: #d8322a;          /* primary action / active only; white text 4.7:1 */
  --route-deep: #b5261f;
  --route-tint: #fbe5e3;
  --warn: #8a5a00;
  --warn-tint: #fbf0d6;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  --step-4: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
  --step-5: clamp(2.375rem, 1.1rem + 5vw, 5.25rem);

  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1320px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper-2); color: var(--ink); font: 400 var(--step-0)/1.55 var(--font); font-feature-settings: "kern"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lake); color: #fff; }
:focus-visible { outline: 2px solid var(--route); outline-offset: 2px; }
.on-lake :focus-visible { outline-color: #fff; }
input, textarea { caret-color: var(--route); }
html { scrollbar-color: var(--ink-3) var(--paper-2); }
.i { width: 1.25em; height: 1.25em; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s3) var(--s4); }
.skip:focus { top: var(--s4); }
.num, .tab { font-variant-numeric: lining-nums; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
:lang(de), :lang(fr), :lang(it) { hyphens: manual; }
.prose, .phead__lead, .card__desc { hyphens: auto; overflow-wrap: break-word; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.25em; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: var(--step-0); line-height: 1.15; text-decoration: none; text-align: center; border-radius: 0; transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out); }
.btn:hover { background: #000; }
.btn--route { background: var(--route); border-color: var(--route); color: #fff; }
.btn--route:hover { background: var(--route-deep); border-color: var(--route-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--lake { background: #fff; border-color: #fff; color: var(--lake-deep); }
.btn--lake:hover { background: var(--lake-tint); border-color: var(--lake-tint); }
.btn--ghost-lake { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost-lake:hover { background: #fff; color: var(--lake-deep); }
.btn--sm { min-height: 38px; padding: .45em .9em; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--paper-2); border-color: var(--rule); color: var(--ink-3); cursor: not-allowed; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: .35em; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link .i { width: 1em; height: 1em; transition: transform .2s var(--ease-out); }
.link:hover .i { transform: translateX(3px); }

/* ---------- collar (sheet margin strip above the header) ---------- */
.collar { background: var(--ink); color: #e9ebe6; font-size: var(--step--1); }
.collar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 36px; }
.collar__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .25em .9em; min-width: 0; }
.collar__legal a { text-decoration: none; }
.collar__legal a:hover { text-decoration: underline; }
.age { display: inline-grid; place-items: center; min-width: 2.3em; height: 1.55em; padding: 0 .3em; border: 1.5px solid currentColor; font-weight: 800; font-size: .8em; letter-spacing: .02em; }
.collar .age { border-color: #fff; color: #fff; }
.langs { display: flex; align-items: center; flex: none; }
.langs a { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 .35em; font-weight: 700; text-decoration: none; letter-spacing: .04em; color: inherit; opacity: .78; }
.langs a + a { border-left: 1px solid rgba(255,255,255,.25); }
.langs a:hover { opacity: 1; text-decoration: underline; }
.langs a[aria-current="true"] { opacity: 1; color: #fff; box-shadow: inset 0 -3px 0 var(--route); }
.collar__hide-sm { display: inline; }

/* the sheet: one frame with LV95 edge ticks around every page */
.frame { position: relative; margin-inline: clamp(0px, 1.1vw, 18px); background: var(--paper); border-inline: 1px solid var(--ink); }
.frame::before, .frame::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8px; z-index: 45; pointer-events: none; background: repeating-linear-gradient(180deg, var(--ink) 0 1px, transparent 1px 40px); }
.frame::before { left: 0; }
.frame::after { right: 0; }
.ruler { display: flex; justify-content: space-between; padding: 3px clamp(16px, 2vw, 28px) 2px; font-size: .66rem; letter-spacing: .04em; color: var(--contour-ink); font-variant-numeric: tabular-nums; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px) bottom / 100% 5px no-repeat, var(--paper); border-bottom: 1px solid var(--rule); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule-strong); }
.hd__in { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; flex: none; }
.brand__mark { width: 30px; height: 30px; color: var(--ink); }
.brand__name { display: flex; flex-direction: column; }
.brand__scale { font-size: .6rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: var(--s1); margin-left: var(--s4); }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7em; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: .7em; right: .7em; bottom: 6px; height: 3px; background: var(--route); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav a:hover::after { transform: scaleX(.35); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__act { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.hd__acc { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; min-height: 44px; padding: 0 .4em; }
.burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; }
.burger .i { width: 24px; height: 24px; }

/* mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; display: flex; flex-direction: column; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding-inline: var(--gutter); border-bottom: 1px solid var(--ink); }
.sheet__nav { padding: var(--s5) var(--gutter); display: grid; gap: 0; }
.sheet__nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: var(--step-2); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--rule); }
.sheet__nav a[aria-current="page"] { color: var(--route); }
.sheet__acts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: 0 var(--gutter) var(--s5); }
.sheet__langs { margin: auto var(--gutter) var(--s6); background: var(--ink); color: #fff; justify-content: space-between; }
.sheet__langs a { flex: 1; min-height: 48px; }
.sheet__legal { padding: 0 var(--gutter) var(--s6); font-size: var(--step--1); color: var(--ink-3); }

/* ---------- flash ---------- */
.flashes { padding-top: var(--s4); display: grid; gap: var(--s2); }
.flash { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); border: 1px solid var(--ink); background: #fff; }
.flash .i { margin-top: 2px; }
.flash--ok { border-color: var(--forest-ink); background: var(--forest-tint); }
.flash--error { border-color: var(--route); background: var(--route-tint); }
.flash--info { border-color: var(--lake); background: var(--lake-tint); }

/* ---------- hero: the lake field ---------- */
.hero { position: relative; background: var(--lake); color: var(--lake-ink); overflow: hidden; isolation: isolate; }
.hero__topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke: rgba(255,255,255,.32); stroke-width: 1; }
.hero__topo .ix { stroke: #e3a873; stroke-opacity: .75; stroke-width: 1.6; }
.js .hero__topo path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.6s var(--ease-out) forwards; }
.js .hero__topo path:nth-child(3n) { animation-delay: .15s; }
.js .hero__topo path:nth-child(3n+1) { animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.hero__copy { min-width: 0; }
.hero h1 { font-size: var(--step-5); font-weight: 850; letter-spacing: -.03em; line-height: .98; color: #fff; }
.hero h1 em { font-style: italic; font-weight: 700; color: var(--lake-ink-2); }
.hero__sub { margin-top: var(--s5); font-size: var(--step-1); max-width: 34ch; color: var(--lake-ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__note { margin-top: var(--s4); font-size: var(--step--1); color: var(--lake-ink-2); max-width: 46ch; }

/* legend of games inside the lake field */
.legend { min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(8, 30, 54, .55); }
.legend__hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--ink); }
.legend__hd h2 { font-size: var(--step-1); font-weight: 800; }
.legend__hd a { font-size: var(--step--1); }
.legend__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legend__item { position: relative; display: flex; flex-direction: column; min-width: 0; text-decoration: none; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.legend__item:nth-child(3n) { border-right: 0; }
.legend__item:nth-last-child(-n+3) { border-bottom: 0; }
.legend__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lake-deep); }
.legend__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.legend__img--sq img { object-fit: contain; }
.legend__item:hover .legend__img img { transform: scale(1.04); }
.legend__cap { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s2) var(--s3) var(--s3); }
.legend__cap .i { width: 18px; height: 18px; margin-top: 1px; color: var(--contour); }
.legend__name { font-weight: 750; font-size: .9rem; line-height: 1.2; }
.legend__prov { display: block; font-size: .75rem; color: var(--ink-3); font-weight: 500; margin-top: 2px; }

/* the sheet collar at the bottom of the lake field */
.hero__collar { position: relative; background: var(--lake-deep); color: var(--lake-ink); font-size: var(--step--1); border-top: 1px solid rgba(255,255,255,.25); }
.hero__collar::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 40px); }
.hero__collar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s5); min-height: 52px; padding-block: var(--s2); }
.hero__collar dl { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); margin: 0; }
.hero__collar dl div { display: flex; gap: .4em; }
.hero__collar dt { color: var(--lake-ink-2); }
.hero__collar dd { margin: 0; font-weight: 700; color: #fff; }
.coords { display: flex; align-items: center; gap: var(--s4); font-variant-numeric: tabular-nums; color: var(--lake-ink-2); }
.coords output { min-width: 13ch; }
.scalebar { display: inline-flex; flex-direction: column; gap: 2px; font-size: .68rem; }
.scalebar i { display: block; width: 120px; height: 6px; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 0 25%, transparent 25% 50%, currentColor 50% 75%, transparent 75%); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(48px, 6vw, 88px); }
.sec--tight { padding-block: clamp(36px, 4.5vw, 64px); }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec--lake { background: var(--lake); color: var(--lake-ink); border-top: 0 !important; position: relative; isolation: isolate; overflow: hidden; }
.sec--lake + .sec { border-top: 0; }
.sec--forest { background: var(--forest-tint); }
.sec--ink { background: var(--ink); color: #e9ebe6; border-top: 0 !important; }
.sec--deep { background: var(--lake-deep); color: var(--lake-ink); border-top: 0 !important; }
.sec--deep .sh h2 { font-style: italic; font-weight: 750; color: #fff; }
.sec--deep .sh p { color: var(--lake-ink-2); }
.sec--ink + .sec { border-top: 0; }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); flex-wrap: wrap; margin-bottom: var(--s6); }
.sh__t { min-width: 0; max-width: 62ch; }
.sh h2 { font-size: var(--step-4); letter-spacing: -.025em; }
.sh h2 sup { font-size: .38em; font-weight: 700; vertical-align: super; margin-left: .25em; color: var(--contour-ink); letter-spacing: 0; font-variant-numeric: lining-nums; }
.sec--lake .sh h2, .sec--ink .sh h2 { font-style: italic; font-weight: 750; color: #fff; }
.sec--lake .sh h2 sup { color: var(--lake-ink-2); }
.sh p { margin-top: var(--s3); color: var(--ink-2); font-size: var(--step-1); }
.sec--lake .sh p { color: var(--lake-ink-2); }
.sec--ink .sh p { color: #b9bdb4; }

/* category tiles: legend entries with a cover */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.cat { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cat__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lake-deep); border-bottom: 1px solid var(--ink); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat__img--sq img { object-fit: contain; }
.cat:hover .cat__img img { transform: scale(1.035); }
.cat__sym { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--paper); border: 1px solid var(--ink); color: var(--ink); }
.cat__sym .i { width: 24px; height: 24px; }
.cat__body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); flex: 1; }
.cat__body h3 { font-size: var(--step-2); }
.cat__body h3 a { text-decoration: none; }
.cat__body h3 a::after { content: ""; position: absolute; inset: 0; }
.card__desc { color: var(--ink-2); font-size: .95rem; }
.cat__go { margin-top: auto; padding-top: var(--s3); display: flex; flex-wrap: wrap; gap: 2px var(--s3); align-items: center; justify-content: space-between; font-weight: 750; font-size: .95rem; }
.cat__go .i { transition: transform .25s var(--ease-out); }
.cat:hover .cat__go .i { transform: translateX(4px); }
.cat:hover .cat__go { color: var(--route); }
.cat__count { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--ink-3); font-variant-numeric: lining-nums; white-space: nowrap; }

/* horizontal rails of games */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(168px, 19vw, 236px); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s4); scrollbar-width: thin; overscroll-behavior-x: contain; }
.rail__track > * { scroll-snap-align: start; list-style: none; }
.cats > li, .games > li, .provs > li { list-style: none; }
.rail__nav { display: flex; gap: var(--s2); }
.rail__nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; background: transparent; }
.rail__nav button:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.sec--lake .rail__nav button:hover:not([disabled]) { background: #fff; color: var(--lake-deep); border-color: #fff; }
.rail__nav button[disabled] { opacity: .35; cursor: default; }

/* game card */
.game { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--ink); color: var(--ink); }
.game__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--ink); }
.game__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.game__img--contain img { object-fit: contain; padding: 10px; }
.game__img--sq img { object-fit: contain; }
.rail__track > li > .game, .games > li > .game { height: 100%; }
.game:hover .game__img img { transform: scale(1.04); }
.game__body { display: grid; gap: 2px; padding: var(--s3) var(--s3) var(--s4); }
.game__name { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.game__name a { text-decoration: none; }
.game__name a::after { content: ""; position: absolute; inset: 0; }
.game__prov { font-size: .82rem; color: var(--ink-3); }
.game__kind { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 650; color: var(--contour-ink); margin-top: var(--s1); }
.game__kind .i { width: 15px; height: 15px; }
.game__tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--relief-ink); color: #fff; font-size: .72rem; font-weight: 800; padding: .2em .55em; letter-spacing: .02em; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--s4); }

/* providers legend */
.provs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.prov { display: grid; gap: var(--s1); padding: var(--s5) var(--s4) var(--s5) 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.prov + .prov { padding-left: var(--s4); border-left: 1px solid var(--rule); }
.prov__name { font-size: var(--step-2); font-weight: 850; letter-spacing: -.02em; }
.prov__meta { color: var(--ink-3); font-size: .9rem; }
.prov__n { font-variant-numeric: lining-nums; font-weight: 700; color: var(--ink); }

/* info blocks on the home page — map explanatory notes */
.notes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); background: #fff; }
.note { grid-column: span 4; padding: var(--s6) var(--s5); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-width: 0; display: flex; flex-direction: column; gap: var(--s3); }
.note h3 { font-size: var(--step-3); }
.note p { color: var(--ink-2); }
.note .link { margin-top: auto; align-self: flex-start; }
.note--wide { grid-column: span 8; }
.note--licence { grid-column: span 8; background: var(--paper); }
.note--rg { background: var(--forest-tint); }
.notes > .note:nth-child(2n) { border-right: 0; }
.notes > .note:last-child { border-bottom: 0; }
.imprint { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.imprint dt, .imprint dd { padding: .55em 0; border-bottom: 1px solid var(--rule); margin: 0; }
.imprint dt { color: var(--ink-3); padding-right: var(--s5); font-size: .92rem; }
.imprint dd { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.paylogos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.paylogos li { list-style: none; display: grid; place-items: center; gap: var(--s1); min-height: 76px; padding: var(--s3); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; }
.paylogos li > span:last-child { font-size: .74rem; line-height: 1.3; color: var(--ink-3); font-variant-numeric: lining-nums; text-align: center; }
.paylogos li b { display: block; color: var(--ink); font-weight: 700; }
.paylogos .duo { display: flex; gap: 8px; align-items: center; }
.paylogo { width: auto; height: 26px; max-width: 92px; object-fit: contain; }

/* FAQ accordion */
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 60px; padding: var(--s3) 0; cursor: pointer; font-weight: 750; font-size: var(--step-1); list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { transition: transform .25s var(--ease-out); flex: none; }
.qa details[open] summary .i { transform: rotate(180deg); }
.qa summary:hover { color: var(--lake); }
.qa__a { padding: 0 0 var(--s5); max-width: 72ch; color: var(--ink-2); }
.qa__a p + p { margin-top: var(--s3); }
.qa__a a { color: var(--lake-deep); }

/* responsible gambling band */
.rgband { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
.orgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin: 0; list-style: none; }
.orgs--footer { grid-template-columns: 1fr 1fr; }
.orgs--page { grid-template-columns: 1fr 1fr; margin-bottom: var(--s5); }
.org { display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.org__site { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; padding: var(--s3) var(--s3) var(--s2); text-decoration: none; color: var(--ink); }
.org__site:hover { background: var(--paper-2); }
.org__mark { display: grid; place-items: center; height: 76px; }
.org__mark img { max-height: 68px; width: auto; max-width: 100%; object-fit: contain; }
.org__mark--sos img { max-height: 28px; width: 100%; }
.org__mark--esbk { display: flex; align-items: center; justify-content: center; gap: 8px; }
.org__mark--esbk .flag { height: 46px; width: auto; max-height: 46px; }
.org__mark--esbk .name { height: 42px; width: auto; max-height: 42px; max-width: calc(100% - 58px); }
.org__name { font-weight: 800; line-height: 1.2; }
.org__desc { color: var(--ink-3); font-size: .8rem; line-height: 1.35; }
.org__phone { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-top: 1px solid var(--rule); font-weight: 800; font-variant-numeric: lining-nums; text-decoration: none; color: var(--ink); }
.org__phone:hover { background: var(--paper-2); }
.ft .org, .ft .org a, .sec--deep .org, .sec--deep .org a { color: var(--ink); }
.playgate__game { font-weight: 800; }
.playgate__close { justify-self: center; min-height: 44px; padding: 0 var(--s3); background: none; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }

/* ---------- page head (inner pages) ---------- */
.phead { position: relative; border-bottom: 1px solid var(--ink); background-color: var(--paper); background-size: cover; background-position: center; }
.phead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px); opacity: .5; }
.phead__in { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.phead__card { display: inline-block; max-width: min(900px, 100%); padding: var(--s5) var(--s6) var(--s5) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4em; font-size: var(--step--1); color: var(--ink-3); margin-bottom: var(--s4); }
.crumbs a { color: var(--ink-2); }
.crumbs li { list-style: none; display: inline-flex; gap: .4em; }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.phead h1 { font-size: clamp(2.1rem, 1rem + 4vw, 4.25rem); letter-spacing: -.03em; line-height: 1.02; overflow-wrap: break-word; hyphens: auto; }
.phead__lead { margin-top: var(--s4); font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; }
.phead__meta { margin-top: var(--s4); font-size: var(--step--1); color: var(--ink-3); }
.phead__coord { position: absolute; right: var(--gutter); bottom: var(--s3); font-size: .7rem; color: var(--contour-ink); font-variant-numeric: lining-nums; letter-spacing: .04em; }
.phead--lake { background: var(--lake) !important; color: #fff; border-bottom: 0; overflow: hidden; isolation: isolate; }
.phead--lake .phead__card { background: transparent; box-shadow: none; padding-left: 0; }
.phead--lake h1 { font-style: italic; font-weight: 800; }
.phead--lake .phead__lead { color: var(--lake-ink); }
.phead--lake .crumbs, .phead--lake .crumbs a { color: var(--lake-ink-2); }
.phead--lake .phead__coord { color: var(--lake-ink-2); }

/* ---------- documents (legal / info) ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: var(--s8); align-items: start; padding-block: var(--s7) var(--s9); }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: .92rem; border-top: 2px solid var(--ink); padding-top: var(--s3); }
.toc h2 { font-size: var(--step--1); font-weight: 800; margin-bottom: var(--s2); }
.toc ol { list-style: none; display: grid; }
.toc a { display: block; padding: .38em 0 .38em .8em; border-left: 1px solid var(--rule); text-decoration: none; color: var(--ink-2); line-height: 1.3; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--ink); font-weight: 700; }
.prose { max-width: 72ch; min-width: 0; }
.prose section { padding-top: var(--s6); }
.prose section + section { margin-top: var(--s4); border-top: 1px solid var(--rule); }
.prose h2 { font-size: var(--step-3); margin-bottom: var(--s4); letter-spacing: -.02em; }
.prose h3 { font-size: var(--step-1); margin: var(--s5) 0 var(--s2); }
.prose p, .prose ul, .prose ol, .prose dl, .prose .tablewrap { margin-bottom: var(--s4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; padding-left: .2em; }
.prose ul li::marker { color: var(--contour); }
.prose ol li::marker { color: var(--contour-ink); font-weight: 700; font-variant-numeric: lining-nums; }
.prose a { color: var(--lake-deep); font-weight: 600; }
.prose strong { font-weight: 750; }
.prose dl { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.prose dt { font-weight: 800; padding-top: var(--s3); }
.prose dd { margin: 0; padding-bottom: var(--s3); border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.prose .note { display: block; padding: var(--s4) var(--s5); background: var(--lake-tint); border: 1px solid var(--lake); color: var(--ink); grid-column: auto; }
.prose code { font-size: .92em; background: var(--paper-2); padding: .1em .3em; }
.prose .selftest { list-style: none; padding: 0; counter-reset: q; border-top: 1px solid var(--ink); }
.prose .selftest li { counter-increment: q; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.prose .selftest li::before { content: counter(q); font-weight: 800; color: var(--contour-ink); font-variant-numeric: lining-nums; }
.yn { display: inline-flex; border: 1px solid var(--ink); }
.yn label { position: relative; display: grid; place-items: center; min-width: 52px; min-height: 40px; padding: 0 .6em; font-size: .9rem; font-weight: 700; cursor: pointer; }
.yn label + label { border-left: 1px solid var(--ink); }
.yn input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.yn input:checked + span { color: #fff; }
.yn label:has(input:checked) { background: var(--ink); color: #fff; }
.yn label:has(input:focus-visible) { outline: 2px solid var(--route); outline-offset: 2px; }
.selftest__out { padding: var(--s4) var(--s5); border: 1px solid var(--ink); background: #fff; font-weight: 600; }
.selftest__out.is-warn { background: var(--warn-tint); border-color: var(--warn); }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--ink); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .7em .9em; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.table thead th { background: var(--paper-2); font-size: .82rem; font-weight: 800; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: lining-nums; white-space: nowrap; }
.table tbody th { font-weight: 700; }
.paycell { display: flex; align-items: center; gap: var(--s3); }
.paycell .paylogo { height: 22px; max-width: 70px; }
.tablenote { font-size: var(--step--1); color: var(--ink-3); margin-top: var(--s2); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s5); }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > label, .fld legend, .fld__label { font-weight: 700; font-size: .95rem; }
.fld__hint { font-size: .85rem; color: var(--ink-3); }
.fld input[type="text"], .fld input[type="email"], .fld input[type="password"], .fld input[type="tel"], .fld input[type="number"], .fld input[type="file"], .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: .65em .8em; background: #fff; border: 1.5px solid var(--ink); border-radius: 0; font-size: 1rem; }
.fld input[type="file"] { padding: .5em; }
.fld textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px var(--lake-tint); }
.fld input::placeholder, .fld textarea::placeholder { color: #767c84; }
.fld--err input, .fld--err select, .fld--err textarea { border-color: var(--route); background: #fff8f7; }
.fld__err { display: flex; gap: .4em; align-items: flex-start; color: var(--route-deep); font-size: .9rem; font-weight: 600; }
.fld__err .i { width: 1.05em; height: 1.05em; margin-top: 2px; }
.fld fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fld fieldset > legend { padding: 0; margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.row3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.2fr); gap: var(--s3); }
.row-addr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--s4); }
.row-city { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s4); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); align-items: start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--route); }
.pw { position: relative; }
.pw input { padding-right: 6.5em !important; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 .7em; background: var(--paper-2); border: 1px solid var(--rule); font-size: .85rem; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* form shells */
.shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s8); padding-block: var(--s7) var(--s9); align-items: start; }
.panel { background: #fff; border: 1px solid var(--ink); padding: clamp(20px, 3vw, 36px); min-width: 0; }
.panel h2 { font-size: var(--step-3); margin-bottom: var(--s4); }
.panel + .panel { margin-top: var(--s5); }
.aside { display: grid; gap: var(--s5); min-width: 0; }
.aside h2 { font-size: var(--step-2); }
.aside ul { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.aside li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.aside li .i { color: var(--forest); margin-top: 2px; width: 20px; height: 20px; }

/* registration steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin-bottom: var(--s6); border-top: 3px solid var(--rule); counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-top: var(--s3); font-size: .85rem; font-weight: 700; color: var(--ink-3); min-width: 0; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: transparent; }
.steps li.done, .steps li[aria-current="step"] { color: var(--ink); }
.steps li.done::before { background: var(--ink); }
.steps li[aria-current="step"]::before { background: var(--route); }
.steps li span { font-variant-numeric: lining-nums; margin-right: .3em; }
.js .regstep { display: none; }
.js .regstep.is-on { display: grid; }
.regstep { gap: var(--s5); }
.regstep h2 { font-size: var(--step-3); }
.regnav { display: flex; gap: var(--s3); justify-content: space-between; margin-top: var(--s5); }
.regnav .btn:only-child { margin-left: auto; }
.summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .4em var(--s5); margin: 0; padding: var(--s4); background: var(--paper-2); }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.no-js-step-title { display: block; }

/* ---------- account ---------- */
.acc { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: var(--s7); padding-block: var(--s6) var(--s9); align-items: start; }
.accnav { position: sticky; top: 92px; border-top: 2px solid var(--ink); }
.accnav ul { list-style: none; }
.accnav a { display: flex; align-items: center; gap: var(--s3); min-height: 48px; padding: 0 var(--s2); border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 650; }
.accnav a:hover { background: var(--paper-2); }
.accnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.accnav .i { width: 20px; height: 20px; }
.acc__main { min-width: 0; display: grid; gap: var(--s5); }
.state { display: inline-flex; align-items: center; gap: .45em; padding: .3em .7em; font-weight: 750; font-size: .9rem; border: 1px solid currentColor; }
.state--ok { color: var(--forest-ink); background: var(--forest-tint); }
.state--warn { color: var(--warn); background: var(--warn-tint); }
.state--bad { color: var(--route-deep); background: var(--route-tint); }
.state .i { width: 1em; height: 1em; }
.checks { list-style: none; border-top: 1px solid var(--ink); }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.checks .i { width: 22px; height: 22px; margin-top: 1px; }
.checks .ok .i { color: var(--forest-ink); }
.checks .no .i { color: var(--route); }
.checks strong { display: block; }
.checks span { color: var(--ink-2); font-size: .95rem; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); background: #fff; }
.kv > div { padding: var(--s4) var(--s5); border-right: 1px solid var(--rule); min-width: 0; }
.kv > div:last-child { border-right: 0; }
.kv dt { font-size: .85rem; color: var(--ink-3); }
.kv dd { margin: 4px 0 0; font-size: var(--step-2); font-weight: 800; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.vlist { list-style: none; border-top: 1px solid var(--ink); }
.vlist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.vlist strong { display: block; }
.vlist p { color: var(--ink-2); font-size: .92rem; }
.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.limits .fld input { text-align: right; font-variant-numeric: lining-nums; }
.lgroup { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.lgroup legend { font-size: var(--step-2); font-weight: 800; margin-bottom: var(--s3); padding: 0; }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); }
.opts label { position: relative; display: grid; place-items: center; min-height: 64px; padding: var(--s3); text-align: center; font-weight: 800; cursor: pointer; background: #fff; }
.opts label + label { border-left: 1px solid var(--ink); }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts label:has(input:checked) { background: var(--ink); color: #fff; }
.opts label:has(input:focus-visible) { outline: 2px solid var(--route); outline-offset: 2px; z-index: 1; }
.empty { display: grid; gap: var(--s3); justify-items: start; padding: var(--s6); border: 1px dashed var(--ink-3); background: #fff; }
.empty h2, .empty h3 { font-size: var(--step-2); }
.empty p { color: var(--ink-2); max-width: 60ch; }
.danger { border-color: var(--route); }
.danger h2 { color: var(--route-deep); }

/* ---------- game page ---------- */
.gamepage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); padding-block: var(--s6) var(--s8); align-items: start; }
.gamepage__cover { border: 1px solid var(--ink); background: var(--lake-deep); }
.gamepage__cover img { width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; border-top: 1px solid var(--ink); }
.facts dt, .facts dd { margin: 0; padding: .6em 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-3); padding-right: var(--s5); }
.facts dd { font-weight: 700; }

/* ---------- category page tabs ---------- */
.cattabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--ink); scrollbar-width: thin; }
.cattabs a { display: inline-flex; align-items: center; gap: .45em; min-height: 52px; padding: 0 var(--s4); font-weight: 700; text-decoration: none; white-space: nowrap; border-right: 1px solid var(--rule); }
.cattabs a[aria-current="page"] { background: var(--route); color: #fff; }
.cattabs a:hover:not([aria-current]) { background: var(--paper-2); }
.cattabs .i { width: 18px; height: 18px; }

/* ---------- contacts ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); padding-block: var(--s7) var(--s9); align-items: start; }
.addr { font-style: normal; display: grid; gap: var(--s1); font-size: var(--step-1); }

/* ---------- footer: the sheet margin ---------- */
.ft { background: var(--ink); color: #d9dcd4; font-size: .95rem; margin-top: 0; position: relative; }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 40px); }
.ft a { color: #fff; }
.ft__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--s7); padding-block: var(--s8) var(--s6); }
.ft h2 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: var(--s3); }
.ft__links { list-style: none; display: grid; gap: 0; }
.ft__links a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.ft__links a:hover { text-decoration: underline; }
.ft__imprint { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .25em var(--s4); margin: 0; }
.ft__imprint dt { color: #9ea398; }
.ft__imprint dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.ft__help { display: grid; gap: var(--s3); align-content: start; }
.ft__help h2 { margin-bottom: 0; }
.ft__help p { color: #c3c7bd; }
.ft__143 { display: flex; align-items: baseline; gap: var(--s3); font-size: var(--step-1); }
.ft__143 b { font-size: var(--step-4); font-weight: 900; color: #fff; line-height: 1; font-variant-numeric: lining-nums; }
.ft__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s5); border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: #9ea398; }
.ft__bottom .langs a { min-height: 40px; }
.ft__age { display: flex; align-items: center; gap: var(--s3); color: #d9dcd4; }
.ft .age { border-color: #fff; color: #fff; }

/* ---------- age gate & consent ---------- */
.gate { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gutter); background: rgba(13, 38, 66, .82); }
.gate__box { position: relative; width: min(560px, 100%); background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; }
.gate__head { position: relative; background: var(--lake); color: #fff; padding: var(--s6) var(--s6) var(--s5); overflow: hidden; }
.gate__head svg.gate__topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.gate__head .age { position: relative; font-size: 1.1rem; border-color: #fff; color: #fff; margin-bottom: var(--s4); }
.gate__head h2 { position: relative; font-size: var(--step-4); font-style: italic; letter-spacing: -.02em; }
.gate__body { padding: var(--s5) var(--s6) var(--s6); display: grid; gap: var(--s4); }
.gate__btns { display: grid; gap: var(--s3); }
.gate__fine { font-size: .85rem; color: var(--ink-3); }
.gate__no { padding: var(--s4); background: var(--route-tint); border: 1px solid var(--route); }
body.has-gate { overflow: hidden; }
.consent { position: fixed; z-index: 80; left: var(--s4); right: var(--s4); bottom: var(--s4); max-width: 640px; margin-left: auto; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 20px 40px -20px rgba(0,0,0,.45); padding: var(--s5); display: grid; gap: var(--s4); }
.consent p { font-size: .95rem; }
.consent__btns { display: flex; flex-wrap: wrap; gap: var(--s2); }
.consent__btns .btn { flex: 1 1 auto; }
.consent__prefs { display: grid; gap: var(--s3); border-top: 1px solid var(--rule); padding-top: var(--s4); }
.consent__prefs .check small { display: block; color: var(--ink-3); }
.langhint { background: var(--lake-tint); border-bottom: 1px solid var(--lake); font-size: .92rem; }
.langhint .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 44px; }
.langhint button { background: none; border: 0; min-width: 40px; min-height: 40px; display: grid; place-items: center; }
.closed { padding: var(--s6); border: 1px solid var(--route); background: var(--route-tint); display: grid; gap: var(--s3); }

/* ---------- 404 ---------- */
.nf { padding-block: var(--s9); display: grid; gap: var(--s4); justify-items: start; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero__topo path { stroke-dashoffset: 0; animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav a { padding: 0 .5em; }
  .hd__act .btn { padding-inline: .9em; }
}
@media (max-width: 1140px) {
  .nav, .hd__act .btn, .hd__acc span { display: none; }
  .burger { display: inline-flex; }
  .hd__act .hd__acc { display: inline-flex; }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .hero__sub { max-width: 46ch; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prov:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note, .note--wide, .note--licence { grid-column: span 1; border-right: 1px solid var(--ink) !important; border-bottom: 1px solid var(--ink) !important; }
  .note:nth-child(2n), .note--licence { border-right: 0 !important; }
  .note--licence, .note--rg { grid-column: span 2; border-right: 0 !important; }
  .note--full { border-bottom: 0 !important; }
  .note--licence + .note { border-right: 1px solid var(--ink) !important; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
  .ft__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ft__help { grid-column: span 2; }
  .orgs { grid-template-columns: 1fr 1fr; }
  .gamepage { grid-template-columns: minmax(0, 1fr); }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .acc { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .accnav { position: static; border-top: 0; }
  .accnav ul { display: flex; overflow-x: auto; border-bottom: 1px solid var(--ink); scrollbar-width: thin; }
  .accnav a { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .collar__in { min-height: 0; padding-block: 5px; }
  .collar__legal { font-size: .72rem; line-height: 1.35; gap: 0 .6em; }
  .collar__op { flex-basis: 100%; }
  .frame { margin-inline: 0; border-inline: 0; }
  .frame::before, .frame::after, .ruler { display: none; }
  .collar__in { gap: var(--s2); }
  .brand { font-size: 1.15rem; }
  .brand__mark { width: 26px; height: 26px; }
  .legend__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend__item:nth-child(3n) { border-right: 1px solid var(--rule); }
  .legend__item:nth-child(2n) { border-right: 0; }
  .legend__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .legend__item:nth-last-child(-n+2) { border-bottom: 0; }
  .hero__collar .coords { display: none; }
  .legend__item:nth-child(n+5) { display: none; }
  .legend__item:nth-child(3), .legend__item:nth-child(4) { border-bottom: 0 !important; }
  .cats { grid-template-columns: minmax(0, 1fr); }
  .cat__sym { width: 32px; height: 32px; left: 6px; top: 6px; }
  .cat__sym .i { width: 20px; height: 20px; }
  .cat__body { padding: var(--s3); }
  .cat__body h3 { font-size: var(--step-1); }
  .card__desc { font-size: .88rem; }
  .provs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prov:nth-child(3n+1) { padding-left: var(--s4); border-left: 1px solid var(--rule); }
  .prov:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .note, .note--wide, .note--licence { grid-column: span 1; border-right: 0 !important; padding: var(--s5) var(--s4); }
  .imprint { grid-template-columns: minmax(0, 1fr); }
  .imprint dt { padding-bottom: 0; border-bottom: 0; }
  .imprint dd { padding-top: .1em; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .ft__top { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .ft__help { grid-column: auto; }
  .row2, .row-addr, .row-city { grid-template-columns: minmax(0, 1fr); }
  .row-addr { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .row-city { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .limits { grid-template-columns: minmax(0, 1fr); }
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts label:nth-child(3) { border-left: 0; }
  .opts label:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .steps li { font-size: .75rem; }
  .steps li b { display: none; }
  .steps li[aria-current="step"] b { display: inline; }
  .steps li[aria-current="step"] { grid-column: span 2; }
  .phead__card { padding-right: var(--s4); }
  .phead__coord { display: none; }
  .prose .selftest li { grid-template-columns: 1.6em minmax(0, 1fr); }
  .prose .selftest li .yn { grid-column: 2; justify-self: start; }
  .consent { left: var(--s2); right: var(--s2); bottom: var(--s2); padding: var(--s4); }
  .gate__head, .gate__body { padding-inline: var(--s5); }
  .table th, .table td { padding: .6em .65em; }
  .rail__nav { display: none; }
}
@media (max-width: 400px) {
  .langs a { min-width: 32px; padding: 0 .2em; }
  .orgs--page, .orgs--band { grid-template-columns: 1fr; }
}

/* promotions built from lobby covers */
.promos { display: grid; gap: var(--s5); list-style: none; margin: 0; }
.promo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); background: #fff; border: 1px solid var(--ink); min-width: 0; }
.promo__art { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 11; background: var(--paper-2); border-right: 1px solid var(--ink); min-width: 0; }
.promo__cover { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; position: relative; }
.promo__cover:first-child { grid-row: 1 / span 2; border-right: 1px solid var(--ink); }
.promo__cover:nth-child(2) { border-bottom: 1px solid var(--ink); }
.promo__cover img { width: 100%; height: 100%; object-fit: contain; }
.promo__body { display: grid; align-content: start; gap: var(--s3); padding: clamp(16px, 2.4vw, 28px); min-width: 0; }
.promo__kicker { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--contour-ink); }
.promo__body h2 { font-size: var(--step-3); }
.promo__body h3 { font-size: 1rem; }
.promo__valid { color: var(--ink-3); font-variant-numeric: lining-nums tabular-nums; }
.promo__body ul { display: grid; gap: var(--s2); margin: 0; padding-left: 1.15em; color: var(--ink-2); }
.promo__games { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-weight: 750; }
.sim__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2) var(--s4); margin: 0 0 var(--s4); }
.sim__facts dt { color: var(--ink-3); }
.sim__facts dd { margin: 0; font-weight: 750; font-variant-numeric: lining-nums tabular-nums; }
.sim__actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
@media (max-width: 800px) {
  .promo { grid-template-columns: minmax(0, 1fr); }
  .promo__art { border-right: 0; border-bottom: 1px solid var(--ink); aspect-ratio: 4 / 3; }
}

/* payment method picker */
.paypick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.paypick label { position: relative; display: grid; justify-items: center; gap: 4px; padding: var(--s4) var(--s3); background: #fff; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); cursor: pointer; text-align: center; }
.paypick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.paypick__logo { display: flex; gap: 6px; align-items: center; min-height: 30px; }
.paypick__name { font-weight: 750; font-size: .9rem; }
.paypick__lim { font-size: .78rem; color: var(--ink-3); font-variant-numeric: lining-nums; }
.paypick label:has(input:checked) { box-shadow: inset 0 0 0 3px var(--ink); }
.paypick label:has(input:focus-visible) { outline: 2px solid var(--route); outline-offset: -5px; }
.paypick label:has(input:disabled) { cursor: not-allowed; opacity: .6; }
.regstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.regstep > legend { padding: 0; margin-bottom: var(--s2); }
.note--full { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 0 !important; }
.phead--lake .hero__topo { z-index: -1; }
.phead--lake .phead__in { z-index: 1; }
.phead--lake::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 1px, transparent 1px 40px); opacity: 1; z-index: 1; }

/* contours stay behind copy: faded where text sits */
.hero > .hero__topo { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 0 34%, #000 58%); mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 0 34%, #000 58%); }
.phead--lake > .hero__topo { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.14) 0 46%, #000 72%); mask-image: linear-gradient(90deg, rgba(0,0,0,.14) 0 46%, #000 72%); }
@media (max-width: 1140px) {
  .hero > .hero__topo { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 0 30%, #000 55%); mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 0 30%, #000 55%); }
  .phead--lake > .hero__topo { -webkit-mask-image: none; mask-image: none; opacity: .25; }
}
@media (max-width: 720px) {
  .rail__track { grid-auto-columns: 44%; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scroll-padding-inline: 0; }
  .phead { background-image: none !important; }
}
