@charset "UTF-8";
:root {
  --text: #e5ebf4;
  --page: #0c1626;
  --muted: #98a9bd;
  --accent: #b72f3c;
  --accent-text: #df7c84;
  --line: #27374d;
  --surface: #111f33;
  --serif: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #f3d9d8; color: #642222; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; color: var(--text); padding: 10px 20px; }
.skip-link:focus { top: 12px; }

/* 登录界面的蓝黑底色，暗红色用于当前栏目和主要操作。 */
.site-header { height: 82px; border-bottom: 1px solid #24334a; background: #0a1220; position: sticky; top: 0; z-index: 30; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; }
.brand-name { font: 700 30px/1.1 var(--serif); letter-spacing: 2px; display: flex; align-items: center; gap: 17px; }
.brand-name small { font: 12px/1.4 var(--sans); color: var(--muted); letter-spacing: 2px; border-left: 1px solid #33445b; padding-left: 17px; }
.main-nav { display: flex; align-items: center; gap: 35px; height: 100%; margin-left: auto; margin-right: 24px; }
.main-nav a { font-size: 14px; color: #a1b0c3; height: 100%; display: flex; align-items: center; position: relative; white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-active { color: var(--accent-text); }
.main-nav a.is-active::after { content: ""; height: 2px; background: var(--accent); position: absolute; bottom: 0; left: 20%; right: 20%; }
.header-download { border: 1px solid var(--accent); padding: 7px 25px; font-size: 14px; color: var(--accent-text); white-space: nowrap; }
.header-download:hover { background: #311c2a; }

/* 圣祝融使用高清透明原画，完整显示角色与飘带。 */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #10233a; }
.hero-scenery { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0c1626 5%, #10233ac9 45%, #10233a40), linear-gradient(0deg, #0c1626, transparent 40%), url("images/city.jpg") 62% center/cover; opacity: .75; filter: saturate(.55) brightness(.7); }
.hero-inner { min-height: 560px; position: relative; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 3; width: 55%; padding-bottom: 8px; }
.eyebrow { color: var(--muted); font-size: 14px; letter-spacing: 2px; margin: 0 0 18px; }
.hero .eyebrow { letter-spacing: 2px; color: #91a9c3; }
h1 { font: 700 clamp(64px, 6vw, 88px)/1.2 var(--serif); letter-spacing: 8px; margin: 0 0 24px -5px; }
.hero-description { font-size: 16px; line-height: 2; color: #a6b7ca; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; padding: 9px 32px; font-size: 15px; letter-spacing: 1px; transition: background .15s; }
.button-red { background: var(--accent); color: #fff; }
.button-red:hover { background: #9e2531; }
.button-outline { border-color: #71839b; color: #dce6f3; background: #0c16265c; }
.button-outline:hover { background: #24354c; }
.text-link { font-size: 14px; color: #b0c0d3; padding: 8px 0; border-bottom: 1px solid #50657e; }
.text-link:hover { color: var(--accent-text); border-color: var(--accent-text); }
.hero-art { position: absolute; width: 49%; height: 100%; right: 0; top: 0; }
.art-warrior { position: absolute; width: 600px; height: 560px; max-width: none; object-fit: contain; object-position: center bottom; left: -35px; bottom: 0; filter: drop-shadow(0 12px 12px #03091455); }
.character-name { position: absolute; bottom: 39px; right: -7px; display: flex; flex-direction: column; gap: 4px; color: #b7c8df; }
.character-name strong { font: 24px/1.4 var(--serif); letter-spacing: 4px; }
.character-name span { font-size: 12px; color: #76808a; writing-mode: vertical-rl; letter-spacing: 4px; align-self: flex-end; margin-top: 10px; }

.download-section { background: #0d192b; border-bottom: 1px solid var(--line); }
.download-panel { padding: 31px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.download-intro h2 { font-size: 22px; font-weight: 500; margin: 0 0 3px; }
.download-intro p { font-size: 14px; color: var(--muted); margin: 0; }
.download-buttons { display: flex; gap: 14px; }
.platform-button { display: flex; align-items: center; gap: 14px; background: var(--surface); color: #e1e8f2; border: 1px solid #344760; padding: 12px 23px; min-width: 190px; text-align: left; transition: border-color .15s; }
.platform-button:hover { border-color: #758fae; }
.platform-button svg { width: 28px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.platform-button svg .android-eyes { stroke: #fff; stroke-width: 3; }
.platform-button svg.apple-icon { fill: currentColor; stroke: none; width: 25px; }
.platform-button strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.platform-button small { font-size: 12px; color: #9ba9bb; }
.platform-button.is-ready small { color: var(--accent-text); }
.download-note { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; white-space: nowrap; }
.download-note a { color: var(--accent-text); }
.ios-install-note { padding: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.ios-install-note h3 { font-size: 15px; font-weight: 500; color: #e1e8f2; margin: 0 0 7px; }
.ios-install-note p { margin: 0; }
.ios-install-note strong { color: #e3b3b9; font-weight: 500; }

.section-space { padding: 66px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-bottom: 31px; }
.section-heading h2 { font-size: 28px; font-weight: 500; line-height: 1.4; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; text-align: right; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.feature-card { overflow: hidden; }
.feature-art { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #172b43; }
.screenshot-button { display: block; padding: 0; border: 1px solid var(--line); color: #fff; }
.screenshot-button > img { width: 100%; height: 100%; object-fit: contain; }
.screenshot-button > span { position: absolute; right: 10px; bottom: 9px; padding: 2px 9px; font-size: 12px; background: #0b1423dc; }
.screenshot-button:hover { border-color: #8195b0; }
.screenshot-button:hover > span { background: #31445c; }
.feature-copy { padding: 22px 0 0; }
.feature-tag { font-size: 13px; color: var(--accent-text); margin-bottom: 6px; }
.feature-copy h3 { font-size: 20px; font-weight: 500; line-height: 1.5; margin-bottom: 9px; }
.feature-copy > p:last-child { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0; }

.recharge-section { background: var(--surface); border-top: 1px solid #172b43; }
.recharge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-card { display: flex; align-items: center; padding: 30px; gap: 29px; background: #13243b; border: 1px solid #2b3d54; }
.qr-button { border: 0; background: transparent; padding: 0; flex-shrink: 0; text-align: center; color: var(--muted); }
.qr-button > img { width: 160px; height: 160px; object-fit: contain; background: #fff; }
.qr-button > span { font-size: 12px; display: block; margin-top: 8px; }
.qr-button:hover > span { color: var(--accent-text); }
.service-copy { flex: 1; min-width: 0; }
.service-label { font-size: 12px; color: var(--muted); }
.service-copy h3 { font-size: 23px; font-weight: 500; line-height: 1.4; margin: 4px 0 10px; }
.service-copy > p { font-size: 14px; line-height: 1.8; color: #9caec4; margin-bottom: 14px; }
.platform-note { font-size: 12px; color: #94a5bc; display: block; margin-top: 11px; }
.copy-line { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.copy-line > span { font-size: 14px; }
.copy-line > button { padding: 1px 0; color: var(--accent-text); border: 0; border-bottom: 1px solid #6b3b4a; background: transparent; font-size: 12px; }

.community-section { padding: 56px 0; background: var(--page); }
.community-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.community-inner h2 { font-size: 28px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; }
.community-inner > div > p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
.community-contact { text-align: center; display: flex; align-items: center; flex-direction: column; flex-shrink: 0; min-width: 290px; border-left: 1px solid var(--line); padding-left: 56px; }
.community-contact > span { font-size: 13px; color: var(--muted); }
.community-contact > strong { font-size: 33px; font-weight: 500; letter-spacing: 2px; color: #e1e9f4; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.community-contact > .button { min-height: 42px; font-size: 14px; padding: 8px 23px; }
.community-contact > small { font-size: 12px; color: var(--muted); margin-top: 11px; }

.site-footer { padding: 32px 0 24px; background: #070e19; color: #acbad0; }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #233047; gap: 24px; }
.footer-brand { font: 24px/1.4 var(--serif); letter-spacing: 2px; color: #dce6f3; }
.footer-brand > span { font: 12px/1.4 var(--sans); margin-left: 17px; color: #7f93af; }
.footer-main nav { display: flex; gap: 32px; margin-left: auto; font-size: 13px; }
.back-top { font-size: 12px; color: #a2b4cc; padding-left: 28px; border-left: 1px solid #304159; }
.footer-main a:hover { color: #fff; }
.footer-notes { padding-top: 20px; font-size: 12px; color: #8195b0; line-height: 1.9; display: flex; justify-content: space-between; gap: 30px; }
.footer-notes > p { margin: 0; }
.footer-notes > p:last-child { white-space: nowrap; }

.qr-dialog { border: 1px solid #3c526d; padding: 0; border-radius: 3px; background: #13243b; color: var(--text); width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; }
.qr-dialog::backdrop { background: #111820a6; }
.qr-dialog-inner { padding: 30px; text-align: center; position: relative; }
.qr-dialog .eyebrow { margin: 0 0 8px; }
.qr-dialog h2 { font-size: 24px; font-weight: 500; line-height: 1.4; margin: 0 0 20px; }
.qr-dialog img { width: min(100%, 320px); aspect-ratio: 1; object-fit: contain; background: #fff; margin: 0 auto 16px; }
.qr-dialog.screenshot-preview { width: min(1080px, calc(100% - 32px)); }
.qr-dialog.screenshot-preview img { width: 100%; aspect-ratio: 4 / 3; max-height: calc(100dvh - 245px); background: #070e19; }
.qr-dialog.screenshot-preview .qr-dialog-inner { padding: 24px; }
.qr-dialog p:last-of-type { font-size: 14px; color: var(--muted); margin-bottom: 17px; }
.dialog-close { position: absolute; top: 8px; right: 11px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: #a5b7cc; font-size: 29px; line-height: 1; }
.dialog-done { border: 1px solid #425571; background: #13243b; color: var(--text); padding: 7px 28px; font-size: 14px; }
.dialog-open { overflow: hidden; }
.toast { position: fixed; bottom: max(32px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 15px); z-index: 100; color: #fff; background: #273c58f5; padding: 12px 23px; width: max-content; max-width: calc(100% - 32px); font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; }
.copy-helper { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; font-size: 16px; }
.noscript-note { text-align: center; padding: 20px; font-size: 14px; background: var(--surface); color: var(--text); margin: 0; }

@media (min-width: 1500px) {
  .hero-inner { min-height: 600px; }
  .art-warrior { width: 640px; height: 600px; }
}
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .brand-name { font-size: 27px; gap: 12px; }
  .brand-name small { padding-left: 12px; }
  .main-nav { gap: 24px; margin-right: 12px; }
  .download-panel { gap: 20px; flex-wrap: wrap; }
  .download-intro { flex: 1; }
  .download-note { width: 100%; text-align: center; border-top: 1px solid var(--line); padding-top: 15px; }
  .download-note br { display: none; }
  .download-note a { margin-left: 10px; }
  .platform-button { min-width: 180px; }
  .art-warrior { width: 540px; height: 540px; left: -38px; }
  .character-name { right: -10px; }
  .character-name strong { font-size: 22px; }
  .service-card { padding: 24px; gap: 20px; }
  .qr-button > img { width: 135px; height: 135px; }
  .section-heading h2 { font-size: 26px; }
  .community-contact { padding-left: 35px; min-width: 260px; }
  .footer-notes { display: block; }
  .footer-notes > p:last-child { margin-top: 6px; }
}
@media (max-width: 900px) {
  .brand-name { font-size: 26px; }
  .brand-name small { display: none; }
  .main-nav { gap: 25px; margin: 0; }
  .header-download { display: none; }
  .hero-inner { min-height: 510px; }
  .hero-copy { width: 58%; }
  h1 { font-size: 66px; letter-spacing: 5px; }
  .hero-description { font-size: 14px; }
  .hero-art { width: 46%; }
  .art-warrior { width: 440px; height: 500px; left: -55px; bottom: 0; }
  .character-name { bottom: 30px; right: -12px; }
  .character-name strong { font-size: 19px; }
  .character-name span { display: none; }
  .download-intro { flex: none; }
  .download-buttons { flex: 1; justify-content: end; }
  .platform-button { min-width: 145px; padding: 12px 15px; gap: 10px; }
  .download-intro h2 { font-size: 21px; }
  .download-intro p { font-size: 12px; }
  .section-space { padding: 54px 0; }
  .section-heading { align-items: start; }
  .section-heading > p { font-size: 13px; }
  .feature-grid { gap: 18px; }
  .feature-copy h3 { font-size: 18px; }
  .feature-copy > p:last-child { font-size: 13px; }
  .feature-copy > p:last-child br { display: none; }
  .recharge-grid { gap: 16px; }
  .service-card { flex-direction: column; text-align: center; padding: 25px 18px; }
  .qr-button > img { width: 160px; height: 160px; }
  .service-copy h3 { font-size: 22px; }
  .copy-line { justify-content: center; }
  .community-inner h2 { font-size: 26px; }
  .community-contact { padding-left: 30px; min-width: 235px; }
  .footer-brand > span { display: none; }
  .footer-main nav { gap: 20px; }
  .back-top { padding-left: 20px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 110px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { height: auto; min-height: 100px; }
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: 16px; justify-content: center; }
  .brand-name { font-size: 27px; letter-spacing: 3px; gap: 13px; }
  .brand-name small { display: block; font-size: 11px; letter-spacing: 1px; padding-left: 13px; }
  .main-nav { width: 100%; height: 44px; justify-content: space-between; gap: 8px; margin: 9px 0 0; }
  .main-nav a { font-size: 13px; }
  .hero-inner { display: block; min-height: 644px; padding-top: 39px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
  h1 { font-size: 58px; letter-spacing: 5px; margin: 0 0 15px -3px; }
  .hero-description { font-size: 14px; line-height: 1.9; margin-bottom: 23px; }
  .hero-actions { gap: 15px; }
  .button { min-height: 43px; padding: 8px 28px; font-size: 14px; }
  .text-link { font-size: 13px; }
  .hero-scenery { background-position: 57% bottom; background-size: auto 65%; background-repeat: no-repeat; opacity: .65; mask-image: linear-gradient(0deg, #000 25%, transparent 78%); }
  .hero-art { width: 100%; height: 340px; top: auto; bottom: 0; right: 0; }
  .art-warrior { width: 365px; height: 365px; left: calc(50% - 182.5px); bottom: 0; filter: drop-shadow(0 8px 8px #03091444); }
  .character-name { right: 0; bottom: 25px; }
  .character-name strong { font-size: 20px; letter-spacing: 2px; writing-mode: vertical-rl; }
  .download-panel { padding: 26px 0; gap: 18px; }
  .download-intro { width: 100%; text-align: center; }
  .download-intro h2 { font-size: 22px; }
  .download-intro p { font-size: 13px; }
  .download-buttons { width: 100%; flex: 1 1 100%; gap: 10px; }
  .platform-button { flex: 1; min-width: 0; padding: 12px 10px; gap: 10px; justify-content: center; }
  .platform-button strong { font-size: 14px; }
  .platform-button small { font-size: 12px; }
  .platform-button svg { width: 23px; height: 26px; }
  .platform-button svg.apple-icon { width: 22px; }
  .download-note { font-size: 12px; padding-top: 14px; white-space: normal; }
  .download-note br { display: block; }
  .download-note a { margin-left: 0; }
  .ios-install-note { padding-bottom: 24px; font-size: 13px; }
  .section-space { padding: 43px 0; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading > p { text-align: left; margin-top: 10px; font-size: 13px; }
  .section-heading > p br { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-card { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .feature-card:last-child { border-bottom: 0; padding-bottom: 0; }
  .feature-copy { padding: 16px 0 0; }
  .feature-copy h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
  .feature-tag { font-size: 12px; margin-bottom: 6px; }
  .feature-copy > p:last-child { font-size: 13px; line-height: 1.8; }
  .recharge-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { flex-direction: row; text-align: left; padding: 23px 18px; gap: 20px; }
  .qr-button > img { width: 126px; height: 126px; }
  .qr-button > span { font-size: 12px; }
  .service-label { font-size: 12px; }
  .service-copy h3 { font-size: 21px; margin: 3px 0 8px; }
  .service-copy > p { font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
  .platform-note { font-size: 12px; line-height: 1.7; margin-top: 8px; }
  .copy-line { justify-content: start; gap: 7px; }
  .copy-line > span { font-size: 13px; }
  .copy-line > button { font-size: 12px; }
  .community-section { padding: 43px 0; }
  .community-inner { display: block; }
  .community-inner h2 { font-size: 25px; }
  .community-inner > div > p:last-child { font-size: 13px; line-height: 1.9; }
  .community-contact { margin-top: 25px; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); min-width: 0; }
  .community-contact > strong { font-size: 33px; letter-spacing: 3px; margin: 4px 0 13px; }
  .site-footer { padding: 28px 0 20px; }
  .footer-main { flex-wrap: wrap; gap: 20px; justify-content: center; padding-bottom: 22px; }
  .footer-brand { width: 100%; text-align: center; font-size: 25px; }
  .footer-brand > span { display: inline; font-size: 12px; margin-left: 12px; }
  .footer-main nav { margin-left: 0; gap: 23px; font-size: 12px; }
  .back-top { font-size: 12px; padding-left: 18px; }
  .footer-notes { text-align: center; font-size: 11px; padding-top: 20px; line-height: 2; }
  .footer-notes > p:last-child { margin-top: 10px; }
  .qr-dialog-inner { padding: 28px 21px; }
  .qr-dialog.screenshot-preview .qr-dialog-inner { padding: 22px 14px; }
  .qr-dialog p:last-of-type { font-size: 13px; }
  .toast { bottom: max(22px, env(safe-area-inset-bottom)); font-size: 13px; padding: 11px 17px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  h1 { font-size: 54px; }
  .hero-description { font-size: 13px; }
  .platform-button { gap: 7px; padding-inline: 8px; }
  .platform-button strong { font-size: 12px; }
  .service-card { gap: 14px; padding: 20px 13px; }
  .qr-button > img { width: 112px; height: 112px; }
  .service-copy h3 { font-size: 19px; }
  .feature-copy h3 { font-size: 17px; }
  .footer-main nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
