:root {
  --bg: #050814;
  --bg-2: #090f22;
  --card: #0c1430;
  --ink: #f4f7ff;
  --muted: #aeb8d8;
  --cyan: #3ee7ff;
  --blue: #3b82f6;
  --magenta: #e85dff;
  --ok: #3ee6a2;
  --danger: #ff6b8a;
  --line: rgba(130, 196, 255, 0.2);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --container: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Leelawadee UI", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(62, 231, 255, 0.16), transparent 60%),
    radial-gradient(760px 420px at 100% 0%, rgba(232, 93, 255, 0.14), transparent 55%),
    radial-gradient(680px 420px at 70% 110%, rgba(59, 130, 246, 0.12), transparent 50%),
    var(--bg);
  background-repeat: no-repeat;
  animation: aurora 16s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(90, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 15%, #000 15%, transparent 78%);
  animation: grid-drift 28s linear infinite;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
p { margin: 0; }
h1, h2, h3 { line-height: 1.25; margin: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  color: #041018;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.noscript {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  background: #3a1848;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: #070b18;
  border-bottom: 1px solid rgba(130, 196, 255, 0.14);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: 180px;
  height: 48px;
  object-fit: cover;
  object-position: center 56%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(62, 231, 255, 0.1);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  color: #041018;
  background: linear-gradient(105deg, #67f3ff 0%, #3b82f6 78%);
  box-shadow: 0 8px 22px rgba(62, 231, 255, 0.22);
  transition: filter 0.2s ease, translate 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.48), transparent 75%);
  translate: -130% 0;
  transition: translate 0.5s ease;
  pointer-events: none;
}

.btn-primary:hover {
  filter: brightness(1.06);
  translate: 0 -1px;
  box-shadow: 0 12px 28px rgba(62, 231, 255, 0.32);
}

.btn-primary:hover::after { translate: 130% 0; }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-block { width: 100%; }

.page { padding: 28px 0 80px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 18px 0 8px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--cyan), #8eb6ff 40%, var(--magenta), var(--cyan));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-flow 7s linear infinite;
}

.lede {
  max-width: 38rem;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-art {
  display: grid;
  place-items: center;
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 231, 255, 0.45), rgba(232, 93, 255, 0.15) 48%, transparent 70%);
  animation: glow 3.8s ease-in-out infinite;
}

.hero-art img {
  position: relative;
  width: min(340px, 78vw);
  height: auto;
  animation: floaty 4.8s ease-in-out infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 4px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid rgba(176, 198, 230, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(62, 231, 255, 0.07), transparent 46%),
    #0c1430;
  box-shadow: var(--shadow);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid rgba(176, 198, 230, 0.12);
}

.stats li:last-child { border-right: 0; }

.stat-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(62, 231, 255, 0.08);
  border: 1px solid rgba(62, 231, 255, 0.24);
}

.stat-mark svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-copy { min-width: 0; }
.stat-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}
.stat-copy strong span { color: var(--cyan); }
.stat-copy > span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 16px 18px 16px 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(232, 93, 255, 0.32);
  border-radius: 22px;
  background:
    linear-gradient(105deg, rgba(232, 93, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(62, 231, 255, 0.08), transparent 55%),
    #0c1430;
  box-shadow: 0 16px 40px rgba(80, 20, 120, 0.18);
}

.promo::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: sheen 6.8s ease-in-out infinite;
  pointer-events: none;
}

.promo:hover {
  border-color: rgba(62, 231, 255, 0.55);
  translate: 0 -2px;
}

.promo-copy { position: relative; min-width: 0; }
.promo-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #f0c4ff;
  background: rgba(232, 93, 255, 0.14);
  border: 1px solid rgba(232, 93, 255, 0.34);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.promo-copy strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}
