/* Components of the approved mockup A · Wayfinding + the states it did not draw.
 * Mockup source: buttons (.btn--sign / .btn--line), sign plate, section head with gate
 * number, tabs, game card, RG tiles, stop band, 18+ roundel.
 * Designed here in the same language (S3.2): fields, switch, tables, accordion,
 * steps, notices, status pills, provider tile, page head, crumbs, overlays. */

/* ── type helpers ─────────────────────────────────────────────────────── */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-brand); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: var(--fs-lead); color: var(--color-text-2); max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--color-muted); }
a.link, .prose a, .note a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }
a.link:hover, .prose a:hover { color: var(--color-brand-hover); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius);
  background: transparent; color: inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 700 15px/1 var(--font-body); letter-spacing: .01em;
  transition: transform var(--dur-base) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--sign { background: var(--color-brand); color: var(--color-brand-ink); }
.btn--sign:hover { background: var(--color-brand-hover); }
.btn--sign:active { background: var(--color-brand-active); }
.btn--line { box-shadow: inset 0 0 0 1px var(--color-text-2); color: var(--color-text); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--color-brand); color: var(--color-brand); }
.btn--ghost { color: var(--color-text-2); text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px; }
.btn--ghost:hover { color: var(--color-brand); }
.btn--dark { background: var(--color-brand-ink); color: var(--color-brand); }
.btn--dark:hover { background: #000; }
.btn--danger { box-shadow: inset 0 0 0 1px var(--color-error); color: var(--color-error); }
.btn--danger:hover { background: var(--color-error); color: var(--color-brand-ink); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--icon { width: 44px; padding: 0; box-shadow: inset 0 0 0 1px var(--color-border); }
.btn--icon:hover { box-shadow: inset 0 0 0 1px var(--color-text-2); }
.btn--block { width: 100%; }

/* ── 18+ roundel ──────────────────────────────────────────────────────── */
.age { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border: 2px solid currentColor; border-radius: var(--radius-pill); font: 800 13px/1 var(--font-display); color: var(--color-text); text-decoration: none; }
a.age:hover { color: var(--color-brand); }
.age--lg { width: 52px; height: 52px; font-size: 16px; }

/* ── sign plate (signature 1) ─────────────────────────────────────────── */
.board { display: grid; gap: 6px; }
.sign {
  position: relative; display: grid; grid-template-columns: 72px 64px minmax(0, 1fr) auto 72px; align-items: center;
  min-height: 84px; background: var(--color-brand); color: var(--color-brand-ink);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform var(--dur-slow) var(--ease), background-color var(--dur-fast) var(--ease);
}
.sign:hover { transform: translateX(6px); background: var(--color-sign-hover); }
.sign__code { display: grid; place-items: center; height: 100%; background: var(--color-brand-ink); color: var(--color-brand); font: 800 26px/1 var(--font-display); font-stretch: 62%; }
.sign__pic { display: grid; place-items: center; }
.sign__pic .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.sign__name { font: 900 var(--fs-sign)/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; }
.sign__desc { font: 500 14px/1.35 var(--font-body); padding-right: 24px; max-width: 36ch; text-align: right; }
.sign__go { display: grid; place-items: center; height: 100%; border-left: 2px solid rgb(17 20 24 / .18); }
.sign__go .icon { width: 32px; height: 32px; stroke-width: 2.6; transition: transform var(--dur-slow) var(--ease); }
.sign:hover .sign__go .icon { transform: translateX(5px); }
.sign--dark { background: var(--color-surface-2); color: var(--color-text); }
.sign--dark:hover { background: var(--color-surface-hover); }
.sign--dark .sign__code { background: var(--color-brand); color: var(--color-brand-ink); }
.sign--dark .sign__go { border-left-color: var(--color-border); }
.sign--sm { min-height: 64px; grid-template-columns: 56px 48px minmax(0, 1fr) auto 56px; }
.sign--sm .sign__name { font-size: clamp(20px, 2vw, 28px); }
.sign--sm .sign__code { font-size: 20px; }
.sign--sm .sign__pic .icon { width: 26px; height: 26px; }
.sign--sm .sign__go .icon { width: 24px; height: 24px; }

/* ── section head with gate number (signature 3) ──────────────────────── */
.sec__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 28px; }
.sec__no { flex: none; font: 700 13px/1 var(--font-mono); color: var(--color-bg); background: var(--color-brand); padding: 6px 8px; border-radius: var(--radius-sm); }
.sec__title { font: 900 var(--fs-h2)/1 var(--font-display); font-stretch: var(--stretch-h2); text-transform: uppercase; letter-spacing: -.01em; }
.sec__more { position: relative; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--color-brand); text-decoration: none; }
.sec__more .icon { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease); }
.sec__more:hover .icon { transform: translateX(4px); }
.sec__intro { margin: -12px 0 28px; max-width: 70ch; color: var(--color-text-2); }

