

:root {
  --color-bg: #140b24;
  --color-bg-sidebar: #1a102e;
  --color-bg-header: #1b1233;
  --color-bg-card: #231640;
  --color-bg-chip: #2c1c4c;
  --color-bg-elevated: #2e1d4f;
  --color-bg-input: #24183c;
  --color-primary: #7b4dff;
  --color-primary-hover: #8d63ff;
  --color-gold: #f5c518;
  --color-gold-2: #ffd56a;
  --color-fg: #f4eefc;
  --color-muted: #b9a8d4;
  --color-faint: #8b79a8;
  --color-border: #3a2a58;
  --color-danger: #e23b4a;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
}


  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

  html,
  body {
    background: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-sans);
    min-height: 100%;
  }

  #app,
  body {
    min-height: 100dvh;
  }

  * {
    box-sizing: border-box;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img {
    max-width: 100%;
    display: block;
  }

  input,
  select,
  textarea {
    font-family: inherit;
  }

:root {
  --header-h: 72px;
  --sidebar-w: 232px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.shell {
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-fg);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: color-mix(in oklab, var(--color-bg-header) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in oklab, var(--color-fg) 8%, transparent);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--color-bg-chip);
  color: var(--color-fg);
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: auto;
  height: 38px;
  max-width: 168px;
}

.logo-word {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 15px;
  text-transform: uppercase;
}

.search-wrap {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.search-wrap input {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in oklab, var(--color-fg) 14%, transparent);
  background: #2b1c48;
  color: var(--color-fg);
  padding: 0 18px 0 44px;
  outline: none;
}

.search-wrap input::placeholder {
  color: var(--color-faint);
}

.search-wrap .search-ic {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-faint);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-pill {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #3b1d63, #6a2db8);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 0;
  font-weight: 700;
  font-size: 14px;
  transition: transform 150ms var(--ease), background 150ms var(--ease), opacity 150ms;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-ghost {
  background: var(--color-bg-chip);
  color: var(--color-fg);
}

.btn-gold {
  background: var(--color-gold);
  color: #1a1020;
}

.btn-gold:hover {
  background: var(--color-gold-2);
}

.btn-outline {
  background: transparent;
  color: var(--color-fg);
  border: 1px solid color-mix(in oklab, var(--color-fg) 22%, transparent);
}

.btn-outline:hover {
  background: color-mix(in oklab, var(--color-fg) 8%, transparent);
  border-color: color-mix(in oklab, var(--color-fg) 38%, transparent);
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100dvh - var(--header-h));
}

.sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100dvh - var(--header-h));
  overflow: auto;
  padding: 16px 12px 32px;
  background: var(--color-bg-sidebar);
  border-right: 1px solid color-mix(in oklab, var(--color-fg) 7%, transparent);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 14px;
  transition: background 150ms var(--ease), color 150ms;
}

.nav-item:hover {
  background: color-mix(in oklab, var(--color-fg) 6%, transparent);
  color: var(--color-fg);
}

.nav-item.active {
  background: color-mix(in oklab, var(--color-primary) 28%, var(--color-bg-sidebar));
  color: var(--color-fg);
}

.nav-sep {
  height: 1px;
  margin: 10px 8px;
  background: color-mix(in oklab, var(--color-fg) 8%, transparent);
}

.main {
  min-width: 0;
  padding: 20px 24px 64px;
}

.hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  background: #12081f;
}

.hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 68% center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 8, 28, 0.72) 0%, rgba(16, 8, 28, 0.18) 46%, rgba(16, 8, 28, 0.04) 100%);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.hero-cta {
  width: 180px;
  max-width: 180px;
  margin-top: 8px;
}

.hero h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 420px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero .hero-sub {
  font-size: 22px;
  font-weight: 700;
  color: #e8ddff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-dots {
  position: absolute;
  left: 40px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dots button,
.hero-arrow {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in oklab, #fff 35%, transparent);
}

.dot.on {
  background: #fff;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--color-bg-chip);
  color: var(--color-fg);
  font-weight: 600;
  font-size: 13px;
}

.chip.active,
.chip:hover {
  background: var(--color-bg-elevated);
}

.chip-icon {
  width: 40px;
  padding: 0;
  display: grid;
  place-items: center;
}

.mobile-search-btn {
  display: none;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 14px;
}

.section-head h2,
.section-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.see-all {
  color: #c5b3ea;
  font-weight: 600;
  font-size: 14px;
}

.see-all:hover {
  color: #fff;
}

.game-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg-card);
  aspect-ratio: 1;
  isolation: isolate;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms var(--ease);
}

