:root {
  color-scheme: dark;
  --ink: #050b12;
  --surface: #0b121d;
  --white: #edf3f8;
  --muted: #9aaaba;
  --line: #b1c5da24;
  --blue: #b9d9ed;
  --green: #9acbc0;
  --copper: #d6b893;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0px;
  background: var(--ink);
  color: var(--white);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) { overflow: hidden; }

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

button { font: inherit; }

button { color: inherit; cursor: pointer; }

button, a { touch-action: manipulation; }

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

button { border: 0px; }

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

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

h1, h2, p { margin: 0px; }

button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }

::selection { background: rgba(145, 195, 228, 0.32); color: rgb(255, 255, 255); }

.svg-library { position: absolute; width: 0px; height: 0px; overflow: hidden; }

.shell { width: min(1560px, 100% - clamp(40px, 10vw, 192px)); margin-inline: auto; }

.eyebrow {
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.18em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgb(180, 195, 210);
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 12px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  transform: translateY(-200%);
}

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

.hero { min-height: 760px; display: flex; align-items: center; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 10, 17, 0.5) 0%, rgba(4, 10, 17, 0.18) 43%, transparent 70%);
}

.hero h1 {
  font-size: clamp(70px, 7.7vw, 128px);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.065em;
  max-width: 960px;
  position: relative;
  left: -0.035em;
}

.hero h1 > span { display: block; animation: hero-in 1.35s var(--ease) .12s both; }

.hero h1 > span + span { animation-delay: 0.24s; }

.button {
  min-height: 52px;
  padding: 0px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 7px;
  position: relative;
  transition: background .25s,border-color .25s,box-shadow .25s,transform .25s var(--ease);
  white-space: nowrap;
}

.button svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }

.button:active { transform: translateY(1px); transition-duration: 0.1s; }

.hero-foot {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  color: rgb(169, 191, 206);
}

@keyframes hero-in { 
  0% { opacity: 0; transform: translateY(24px); filter: blur(7px); }
  100% { opacity: 1; transform: none; filter: blur(0px); }
}

dialog {
  color: var(--white);
  background: radial-gradient(at 50% 0px, rgb(28, 44, 64), rgb(12, 21, 33) 60%);
  border: 1px solid rgba(176, 206, 224, 0.267);
  border-radius: 16px;
  padding: 44px;
  width: min(500px, 100% - 32px);
  max-height: calc(-40px + 100svh);
  box-shadow: rgba(0, 0, 0, 0.6) 0px 50px 160px;
  overflow: auto;
  scrollbar-width: thin;
}

dialog[open] { animation: dialog-in .3s var(--ease); }

dialog::backdrop { background: rgba(1, 6, 12, 0.79); backdrop-filter: blur(12px); }

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(182, 207, 230, 0.14);
  border-radius: 50%;
  background: rgba(163, 193, 214, 0.04);
  transition: background 0.2s;
}

.dialog-close:hover { background: rgba(163, 193, 214, 0.133); }

.dialog-close svg { width: 16px; height: 16px; }

.dialog-icon { margin-bottom: 24px; }

.dialog-icon img { width: 64px; height: 64px; }

dialog .eyebrow { font-size: 9px; color: rgb(149, 176, 197); }

dialog h2 { font-size: 28px; letter-spacing: -0.03em; font-weight: 450; line-height: 1.5; margin-top: 10px; }

#dialog-description { font-size: 13px; line-height: 2; color: rgb(167, 188, 205); margin-top: 14px; }

.dialog-state {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(166, 198, 223, 0.15);
  background: rgba(166, 198, 223, 0.027);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.9;
  color: rgb(170, 194, 213);
}

.dialog-state > strong { display: block; font-size: 13px; font-weight: 500; color: rgb(220, 234, 245); margin-bottom: 5px; }

.dialog-state p { font-size: 11px; color: rgb(143, 169, 190); }

.dialog-done { background: rgb(191, 218, 235); color: rgb(11, 27, 41); width: 100%; margin-top: 24px; }

.dialog-done:hover { background: rgb(216, 234, 250); }

.download-link {
  display: flex;
  justify-content: space-between;
  background: rgb(192, 219, 237);
  color: rgb(11, 27, 41);
  margin-top: 20px;
  white-space: normal;
}

.release-meta { font: 11px / 1.8 Consolas, monospace; color: rgb(158, 187, 208); }

.release-notes { font-size: 12px; line-height: 1.9; color: rgb(180, 200, 217); padding-left: 18px; }

.community-qr {
  background: rgb(255, 255, 255);
  padding: 12px;
  border-radius: 8px;
  width: 230px;
  max-width: 100%;
  margin: 24px auto;
}

.qr-caption { text-align: center; font-size: 11px; color: rgb(165, 189, 207); margin-top: 10px; }
#access-dialog[data-kind="community"] { padding:28px; }
#access-dialog[data-kind="community"] .dialog-icon { display:none; }
#access-dialog[data-kind="community"] .community-qr { width:300px; padding:0; margin:18px auto; overflow:hidden; }
.community-qr img { display:block; width:100%; height:auto; }

.contact-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(176, 206, 224, 0.2);
  border-radius: 6px;
}

.contact-copy > span { font-size: 13px; overflow-wrap: anywhere; }

.contact-copy button {
  background: rgba(171, 204, 229, 0.1);
  border: 1px solid rgba(176, 206, 224, 0.2);
  border-radius: 4px;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 11px;
  white-space: nowrap;
}