/* ── tabs (links or buttons) ─────────────────────────────────────────── */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--color-border); border-radius: var(--radius); background: transparent;
  color: var(--color-text-2); font: 600 14px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.tab .icon { width: 16px; height: 16px; }
.tab:hover { border-color: var(--color-muted); color: var(--color-text); }
.tab[aria-current], .tab[aria-selected="true"] { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.tab__n { font: 500 11px/1 var(--font-mono); opacity: .7; }

/* ── game card (signature 2: gate code + yellow platform line) ────────── */
.ggrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gcard { position: relative; min-width: 0; }
.gcard__link { display: block; height: 100%; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform var(--dur-slow) var(--ease), border-color var(--dur-fast) var(--ease); }
.gcard__link:hover, .gcard__link:focus-visible { transform: translateY(-4px); border-color: var(--color-brand); }
.gcard__img { position: relative; display: block; aspect-ratio: 1; background: var(--color-surface-2); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; }
.gcard__code { position: absolute; left: 8px; top: 8px; font: 700 11px/1 var(--font-mono); background: var(--color-brand); color: var(--color-brand-ink); padding: 5px 6px; border-radius: var(--radius-sm); }
.gcard__flag { position: absolute; right: 8px; top: 8px; font: 800 10px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; background: var(--color-go); color: #07130C; padding: 5px 7px; border-radius: var(--radius-sm); }
.gcard__flag--dark { background: var(--color-brand-ink); color: var(--color-brand); }
.gcard__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(15 18 22 / .72); opacity: 0; transition: opacity var(--dur-base) var(--ease); }
.gcard__play > span { display: inline-flex; align-items: center; gap: 8px; background: var(--color-brand); color: var(--color-brand-ink); font-weight: 800; padding: 12px 16px; border-radius: var(--radius); transform: translateY(8px); transition: transform var(--dur-slow) var(--ease); }
.gcard__play .icon { width: 16px; height: 16px; fill: currentColor; }
.gcard__link:hover .gcard__play, .gcard__link:focus-visible .gcard__play { opacity: 1; }
.gcard__link:hover .gcard__play > span, .gcard__link:focus-visible .gcard__play > span { transform: none; }
.gcard__meta { display: grid; gap: 4px; padding: 12px 12px 14px; border-top: 3px solid var(--color-brand); }
.gcard__name { font: 800 15px/1.2 var(--font-display); font-stretch: var(--stretch-card); overflow-wrap: anywhere; }
.gcard__prov { font: 500 12px/1.3 var(--font-mono); color: var(--color-muted); }
.gcard__date { font: 500 12px/1 var(--font-mono); color: var(--color-go); }
.grid-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
.grid-count { font: 500 13px/1 var(--font-mono); color: var(--color-muted); }
.ggrid.is-loading { opacity: .6; transition: opacity var(--dur-base) var(--ease); }

/* ── filters ──────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 24px; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.filters__search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); color: var(--color-muted); }
.filters__search:focus-within { border-color: var(--color-brand); box-shadow: var(--focus-ring); }
.filters__search .icon { width: 18px; height: 18px; flex: none; }
.filters__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--color-text); outline: none; }
.filters__search input::placeholder { color: var(--color-muted); }
.filters__sel { display: grid; gap: 4px; flex: 0 1 220px; }
.filters__sel label { font: 700 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.filters select, .field select {
  appearance: none; height: 44px; padding: 0 40px 0 14px; width: 100%;
  border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); cursor: pointer;
  background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B9BEC6' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.filters select:focus, .field select:focus { border-color: var(--color-brand); box-shadow: var(--focus-ring); outline: none; }
.filters__check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.filters__check input { width: 18px; height: 18px; accent-color: var(--color-brand); }

/* ── empty / notice / status ──────────────────────────────────────────── */
.empty { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border: 1px dashed var(--color-border); border-radius: var(--radius); }
.empty__code { display: grid; place-items: center; flex: none; width: 56px; height: 56px; background: var(--color-surface-2); color: var(--color-brand); font: 900 26px/1 var(--font-display); border-radius: var(--radius); }
.empty .icon { width: 26px; height: 26px; }
.empty__title { font: 800 20px/1.2 var(--font-display); font-stretch: 85%; text-transform: uppercase; margin-bottom: 6px; }
.empty p { color: var(--color-text-2); max-width: 60ch; }
.empty .btn { margin-top: 14px; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--color-surface); border-left: 4px solid var(--color-brand); color: var(--color-text-2); font-size: 15px; }
.note .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--color-brand); }
.note--ok { border-left-color: var(--color-go); } .note--ok .icon { color: var(--color-go); }
.note--err { border-left-color: var(--color-error); } .note--err .icon { color: var(--color-error); }
.note strong { color: var(--color-text); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--radius-sm); font: 700 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--color-surface-2); color: var(--color-text-2); white-space: nowrap; }
.pill--ok { background: rgb(63 191 127 / .16); color: var(--color-go); }
.pill--wait { background: rgb(255 201 40 / .14); color: var(--color-brand); }
.pill--err { background: rgb(255 122 92 / .14); color: var(--color-error); }

