:root {
  --ink: #071d43;
  --muted: #58718f;
  --blue: #087bff;
  --blue-dark: #0363e7;
  --cyan: #36b7f5;
  --green: #0bab83;
  --line: #d8eafd;
  --mist: #f2f9ff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 96, 164, .11);
  --radius: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -.035em;
  line-height: 1.18;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 800;
}

p {
  margin-bottom: 18px;
}

:focus-visible {
  outline: 3px solid rgba(8, 123, 255, .38);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 98px 0;
  scroll-margin-top: 84px;
}

.section-intro,
.section-heading-row p {
  max-width: 760px;
  color: var(--muted);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  border-radius: 9px;
  background: var(--blue);
  content: "";
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, #18a2ff, #076cf5 72%);
  box-shadow: 0 12px 24px rgba(7, 108, 245, .2);
  font-weight: 800;
  line-height: 1.25;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(7, 108, 245, .27);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: .92rem;
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, .84);
  box-shadow: none;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(206, 229, 248, .84);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 28px rgba(30, 104, 164, .06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.brand img {
  border-radius: 10px;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: center;
  color: #496581;
  font-size: .94rem;
  font-weight: 650;
}

.desktop-nav a:hover,
.desktop-nav .active {
  color: var(--blue-dark);
}

.desktop-nav .active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--blue);
  content: "";
}

.header-download {
  margin-left: 6px;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero,
.download-hero {
  position: relative;
  overflow: hidden;
  background: #eff8ff;
}

.home-hero::before,
.download-hero::before,
.closing-cta::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 42%, rgba(69, 181, 249, .24), transparent 38%), radial-gradient(circle at 14% 18%, rgba(255, 255, 255, .95), transparent 36%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
}

.hero-copy {
  z-index: 2;
  padding: 74px 0 84px;
}

.hero-copy .eyebrow::before {
  display: none;
}

.hero-lead {
  max-width: 620px;
  color: #365a7f;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

.version-line,
.assistive-tip {
  color: #5c7690;
  font-size: .9rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 7px 12px;
  border: 1px solid rgba(100, 175, 229, .28);
  border-radius: 999px;
  color: #245f89;
  background: rgba(255, 255, 255, .73);
  font-size: .82rem;
  font-weight: 700;
}

.hero-visual {
  align-self: stretch;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.home-hero .hero-visual {
  margin-right: min(-7vw, -52px);
}

.quick-facts {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(210, 234, 252, .9);
  border-bottom: 1px solid rgba(210, 234, 252, .9);
  background: rgba(255, 255, 255, .96);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-card {
  display: flex;
  min-width: 0;
  gap: 14px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.fact-card:first-child {
  border-left: 1px solid var(--line);
}

.fact-index,
.mode-number {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
}

.fact-card h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

.fact-card p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.games-section {
  background: #f4faff;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.game-groups {
  display: grid;
  margin: 38px 0 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.game-groups article {
  min-height: 136px;
  padding: 20px;
  border: 1px solid rgba(181, 218, 245, .75);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
}

.game-groups span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-weight: 850;
}

.game-groups p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.game-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.game-card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  padding: 14px 16px 18px;
  border: 1px solid rgba(203, 227, 246, .8);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(40, 114, 172, .08);
}

.game-card img {
  width: 100%;
  height: 118px;
  margin-bottom: 18px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
}

.game-card p {
  flex: 1;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.62;
}

.game-card a {
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 800;
}

.modes-section {
  overflow: hidden;
  background: #f5fbff;
}

.mode-layout {
  position: relative;
  margin-top: 38px;
}

.mode-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mode-card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(184, 224, 245, .84);
  border-radius: 22px;
  background: rgba(244, 251, 255, .86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.mode-green {
  border-color: rgba(152, 226, 208, .7);
  background: rgba(239, 253, 248, .88);
}

.mode-card h3 {
  margin-top: 18px;
  font-size: 1.6rem;
}

.mode-card p {
  color: var(--muted);
}

.mode-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mode-card li {
  padding: 7px 12px;
  border-radius: 999px;
  color: #28689a;
  background: rgba(17, 139, 255, .09);
  font-size: .84rem;
  font-weight: 750;
}

.mode-green li {
  color: #087b61;
  background: rgba(11, 171, 131, .1);
}

.scene-image {
  width: min(86%, 980px);
  margin: -78px auto 0;
  filter: drop-shadow(0 20px 32px rgba(30, 111, 162, .14));
}

.experience-section {
  background: #ffffff;
}

.experience-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
}

.experience-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-list article {
  display: flex;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
}

.feature-list article > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.feature-list h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.55;
}

.experience-visual,
.version-visual {
  position: relative;
  margin: 0;
}

.experience-visual img,
.version-visual img {
  border-radius: 24px;
  filter: drop-shadow(0 22px 32px rgba(20, 103, 158, .14));
}

.experience-visual figcaption,
.version-visual figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.experience-visual span,
.version-visual span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3e6b8d;
  background: var(--white);
  font-size: .8rem;
  font-weight: 700;
}

.growth-section {
  background: #eff9ff;
}

.growth-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.growth-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(198, 225, 246, .76);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
}

