@charset "UTF-8";

/* 作者：搭客佬
官网：https://www.wltcgw.cn/ */

:root {
  --plum: #4b073e;
  --purple: #76105e;
  --purple-dark: #26051f;
  --gold: #f4c542;
  --gold-light: #ffe79a;
  --cyan: #45a6d8;
  --ivory: #fff9f1;
  --paper: #f8f0e7;
  --ink: #18131a;
  --muted: #726572;
  --line: #decdbb;
  --white: #ffffff;
  --header-height: 76px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--ivory);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: var(--ivory);
  border-bottom: 1px solid var(--plum);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-copy,
.footer-brand > span {
  display: grid;
  min-width: 0;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--plum);
  font-size: 20px;
  line-height: 1.25;
}

.brand-copy > span,
.footer-brand > span > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 27px 0 22px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  opacity: 0;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  opacity: 1;
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-download {
  padding: 10px 14px;
  color: var(--ivory);
  background: var(--plum);
  border: 1px solid var(--plum);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--plum);
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 100%;
  height: 2px;
  margin: auto;
  background: var(--plum);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(244,197,66,.14) 0 2px, transparent 3px),
    linear-gradient(105deg, var(--ivory) 0 58%, #f8ebd4 58% 100%);
  background-size: 54px 54px, auto;
}

.hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 108px;
  background:
    linear-gradient(135deg, transparent 28%, rgba(75,7,62,.08) 29% 31%, transparent 32%) 0 0 / 80px 80px,
    linear-gradient(45deg, transparent 28%, rgba(75,7,62,.08) 29% 31%, transparent 32%) 0 0 / 80px 80px;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr);
  align-items: center;
  gap: 74px;
  width: min(calc(100% - 40px), var(--container));
  min-height: 700px;
  margin: 0 auto;
  padding: 70px 0 112px;
}

.eyebrow,
.section-heading p,
.download-copy > p {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 18px;
  color: var(--plum);
  font-size: clamp(68px, 7vw, 108px);
  line-height: .95;
  letter-spacing: -6px;
  white-space: nowrap;
}

.hero h2 {
  margin-top: 34px;
  color: var(--plum);
  font-size: clamp(32px, 3vw, 45px);
  line-height: 1.2;
}

.hero-description {
  max-width: 640px;
  margin-top: 22px;
  color: #594a55;
  font-size: 16px;
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  padding: 17px 22px;
  color: var(--plum);
  background: var(--gold);
  border: 2px solid var(--plum);
  box-shadow: 6px 6px 0 var(--plum);
  font-weight: 800;
}

.hero-actions > a span {
  font-size: 22px;
}

.age-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags i {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border: 2px solid var(--plum);
  transform: rotate(45deg);
}

.question-stage {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
  border: 4px solid var(--gold);
  border-radius: 120px 120px 18px 18px;
  box-shadow: 18px 18px 0 rgba(75,7,62,.14);
}

.question-stage::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(255,255,255,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 14%, rgba(244,197,66,.75) 0 2px, transparent 3px);
  background-size: 74px 74px, 110px 110px;
  content: "";
  pointer-events: none;
}

.question-stage > header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px 40px 18px;
}

.question-stage > header > span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.question-progress {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding-top: 20px;
  background: var(--purple-dark);
  border: 8px solid rgba(255,255,255,.14);
  border-top-color: var(--cyan);
  border-right-color: var(--cyan);
  border-radius: 50%;
}

.question-progress strong {
  color: var(--gold);
  font-size: 27px;
}

.question-progress span {
  color: var(--gold-light);
  font-size: 12px;
}

.question-stage > header > i {
  justify-self: end;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
}

.genie-panel {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 130px;
}

.genie-panel > img {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  object-fit: contain;
  border: 4px solid var(--gold);
  border-radius: 50%;
}

.genie-orbit {
  position: absolute;
  width: 220px;
  height: 90px;
  border: 1px solid rgba(69,166,216,.55);
  border-radius: 50%;
}

.genie-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.genie-orbit i:nth-child(1) { top: 5px; left: 46px; }
.genie-orbit i:nth-child(2) { right: 22px; bottom: 12px; }
.genie-orbit i:nth-child(3) { bottom: 0; left: 86px; background: var(--cyan); }

.question-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 28px 24px;
  text-align: center;
}

.question-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.question-copy strong {
  max-width: 390px;
  font-size: 18px;
}

.answer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 0 26px 28px;
}