/* ── page head / crumbs ───────────────────────────────────────────────── */
.phead { padding: 40px var(--page-pad) 36px; border-bottom: 1px solid var(--color-border); }
.phead__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.phead__h1 { margin-top: 16px; font: 900 var(--fs-h1-page)/.9 var(--font-display); font-stretch: var(--stretch-display); text-transform: uppercase; letter-spacing: -.02em; overflow-wrap: anywhere; }
.phead__h1 em { font-style: normal; color: var(--color-brand); }
.phead__lead { margin-top: 16px; max-width: 62ch; font-size: var(--fs-lead); color: var(--color-text-2); }
.phead__aside { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; font: 500 12px/1.4 var(--font-mono); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--color-border); }
.crumbs a { position: relative; color: var(--color-text-2); text-decoration: none; }
.crumbs a::after { content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%; height: 100%; min-height: 24px; }
.crumbs a:hover { color: var(--color-brand); }

/* ── RG tiles (from the mockup) ───────────────────────────────────────── */
.rg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.rg__item { background: var(--color-surface); padding: 24px; display: grid; gap: 12px; align-content: start; transition: background-color var(--dur-fast) var(--ease); }
.rg__item:hover { background: var(--color-surface-2); }
.rg__pic { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--color-text); border-radius: var(--radius); font: 900 18px/1 var(--font-display); }
.rg__pic .icon { width: 28px; height: 28px; }
.rg__item h3 { font: 800 var(--fs-h3)/1.1 var(--font-display); font-stretch: 85%; text-transform: uppercase; }
.rg__item p { font-size: 14px; color: var(--color-text-2); }
.rg__item a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 700; font-size: 14px; color: var(--color-brand); text-decoration: none; }
.rg__item a .icon { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease); }
.rg__item a:hover .icon { transform: translateX(3px); }

