.pub {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #e4e9ff;
  --paper: #060c40;
  --card: #12184f;
  --line: rgba(246, 196, 69, 0.45);
  --gold: #f6c445;
  --gold-ink: #0b1038;
  --purple: #9b34fc;
  --teal: #14c4c0;
  --orange: #f77c00;
  --blue: #0e53fd;
  --focus: #f6c445;
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1.5px 1.5px at 8% 10%, rgba(255, 255, 255, 0.9) 0 50%, transparent 62%),
    radial-gradient(1.2px 1.2px at 28% 24%, rgba(255, 236, 170, 0.8) 0 50%, transparent 62%),
    radial-gradient(1.4px 1.4px at 76% 8%, rgba(255, 255, 255, 0.85) 0 50%, transparent 62%),
    radial-gradient(1px 1px at 90% 30%, rgba(246, 196, 69, 0.85) 0 50%, transparent 62%),
    radial-gradient(1.2px 1.2px at 18% 70%, rgba(255, 255, 255, 0.7) 0 50%, transparent 62%),
    radial-gradient(1px 1px at 64% 78%, rgba(255, 255, 255, 0.65) 0 50%, transparent 62%),
    radial-gradient(90% 46% at 8% 18%, rgba(155, 52, 252, 0.5), transparent 56%),
    radial-gradient(70% 40% at 100% 0%, rgba(20, 196, 192, 0.42), transparent 48%),
    radial-gradient(55% 32% at 100% 72%, rgba(247, 124, 0, 0.32), transparent 52%),
    radial-gradient(48% 30% at 0% 90%, rgba(14, 83, 253, 0.38), transparent 50%),
    radial-gradient(40% 24% at 70% 40%, rgba(246, 196, 69, 0.16), transparent 55%),
    linear-gradient(180deg, #1a2478 0%, #060c40 46%, #04082a 100%);
  background-repeat: no-repeat;
  overflow-wrap: break-word;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
html { overflow-x: clip; }
.pub * { box-sizing: border-box; }
.pub img { max-width: 100%; height: auto; }
.pub a { color: #9cf6ea; }
.pub h1, .pub h2, .pub h3 { line-height: 1.25; overflow-wrap: break-word; }
.pub h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 8px; }
.pub h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 10px; }
.pub h3 { font-size: 1.12rem; margin: 0 0 6px; }
.pub p { margin: 0 0 12px; }
.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 10px 12px;
  z-index: 20;
  min-height: 48px;
}
.skip:focus { top: 8px; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.top { padding: max(12px, env(safe-area-inset-top, 0px)) 0 4px; }
.bar, .nav, .langs, .foot-links, .cta, .stores, .demo-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bar { justify-content: space-between; }
.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-right: 8px;
  box-shadow: 0 0 0 2px #f6c445;
}
.nav a, .langs a, .menu a, .foot-links a, .btn, button, summary, .badge {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.langs nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 168px;
  display: grid;
  padding: 6px;
  border-radius: 16px;
  background: #101858;
  border: 1px solid rgba(246, 196, 69, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.langs a { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); justify-content: flex-start; }
.langs a.is-on, .menu-langs a.is-on, .pick:has(input:checked) label { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.nav.desk { margin-top: 4px; }
.menu { display: none; width: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel, .menu nav { display: grid; gap: 4px; }
.menu a { justify-content: flex-start; }
.menu-langs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.menu-langs a { justify-content: center; }
.pub main { padding: 12px 0 8px; }
.hero { margin: 8px 0 20px; }
.campaign {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 8px 18px;
  align-items: center;
  background: #101858;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.campaign img { width: 100%; height: auto; display: block; }
.campaign-copy { padding: 8px 18px 18px 4px; }
.kicker { margin: 0 0 6px; color: var(--gold); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lead { font-size: 1.08rem; color: var(--muted); }
.pub a.btn, .pub button {
  background-color: var(--gold);
  background-image: linear-gradient(180deg, #fff4c2 0%, #f6c445 46%, #e2a31a 100%);
  color: var(--gold-ink);
  border: 1px solid #fff6d0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 16px rgba(20, 12, 4, 0.28);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pub a.btn.ghost {
  background: rgba(20, 196, 192, 0.16);
  color: #e8fffd;
  border: 1px solid var(--teal);
}
.pub a.badge { color: var(--ink); }
.card, .faq article, .tiles li, .hero.plain, .panel {
  background:
    linear-gradient(180deg, rgba(246, 196, 69, 0.1), transparent 36%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.grid-3 .card:nth-child(3n + 1), .faq article:nth-child(5n + 1), .tiles li:nth-child(5n + 1) { border-top: 4px solid var(--gold); }
.grid-3 .card:nth-child(3n + 2), .faq article:nth-child(5n + 2), .tiles li:nth-child(5n + 2) { border-top: 4px solid var(--purple); }
.grid-3 .card:nth-child(3n + 3), .faq article:nth-child(5n + 3), .tiles li:nth-child(5n + 3) { border-top: 4px solid var(--teal); }
.faq article:nth-child(5n + 4), .tiles li:nth-child(5n + 4) { border-top: 4px solid var(--orange); }
.faq article:nth-child(5n + 5), .tiles li:nth-child(5n + 5) { border-top: 4px solid var(--blue); }
.card, .faq article, .tiles li, .hero.plain { padding: 16px; }
section { margin: 28px 0; }
.grid-3, .gallery, .faq, .tiles, .points { display: grid; gap: 12px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #070e42; }
.gallery img { width: 100%; max-height: 460px; object-fit: cover; object-position: top; display: block; }
.how {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(155, 52, 252, 0.55);
  background:
    linear-gradient(135deg, rgba(155, 52, 252, 0.22), rgba(14, 83, 253, 0.16) 46%, rgba(247, 124, 0, 0.14));
}
.wheel-col { display: grid; justify-items: center; gap: 8px; }
.wheel {
  width: min(180px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#e53935 0 60deg, #f6c445 0 120deg, #22c55e 0 180deg, #0e53fd 0 240deg, #9b34fc 0 300deg, #e040fb 0 360deg);
  box-shadow: 0 0 0 10px #101858, 0 0 0 14px #f6c445, inset 0 0 0 8px rgba(255, 255, 255, 0.18);
  animation: spin 14s linear infinite;
}
.wheel-caption { margin: 0; color: var(--gold); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.pick { position: relative; }
.pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pick label {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.pick:has(input:focus-visible) label { outline: 3px solid var(--focus); outline-offset: 2px; }
.panel { display: none; padding: 16px; gap: 12px; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
.panel img { width: 140px; max-height: 220px; object-fit: cover; object-position: top; border-radius: 12px; justify-self: end; }
.demo:has(#step-spin:checked) #panel-spin,
.demo:has(#step-tiles:checked) #panel-tiles,
.demo:has(#step-choice:checked) #panel-choice,
.demo:has(#step-shield:checked) #panel-shield,
.demo:has(#step-out:checked) #panel-out { display: grid; }
.points { list-style: none; padding: 0; margin: 12px 0 0; }
.points li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.points li:nth-child(4n + 1) { border-left: 4px solid var(--gold); }
.points li:nth-child(4n + 2) { border-left: 4px solid var(--purple); }
.points li:nth-child(4n + 3) { border-left: 4px solid var(--teal); }
.points li:nth-child(4n + 4) { border-left: 4px solid var(--orange); }
.tiles { list-style: none; padding: 0; margin: 0 0 16px; }
.meta { color: var(--gold); }
.stores { margin: 8px 0 12px; }
.badge {
  flex-direction: column;
  align-items: flex-start;
  background: #070e42;
  border: 1px solid var(--line);
  min-width: 168px;
  gap: 0;
}
.badge span, .badge b { font-size: 16px; }
.badge.soon {
  cursor: default;
  border-color: rgba(246, 196, 69, 0.72);
  background: linear-gradient(180deg, rgba(246, 196, 69, 0.16), #070e42 42%);
}
.help-search { display: grid; gap: 8px; max-width: 520px; }
.help-search input {
  font: inherit;
  color: var(--ink);
  background: #0b1038;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 48px;
  padding: 8px 12px;
  width: 100%;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; align-items: center; }
.crumbs a { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; }
footer { padding: 8px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); }
.foot-links { margin-bottom: 8px; }
.status { font-size: clamp(3rem, 10vw, 5rem); margin: 0; line-height: 1; color: var(--gold); }
.pub :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 800px) {
  .campaign, .how, .grid-3, .panel { grid-template-columns: 1fr; }
  .campaign-copy { padding: 4px 16px 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .top { position: relative; z-index: 8; }
  .bar { flex-wrap: nowrap; gap: 6px; min-width: 0; }
  .brand { flex: 1 1 auto; min-width: 0; overflow: hidden; font-size: 1.05rem; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand img { width: 28px; height: 28px; margin-right: 6px; flex: 0 0 auto; }
  .nav.desk, .top .langs { display: none; }
  .menu { display: block; flex: 0 0 auto; margin-left: auto; }
  .menu summary { padding: 8px 10px; white-space: nowrap; }
  .menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 8;
    width: min(260px, calc(100vw - 24px));
    padding: 8px;
    background: #12184f;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .panel img { justify-self: start; }
}
@media (max-width: 520px) {
  .wrap { width: min(1080px, calc(100% - 20px)); }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .wrap { width: min(1080px, calc(100% - 24px)); }
  .pub h1 { font-size: clamp(1.45rem, 7.2vw, 1.85rem); }
  .pub h2 { font-size: 1.28rem; }
  .lead { font-size: 1.02rem; }
  section { margin: 20px 0; }
  .card, .faq article, .tiles li, .hero.plain { padding: 14px; }
  .how { padding: 12px; border-radius: 16px; }
  .banner { border-radius: 16px; margin-bottom: 12px; }
  .panel { padding: 12px; }
  .panel img {
    width: min(220px, 72%);
    max-height: none;
    height: auto;
    object-fit: contain;
    justify-self: center;
  }
  .demo-nav { gap: 8px; }
  .pick { flex: 1 1 auto; }
  .pick label { width: 100%; justify-content: center; text-align: center; }
  .playthrough img { max-height: 520px; }
  .gallery figcaption { font-size: 0.95rem; line-height: 1.45; }
  .legal, .foot, .crumbs { overflow-wrap: anywhere; }
  .help-search { max-width: 100%; }
  .badge { width: 100%; min-width: 0; }
}
.banner {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  aspect-ratio: 1600 / 440;
  border-radius: 24px;
  overflow: hidden;
  background: #101858;
  border: 1px solid var(--line);
}
.banner img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (min-width: 701px) {
  body:has(.hero.marketing) .top .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
.ways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ways article:nth-child(1) { border-top: 4px solid #9b34fc; }
.ways article:nth-child(2) { border-top: 4px solid #14c4c0; }
.ways article:nth-child(3) { border-top: 4px solid #f77c00; }
.ways article:nth-child(4) { border-top: 4px solid #0e53fd; }
.playthrough .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.playthrough img {
  width: auto;
  max-width: 100%;
  max-height: 640px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #070e42;
}
.gallery figcaption { padding: 10px 12px 14px; color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--ink); margin-bottom: 4px; }
.soon {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}
@media (max-width: 700px) {
  .banner {
    aspect-ratio: 1600 / 440;
    width: 100%;
    margin-inline: 0;
    border-radius: 16px;
  }
  .banner img { object-fit: contain; object-position: center; }
  .ways-grid, .playthrough .gallery { grid-template-columns: 1fr; }
}
body.embed header,
body.embed .marketing,
body.embed #download,
body.embed .brand,
body.embed .langs,
body.embed .menu,
body.embed .nav,
body.embed .crumbs,
body.embed .foot-links { display: none !important; }
/* Embedded and narrow pages keep scrolling, without a visible bar.
   A wide top-level desktop window keeps the normal scrollbar. */
html:has(body.embed),
html:has(body.in-frame),
body.embed,
body.in-frame {
  scrollbar-width: none;
}
html:has(body.embed)::-webkit-scrollbar,
html:has(body.in-frame)::-webkit-scrollbar,
body.embed::-webkit-scrollbar,
body.in-frame::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (max-width: 700px) {
  html,
  body {
    scrollbar-width: none;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wheel { animation: none; }
  html { scroll-behavior: auto; }
}