.answer-grid button {
  min-height: 48px;
  color: var(--plum);
  background: var(--gold);
  border: 2px solid var(--gold-light);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.answer-grid button:nth-child(1),
.answer-grid button:nth-child(2) {
  grid-column: span 3;
}

.answer-grid button:nth-child(n+3) {
  grid-column: span 2;
}

.answer-grid button.is-selected {
  color: var(--white);
  background: var(--cyan);
  border-color: var(--white);
}

.hero-decoration i {
  position: absolute;
  z-index: 1;
  color: rgba(75,7,62,.08);
  font-family: Georgia, serif;
  font-style: normal;
  font-weight: 700;
}

.hero-decoration i::before {
  content: "?";
}

.hero-decoration i:nth-child(1) { top: 70px; left: 3%; font-size: 110px; }
.hero-decoration i:nth-child(2) { top: 165px; left: 36%; font-size: 60px; }
.hero-decoration i:nth-child(3) { right: 3%; bottom: 88px; font-size: 160px; }

.section {
  padding: 100px 0;
}

.section-inner,
.download-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-top: 8px;
  color: var(--plum);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -3px;
}

.section-heading > span {
  justify-self: end;
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
}

.challenge-section {
  background: var(--white);
}

.challenge-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--plum);
  border-bottom: 2px solid var(--plum);
}

.challenge-track article {
  position: relative;
  display: grid;
  grid-template-columns: 54px 82px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 220px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.challenge-track article:last-child {
  border-right: 0;
}

.challenge-track article:not(:last-child)::after {
  position: absolute;
  z-index: 3;
  top: calc(50% - 18px);
  right: -19px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--plum);
  background: var(--gold);
  border: 1px solid var(--plum);
  content: "→";
  font-weight: 800;
}

.track-number {
  align-self: start;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.track-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--gold);
  background: var(--plum);
  border-radius: 50%;
}

.track-icon i {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
}

.icon-question::before {
  position: absolute;
  inset: -16px 0 0;
  content: "?";
  font-family: Georgia, serif;
  font-size: 46px;
  font-style: normal;
  text-align: center;
}

.icon-filter {
  border: 4px solid var(--gold);
  border-top-width: 8px;
  clip-path: polygon(0 0, 100% 0, 62% 52%, 62% 100%, 38% 100%, 38% 52%);
}

.icon-person::before {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0 auto 2px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.icon-person::after {
  display: block;
  width: 34px;
  height: 18px;
  background: var(--gold);
  border-radius: 18px 18px 3px 3px;
  content: "";
}

.challenge-track h3 {
  color: var(--plum);
  font-size: 22px;
}

.challenge-track p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.deduction-section {
  color: var(--white);
  background: var(--purple-dark);
}

.section-heading-light h2,
.section-heading-light > span {
  color: var(--white);
}

.section-heading-light p {
  color: var(--gold);
}

.deduction-board {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  min-height: 480px;
  border: 2px solid var(--gold);
}

.genie-guide {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px;
  text-align: center;
  background: var(--plum);
  border-right: 1px solid rgba(244,197,66,.45);
}

.genie-guide img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.genie-guide > p {
  margin-top: 18px;
  color: var(--gold-light);
  font-size: 12px;
}

.genie-guide > strong {
  font-size: 18px;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-top: 22px;
  border: 10px solid rgba(255,255,255,.12);
  border-top-color: var(--cyan);
  border-right-color: var(--gold);
  border-radius: 50%;
}

.progress-ring span {
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}

.question-path {
  position: relative;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 40px 44px;
}

.question-path::before {
  position: absolute;
  top: 70px;
  bottom: 70px;
  left: 65px;
  width: 2px;
  background: var(--gold);
  content: "";
}

.question-path article {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--gold);
}

.question-path article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--purple);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.question-path article > strong {
  font-size: 14px;
}

.question-path article > div {
  display: flex;
  gap: 6px;
}

.question-path button {
  min-width: 58px;
  padding: 7px 10px;
  color: var(--plum);
  background: var(--gold-light);
  border: 1px solid var(--plum);
  cursor: pointer;
  font-size: 12px;
}

.question-path button.is-selected {
  color: var(--white);
  background: var(--purple);
}

.guess-card {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px;
  text-align: center;
  background: #fff3d5;
  border-left: 1px solid var(--gold);
}

.guess-card > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.silhouette {
  display: grid;
  place-items: center;
  width: 120px;
  height: 160px;
  margin: 22px 0;
  background: var(--plum);
  border: 6px double var(--gold);
}

.silhouette i::before {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  background: var(--gold-light);
  border-radius: 50%;
  content: "";
}

.silhouette i::after {
  display: block;
  width: 82px;
  height: 66px;
  background: var(--gold-light);
  border-radius: 40px 40px 4px 4px;
  content: "";
}

.guess-card h3 {
  color: var(--plum);
  font-size: 20px;
}

