:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: #f4f5f6;
  background: #08121c;
  font-synthesis: none;
  --muted: #b7c9d8;
  --gold: #f4ddaa;
  --edge: clamp(28px, 5.6vw, 112px);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #a4ddff; outline-offset: 6px; }
[hidden] { display: none !important; }
.scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scene .scene-boss { transform: scale(.92); transform-origin: right top; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(3 12 20 / 16%), transparent 48%); }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; padding-inline: var(--edge); gap: 20px; }
.site-header { min-height: clamp(64px, 8vh, 88px); border-bottom: 1px solid #b7c9d82b; background: #06111b26; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: clamp(32px, 3.5vw, 56px); height: clamp(32px, 3.5vw, 56px); object-fit: contain; }
.brand-name { font-size: clamp(23px, 2.15vw, 34px); font-weight: 750; letter-spacing: .06em; }
.brand-caption { color: #c0cbd7; font-size: clamp(10px, .78vw, 13px); letter-spacing: .12em; margin-left: 2px; }
.contact-entry { color: #c8d6e1; border: 1px solid transparent; background: transparent; padding: 12px 0 12px 16px; font-size: clamp(13px, 1.05vw, 17px); letter-spacing: .08em; text-decoration: none; transition: color .16s; }
.contact-entry:hover { color: var(--gold); }
.contact-entry:active { color: white; }
main { flex: 1; display: flex; align-items: center; padding: clamp(44px, 7.4vh, 90px) var(--edge); }
.hero { width: max-content; max-width: 100%; padding-bottom: 1vh; }
.eyebrow { color: var(--gold); font-size: clamp(14px, 1.25vw, 21px); letter-spacing: .22em; margin: 0 0 clamp(16px, 2.2vh, 26px); }
h1 { font-size: clamp(54px, 5.65vw, 104px); line-height: 1.19; letter-spacing: .025em; font-weight: 900; margin: 0 0 clamp(16px, 2vh, 26px); text-shadow: 0 3px 20px #00101d38; }
h1 span, .intro span { display: block; }
.intro { color: var(--muted); font-size: clamp(18px, 1.62vw, 29px); line-height: 1.58; letter-spacing: .015em; margin: 0 0 clamp(24px, 3.5vh, 42px); }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: clamp(64px, 8.5vh, 92px); width: clamp(300px, 24vw, 440px); max-width: 100%; padding: 16px 20px; border-radius: 9px; border: 1px solid #fff0c7; background: linear-gradient(110deg, #ebce92, #ffedc2 50%, #e9cb8d); color: #141820; font-size: clamp(21px, 1.72vw, 30px); font-weight: 700; text-decoration: none; box-shadow: 0 0 25px #f4ddaa20, inset 0 1px 0 #ffffff80; transition: transform .16s, box-shadow .16s, filter .16s; }
.download-button:not([aria-disabled="true"]):hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 6px 30px #f4ddaa30; }
.download-button:not([aria-disabled="true"]):active { transform: translateY(1px); }
.download-button[aria-disabled="true"] { cursor: not-allowed; background: linear-gradient(110deg, #d1be97, #e8d7b5 50%, #d0bb91); }
.authorization-note { color: var(--muted); font-size: clamp(12px, 1.05vw, 17px); margin: 16px 0 0; line-height: 1.6; letter-spacing: .015em; }
.download-status { color: #d6c29a; font-size: clamp(12px, .95vw, 15px); line-height: 1.5; margin: 5px 0 0; min-height: 1.5em; }
.download-backup { color: var(--muted); font-size: 12px; line-height: 1.8; text-underline-offset: 3px; }
.supported { color: var(--muted); width: fit-content; padding-top: 16px; border-top: 1px solid #b7c9d864; margin: clamp(15px, 2vh, 26px) 0 0; font-size: clamp(13px, 1.08vw, 18px); letter-spacing: .04em; }
.supported span { margin-left: .5em; }
.site-footer { min-height: clamp(62px, 8.3vh, 90px); border-top: 1px solid #b7c9d850; background: #04111cc4; }
.site-footer .brand { gap: 7px; }
.site-footer .brand-mark { width: 30px; height: 30px; }
.site-footer .brand-name { font-size: 20px; }
.site-footer .brand-caption, .footer-note { font-size: 11px; letter-spacing: .1em; color: #b1becb; }
.noscript-note { color: var(--gold); max-width: 420px; }
dialog { color: #f4f5f6; background: linear-gradient(135deg, #132636, #09131e); border: 1px solid #66869e70; border-radius: 14px; padding: 36px; width: min(440px, calc(100% - 32px)); box-shadow: 0 24px 100px #0009; }
dialog::backdrop { background: #020a13ba; backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; color: var(--muted); font-size: 30px; border: 0; border-radius: 6px; background: transparent; }
.dialog-close:hover { background: #ffffff0f; }
.dialog-eyebrow { font-size: 12px; letter-spacing: .15em; color: var(--gold); margin: 2px 0 18px; }
dialog h2 { font-size: 25px; margin: 0 0 14px; }
#contact-detail { color: var(--muted); line-height: 1.8; margin: 0; }
.contact-value { width: 100%; padding: 14px; color: white; background: #07121d; border: 1px solid #6b8aa170; border-radius: 6px; margin-top: 18px; }
.copy-button { margin-top: 18px; width: 100%; border: 1px solid #f4ddaa80; border-radius: 6px; padding: 12px; color: #101923; background: var(--gold); }
.copy-button:hover { background: #ffedc6; }
.copy-status { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 0; min-height: 1.6em; }
dialog.has-channels { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.contact-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.contact-channel { min-width: 0; text-align: center; }
.contact-channel h3 { margin: 0 0 12px; font-size: 18px; }
.contact-qr { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: contain; background: white; border: 10px solid white; margin-inline: auto; }
.contact-channel p, .discord-link { font-size: 13px; line-height: 1.7; }
.contact-channel p { color: var(--muted); margin: 12px 0 0; }
.discord-link { display: inline-block; color: var(--gold); padding: 10px 4px; text-underline-offset: 4px; }
@media (max-width: 520px) {
  dialog.has-channels { padding: 28px 20px 20px; }
  .contact-channels { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-aspect-ratio: 4/3) {
  .scene img { object-position: 62% center; }
  .scene::after { background: linear-gradient(90deg, #04101de0, #04101d48 60%, transparent); }
}
@media (max-width: 760px) {
  :root { --edge: 25px; }
  .site-header { min-height: 72px; background: #06111b70; }
  .brand { gap: 7px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 23px; }
  .brand-caption { font-size: 9px; letter-spacing: .03em; }
  .contact-entry { font-size: 12px; white-space: nowrap; padding-left: 8px; }
  .scene { bottom: auto; height: 530px; }
  .scene img { object-fit: cover; object-position: 75% top; }
  .scene .scene-boss { transform: none; }
  .scene::after { background: linear-gradient(0deg, #08121c 0%, #08121cdd 14%, #08121c55 38%, transparent 68%); }
  main { align-items: flex-start; padding-top: 315px; padding-bottom: 38px; }
  .hero { width: 100%; padding: 0; }
  .eyebrow { font-size: 12px; letter-spacing: .18em; margin-bottom: 18px; }
  h1 { font-size: clamp(44px, 12.5vw, 72px); line-height: 1.2; margin-bottom: 20px; }
  .intro { font-size: 16px; line-height: 1.8; margin-bottom: 26px; }
  .intro span { display: inline; }
  .download-button { width: 100%; min-height: 66px; font-size: 22px; }
  .authorization-note { font-size: 11px; line-height: 1.8; margin-top: 14px; }
  .download-status { font-size: 12px; }
  .supported { margin-top: 20px; font-size: 12px; padding-top: 17px; }
  .site-footer { flex-wrap: wrap; gap: 12px; padding-block: 20px; }
  .site-footer .brand-name { font-size: 17px; }
  .site-footer .brand-mark { width: 25px; height: 25px; }
  .site-footer .brand-caption, .footer-note { font-size: 9px; }
}
@media (max-width: 360px) {
  :root { --edge: 20px; }
  .site-header .brand-caption { max-width: 68px; line-height: 1.6; }
  main { padding-top: 300px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