.growth-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.growth-grid h3 {
  font-size: 1.08rem;
}

.growth-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.guide-section {
  background: #fff;
}

.steps-grid,
.install-grid {
  display: grid;
  margin: 46px 0 0;
  padding: 0;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  counter-reset: step;
}

.steps-grid li {
  position: relative;
  min-height: 230px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.steps-grid li::after {
  position: absolute;
  z-index: 2;
  top: 39px;
  left: calc(100% + 2px);
  width: 9px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.steps-grid li:last-child::after {
  display: none;
}

.steps-grid span,
.install-grid > li > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.steps-grid h3 {
  font-size: 1rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.56;
}

.tips-section {
  padding-top: 30px;
  background: linear-gradient(180deg, #fff, #eff8ff);
}

.tips-track {
  display: grid;
  overflow-x: auto;
  padding: 12px 2px 18px;
  grid-auto-columns: minmax(280px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.tips-track article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 25px rgba(42, 115, 168, .07);
  scroll-snap-align: start;
}

.tips-track span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
}

.tips-track p {
  margin: 0;
  color: #365a7c;
  font-weight: 650;
}

.faq-section {
  background: #f4faff;
}

.faq-layout {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 90px;
}

.accordion {
  border: 1px solid #cfe4f6;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .85);
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion-item.open button,
.accordion-item button:hover {
  color: var(--blue-dark);
  background: rgba(236, 247, 255, .74);
}

.accordion-item button span {
  color: var(--blue);
  font-size: 1.2rem;
  transition: transform .22s ease;
}

.accordion-item.open button span {
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 0 20px 18px;
  color: var(--muted);
  background: rgba(236, 247, 255, .74);
}

.accordion-panel p:last-child,
.accordion-panel ul:last-child {
  margin-bottom: 0;
}

.faq-link {
  display: block;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.closing-cta {
  position: relative;
  overflow: hidden;
  background: #eaf7ff;
}

.closing-grid {
  position: relative;
  display: grid;
  min-height: 440px;
  align-items: center;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
}

.closing-grid > div {
  z-index: 2;
  padding: 70px 0;
}

.closing-grid p {
  color: #466985;
}

.closing-grid img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.brush-note {
  color: var(--blue-dark) !important;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 1.45rem;
  font-weight: 800;
  transform: rotate(-4deg);
  transform-origin: left center;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #f8fcff;
}

.footer-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 32px;
  color: #688099;
  font-size: .8rem;
}

.footer-grid p {
  margin: 10px 0 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-grid nav a:hover {
  color: var(--blue-dark);
}

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

.mobile-download-bar {
  display: none;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 0;
  background: #eff8ff;
}

.not-found-card {
  max-width: 700px;
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.not-found-card > img {
  margin-bottom: 28px;
  border-radius: 18px;
}

.not-found-card > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

/* 下载页 */
.download-hero {
  padding-bottom: 26px;
}

.breadcrumbs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 7px;
  padding-top: 22px;
  color: #55738f;
  font-size: .86rem;
}

.breadcrumbs a {
  color: var(--blue-dark);
}

.download-hero-grid {
  position: relative;
  display: grid;
  min-height: 600px;
  align-items: center;
  grid-template-columns: 1fr .92fr;
  gap: 24px;
}

.download-copy {
  z-index: 2;
  padding: 46px 0 42px;
}

.download-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.55rem);
}

.download-page .hero-visual {
  height: 600px;
  margin-right: min(-7vw, -54px);
}

.app-meta-card {
  display: flex;
  max-width: 690px;
  align-items: flex-start;
  gap: 20px;
  margin: 28px 0 22px;
}

.app-meta-card > img {
  flex: 0 0 auto;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(7, 108, 245, .22);
}

.app-meta-card h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.app-meta-card dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  color: #4f708d;
  font-size: .83rem;
}

.app-meta-card dl div {
  display: flex;
  gap: 6px;
}

.app-meta-card dt {
  font-weight: 800;
  white-space: nowrap;
}

.download-confirm {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.confirm-grid {
  display: grid;
  min-height: 86px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr) auto;
}

.confirm-grid > div {
  padding: 8px 24px;
  border-right: 1px solid var(--line);
  color: #234b70;
  text-align: center;
}

.confirm-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.install-section {
  background: #f3faff;
}

.install-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.install-grid li {
  position: relative;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(42, 115, 168, .07);
}

.install-grid li > img {
  margin: 8px auto 20px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(7, 108, 245, .16);
}

.install-grid h3 {
  font-size: 1.06rem;
}

.install-grid p {
  color: var(--muted);
  font-size: .88rem;
}

.install-notes {
  margin-top: 20px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
}

.install-notes h3 {
  font-size: 1rem;
}

.install-notes ul {
  display: grid;
  margin: 0;
  padding-left: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  color: var(--muted);
  font-size: .86rem;
}

.version-section {
  background: #fff;
}

.version-grid {
  display: grid;
  align-items: center;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
}

.check-list {
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  color: #456b89;
}

.check-list li::before {
  position: absolute;
  top: .68em;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  color: var(--blue);
  background: #e5f4ff;
  content: "";
}

.support-section {
  background: #eff9ff;
}

.support-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: .72fr 1fr 1.15fr;
  gap: 16px;
}

.support-grid article {
  padding: 26px;
  border: 1px solid rgba(196, 224, 244, .82);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
}

.support-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .88rem;
}