.game-card:hover img {
  transform: scale(1.06);
}

.game-card .badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #12c36a;
  color: #062;
  padding: 3px 7px;
  border-radius: 6px;
}

.game-card .badge.buy {
  background: #d4a017;
  color: #2a1a00;
}

.game-card .badge.red {
  background: var(--color-danger);
  color: #fff;
}

.game-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(10, 4, 20, 0.92));
  font-size: 12px;
  font-weight: 700;
}

.game-meta small {
  display: block;
  font-weight: 500;
  color: var(--color-muted);
  font-size: 11px;
}

.tourney-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tourney-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 210px;
  background: #160c28;
}

.tourney-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tourney-body {
  position: absolute;
  inset: 0;
  padding: 22px;
  background: linear-gradient(90deg, rgba(14, 8, 28, 0.62) 0%, rgba(14, 8, 28, 0.08) 62%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.tourney-body .date {
  font-size: 12px;
  font-weight: 700;
  color: #d7c8f3;
}

.tourney-body h3 {
  font-size: 22px;
  font-weight: 800;
  max-width: 280px;
  line-height: 1.2;
}

.tourney-body .prize {
  font-size: 18px;
  font-weight: 700;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 180px;
}

.promo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.promo-body {
  position: absolute;
  inset: 0;
  padding: 20px;
  background: linear-gradient(90deg, rgba(14, 8, 28, 0.55), rgba(14, 8, 28, 0.05));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.promo-body h3 {
  font-size: 18px;
  font-weight: 800;
  max-width: 200px;
}

.providers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.provider {
  height: 64px;
  border-radius: 12px;
  background: #1c122f;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: #d7ccee;
  text-align: center;
  padding: 8px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 6%, transparent);
}

.footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in oklab, var(--color-fg) 8%, transparent);
  display: grid;
  gap: 28px;
}

.footer h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 24px;
}

.support-box {
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.support-box a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #d9ccf6;
}

.support-box a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbbbe8;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: #fff;
}

.legal {
  font-size: 12px;
  color: var(--color-faint);
  line-height: 1.6;
  max-width: 1100px;
}

.article {
  max-width: 860px;
  line-height: 1.65;
}

.article h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 18px;
}

.article h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 28px 0 10px;
}

.article p {
  color: #e6def4;
  margin: 0 0 12px;
}

.article ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #e6def4;
}

.article li {
  margin: 6px 0;
}

.inline-link {
  color: #cbb6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}

.inline-link:hover {
  color: #fff;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.crumb {
  font-size: 12px;
  color: var(--color-faint);
  margin-bottom: 6px;
}

.crumb a:hover {
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}

.stat {
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 16px;
}

.stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-gold);
}

.stat span {
  color: var(--color-muted);
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 16, 0.72);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal {
  width: min(440px, 100%);
  background: #1d1334;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 10%, transparent);
}

.modal.wide {
  width: min(720px, 100%);
}

.modal h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.field input,
.field select {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #160c28;
  color: var(--color-fg);
  padding: 0 12px;
}

.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--color-muted);
  margin: 12px 0;
}

.form-error {
  color: #ff8b96;
  font-size: 13px;
}

.form-ok {
  color: #8dffc2;
  font-size: 13px;
}

.chat-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(360px, calc(100vw - 24px));
}

.chat-toggle {
  margin-left: auto;
  display: flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(123, 77, 255, 0.4);
}

.chat-panel {
  background: #1d1334;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 10%, transparent);
}

.chat-head {
  padding: 14px 16px;
  font-weight: 800;
  background: #261848;
  display: flex;
  justify-content: space-between;
}

.chat-log {
  height: 240px;
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.bubble.bot {
  background: #2a1b48;
}

.bubble.me {
  background: var(--color-primary);
  margin-left: auto;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
}

.chat-form input {
  flex: 1;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: #160c28;
  color: #fff;
  padding: 0 12px;
}




.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.reel {
  height: 120px;
  border-radius: 14px;
  background: #12081f;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  overflow: hidden;
}

.reel.spin {
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotateX(360deg);
  }
}

