@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/geist-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/space-mono-bold-latin.woff2') format('woff2');
}
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --panel: #141417;
  --line: #2a2a30;
  --text: #faf9fa;
  --muted: #aba9b2;
  --red: #e42132;
  --red-hover: #cb1429;
  --red-light: #ff7a85;
  --font: 'Geist', 'PingFang SC', 'Noto Sans CJK SC', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
button, summary, .screen-view { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-light); outline-offset: 4px; }
svg { width: 20px; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; fill: none; flex-shrink: 0; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #222226; background: #0c0c0f; }
.header-row { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 24px; font-weight: 800; letter-spacing: -.055em; }
.brand img { border-radius: 50%; }
.other-platforms:hover { color: var(--red-light); }
.language { position: relative; flex-shrink: 0; z-index: 2; }
.language summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 134px;
  padding: 9px 10px;
  background: #151519;
  border: 1px solid var(--line);
  border-radius: 9px;
  list-style: none;
  font-size: 13px;
}
.language summary::-webkit-details-marker { display: none; }
.language summary:hover, .language[open] summary { border-color: #5b4246; }
.language summary svg { width: 16px; height: 16px; color: var(--muted); }
.language summary .chevron { width: 13px; height: 13px; }
.language-menu {
  position: absolute;
  inset: calc(100% + 6px) 0 auto auto;
  width: max(100%, 148px);
  max-height: 65vh;
  overflow: auto;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: #151519;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 14px 25px #0009;
}
.language-menu a { display: block; padding: 8px 10px; border-radius: 5px; font-size: 14px; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: #352226; color: var(--red-light); }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(465px, 41vw, 560px); margin-top: 25px; border: 1px solid #2b2327; border-radius: 19px; background: #0c080a; }
.hero-art { position: absolute; inset: 0; z-index: -3; animation: hero-art .7s ease-out both; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .mobile-copy { display: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,#09080bee 1%,#09080bdc 23%,#09080b28 54%,transparent 78%); }
.hero-copy { padding: 42px clamp(24px, 4.35vw, 66px); max-width: 51%; animation: enter .46s ease-out both; }
.eyebrow { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; color: #f5b6bc; }
.signal { width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: #ff394b; box-shadow: 0 0 13px #f83d54b0; }
.slash { color: #a97178; }
h1 { margin-top: 18px; font-size: clamp(37px, 4.07vw, 62px); line-height: 1.08; letter-spacing: -.064em; font-weight: 800; text-wrap: balance; }
h1 span { display: block; }
h1 .hero-accent { color: #ff5968; margin-top: .035em; }
:lang(zh-CN) h1, :lang(zh-TW) h1, :lang(ja) h1, :lang(ko) h1 { letter-spacing: -.045em; }
.hero p { margin-top: 19px; color: #dbd7df; font-size: clamp(14px,1.18vw,16px); font-weight: 400; line-height: 1.64; max-width: 39ch; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 12px; margin-top: 24px; }
.hero-download { display: grid; max-width: 100%; }
.hero-download .primary { flex-direction: column; gap: 5px; text-align: center; }
.hero-download-label { display: inline-flex; align-items: center; min-width: 0; gap: 9px; }
.download-version { color: var(--red-light); font: 700 11px/1.4 var(--mono); overflow-wrap: anywhere; }
.hero-download .download-version { color: white; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border-radius: 9px; padding: 11px 15px; font-size: 14px; line-height: 1.3; font-weight: 700; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.primary { background: var(--red); color: white; box-shadow: 0 5px 18px #bd132e44; }
.primary:hover { background: var(--red-hover); transform: translateY(-2px); }
.other-platforms { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; color: #f0dfe3; font-size: 13px; font-weight: 600; transition: color .2s; }
.other-platforms svg { width: 16px; height: 16px; }
.section { margin-top: 38px; }
h2 { font-size: clamp(24px, 2.45vw, 34px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; }
.platforms { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.platform { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 83px; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: var(--panel); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.platform.preferred { border-color: #77303a; background: linear-gradient(112deg,#231418,#161216); }
.platform:hover { transform: translateY(-3px); border-color: #d64654; background: #26181c; }
.platform-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #333137; border-radius: 11px; background: #202024; color: #f1eef2; }
.preferred .platform-icon { border-color: #8a3741; background: #51232c; color: #ffbec4; }
.platform-icon svg { width: 23px; height: 23px; }
.platform-copy { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.platform-copy strong { font-size: 16px; font-weight: 700; }
.platform .platform-action { width: 17px; height: 17px; margin-left: auto; color: var(--red-light); }
.gallery-section { margin-top: 44px; }
.download-guide { margin: 44px 0 58px; }
.guide-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.guide-items article { min-width: 0; padding: 19px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.guide-items h3 { font-size: 17px; line-height: 1.3; }
.guide-items p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; overflow-wrap: break-word; }
.section-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.platform-tabs { display: flex; gap: 3px; padding: 4px; background: #141417; border: 1px solid var(--line); border-radius: 10px; }
.platform-tabs button { min-height: 35px; border: 1px solid transparent; border-radius: 7px; padding-inline: 13px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; }
.platform-tabs button[aria-pressed=true] { color: #ffc9cd; background: #54242c; border-color: #8e424d; }
.platform-tabs button:hover { color: #fff; }
.gallery { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.screen-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.35fr);
  align-items: center;
  gap: 20px;
  min-height: 370px;
  padding: clamp(22px, 4vw, 58px);
  background: linear-gradient(90deg, #09090bd9, #09090b28 75%), url('assets/gallery-stage.webp') center / cover #1b0e12;
  border: 1px solid #4d292e;
  border-radius: 10px;
}
.screen-feature { min-width: 0; padding-right: 6px; }
.screen-product { display: flex; flex-wrap: wrap; gap: 7px; color: #ff949d; text-transform: uppercase; }
#screen-caption {
  margin-top: 12px;
  max-width: 14ch;
  font-size: clamp(27px, 4.1vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.screen-description {
  max-width: 36ch;
  margin-top: 14px;
  color: #e1cfd2;
  font-size: 15px;
  line-height: 1.62;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.screen-view {
  position: relative;
  display: block;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 2159 / 1371;
  border: 1px solid #755057;
  border-radius: 11px;
  background: #141417;
  padding: 5px;
  box-shadow: 0 20px 50px #000b, 0 0 26px #f0253638;
  touch-action: pan-y pinch-zoom;
}
.screen-view img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 6px; }
.expand-icon { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #725059; border-radius: 9px; background: #171014ef; transition: background .2s ease; }
.screen-view:hover .expand-icon { background: #6c2837; }
.gallery[data-gallery-platform="android"] .screen-frame { position: relative; }
.gallery[data-gallery-platform="android"] .screen-view {
  position: static;
  width: min(100%, 236px);
  aspect-ratio: 760 / 1560;
  padding: 3px;
  background: #080809;
}
.gallery[data-gallery-platform="android"] .expand-icon { top: 14px; right: 14px; bottom: auto; }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; }
#screen-count { color: var(--red-light); }
.gallery-actions { display: flex; gap: 6px; }
.gallery-actions button, .lightbox button { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; background: #1e1d21; border: 1px solid #3c393f; border-radius: 9px; transition: background .2s ease; }
.gallery-actions button:hover, .lightbox button:hover { background: #6c2837; }
.thumbs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; padding: 2px; }
.thumbs button { display: block; padding: 2px; background: #101013; border: 1px solid #39343b; border-radius: 7px; overflow: hidden; transition: border-color .2s ease, opacity .2s ease; opacity: .7; }
.thumbs button[aria-current=true], .thumbs button:hover { border-color: #ff6573; opacity: 1; }
.thumbs img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.gallery[data-gallery-platform="android"] .thumbs { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gallery[data-gallery-platform="android"] .thumbs img { aspect-ratio: auto; height: 89px; object-fit: contain; }
.lightbox { width: min(1200px, 96vw); max-height: 94vh; padding: 50px 10px 10px; color: var(--text); border: 1px solid #554049; border-radius: 14px; background: #101013; }
.lightbox::backdrop { background: #050507e8; }
.lightbox img { max-height: calc(94vh - 64px); width: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 5px; right: 8px; }
@keyframes hero-art { from { transform: scale(1.014); } to { transform: scale(1); } }
@keyframes enter { from { transform: translateY(8px); } to { transform: translateY(0); } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .hero-copy { max-width: 58%; }
  .platform { gap: 8px; padding-inline: 10px; }
  .platform-icon { flex-basis: 35px; width: 35px; height: 35px; border-radius: 8px; }
  .platform-icon svg { width: 20px; height: 20px; }
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  html { scroll-padding-top: 16px; }
  .wrap { width: min(680px, calc(100% - 32px)); }
  .header-row { min-height: 64px; gap: 10px; }
  .language summary { min-height: 44px; font-size: 15px; }
  .language-menu a { min-height: 44px; align-content: center; }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-top: 12px;
    border-radius: 16px;
    background: #100c0d;
  }
  .hero::before { content: none; }
  .hero .desktop-copy { display: none; }
  .hero .mobile-copy { display: block; }
  .hero .hero-download.mobile-copy { display: grid; }
  .hero .other-platforms.mobile-copy { display: inline-flex; }
  .hero-art {
    position: relative;
    order: -1;
    z-index: auto;
    aspect-ratio: 1944 / 809;
    background: #0c080a;
  }
  .hero-art::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 27%;
    background: linear-gradient(transparent, #100c0d);
  }
  .hero-copy { max-width: none; padding: 12px clamp(18px, 5vw, 34px) 9px; }
  h1 { margin-top: 0; font-size: clamp(30px, 8.5vw, 52px); }
  .hero p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0; margin-top: 16px; }
  .hero-actions .primary { min-height: 52px; }
  .hero-actions .other-platforms { align-self: center; }
  .section { margin-top: 28px; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .platform { min-height: 62px; padding: 9px 12px; gap: 11px; }
  .platform-copy strong { font-size: 15px; }
  .platform .platform-action { width: 15px; height: 15px; }
  .section-title { gap: 10px; margin-bottom: 12px; }
  .platform-tabs button { min-height: 44px; padding-inline: 12px; }
  .screen-frame { grid-template-columns: minmax(0, 1fr); gap: 14px; min-height: 0; padding: 16px 12px; background-position: 65% center; }
  .gallery[data-gallery-platform="android"] .screen-product,
  .gallery[data-gallery-platform="android"] #screen-caption { padding-right: 52px; }
  .gallery[data-gallery-platform="android"] .screen-view { width: min(100%, 224px); }
  .screen-feature { padding-left: 4px; }
  #screen-caption { max-width: none; font-size: clamp(24px, 5.8vw, 36px); margin-top: 6px; }
  .screen-description { margin-top: 9px; font-size: 14px; }
  .expand-icon { right: 8px; bottom: 8px; width: 44px; height: 44px; }
  .gallery-actions button, .lightbox button { width: 44px; height: 44px; }
  .gallery { padding: 8px; }
  .download-guide { margin: 28px 0 36px; }
  .guide-items { grid-template-columns: minmax(0, 1fr); }
  .guide-items article { padding: 15px; }
  .thumbs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(78px, 24%, 136px);
    padding: 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .thumbs button { scroll-snap-align: start; }
  .gallery[data-gallery-platform="android"] .thumbs { grid-template-columns: none; grid-auto-columns: 60px; }
}
@media (max-width: 480px) {
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platform-icon { flex-basis: 38px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