/* ── stop band ────────────────────────────────────────────────────────── */
.stop { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 22px var(--page-pad); background: var(--color-brand); color: var(--color-brand-ink); text-align: center; }
.stop p { font: 900 clamp(18px, 2.2vw, 28px)/1.1 var(--font-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .01em; }
.stop .age { border-color: var(--color-brand-ink); color: var(--color-brand-ink); width: 48px; height: 48px; font-size: 16px; }

/* ── provider tile ────────────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ptile { display: grid; grid-template-rows: 88px auto auto auto; gap: 6px; padding: 14px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; transition: transform var(--dur-slow) var(--ease), border-color var(--dur-fast) var(--ease); }
.ptile:hover { transform: translateY(-3px); border-color: var(--color-brand); }
.ptile__logo { display: grid; place-items: center; background: var(--color-surface-2); border-radius: var(--radius-sm); padding: 12px; overflow: hidden; }
.ptile__logo img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(2.2); }
.ptile__mono { font: 900 30px/1 var(--font-display); font-stretch: 62%; color: var(--color-brand); letter-spacing: .02em; }
.ptile__name { margin-top: 6px; font: 800 17px/1.15 var(--font-display); font-stretch: 85%; }
.ptile__count { font: 500 12px/1 var(--font-mono); color: var(--color-muted); }
.ptile__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--color-brand); }
.ptile__go .icon { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease); }
.ptile:hover .ptile__go .icon { transform: translateX(3px); }

/* ── fields ───────────────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__row--3 { grid-template-columns: 2fr 1fr 1fr; }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font: 700 13px/1.2 var(--font-body); color: var(--color-text); }
.field__hint { font-size: 13px; color: var(--color-muted); }
.field input:not([type="checkbox"]):not([type="radio"]):not(.visually-hidden), .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-bg); color: var(--color-text); font-size: 16px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 140px; padding-block: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E7580; }
.field input:hover, .field textarea:hover { border-color: var(--color-muted); }
.field input:focus, .field textarea:focus { border-color: var(--color-brand); box-shadow: var(--focus-ring); outline: none; }
.field input:disabled { opacity: .55; cursor: not-allowed; }
.field__error { color: var(--color-error); font-size: 13px; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-error); }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-brand); cursor: pointer; }
.field--check .field__label { font-weight: 500; font-size: 15px; color: var(--color-text-2); }
.field--check .field__label a { color: var(--color-brand); text-decoration: underline; }
.field--check .field__error { grid-column: 2; }
.form__error { padding: 12px 14px; border-radius: var(--radius); background: rgb(255 122 92 / .1); color: var(--color-error); font-weight: 600; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.done { display: grid; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--color-surface); border-left: 4px solid var(--color-go); }
.done__title { font: 800 22px/1.1 var(--font-display); font-stretch: 85%; text-transform: uppercase; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.choice label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label:hover { border-color: var(--color-muted); }
.choice label:has(input:checked) { background: var(--color-brand); color: var(--color-brand-ink); border-color: var(--color-brand); }
.choice label:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.amount { position: relative; }
.amount::before { content: "€"; position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--color-muted); font-weight: 700; pointer-events: none; }
.field .amount input { padding-left: 32px; }

/* switch (cookie preferences) */
.switch { position: relative; display: inline-flex; flex: none; width: 52px; height: 30px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch__ui { width: 100%; height: 100%; border-radius: 15px; background: var(--color-surface-2); box-shadow: inset 0 0 0 1px var(--color-border); transition: background-color var(--dur-base) var(--ease); }
.switch__ui::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-text-2); transition: transform var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
.switch input:checked + .switch__ui { background: var(--color-brand); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); background: var(--color-brand-ink); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { box-shadow: var(--focus-ring); }

/* ── table ────────────────────────────────────────────────────────────── */
.tablewrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; padding: 12px 16px; background: var(--color-surface-2); font: 700 11px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-2); white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--color-border); vertical-align: middle; }
.table tbody tr { transition: background-color var(--dur-fast) var(--ease); }
.table tbody tr:hover { background: var(--color-surface); }
.table .num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }

