/* Reusable pieces, moved from the approved mockup (b-tribun.html) and completed
 * with the states the mockup does not draw: hover, focus, active, disabled, error. */

/* ── SIGNATURE 1: seat-number plate ─────────────────────────────────── */
.seat {
  position: relative; flex: none; display: inline-grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--seat-radius);
  background: var(--color-navy-2); color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 2px 0 rgba(16, 38, 62, .08);
}
.seat::after { content: ""; position: absolute; left: 8px; right: 8px; top: 5px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.seat--brand { background: var(--color-brand); }
.seat--amber { background: var(--color-amber); color: var(--color-navy); }
.seat--light { background: var(--color-surface); color: var(--color-navy); box-shadow: inset 0 -4px 0 var(--color-line), 0 0 0 1px var(--color-line); }
.seat--light::after { background: var(--color-line); }
.seat--lg { min-width: 64px; height: 64px; font-size: 30px; border-radius: 18px 18px 9px 9px; }
.seat--sm { min-width: 28px; height: 26px; font-size: 13px; padding: 0 6px; border-radius: 9px 9px 5px 5px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.seat--sm::after { top: 3px; height: 2px; left: 5px; right: 5px; }
.seat--text { font-size: 14px; min-width: 52px; }

/* ── SIGNATURE 2: rows of seats (hairline rhythm) ───────────────────── */
.rows-rule { height: 25px; background: repeating-linear-gradient(to bottom, var(--color-line) 0 1px, transparent 1px 6px); opacity: .9; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.eyebrow small { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.eyebrow .rows-rule { flex: 1; min-width: 24px; }

/* ── pills ────────────────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.pill--amber { background: var(--color-amber); color: var(--color-navy); }
.pill--tint { background: var(--color-brand-tint); color: var(--brand-ink); }
.pill--line { border: 1px solid var(--color-line); color: var(--color-muted); background: #fff; }
.pill--navy { background: var(--color-navy); color: #fff; }
.pill--wait { background: var(--surface-2); color: var(--color-muted); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px;
  font: 700 15px/1.2 var(--font); text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: var(--color-brand); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--color-brand) 28%, transparent); }
.btn--primary:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn--secondary:hover { background: var(--color-navy); color: #fff; }
.btn--light { background: #fff; color: var(--color-navy); border-color: #fff; }
.btn--light:hover { background: var(--color-brand-tint); }
.btn--ghost-light { background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 45%, transparent); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-ink); text-decoration: none; min-height: 44px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .icon { transition: transform .2s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

/* ── chips (sport filters) ────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px; border-radius: var(--pill);
  border: 1px solid var(--color-line); background: #fff; color: var(--color-text); font: 600 14px var(--font);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: color-mix(in srgb, var(--color-brand) 50%, var(--color-line)); transform: translateY(-1px); }
.chip-count {
  display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 6px; border-radius: 9px 9px 5px 5px;
  background: var(--surface-2); color: var(--color-navy); font-size: 13px; font-weight: 800; box-shadow: inset 0 -2px 0 var(--color-line);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip[aria-pressed="true"], .chip[aria-current="page"], .chip.is-active { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.chip[aria-pressed="true"] .chip-count, .chip[aria-current="page"] .chip-count, .chip.is-active .chip-count {
  background: #fff; color: var(--brand-ink); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--color-brand) 30%, white);
}
.chip--plain { padding: 0 14px; height: 36px; font-size: 13px; }
.chip .icon { width: 16px; height: 16px; }
.filter { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; margin: 0 0 4px; }
.filter::-webkit-scrollbar { display: none; }
.filter > * { scroll-snap-align: start; flex: none; }

/* ── segmented tabs with sliding indicator ───────────────────────────── */
.tabs { position: relative; display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; }
.tab {
  position: relative; z-index: 1; flex: 1; min-height: 40px; border: 0; background: transparent; border-radius: 9px;
  font: 700 14px var(--font); color: var(--color-muted); cursor: pointer; transition: color .25s var(--ease); padding: 0 8px; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.tab:hover { color: var(--color-navy); }
.tab[aria-selected="true"], .tab[aria-current="page"] { color: var(--color-navy); }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; background: #fff; border-radius: 9px; box-shadow: 0 2px 8px rgba(16, 38, 62, .1); transition: transform .3s var(--ease), width .3s var(--ease); }
.tabs:not(.is-js) .tab[aria-selected="true"], .tabs:not(.is-js) .tab[aria-current="page"] { background: #fff; box-shadow: 0 2px 8px rgba(16, 38, 62, .1); }
.tabpanel { padding-top: 20px; }
.tabpanel.is-shown { animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── odds buttons (highlight only — never a bet) ─────────────────────── */
.odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.odds--2 { grid-template-columns: repeat(2, 1fr); }
.odd {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--color-line); background: var(--color-canvas); font: 800 16px var(--font); color: var(--color-navy); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.odd small { font-size: 12px; font-weight: 700; color: var(--color-muted); transition: color .2s var(--ease); }
.odd:hover { border-color: var(--color-brand); transform: translateY(-1px); }
.odd:active { transform: scale(.97); }
.odd[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: #fff; animation: pick .25s var(--ease); }
.odd[aria-pressed="true"] small { color: #fff; }   /* 4.7:1 on brand teal; a tinted white fell under 4.5 */
.odd[disabled] { cursor: default; opacity: .55; transform: none; }
@keyframes pick { 50% { transform: scale(1.04); } }

.note { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: var(--color-muted); margin-top: 12px; }
.note .icon { width: 14px; height: 14px; }

/* demo disclaimer (TZ §13.5.10: «Örnek oran / Gerçek bahis kabul edilmez» must be visible) */
.demo-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  background: var(--color-amber-tint); border: 1px solid color-mix(in srgb, var(--color-amber) 55%, #fff);
  color: var(--color-navy); font-size: 14px; line-height: 22px;
}
.demo-note .icon { color: color-mix(in srgb, var(--color-amber) 40%, var(--color-navy)); margin-top: 1px; }
.demo-note b { font-weight: 800; }

/* ── panel / card ─────────────────────────────────────────────────────── */
.panel, .card {
  min-width: 0; background: #fff; border: 1px solid var(--color-line); border-radius: var(--r16); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.panel { overflow: hidden; }
.card { padding: 24px; }
.panel:hover, .card--hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.panel-photo { position: relative; height: 160px; overflow: hidden; background-color: var(--color-navy-2); }   /* fallback under white caption if the photo fails */
.panel-photo img, .panel-photo picture { width: 100%; height: 100%; object-fit: cover; }
.panel-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 38, 62, 0) 30%, rgba(16, 38, 62, .78) 100%); }
.panel-photo .cap { position: absolute; left: 24px; right: 24px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; }
.panel-photo .cap h2, .panel-photo .cap h3 { color: #fff; font-size: var(--fs-h3); line-height: var(--lh-h3); }
.panel-photo .cap .pill { margin-left: auto; }
.panel-body { padding: 24px; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--color-line); margin-top: 16px; padding-top: 8px; }
.card-photo { margin: -24px -24px 20px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r16) var(--r16) 0 0; }
.card-photo img, .card-photo picture { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card--hover:hover .card-photo img { transform: scale(1.04); }

/* list of games (lotto panel, game catalogue rows) */
.games { margin: 0; padding: 0; }
.games li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.games li:last-child { border-bottom: 0; }
.games b { display: block; font-size: 16px; line-height: 22px; color: var(--color-navy); }
.games a { color: inherit; text-decoration: none; }
.games a:hover b { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.games .s { display: block; font-size: 14px; line-height: 20px; color: var(--color-muted); }
.games .seat .icon { width: 22px; height: 22px; }
.steps-mini { margin: 0; padding: 0; display: grid; gap: 14px; }
.steps-mini li { display: flex; gap: 14px; align-items: flex-start; }
.steps-mini p { font-size: 15px; line-height: 24px; color: var(--color-muted); }
.steps-mini b { color: var(--color-navy); }

/* ── fixture table (sportsbook rows) ──────────────────────────────────── */
.filter-status { font-size: 13px; color: var(--color-muted); margin: 10px 0 4px; font-weight: 600; }
.mtable { margin: 0; padding: 0; }
.mtable-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) 210px; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.mtable-head span:last-child { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.mrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) 210px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--color-line); transition: background-color .2s var(--ease); }
.mrow:hover { background: color-mix(in srgb, var(--color-brand-tint) 45%, transparent); }
.mrow.is-in-anim { animation: fadeUp .3s var(--ease); }
.mtime { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-weight: 800; color: var(--color-navy); font-size: 15px; }
.mtime small { font-size: 12px; color: var(--color-muted); font-weight: 600; }
.mteams { min-width: 0; }
.mteams b { display: block; font-size: 15px; line-height: 22px; color: var(--color-navy); }
.mteams small { display: block; font-size: 13px; line-height: 18px; color: var(--color-muted); }
.mteams a { position: relative; color: inherit; text-decoration: none; }
.mteams a:hover b { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.mrow .odds { gap: 6px; }
.mrow .odd { justify-content: center; padding: 0 6px; font-size: 15px; }
.mrow-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--brand-ink); text-decoration: none; margin-top: 2px; }
.mrow-more:hover { text-decoration: underline; }
.empty { padding: 24px; text-align: center; color: var(--color-muted); border: 1px dashed var(--color-line); border-radius: 12px; margin-top: 12px; }

/* ── breadcrumb ───────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--color-muted); margin-bottom: 16px; }
.crumbs a { position: relative; color: var(--color-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--color-line); }
.crumbs [aria-current] { color: var(--color-navy); font-weight: 600; }

/* ── page hero (inner pages) ──────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--color-surface); border-bottom: 1px solid var(--color-line); padding: 40px 0 44px; }
.page-hero .lead { font-size: var(--fs-lead); line-height: var(--lh-lead); max-width: 64ch; }
.page-hero h1 { margin-top: 4px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-hero--photo { background: var(--color-navy-2); border-bottom: 0; }
.page-hero--photo .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--photo .ph-bg img, .page-hero--photo .ph-bg picture { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 38, 62, .92) 0%, rgba(16, 38, 62, .78) 55%, rgba(16, 38, 62, .45) 100%); }
.page-hero--photo h1, .page-hero--photo .crumbs [aria-current] { color: #fff; }
.page-hero--photo .lead, .page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: var(--on-navy); }
.page-hero--photo .crumbs li + li::before { color: rgba(255, 255, 255, .3); }

/* ── notice banner ────────────────────────────────────────────────────── */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r16); background: var(--color-brand-tint); color: var(--color-navy); }
.notice .icon { color: var(--brand-ink); margin-top: 2px; }
.notice p { color: var(--color-text); }
.notice--warn { background: var(--color-amber-tint); border: 1px solid color-mix(in srgb, var(--color-amber) 55%, #fff); }
.notice--warn .icon { color: color-mix(in srgb, var(--color-amber) 40%, var(--color-navy)); }

/* ── step list ────────────────────────────────────────────────────────── */
.step-list { display: grid; gap: 0; }
.step-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--color-line); }
.step-list li:last-child { border-bottom: 1px solid var(--color-line); }
.step-list p { color: var(--color-muted); margin-top: 4px; }

/* ── FAQ accordion (details/summary and button variants) ─────────────── */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--color-line); border-radius: 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item:hover { border-color: color-mix(in srgb, var(--color-brand) 40%, var(--color-line)); }
.faq-item.is-open, .faq-item[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--color-brand) 35%, var(--color-line)); }
.faq-q {
  position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 18px; border: 0; background: transparent; text-align: left; cursor: pointer;
  font: 700 16px/24px var(--font); color: var(--color-navy); list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .icon { flex: none; color: var(--brand-ink); transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] .icon, .faq-item[open] .faq-q .icon { transform: rotate(180deg); }
.faq-a > div { padding: 0 18px 18px; color: var(--color-muted); }
.faq-a p + p { margin-top: 10px; }

/* ── legal sections ───────────────────────────────────────────────────── */
.legal-section { padding: 28px 0; border-top: 1px solid var(--color-line); }
.legal-section:first-child { border-top: 0; padding-top: 0; }
.legal-section h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 22px; line-height: 30px; }
.legal-section p, .legal-section li { color: var(--color-text); }
.legal-section p + p, .legal-section p + ul, .legal-section ul + p { margin-top: 12px; }
.legal-section ul.bullets { display: grid; gap: 8px; margin-top: 12px; }
.legal-section ul.bullets li { position: relative; padding-left: 22px; }
.legal-section ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 7px; border-radius: 4px 4px 2px 2px; background: var(--color-brand); }
.legal-section .link { margin-top: 8px; }
.pending { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--pill); background: var(--surface-2); color: var(--color-muted); font-size: 14px; font-weight: 600; }
.pending .icon { width: 14px; height: 14px; }
.toc { position: sticky; top: calc(var(--head-h) + 24px); }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--color-muted); text-decoration: none; font-weight: 600; font-size: 14px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.toc a:hover, .toc a.is-active { background: var(--color-brand-tint); color: var(--brand-ink); }

