﻿:root {
  --bg-deep: #103f31;
  --bg: #194c38;
  --panel: #22674b;
  --panel-soft: #2a815f;
  --panel-bright: #2d9e70;
  --line: #36745b;
  --text: #ffffff;
  --muted: #c5e2d2;
  --dim: #7db39e;
  --yellow: #facf20;
  --orange: #ffaa09;
  --green: #04be02;
  --danger: #ea4e3d;
  --shell-width: 500px;
  --install-height: 50px;
  --bottom-height: 67px;
  --bottom-space: calc(var(--bottom-height) + env(safe-area-inset-bottom, 0px));
  --bottom-clearance: calc(var(--bottom-space) + 88px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  max-width: 100%;
  background: var(--panel-soft);
}

body {
  width: 100%;
  max-width: var(--shell-width);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

input,
button,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}

p,
h1,
h2,
h3,
strong,
small,
label,
dd,
dt {
  overflow-wrap: anywhere;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
.game-card,
.category-link,
.menu-tile {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.site-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  box-shadow: 0 0 30px rgb(0 0 0 / 18%);
}

.hero-app-slide > *,
.notice-row > *,
.lobby-layout > *,
.game-detail-hero > *,
.ranking-list a > *,
.benefit-grid a > *,
.core-hero > *,
.core-step-list article > *,
.app-requirements dl > div > *,
.events-layout > *,
.event-card > *,
.invite-card > *,
.search-tools > * {
  min-width: 0;
}

.install-strip {
  position: sticky;
  top: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 24px 38px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  height: var(--install-height);
  padding: 0 8px;
  border-bottom: 2px solid var(--yellow);
  color: #fff4b3;
  background: linear-gradient(100deg, #0c4f3b 0%, #147454 58%, #1b8b62 100%);
  box-shadow: 0 3px 10px rgb(0 0 0 / 22%);
  font-size: 12px;
  font-weight: 700;
}

.install-strip > * {
  min-width: 0;
}

.install-strip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-strip .close-ad {
  border: 0;
  color: var(--yellow);
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.install-strip .close-ad:hover,
.install-strip .close-ad:focus-visible {
  color: #fff;
}

.install-strip img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid rgb(250 207 32 / 55%);
  border-radius: 6px;
  background: #175b43;
}

.tiny-btn {
  min-width: 74px;
  padding: 7px 9px;
  border: 1px solid #fff0a5;
  border-radius: 5px;
  color: #234332;
  background: linear-gradient(180deg, #ffe869, var(--yellow));
  box-shadow: 0 2px 0 #b98600, 0 3px 8px rgb(0 0 0 / 24%);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.tiny-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.tiny-btn:active {
  box-shadow: 0 1px 0 #b98600, 0 2px 4px rgb(0 0 0 / 22%);
  transform: translateY(1px);
}

.tiny-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.brand-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 52px;
  padding: 2px 10px 4px;
  background: #1f684f;
}

.brand-header .brand-logo {
  width: 100%;
  max-width: 225px;
  height: 41px;
  object-fit: contain;
  object-position: left center;
}

.brand-header > a:first-child {
  flex: 1 1 225px;
  min-width: 0;
}

.search-link {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 0 1px;
  color: var(--muted);
  font-size: 12px;
}

.search-dot {
  display: block;
  width: 14px;
  height: 14px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 11px 9px 0 -5px var(--yellow);
}

.hero-carousel {
  position: relative;
  margin: 4px 0 0;
  height: clamp(126px, 29.6vw, 148px);
  overflow: hidden;
  border-radius: 0;
  background: var(--panel);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-app-slide {
  grid-template-columns: minmax(0, 1fr) minmax(76px, 104px);
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: radial-gradient(circle at 88% 28%, rgb(250 207 32 / 24%), transparent 27%), linear-gradient(125deg, #0d3c2d, #207052);
}

.hero-theme-2 {
  background: radial-gradient(circle at 88% 28%, rgb(85 221 183 / 22%), transparent 27%), linear-gradient(125deg, #103a3a, #1d6b66);
}

.hero-theme-3 {
  background: radial-gradient(circle at 88% 28%, rgb(255 174 31 / 26%), transparent 27%), linear-gradient(125deg, #493513, #8a5b17);
}

.hero-theme-4 {
  background: radial-gradient(circle at 88% 28%, rgb(175 132 255 / 24%), transparent 27%), linear-gradient(125deg, #283653, #4a477d);
}

.hero-theme-5 {
  background: radial-gradient(circle at 88% 28%, rgb(250 207 32 / 24%), transparent 27%), linear-gradient(125deg, #123c2e, #19704c);
}

.hero-app-slide.is-active {
  display: grid;
}

.hero-app-copy {
  min-width: 0;
}

.hero-app-copy > span {
  display: block;
  margin-bottom: 3px;
  color: var(--yellow);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .8px;
}

.hero-app-copy h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.08;
}

.hero-app-copy p {
  margin: 5px 0 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.hero-app-copy a {
  display: inline-grid;
  place-items: center;
  min-width: 82px;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 12px;
  color: #544500;
  background: var(--yellow);
  font-size: 9px;
  font-weight: 800;
}

.hero-app-image {
  width: min(92px, 100%);
  aspect-ratio: 1;
  justify-self: end;
  border: 2px solid rgb(255 255 255 / 30%);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 7px 18px rgb(0 0 0 / 27%);
}

.hero-dots {
  position: absolute;
  right: 12px;
  bottom: 6px;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
}

.hero-dots .is-active {
  width: 14px;
  border-radius: 8px;
  background: #fff;
}

.notice-row {
  display: grid;
  grid-template-columns: 24px 1fr 30px;
  align-items: center;
  height: 38px;
  margin: 0 10px;
  color: var(--muted);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  overflow: hidden;
}

.notice-speaker {
  color: #fff;
  font-size: 19px;
}

.notice-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.notice-marquee span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

.mail-icon {
  position: relative;
  display: grid;
  place-items: center;
  color: #7fd7b7;
  font-size: 22px;
}

.mail-icon b {
  position: absolute;
  top: -7px;
  right: -2px;
  min-width: 19px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  color: #fff;
  background: var(--danger);
  font-size: 10px;
  line-height: 17px;
  text-align: center;
}

.jackpot {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(60px, 16.4vw, 82px);
  margin: 1px clamp(6px, 2vw, 10px) 4px;
  background-image: url('../image/12b9540259df1608.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.jackpot strong {
  margin-top: 19px;
  color: #ffef74;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 5.6vw, 28px);
  letter-spacing: clamp(1px, .4vw, 2px);
  text-shadow: 0 2px 2px #631406;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  align-items: end;
  padding: 3px 10px 7px;
}

.quick-action {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.quick-action img {
  width: 28px;
  height: 25px;
  object-fit: contain;
}

.quick-action > span:last-child {
  display: block;
  width: 100%;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.1;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.quick-action.text-button {
  align-self: center;
  min-height: 29px;
  padding: 7px 2px;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  color: #fff;
}

.quick-action.text-button.register {
  color: #194c38;
  background: var(--yellow);
}

.gift-badge {
  position: absolute;
  top: -10px;
  right: -4px;
  padding: 1px 5px;
  border-radius: 9px;
  color: #fff;
  background: var(--green);
  font-size: 9px;
}

.lobby-layout {
  display: grid;
  grid-template-columns: clamp(90px, 22vw, 110px) minmax(0, 1fr);
  min-height: 432px;
  padding: 0 10px var(--bottom-clearance);
}

.categories {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 1px 8px 0 0;
}

.category-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px;
  align-items: center;
  min-height: 42px;
  padding: 6px 5px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--panel);
  font-size: 11px;
}

.category-link img {
  width: 28px;
  height: 24px;
  object-fit: contain;
}

.category-link.active {
  color: #fff;
  background: var(--panel-soft);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 4%);
}

.games-panel {
  min-width: 0;
}

.game-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  height: 36px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.game-tab {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.game-tab.active {
  color: var(--yellow);
}

.game-tab.active::after {
  position: absolute;
  right: 20%;
  bottom: -1px;
  left: 20%;
  height: 2px;
  background: var(--yellow);
  content: '';
}

.game-tab:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -3px;
}

.game-tab-panel[hidden] {
  display: none;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 11px;
}

.game-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.game-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 9px;
}

.game-card img.game-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 9px;
  background: var(--panel-soft);
  box-shadow: 0 2px 4px rgb(0 0 0 / 25%);
}

.game-card h3 {
  margin: 5px 0 0;
  padding: 0 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommend-tag {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 19px;
  border-radius: 5px 0 6px 0;
  background: var(--orange);
  font-size: 11px;
}

.star {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #53585c;
  background: rgb(255 255 255 / 68%);
  font-size: 12px;
}

.more-games {
  display: block;
  margin: 18px auto 4px;
  padding: 8px 16px;
  border: 1px solid var(--yellow);
  border-radius: 16px;
  color: var(--yellow);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.game-tab-empty {
  display: grid;
  min-height: 250px;
  padding: 34px 24px;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgb(255 255 255 / 3%);
  text-align: center;
}

.game-tab-empty > span {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 34px;
  line-height: 1;
}

.game-tab-empty strong {
  color: #fff;
  font-size: 15px;
}

.game-tab-empty p {
  margin: 6px 0 18px;
  font-size: 12px;
  line-height: 1.45;
}

.game-tab-empty button {
  padding: 8px 18px;
  border: 1px solid var(--yellow);
  border-radius: 18px;
  color: var(--yellow);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.game-detail-page {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.game-detail-hero {
  display: grid;
  grid-template-columns: clamp(92px, 27vw, 124px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.game-detail-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgb(0 0 0 / 28%);
}

.game-detail-hero h1 {
  margin: 5px 0 6px;
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
}

.game-detail-hero p {
  margin: 0;
  color: var(--muted);
}

.game-provider {
  color: var(--yellow);
  font-size: 12px;
}

.game-demo-launch {
  width: auto;
  min-width: 145px;
  margin-top: 12px;
}

.game-demo-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
}

.game-demo-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  margin-bottom: 10px;
}

.game-demo-heading > * {
  min-width: 0;
  max-width: 100%;
}

.game-demo-heading h2,
.game-demo-heading p {
  margin: 0;
}

.game-demo-heading p {
  margin-top: 3px;
  color: var(--dim);
  font-size: 11px;
}

.game-demo-badge {
  padding: 4px 8px;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
}

.game-demo-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(180px, 60vw, 280px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #3d876a;
  border-radius: 12px;
  background: #071a13;
}

.game-demo-poster,
.game-demo-frame,
.game-demo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
}

.game-demo-poster {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  overflow: hidden;
}

.game-demo-poster::after {
  position: absolute;
  inset: 0;
  background: rgb(2 24 17 / 72%);
  content: '';
}

.game-demo-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(7px);
  transform: scale(1.24);
}

.game-demo-poster strong,
.game-demo-play {
  position: relative;
  z-index: 2;
}

.game-demo-play {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding-left: 5px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #214a35;
  background: var(--yellow);
  box-shadow: 0 5px 18px rgb(0 0 0 / 32%);
  font-size: 28px;
  cursor: pointer;
}

.game-demo-frame {
  display: none;
}

.game-demo-card.is-active .game-demo-poster {
  display: none;
}

.game-demo-card.is-active .game-demo-frame {
  display: block;
}

.game-demo-frame iframe {
  display: block;
  border: 0;
  background: #000;
}

.game-demo-status {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.game-demo-status .outline-btn {
  width: auto;
  margin: 0;
}

.game-demo-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.game-demo-toolbar[hidden] {
  display: none;
}

.game-demo-toolbar button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--bg-deep);
  cursor: pointer;
}

body.demo-fullscreen-open {
  overflow: hidden;
}

.game-demo-card:fullscreen,
.game-demo-card.is-fallback-fullscreen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: var(--bg-deep);
}

.game-demo-card.is-fallback-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.game-demo-card:fullscreen .game-demo-stage,
.game-demo-card.is-fallback-fullscreen .game-demo-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.game-demo-card:fullscreen .game-external-note,
.game-demo-card.is-fallback-fullscreen .game-external-note {
  display: none;
}

.game-external-note {
  margin: 10px 2px 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.45;
}

.game-related {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 2px 2px 12px;
  overflow: hidden;
}

.game-related .game-grid,
.game-related .game-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 370px) {
  .game-detail-hero { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .game-detail-hero h1 { font-size: 21px; }
  .game-demo-card { padding: 10px; }
  .game-demo-heading { gap: 7px; }
  .game-demo-badge { font-size: 9px; }
}

@media (max-width: 300px) {
  .game-detail-hero { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .game-detail-hero h1 { font-size: 19px; }
  .game-demo-launch { width: 100%; min-width: 0; }
}

.game-related h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.lobby-layout.has-home-sections {
  padding-bottom: 18px;
}

.home-extra-sections {
  display: grid;
  gap: 14px;
  padding: 2px 10px var(--bottom-clearance);
  background: linear-gradient(180deg, var(--bg) 0%, #123f31 100%);
}

.home-info-section {
  position: relative;
  overflow: hidden;
  padding: 16px 14px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 13px;
  background: linear-gradient(145deg, #21694e, #164a39);
  box-shadow: 0 8px 20px rgb(0 0 0 / 13%);
}

.home-info-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  content: '';
  opacity: .85;
}

.section-heading {
  margin-bottom: 13px;
}

.section-heading > span {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}

.section-link span {
  font-size: 19px;
  line-height: 1;
}

.ranking-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 27px 48px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  padding: 5px 8px 5px 5px;
  border-radius: 9px;
  background: rgb(5 48 34 / 45%);
}

.ranking-position {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgb(250 207 32 / 50%);
  border-radius: 50%;
  color: var(--yellow);
  font-weight: 800;
}

.ranking-list li:first-child .ranking-position {
  color: #694e00;
  background: var(--yellow);
}

.ranking-list img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.ranking-game {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ranking-game strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-game small,
.ranking-status {
  color: var(--muted);
  font-size: 10px;
}

.ranking-status {
  padding: 4px 6px;
  border-radius: 12px;
  color: #ffe886;
  background: rgb(250 207 32 / 11%);
  white-space: nowrap;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.benefit-grid a {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: 10px;
  background: rgb(8 55 40 / 38%);
}

.benefit-grid b {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--yellow);
  background: rgb(250 207 32 / 12%);
  font-size: 19px;
}

.benefit-grid strong {
  align-self: end;
  font-size: 12px;
}

.benefit-grid small {
  align-self: start;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.rtp-example {
  padding: 13px;
  border-radius: 10px;
  background: rgb(4 43 30 / 48%);
}

.rtp-example > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.rtp-example strong {
  color: var(--yellow);
  font-size: 30px;
  line-height: 1;
}

.rtp-example span {
  color: var(--muted);
  font-size: 10px;
}

.rtp-track {
  height: 7px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 10px;
  background: rgb(255 255 255 / 10%);
}

.rtp-track i {
  display: block;
  width: 96%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #56d98c, var(--yellow));
}

.rtp-example p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.rtp-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.rtp-points article {
  display: grid;
  gap: 4px;
  padding: 9px 7px;
  border-radius: 8px;
  background: rgb(255 255 255 / 5%);
  text-align: center;
}

.rtp-points strong {
  color: #fff4b3;
  font-size: 10px;
}

.rtp-points span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.home-faq-list {
  border-top: 1px solid var(--line);
}

.home-faq-section .faq-item summary {
  align-items: center;
  gap: 10px;
  padding: 13px 2px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.home-faq-section .faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-section .faq-item summary span:last-child {
  color: var(--yellow);
  font-size: 21px;
  line-height: 1;
  transition: transform .2s ease;
}

.home-faq-section .faq-item[open] summary span:last-child {
  transform: rotate(90deg);
}

.home-faq-section .faq-answer {
  padding: 0 2px 13px;
  font-size: 11px;
}

.home-faq-section .faq-item[open] .faq-answer {
  display: block;
}

.summary-section {
  padding-top: 20px;
  background: radial-gradient(circle at 100% 0%, rgb(250 207 32 / 13%), transparent 42%), linear-gradient(145deg, #21694e, #123f31);
}

.summary-section .section-heading {
  padding-right: 88px;
}

.summary-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 80px;
  height: 30px;
}

.summary-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.summary-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 9px;
  align-items: start;
}

.summary-list li > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #174632;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.summary-list div {
  display: grid;
  gap: 2px;
}

.summary-list strong {
  font-size: 12px;
}

.summary-list small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.summary-actions .wide-btn,
.summary-actions .outline-btn {
  min-height: 39px;
  margin: 0;
  font-size: 11px;
}

.responsible-note {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 9px;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  right: auto;
  bottom: 0;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, var(--shell-width));
  height: var(--bottom-space);
  margin: 0;
  padding: 5px 5px max(4px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #3d876a;
  background: #22674b;
  box-shadow: 0 -3px 12px rgb(0 0 0 / 16%);
  transform: translateX(-50%);
}

.bottom-nav .bottom-nav-link {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  grid-template-rows: 29px auto;
  gap: 1px;
  min-width: 0;
  min-height: 52px;
  padding: 2px 1px 1px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
}

.bottom-nav .bottom-nav-link::before {
  display: block;
  width: 28px;
  height: 28px;
  background-color: currentColor;
  content: '';
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
  mask: var(--nav-icon) center / contain no-repeat;
}

.bottom-nav .nav-home { --nav-icon: url('../image/nav-home.svg'); }
.bottom-nav .nav-events { --nav-icon: url('../image/nav-offers.svg'); }
.bottom-nav .nav-login { --nav-icon: url('../image/nav-login.svg'); }
.bottom-nav .nav-register { --nav-icon: url('../image/nav-register.svg'); }
.bottom-nav .nav-profile { --nav-icon: url('../image/nav-profile.svg'); }

.bottom-nav .nav-register::after {
  position: absolute;
  top: -1px;
  left: calc(50% + 4px);
  padding: 1px 4px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  content: '0,1-16';
  font-size: 8px;
  font-weight: 700;
  line-height: 13px;
  white-space: nowrap;
}

.bottom-nav .bottom-nav-link.active {
  color: var(--yellow);
}

.floating-register {
  position: absolute;
  top: -76px;
  left: 10px;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 8px 4px;
  place-items: center;
  align-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #174631;
  background: radial-gradient(circle at 35% 25%, #fff489 0, #facf20 48%, #e9a900 100%);
  box-shadow: 0 5px 14px rgb(0 0 0 / 38%);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.floating-register span {
  letter-spacing: .04em;
}

.floating-register strong {
  margin-top: 4px;
  font-size: 15px;
  white-space: nowrap;
}

.floating-register:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.page-header {
  position: sticky;
  top: var(--install-height);
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 49px;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  background: #22674b;
  font-size: 20px;
  text-align: center;
}

.install-strip-closed .page-header {
  top: 0;
}

.page-header .back {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 30px;
}

.page-header .spacer {
  width: 44px;
}

.subnav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  scrollbar-width: none;
}

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

.subnav a,
.subnav button {
  flex: 0 0 auto;
  padding: 14px 17px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #fff;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}

.subnav .active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.page-content {
  min-height: calc(100vh - 49px);
  padding: 12px 12px var(--bottom-clearance);
  background: var(--bg-deep);
}

.card {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: 12px;
  color: var(--muted);
  background: var(--panel);
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
}

.card p {
  margin: 5px 0;
  line-height: 1.5;
}

.topic-page > .card > h1 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.topic-overview > p + p,
.game-info-card > p + p {
  margin-top: 9px;
}

.search-guide {
  margin-top: 14px;
}

.category-guide .category-copy {
  margin: -3px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.category-guide .core-tip-grid {
  margin-top: 12px;
}

.category-guide .core-tip-grid article {
  padding: 9px;
  border-radius: 9px;
  background: rgb(255 255 255 / 4%);
}

.card.accent {
  color: #274630;
  background: linear-gradient(135deg, #facf20, #ffaa09);
}

.card.accent h2,
.card.accent h3 {
  color: #204532;
}

.wide-btn,
.outline-btn {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 7px;
  cursor: pointer;
}

.wide-btn {
  border: 0;
  color: #5a4b19;
  background: var(--yellow);
  font-weight: 700;
}

.outline-btn {
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
}

.feature-hero {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  color: #24523f;
  background: var(--yellow);
  font-size: 28px;
}

.feature-hero h1 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 22px;
}

.feature-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.stat {
  padding: 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / 5%);
}

.stat b {
  display: block;
  margin-top: 3px;
  color: var(--yellow);
  font-size: 20px;
}

.form-card {
  padding: 18px;
  border: 1px solid #5b9a82;
  border-radius: 13px;
  background: #256f53;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.auth-tabs a {
  padding: 4px 0 11px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.auth-tabs a.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.field-label {
  display: block;
  margin: 10px 0 6px;
  color: #fff;
  font-size: 12px;
}

.field,
.search-field,
.select-field {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #72a891;
  border-radius: 7px;
  outline: 0;
  color: #fff;
  background: #246a50;
}

.field::placeholder,
.search-field::placeholder {
  color: #95c1ae;
}

.field:focus,
.search-field:focus,
.select-field:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgb(250 207 32 / 14%);
}

.check-line {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 15px 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
}

.check-line input {
  accent-color: #19cf30;
}

.form-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: var(--yellow);
  font-size: 12px;
}

.core-page {
  display: grid;
  gap: 12px;
  padding: 12px 10px var(--bottom-clearance);
  background: var(--bg-deep);
}

.core-hero,
.core-section {
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 14px;
  background: linear-gradient(145deg, #236b50, #18513e);
  box-shadow: 0 8px 22px rgb(0 0 0 / 10%);
}

.core-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 170px;
  padding: 20px 18px;
  overflow: hidden;
}

.core-eyebrow,
.core-section-heading > span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.core-hero h1 {
  margin: 7px 0 8px;
  font-size: 24px;
  line-height: 1.08;
}

.core-hero p,
.core-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.core-hero-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgb(250 207 32 / 40%);
  border-radius: 22px;
  color: #1e513e;
  background: var(--yellow);
  box-shadow: 0 12px 24px rgb(0 0 0 / 18%);
  font-size: 38px;
}

.core-section {
  padding: 17px;
}

.core-section-heading {
  margin-bottom: 14px;
}

.core-section-heading h2 {
  margin: 5px 0 6px;
  font-size: 19px;
}

.auth-form-section .form-card {
  padding: 15px;
  border-color: rgb(255 255 255 / 10%);
  background: rgb(0 0 0 / 8%);
}

.core-step-list {
  display: grid;
  gap: 10px;
}

.core-step-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 11px;
  border-radius: 10px;
  background: rgb(255 255 255 / 5%);
}

.core-step-list article > b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #244b39;
  background: var(--yellow);
  font-size: 15px;
}

.core-step-list strong,
.core-tip-grid strong,
.app-feature-grid strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.core-step-list p,
.core-tip-grid p,
.app-feature-grid p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.core-tip-grid {
  display: grid;
  gap: 9px;
}

.core-tip-grid article {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
}

.core-tip-grid article > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #244b39;
  background: var(--yellow);
  font-weight: 900;
}

.core-link-row,
.core-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.core-link-row .wide-btn,
.core-link-row .outline-btn,
.core-hero-actions .wide-btn,
.core-hero-actions .outline-btn {
  min-height: 40px;
  margin: 0;
  padding: 8px;
  text-align: center;
}

.core-responsible {
  margin: 0;
  color: var(--dim);
  font-size: 10px;
  text-align: center;
}

.download-core-hero {
  grid-template-columns: minmax(0, 1fr) 105px;
  background: linear-gradient(135deg, #17634a, #124334 62%, #25694d);
}

.download-app-visual {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.download-app-visual img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgb(0 0 0 / 20%));
}

.download-app-visual span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.app-feature-grid article {
  min-height: 116px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 10px;
  background: rgb(255 255 255 / 4%);
}

.app-feature-grid article > b {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 9px;
  color: #244b39;
  background: var(--yellow);
}

.app-requirements dl {
  margin: 0;
}

.app-requirements dl > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.app-requirements dl > div:last-child {
  border-bottom: 0;
}

.app-requirements dt {
  color: var(--yellow);
  font-weight: 700;
}

.app-requirements dd {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.core-faq details {
  border-top: 1px solid rgb(255 255 255 / 9%);
}

.core-faq summary {
  padding: 12px 0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.core-faq details p {
  margin: -3px 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 4px;
  padding: 10px 8px var(--bottom-clearance);
}

.menu-tile {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-height: 67px;
  padding: 5px 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.05;
  text-align: center;
}

.menu-tile .tile-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  color: var(--yellow);
  background: #2d8061;
  font-size: 18px;
}

.menu-tile b {
  position: absolute;
  top: -2px;
  right: 5px;
  padding: 1px 4px;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-size: 8px;
}

.events-layout {
  display: grid;
  grid-template-columns: 90px 1fr;
  min-height: calc(100vh - 100px);
  background: var(--bg-deep);
}

.event-filter {
  padding: 10px 9px;
}

.event-filter button {
  width: 100%;
  margin-bottom: 11px;
  padding: 10px 4px;
  border: 1px solid var(--yellow);
  border-radius: 7px;
  color: var(--yellow);
  background: transparent;
}

.event-filter button.active {
  color: #38563e;
  background: var(--yellow);
}

.event-list {
  padding: 10px 10px var(--bottom-clearance) 0;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(76px, 24vw, 105px);
  margin-bottom: 9px;
  overflow: hidden;
  border: 1px solid #3ba37c;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b614a, var(--panel));
}

.event-card-copy {
  display: grid;
  min-width: 0;
  padding: 13px 10px 12px 13px;
  align-content: center;
}

.event-card-copy small {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}

.event-card-copy strong {
  margin: 4px 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
}

.event-card-copy > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.event-card-logo {
  display: grid;
  min-height: 100px;
  padding: 10px;
  place-items: center;
  border-left: 1px solid rgb(255 255 255 / 8%);
  background: radial-gradient(circle at center, rgb(255 211 0 / 15%), transparent 70%);
}

.event-card-logo img {
  display: block;
  width: min(64px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 13px;
  filter: drop-shadow(0 5px 9px rgb(0 0 0 / 24%));
}

.event-card time {
  display: block;
  grid-column: 1 / -1;
  padding: 5px 8px;
  border-top: 1px solid rgb(255 255 255 / 7%);
  color: var(--dim);
  font-size: 10px;
}

.promo-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.promo-summary .stat {
  min-height: 70px;
}

.invite-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: center;
}

.fake-qr {
  width: 80px;
  height: 80px;
  padding: 5px;
  border: 5px solid #fff;
  background:
    repeating-linear-gradient(0deg, #111 0 4px, #fff 4px 8px),
    repeating-linear-gradient(90deg, #111 0 4px, transparent 4px 8px);
  background-blend-mode: multiply;
}

.share-row {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}

.share-row span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: #fff;
  background: #1c9bea;
  font-weight: 700;
}

.commission-link {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 9px;
  color: #6c4d08;
  background: var(--orange);
}

.support-tabs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.support-tabs a {
  position: relative;
  padding: 14px 12px;
  white-space: nowrap;
}

.support-tabs a.active {
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

.support-tabs sup {
  margin-left: 3px;
  padding: 1px 4px;
  border-radius: 8px;
  color: #fff;
  background: var(--danger);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

.contact-row a {
  color: var(--yellow);
}

.faq-category {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 10px 0;
}

.faq-category span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  background: var(--panel-soft);
}

.faq-category span.active {
  color: #6c4d08;
  background: var(--yellow);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  display: block;
}

.search-page {
  min-height: 100vh;
  background: var(--bg-deep);
}

.search-tools {
  display: grid;
  grid-template-columns: minmax(78px, 94px) minmax(0, 1fr);
  gap: 8px;
  padding: 9px 12px;
  background: var(--panel);
}

.search-results {
  padding: 12px 12px var(--bottom-clearance);
}

.search-results .game-grid {
  grid-template-columns: repeat(3, 1fr);
}

.empty-state {
  display: none;
  min-height: 440px;
  place-items: center;
  color: var(--dim);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-size: 54px;
  font-weight: 400;
}

.toast {
  position: fixed;
  right: 50%;
  bottom: calc(var(--bottom-clearance) + 8px);
  z-index: 80;
  width: min(330px, calc(100vw - 34px));
  padding: 11px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgb(0 0 0 / 78%);
  opacity: 0;
  transform: translate(50%, 16px);
  transition: .22s ease;
  pointer-events: none;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

.night .site-shell,
.night.site-shell {
  --bg-deep: #090909;
  --bg: #101010;
  --panel: #1a1a1a;
  --panel-soft: #292929;
  --line: #383838;
  background: #101010;
}

.night .brand-header,
.night .page-header,
.night .bottom-nav,
.night .subnav,
.night .search-tools {
  background: #1a1a1a;
}

.legal-note {
  margin-top: 16px;
  padding: 12px;
  border-left: 3px solid var(--yellow);
  color: var(--dim);
  background: rgb(0 0 0 / 10%);
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 760px) {
  body {
    background: #2a815f;
  }
}

@media (max-width: 370px) {
  .install-strip { grid-template-columns: 20px 34px minmax(0, 1fr) auto; gap: 5px; padding-inline: 6px; }
  .install-strip img { width: 30px; height: 30px; }
  .install-strip .close-ad { font-size: 21px; }
  .tiny-btn { min-width: 66px; padding-inline: 6px; font-size: 9px; }
  .brand-header { padding-inline: 8px; }
  .brand-header .brand-logo { max-width: 205px; }
  .hero-app-slide { grid-template-columns: minmax(0, 1fr) 82px; gap: 8px; padding: 10px 12px; }
  .hero-app-copy h2 { font-size: 16px; }
  .hero-app-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .hero-app-image { width: 76px; justify-self: end; }
  .quick-actions { gap: 2px; padding-inline: 6px; }
  .quick-action img { width: 24px; height: 22px; }
  .lobby-layout { grid-template-columns: 90px minmax(0, 1fr); padding-inline: 6px; }
  .categories { padding-right: 6px; }
  .category-link { font-size: 10px; }
  .game-grid { gap: 9px 8px; }
  .game-tab { font-size: 11px; }
  .home-extra-sections { padding-inline: 7px; }
  .home-info-section { padding-inline: 11px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .rtp-points { grid-template-columns: 1fr; }
  .summary-badge { position: static; margin: 0 0 8px auto; }
  .summary-section .section-heading { padding-right: 0; }
  .summary-actions { grid-template-columns: 1fr; }
  .bottom-nav { padding-inline: 2px; }
  .bottom-nav .bottom-nav-link { font-size: 10px; }
  .page-content { padding-inline: 9px; }
  .core-page { padding-inline: 7px; }
  .core-hero { grid-template-columns: minmax(0, 1fr) 58px; gap: 10px; padding: 16px 13px; }
  .core-hero-icon { width: 58px; height: 58px; border-radius: 17px; font-size: 30px; }
  .download-core-hero { grid-template-columns: minmax(0, 1fr) 78px; }
  .download-app-visual img { width: 68px; height: 68px; }
  .app-feature-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
  .events-layout { grid-template-columns: 76px minmax(0, 1fr); }
  .event-filter { padding-inline: 6px; }
  .event-list { padding-right: 7px; }
  .event-card-copy { padding-inline: 9px 7px; }
  .event-card-logo { padding: 7px; }
  .search-results { padding-inline: 9px; }
}

@media (max-width: 300px) {
  .install-strip { grid-template-columns: 18px 30px minmax(0, 1fr) auto; padding-inline: 4px; }
  .install-strip img { width: 28px; height: 28px; }
  .tiny-btn { min-width: 60px; padding-inline: 4px; }
  .brand-header .brand-logo { max-width: 180px; }
  .search-link { font-size: 10px; }
  .hero-app-slide { grid-template-columns: minmax(0, 1fr) 68px; padding-inline: 9px; }
  .hero-app-image { width: 64px; border-radius: 15px; }
  .hero-app-copy h2 { font-size: 15px; }
  .hero-app-copy p { margin-block: 3px 5px; font-size: 8px; }
  .lobby-layout { grid-template-columns: 84px minmax(0, 1fr); padding-inline: 4px; }
  .category-link { grid-template-columns: 23px minmax(0, 1fr); padding-inline: 3px; }
  .category-link img { width: 23px; height: 21px; }
  .game-grid,
  .search-results .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .core-hero,
  .download-core-hero { grid-template-columns: 1fr; }
  .core-hero-icon,
  .download-app-visual { justify-self: start; }
  .core-link-row,
  .core-hero-actions,
  .stat-grid,
  .promo-summary { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .events-layout { grid-template-columns: 1fr; }
  .event-filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 0; }
  .event-filter button { flex: 0 0 auto; width: auto; margin: 0; padding-inline: 10px; white-space: nowrap; }
  .event-list { padding-left: 7px; }
  .bottom-nav .bottom-nav-link { font-size: 9px; }
  .bottom-nav .bottom-nav-link::before { width: 25px; height: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
