/* N2-tech-26: копия games/shared/control-surface.css (GAMESEAM1002) вместо @import — @import стоил лишний круг сети перед
   показом (~0,6 с на медленной сети). Меняете тот файл — поменяйте и здесь (game.css сайта, game-kit.css, siteqa-b1001.css). */
:root { --game-control-bg: #191D2E; }
html body .gk { --gk-card: var(--game-control-bg) !important; }
html body .gk .gk-panel { background: var(--game-control-bg) !important; }
html:has(.gk--fit-frame), html:has(.gk--fit-frame) > body {
  background: var(--game-control-bg) !important;
}
/* Reys has its own controls instead of game-kit panels. */
html body #rubup-app .flight-controls,
html body #rubup-app .rs-hud { background: var(--game-control-bg) !important; }
.gk {
  --gk-page:  var(--bg);
  --gk-card:  #121929;
  --gk-field: #0C111D;
  --gk-ctl:   #1A2238;
  --gk-ctl-2: #232D49;
  --gk-ctl-h: #2A3555;
  --gk-ctl-on:#2E3A5C;
  --gk-tool-bg: rgba(9, 13, 24, .52);

  --gk-side: 360px;
  --gk-pad: 28px;
  --gk-gap: 22px;
  --gk-cta-h: 62px;
  --gk-radius: 18px;
  --gk-top: 120px;
  --gk-h: clamp(600px, calc(100dvh - var(--gk-top)), 1100px);
  --gk-stage-h: min(62svh, 118cqw);

  position: relative;
  container: gk / inline-size;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-tap-highlight-color: transparent;
}
.gk--fit-frame { --gk-h: 100dvh; --gk-radius: 0px; }
html:has(> body .gk--fit-frame), html:has(> body .gk--fit-frame) > body { margin: 0; background: var(--gk-card, #121929); }
html:has(> body .gk--bottom.gk--fit-frame), html:has(> body .gk--bottom.gk--fit-frame) > body { background: var(--gk-field, #0C111D); }
:where(.gk) *, :where(.gk) *::before, :where(.gk) *::after { box-sizing: border-box; }
:where(.gk) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:where(.gk) :where(button:disabled) { cursor: not-allowed; }
:where(.gk) :where(svg) { display: block; flex: none; }
:where(.gk) :where(a) { color: inherit; text-decoration: none; }
:where(.gk) :where(:focus) { outline: none; }
:where(.gk) :where(:focus-visible) { outline: 2px solid var(--primary-text, #F9CC52); outline-offset: 2px; }
/* PLINKOHOLD0930 (владелец 30.09, снимок Плинко: долгое нажатие на «Бросить шарик» выделило «шарик» синими ручками iOS).
   Кнопки, панель ставок и поле: долгое нажатие не выделяет текст и не открывает выноску iOS. iOS Safari и WKWebView Телеграма
   читают -webkit-user-select — у .gk-cta было только «user-select: none», и там кнопка выделялась. Поля ввода (сумма ставки,
   стопы) — выделяемые: сумму можно выделить и заменить. :where — вес 0, правила игр (например, выделяемые правила Мин) сильнее. */
:where(.gk) :where(button, [role="button"], [role="tab"], [role="radio"], [role="switch"], .gk-panel, .gk-field, .gk-bar) {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
:where(.gk) :where(input, textarea, select, [contenteditable]:not([contenteditable="false"])) {
  -webkit-user-select: text; user-select: text; -webkit-touch-callout: default;
}
.gk-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gk-num { font-variant-numeric: tabular-nums; }
.gk-i { overflow: visible; }
.gk-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.gk-head__crumbs { flex-basis: 100%; }
.gk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-3); }
.gk-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.gk-crumbs__sep { color: var(--dot); }
.gk-crumbs a { position: relative; color: var(--text-2); font-weight: 500; }
.gk-crumbs a::after { content: ""; position: absolute; inset: -12px -4px; }
.gk-crumbs a:hover { color: var(--text); }
.gk-crumbs [aria-current] { color: var(--text); font-weight: 600; }
.gk-head__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gk-head__title h1, .gk-head__title h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }
.gk-head__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--gk-card); color: var(--primary-text, #F9CC52); flex: none; }
.gk-head__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.gk-online {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--win-soft); color: var(--text-2);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.gk-online b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.gk-online__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--win); flex: none; }
.gk-online__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--win); opacity: 0; animation: gk-ping 2.4s var(--ease) infinite; }
@keyframes gk-ping { 0% { transform: scale(.4); opacity: .55; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.gk-tour {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px;
  border-radius: var(--r-md); background: var(--primary-soft, rgba(249,204,82,.12)); color: var(--text); font-size: 13px; line-height: 1.25;
  transition: background-color var(--dur-1) var(--ease);
}
.gk-tour:hover { background: rgba(249,204,82,.18); color: var(--text); }
.gk-tour__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-9); background: rgba(249,204,82,.16); color: var(--primary-text, #F9CC52); flex: none; }
.gk-tour__txt { display: flex; flex-direction: column; min-width: 0; }
.gk-tour__title { font-weight: 700; white-space: nowrap; }
.gk-tour__meta { color: var(--text-2); font-size: 12px; white-space: nowrap; }
.gk-tour__meta b { color: var(--primary-text, #F9CC52); font-weight: 700; font-variant-numeric: tabular-nums; }
.gk-shell { position: relative; min-width: 0; }
.gk-shell--side {
  display: flex; flex-direction: column;
  border-radius: var(--gk-radius); background: var(--gk-card); overflow: hidden;
}
.gk-stage { position: relative; min-width: 0; background: var(--gk-field); overflow: hidden; }
.gk-shell--side > .gk-stage { order: -1; height: var(--gk-stage-h); }
.gk[style*="--gk-stage-ar"] .gk-shell--side > .gk-stage { height: auto; aspect-ratio: var(--gk-stage-ar); max-height: 70svh; width: 100%; }
.gk-shell:fullscreen { width: 100vw; height: 100vh; border-radius: 0; }

.gk-panel { display: flex; flex-direction: column; min-width: 0; padding: 16px; background: var(--gk-card); }
.gk-panel__body { display: flex; flex-direction: column; gap: var(--gk-gap); min-width: 0; }
.gk-panel__foot { display: flex; flex-direction: column; gap: 14px; min-width: 0; order: -1; margin-bottom: 20px; }
.gk-panel__foot > .gk-ctarow { order: -1; }
.gk-pane { display: flex; flex-direction: column; gap: var(--gk-gap); min-width: 0; }
.gk-pane[hidden] { display: none !important; }

@container gk (min-width: 900px) {
  .gk-shell--side {
    display: grid; grid-template-columns: var(--gk-side) minmax(0, 1fr);
    height: var(--gk-h);
  }
  .gk-shell--side > .gk-stage,
  .gk[style*="--gk-stage-ar"] .gk-shell--side > .gk-stage { order: 0; height: auto; max-height: none; aspect-ratio: auto; }
  .gk-shell--side > .gk-panel {
    padding: var(--gk-pad); min-height: 0;
    container: gkpanel / size;
    --gk-cta-h: 68px;
  }
  .gk-shell--side .gk-panel__body {
    flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    margin: -4px; padding: 4px;
    scrollbar-width: thin; scrollbar-color: var(--gk-ctl-2) transparent;
  }
  .gk-shell--side .gk-panel__foot { order: 0; margin: auto 0 0; padding-top: 18px; }
  .gk-shell--side .gk-panel__foot > .gk-ctarow { order: 10; }
  .gk-shell--side .gk-cta { font-size: 18px; }
  .gk-shell--side .gk-panel__foot > .gk-stats { gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--gk-ctl); }
  .gk-shell--side .gk-panel__foot > .gk-stats dd { font-size: 16px; }
  .gk-shell--side > .gk-panel.gk-panel--roomy { --gk-gap: 28px; --gk-cta-h: 74px; }
  .gk-panel--roomy .gk-amount:not(.gk-amount--compact) .gk-amount__box { min-height: 64px; }
  .gk-panel--roomy .gk-amount:not(.gk-amount--compact) .gk-amount__input { font-size: 20px; }
  .gk-panel--roomy .gk-amount__btn { min-height: 46px; min-width: 46px; }
  .gk-panel--roomy .gk-seg__opt { min-height: 48px; }
  .gk-panel--roomy .gk-select__el { min-height: 64px; }
  .gk-panel--roomy .gk-quick__btn { min-height: 42px; }
  .gk-panel--roomy .gk-panel__foot { gap: 16px; padding-top: 22px; }
  .gk-panel--roomy .gk-cta { font-size: 19.5px; border-radius: 16px; }
  .gk-panel--roomy .gk-cta__sub { font-size: 14px; }
  .gk-panel--roomy .gk-btn { font-size: 17px; border-radius: 16px; }
  .gk-panel--roomy .gk-panel__foot > .gk-stats { gap: 12px; padding: 16px 18px; }
  .gk-panel--roomy .gk-panel__foot > .gk-stats dt { font-size: 15px; }
  .gk-panel--roomy .gk-panel__foot > .gk-stats dd { font-size: 17.5px; }
  .gk-shell--side > .gk-panel.gk-panel--roomy2 { --gk-gap: 34px; }
  .gk-panel--roomy2 .gk-group { gap: 12px; }
  .gk-panel--roomy2 .gk-amount:not(.gk-amount--compact) .gk-amount__box { min-height: 68px; }
  .gk-panel--roomy2 .gk-amount:not(.gk-amount--compact) .gk-amount__input { font-size: 21px; }
  .gk-panel--roomy2 .gk-amount__btn { min-height: 48px; min-width: 48px; }
  .gk-panel--roomy2 .gk-seg__opt { min-height: 52px; }
  .gk-panel--roomy2 .gk-select__el { min-height: 68px; }
  .gk-panel--roomy2 .gk-quick__btn { min-height: 46px; }
}
@container gk (min-width: 1200px) { .gk-shell--side { --gk-side: 400px; } }
@container gk (min-width: 1600px) { .gk-shell--side { --gk-side: 420px; --gk-pad: 32px; } }
@container gk (max-width: 899.98px) and (min-width: 640px) {
  .gk-shell--side > .gk-stage { height: auto; aspect-ratio: var(--gk-stage-ar, 16 / 10); max-height: 64svh; }
  .gk-shell--side > .gk-panel { padding: 20px 24px 24px; }
  .gk-shell--side .gk-panel__body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-items: start; }
  .gk-shell--side .gk-panel__body > .gk-tabs,
  .gk-shell--side .gk-panel__body > .gk-pane { grid-column: 1 / -1; }
  .gk-shell--side .gk-panel__body > .gk-pane:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-items: start; }
}
@container gk (max-width: 639.98px) {
  .gk { --gk-gap: 18px; --gk-cta-h: 56px; }
  .gk-head__title h1, .gk-head__title h2 { font-size: 22px; }
  .gk-head { margin-bottom: 12px; gap: 8px 10px; }
  .gk-head__crumbs { display: none; }
  .gk-head__title { display: contents; }
  .gk-head__extra { margin-left: 0; min-width: 0; max-width: 100%; }
  .gk--fit-page .gk-shell--side { border-radius: var(--r-card-m); }
}
@container gk (min-width: 640px) and (max-width: 899.98px) {
  :where(.gk--fit-frame) .gk-shell--side { height: 100dvh; }
  :where(.gk--fit-frame) .gk-shell--side > .gk-stage { flex: 0 1 auto; min-height: 240px; }
  :where(.gk--fit-frame) .gk-shell--side > .gk-panel { flex: none; }
}
@container gk (max-width: 639.98px) {
  :where(.gk--fit-frame) .gk-shell--side { height: 100dvh; }
  :where(.gk--fit-frame) .gk-shell--side > .gk-stage { flex: 1 1 auto; min-height: clamp(90px, calc(100dvh - 420px), var(--gk-stage-min, 200px)); }
  :where(.gk--fit-frame) .gk-shell--side > .gk-panel { flex: none; padding: 10px 12px 12px; --gk-gap: 10px; --gk-cta-h: 54px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-panel__foot { gap: 8px; margin-bottom: 10px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-group { gap: 6px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-label { font-size: 13px; line-height: 16px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-amount:not(.gk-amount--compact) > .gk-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  :where(.gk--fit-frame) .gk-shell--side .gk-amount__box { height: 52px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-amount--compact .gk-amount__box { height: 46px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-tabs { padding: 4px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-tabs__tab { height: 42px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-seg { padding: 4px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-seg__opt { height: 44px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-select__el { height: 48px; }
  :where(.gk--fit-frame) .gk-shell--side .gk-slider__scale { display: none; }
}
.gk-shell--bottom {
  display: flex; flex-direction: column;
  height: var(--gk-h);
  border-radius: var(--gk-radius); background: var(--gk-field); overflow: hidden;
  --gk-dock-w: 940px;
}
.gk-shell--bottom > .gk-stage { flex: 1 1 auto; min-height: 280px; background: transparent; }
.gk-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  width: min(100% - 32px, var(--gk-dock-w)); margin: 14px auto 0;
}
.gk-bar__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gk-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.gk-dock { display: flex; justify-content: center; padding: 12px 16px 24px; }
.gk-shell--bottom .gk-panel {
  width: min(100%, var(--gk-dock-w)); flex: none;
  display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--gk-card);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  grid-template-areas: "main cta" "extra extra";
  align-items: end;
}
.gk-shell--bottom .gk-panel > .gk-panel__body, .gk-shell--bottom .gk-panel > .gk-panel__foot { display: contents; }
.gk-shell--bottom .gk-amount, .gk-shell--bottom .gk-actions { grid-area: main; }
.gk-shell--bottom .gk-ctarow { grid-area: cta; }
.gk-shell--bottom .gk-extra { grid-area: extra; }
.gk-shell--bottom .gk-amount .gk-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gk-shell--bottom .gk-amount__box { height: 64px; }
.gk-shell--bottom .gk-cta { height: 64px; font-size: 18px; }
.gk-shell--bottom .gk-stats { grid-column: 1 / -1; }
.gk:not(.is-locked) .gk-shell--bottom .gk-actions { display: none; }
.gk.is-locked .gk-shell--bottom .gk-panel:has(.gk-actions) .gk-amount,
.gk.is-locked .gk-shell--bottom .gk-panel:has(.gk-actions) .gk-ctarow { display: none; }
.gk.is-locked .gk-shell--bottom .gk-actions { grid-column: 1 / -1; }
.gk-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; min-width: 0; }
.gk-extra[hidden] { display: none; }
@container gk (max-width: 759.98px) {
  .gk-shell--bottom { height: auto; }
  .gk-shell--bottom > .gk-stage { flex: none; height: auto; aspect-ratio: var(--gk-stage-ar, 1 / 0.95); max-height: 62svh; min-height: 260px; }
  .gk-bar { width: auto; margin: 12px 12px 0; }
  .gk-dock { display: block; padding: 12px 12px 16px; }
  .gk-shell--bottom .gk-panel { width: auto; }
  .gk-shell--bottom .gk-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cta" "main" "extra"; padding: 12px; }
  .gk.is-locked .gk-shell--bottom .gk-actions { grid-column: auto; }
  .gk-shell--bottom .gk-amount__box, .gk-shell--bottom .gk-cta { height: 56px; }
  .gk-shell--bottom .gk-cta { font-size: 17px; }
  .gk--fit-page .gk-shell--bottom { border-radius: var(--r-card-m); }
}
.gk-field { position: absolute; inset: 0; overflow: hidden; background: var(--gk-field); }
.gk-field__game { position: absolute; inset: 0; }
.gk-field__corner { position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.gk-field__corner > * { pointer-events: auto; }
.gk-field__corner--tl { top: 16px; left: 16px; }
.gk-field__corner--tr { top: 16px; right: 16px; }
.gk-field__corner--bl { bottom: 16px; left: 20px; }
.gk-field__corner--br { bottom: 16px; right: 20px; }
@container gk (max-width: 639.98px) {
  .gk-field__corner--tl { top: 10px; left: 10px; }
  .gk-field__corner--tr { top: 10px; right: 10px; }
  .gk-field__corner--bl { bottom: 8px; left: 12px; }
  .gk-field__corner--br { bottom: 8px; right: 12px; }
}
.gk-tool {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 40px; height: 40px; border-radius: 11px;
  background: var(--gk-tool-bg); color: var(--text-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.gk-tool::after { content: ""; position: absolute; inset: -3px; }
.gk-tool:hover { color: var(--text); background: rgba(34, 43, 70, .85); }
.gk-tool:active { transform: translateY(1px); }
.gk-tool--turbo[aria-pressed="true"] { color: var(--primary-text, #F9CC52); background: var(--primary-soft, rgba(249,204,82,.12)); }
.gk-tool--help { color: var(--text); }
.gk-tool--help:hover { color: var(--white, #fff); }
.gk-tool .gk-ico-off { display: none; }
.gk-tool--sound[aria-pressed="false"] .gk-ico-on { display: none; }
.gk-tool--sound[aria-pressed="false"] .gk-ico-off { display: block; }
.gk-tool--sound[aria-pressed="false"] { color: var(--text-3); }
.gk-tool--rtp { padding: 0 14px 0 11px; color: var(--text); }
.gk-tool--fair svg, .gk-tool--rtp svg { color: var(--win); }
.gk-bar .gk-tool { min-width: 44px; height: 44px; border-radius: 12px; background: var(--gk-card); -webkit-backdrop-filter: none; backdrop-filter: none; }
.gk-bar .gk-tool:hover { background: var(--gk-ctl); }
.gk-bar .gk-tool--rtp { padding: 0 16px 0 12px; }
.gk-badge {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 32px;
  color: var(--text); font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 0 12px rgba(0,0,0,.35);
  opacity: .92; transition: opacity var(--dur-1) var(--ease);
}
.gk-badge svg { color: var(--win); filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.6)); }
.gk-badge::after { content: ""; position: absolute; inset: -6px -4px; }
.gk-badge:hover { opacity: 1; color: var(--white); }
.gk-media { position: absolute; inset: 0; container-type: size; display: grid; place-items: center; background: var(--gk-media-bg, transparent); }
.gk-media__frame {
  position: relative; width: min(100cqw, 100cqh * var(--gk-ar, 0.79)); aspect-ratio: var(--gk-ar, 0.79);
  overflow: hidden; background: var(--gk-media-bg, transparent);
}
.gk-media--fill .gk-media__frame { width: 100%; height: 100%; aspect-ratio: auto; }
.gk-media__frame > img, .gk-media__frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.gk-media__frame > iframe { opacity: 0; transition: opacity var(--dur-3) var(--ease); }
.gk-media__frame > iframe.is-ready { opacity: 1; }
.gk-mascot, .gk [data-gk-mascot] { display: none !important; }
.gk-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border-radius: 14px; background: var(--gk-ctl); }
.gk-tabs__tab {
  position: relative; height: 44px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--text-3);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.gk-tabs__tab:hover:not([aria-selected="true"]):not(:disabled) { color: var(--text); }
.gk-tabs__tab[aria-selected="true"] { background: var(--primary-soft, rgba(249,204,82,.12)); color: var(--primary-text, #F9CC52); box-shadow: inset 0 0 0 1px var(--primary-line, rgba(249,204,82,.38)); }
.gk-tabs__tab:disabled { opacity: .5; }
.gk-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 0; margin: 0; padding: 0; }
.gk-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.gk-label__hint { color: var(--text-2); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gk-msg { font-size: 12.5px; color: var(--danger-text); margin: -2px 0 0; }
.gk-msg:empty { display: none; }
.gk-amount__box {
  display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 8px 0 14px;
  border-radius: 14px; background: var(--gk-ctl);
  transition: box-shadow var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.gk-amount__box:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary-line, rgba(249,204,82,.38)); }
.gk-amount.is-invalid .gk-amount__box { box-shadow: inset 0 0 0 1.5px var(--danger); }
.gk-amount__cur { display: grid; place-items: center; width: 24px; height: 24px; flex: none; color: var(--rub, #F2BE2E); }
.gk-amount__input {
  flex: 1; min-width: 0; height: 100%; padding: 0 2px; border: 0; outline: none; background: transparent;
  color: var(--text); font-family: var(--font-body); font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.gk-amount__input:focus-visible { outline: none; }
.gk-amount__input:disabled { color: var(--text-2); }
.gk-amount__ops { display: flex; gap: 5px; flex: none; }
.gk-amount__btn {
  position: relative; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px;
  background: var(--gk-ctl-2); color: var(--text); font-size: 14px; font-weight: 700;
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.gk-amount__btn--max { font-size: 12.5px; letter-spacing: .02em; }
.gk-amount__btn:hover:not(:disabled) { background: var(--gk-ctl-h); }
.gk-amount__btn:active:not(:disabled) { transform: translateY(1px); }
.gk-amount__btn:disabled { opacity: .4; }
.gk-quick { display: grid; grid-template-columns: repeat(var(--gk-quick-n, 4), minmax(0, 1fr)); gap: 6px; }
.gk-quick__btn {
  position: relative; height: 38px; border-radius: 10px; background: var(--gk-ctl); color: var(--text-2);
  font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.gk-quick__btn:hover:not(:disabled) { background: var(--gk-ctl-2); color: var(--text); }
.gk-quick__btn[aria-pressed="true"] { background: var(--primary-soft, rgba(249,204,82,.12)); color: var(--white, #fff); box-shadow: inset 0 0 0 1px var(--primary-line, rgba(249,204,82,.38)); }
.gk-quick__btn:disabled { opacity: .45; }
.gk-amount--compact .gk-amount__box { height: 48px; }
.gk-amount--compact .gk-amount__input { font-size: 16px; }
@container gk (max-width: 379.98px) {
  .gk-amount__btn { min-width: 38px; padding: 0 8px; }
  .gk-amount__input { font-size: 17px; }
}
.gk-select { position: relative; }
.gk-select__el {
  width: 100%; height: 58px; padding: 0 48px 0 16px; appearance: none; -webkit-appearance: none;
  border: 0; border-radius: 14px; background: var(--gk-ctl);
  color: var(--text); font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.gk-select__el:hover:not(:disabled) { background: #1E2740; }
.gk-select__el:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--primary-line, rgba(249,204,82,.38)); }
.gk-select__el:disabled { opacity: .55; cursor: not-allowed; }
.gk-select__el option { background: var(--gk-card); color: var(--text); }
.gk-select__chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.gk-seg { display: grid; grid-template-columns: repeat(var(--gk-seg-n, 3), minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 14px; background: var(--gk-ctl); }
.gk-seg__opt {
  position: relative; height: 42px; padding: 0 6px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.gk-seg__opt:hover:not([aria-checked="true"]):not(:disabled) { color: var(--text); }
.gk-seg__opt[aria-checked="true"] { background: var(--primary-soft, rgba(249,204,82,.12)); color: var(--primary-text, #F9CC52); box-shadow: inset 0 0 0 1px var(--primary-line, rgba(249,204,82,.38)); }
.gk-seg__opt:disabled { opacity: .5; }
.gk-slider__val { color: var(--text); font-family: var(--font-body); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gk-slider__input { --p: 50%; width: 100%; height: 30px; margin: -4px 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.gk-slider__input:disabled { cursor: not-allowed; opacity: .5; }
.gk-slider__input:focus-visible { outline: none; }
.gk-slider__input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--primary-solid, #F9CC52) 0 var(--p), var(--gk-ctl-2) var(--p) 100%); }
.gk-slider__input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--gk-ctl-2); }
.gk-slider__input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--primary-solid, #F9CC52); }
.gk-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--white, #fff); box-shadow: 0 0 0 5px rgba(249,204,82,.26), 0 3px 8px rgba(0,0,0,.4);
  transition: transform var(--dur-1) var(--ease);
}
.gk-slider__input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--white, #fff); box-shadow: 0 0 0 5px rgba(249,204,82,.26); }
.gk-slider__input:hover::-webkit-slider-thumb { transform: scale(1.1); }
.gk-slider__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--gk-card), 0 0 0 5px var(--primary-text, #F9CC52); }
.gk-slider__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.gk-toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.gk-toggle:hover:not(:disabled) { color: var(--text); }
.gk-toggle__track { position: relative; width: 42px; height: 24px; border-radius: 12px; background: var(--gk-ctl-2); flex: none; transition: background-color var(--dur-2) var(--ease); }
.gk-toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-2); transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease); }
.gk-toggle[aria-checked="true"] .gk-toggle__track { background: var(--primary-fill, linear-gradient(180deg, #FFD866 0%, #F9C940 100%)); box-shadow: var(--accent-edge, none); }
.gk-toggle[aria-checked="true"] .gk-toggle__track::after { transform: translateX(18px); background: #FFFFFF; box-shadow: 0 1px 3px rgba(10,14,40,.4); }
.gk-toggle--win[aria-checked="true"] .gk-toggle__track { background: var(--win-fill, var(--win)); box-shadow: var(--win-edge, none); }
.gk-toggle:focus-visible { outline: none; }
.gk-toggle:focus-visible .gk-toggle__track { outline: 2px solid var(--primary-text, #F9CC52); outline-offset: 2px; }
.gk-toggle:disabled { opacity: .5; }
.gk-ctarow { display: flex; gap: 8px; min-width: 0; }
.gk-cta {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: var(--gk-cta-h); min-height: var(--gk-cta-h); padding: 0 18px; border-radius: 14px;
  background: var(--primary-fill, linear-gradient(180deg, #FFD866 0%, #F9C940 100%)); color: var(--on-primary, #14100A);
  font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.1; letter-spacing: 0;
  text-align: center; white-space: nowrap; user-select: none;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  transition: background-color var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.gk-cta__label { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.gk-cta__sub { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: inherit; opacity: .78; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.gk-cta__sub:empty { display: none; }
.gk-cta:hover:not([aria-disabled="true"]), .gk-cta.is-hover { background: var(--primary-fill-hover, linear-gradient(180deg, #FFE085 0%, #FBD050 100%)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.gk-cta:active:not([aria-disabled="true"]), .gk-cta.is-press { background: var(--primary-fill-press, linear-gradient(180deg, #F5C53A 0%, #EDB92C 100%)); transform: translateY(1px); box-shadow: inset 0 2px 0 rgba(60,40,0,.16); }
.gk-cta:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.gk-cta[data-state="cashout"] { flex-direction: row; gap: 12px; background: var(--win-fill, var(--win)); color: #FFFFFF; text-shadow: none; box-shadow: inset 0 1px 0 rgba(190,255,225,.3), 0 10px 26px rgba(19,168,107,.24); }
.gk-cta[data-state="cashout"] .gk-cta__sub { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 17px; font-weight: 700; color: #FFFFFF; opacity: 1; }
.gk-cta[data-state="cashout"] .gk-cta__sub::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }
.gk-cta[data-state="cashout"]:hover:not([aria-disabled="true"]), .gk-cta[data-state="cashout"].is-hover { background: var(--win-fill-hover, #3ADB95); box-shadow: inset 0 1px 0 rgba(190,255,225,.45), 0 12px 34px rgba(19,168,107,.36); }
.gk-cta[data-state="cashout"]:active:not([aria-disabled="true"]), .gk-cta[data-state="cashout"].is-press { background: #0E9660; }
.gk-cta[data-state="cashout"] { animation: gk-cash-in .35s var(--ease); }
.gk-ctarow:has(> .gk-btn:not([hidden])) .gk-cta[data-state="cashout"] { flex-direction: column; gap: 1px; padding: 0 12px; }
.gk-ctarow:has(> .gk-btn:not([hidden])) .gk-cta[data-state="cashout"] .gk-cta__sub { font-family: var(--font-body); font-size: 14px; }
.gk-ctarow:has(> .gk-btn:not([hidden])) .gk-cta[data-state="cashout"] .gk-cta__sub::before { display: none; }
.gk-ctarow:has(> .gk-btn:not([hidden])) .gk-btn { min-width: 0; padding: 0 16px; }
:where(.gk-ctarow[data-w]) .gk-cta[data-state="cashout"] { flex-direction: column; gap: 1px; padding: 0 12px; }
:where(.gk-ctarow[data-w]) .gk-cta[data-state="cashout"] .gk-cta__sub { font-family: var(--font-body); font-size: 14px; }
:where(.gk-ctarow[data-w]) .gk-cta[data-state="cashout"] .gk-cta__sub::before { display: none; }
:where(.gk-ctarow[data-w]) .gk-cta { font-size: 16px; }
:where(.gk-ctarow[data-w="xs"]) .gk-cta { font-size: 14.5px; padding: 0 8px; }
.gk-ctarow:where([data-w="xs"]) .gk-btn { padding: 0 12px; gap: 6px; font-size: 15px; }
@keyframes gk-cash-in { from { transform: scale(.97); } to { transform: none; } }
.gk-cta[data-state="busy"] { background: var(--primary-fill-press, linear-gradient(180deg, #F5C53A 0%, #EDB92C 100%)); color: var(--on-primary, #14100A); cursor: progress; }
.gk-cta[data-state="busy"]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 12px, transparent 12px 24px);
  background-size: 34px 34px; animation: gk-stripes .8s linear infinite;
}
.gk-cta__spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: gk-spin .8s linear infinite; }
@keyframes gk-spin { to { transform: rotate(360deg); } }
@keyframes gk-stripes { to { background-position: 34px 0; } }
.gk-cta[data-state="off"], .gk-cta[aria-disabled="true"]:not([data-state="busy"]) {
  background: var(--gk-ctl-2); color: var(--text-3); box-shadow: none; text-shadow: none; cursor: not-allowed;
}
.gk-cta[data-state="off"] .gk-cta__sub, .gk-cta[aria-disabled="true"]:not([data-state="busy"]) .gk-cta__sub { color: var(--text-3); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .gk-cta[data-state="busy"]::before, .gk-cta__spin, .gk-online__dot::after, .gk-cta[data-state="cashout"] { animation: none !important; }
}
.gk-cta:not([data-state="off"]):not([data-state="cashout"]):not([data-state="busy"]):not([aria-disabled="true"]):not([data-rk-variant]) {
  background: var(--primary-fill, linear-gradient(180deg, #FFD866 0%, #F9C940 100%)) !important;
  color: var(--on-primary, #14100A) !important; text-shadow: none !important;
}
.gk-cta:not([data-state="off"]):not([data-state="cashout"]):not([data-state="busy"]):not([aria-disabled="true"]):not([data-rk-variant]):is(:hover, .is-hover) {
  background: var(--primary-fill-hover, linear-gradient(180deg, #FFE085 0%, #FBD050 100%)) !important;
}
.gk-cta:not([data-state="off"]):not([data-state="cashout"]):not([data-state="busy"]):not([aria-disabled="true"]):not([data-rk-variant]):is(:active, .is-press) {
  background: var(--primary-fill-press, linear-gradient(180deg, #F5C53A 0%, #EDB92C 100%)) !important;
}
.gk-cta[data-state="busy"] {
  background: var(--primary-fill-press, linear-gradient(180deg, #F5C53A 0%, #EDB92C 100%)) !important;
  color: var(--on-primary, #14100A) !important; text-shadow: none !important;
}
.gk-cta[data-state="cashout"]:not([data-rk-tier]):not([aria-disabled="true"]) {
  background: var(--win-fill, linear-gradient(180deg, #15A86A 0%, #12A064 38%, #0F9159 70%, #0B7F4E 100%)) !important;
  color: #FFFFFF !important; text-shadow: none !important;
}
.gk-cta[data-state="cashout"]:not([data-rk-tier]):not([aria-disabled="true"]):is(:hover, .is-hover) {
  background: var(--win-fill-hover, linear-gradient(180deg, #17AC6D 0%, #14A569 38%, #119B60 70%, #0D8754 100%)) !important;
}
.gk-cta[data-state="cashout"]:not([data-rk-tier]):not([aria-disabled="true"]):is(:active, .is-press) {
  background: linear-gradient(180deg, #129B60 0%, #0B7F4E 100%) !important;
}
.gk-cta, .gk-cta :is(.gk-cta__label, .gk-cta__sub) { font-family: var(--font-body) !important; }
.gk-cta { font-weight: 700 !important; text-shadow: none !important; }
.gk-cta:not([data-state="off"]):not([aria-disabled="true"]):not([data-rk-variant]) :is(.gk-cta__label, .gk-cta__sub) { color: inherit; }
.gk-cta:not([data-state="off"]):not([data-state="cashout"]):not([aria-disabled="true"]):not([data-rk-variant]) .gk-cta__sub { opacity: .78; }
.gk-cta[data-state="cashout"]:not([aria-disabled="true"]):not([data-rk-variant]) .gk-cta__sub { opacity: .94; }
.gk-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  height: var(--gk-cta-h); min-width: 104px; padding: 0 18px; border-radius: 14px;
  background: var(--gk-ctl-2); color: var(--text); font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.gk-btn svg { color: var(--primary-text, #F9CC52); }
.gk-btn:hover:not([aria-disabled="true"]) { background: var(--gk-ctl-h); }
.gk-btn:active:not([aria-disabled="true"]) { transform: translateY(1px); }
.gk-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.gk-btn[hidden] { display: none; }
.gk-stats { display: grid; gap: 8px; margin: 0; }
.gk-stats__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gk-stats dt { font-size: 14px; color: var(--text-3); font-weight: 500; }
.gk-stats dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.gk-stats dd.is-win { color: var(--win); }
.gk-stats[hidden], .gk-stats__row[hidden] { display: none !important; }
.gk-actions { display: grid; grid-template-columns: repeat(var(--gk-actions-n, 4), minmax(0, 1fr)); gap: 10px; }
.gk-act {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 76px; padding: 0 10px; border-radius: 14px;
  background: var(--gk-ctl-2); color: var(--text);
  font-family: var(--font-body); font-size: 17px; font-weight: 700; white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), opacity var(--dur-1) var(--ease);
}
.gk-act__ico { display: grid; place-items: center; color: var(--gk-act-c, var(--text-2)); }
.gk-act:hover:not([aria-disabled="true"]) { background: var(--gk-ctl-h); }
.gk-act:active:not([aria-disabled="true"]) { transform: translateY(1px); background: var(--gk-ctl-on); }
.gk-act[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.gk-act[aria-disabled="true"] .gk-act__ico { filter: grayscale(1); }
@container gk (max-width: 759.98px) {
  .gk-actions { gap: 8px; }
  .gk-act { flex-direction: column; gap: 6px; height: 68px; font-size: 14px; padding: 0 4px; }
}
@container gk (max-width: 339.98px) {
  .gk-act { font-size: 12.5px; }
  .gk-act__txt { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
.gk-bets { margin-top: 28px; }
.gk-bets__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.gk-bets__tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--gk-card); max-width: 100%; }
.gk-bets__tab {
  position: relative; height: 40px; padding: 0 18px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--text-3); white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.gk-bets__tab:hover:not([aria-selected="true"]) { color: var(--text); }
.gk-bets__tab[aria-selected="true"] { background: var(--primary-soft, rgba(249,204,82,.12)); color: var(--primary-text, #F9CC52); box-shadow: inset 0 0 0 1px var(--primary-line, rgba(249,204,82,.38)); }
.gk-bets__live .gk-toggle__label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--text-3); vertical-align: 1px; }
.gk-bets__live[aria-checked="true"] .gk-toggle__label::before { background: var(--win); box-shadow: 0 0 0 3px var(--win-soft); }
.gk-bets__wrap { position: relative; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; }
.gk-bets__table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 14.5px; }
.gk-bets__table th { height: 36px; padding: 0 18px; text-align: left; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text-3); }
.gk-bets__table td { height: 54px; padding: 0 18px; white-space: nowrap; color: var(--text-2); font-variant-numeric: tabular-nums; }
.gk-bets__table tbody tr:nth-child(odd) td { background: var(--gk-card); }
.gk-bets__table tbody td:first-child { border-radius: 12px 0 0 12px; }
.gk-bets__table tbody td:last-child { border-radius: 0 12px 12px 0; }
.gk-bets__table tbody tr:hover td { background: var(--gk-ctl); }
.gk-bets__table tbody tr.is-new td { animation: gk-row-in .6s var(--ease); }
@keyframes gk-row-in { from { background: var(--primary-soft, rgba(249,204,82,.12)); } }
.gk-bets__table .is-num { text-align: right; }
.gk-bets__table .is-act { position: relative; width: 1%; text-align: right; }
.gk-bets__user { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.gk-bets__av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; flex: none; background: var(--gk-av, var(--av-1)); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.gk-bets__user.is-me { color: var(--primary-text, #F9CC52); }
.gk-mult { display: inline-grid; place-items: center; min-width: 58px; height: 28px; padding: 0 9px; border-radius: 8px; background: var(--tint-06); color: var(--text-2); font-size: 13.5px; font-weight: 700; }
.gk-mult.is-win { background: var(--win-soft); color: var(--win); }
.gk-mult.is-big { background: var(--primary-soft, rgba(249,204,82,.12)); color: var(--primary-text, #F9CC52); }
.gk-bets__win { font-weight: 700; color: var(--text-3); }
.gk-bets__win.is-win { color: var(--win); }
.gk-check { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
.gk-check::after { content: ""; position: absolute; inset: -5px -2px; }
.gk-check:hover { color: var(--text); background: var(--tint-06); }
.gk-check svg { color: var(--win); }
.gk-bets__empty { padding: 28px 16px; text-align: center; color: var(--text-3); font-size: 14px; background: transparent !important; }
@container gk (max-width: 759.98px) {
  .gk-bets { margin-top: 20px; }
  .gk-bets__table .is-opt { display: none; }
  .gk-bets__table th, .gk-bets__table td { padding: 0 8px; }
  .gk-bets__table th:first-child, .gk-bets__table td:first-child { padding-left: 12px; }
  .gk-bets__table th:last-child, .gk-bets__table td:last-child { padding-right: 6px; }
  .gk-check { width: 40px; padding: 0; justify-content: center; }
  .gk-check__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gk-mult { min-width: 0; }
  .gk-bets__av { width: 24px; height: 24px; font-size: 11px; }
  .gk-bets__user { gap: 8px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .gk-bets__tab { padding: 0 12px; font-size: 13.5px; }
}
@container gk (max-width: 339.98px) {
  .gk-bets__av { display: none; }
  .gk-bets__user { max-width: 80px; }
  .gk-bets__tab { padding: 0 9px; font-size: 13px; }
}

/* GKOUTLINE1001 — Codex-2: лишние обводки панели на ПК.
   Общая тема подключается позже кита и рисует линии через inset-тени.
   Тени отключаются явно, включая правила выбранной фишки игр;
   чужие файлы/блоки не меняются.
   До 760 px всё оформление остаётся прежним, включая iPhone. */
@media (min-width: 760px) {
  html body .gk.gk .gk-panel.gk-panel :is(
    .gk-tabs, .gk-tabs__tab, .gk-seg, .gk-seg__opt,
    .gk-amount__box, .gk-amount__input, .gk-amount__btn,
    .gk-quick__btn, .gk-select__el, .gk-btn, .gk-act,
    .gk-toggle__track, .gk-slider, .gk-slider__input,
    .pk-cnt, .pk-step, .bj-rack,
    .mn-count, .mn-count__input, .mn-count__btn,
    .rk-wallet, .rk-wallet__reset, .ar-lrow,
    .sc-kind, .sc-tl, .sc-tick, .sc-step, .sc-step__btn,
    .gh-qb
  ) {
    border: 0 !important;
    box-shadow: none !important;
  }
  html body .gk.gk .gk-panel.gk-panel :is(button, input, select) {
    -webkit-appearance: none;
    appearance: none;
  }
  /* Плинко в рамке сайта: у блока рядов своя светлая подложка без
     скругления. Убираем её, оставляя геометрию и сам ползунок. */
  html body .gk.gk .gk-panel.gk-panel .gk-group.gk-slider {
    background: transparent !important;
  }
  /* Штатный focus-visible виден на каждом действии, поле, списке
     и ползунке. Состояние ошибки суммы сохраняется. */
  html body .gk.gk .gk-panel.gk-panel :is(button, input, select):focus-visible {
    outline: 2px solid var(--gk-ctl-focus, #9EA4FF) !important;
    outline-offset: 3px;
  }
  html body .gk.gk .gk-panel.gk-panel .gk-amount__box:has(.gk-amount__input:focus-visible) {
    outline: 2px solid var(--gk-ctl-focus, #9EA4FF) !important;
    outline-offset: 3px;
  }
  html body .gk.gk .gk-panel.gk-panel .gk-amount__input:focus-visible {
    outline: none !important;
  }
  html body .gk.gk .gk-panel.gk-panel .gk-amount.is-invalid .gk-amount__box {
    box-shadow: inset 0 0 0 1.5px var(--danger) !important;
  }
  /* Шторм тоже подключает кит, но его кнопки имеют собственные
     имена. Прозрачный border сохраняет размеры этих кнопок. */
  html body .gs :is(.gs-pm, .gs-pill, .gs-switch) {
    border-color: transparent !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
  }
  html body .gs :is(.gs-pm, .gs-pill, .gs-switch):focus-visible {
    outline: 2px solid var(--gk-ctl-focus, #9EA4FF) !important;
    outline-offset: 3px;
  }
}

/* >>> GIFTPANEL1002-fill — use the free panel height for gifts; desktop only. */
/* N2-tech-4 (ночь 02.10, замер fps): тот же блок, но ещё и внутри @media (min-width: 900px). Контейнер .gk не шире окна, поэтому на ПК
   всё как было, а на телефоне правила с .gk:is(…, :has(…)) не попадают в набор стилей: раньше любая смена класса, атрибута или текста
   в игре пересчитывала стили всего .gk (Мины −20 мс на касание, Ракетка −3 мс на кадр при CPU ×4). */
@media (min-width: 900px) {
@container gk (min-width: 900px) {
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel { min-height: 0; row-gap: 0; }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel > .gk-panel__body {
    display: flex; flex-direction: column; flex: 1 1 0; min-height: 0;
    overflow: hidden; gap: 12px; justify-content: flex-start;
  }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel > .gk-panel__foot {
    flex: 0 0 auto; order: 0; margin: 0; padding-top: 12px;
  }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel > .gk-panel__body > * { flex: 0 0 auto; }
  /* Flatten presentation wrappers without moving nodes or their handlers. */
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-panel__body :is(.gg-control, .gg-stake, .mn-gift-panel):has(:is(.gk-pgifts, .gg-list, .mn-gift-list, .jm-gifts)) { display: contents; }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-panel__body .gk-pane:not([hidden]):has(:is(.gk-pgifts, .gg-list, .mn-gift-list, .jm-gifts)) { display: contents; }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-panel__body > .gk-pane:empty { display: none; }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-panel__body :is(.gk-pseg, .gg-modes, .дар-чем, .jm-src) {
    order: -10; flex: 0 0 auto; margin-block: 0;
  }
  /* Parameters retain their nodes, above the list. The list takes the rest. */
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-panel__body .gk-pgifts {
    order: 100; display: flex; flex-direction: column; flex: 1 1 0;
    min-height: 0; min-width: 0; overflow: hidden; margin: 0;
  }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-panel__body :is(.gk-pgifts__list, .gg-panel-inline > .gg-list, .mn-gift-list, .jm-gifts) {
    order: 100; flex: 1 1 0; min-height: 0; max-height: none !important;
    min-width: 0; margin-block: 0; overflow-y: auto; overflow-x: hidden;
    align-content: start; align-items: start; grid-auto-rows: max-content;
    overscroll-behavior: contain;
  }
  html body .gk:is(.gk-pkind-gift, .mn-inline-gift, .jm-gift-pick, :has(.gg-panel-inline .gg-list:not([hidden]))) .gk-shell--side > .gk-panel .gk-pgifts > .gk-pgifts__err { order: 101; flex: 0 0 auto; }
}
}
/* <<< GIFTPANEL1002-fill */