.search-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1d1334;
  border-radius: 16px;
  padding: 8px;
  z-index: 30;
  border: 1px solid var(--color-border);
  max-height: 320px;
  overflow: auto;
}

.search-hit {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
}

.search-hit:hover {
  background: #2a1b48;
}

.search-hit img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.lang {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-chip);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.lang-switch {
  min-width: 44px;
  color: var(--color-fg);
  text-decoration: none;
}

.lang-pair {
  display: grid;
  gap: 8px;
}

.lang-pair a {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-chip);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: none;
}

.lang-pair a.on {
  color: var(--color-fg);
  background: var(--color-bg-elevated);
}

.drawer-bg {
  display: none;
}

.lab-score {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.88fr);
  gap: 32px 40px;
  align-items: center;
  margin: 10px 0 8px;
  padding: 36px 40px;
  border-radius: 24px;
  background: #12091f;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--color-fg) 8%, transparent);
}

.lab-score::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 238, 252, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

.lab-score > * {
  position: relative;
  z-index: 1;
}

.lab-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.lab-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
}

.lab-title .gold { color: var(--color-gold); }
.lab-title .slate { color: #8ea0c0; }

.lab-lead {
  margin: 0 0 24px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.55;
  color: #c9bddc;
}

.lab-lead strong {
  color: #fff;
  font-weight: 800;
}

.lab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lab-cta {
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
}

.lab-card {
  background: #2a1854;
  border-radius: 22px;
  padding: 22px 24px 18px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 10%, transparent);
  box-shadow: 0 18px 40px rgba(8, 2, 20, 0.35);
}

.lab-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed color-mix(in oklab, var(--color-fg) 16%, transparent);
}

.lab-card-head > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9a8d4;
  padding-top: 10px;
}

.lab-total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
}

.lab-total b {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.lab-total small {
  font-size: 18px;
  font-weight: 700;
  color: #8b79a8;
}

.lab-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lab-bars li {
  display: grid;
  grid-template-columns: 92px 1fr 36px;
  align-items: center;
  gap: 12px;
}

.lab-bar-label {
  font-size: 14px;
  font-weight: 600;
  color: #d7c8f3;
}

.lab-bar-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-fg) 12%, transparent);
  overflow: hidden;
}

.lab-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d9dff 0%, #7ec8ff 42%, #f5d76a 100%);
}

.lab-bar-val {
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #f4eefc;
}

.lab-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in oklab, var(--color-fg) 16%, transparent);
  font-size: 12px;
  line-height: 1.5;
  color: #b9a8d4;
}

.lab-note strong {
  color: var(--color-gold);
  font-weight: 800;
}

.lab-method {
  width: min(760px, 100%);
  max-height: min(84vh, 820px);
  overflow: auto;
}

.lab-method-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.lab-method-head h2 {
  margin: 4px 0 0;
  font-size: 26px;
}

.lab-method-intro {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.lab-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lab-method-grid article {
  background: #160c28;
  border-radius: 16px;
  padding: 14px 14px 10px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 8%, transparent);
}

.lab-method-grid article:last-child { grid-column: 1 / -1; }

.lab-method-grid header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.lab-method-grid h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.lab-method-grid header b {
  color: var(--color-gold);
  font-size: 18px;
}

.lab-method-grid ol {
  margin: 0;
  padding-left: 18px;
  color: #d7c8f3;
  font-size: 13px;
  line-height: 1.45;
}

.lab-method-grid li { margin: 5px 0; }

.lab-method-foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

