@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f1f3f5;
  --surface: #fff;
  --ink: #182431;
  --muted: #66707a;
  --accent: #0a59f7;
  --selection: #e8f0ff;
  --line: #e5e8eb;
  --wash: #f1f3f5;
  --sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.4; }
p { overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #d8e5ff; }
.wrap { width: min(1240px,calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 88px; }
.sr-only,.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; left: 20px; top: 16px; background: var(--surface); color: var(--accent); padding: 12px 18px; border-radius: 24px; }

.site-header { position: sticky; top: 0; z-index: 20; background: #f1f3f5eb; backdrop-filter: blur(20px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand>span { font-size: 25px; font-weight: 600; }
.header-inner nav { display: flex; gap: 36px; font-size: 15px; }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; white-space: nowrap; }
.header-inner nav a[aria-current="page"] { color: var(--accent); }
.header-inner nav a:hover,.footer-top a:hover { color: var(--accent); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: 24px; background: var(--surface); font-size: 15px; }
.header-link:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 38px 60px; }
.platform { color: var(--muted); font-size: 15px; margin-bottom: 23px; }
.hero h1 { font-size: clamp(48px,4.9vw,68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.4; margin-bottom: 25px; }
.hero-description { color: var(--muted); font-size: 18px; line-height: 1.95; margin-bottom: 31px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 25px; border: 0; border-radius: 28px; font-size: 16px; font-weight: 500; transition: background .18s; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #0648cc; }
.button-secondary { background: var(--selection); color: var(--accent); }
.button-secondary:hover { background: #dce8ff; }
.hero-scene { min-width: 0; height: 650px; display: flex; align-items: center; justify-content: center; }
.hero-screen { width: 280px; overflow: hidden; border: 5px solid var(--surface); border-radius: 32px; box-shadow: 0 14px 40px #18243112; }
.app-capture { aspect-ratio: 1260/2716; overflow: hidden; position: relative; background: var(--wash); }
.app-capture>img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1260/2844; margin-top: -10.1587301587%; }

h2 { font-size: clamp(30px,3vw,42px); font-weight: 600; letter-spacing: -.025em; }
.games-section { padding-top: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading p { font-size: 16px; color: var(--muted); margin-bottom: 5px; }
.filter-row { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 4px; scrollbar-width: none; padding: 4px; margin: -4px -4px 24px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row button { flex-shrink: 0; min-height: 44px; padding: 8px 22px; background: var(--surface); border: 1px solid transparent; border-radius: 24px; font-size: 15px; font-weight: 500; }
.filter-row button[aria-pressed="true"] { background: var(--selection); color: var(--accent); }
.filter-row button:not([aria-pressed="true"]):hover { background: #e8ebef; }
.filter-row button span { margin-left: 5px; font-size: 14px; font-variant-numeric: tabular-nums; }
.filter-row button:focus-visible { outline-offset: -3px; }
.game-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.game-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 228px; padding: 24px; border: 0; border-radius: 24px; background: var(--surface); text-align: left; transition: background .18s; }
.game-card[hidden] { display: none; }
.game-card:hover { background: var(--game-tint); }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; width: 100%; min-height: 46px; margin-bottom: 28px; }
.card-top img { width: 44px; height: 44px; }
.game-name { display: block; font-size: 20px; font-weight: 500; line-height: 1.5; margin-top: auto; }
.game-description { display: block; min-height: 3.4em; margin-top: 6px; font-size: 14px; line-height: 1.7; text-wrap: pretty; color: var(--muted); }

.experience-section { background: var(--surface); padding-block: 88px; }
.experience-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.section-lead { color: var(--muted); font-size: 18px; line-height: 1.9; margin-top: 24px; }
.experience-points { margin-top: 34px; max-width: 390px; }
.experience-points>div+div { margin-top: 26px; }
.experience-points h3 { font-size: 19px; font-weight: 500; margin-bottom: 7px; }
.experience-points p { font-size: 15px; color: var(--muted); }
.screens-display { display: flex; gap: 24px; align-items: start; min-width: 0; }
.screen-figure { width: calc(50% - 12px); min-width: 0; }
.screen-figure .app-capture { border-radius: 24px; outline: 1px solid var(--line); }
.screen-memory { margin-top: 48px; }
.screen-figure figcaption { font-size: 16px; text-align: center; margin-top: 20px; }
.choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; background: var(--surface); border-radius: 24px; padding: 32px; }
.choice-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--selection); display: grid; place-items: center; color: var(--accent); margin-bottom: 20px; }
.choice-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.choice-grid article:nth-child(2) .choice-icon { background: #eee5f5; color: #71498f; }
.choice-grid article:nth-child(3) .choice-icon { background: #e1efeb; color: #28695b; }
.choice-grid h3 { font-size: 21px; font-weight: 500; margin-bottom: 12px; }
.choice-grid p { color: var(--muted); font-size: 16px; }

.faq-section { padding-block: 0 88px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 72px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq-heading .text-link { margin-top: 20px; }
.faq-list { background: var(--surface); border-radius: 24px; padding: 4px 24px; }
.faq-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; list-style: none; cursor: pointer; min-height: 32px; font-size: 17px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); line-height: 1; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 13px 30px 0 0; color: var(--muted); font-size: 15px; line-height: 1.95; }
.faq-list a,.support-main p a { text-decoration: underline; text-underline-offset: 4px; color: var(--accent); }
.closing-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 24px; background: var(--surface); padding: 48px; margin-bottom: 64px; }
.closing-section h2 { font-size: 38px; }
.closing-section>div>p { margin-top: 17px; color: var(--muted); font-size: 16px; }
.closing-action { text-align: center; flex-shrink: 0; }
.closing-action p { font-size: 14px; }
.site-footer { padding-block: 20px 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-top nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-top .brand img { width: 40px; height: 40px; }
.footer-top .brand span { font-size: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; font-size: 14px; color: var(--muted); }

dialog { --dialog-padding: 28px; width: min(480px,calc(100% - 32px)); max-height: calc(100svh - 40px); overflow: auto; margin: auto; border: 0; border-radius: 32px; padding: var(--dialog-padding); background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px #18243126; }
dialog::backdrop { background: #18243166; backdrop-filter: blur(8px); }
.dialog-heading { position: sticky; top: calc(-1 * var(--dialog-padding)); z-index: 2; display: flex; justify-content: space-between; align-items: start; gap: 24px; margin: calc(-1 * var(--dialog-padding)) calc(-1 * var(--dialog-padding)) 20px; padding: var(--dialog-padding) var(--dialog-padding) 10px; border-radius: 32px 32px 0 0; background: var(--surface); }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wash); font-size: 28px; line-height: 1; }
.icon-button:hover { background: #e5e8eb; }
#dialog-category { font-size: 14px; color: var(--game-color,var(--muted)); margin-bottom: 6px; }
dialog h2 { font-size: 26px; margin-bottom: 12px; }
dialog>p:not(#dialog-category) { font-size: 16px; color: var(--muted); }
.dialog-rule { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 20px; }
.dialog-rule h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.dialog-rule p { font-size: 15px; color: var(--muted); }
.dialog-note { margin-top: 22px; }
#dialog-action { width: 100%; margin-top: 20px; background: var(--game-tint,var(--selection)); color: var(--game-color,var(--accent)); }
#dialog-action:hover { filter: brightness(.97); }
body:has(dialog[open]) { overflow: hidden; }
.noscript-note { font-size: 15px; color: var(--muted); margin-top: 20px; }

.support-hero { padding-block: 56px 48px; max-width: 800px; }
.eyebrow { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.support-hero h1 { font-size: 48px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 23px; }
.support-hero>p:last-child { color: var(--muted); font-size: 18px; }
.support-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 56px; padding-bottom: 88px; }
.support-side { position: sticky; top: 112px; align-self: start; display: flex; flex-direction: column; padding: 12px; background: var(--surface); border-radius: 24px; }
.support-side a { min-height: 44px; font-size: 15px; padding: 10px 14px; border-radius: 24px; }
.support-side a:hover { background: var(--selection); color: var(--accent); }
.support-group+.support-group { margin-top: 48px; }
.support-group h2 { font-size: 28px; margin-bottom: 22px; }
.support-group>p { color: var(--muted); font-size: 16px; }
.contact-block { background: var(--surface); padding: 28px; border-radius: 24px; margin-top: 24px; }
.contact-block h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.contact-block p { font-size: 15px; color: var(--muted); margin-bottom: 15px; }
.contact-block>a { font-size: clamp(17px,2vw,24px); color: var(--accent); overflow-wrap: anywhere; }
.not-found { min-height: 100svh; display: grid; place-items: center; padding: 30px; }
.not-found main { max-width: 600px; }
.not-found small { font-size: 16px; color: var(--muted); }
.not-found h1 { font-size: clamp(32px,5vw,48px); font-weight: 600; margin-block: 22px; }
.not-found p { color: var(--muted); }
.not-found a { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); margin-top: 22px; margin-right: 25px; }

@media (max-width:1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 36px; }
  .hero h1 { font-size: 52px; }
  .hero-scene { height: 610px; }
  .hero-screen { width: 260px; }
  .hero-description { font-size: 17px; }
  .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .game-card { padding: 22px; }
  .experience-grid,.faq-section { gap: 40px; }
  .screens-display { gap: 20px; }
  .screen-figure { width: calc(50% - 10px); }
  .choice-grid { gap: 30px; }
  .footer-top { align-items: start; }
  .footer-top nav { justify-content: end; max-width: 650px; gap: 14px 20px; }
  .closing-section { padding: 38px; }
  .closing-section h2 { font-size: 34px; }
}

@media (max-width:800px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { height: 76px; gap: 20px; }
  .header-inner nav { gap: 22px; font-size: 14px; }
  .header-link { display: none; }
  .hero { gap: 24px; padding-block: 28px 48px; }
  .hero h1 { font-size: 44px; }
  .hero-description { font-size: 16px; }
  .hero-description br { display: none; }
  .hero-actions .button { padding-inline: 20px; font-size: 15px; }
  .hero-scene { height: 554px; }
  .hero-screen { width: 238px; }
  .section-space { padding-block: 64px; }
  .games-section { padding-top: 24px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading p { margin-top: 12px; }
  .game-grid { gap: 14px; }
  .game-card { padding: 20px; min-height: 218px; }
  .game-name { font-size: 19px; }
  .experience-section { padding-block: 64px; }
  .experience-grid { grid-template-columns: 1fr; gap: 40px; }
  .experience-copy { max-width: 620px; }
  .experience-points { max-width: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin-top: 28px; }
  .experience-points>div+div { margin-top: 0; }
  .experience-points h3 { font-size: 17px; }
  .experience-points p { font-size: 15px; }
  .screens-display { max-width: 470px; width: 100%; margin: auto; gap: 30px; }
  .screen-figure { width: calc(50% - 15px); }
  .screen-memory { margin-top: 34px; }
  .section-lead { font-size: 17px; }
  .section-lead br { display: none; }
  .choice-grid { gap: 26px; padding: 28px; }
  .choice-grid h3 { font-size: 19px; }
  .choice-grid p { font-size: 15px; }
  .faq-section { padding-bottom: 64px; gap: 32px; grid-template-columns: .85fr 1.15fr; }
  .faq-list summary { font-size: 16px; }
  .closing-section { padding: 32px; gap: 26px; margin-bottom: 52px; }
  .closing-section h2 { font-size: 32px; }
  .closing-action p { max-width: 195px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .footer-top nav { justify-content: start; }
  .support-layout { grid-template-columns: 1fr; gap: 28px; }
  .support-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .support-side a { padding: 8px 12px; }
  .support-hero h1 { font-size: 42px; }
}

@media (max-width:640px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 72px; gap: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand>span { font-size: 21px; }
  .header-inner nav { gap: 16px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 27px; gap: 24px; padding-bottom: 36px; }
  .platform { font-size: 14px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(38px,10.6vw,52px); line-height: 1.45; margin-bottom: 18px; }
  .hero-description { font-size: 16px; margin-bottom: 24px; max-width: 350px; }
  .hero-description br { display: initial; }
  .hero-actions .button { font-size: 15px; padding-inline: 24px; }
  .hero-scene { height: 590px; }
  .hero-screen { width: 260px; max-width: 88%; border-width: 4px; border-radius: 28px; }
  .section-space { padding-block: 52px; }
  .games-section { padding-top: 4px; }
  h2 { font-size: 30px; line-height: 1.5; }
  .section-heading { margin-bottom: 22px; }
  .section-heading p { font-size: 15px; margin-top: 8px; }
  .filter-row { gap: 8px; margin-bottom: 18px; }
  .filter-row button { font-size: 14px; padding-inline: 19px; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .game-card { padding: 16px; min-height: 194px; border-radius: 24px; }
  .card-top { min-height: 40px; margin-bottom: 22px; gap: 5px; }
  .card-top img { width: 38px; height: 38px; }
  .game-name { font-size: 17px; }
  .game-description { font-size: 14px; line-height: 1.7; min-height: 3.4em; }
  .experience-section { padding-block: 52px; }
  .experience-grid { gap: 34px; }
  .section-lead { font-size: 16px; margin-top: 17px; }
  .experience-points { display: block; margin-top: 26px; }
  .experience-points>div+div { margin-top: 22px; }
  .experience-points h3 { font-size: 18px; }
  .experience-points p { max-width: 420px; }
  .screens-display { gap: 16px; max-width: 380px; }
  .screen-figure { width: calc(50% - 8px); }
  .screen-figure .app-capture { border-radius: 16px; }
  .screen-memory { margin-top: 28px; }
  .screen-figure figcaption { font-size: 15px; margin-top: 15px; }
  .choice-grid { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; }
  .choice-grid article { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 15px; row-gap: 8px; align-items: start; }
  .choice-icon { grid-row: 1/3; width: 44px; height: 44px; margin: 3px 0 0; }
  .choice-grid h3 { font-size: 19px; align-self: center; margin: 0; line-height: 1.6; }
  .choice-grid p { grid-column: 2; }
  .faq-section { grid-template-columns: 1fr; gap: 26px; padding-block: 0 52px; }
  .faq-heading .text-link { margin-top: 12px; }
  .faq-heading h2 br { display: none; }
  .faq-list { padding-inline: 20px; }
  .faq-list details { padding-block: 18px; }
  .faq-list summary { font-size: 16px; line-height: 1.7; }
  .faq-list details p { margin-right: 8px; }
  .closing-section { display: block; padding: 28px 24px; margin-bottom: 44px; }
  .closing-section h2 { font-size: 32px; }
  .closing-section>div>p { font-size: 15px; margin-top: 14px; }
  .closing-action { margin-top: 24px; text-align: left; }
  .closing-action p { font-size: 14px; max-width: none; }
  .site-footer { padding-block: 0 28px; }
  .footer-top nav { gap: 4px 18px; }
  .footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-top .brand img { width: 36px; height: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-top: 18px; margin-top: 20px; }
  .support-hero { padding-block: 36px 28px; }
  .support-hero h1 { font-size: 36px; }
  .support-hero>p:last-child { font-size: 16px; }
  .support-side a { font-size: 14px; padding-inline: 10px; }
  .support-layout { padding-bottom: 52px; }
  .support-group+.support-group { margin-top: 38px; }
  .support-group h2 { font-size: 26px; margin-bottom: 20px; }
  .contact-block { padding: 23px; }
  .contact-block>a { font-size: 19px; }
  dialog { --dialog-padding: 24px; }
  dialog h2 { font-size: 24px; }
}

@media (max-width:360px) {
  .header-inner nav { gap: 10px; }
  .brand { gap: 6px; }
  .brand img { width: 32px; height: 32px; }
  .brand>span { font-size: 20px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}
