:root {
  color-scheme: light;
  --bg: #f4ecdf;
  --surface: #fbf6ee;
  --ink: #1d1712;
  --muted: #6b6257;
  --accent: #21483d;
  --accent-dark: #17342d;
  --line: #d9d0c1;
  --serif: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: "Helvetica Neue", "Avenir Next", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.page { width: min(1180px, calc(100% - 80px)); min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
.topbar { position: relative; display: grid; place-items: center; min-height: 72px; margin-top: 22px; }
.brand { display: block; text-decoration: none; }
.brand img { display: block; width: 64px; height: auto; }
#language { position: absolute; right: 0; width: 44px; height: 44px; padding: 0; font-size: 12px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
#language:hover { background: var(--surface); }
main { flex: 1; display: flex; flex-direction: column; }
.app-selector { text-align: center; padding-top: 36px; }
.app-tabs { display: inline-flex; max-width: 100%; padding: 5px; border: 1px solid var(--line); border-radius: 100px; background: #e9e2d6; box-shadow: inset 0 2px 4px #241c1605; }
.app-tabs button { border: none; min-height: 44px; min-width: 142px; padding: 11px 24px; color: var(--muted); font-size: 14px; border-radius: 100px; background: transparent; }
.app-tabs button[aria-selected="true"] { background: var(--surface); color: var(--accent-dark); box-shadow: 0 2px 7px #241c1612; }
.app-tabs button:hover { color: var(--accent-dark); }
.app-panel { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 38px 0 54px; }
.app-symbol { display: grid; place-items: center; width: 96px; height: 96px; border: 1px solid #fff9; border-radius: 28px; background: #fbf6eea6; box-shadow: 0 10px 28px #241c1609, inset 0 1px 2px #fff9; margin-bottom: 22px; }
.app-symbol img { display: block; width: 76px; height: 76px; border-radius: 19px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 7.6vw, 96px); letter-spacing: -.055em; line-height: 1.1; margin: 0 0 32px; }
h1 em { color: var(--accent); font-weight: 400; }
:lang(zh-CN) #panel-staff h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.45; letter-spacing: .03em; }
.download { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 15px 24px; color: var(--surface); background: var(--accent); border-radius: 100px; font-size: 14px; text-decoration: none; }
.download:hover { background: var(--accent-dark); }
.button-arrow { margin-left: 14px; font-size: 20px; }
.release { font-size: 12px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }
.release span { padding: 0 6px; }
.staff-symbol { font-family: Georgia, serif; font-size: 52px; color: var(--accent); background: #e7dfcf; }
.coming-soon { min-height: 58px; display: grid; place-items: center; margin: 0 0 37px; padding: 14px 34px; border: 1px solid #c4bcae; border-radius: 100px; font-size: 14px; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 23px 4px 26px; font-size: 10px; letter-spacing: .1em; color: var(--muted); line-height: 1.6; }
.noscript-note { text-align: center; font-size: 13px; }
@media (max-width: 640px) {
  .page { width: calc(100% - 40px); }
  .topbar { margin-top: 14px; min-height: 62px; }
  .brand img { width: 50px; }
  #language { width: 40px; height: 40px; }
  .app-selector { padding-top: 28px; }
  .app-tabs button { min-width: 124px; padding: 10px 18px; font-size: 13px; }
  .app-panel { padding: 34px 0 46px; }
  h1 { font-size: clamp(52px, 13vw, 76px); margin-bottom: 28px; }
  .app-symbol { width: 88px; height: 88px; border-radius: 25px; } .app-symbol img { width: 70px; height: 70px; border-radius: 18px; }
  .download { min-height: 54px; padding: 14px 22px; gap: 12px; }
  .release { font-size: 11px; } .release span { padding: 0 4px; }
  footer { gap: 12px; padding: 18px 0 20px; font-size: 10px; letter-spacing: .07em; }
}
@media (max-width: 359px) { .app-tabs button { min-width: 116px; } }
@media (max-height: 660px) and (min-width: 641px) { .topbar { margin-top: 12px; min-height: 58px; padding-top: 6px; padding-bottom: 6px; } .app-selector { padding-top: 18px; } .app-panel { padding: 20px 0 24px; } .app-symbol { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 12px; } .app-symbol img { width: 52px; height: 52px; border-radius: 14px; } h1 { font-size: 58px; margin-bottom: 20px; } .staff-symbol { font-size: 40px; } }
@media (prefers-reduced-motion: no-preference) { button, .download { transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; } }
@media (scripting: none) { .app-tabs { display: none; } }
