/* Components — transferred from the approved mockup; new ones (forms, toggles, toast,
   accordion, game card, breadcrumbs) are designed in its language on the same tokens. */

/* ---------- geometric code (signature 1) ---------- */
.shape { display: inline-block; width: 14px; height: 14px; flex: none; background: currentColor; }
.shape.circle { border-radius: 50%; }
.shape.square { border-radius: 2px; }
.shape.tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape.line { height: 4px; width: 18px; border-radius: 2px; }
.c-lot { color: var(--color-brand); } .c-cas { color: var(--color-trust); } .c-spo { color: var(--color-gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font: 600 16px/1 var(--font-b); text-decoration: none; cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s var(--ease), background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg.icon { width: 18px; height: 18px; }
.btn-primary { background: var(--color-cta); color: #fff; box-shadow: 0 1px 2px rgba(214,40,40,.3), 0 8px 20px rgba(214,40,40,.22); }
.btn-primary:hover { background: var(--color-cta-hover); box-shadow: 0 2px 4px rgba(214,40,40,.3), 0 14px 28px rgba(214,40,40,.26); }
.btn-secondary { background: var(--surface-1); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-secondary:hover { border-color: #C9D0DC; box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-1); box-shadow: var(--sh-1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26344a; }
.btn-trust { background: var(--color-trust); color: #fff; }
.btn-trust:hover { background: var(--trust-hover); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn.is-busy { pointer-events: none; opacity: .8; }

/* ---------- segmented language switch (links) ---------- */
.seg { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); }
.seg a, .seg button { display: inline-grid; place-items: center; min-width: 44px; min-height: 38px; padding: 0 10px; border: 0; background: transparent; border-radius: var(--r-pill); font: 600 13px/1 var(--font-b); color: var(--ink-2); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; }
.seg a:hover { color: var(--ink); }
.seg [aria-current="true"], .seg [aria-pressed="true"] { background: var(--surface-1); color: var(--ink); box-shadow: var(--sh-1); }

/* ---------- pills / chips / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px 4px 6px; border-radius: var(--r-pill); background: var(--surface-1); border: 1px solid var(--line); font: 500 13px/1.3 var(--font-b); color: var(--ink-2); box-shadow: var(--sh-1); }
.pill b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--trust-50); color: var(--color-trust); font-weight: 600; }
.pill b svg.icon { width: 14px; height: 14px; }
.badge18 { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; font: 800 14px/1 var(--font-h); letter-spacing: -.02em; flex: none; }
.badge18--sm { width: 34px; height: 34px; font-size: 12px; }
.badge18--xs { width: 30px; height: 30px; font-size: 11px; }
.badge18--lg { width: 64px; height: 64px; font-size: 22px; border-width: 3px; }
.live { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--color-cta); font: 600 12px/1 var(--font-b); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,57,53,.55); } 70% { box-shadow: 0 0 0 7px rgba(229,57,53,0); } 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); } }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); font: 600 12px/1 var(--font-b); white-space: nowrap; }
.tag--trust { background: var(--trust-50); color: var(--color-trust); }
.tag--gold { background: var(--gold-50); color: var(--gold-ink); }
.tag--ok { background: var(--color-success-50); color: var(--color-success); }
.tag--warn { background: var(--brand-50); color: var(--color-cta); }

/* ---------- cards ---------- */
.card { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--sh-2); }
.card-pad { padding: clamp(20px, 2.4vw, 28px); }

/* ---------- section head (signature 3: outline numbers) ---------- */
.sec-head { position: relative; margin-bottom: 28px; }
.sec-num { display: block; font: 800 clamp(80px, 9vw, 132px)/.8 var(--font-h); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px #B4BECC; margin-bottom: 18px; user-select: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font-b); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); position: relative; }
.sec-head h2 { font-size: var(--fs-h2); letter-spacing: -.04em; margin: 14px 0 12px; position: relative; }
.sec-head p { color: var(--ink-2); max-width: 58ch; position: relative; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--color-trust); font-weight: 600; text-decoration: none; }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlink svg.icon { width: 18px; height: 18px; transition: transform .2s var(--spring); }
.tlink:hover svg.icon { transform: translateX(3px); }

/* ---------- tabs (pill tablist) ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 -4px 16px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-1); color: var(--ink-2); font: 600 15px/1 var(--font-b); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .2s var(--spring); }
.tab:hover { color: var(--ink); transform: translateY(-1px); }
.tab[aria-selected="true"], .tab[aria-current="page"], .tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab .cnt { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.tab svg.icon { width: 16px; height: 16px; }

/* segmented control with sliding indicator */
.segc { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); margin-bottom: 20px; max-width: 100%; }
.segc button { position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border: 0; background: transparent; border-radius: var(--r-pill); font: 600 15px/1 var(--font-b); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .2s; }
.segc button[aria-selected="true"] { color: var(--ink); }
.segc .ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 3)); border-radius: var(--r-pill); background: var(--surface-1); box-shadow: var(--sh-1); transition: transform .35s var(--spring); }

/* ---------- odds button ---------- */
.odd { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; min-width: 0; padding: 4px 6px; border-radius: var(--r-1); background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, transform .2s var(--spring), box-shadow .2s; text-decoration: none; color: var(--ink); }
.odd:hover { background: var(--surface-1); border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--sh-2); }
.odd small { font: 600 11px/1.15 var(--font-b); color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd b { font: 600 16px/1 var(--font-b); color: var(--ink); display: inline-flex; align-items: center; gap: 3px; }
.odd b svg.icon { width: 12px; height: 12px; }
.odd.up { animation: flashUp 1.1s var(--ease); }
.odd.down { animation: flashDown 1.1s var(--ease); }
.odd.up b { color: var(--up); } .odd.down b { color: var(--down); }
.odd.is-picked { background: var(--ink); border-color: var(--ink); }
.odd.is-picked b, .odd.is-picked small { color: #fff; }
@keyframes flashUp { 0% { background: #C8EEDD; border-color: var(--up); } 100% { background: var(--surface-2); } }
@keyframes flashDown { 0% { background: #FAD4D3; border-color: var(--down); } 100% { background: var(--surface-2); } }
.odd.na { cursor: default; color: var(--ink-2); background: transparent; border-style: dashed; }
.odd.na:hover { transform: none; box-shadow: none; background: transparent; }
.odd--row { flex-direction: row; justify-content: space-between; padding: 0 14px; gap: 12px; }
.odd--row small { font-size: 14px; font-weight: 500; color: var(--ink); white-space: normal; text-align: left; line-height: 1.25; }

/* ---------- lottery balls ---------- */
.balls { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; align-items: center; }
.ball { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-1); border: 2px solid var(--ink); font: 800 19px/1 var(--font-h); font-variant-numeric: tabular-nums; color: var(--ink); transition: box-shadow .2s, background .2s, color .2s; flex: none; }
.ball.pop { animation: pop .5s var(--spring) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
.ball.bonus { background: var(--color-gold); border-color: var(--color-gold); color: var(--ink); }
.ball.grand { background: var(--color-trust); border-color: var(--color-trust); color: #fff; border-radius: 10px; }
.ball.hit { background: var(--color-brand); border-color: var(--color-brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-50); }
.balls--sm .ball { width: 38px; height: 38px; font-size: 15px; border-width: 2px; }
.plus { font: 800 20px/1 var(--font-h); color: var(--ink-2); margin: 0 2px; }
.bl { font-size: 13px; color: var(--ink-2); display: flex; gap: 16px; flex-wrap: wrap; }
.bl span { display: inline-flex; align-items: center; gap: 6px; }
.bl i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid var(--ink); }
.bl i.g { background: var(--color-gold); border-color: var(--color-gold); }
.bl i.b { background: var(--color-trust); border-color: var(--color-trust); border-radius: 3px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field__label { font: 600 15px/1.3 var(--font-b); color: var(--ink); }
.field__hint { font-size: 13px; color: var(--ink-2); }
.field input:not([type=checkbox]):not([type=radio]):not([type=range]):not(.visually-hidden), .field select, .field textarea, .input {
  width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface-0); color: var(--ink); font: 500 16px/1.3 var(--font-b); transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { padding: 14px 16px; min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--color-trust); box-shadow: 0 0 0 4px var(--trust-50); background: var(--surface-1); }
.field.has-error input, .field.has-error select, .field.has-error textarea, [aria-invalid="true"] { border-color: var(--color-error) !important; box-shadow: 0 0 0 4px var(--color-error-50) !important; }
.field__error { font: 500 14px/1.35 var(--font-b); color: var(--color-error); display: flex; gap: 6px; align-items: flex-start; }
.form__error { padding: 12px 14px; border-radius: var(--r-2); background: var(--color-error-50); color: var(--color-error); font-weight: 500; }
.form__ok { padding: 14px 16px; border-radius: var(--r-2); background: var(--color-success-50); color: var(--color-success); font-weight: 500; }
.field--check { grid-template-columns: 24px 1fr; align-items: start; gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--color-cta); cursor: pointer; }
.field--check .field__label { font-weight: 500; color: var(--ink-2); }
.field--check .field__label a { color: var(--color-trust); }
.field--check .field__error { grid-column: 2; }
.pw { position: relative; }
.pw input { padding-right: 56px !important; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-1); display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: var(--surface-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* radio pills */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-1); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: .15s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* toggle switch */
.toggle { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .tg { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--surface-3); transition: background .2s; margin-top: 2px; }
.toggle .tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .25s var(--spring); }
.toggle input:checked + .tg { background: var(--color-trust); }
.toggle input:checked + .tg::after { transform: translateX(18px); }
.toggle input:disabled + .tg { opacity: .6; }
.toggle input:focus-visible + .tg { outline: 3px solid var(--focus); outline-offset: 2px; }
.toggle b { display: block; font-size: 15px; }
.toggle small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.toggle em { font-style: normal; font-size: 12px; color: var(--color-success); font-weight: 600; white-space: nowrap; }

/* range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--color-trust) var(--p, 30%), var(--surface-3) var(--p, 30%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--color-trust); box-shadow: var(--sh-2); cursor: pointer; }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--color-trust); cursor: pointer; }

/* ---------- modal (dialog) ---------- */
.modal { border: 0; padding: 0; border-radius: var(--r-3); width: min(440px, calc(100vw - 32px)); box-shadow: var(--sh-3); background: var(--surface-1); color: var(--ink); overflow: hidden; }
.modal::backdrop { background: rgba(23,33,47,.45); backdrop-filter: blur(4px); }
.modal[open] { animation: mIn .35s var(--spring); }
@keyframes mIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-top { height: 84px; background: var(--surface-2); position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); }
.modal-top .shape { position: absolute; }
.modal-top .s1 { width: 54px; height: 54px; color: var(--color-brand); left: 28px; top: 16px; }
.modal-top .s2 { width: 40px; height: 40px; color: var(--color-trust); left: 96px; top: 28px; transform: rotate(10deg); }
.modal-top .s3 { width: 46px; height: 40px; color: var(--color-gold); left: 150px; top: 18px; }
.modal--region .modal-top { background: var(--trust-50); }
.modal-x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-1); display: grid; place-items: center; cursor: pointer; z-index: 2; transition: transform .25s var(--spring); }
.modal-x:hover { transform: rotate(90deg); }
.modal-b { padding: 8px 28px 28px; position: relative; }
.modal-b h2 { font-size: 26px; letter-spacing: -.03em; }
.modal-b p { color: var(--ink-2); margin-top: 8px; }
.modal-b .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.modal-b .row .btn { padding: 0 14px; white-space: normal; text-align: center; line-height: 1.15; }
.modal-b .fine { font-size: 13px; margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.modal-b .fine svg.icon { width: 18px; height: 18px; color: var(--color-trust); }
.modal-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--color-cta); margin: -30px 0 14px; position: relative; box-shadow: var(--sh-2); }
.modal-ic svg.icon { width: 26px; height: 26px; }
.modal-msg { font-size: 17px; color: var(--ink) !important; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translateX(-50%); max-width: min(520px, calc(100vw - 32px)); padding: 14px 20px; border-radius: var(--r-2); background: var(--ink); color: #fff; font-weight: 500; box-shadow: var(--sh-3); animation: toastIn .35s var(--spring); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--ink-2); list-style: none; }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B4BECC; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- accordion (FAQ, markets) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; border: 0; background: transparent; text-align: left; cursor: pointer; font: 700 clamp(17px, 1.4vw, 19px)/1.35 var(--font-h); letter-spacing: -.01em; color: var(--ink); }
.acc-q:hover { color: var(--color-trust); }
.acc-q .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--spring), background .2s; }
.acc-q[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-a > div { min-height: 0; overflow: hidden; visibility: hidden; }
.acc-a.is-open { grid-template-rows: 1fr; }
.acc-a.is-open > div { visibility: visible; }
.acc-a .in { padding: 0 4px 22px; color: var(--ink-2); max-width: 75ch; }
.acc-a .in p + p { margin-top: 10px; }
.acc-a .in a { color: var(--color-trust); }

/* ---------- game card ---------- */
.game { position: relative; display: flex; flex-direction: column; border-radius: var(--r-2); background: var(--surface-1); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; transition: transform .25s var(--spring), box-shadow .25s var(--ease); }
.game:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.game-art { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-3); }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.game:hover .game-art img { transform: scale(1.06); }
.game-art .tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94); box-shadow: var(--sh-1); }
.game-play { position: absolute; inset: auto 10px 10px 10px; display: flex; justify-content: center; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .3s var(--spring); }
.game:hover .game-play, .game:focus-within .game-play { opacity: 1; transform: none; }
.game-b { padding: 12px 14px 14px; display: grid; gap: 2px; }
.game-b h3 { font: 700 15px/1.25 var(--font-h); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-b span { font-size: 13px; color: var(--ink-2); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }

/* ---------- doc table ---------- */
.doc-table { width: 100%; font-size: 15px; margin: 8px 0; }
.doc-table th, .doc-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { font: 700 13px/1.3 var(--font-b); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: var(--surface-2); }
.doc-table code { font-size: 14px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

/* ---------- empty state ---------- */
.empty { display: grid; place-items: center; gap: 10px; padding: 40px 20px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line-strong); border-radius: var(--r-2); }
.empty .shapes { display: flex; gap: 6px; }

/* ---------- stat ---------- */
.stat b { display: block; font: 800 clamp(26px, 2.6vw, 34px)/1 var(--font-h); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--ink-2); }