/* ── form fields ──────────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 700; color: var(--color-navy); }
.field__hint { font-size: 13px; color: var(--color-muted); }
.field input:not(.visually-hidden):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--color-line); border-radius: 12px;
  background: #fff; color: var(--color-text); font: 500 16px var(--font);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; padding: 12px 14px; resize: vertical; line-height: 24px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--color-brand) 40%, var(--color-line)); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-brand); box-shadow: var(--focus-ring); outline: none; }
/* the :not() pair matches the base rule above (0,3,1) — without it the error state never reaches text inputs */
.field input[aria-invalid="true"]:not(.visually-hidden):not([type="checkbox"]), .field select[aria-invalid="true"], .field textarea[aria-invalid="true"], .field.has-error input:not(.visually-hidden):not([type="checkbox"]), .field.has-error textarea { border-color: var(--color-error); background: var(--color-error-tint); }
.field__error { color: var(--color-error); font-size: 13px; font-weight: 600; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.field--check input[type="checkbox"] { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--color-brand); cursor: pointer; }
.field--check .field__label { font-weight: 500; color: var(--color-text); font-size: 15px; line-height: 22px; }
.field--check .field__error { grid-column: 2; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { padding: 12px 14px; border-radius: 12px; background: var(--color-error-tint); color: var(--color-error); font-weight: 600; font-size: 14px; }
.form-done { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r16); background: var(--color-brand-tint); color: var(--color-navy); }
.form-done .seat { flex: none; }