.noscript-note { padding: 20px; margin: 0px; text-align: center; color: var(--muted); font-size: 13px; }

dialog .dialog-inline-status { font-size: 11px; color: rgb(170, 201, 223); margin-top: 12px; }

@keyframes dialog-in { 
  0% { opacity: 0; transform: translateY(14px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 1150px) {
  .shell { width: calc(100% - 96px); }
  .hero h1 { font-size: 92px; }
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .hero h1 { font-size: clamp(62px, 10.4vw, 88px); }
  .hero { min-height: 740px; }
}

@media (max-width: 540px) {
  .shell { width: calc(100% - 40px); }
  .hero { height: 100svh; min-height: 740px; max-height: 980px; align-items: flex-start; }
  .hero::before {
    background: linear-gradient(90deg, rgba(4, 10, 17, 0.55), rgba(4, 10, 17, 0.25) 65%, rgba(4, 10, 17, 0.14)), linear-gradient(0deg, rgba(5, 11, 18, 0.5), transparent 30%);
  }
  .hero h1 { font-size: clamp(56px, 14vw, 75px); line-height: 1.3; letter-spacing: -0.065em; }
  .hero-foot { bottom: 27px; }
  .eyebrow { font-size: 8px; gap: 12px; letter-spacing: 0.12em; }
  dialog { padding: 32px 24px; width: calc(100% - 32px); border-radius: 12px; }
  dialog h2 { font-size: 25px; }
  #dialog-description { font-size: 12px; }
  .dialog-state { padding: 15px; }
  .dialog-state > strong { font-size: 12px; }
  .dialog-icon img { width: 56px; height: 56px; }
  .dialog-icon { margin-bottom: 21px; }
  .dialog-done { min-height: 48px; font-size: 12px; }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after {
    animation: auto ease 0s 1 normal none running none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero h1 > span { opacity: 1; filter: none; }
}
/* Contact card: editorial left column, untouched WeChat artwork on the right. */
#access-dialog[data-kind="community"] {
  width:min(760px,calc(100vw - 32px)); padding:42px; border-radius:24px;
  border:1px solid #b8d7e333; overflow:auto;
  background:radial-gradient(ellipse at 0 0,#24435580,transparent 60%),linear-gradient(135deg,#101e2cfa,#07111bf7);
  box-shadow:0 36px 120px #000b,inset 0 1px #e1f3ff20;
}
#access-dialog[data-kind="community"][open] { display:grid; grid-template-columns:1fr 290px; column-gap:38px; grid-template-rows:60px auto auto 1fr; }
#access-dialog[data-kind="community"]::backdrop { background:#020810ad; backdrop-filter:blur(9px); }
#access-dialog[data-kind="community"] .dialog-close { right:12px;top:12px;width:32px;height:32px;border:0; }
#access-dialog[data-kind="community"] #dialog-eyebrow { grid-column:1; align-self:center; font-size:9px; letter-spacing:.18em; color:#89b3c5; margin:0; }
#access-dialog[data-kind="community"] #dialog-eyebrow::before { content:'✦';color:#cce7ee;font-size:18px;margin-right:12px; }
#access-dialog[data-kind="community"] h2 { grid-column:1; font:400 38px/1.4 'SimSun',serif; letter-spacing:.08em; margin:38px 0 0; }
#access-dialog[data-kind="community"] #dialog-description { grid-column:1; white-space:pre-line; margin:18px 0 0; font-size:13px; line-height:2.1; color:#91aab9; }
#access-dialog[data-kind="community"] #dialog-content { grid-column:2;grid-row:1/5;min-width:0; }
#access-dialog[data-kind="community"] .community-qr { width:100%;margin:0; border-radius:12px; box-shadow:0 12px 35px #0004; }
#access-dialog[data-kind="community"] .qr-caption { margin:18px 0 0; font-size:11px;letter-spacing:.08em;color:#93adbc; }
.contact-save { display:block; width:fit-content; margin:12px auto 0; padding:4px 0; border-bottom:1px solid #b3d4e350; color:#d2e4eb; font-size:11px; }
.contact-save:hover { color:white; border-color:white; }
.contact-save:focus-visible { outline:2px solid #b8d9ef;outline-offset:5px; }
#access-dialog[data-kind="community"] form { grid-column:1; align-self:end; }
#access-dialog[data-kind="community"] .dialog-done { width:auto; min-height:40px; padding:0; margin-top:40px; background:none; border:0;border-radius:0;box-shadow:none; color:#afc5d1; font-size:12px; gap:35px; }
#access-dialog[data-kind="community"] .dialog-done:hover { color:#fff; }
@media(max-width:620px) {
 #access-dialog[data-kind="community"] { width:min(390px,calc(100vw - 28px));padding:28px 24px; border-radius:20px; }
 #access-dialog[data-kind="community"][open] { grid-template-columns:1fr; grid-template-rows:auto;gap:0; }
 #access-dialog[data-kind="community"] #dialog-content { grid-column:1;grid-row:auto;margin-top:23px; }
 #access-dialog[data-kind="community"] h2 { margin:21px 0 0;font-size:29px; }
 #access-dialog[data-kind="community"] #dialog-description { font-size:12px; margin-top:10px; }
 #access-dialog[data-kind="community"] .community-qr { width:min(252px,100%); margin:auto; }
 #access-dialog[data-kind="community"] .dialog-done { margin:17px auto 0;min-height:32px; }
}
