@charset "UTF-8";

:root {
  --navy: #0f3150;
  --navy-deep: #071c2f;
  --navy-soft: #183f61;
  --yellow: #ffcb3e;
  --orange: #e86b42;
  --cyan: #51d7d2;
  --cream: #fffaf0;
  --paper: #ffffff;
  --mist: #eef7f7;
  --ink: #10283f;
  --muted: #607286;
  --line: #cad8df;
  --header-height: 74px;
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
summary {
  cursor: pointer;
}

.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;
}

.icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

.icon-download::before {
  background-image: url("../icons/download.svg");
}

.icon-menu::before {
  background-image: url("../icons/menu.svg");
}

.icon-search::before {
  background-image: url("../icons/search.svg");
}

.icon-gamepad::before {
  background-image: url("../icons/gamepad.svg");
}

.icon-users::before {
  background-image: url("../icons/users.svg");
}

.icon-history::before {
  background-image: url("../icons/history.svg");
}

.icon-refresh::before {
  background-image: url("../icons/refresh.svg");
}

.icon-compass::before {
  background-image: url("../icons/compass.svg");
}

.icon-filter::before {
  background-image: url("../icons/filter.svg");
}

.icon-bookmark::before {
  background-image: url("../icons/bookmark.svg");
}

.icon-avatar::before {
  background-image: url("../icons/avatar.svg");
}

.icon-globe::before {
  background-image: url("../icons/globe.svg");
}

.icon-arrow-right::before {
  background-image: url("../icons/arrow-right.svg");
}

.icon-up::before {
  background-image: url("../icons/up.svg");
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

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

.brand {
  flex: 0 0 auto;
  min-width: 220px;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.brand-copy,
.footer-brand > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--navy-deep);
  font-size: 18px;
  white-space: nowrap;
}

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

.site-nav {
  margin-left: auto;
}

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

.site-nav a {
  position: relative;
  display: block;
  padding: 25px 0 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--orange);
}

.site-nav a.is-active::after {
  background: var(--orange);
}

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

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  gap: 8px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  color: #fff;
  background: var(--navy);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-download .icon::before,
.primary-action .icon::before,
.download-ticket .icon::before {
  filter: brightness(0) invert(1);
}

.header-download:hover {
  color: var(--navy);
  background: var(--yellow);
}

.header-download:hover .icon::before {
  filter: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(15, 49, 80, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 49, 80, 0.045) 1px, transparent 1px),
    var(--cream);
  background-size: 44px 44px;
}