.promo-copy > span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.promo-faces {
  position: relative;
  display: flex;
  align-items: center;
}
.promo-faces img {
  width: 54px;
  height: 54px;
  margin-left: -16px;
  border: 2px solid #10183a;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.promo-faces img:first-child { margin-left: 0; }

.promo-side {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 8px;
}
.promo-time {
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}
.promo-time b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.promo-go {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  color: #041018;
  font-weight: 800;
}

.section { margin-top: 48px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 { font-size: 1.55rem; }
.section-head a { color: var(--cyan); font-weight: 700; }

.flash {
  position: relative;
  scroll-margin-top: 96px;
}

.flash::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  top: 18px;
  height: 120px;
  background:
    radial-gradient(circle at 20% 50%, rgba(62, 231, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(232, 93, 255, 0.2), transparent 58%);
  filter: blur(10px);
  animation: glow 5.5s ease-in-out infinite;
  pointer-events: none;
}

.flash-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.flash-clock {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(8, 12, 26, 0.55);
  border: 1px solid rgba(62, 231, 255, 0.22);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: 0 0 24px rgba(62, 231, 255, 0.08);
}

.flash-clock strong {
  margin-left: 6px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  animation: ref-glow 2.2s ease-in-out infinite;
}

.flash-viewport {
  overflow: hidden;
  margin-inline: -8px;
  padding: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.flash-track {
  display: flex;
  width: max-content;
  animation: flash-flow 42s linear infinite;
}

.flash-viewport:hover .flash-track,
.flash-viewport:focus-within .flash-track {
  animation-play-state: paused;
}

.flash-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.flash-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 300px;
  flex: 0 0 auto;
  min-height: 112px;
  padding: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #151d3c, #0a1022) padding-box,
    linear-gradient(110deg, rgba(62, 231, 255, 0.75), rgba(232, 93, 255, 0.2) 45%, rgba(62, 231, 255, 0.75)) border-box;
  background-size: 100% 100%, 220% 100%;
  border: 1px solid transparent;
  border-radius: 18px;
  animation: flash-border 5s linear infinite;
}

.flash-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.16), transparent 66%);
  translate: -140% 0;
  animation: sheen 3.8s ease-in-out infinite;
  pointer-events: none;
}

.flash-card:nth-child(2)::after { animation-delay: 0.7s; }
.flash-card:nth-child(3)::after { animation-delay: 1.4s; }
.flash-card:nth-child(4)::after { animation-delay: 2.1s; }
.flash-card:nth-child(5)::after { animation-delay: 2.8s; }

.flash-card:hover {
  box-shadow: 0 12px 28px rgba(62, 231, 255, 0.16);
}

.flash-card img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.flash-off {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(232, 93, 255, 0.12);
  border: 1px solid rgba(232, 93, 255, 0.28);
  color: #f0c4ff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.flash-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.flash-copy strong,
.flash-copy > span:not(.flash-price) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flash-copy > span:not(.flash-price) { color: var(--muted); font-size: 0.84rem; }

.flash-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.flash-price s {
  color: rgba(174, 184, 216, 0.62);
  font-size: 0.78rem;
}

.flash-price b {
  color: var(--cyan);
  font-size: 1.12rem;
  text-shadow: 0 0 16px rgba(62, 231, 255, 0.45);
}

.flash-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin: 0 0 14px;
  color: var(--muted);
}

.flash-note span { color: #f0c4ff; font-weight: 800; }
.flash-note strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.game-grid.is-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-card-sale {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 12, 26, 0.66);
  border: 1px solid rgba(232, 93, 255, 0.28);
  color: #f0c4ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  padding: 8px 8px 12px;
  background: linear-gradient(180deg, #12182f 0%, #0a1022 100%);
  border: 1px solid rgba(176, 198, 230, 0.16);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  animation: rise 0.55s ease both;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.2), transparent 70%);
  translate: -140% 0;
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(186, 214, 240, 0.32);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.game-card:hover::after { animation: sheen 0.75s ease; }

.game-card-art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #070b16;
}

.game-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 26, 0.16), transparent 18%),
    linear-gradient(0deg, rgba(8, 12, 26, 0.22), transparent 24%);
  pointer-events: none;
}

.game-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-card-art img { transform: scale(1.08); }

.game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px 2px;
}

.game-card-name {
  font-size: 1.02rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
}

.game-card-meta {
  margin-bottom: 6px;
  color: rgba(174, 184, 216, 0.72);
  font-size: 0.78rem;
  text-align: center;
}

.game-card-go {
  display: block;
  width: 100%;
  margin-top: auto;
  text-align: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(176, 198, 230, 0.14);
  color: rgba(190, 214, 232, 0.82);
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.game-card:hover .game-card-go {
  background: rgba(62, 231, 255, 0.1);
  border-color: rgba(62, 231, 255, 0.22);
  color: #d7f7ff;
}

.how {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how li {
  position: relative;
  min-width: 0;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.how li:last-child {
  border-color: rgba(62, 231, 255, 0.42);
}

.how li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -18px;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  rotate: 45deg;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(62, 231, 255, 0.75));
  animation: step-point 1.15s ease-in-out infinite;
}

.how li:nth-child(2)::after { animation-delay: 0.2s; }
.how li:nth-child(3)::after { animation-delay: 0.4s; }

.how span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #041018;
  font-weight: 800;
}