/* ── accordion (FAQ) ──────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--color-border); }
.acc__item { border-bottom: 1px solid var(--color-border); }
.acc__q { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 14px 0; border: 0; background: none; color: var(--color-text); text-align: left; cursor: pointer; font: 700 17px/1.3 var(--font-body); }
.acc__q:hover { color: var(--color-brand); }
.acc__q .icon { width: 20px; height: 20px; margin-left: auto; flex: none; transition: transform var(--dur-base) var(--ease); }
.acc__q[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--color-brand); }
.acc__a > div > div { padding: 0 44px 20px 0; color: var(--color-text-2); display: grid; gap: 10px; }
.acc__a a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 3px; }

/* ── steps (registration) ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 4px; counter-reset: s; }
.steps li { display: grid; gap: 8px; font: 600 12px/1.2 var(--font-body); color: var(--color-muted); }
.steps li::before { content: ""; height: 6px; border-radius: 1px; background: var(--color-surface-2); transition: background-color var(--dur-slow) var(--ease); }
.steps li.is-done::before { background: var(--color-go); }
.steps li.is-on::before { background: var(--color-brand); }
.steps li.is-on { color: var(--color-text); }
.checks { display: grid; gap: 8px; }
.check-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.check-row__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--color-surface-2); }
.check-row__ic .icon { width: 22px; height: 22px; }
.check-row.is-ok .check-row__ic { background: rgb(63 191 127 / .16); color: var(--color-go); }
.check-row.is-fail .check-row__ic { background: rgb(255 122 92 / .14); color: var(--color-error); }
.check-row__t { font-weight: 700; }
.check-row__d { font-size: 14px; color: var(--color-text-2); }

/* ── prose (legal, long text) ─────────────────────────────────────────── */
.prose { max-width: var(--read); display: grid; gap: 14px; color: var(--color-text-2); font-size: 16.5px; line-height: 1.7; }
.prose h2 { margin-top: 24px; font: 900 clamp(22px, 2.4vw, 30px)/1.1 var(--font-display); font-stretch: 82%; text-transform: uppercase; color: var(--color-text); scroll-margin-top: 90px; }
.prose h3 { margin-top: 8px; font: 800 19px/1.25 var(--font-display); font-stretch: 90%; color: var(--color-text); }
.prose ul, .prose ol { display: grid; gap: 6px; padding-left: 22px; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--color-brand); }
.prose strong { color: var(--color-text); }
.toc { position: sticky; top: calc(var(--strip-h) + 24px); align-self: start; display: grid; gap: 2px; padding: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.toc__t { font: 700 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 10px; }
.toc a { position: relative; display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--color-border); color: var(--color-text-2); text-decoration: none; font-size: 14px; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.toc a:hover, .toc a.is-on { color: var(--color-brand); border-left-color: var(--color-brand); }
.withtoc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }

/* ── overlays ─────────────────────────────────────────────────────────── */
.overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; background: var(--scrim); opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.overlay.is-open { opacity: 1; }
.overlay__panel { width: min(100%, 520px); max-height: 92vh; overflow: auto; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; transform: translateY(10px); transition: transform var(--dur-slow) var(--ease); }
.overlay.is-open .overlay__panel { transform: none; }
.overlay--gate { z-index: var(--z-gate); background: rgb(5 6 8 / .94); }
.gate { width: min(100%, 560px); padding: 0; overflow: hidden; }
.gate__plate { display: grid; grid-template-columns: 88px 1fr; align-items: stretch; background: var(--color-brand); color: var(--color-brand-ink); }
.gate__code { display: grid; place-items: center; min-height: 72px; background: var(--color-brand-ink); color: var(--color-brand); font: 900 28px/1 var(--font-display); font-stretch: 70%; }
.gate__brand { display: flex; align-items: center; padding: 0 20px; font: 900 26px/1 var(--font-display); font-stretch: 75%; text-transform: uppercase; }
.gate__title { padding: 28px 28px 0; font: 900 clamp(28px, 4vw, 40px)/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
.gate__text { padding: 12px 28px 0; color: var(--color-text-2); }
.gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 24px 28px; }
.gate__rg { display: flex; align-items: center; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--color-border); font: 800 15px/1.2 var(--font-display); font-stretch: 85%; text-transform: uppercase; }

