:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172642;
  background: #edf1f9;
  font-synthesis: none;
  --blue: #285fd4;
  --muted: #616d82;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #517aef; outline-offset: 4px; }
button:disabled { cursor: default; }
.page {
  max-width: 600px;
  min-height: 100svh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 370px 290px at 0 0, #dcecffb0, transparent), radial-gradient(ellipse 350px 370px at 100% 160px, #e9deff99, transparent), linear-gradient(#f7f9ff, #f2f6fc 65%, #f7f8fc);
}
.topbar, .languages { display: flex; align-items: center; }
.topbar { justify-content: space-between; min-height: 44px; }
.wordmark { font-size: 15px; font-weight: 750; letter-spacing: .5px; color: #40577a; }
.languages { gap: 4px; color: #b0b9c9; }
.languages button { min-height: 44px; padding: 0 7px; border: 0; background: none; color: var(--muted); font-size: 12px; }
.languages button[aria-pressed="true"] { color: var(--blue); font-weight: 650; }
.brand { padding: 29px 0 25px; text-align: center; }
.logo { display: block; margin: 0 auto 19px; object-fit: contain; border-radius: 23px; }
h1 { margin: 0; font-size: 30px; line-height: 1.4; font-weight: 750; letter-spacing: 1px; }
.brand-english { margin: 8px 0 0; color: #506280; font-size: 13px; line-height: 1.6; letter-spacing: .3px; }
.tagline { margin: 15px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.download-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 135px; padding: 17px 4px; border: 1px solid #d8e3fa; border-radius: 16px; background: #fff; color: #243551; text-align: center; transition: background .18s, border-color .18s; }
.download-card strong { font-size: 14px; line-height: 1.3; font-weight: 650; }
.platform-icon { width: 29px; height: 29px; }
.android-icon { color: #24834d; }
.download-status { color: var(--blue); font-size: 11px; line-height: 1.5; }
.download-card[aria-disabled="true"] { background: #ffffff80; border-color: #e0e5ef; }
.download-card[aria-disabled="true"] .download-status { color: var(--muted); }
@media (hover: hover) {
  .download-card[href]:hover { background: #eff5ff; border-color: #88a8ee; }
  .languages button:hover, .support-links a:hover { color: #163b8d; }
}
.download-card[href]:active { background: #e2ecff; }
.download-note { margin: 13px 0 24px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.7; }
.panel { background: #fff; border: 1px solid #e7ebf3; border-radius: 20px; padding: 22px; margin-bottom: 16px; }
.section-heading { display: flex; align-items: center; gap: 9px; }
.section-mark { width: 4px; height: 17px; border-radius: 3px; background: linear-gradient(#6087f4, #a073dd); flex: 0 0 auto; }
h2 { font-size: 18px; line-height: 1.5; margin: 0; font-weight: 700; }
.introduction > p { margin: 16px 0 0; color: #536179; font-size: 14px; line-height: 1.9; }
.features { padding: 0; margin: 18px 0 0; list-style: none; }
.features li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 9px 0; font-size: 13px; line-height: 1.8; }
.features strong { font-weight: 650; color: #304b75; }
.features span { color: var(--muted); }
.introduction .hardware-note { border-top: 1px solid #edf0f5; padding-top: 16px; font-size: 12px; color: #626d80; }
.screenshot-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 17px; }
.carousel-controls { display: flex; gap: 6px; }
.carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #e4eaf4; border-radius: 50%; background: #f8faff; color: #385e9b; }
.carousel-controls button:disabled { opacity: .4; }
.carousel-controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.screenshot-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.screenshot-rail::-webkit-scrollbar { display: none; }
figure { flex: 0 0 64%; max-width: 218px; margin: 0; scroll-snap-align: start; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #e4eaf4; border-radius: 13px; background: #f2f6fc; }
figcaption { color: #4b5f7d; font-size: 12px; line-height: 1.6; padding-top: 12px; text-align: center; }
.carousel-footer { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); font-size: 11px; }
#screenshotCount { font-variant-numeric: tabular-nums; }
.about dl { margin: 14px 0; font-size: 13px; }
.about dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }
.support-links { display: flex; align-items: center; justify-content: center; gap: 17px; border-top: 1px solid #edf0f5; padding-top: 9px; color: #ccd4e1; }
.support-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
footer { text-align: center; padding: 17px 0 0; color: var(--muted); }
.footer-brand { font-size: 14px; letter-spacing: 1px; color: #657797; font-weight: 650; }
footer p { font-size: 11px; line-height: 1.8; margin: 8px 0 0; }
.noscript-note { text-align: center; font-size: 14px; }
dialog { position: fixed; max-width: 360px; width: calc(100% - 40px); padding: 28px; border: 0; border-radius: 22px; color: #172642; background: #fff; }
dialog::backdrop { background: #14254299; }
dialog h2 { text-align: center; margin-top: 8px; }
dialog p { font-size: 15px; line-height: 1.9; color: #536179; margin: 15px 0 24px; }
.browser-arrow { text-align: right; font-size: 42px; color: var(--blue); line-height: 1; }
.confirm-button { border: 0; border-radius: 12px; width: 100%; min-height: 48px; background: var(--blue); color: #fff; font-size: 16px; }
html:has(dialog[open]) { overflow: hidden; }
html[lang="en"] .features li { grid-template-columns: 80px 1fr; }
@media (max-width: 374px) {
  .page { padding-right: 16px; padding-left: 16px; }
  .panel { padding: 18px; }
  .download-card strong { font-size: 12px; }
  .downloads { gap: 8px; }
}
@media (min-width: 640px) {
  .page { margin: 28px auto; min-height: calc(100svh - 56px); padding: 16px 32px 28px; border: 1px solid #e3e8f3; border-radius: 28px; }
  .brand { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