/* containing blocks for visually-hidden text inside scrollers (else it escapes to <html>) */
.shelf, .feat-card, .tabs, .lot-card, .lot-cat, .sport-card, .match, .tab, .btn, .odd { position: relative; }
@media (max-width: 760px) {
  .doc-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .doc-table th, .doc-table td { min-width: 120px; }
}
@media (max-width: 420px) {
  .segc button { white-space: normal; line-height: 1.1; padding: 0 4px; font-size: 13px; }
}
.game-b h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: clip; min-height: 2.5em; }
.odd--row small { flex: 1 1 auto; min-width: 0; white-space: normal; overflow: visible; }
.odd--row b { flex: none; }
.m-teams em { flex: none; }
.modal-ic { margin: -8px 0 14px; }
.modal-top:has(+ .modal-x + .modal-b .modal-ic) .s1, .modal--region .modal-top .s1 { left: auto; right: 150px; }
.modal--region .modal-top .s2 { left: auto; right: 96px; }
.modal--region .modal-top .s3 { left: auto; right: 70px; top: 40px; width: 30px; height: 26px; }
.modal--region .modal-b .row { grid-template-columns: minmax(0, 1fr); }
#dlgPaused .modal-top .s1 { left: auto; right: 150px; }
/* contrast ≥ 4.5:1 on small labels (audit) */
.tag { color: #4E5869; }
.live { color: #B3261E; }
.tag--warn { color: #B3261E; }
.game-art .tag.tag--warn { color: #B3261E; }
/* explicit focus rings where the default outline was lost on coloured bands */
.odd:focus-visible, .tbl:focus-visible, .tab:focus-visible, .pk:focus-visible, .bg-cell:focus-visible, .acc-q:focus-visible, .doc-toc a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tp-band :focus-visible, .rg :focus-visible, .live-sec :focus-visible, .ev-hero :focus-visible, .phero--img :focus-visible, .ftr :focus-visible, .auth-side :focus-visible { outline-color: #fff; }
.tab .cnt { opacity: 1; color: inherit; }
.tab:not([aria-selected="true"]):not(.is-on):not([aria-current]) .cnt { color: var(--ink-2); }
.doc-toc a span { color: var(--ink-2); }
.prose a:focus-visible, .crumbs a:focus-visible, .ftr a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.logo { position: relative; }
.logo::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