.cookiebar { position: fixed; left: calc(var(--rail-w) + 16px); right: 16px; bottom: 16px; z-index: var(--z-overlay); background: var(--color-surface); border: 1px solid var(--color-border); border-top: 4px solid var(--color-brand); border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .9); animation: cb-in var(--dur-slow) var(--ease) both; }
@keyframes cb-in { from { transform: translateY(16px); opacity: 0; } }
.cookiebar__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 20px 24px; }
.cookiebar__title { display: flex; align-items: center; gap: 10px; font: 900 20px/1.1 var(--font-display); font-stretch: 85%; text-transform: uppercase; margin-bottom: 6px; }
.cookiebar__title .icon { width: 22px; height: 22px; color: var(--color-brand); }
.cookiebar p { font-size: 14px; color: var(--color-text-2); max-width: 70ch; }
.cookiebar p a { color: var(--color-brand); text-decoration: underline; }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cprefs { width: min(100%, 600px); }
.cprefs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cprefs__title { font: 900 26px/1 var(--font-display); font-stretch: 80%; text-transform: uppercase; }
.cprefs__intro { margin: 10px 0 16px; color: var(--color-text-2); font-size: 15px; }
.cpref { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-top: 1px solid var(--color-border); }
.cpref__text { flex: 1; }
.cpref__label { font-weight: 800; }
.cpref p { font-size: 14px; color: var(--color-text-2); }
.cprefs__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.modal__title { font: 900 26px/1.05 var(--font-display); font-stretch: 80%; text-transform: uppercase; margin-bottom: 10px; }

/* Icons inherit colour and take size from CSS. */
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; }
.icon--missing { display: inline-block; width: 1em; height: 1em; outline: 1px dashed var(--color-error); }