/* ── overlays (cookie settings, age gate) ─────────────────────────────── */
.overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; background: rgba(16, 38, 62, .62); opacity: 0; transition: opacity var(--dur-slow) var(--ease); }
.overlay.is-open { opacity: 1; }
.overlay__panel { width: min(100%, 520px); max-height: 90vh; overflow: auto; background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); transform: translateY(10px) scale(.98); transition: transform var(--dur-slow) var(--ease); }
.overlay.is-open .overlay__panel { transform: none; }
.overlay__panel h2 { font-size: 24px; line-height: 32px; }
.overlay__panel p { color: var(--color-muted); margin-top: 10px; }
.overlay__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.overlay__actions .btn { flex: 1 1 140px; }
.gate-top { display: flex; align-items: center; gap: 14px; }
.gate-note { font-size: 13px !important; line-height: 20px; }

.consent-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--color-line); }
.consent-cat:first-of-type { margin-top: 18px; }
.consent-cat b { color: var(--color-navy); display: block; }
.consent-cat span { font-size: 14px; color: var(--color-muted); }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--color-line); transition: background-color .2s var(--ease); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 38, 62, .3); transition: transform .2s var(--ease); }
.switch input:checked + i { background: var(--color-brand); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.switch input:disabled + i { opacity: .6; }

/* cookie banner: bottom sheet, three equal buttons (TZ §6) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: calc(var(--z-modal) - 1); max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--color-line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; animation: barIn .4s var(--ease); }
@keyframes barIn { from { opacity: 0; transform: translateY(16px); } }
.cookie-bar h2 { font-size: 17px; line-height: 24px; }
.cookie-bar p { font-size: 14px; line-height: 22px; color: var(--color-muted); margin-top: 4px; }
.cookie-bar__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cookie-bar__actions .btn { padding: 0 14px; min-width: 112px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .panel-body { padding: 20px 16px; }
  .panel-photo .cap { left: 16px; right: 16px; }
  .tab { font-size: 13px; padding: 0 4px; }
  .mtable-head { display: none; }
  .mrow { grid-template-columns: 1fr; gap: 8px; }
  .mrow .odd::before { font-size: 11px; font-weight: 700; opacity: .7; margin-right: 8px; content: attr(data-l); }
  .mtime { flex-direction: row; gap: 8px; align-items: baseline; }
  .form-row { grid-template-columns: 1fr; }
  .cookie-bar { grid-template-columns: 1fr; left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .cookie-bar__actions { grid-template-columns: 1fr; }
  .overlay__panel { padding: 22px 18px; }
}
.note--flat { margin: 0; }
@media (max-width: 389px) {
  .tab { white-space: normal; line-height: 1.15; font-size: 12px; }
}

/* ── rg-strip: 18+ / RG on every game & odds screen (TZ §15.4) ───────── */
.rg-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; margin-top: 40px; padding: 18px 22px; border-radius: var(--r16); background: var(--color-amber-tint); border: 1px solid color-mix(in srgb, var(--color-amber) 55%, #fff); }
.rg-strip p { color: var(--color-text); font-size: 15px; line-height: 23px; }
.rg-strip b { color: var(--color-navy); }
@media (max-width: 760px) {
  .rg-strip { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .rg-strip .btn { grid-column: 1 / -1; }
}

/* ── shared page blocks (CTA band, two-column text, small caps title) ─── */
.two-cats { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: var(--r16); background: #fff; border: 1px solid var(--color-line); box-shadow: var(--shadow); }
.two-cats .lead { max-width: 56ch; }
.two-cats-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.g-info-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 12px; }
.res-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.res-two .step-list { margin-top: 18px; }
.res-cta { margin-top: 22px; }
.res-two .lead { margin-top: 12px; }
.faq-narrow { max-width: 880px; }
.faq-narrow .faq { margin-top: 20px; }
@media (max-width: 1100px) { .res-two { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 760px) { .two-cats { padding: 20px; } .two-cats-cta .btn { flex: 1 1 auto; } }
details.faq-item:not([open]) > .faq-a { display: none; }
details.faq-item[open] > .faq-a { animation: fadeUp .3s var(--ease); }

/* ── örnek kupon (TZ §16: sample slip, «Örnek» badge, no stake / confirmation) ── */
.kupon-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-header);
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px 0 18px;
  border: 0; border-radius: 16px 16px 8px 8px; cursor: pointer;
  background: var(--color-brand); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 14px 32px rgba(8, 127, 140, .35);
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.kupon-fab:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--color-brand) 85%, var(--color-navy)); }
.kupon-fab:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.kupon-fab .icon { width: 20px; height: 20px; }
.kupon-fab__n { min-width: 32px; height: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 10px 10px 6px 6px; background: #fff; color: var(--color-navy); font-variant-numeric: tabular-nums; }
.kupon-fab.is-bump { animation: kupon-bump .45s var(--ease); }
@keyframes kupon-bump { 30% { transform: scale(1.08); } 60% { transform: scale(.97); } }
.kupon-fab:not([hidden]) { animation: kupon-in .3s var(--ease); }
@keyframes kupon-in { from { opacity: 0; transform: translateY(12px); } }
body.has-kupon .to-top { bottom: 84px; }

.overlay.overlay--kupon { place-items: stretch end; padding: 0; }
.overlay--kupon .kupon {
  width: min(400px, 92vw); height: 100%; max-height: none; border-radius: 0; padding: 20px;
  display: flex; flex-direction: column; gap: 16px; transform: translateX(100%); transition: transform .3s var(--ease);
}
.overlay.overlay--kupon.is-open .kupon { transform: none; }
.kupon-top { display: flex; align-items: center; gap: 10px; }
.kupon-top h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; line-height: 28px; margin-right: auto; }
.kupon-top h2 > .icon { color: var(--color-brand); }
.kupon-top .icon-btn { color: var(--color-navy); border: 1px solid var(--color-line); }
.kupon-top .icon-btn:hover { background: var(--color-canvas); }
.kupon-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; overflow: auto; }
.kupon-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 12px 8px 12px 14px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface);
  animation: kupon-row .25s var(--ease);
}
@keyframes kupon-row { from { opacity: 0; transform: translateX(12px); } }
.kupon-item__main { min-width: 0; display: grid; gap: 2px; }
.kupon-item__ev { font-weight: 700; color: var(--color-navy); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kupon-item__ev:hover { color: var(--color-brand); text-decoration: underline; }
.kupon-item__mk { color: var(--color-muted); font-size: 13px; }
.kupon-item__odd { font-size: 17px; color: var(--color-navy); }
.kupon-item__rm {
  position: relative; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px;
  background: transparent; color: var(--color-muted); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.kupon-item__rm::after { content: ""; position: absolute; inset: -6px; }
.kupon-item__rm:hover { background: var(--color-error-tint); color: var(--color-error); }
.kupon-empty { color: var(--color-muted); margin: 0; padding: 24px 16px; text-align: center; border: 1px dashed var(--color-line); border-radius: var(--radius-md); }
.kupon-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--color-line); }
.kupon-total { display: grid; margin-right: auto; }
.kupon-total span { font-size: 13px; color: var(--color-muted); }
.kupon-total b { font-size: 26px; line-height: 32px; color: var(--color-navy); }
.kupon-save { display: grid; gap: 8px; }
.kupon-save[hidden] { display: none; }
.kupon-save .btn { width: 100%; justify-content: center; }
.kupon-status { margin: 0; font-size: 14px; line-height: 20px; color: var(--color-text); }
.kupon-status:empty { display: none; }
.kupon-status.is-ok { padding: 10px 12px; border-radius: var(--r8); background: var(--color-brand-tint); color: var(--color-navy); }
.kupon-status.is-err { color: var(--color-error); }
.kupon-status a { font-weight: 700; }

@media (max-width: 760px) {
  .kupon-fab { right: 16px; bottom: 16px; height: 48px; }
  body.has-kupon .to-top { bottom: 76px; right: 16px; }
  .overlay.overlay--kupon { place-items: end stretch; }
  .overlay--kupon .kupon { width: 100%; height: auto; max-height: 85vh; border-radius: 20px 20px 0 0; transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .kupon-fab, .kupon-fab.is-bump, .kupon-item { animation: none; }
}
/* the floating kupon button must not sit over the last footer line */
body.has-kupon .foot { padding-bottom: 96px; }