.support-grid li + li {
  margin-top: 8px;
}

.support-grid > img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 65% center;
}

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

.permission-tags {
  display: grid;
  margin: 34px 0 20px;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.permission-tags span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--blue-dark);
  background: #f3faff;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #cbdff1;
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

th,
td {
  padding: 13px 18px;
  border-bottom: 1px solid #dbeafa;
  text-align: left;
}

th {
  color: #255378;
  background: #eaf5ff;
}

td {
  color: #4a6985;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.history-faq-section {
  background: #f4faff;
}

.two-column-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.two-column-content > div > p {
  color: var(--muted);
}

.version-accordion .accordion-panel {
  font-size: .88rem;
}

.version-accordion .accordion-panel ul {
  margin-top: 0;
  padding-left: 20px;
}

.download-closing .closing-grid {
  min-height: 360px;
}

.download-closing img {
  max-height: 350px;
  mix-blend-mode: multiply;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero-grid {
    min-height: 610px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-block: 58px;
  }

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

  .game-card {
    min-height: 360px;
  }

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

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

  .steps-grid li::after {
    display: none;
  }

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

  .download-hero-grid {
    grid-template-columns: 1.08fr .92fr;
  }

  .app-meta-card dl {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .support-grid > img {
    grid-column: 1 / -1;
    max-height: 430px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .section {
    padding: 76px 0;
  }

  .desktop-nav {
    display: none;
  }

  .header-inner {
    min-height: 66px;
  }

  .header-download {
    margin-left: auto;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    width: 22px;
    height: 2px;
    border-radius: 4px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    display: grid;
    padding: 8px 18px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 11px 4px;
    border-bottom: 1px solid #e7f0f8;
    color: #3d5e7d;
    font-weight: 700;
  }

  .hero-grid,
  .download-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-copy {
    padding: 58px 0 8px;
  }

  .hero-copy,
  .download-copy {
    text-align: left;
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-visual,
  .home-hero .hero-visual,
  .download-page .hero-visual {
    height: auto;
    margin: 0 -18px;
  }

  .hero-visual img {
    width: calc(100% + 36px);
    max-width: none;
    aspect-ratio: 3 / 2;
  }

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

  .fact-card,
  .fact-card:first-child {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-card:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

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

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

  .mode-cards,
  .experience-grid,
  .version-grid,
  .faq-layout,
  .closing-grid,
  .two-column-content {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 20px;
  }

  .experience-grid,
  .version-grid {
    gap: 42px;
  }

  .closing-grid {
    min-height: auto;
  }

  .closing-grid > div {
    padding: 64px 0 0;
  }

  .closing-grid img {
    max-height: 320px;
  }

  .download-confirm {
    padding: 10px 0;
  }

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

  .confirm-grid > div,
  .confirm-grid > div:first-child {
    min-height: 68px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .confirm-grid .button {
    grid-column: 1 / -1;
  }

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

  .install-notes ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .permission-tags {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 82px;
    font-size: 15px;
  }

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

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.35rem);
  }

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

  .brand span {
    font-size: 1.04rem;
  }

  .header-inner {
    gap: 8px;
  }

  .header-download {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0;
  }

  .header-download::after {
    font-size: .9rem;
    content: "下载";
  }

  .hero-copy .eyebrow {
    display: none;
  }

  .home-hero .hero-copy {
    padding-top: 36px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .hero-tags li {
    text-align: center;
  }

  .hero-visual,
  .home-hero .hero-visual,
  .download-page .hero-visual {
    margin: 0 -14px;
  }

  .hero-visual img {
    width: calc(100% + 28px);
    aspect-ratio: 1.18 / 1;
    object-position: 62% center;
  }

  .fact-grid {
    padding: 12px 0;
    gap: 8px;
  }

  .fact-card,
  .fact-card:first-child,
  .fact-card:nth-child(odd) {
    display: block;
    min-height: 160px;
    padding: 18px 14px;
    border: 1px solid #e1edf8;
    border-radius: 14px;
    background: #fff;
  }

  .fact-index {
    display: block;
    margin-bottom: 10px;
  }

  .fact-card h2 {
    font-size: .98rem;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .button,
  .section-heading-row .text-link {
    margin-top: 10px;
  }

  .game-groups {
    grid-template-columns: 1fr;
  }

  .game-groups article {
    min-height: auto;
  }

  .game-cards {
    display: grid;
    overflow-x: auto;
    margin-right: -14px;
    padding-right: 14px;
    grid-auto-columns: minmax(238px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    scroll-snap-type: x mandatory;
  }

  .game-card {
    min-height: 390px;
    scroll-snap-align: start;
  }

  .mode-cards {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: auto;
    padding: 26px;
  }

  .mode-card h3 {
    font-size: 1.35rem;
  }

  .scene-image {
    width: 116%;
    max-width: none;
    margin: -18px -8% 0;
  }

  .feature-list,
  .growth-grid {
    grid-template-columns: 1fr;
  }

  .growth-grid article {
    min-height: auto;
  }

  .steps-grid {
    position: relative;
    grid-template-columns: 1fr;
  }

  .steps-grid li {
    display: grid;
    min-height: auto;
    grid-template-columns: 46px 1fr;
    column-gap: 14px;
    padding: 20px;
  }

  .steps-grid span {
    grid-row: 1 / span 2;
  }

  .steps-grid h3 {
    margin: 2px 0 6px;
  }

  .tips-track {
    grid-auto-columns: 82vw;
  }

  .faq-heading .eyebrow {
    display: none;
  }

  .accordion-item button {
    min-height: 58px;
    padding: 15px 16px;
    font-size: .92rem;
  }

  .accordion-panel {
    padding: 0 16px 16px;
  }

  .closing-grid > div {
    padding-top: 52px;
  }

  .closing-grid img {
    width: 126%;
    max-width: none;
    margin-left: -13%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid nav {
    padding: 14px 0;
    border-block: 1px solid var(--line);
  }

  .mobile-download-bar {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 76px;
    align-items: center;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(194, 220, 241, .94);
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -12px 36px rgba(16, 75, 124, .12);
    grid-template-columns: 46px 1fr auto;
    gap: 10px;
    transform: translateY(120%);
    transition: transform .25s ease;
    backdrop-filter: blur(16px);
  }

  .mobile-download-bar.visible {
    transform: translateY(0);
  }

  .mobile-download-bar img {
    border-radius: 11px;
  }

  .mobile-download-bar div {
    display: grid;
    min-width: 0;
  }

  .mobile-download-bar strong {
    overflow: hidden;
    font-size: .94rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-download-bar span {
    color: #617b95;
    font-size: .76rem;
  }

  .mobile-download-bar .button {
    min-height: 42px;
    padding-inline: 17px;
  }

  .download-hero {
    padding-bottom: 0;
  }

  .breadcrumbs {
    padding-top: 14px;
  }

  .download-copy {
    padding: 28px 0 0;
  }

  .download-copy h1 {
    font-size: 2.3rem;
  }

  .app-meta-card {
    gap: 14px;
  }

  .app-meta-card > img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }

  .app-meta-card h2 {
    font-size: 1.08rem;
  }

  .app-meta-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .app-meta-card dl div {
    line-height: 1.52;
  }

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

  .confirm-grid > div {
    font-size: .84rem;
  }

  .install-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .install-grid li {
    min-height: auto;
  }

  .support-grid > img {
    grid-column: auto;
    min-height: 250px;
  }

  .permission-tags {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .permission-tags span {
    min-width: 108px;
    min-height: 64px;
  }

  table {
    min-width: 640px;
    font-size: .82rem;
  }
}

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