/* ── responsive components ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sign__desc { display: none; }
  .sign { grid-template-columns: 72px 64px minmax(0, 1fr) 72px; }
  .sign--sm { grid-template-columns: 56px 48px minmax(0, 1fr) 56px; }
  .rg { grid-template-columns: 1fr 1fr; }
  .withtoc { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 900px) {
  .ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .phead__row { grid-template-columns: 1fr; }
  .cookiebar { left: 12px; right: 12px; bottom: 72px; }
  .cookiebar__in { grid-template-columns: 1fr; padding: 16px; }
  .cookiebar__actions { justify-content: stretch; }
  .cookiebar__actions .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); }
  .steps li span { display: none; }
}
@media (max-width: 620px) {
  .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .filters { gap: 10px; padding: 12px; }
  .filters__search { flex: 1 1 100%; }
  .filters__sel { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .filters__go { margin-left: auto; }
}
@media (max-width: 520px) {
  .sign { grid-template-columns: 52px 44px minmax(0, 1fr) 52px; min-height: 68px; }
  .sign__code { font-size: 20px; }
  .sign__pic .icon { width: 26px; height: 26px; }
  .sign__go .icon { width: 24px; height: 24px; }
  .sign--sm { grid-template-columns: 44px 36px minmax(0, 1fr) 44px; min-height: 56px; }
  .rg { grid-template-columns: 1fr; }
  .gate__actions { grid-template-columns: 1fr; }
  .gate__title { padding: 22px 20px 0; } .gate__text { padding: 10px 20px 0; } .gate__actions { padding: 20px; } .gate__rg { padding: 14px 20px; }
  .overlay__panel { padding: 20px; }
  .gcard__meta { padding: 10px 10px 12px; }
  .gcard__name { font-size: 14px; }
  .stop { padding-block: 18px; }
  .empty { flex-direction: column; }
}

/* long legal tables scroll inside the text column, never the page */
.withtoc > * { min-width: 0; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose > * { min-width: 0; }

/* tabs stay one line and scroll sideways instead of leaving one tab on a row of its own */
.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs > * { flex: none; }

/* a sign without a description has four columns, not five */
.sign:not(:has(.sign__desc)) { grid-template-columns: 72px 64px minmax(0, 1fr) 72px; }
.sign--sm:not(:has(.sign__desc)) { grid-template-columns: 56px 48px minmax(0, 1fr) 56px; }
@media (max-width: 520px) {
  .sign:not(:has(.sign__desc)) { grid-template-columns: 52px 44px minmax(0, 1fr) 52px; }
}
@media (max-width: 389px) {
  .sign .sign__pic { display: none; }
  .sign, .sign:not(:has(.sign__desc)) { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .sign__name { padding-left: 12px; }
}
.field .amount input:not([type="checkbox"]):not([type="radio"]):not(.visually-hidden) { padding-left: 32px; }

/* search fields: the ring sits on the input itself (visible, measurable), not only on the wrapper */
.search input:focus-visible, .filters__search input:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 10px; border-radius: 1px; }
.help-search input:focus-visible { outline: 2px solid var(--color-brand-ink); outline-offset: 6px; }
.search:focus-within, .filters__search:focus-within { box-shadow: none; }

/* ── "Nu vertrekkend" departure ticker (signature motion) ─────────────── */
.tick { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; background: #0B0D10; border-block: 1px solid var(--color-border); overflow: hidden; }
.tick__label { display: flex; align-items: center; gap: 10px; padding: 0 22px 0 var(--page-pad); background: var(--color-brand); color: var(--color-brand-ink); font: 900 15px/1 var(--font-display); font-stretch: 78%; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; position: relative; z-index: 1; }
.tick__label::after { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgb(11 13 16 / .9), transparent); }
.tick__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-brand-ink); animation: tick-blink 1.6s steps(2, start) infinite; }
@keyframes tick-blink { to { visibility: hidden; } }
.tick__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tick__track { display: flex; width: max-content; gap: 6px; padding: 10px 0; animation: tick-run 90s linear infinite; }
.tick:hover .tick__track, .tick:focus-within .tick__track { animation-play-state: paused; }
@keyframes tick-run { to { transform: translateX(-50%); } }
.tick__item { display: grid; grid-template-columns: 56px auto; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.tick__item:hover, .tick__item:focus-visible { border-color: var(--color-brand); background: var(--color-surface-2); }
.tick__img img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.tick__txt { display: grid; gap: 3px; white-space: nowrap; }
.tick__code { font: 700 11px/1 var(--font-mono); color: var(--color-brand); }
.tick__name { font: 800 15px/1.1 var(--font-display); font-stretch: 88%; }
.tick__prov { font: 500 11px/1 var(--font-mono); color: var(--color-muted); }

/* ── "Uitgelicht" feature banner built from game art ──────────────────── */
.fbans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fbans > .fban--wide { grid-column: 1 / -1; }
.fban { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 360px; padding: 40px 48px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.fban__bg { position: absolute; inset: 0; z-index: -2; }
.fban__bg picture, .fban__bg img { width: 100%; height: 100%; }
.fban__bg img { object-fit: cover; transform: scale(1.3); filter: blur(22px) saturate(1.7) brightness(.95); }
.fban::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 18 22 / .9) 0%, rgb(15 18 22 / .62) 42%, rgb(15 18 22 / 0) 78%), repeating-linear-gradient(90deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 64px); }
.fban::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--color-brand); }
.fban__body { display: grid; gap: 14px; align-content: center; justify-items: start; max-width: 520px; }
.fban__kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-brand); }
.fban__code { padding: 5px 7px; border-radius: var(--radius-sm); background: var(--color-brand); color: var(--color-brand-ink); letter-spacing: 0; }
.fban__title { font: 900 clamp(34px, 4.4vw, 68px)/.9 var(--font-display); font-stretch: 72%; text-transform: uppercase; letter-spacing: -.01em; }
.fban__text { color: var(--color-text-2); font-size: 17px; max-width: 42ch; }
.fban__meta { font: 500 12px/1 var(--font-mono); color: var(--color-muted); }
.fban__art { justify-self: end; width: min(100%, 340px); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .08); transform: rotate(-4deg) translateY(4px); transition: transform var(--dur-slow) var(--ease); border-bottom: 5px solid var(--color-brand); }
.fban:hover .fban__art { transform: rotate(-1.5deg) translateY(-4px); }
.fban__art img { width: 100%; height: 100%; object-fit: cover; }
.fban--half { min-height: 300px; padding: 32px; grid-template-columns: minmax(0, 1fr) 190px; }
.fban--half .fban__title { font-size: clamp(28px, 2.8vw, 42px); }
.fban--half .fban__text { font-size: 15px; }
.fban--half .fban__art { width: 190px; }

/* ── artwork banner slot (generated images, when present) ─────────────── */
.artban { position: relative; isolation: isolate; min-height: 380px; display: grid; align-items: end; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.artban > picture { position: absolute; inset: 0; z-index: -2; }
.artban > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.artban::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 18 22 / .92) 0%, rgb(15 18 22 / .6) 45%, rgb(15 18 22 / 0) 75%); }
.artban__body { display: grid; gap: 14px; justify-items: start; padding: 44px 48px; max-width: 620px; }