@media (max-width: 1100px) {
  .game-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .providers {
    grid-template-columns: repeat(4, 1fr);
  }
  .promo-pill {
    display: none;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .menu-btn {
    display: inline-flex;
  }
  .sidebar {
    position: fixed;
    z-index: 45;
    left: 0;
    top: 0;
    height: 100dvh;
    width: min(280px, 86vw);
    transform: translateX(-105%);
    transition: transform 250ms var(--ease);
    padding-top: 80px;
  }
  .sidebar.open {
    transform: none;
  }
  .drawer-bg {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 44;
  }
  .hero img,
  .hero {
    min-height: 220px;
  }
  .hero img {
    height: 240px;
  }
  .hero-overlay {
    padding: 20px;
  }
  .lab-score {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 22px;
  }
  .lab-title { font-size: clamp(26px, 8vw, 34px); }
  .lab-total b { font-size: 44px; }
  .lab-bars li { grid-template-columns: 78px 1fr 32px; gap: 8px; }
  .lab-method-grid { grid-template-columns: 1fr; }
  .lab-method-grid article:last-child { grid-column: auto; }
  .tourney-grid,
  .promo-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .game-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .main {
    padding: 14px 12px 80px;
  }
  .header {
    padding: 0 12px;
    gap: 10px;
  }
  .search-wrap {
    display: none;
  }
  .search-wrap.force {
    display: block;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    max-width: none;
    z-index: 30;
  }
  .mobile-search-btn {
    display: grid;
  }
}

@media (max-width: 520px) {
  .game-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .btn {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .logo-mark {
    height: 30px;
    max-width: 132px;
  }
  .lab-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.geo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--color-bg-chip);
  color: var(--color-fg);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.geo-chip em { font-style: normal; color: var(--color-muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.geo-chip b { color: var(--color-gold); letter-spacing: 0.04em; }
.geo-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3dd68c;
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.16); flex-shrink: 0;
}
.age-gate {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 4, 18, 0.88);
  display: grid; place-items: center; padding: 20px;
}
.age-box {
  width: min(420px, 100%); background: #1b1230; border-radius: 24px;
  padding: 28px 24px 24px; text-align: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 24px 60px rgba(0,0,0,0.45);
}
.age-logo {
  display: flex;
  justify-content: center;
}
.age-logo .logo-mark {
  height: 44px;
  max-width: 200px;
}
.age-box h2 { font-size: 26px; font-weight: 800; margin: 10px 0 12px; }
.age-lead { color: var(--color-muted); margin: 0 0 16px; line-height: 1.5; font-size: 15px; }
.geo-status {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--color-fg) 6%, transparent);
  color: var(--color-muted); font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.geo-status.is-ok { color: #8dffc2; background: rgba(61, 214, 140, 0.12); }
.geo-status.is-block { color: #ffb4bc; background: rgba(226, 59, 74, 0.14); }
.geo-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-gold);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.6);
  animation: geo-pulse 1.4s ease-out infinite;
}
@keyframes geo-pulse {
  70% { box-shadow: 0 0 0 10px rgba(245, 197, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
}
.age-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.age-actions .btn { min-width: 140px; }
@media (max-width: 1100px) {
  .geo-chip em { display: none; }
}



/* ===== Mobile layout fixes ===== */
button.game-card {
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
button.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.shell, .layout, .main, .header { max-width: 100%; }
html, body { overflow-x: clip; max-width: 100%; }
.header {
  width: 100%;
  overflow-x: clip;
  flex-wrap: nowrap;
}
.logo { min-width: 0; }
.header-right { flex-shrink: 0; min-width: 0; }
.header .btn { white-space: nowrap; flex-shrink: 0; }
.icon-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--color-bg-chip);
  color: var(--color-fg);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-actions { display: none; }
.mobile-search-panel { display: none; }
.header-search-desktop { flex: 1; max-width: 420px; }
.btn-short { display: none; }

.drawer-bg {
  display: none;
}
.drawer-bg.open {
  display: block;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(0, 0, 0, 0.55);
  z-index: 48;
}

@media (max-width: 1100px) {
  .promo-pill, .geo-chip { display: none !important; }
}

@media (max-width: 900px) {
  :root { --header-h: 56px; }
  .header {
    height: var(--header-h);
    min-height: var(--header-h);
    max-height: var(--header-h);
    padding: 0 10px;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 60;
    overflow: hidden;
  }
  .layout { grid-template-columns: 1fr; }
  .menu-btn, .icon-btn, .mobile-search-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .header-search-desktop, .search-wrap { display: none; }
  .mobile-search-panel.open {
    display: block;
    position: sticky;
    top: var(--header-h);
    z-index: 58;
    padding: 8px 12px 10px;
    background: color-mix(in oklab, var(--color-bg-header) 96%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid color-mix(in oklab, var(--color-fg) 8%, transparent);
  }
  .mobile-search-panel.open .search-wrap {
    display: block;
    position: relative;
    left: auto; right: auto; top: auto;
    max-width: none;
  }
  .logo { flex: 1; min-width: 0; overflow: hidden; }
  .logo-mark { height: 28px; max-width: min(120px, 38vw); }
  .header-right { gap: 6px; }
  .header .lang {
    height: 40px; min-width: 40px; padding: 0 10px; font-size: 12px;
  }
  .header .btn { height: 40px; padding: 0 12px; font-size: 12px; }
  .header .btn-register .btn-long { display: none; }
  .header .btn-register .btn-short { display: inline; }
  .sidebar {
    position: fixed;
    z-index: 50;
    left: 0;
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    width: min(300px, 88vw);
    transform: translateX(-105%);
    transition: transform 250ms var(--ease);
    padding-top: 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .sidebar.open { transform: none; }
  .drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px 4px 14px;
  }
  .drawer-actions .btn { width: 100%; height: 44px; }
  .hero, .hero img { min-height: 200px; }
  .hero img { height: 220px; }
  .hero-overlay {
    padding: 16px 16px 18px;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(16, 8, 28, 0.08) 0%, rgba(16, 8, 28, 0.78) 70%);
  }
  .hero h2 { font-size: 22px; max-width: 100%; }
  .hero .hero-sub { font-size: 18px; }
  .hero-cta { width: 100%; max-width: 240px; margin-top: 4px; }
  .lab-score { grid-template-columns: 1fr; padding: 20px 16px; gap: 20px; }
  .lab-cta { width: 100%; }
  .tourney-grid, .promo-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .game-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main { padding: 12px 12px calc(88px + env(safe-area-inset-bottom)); }
  .tourney-body, .promo-body { padding: 16px; }
  .tourney-body h3, .promo-body h3 { font-size: 18px; max-width: 100%; }
  .tourney-body a.btn, .promo-body a.btn, .tourney-body .btn, .promo-body .btn {
    width: auto !important;
    min-width: 132px;
    max-width: 100%;
    margin-top: 8px;
  }
  .providers { grid-template-columns: repeat(3, 1fr); }
  .chat-dock {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: min(360px, calc(100vw - 24px));
  }
  .filters { margin: 12px -12px 8px; padding: 0 12px 6px; }
}

@media (max-width: 520px) {
  .game-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .providers { grid-template-columns: 1fr 1fr; }
  .btn { height: 44px; padding: 0 14px; font-size: 13px; }
  .header .btn, .header .lang, .icon-btn, .menu-btn { height: 40px; }
  .logo-mark { height: 26px; max-width: min(108px, 34vw); }
  .header .btn-register { display: none; }
  .lab-cta, .hero-cta { width: 100%; max-width: none; }
}

.auth-card {
  width: min(440px, 100%);
  background: var(--color-bg-card);
  border-radius: 24px;
  padding: 22px 20px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 10%, transparent);
  margin: 8px 0 28px;
}
.auth-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-card .lead { color: var(--color-muted); font-size: 14px; margin-bottom: 8px; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.auth-actions .btn { min-height: 44px; }
@media (max-width: 520px) {
  .auth-actions { display: grid; grid-template-columns: 1fr; }
  .auth-actions .btn { width: 100%; }
}

.chat-dock,.chat-toggle,.chat-panel{display:none!important}
.tourney-body .date{display:none!important}

/* iPhone / mobile header 2026-09-05 */
@media (max-width: 900px) {
  :root { --header-h: 64px !important; }
  .header {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 0 12px !important;
    gap: 10px !important;
  }
  .menu-btn {
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
  }
  .icon-btn, .mobile-search-btn, .header-search-desktop, .search-wrap, .mobile-search-panel {
    display: none !important;
  }
  .logo-mark { height: 34px !important; max-width: min(150px, 42vw) !important; }
  .header .btn {
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }
  .header .btn-register { display: inline-flex !important; }
  .header .btn-register .btn-long { display: inline !important; }
  .header .btn-register .btn-short { display: none !important; }
  .hero h2 { font-size: 26px !important; white-space: normal !important; max-width: 100% !important; }
}
@media (max-width: 520px) {
  .header .lang, .header .btn-login { display: none !important; }
  .header .btn-register { display: inline-flex !important; height: 44px !important; font-size: 14px !important; }
  .logo-mark { height: 32px !important; }
}
@media (min-width: 901px) {
  .hero h2 {
    font-size: clamp(40px, 4.6vw, 56px) !important;
    white-space: nowrap !important;
    max-width: none !important;
  }
}