.how p { margin-top: 6px; color: var(--muted); }

.pay-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.pay-tile,
.pay-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
}

.pay-tile {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 188px;
  padding: 18px 18px 16px;
}

.pay-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.pay-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.pay-tile .pay-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.pay-tile strong,
.pay-card strong { display: block; }
.pay-tile strong { font-size: 1.05rem; line-height: 1.3; }
.pay-tile small,
.pay-card small { display: block; color: var(--muted); line-height: 1.45; }
.pay-tile small { margin-top: 4px; }
.pay-tile em,
.pay-card .fee {
  font-style: normal;
  color: var(--ok);
  font-size: 0.82rem;
  font-weight: 800;
}
.pay-tile em {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(62, 230, 162, 0.12);
}
.pay-tile.is-off em {
  color: var(--danger);
  background: rgba(255, 107, 138, 0.12);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0 14px;
}

.search { flex: 1 1 240px; }

.search input,
.field input,
.field select,
.field textarea,
.custom-box input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(130, 196, 255, 0.28);
  background: #070b18;
}

.search input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.custom-box input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(62, 231, 255, 0.16);
}

.field select {
  color: var(--ink);
  cursor: pointer;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.chip.is-on {
  color: #041018;
  border-color: transparent;
  background: var(--cyan);
}

.result-meta { margin-bottom: 12px; color: var(--muted); }

.page-intro h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-intro p { margin-top: 8px; color: var(--muted); max-width: 40rem; }

.crumb {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.crumb a { color: var(--cyan); }
.crumb span::before { content: "/"; margin-right: 8px; }
.panel a { color: var(--cyan); font-weight: 700; }
.receipt dd { overflow-wrap: anywhere; }

.progress {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.progress li {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  background: #10182f;
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.progress .is-now {
  color: #041018;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
}
.progress .is-done { color: var(--cyan); }

.game-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.game-hero img {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  background: #070b16;
}

.game-hero p { color: var(--muted); margin-top: 4px; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.panel { padding: 20px; }
.panel h2 { margin-bottom: 8px; font-size: 1.2rem; }
.panel ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.panel li + li { margin-top: 6px; }
.center-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
#destination { display: grid; gap: 8px; }
#destination strong { font-size: 1.15rem; }
#pendingPlayers p { color: var(--muted); }

.note {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(232, 93, 255, 0.08);
  border: 1px solid rgba(232, 93, 255, 0.35);
  color: #ffd8fb;
}

.guide { margin-top: 16px; }
.guide h2 { margin-bottom: 14px; }
.guide-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}
.guide-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.guide-steps li::before {
  counter-increment: guide;
  content: counter(guide);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(62, 231, 255, 0.08);
  border: 1px solid rgba(62, 231, 255, 0.28);
}
.guide-steps span {
  padding-top: 6px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.guide-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(176, 198, 230, 0.16);
  color: var(--muted);
  font-size: 0.92rem;
}

.field { margin-bottom: 12px; }
.field label,
.custom-box label { display: block; margin-bottom: 6px; font-weight: 700; }
.field-msg { min-height: 1.2em; margin-top: 4px; color: var(--danger); font-size: 0.86rem; }
.field.is-invalid input { border-color: var(--danger); }

.check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  color: var(--muted);
}
.check input { width: 18px; height: 18px; accent-color: #22d3ee; }

.packs { margin-top: 16px; }
.pack-kicker {
  margin: 18px 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.pack-stage { margin-bottom: 8px; }
.pack-stage .pack-kicker { margin-top: 4px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.pack-grid.is-art {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}
.pack-grid.is-plain {
  margin-top: 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 108px;
  padding: 14px 12px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #101833;
  color: var(--ink);
  text-align: center;
  animation: rise 0.45s ease both;
  transition: translate 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pack.is-art {
  gap: 10px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(62, 231, 255, 0.05), transparent 42%),
    #101833;
}
.pack-art {
  display: grid;
  place-items: center;
  height: 108px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 58%, rgba(62, 231, 255, 0.22), transparent 62%),
    linear-gradient(180deg, #182246, #090f22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pack.is-art img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}
.pack.is-feature {
  min-height: 220px;
  padding: 12px;
  border-color: rgba(62, 231, 255, 0.38);
  background:
    radial-gradient(140px 90px at 50% 0%, rgba(232, 93, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #152044, #0c1430);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.pack.is-feature .pack-art {
  height: 148px;
  background:
    radial-gradient(circle at 50% 62%, rgba(62, 231, 255, 0.28), transparent 58%),
    radial-gradient(circle at 80% 20%, rgba(232, 93, 255, 0.16), transparent 46%),
    linear-gradient(180deg, #1b2754, #090f22);
}
.pack.is-feature img { width: 120px; height: 120px; }
.pack-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  padding: 2px 4px 0;
}
.pack-name {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.pack.is-feature .pack-name { font-size: 1.05rem; }
.pack small {
  max-width: 18em;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pack:hover { translate: 0 -3px; }

.pack b {
  margin-top: auto;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--cyan);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.pack.is-feature b { font-size: 1.28rem; }

.pack.is-sale b {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pack.is-sale b s {
  color: rgba(174, 184, 216, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: line-through;
}

.pack.is-sale b span { color: #f0c4ff; }

.pack-badge.is-sale {
  background: rgba(232, 93, 255, 0.14);
  border: 1px solid rgba(232, 93, 255, 0.28);
  color: #f3c4ff;
}

.pack-badge + .pack-badge { top: 42px; }
.pack.is-feature .pack-badge + .pack-badge { top: 46px; }

.pack.is-on {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 14px 32px rgba(62, 231, 255, 0.16);
  animation: pick 0.32s ease;
  animation-delay: 0s;
}

.pack-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3ee7ff, #8eb6ff);
  color: #041018;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pack.is-feature .pack-badge { top: 18px; left: 18px; }

.pack.is-on .pack-copy { padding-top: 26px; }
.pack-check {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #041018;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
}

.custom-box { margin-top: 14px; }
.hint { margin-top: 6px; color: var(--muted); font-size: 0.88rem; }

.buybar {
  position: sticky;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 16px;
  background: #0b1228;
  border: 1px solid rgba(62, 231, 255, 0.35);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.buybar-copy strong { display: block; }
.buy-price { font-size: 1.45rem; color: var(--cyan); }
.buy-price s {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: line-through;
}
.form-error { flex: 1 1 100%; margin: 0; color: var(--danger); font-weight: 700; }

.receipt { margin: 0; }
.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; text-align: right; font-weight: 700; }
.receipt .total dd { color: var(--cyan); font-size: 1.3rem; }

.pay-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.pay-card {
  width: 100%;
  color: inherit;
}
.pay-card small { margin: 2px 0; }
.pay-card,
.pay-tile,
.order-card,
.panel,
.stats li,
.how li {
  animation: rise 0.5s ease both;
}

.pay-card,
.pay-tile {
  transition: translate 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pay-card:hover:not(:disabled),
.pay-tile:hover { translate: 0 -3px; }

.pay-card.is-on {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
  animation: pick 0.32s ease;
  animation-delay: 0s;
}
.pay-card:disabled { opacity: 0.55; cursor: not-allowed; }
.pay-card:disabled .fee { color: var(--danger); }

.stack { display: grid; gap: 16px; }
.stack-top { margin-top: 16px; }

.ref {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  animation: ref-glow 2.6s ease-in-out infinite;
}

.order-list { display: grid; gap: 12px; }

.order-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.order-card img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.order-card p { color: var(--muted); }
.pill {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(62, 231, 255, 0.12);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
}
.pill.is-done { color: var(--ok); background: rgba(62, 230, 162, 0.12); }
.pill.is-hold { color: var(--danger); background: rgba(255, 107, 138, 0.12); }

.empty-panel { text-align: center; padding: 36px 20px; }
.empty-panel p { margin: 8px 0 16px; color: var(--muted); }

.prose { max-width: 760px; }
.prose h1 { font-size: 2rem; margin-bottom: 8px; }
.prose h2 { margin: 22px 0 8px; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 18px; }
.prose a { color: var(--cyan); }

.channel-list { display: grid; gap: 10px; margin: 14px 0; }
.channel {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #101833;
}

.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.success-note { margin-top: 10px; color: var(--ok); font-weight: 700; }

.site-foot {
  margin-top: 80px;
  border-top: 1px solid rgba(130, 196, 255, 0.14);
  padding: 52px 0 28px;
  background: #070b18;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: start;
}

.foot-navs {
  display: grid;
  grid-template-columns: 8.5rem 10.5rem minmax(12.5rem, 16.5rem);
  gap: 8px 40px;
  padding-top: 6px;
}

.foot-brand {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 28rem;
}

.foot-logo {
  display: block;
  width: 168px;
}

.foot-logo img {
  width: 168px;
  height: 44px;
  object-fit: cover;
  object-position: center 56%;
}

.foot-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.foot-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.foot-points li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.foot-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7f8cb0;
}

.foot-note p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.foot-note p:last-child { margin-bottom: 0; }

.foot-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #e7eefc;
  font-size: 0.92rem;
  font-weight: 700;
}

.foot-grid nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot-grid nav a:hover { color: var(--ink); }

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: min(var(--container), calc(100% - 32px));
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8e9ab8;
  font-size: 0.84rem;
}

.copyright p { margin: 0; }

.auth-slot { position: relative; display: flex; align-items: center; margin-left: 6px; }

.auth-open,
.auth-chip {
  display: inline-flex;
  align-items: center;
  max-width: 9.5rem;
  min-height: 0;
  padding: 8px 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-chip { color: var(--ink); font-weight: 800; }

.auth-open:hover,
.auth-chip:hover {
  color: var(--ink);
  background: rgba(62, 231, 255, 0.1);
}

.auth-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 220px;
  padding: 12px;
  background: #0c1430;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.auth-menu p { margin: 0 0 10px; color: var(--muted); font-size: 0.86rem; word-break: break-all; }

.auth-logout { width: 100%; min-height: 40px; }
.auth-desk { width: 100%; min-height: 40px; margin-bottom: 8px; }

.auth-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 16, 0.74);
}

.auth-layer[hidden] { display: none; }

.auth-dialog {
  width: min(440px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: 22px 22px 18px;
  background: #0c1430;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.auth-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.auth-head h2 { font-size: 1.35rem; }

.auth-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

.auth-lead { margin: 8px 0 16px; color: var(--muted); font-size: 0.92rem; }

.auth-providers { display: grid; gap: 8px; }

.auth-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #101833;
  font-weight: 800;
}

.auth-provider:hover { border-color: rgba(62, 231, 255, 0.45); }

.auth-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
}

.auth-mark svg { display: block; width: 22px; height: 22px; }

.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-or::before,
.auth-or::after { content: ""; height: 1px; background: rgba(255, 255, 255, 0.08); }

.auth-switch { margin: 12px 0 0; color: var(--muted); font-size: 0.92rem; }

.auth-switch button { color: var(--cyan); font-weight: 800; }

.auth-error { min-height: 1.3em; margin: 8px 0 0; color: var(--danger); font-size: 0.88rem; font-weight: 700; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .top-cta { display: none; }
  .site-nav .auth-slot {
    margin-left: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav .auth-open,
  .site-nav .auth-chip {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 12px 8px;
  }
  .site-nav .auth-menu { position: static; width: auto; margin-top: 4px; box-shadow: none; }
  .site-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px 16px 16px;
    flex-direction: column;
    background: #070b18;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    translate: 0 -10px;
    pointer-events: none;
    transition: opacity 0.22s ease, translate 0.22s ease, visibility 0.22s;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    pointer-events: auto;
  }
  .site-nav { align-items: stretch; }
  .site-nav a { padding: 12px 8px; border-radius: 12px; }
  .game-grid.is-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats, .how, .pay-strip { grid-template-columns: 1fr 1fr; }
  .stats li { border-bottom: 1px solid rgba(176, 198, 230, 0.12); }
  .stats li:nth-child(2n) { border-right: 0; }
  .stats li:nth-last-child(-n+2) { border-bottom: 0; }
  .how li::after { content: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-navs { grid-template-columns: 1fr 1fr; gap: 20px 28px; padding-top: 4px; }
  .foot-note { grid-column: 1 / -1; max-width: 36rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .pack.is-feature {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    gap: 12px;
  }
  .pack.is-feature .pack-art { height: 112px; }
  .pack.is-feature img { width: 92px; height: 92px; }
  .pack.is-feature { text-align: left; }
  .pack.is-feature .pack-copy { align-items: flex-start; text-align: left; }
  .pack.is-feature b { text-align: left; border-top: 0; padding-top: 4px; }
  .pack.is-feature.is-sale b { align-items: flex-start; }
  .hero, .split, .promo { grid-template-columns: 1fr; }
  .promo-side, .promo-faces { justify-self: start; }
  .hero-art { order: -1; }
  .hero-art img { width: min(220px, 60vw); }
  .hero-art::before { width: 180px; height: 180px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .topbar-inner { min-height: 58px; gap: 10px; }
  .brand img { width: 124px; height: 34px; }
  .nav-toggle { padding: 6px 12px; font-size: 0.88rem; }
  .page { padding: 16px 0 40px; }
  .btn { min-height: 42px; padding: 0 14px; font-size: 0.92rem; }

  .hero { gap: 2px; padding: 6px 0 0; }
  .hero-art img { width: min(148px, 44vw); }
  .hero-art::before { width: 128px; height: 128px; }
  .hero h1 { font-size: 1.65rem; }
  .lede { margin-top: 8px; font-size: 0.94rem; }
  .hero-actions { margin-top: 14px; gap: 8px; }

  .stats { grid-template-columns: 1fr 1fr; margin-top: 14px; border-radius: 16px; }
  .stats li { gap: 8px; padding: 11px 10px; border-right: 1px solid rgba(176, 198, 230, 0.12); border-bottom: 1px solid rgba(176, 198, 230, 0.12); }
  .stats li:nth-child(2n) { border-right: 0; }
  .stats li:nth-last-child(-n+2) { border-bottom: 0; }
  .stat-mark { width: 34px; height: 34px; border-radius: 10px; }
  .stat-mark svg { width: 18px; height: 18px; }
  .stat-copy strong { font-size: 0.84rem; }
  .stat-copy > span { font-size: 0.72rem; }

  .promo { gap: 10px; margin-top: 12px; padding: 14px; border-radius: 16px; }
  .promo-copy strong { font-size: 1.15rem; }
  .promo-copy > span:last-child { font-size: 0.86rem; }
  .promo-faces img { width: 40px; height: 40px; margin-left: -10px; border-radius: 12px; }
  .promo-side { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .promo-go { padding: 7px 12px; font-size: 0.86rem; }

  .section { margin-top: 28px; }
  .section-head { margin-bottom: 10px; }
  .section-head h2 { font-size: 1.2rem; }
  .flash-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .flash-card {
    width: min(248px, calc(100vw - 76px));
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 8px;
    border-radius: 16px;
  }
  .flash-card img { width: 58px; height: 58px; border-radius: 12px; }

  .how, .pay-strip { grid-template-columns: 1fr; }
  .how { gap: 20px; }
  .how li:not(:last-child)::after {
    content: "";
    top: auto;
    right: auto;
    left: 27px;
    bottom: -15px;
    margin-top: 0;
    rotate: 135deg;
    animation-name: step-point-down;
  }
  .how li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 12px 14px;
  }
  .how span { grid-row: 1 / span 2; width: 32px; height: 32px; margin: 0; }
  .how h3 { font-size: 0.98rem; }
  .how p { margin-top: 2px; font-size: 0.84rem; }

  .pay-strip { gap: 8px; }
  .pay-tile {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    gap: 12px;
    padding: 10px 12px;
  }
  .pay-tile .pay-logo { width: 42px; height: 42px; margin: 0; }
  .pay-tile strong { font-size: 0.95rem; }
  .pay-tile em { margin-top: 4px; }

  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card { padding: 6px 6px 8px; border-radius: 16px; }
  .game-card-art { border-radius: 12px; }
  .game-card-body { padding: 8px 4px 0; gap: 2px; }
  .game-card-name {
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .game-card-meta { margin-bottom: 4px; font-size: 0.72rem; }
  .game-card-go { padding: 5px 8px; font-size: 0.75rem; }
  .game-card-sale { left: 6px; bottom: 6px; padding: 2px 7px; font-size: 0.66rem; }

  .page-intro h1 { font-size: 1.5rem; }
  .crumb { margin-bottom: 10px; font-size: 0.84rem; }
  .progress { gap: 4px; margin-bottom: 12px; }
  .progress li { padding: 7px 4px; font-size: 0.7rem; }
  .game-hero { gap: 12px; margin-bottom: 12px; }
  .game-hero img { width: 60px; height: 60px; border-radius: 14px; }
  .game-hero h1 { font-size: 1.28rem; }
  .panel { padding: 14px; }
  .panel h2 { font-size: 1.05rem; }
  .guide-steps { gap: 10px; }
  .guide-steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .guide-steps li::before { width: 30px; height: 30px; border-radius: 10px; font-size: 0.85rem; }

  .feature-grid, .pack-grid.is-art { gap: 10px; }
  .pack.is-feature { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 8px; }
  .pack.is-feature .pack-art { height: 72px; }
  .pack.is-feature img { width: 56px; height: 56px; }
  .pack.is-feature .pack-name { font-size: 0.92rem; }
  .pack-grid.is-art { grid-template-columns: 1fr 1fr; }
  .pack.is-art { padding: 8px; gap: 6px; }
  .pack-art { height: 78px; }
  .pack.is-art img { width: 58px; height: 58px; }
  .pack { min-height: 0; border-radius: 14px; }
  .pack b { font-size: 0.95rem; }
  .pack-name { font-size: 0.86rem; }

  .search input,
  .field input,
  .field select,
  .field textarea,
  .custom-box input { font-size: 16px; padding: 11px 12px; }
  .chip { padding: 6px 10px; font-size: 0.82rem; }
  .toolbar { gap: 8px; }

  .buybar {
    position: static;
    gap: 8px 12px;
    padding: 10px 12px;
    border-radius: 16px;
  }
  .buy-price { font-size: 1.15rem; }
  .buybar .btn { min-height: 40px; }

  .order-card { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .order-card img { width: 52px; height: 52px; border-radius: 12px; }
  .order-card .btn { grid-column: 1 / -1; }

  .foot-brand { max-width: none; gap: 8px; }
  .foot-navs { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .foot-note { grid-column: 1 / -1; }
  .foot-logo, .foot-logo img { width: 128px; }
  .foot-logo img { height: 34px; }
  .foot-brand p, .foot-grid nav a { font-size: 0.88rem; }
  .site-foot { margin-top: 36px; padding: 24px 0 calc(16px + env(safe-area-inset-bottom)); }
}

.hero-art,
.hero .eyebrow,
.hero h1,
.lede,
.hero-actions,
.promo,
.section,
.page-intro,
.game-hero,
.buybar,
.progress,
.custom-box:not([hidden]),
.form-error:not([hidden]) {
  animation: rise 0.55s ease both;
}

.hero h1 { animation-delay: 0.08s; }
.lede { animation-delay: 0.14s; }
.hero-actions { animation-delay: 0.2s; }

.stats li:nth-child(2),
.how li:nth-child(2),
.pay-strip .pay-tile:nth-child(2) { animation-delay: 0.08s; }
.stats li:nth-child(3),
.how li:nth-child(3),
.pay-strip .pay-tile:nth-child(3) { animation-delay: 0.14s; }
.stats li:nth-child(4),
.how li:nth-child(4),
.pay-strip .pay-tile:nth-child(4) { animation-delay: 0.2s; }

.game-card:nth-child(2),
.pack:nth-child(2) { animation-delay: 0.04s; }
.game-card:nth-child(3),
.pack:nth-child(3) { animation-delay: 0.08s; }
.game-card:nth-child(4),
.pack:nth-child(4) { animation-delay: 0.12s; }
.game-card:nth-child(5),
.pack:nth-child(5) { animation-delay: 0.16s; }
.game-card:nth-child(6),
.pack:nth-child(6) { animation-delay: 0.2s; }
.game-card:nth-child(7),
.pack:nth-child(7) { animation-delay: 0.24s; }
.game-card:nth-child(8),
.pack:nth-child(8) { animation-delay: 0.28s; }
.game-card:nth-child(9),
.pack:nth-child(9) { animation-delay: 0.32s; }
.game-card:nth-child(10) { animation-delay: 0.36s; }
.game-card:nth-child(11) { animation-delay: 0.4s; }
.game-card:nth-child(12) { animation-delay: 0.44s; }

.pack-check:not([hidden]) { animation: pop 0.28s ease; }
.field.is-invalid input,
.form-error:not([hidden]) { animation: shake 0.34s ease; }

.site-nav a,
.chip,
.foot-grid a { transition: color 0.2s ease, background 0.2s ease; }

@keyframes step-point {
  0%, 100% { translate: -3px 0; opacity: 0.35; }
  50% { translate: 4px 0; opacity: 1; }
}

@keyframes step-point-down {
  0%, 100% { translate: 0 -3px; opacity: 0.35; }
  50% { translate: 0 4px; opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes glow {
  0%, 100% { opacity: 0.72; scale: 0.94; }
  50% { opacity: 1; scale: 1.08; }
}

@keyframes aurora {
  from { background-position: 0 0, 100% 0, 70% 100%, 0 0; }
  to { background-position: 6% 8%, 88% 10%, 58% 88%, 0 0; }
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 52px 52px, 52px 52px; }
}

@keyframes text-flow {
  from { background-position: 0% 50%; }
  to { background-position: 220% 50%; }
}

@keyframes sheen {
  from { translate: -140% 0; }
  to { translate: 140% 0; }
}

@keyframes pick {
  0% { scale: 0.96; }
  55% { scale: 1.045; }
  100% { scale: 1; }
}

@keyframes pop {
  from { opacity: 0; scale: 0.4; }
  to { opacity: 1; scale: 1; }
}

@keyframes shake {
  0%, 100% { translate: 0 0; }
  30% { translate: -5px 0; }
  70% { translate: 5px 0; }
}

@keyframes ref-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 22px rgba(62, 231, 255, 0.7); }
}

@keyframes flash-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes flash-border {
  from { background-position: 0 0, 0% 0; }
  to { background-position: 0 0, 200% 0; }
}

@keyframes flash-pop {
  0%, 100% { scale: 1; }
  50% { scale: 1.08; }
}

.chat-launch,
.chat-panel {
  position: fixed;
  right: 16px;
  z-index: 55;
}

.chat-launch {
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #041018;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 24px rgba(62, 231, 255, 0.28);
}

.chat-launch svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.chat-panel {
  bottom: calc(80px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100dvh - 140px));
  overflow: hidden;
  background: #0c1430;
  border: 1px solid rgba(176, 198, 230, 0.18);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(176, 198, 230, 0.12);
  background: linear-gradient(180deg, rgba(62, 231, 255, 0.08), transparent);
}

.chat-head strong { display: block; font-size: 1rem; }
.chat-head span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.78rem; }

.chat-close {
  flex: none;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(176, 198, 230, 0.2);
}

.chat-log {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.chat-empty { margin: auto 0; color: var(--muted); text-align: center; font-size: 0.9rem; }

.chat-msg { max-width: 86%; display: grid; gap: 2px; }
.chat-msg span { font-size: 0.72rem; font-weight: 800; color: var(--muted); }
.chat-msg p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.chat-msg time { font-size: 0.7rem; color: rgba(174, 184, 216, 0.7); }
.chat-msg.is-staff { align-self: start; }
.chat-msg.is-staff p { background: #151d3c; border: 1px solid rgba(176, 198, 230, 0.12); }
.chat-msg.is-user { align-self: end; justify-items: end; }
.chat-msg.is-user span, .chat-msg.is-user time { text-align: right; }
.chat-msg.is-user p { background: rgba(62, 231, 255, 0.14); border: 1px solid rgba(62, 231, 255, 0.28); }

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(176, 198, 230, 0.12);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(130, 196, 255, 0.28);
  background: #070b18;
  font-size: 16px;
}

.chat-form .btn { flex: none; min-height: 42px; padding: 0 14px; }

@media (max-width: 640px) {
  .chat-panel {
    left: 12px;
    right: 12px;
    width: auto;
    height: min(460px, calc(100dvh - 132px));
  }
}

@media (min-width: 641px) {
  body:has(.buybar) .chat-launch { bottom: 96px; }
  body:has(.buybar) .chat-panel { bottom: 160px; height: min(440px, calc(100dvh - 210px)); }
}

body.is-admin .chat-launch,
body.is-admin #staffChat { display: none !important; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}
.admin-stats li {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid rgba(176, 198, 230, 0.16);
  border-radius: 16px;
}
.admin-stats strong { display: block; font-size: 1.7rem; color: var(--cyan); }
.admin-stats span { color: var(--muted); }
.admin-block { margin-top: 28px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.admin-filters button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(176, 198, 230, 0.2);
  color: var(--muted);
  font-weight: 700;
}
.admin-filters button.is-on {
  color: #041018;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  border-color: transparent;
}
.admin-order {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--card);
  border: 1px solid rgba(176, 198, 230, 0.16);
  border-radius: 16px;
}
.admin-order img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}
.admin-order p { color: var(--muted); }
.admin-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-actions .btn { min-height: 36px; padding: 0 12px; }
.admin-actions .btn.is-on { border-color: var(--cyan); color: var(--cyan); }
.admin-people { display: grid; gap: 10px; }
.admin-person {
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid rgba(176, 198, 230, 0.16);
  border-radius: 14px;
}
.admin-person p { color: var(--muted); }
.admin-chat {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
}
.admin-chat .chat-log { min-height: 180px; max-height: 320px; }
.admin-chat .chat-form input { font-size: 16px; }

@media (max-width: 640px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-order { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .admin-order img { width: 52px; height: 52px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .flash-viewport {
    overflow: auto;
    mask-image: none;
  }
  .flash-set[aria-hidden="true"] { display: none; }
}