@media (max-width: 1100px) {
  .fbans { grid-template-columns: 1fr; }
  .fban--half { grid-template-columns: minmax(0, 1fr) 170px; }
  .fban--half .fban__art { width: 170px; }
}
@media (max-width: 720px) {
  .fban, .fban--half { grid-template-columns: 1fr; padding: 28px 20px 32px; min-height: 0; gap: 20px; }
  .fban__art, .fban--half .fban__art { order: -1; justify-self: start; width: 150px; }
  .fban::before { background: linear-gradient(180deg, rgb(15 18 22 / .5) 0%, rgb(15 18 22 / .92) 55%); }
  .tick__label { padding-left: 16px; padding-right: 14px; font-size: 13px; }
  .tick__item { grid-template-columns: 44px auto; padding-right: 14px; }
  .tick__img img { width: 44px; height: 44px; }
  .artban__body { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tick__track { animation: none; }
  .tick__viewport { overflow-x: auto; scrollbar-width: none; }
  .tick__track > [aria-hidden="true"] { display: none; }
  .tick__dot { animation: none; }
}
.artban::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--color-brand); }
@media (max-width: 720px) {
  .artban { min-height: 420px; }
  .artban::before { background: linear-gradient(180deg, rgb(15 18 22 / .15) 0%, rgb(15 18 22 / .75) 45%, rgb(15 18 22 / .95) 100%); }
}

/* mobile menu = full-height sheet from the right. Stated with .overlay.overlay--menu so the
   generic .overlay / .overlay__panel rules above (loaded after layout.css) cannot centre it. */
.overlay.overlay--menu { place-items: stretch end; padding: 0; }
.overlay__panel.mmenu { width: min(100%, 420px); height: 100%; max-height: none; overflow-y: auto; border-radius: 0; border-width: 0 0 0 1px; padding: 16px; transform: translateX(24px); }
.overlay.is-open .overlay__panel.mmenu { transform: none; }
.overlay__panel.mmenu > * { flex-shrink: 0; }
.mmenu .search--menu { width: 100%; }

/* standalone text links (not inside a sentence): 24px target via pseudo-element, layout unchanged */
.auth__links a, .kv dd a { position: relative; }
.auth__links a::after, .kv dd a::after { content: ""; position: absolute; inset: 50% 0 auto 0; translate: 0 -50%; height: 100%; min-height: 24px; }

/* provider tile: one typographic plate for every provider (no logo/placeholder mix) */
.ptile { grid-template-rows: auto auto auto; }
.ptile__plate { position: relative; display: flex; align-items: flex-end; min-height: 104px; padding: 14px 14px 12px; background: var(--color-surface-2); border-radius: var(--radius-sm); border-bottom: 3px solid var(--color-brand); overflow: hidden; transition: background-color var(--dur-fast) var(--ease); }
.ptile:hover .ptile__plate { background: var(--color-surface-hover); }
.ptile__code { position: absolute; left: 12px; top: 12px; padding: 4px 6px; border-radius: var(--radius-sm); background: var(--color-brand); color: var(--color-brand-ink); font: 700 11px/1 var(--font-mono); letter-spacing: .04em; }
.ptile__word { font: 900 clamp(20px, 1.9vw, 26px)/.95 var(--font-display); font-stretch: 74%; text-transform: uppercase; letter-spacing: -.005em; color: var(--color-text); overflow-wrap: anywhere; }
.ptile__count { margin-top: 8px; }
/* the name scales with the tile, so a long single word (Spinomenal, RenderPlay) never breaks mid-word */
.ptile { container-type: inline-size; }
.ptile__word { font-size: clamp(15px, 11.5cqi, 26px); overflow-wrap: normal; word-break: normal; hyphens: none; }
.ptile__plate { min-height: 96px; }
@media (max-width: 520px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ptile { padding: 10px; }
  .ptile__plate { min-height: 84px; padding: 12px 10px 10px; }
  .ptile__go { font-size: 13px; }
}