.hero::before {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(81, 215, 210, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 64px;
  align-items: center;
  width: min(calc(100% - 40px), var(--shell));
  min-height: 690px;
  margin: 0 auto;
  padding: 72px 0;
}

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

.eyebrow,
.section-kicker,
.console-index,
.match-label,
.download-copy > p {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(64px, 7.2vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-slogan {
  margin-top: 28px;
  color: var(--navy-deep);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-description {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.hero-action-group {
  display: flex;
  width: fit-content;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 30px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 58px;
  padding: 0 26px;
  gap: 10px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  color: #fff;
  background: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.primary-action:hover {
  border-color: var(--orange);
  background: var(--orange);
}

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

.game-console {
  position: relative;
  width: 100%;
  border: 2px solid var(--navy);
  border-radius: 5px;
  background: #fff;
  box-shadow: 14px 14px 0 rgba(15, 49, 80, 0.12);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 22px 26px;
  color: #fff;
  background: var(--navy);
}

.console-head h2 {
  margin-top: 3px;
  font-size: 28px;
  line-height: 1.2;
}

.console-index {
  color: var(--yellow);
}

.online-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  white-space: nowrap;
}

.online-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54e49d;
}

.console-search {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 22px 24px 0;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--mist);
}

.console-search input {
  min-width: 0;
  height: 36px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.console-search button {
  min-width: 72px;
  height: 36px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 24px 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.console-tab {
  min-height: 46px;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.console-tab:last-child {
  border-right: 0;
}

.console-tab.is-active {
  color: var(--navy-deep);
  background: var(--yellow);
}

.console-list {
  margin: 18px 24px 0;
  border-top: 1px solid var(--line);
}

.console-game {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

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

.game-number {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.game-info h3 {
  font-size: 16px;
}

.game-info p {
  color: var(--muted);
  font-size: 12px;
}

.game-status {
  min-width: 82px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.game-status[aria-pressed="true"] {
  color: #fff;
  background: var(--navy);
}

.console-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  margin-top: 18px;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: #f6f2e7;
}

.console-result > span {
  color: var(--muted);
  font-size: 12px;
}

.console-result strong {
  font-size: 15px;
}

.console-result button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.section-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
  padding: 94px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-top: 8px;
  color: var(--navy-deep);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
}

.section-heading > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.picker-section {
  background: #fff;
}

.mood-board {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.62fr;
  border: 1px solid var(--line);
  background: var(--paper);
}

.mood-controls,
.match-card,
.mood-note {
  min-width: 0;
  padding: 34px;
}

.mood-controls {
  border-right: 1px solid var(--line);
}

.control-label {
  font-size: 14px;
  font-weight: 800;
}

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

.mood-chip {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.mood-chip.is-active {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.time-control {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.time-control strong {
  color: var(--orange);
}

#play-time {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--orange);
}

.match-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: var(--mist);
}

.match-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.25;
}

.match-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.match-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
}

.mood-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--orange);
}

.note-number {
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
}

.mood-note p {
  font-size: 14px;
  font-weight: 700;
}

.path-section {
  color: #fff;
  background: var(--navy-deep);
}

.section-heading.is-light h2,
.section-heading.is-light > p {
  color: #fff;
}

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

.path-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  background: var(--navy-soft);
}

.path-card-primary {
  color: var(--navy-deep);
  background: var(--yellow);
}

.path-card .icon {
  width: 34px;
  height: 34px;
  margin-top: 28px;
}

.path-card h3 {
  margin-top: 14px;
  font-size: 25px;
}

.path-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.path-card-primary p {
  color: rgba(7, 28, 47, 0.72);
}

.path-step {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.path-card-primary .path-step {
  color: var(--orange);
}

.path-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
  min-height: 170px;
  background: transparent;
}

.route-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.route-meter span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.route-meter span:last-child {
  border-right: 0;
}

.route-meter .is-complete {
  color: var(--navy-deep);
  background: var(--cyan);
}

.route-meter .is-current {
  color: var(--navy-deep);
  background: var(--yellow);
}

.screens-section {
  background: #e9f6f6;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  gap: 22px;
  justify-content: space-between;
}

.screen-card {
  width: 250px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.screen-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 450px;
  overflow: hidden;
  background: #f4f8f8;
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screen-card figcaption {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 2px 8px;
  min-height: 96px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.screen-card figcaption > span {
  grid-row: 1 / 3;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

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

.screen-card figcaption small {
  color: var(--muted);
  font-size: 12px;
}

.reviews-section {
  background: #fff;
}

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

.review-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 5px;
  background: var(--paper);
}

.review-card header {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
}

.review-card .icon-avatar {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  background: var(--navy);
}

.review-card .icon-avatar::before {
  filter: brightness(0) invert(1);
}

.review-card header strong {
  font-size: 14px;
}

.review-score {
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--navy-deep);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.review-card > p {
  margin-top: 22px;
  color: #263b4e;
  font-size: 14px;
  line-height: 1.9;
}

.review-card time {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  color: #fff;
  background: var(--navy-deep);
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.faq-question > span {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
}

.faq-question em {
  color: var(--yellow);
  font-size: 12px;
  font-style: normal;
}

.faq-question > i,
.official-sign {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-question > i::before,
.faq-question > i::after,
.official-sign::before,
.official-sign::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: "";
}

.faq-question > i::after,
.official-sign::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] > i::after,
.official-site[open] .official-sign::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 62px 24px 78px;
}

.faq-answer p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.official-site {
  margin-top: 24px;
  border: 1px solid var(--yellow);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}

.official-site summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
  list-style: none;
  font-weight: 700;
}

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

.official-site summary > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.official-site .icon-globe::before {
  filter: brightness(0) invert(1);
}

.official-answer {
  padding: 0 52px 22px;
}

.official-answer a {
  color: var(--yellow);
  font-size: 14px;
}

.download-section {
  padding: 70px 20px;
  background:
    linear-gradient(90deg, rgba(255, 203, 62, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 203, 62, 0.12) 1px, transparent 1px),
    var(--orange);
  background-size: 28px 28px;
}

.download-shell {
  display: grid;
  grid-template-columns: 150px 1fr 270px;
  align-items: stretch;
  width: min(100%, var(--shell));
  min-height: 190px;
  margin: 0 auto;
  border: 2px solid var(--navy-deep);
  border-radius: 5px;
  background: #fff;
  box-shadow: 12px 12px 0 var(--navy-deep);
}

.download-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px dashed var(--navy-deep);
  color: var(--navy);
  background: var(--yellow);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}

.download-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 40px;
}

.download-copy h2 {
  margin-top: 8px;
  color: var(--navy-deep);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
}

.download-copy > span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.download-ticket {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-left: 2px dashed var(--navy-deep);
  color: #fff;
  background: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.download-ticket:hover {
  color: var(--navy-deep);
  background: var(--cyan);
}

.download-ticket:hover .icon::before {
  filter: none;
}

.site-footer {
  padding: 54px 20px 28px;
  color: #fff;
  background: var(--navy-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 40px;
  align-items: center;
  width: min(100%, var(--shell));
  margin: 0 auto;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

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

.footer-nav a {
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--navy-deep);
  border-radius: 5px;
  color: var(--navy-deep);
  background: var(--yellow);
  opacity: 0;
  pointer-events: none;
}

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

@media (max-width: 1120px) {
  .site-nav ul {
    gap: 20px;
  }

  .header-actions {
    margin-left: 20px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(470px, 1.12fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .screen-rail {
    gap: 16px;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 14px;
    scrollbar-color: var(--orange) rgba(15, 49, 80, 0.12);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

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

  .brand {
    min-width: 0;
    margin-right: auto;
  }

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

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

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

  .site-nav ul {
    display: block;
    width: min(calc(100% - 24px), var(--shell));
    margin: 0 auto;
  }

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

  .site-nav li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    padding: 15px 4px;
  }

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

  .header-actions {
    margin-left: 12px;
  }

  .header-download {
    min-height: 42px;
    padding: 0 14px;
  }

  .header-download .icon {
    display: none;
  }

  .header-download span {
    font-size: 0;
  }

  .header-download span::after {
    font-size: 13px;
    content: "立即下载";
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 60px 0;
  }

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

  .hero h1 {
    font-size: clamp(58px, 15vw, 86px);
  }

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

  .hero-points,
  .hero-action-group {
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
  }

  .game-console {
    max-width: 620px;
    margin: 8px auto 0;
    box-shadow: 8px 8px 0 rgba(15, 49, 80, 0.12);
  }

  .section-shell {
    padding: 72px 0;
  }

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

  .match-card {
    border-right: 0;
  }

  .mood-note {
    grid-column: 1 / -1;
    min-height: 180px;
  }

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

  .path-card-wide {
    grid-template-columns: 1fr;
  }

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

  .download-shell {
    grid-template-columns: 120px 1fr;
  }

  .download-ticket {
    grid-column: 1 / -1;
    min-height: 76px;
    border-top: 2px dashed var(--navy-deep);
    border-left: 0;
  }
}

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

  .header-inner,
  .hero-inner,
  .section-shell {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 8px;
  }

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

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

  .brand-copy > span {
    max-width: none;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
  }

  .header-actions {
    gap: 6px;
    margin-left: 8px;
  }

  .header-download {
    padding: 0 11px;
  }

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

  .hero-inner {
    gap: 40px;
    padding: 46px 0 56px;
  }

  .hero-slogan {
    margin-top: 20px;
    font-size: 26px;
  }

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

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .primary-action {
    min-width: 220px;
  }

  .console-head {
    align-items: flex-start;
    padding: 18px;
  }

  .console-head h2 {
    font-size: 23px;
  }

  .online-state {
    margin-top: 5px;
  }

  .console-search,
  .console-tabs,
  .console-list {
    margin-right: 14px;
    margin-left: 14px;
  }

  .console-search {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    padding-left: 10px;
  }

  .console-search button {
    min-width: 58px;
  }

  .console-tab {
    min-height: 48px;
    font-size: 12px;
  }

  .console-game {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 98px;
    padding: 10px 0;
  }

  .game-status {
    grid-column: 2;
    width: fit-content;
  }

  .console-result {
    grid-template-columns: 1fr auto;
    padding: 14px;
  }

  .console-result > span {
    grid-column: 1 / -1;
  }

  .section-shell {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
    text-align: left;
  }

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

  .section-heading > p {
    margin-top: 14px;
    font-size: 13px;
    text-align: left;
  }

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

  .mood-controls,
  .match-card,
  .mood-note {
    padding: 24px;
  }

  .mood-controls,
  .match-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mood-note {
    grid-column: auto;
  }

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

  .path-card {
    min-height: 220px;
  }

  .path-card-wide {
    grid-column: auto;
  }

  .route-meter {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-meter span:nth-child(2) {
    border-right: 0;
  }

  .route-meter span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .screen-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding: 0 0 14px;
  }

  .screen-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }

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

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

  .faq-question {
    min-height: 72px;
    padding: 0 10px;
  }

  .faq-question > span {
    gap: 12px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 36px 22px 42px;
  }

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

  .official-answer {
    padding: 0 46px 20px;
  }

  .download-section {
    padding: 54px 14px;
  }

  .download-shell {
    grid-template-columns: 1fr;
    box-shadow: 7px 7px 0 var(--navy-deep);
  }

  .download-mark {
    min-height: 92px;
    border-right: 0;
    border-bottom: 2px dashed var(--navy-deep);
    font-size: 58px;
  }

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

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

  .download-ticket {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-nav ul {
    justify-content: center;
    gap: 14px 20px;
  }

  .copyright {
    width: 100%;
  }

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

@media (max-width: 370px) {
  .header-inner,
  .hero-inner,
  .section-shell {
    width: calc(100% - 20px);
  }

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

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

  .header-download {
    padding: 0 8px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-points li {
    width: 100%;
    justify-content: center;
  }

  .mood-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