.guess-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.gallery-section {
  background: var(--paper);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--plum);
  box-shadow: 0 12px 0 rgba(75,7,62,.08);
}

.screen-window {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #efe3e9;
}

.screen-window img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 15px 18px;
  border-top: 1px solid var(--plum);
}

.screen-card figcaption span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.screen-card figcaption strong {
  color: var(--plum);
  font-size: 16px;
}

.faq-section {
  background: var(--ivory);
}

.faq-list {
  border-top: 2px solid var(--plum);
}

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

.faq-item > button {
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 24px 18px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-item > button > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.faq-item > button > strong {
  color: var(--plum);
  font-size: 16px;
}

.faq-item > button > i {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  justify-self: end;
}

.faq-item > button > i::before,
.faq-item > button > i::after {
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--plum);
  content: "";
}

.faq-item > button > i::after {
  transform: rotate(90deg);
}

.faq-item > button[aria-expanded="true"] > i::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 72px 24px;
  color: var(--muted);
  font-size: 14px;
}

.official-site {
  width: 100%;
  margin-top: 34px;
  background: var(--white);
  border: 1px solid var(--plum);
}

.official-site summary {
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary > span {
  color: var(--purple);
  font-size: 20px;
}

.official-site summary strong {
  color: var(--plum);
  font-size: 16px;
}

.official-site summary i::before {
  display: block;
  content: "+";
  color: var(--plum);
  font-size: 24px;
  line-height: 1;
}

.official-site[open] summary i::before {
  content: "−";
}

.official-site > div {
  padding: 0 64px 22px;
}

.official-site > div a {
  color: var(--purple);
  font-size: 14px;
}

.review-section {
  background: #f2e4eb;
}

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

.review-card {
  min-height: 270px;
  padding: 26px;
  background: var(--ivory);
  border: 1px solid var(--plum);
  border-top: 6px solid var(--gold);
}

.review-card:nth-child(even) {
  border-top-color: var(--cyan);
}

.review-card header {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.review-card header > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: var(--plum);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.review-card header strong {
  color: var(--plum);
  font-size: 14px;
}

.review-card time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.review-card p {
  margin-top: 20px;
  color: #51444f;
  font-size: 14px;
  line-height: 1.95;
}

.download-section {
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
  border-bottom: 5px solid var(--gold);
}

.download-inner {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  min-height: 300px;
}

.lamp-mark {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--gold);
}

.lamp-mark::before,
.lamp-mark::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(75,7,62,.22);
  border-radius: 50%;
}

.lamp-mark::before { width: 170px; height: 170px; }
.lamp-mark::after { width: 118px; height: 118px; }

.lamp-mark i {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 42px;
  background: var(--plum);
  border-radius: 8px 8px 36px 36px;
  transform: rotate(-8deg);
}

.lamp-mark i::before {
  position: absolute;
  top: -16px;
  right: 8px;
  width: 32px;
  height: 18px;
  border: 7px solid var(--plum);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  content: "";
}

.lamp-mark i::after {
  position: absolute;
  right: -22px;
  bottom: 6px;
  width: 34px;
  height: 18px;
  border: 6px solid var(--plum);
  border-left: 0;
  border-radius: 0 20px 20px 0;
  content: "";
}

.lamp-mark > span {
  position: absolute;
  z-index: 2;
  top: 84px;
  left: 70px;
  width: 42px;
  height: 42px;
  border: 3px solid var(--plum);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.download-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 50px 62px;
}

.download-copy > p {
  color: var(--gold);
}

.download-copy h2 {
  max-width: 600px;
  font-size: 38px;
  line-height: 1.25;
}

.download-copy > span {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.download-ticket {
  position: relative;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 42px;
  color: var(--plum);
  background: #fff0bb;
  border-left: 2px dashed var(--plum);
}

.download-ticket::before,
.download-ticket::after {
  position: absolute;
  left: -17px;
  width: 32px;
  height: 32px;
  background: var(--plum);
  border-radius: 50%;
  content: "";
}

.download-ticket::before { top: -16px; }
.download-ticket::after { bottom: -16px; }

.download-ticket > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.download-ticket > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--ivory);
  background: var(--plum);
  border: 2px solid var(--plum);
  font-size: 18px;
  font-weight: 800;
}

.download-ticket > a i {
  font-size: 24px;
  font-style: normal;
}

.site-footer {
  color: var(--white);
  background: #180416;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 0 30px;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand > span > span {
  color: rgba(255,255,255,.55);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.footer-nav a {
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.footer-bottom {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.55);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,.56);
  font-size: 12px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--gold);
  border: 1px solid var(--plum);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top i {
  width: 22px;
  height: 22px;
  background: url("../icons/top.svg") center / contain no-repeat;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-top: var(--header-height);
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy > span {
    display: block;
    overflow: visible;
    white-space: nowrap;
  }

  .mobile-actions {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--ivory);
    border-bottom: 1px solid var(--plum);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: block;
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a {
    padding: 16px 4px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 58px 0 95px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(62px, 14vw, 96px);
    letter-spacing: -4px;
    white-space: normal;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-items: center;
  }

  .hero-tags {
    justify-content: center;
  }

  .question-stage {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading > span {
    justify-self: start;
  }

  .challenge-track article {
    grid-template-columns: 40px 68px 1fr;
    padding: 24px 18px;
  }

  .track-icon {
    width: 64px;
    height: 64px;
  }

  .deduction-board {
    grid-template-columns: 190px 1fr;
  }

  .guess-card {
    grid-column: 1 / -1;
    min-height: 280px;
    border-top: 1px solid var(--gold);
    border-left: 0;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-inner {
    grid-template-columns: 170px 1fr 270px;
  }

  .download-copy {
    padding: 40px;
  }

  .download-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .brand-copy > span {
    font-size: 12px;
  }

  .mobile-download {
    padding: 9px 12px;
  }

  .hero {
    background: var(--ivory);
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .hero h2 {
    font-size: 29px;
  }

  .hero-description {
    font-size: 14px;
  }

  .question-stage {
    border-width: 3px;
    border-radius: 72px 72px 12px 12px;
    box-shadow: 10px 10px 0 rgba(75,7,62,.12);
  }

  .question-stage > header {
    padding: 26px 22px 14px;
  }

  .question-progress {
    width: 76px;
    height: 76px;
    padding-top: 15px;
  }

  .genie-panel > img {
    width: 94px;
    height: 94px;
  }

  .answer-grid {
    padding: 0 14px 18px;
  }

  .answer-grid button {
    min-height: 46px;
    padding: 6px;
    font-size: 12px;
  }

  .section {
    padding: 62px 0;
  }

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

  .section-heading h2 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .challenge-track {
    grid-template-columns: 1fr;
  }

  .challenge-track article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .challenge-track article:last-child {
    border-bottom: 0;
  }

  .challenge-track article:not(:last-child)::after {
    top: auto;
    right: calc(50% - 18px);
    bottom: -19px;
    content: "↓";
  }

  .deduction-board {
    grid-template-columns: 1fr;
  }

  .genie-guide {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--gold);
  }

  .question-path {
    padding: 28px 14px;
  }

  .question-path::before {
    left: 35px;
  }

  .question-path article {
    grid-template-columns: 42px 1fr;
  }

  .question-path article > div {
    grid-column: 2;
  }

  .guess-card {
    grid-column: auto;
  }

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

  .screen-card figcaption {
    min-height: 62px;
    padding: 12px;
  }

  .screen-card figcaption strong {
    font-size: 14px;
  }

  .faq-item > button {
    grid-template-columns: 34px 1fr 20px;
    padding: 20px 8px;
  }

  .faq-item > button > strong {
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 42px 20px;
    font-size: 13px;
  }

  .official-site summary {
    padding: 0 14px;
  }

  .official-site > div {
    padding: 0 58px 20px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 0;
  }

  .review-card header {
    grid-template-columns: 42px 1fr auto;
  }

  .review-card time {
    justify-self: end;
    text-align: right;
  }

  .download-section {
    padding: 12px 0;
  }

  .download-inner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .lamp-mark {
    min-height: 180px;
  }

  .lamp-mark > span {
    top: 34px;
    left: calc(50% - 80px);
  }

  .download-copy {
    justify-items: center;
    padding: 38px 22px 28px;
    text-align: center;
  }

  .download-copy h2 {
    font-size: 28px;
  }

  .download-ticket {
    border-top: 2px dashed var(--plum);
    border-left: 0;
  }

  .download-ticket::before,
  .download-ticket::after {
    top: -17px;
    left: auto;
  }

  .download-ticket::before { left: -16px; }
  .download-ticket::after { right: -16px; bottom: auto; }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  a,
  button,
  summary {
    -webkit-tap-highlight-color: transparent;
    animation: none !important;
    transition: none !important;
  }

  a:active,
  button:active,
  summary:active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 15px;
  }

  .mobile-download {
    padding: 9px 10px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-tags {
    gap: 13px;
  }

  .question-stage > header > span {
    letter-spacing: 1px;
  }

  .review-card {
    padding: 20px;
  }

  .review-card header {
    grid-template-columns: 38px 1fr;
  }

  .review-card header > span {
    width: 38px;
    height: 38px;
  }

  .review-card time {
    grid-column: 2;
  }
}
