:root {
  color-scheme: dark;
  --night: #071018;
  --panel: #0e1c29;
  --ink: #edf7ff;
  --muted: #aebfd0;
  --line: #283b4c;
  --cyan: #7bd9ff;
  --pink: #ff9bc4;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.25; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.08rem; }
p { margin: .8rem 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 8px; left: 8px; padding: .45rem .8rem; background: var(--cyan); color: var(--night); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { background: #0a141e; border-bottom: 1px solid var(--line); }
.masthead { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: .04em; white-space: nowrap; }
.brand img { border-radius: 10px; }
.nav-links, .site-footer ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.nav-links { gap: clamp(10px, 2.4vw, 28px); }
.nav-links a { display: inline-block; padding: 12px 0 10px; border-bottom: 2px solid transparent; font-size: .9rem; white-space: nowrap; }
.nav-links a, .site-footer a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"], .site-footer a:hover { color: var(--cyan); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .6rem 1.05rem; border: 1px solid transparent; border-radius: 999px; background: var(--cyan); color: #071b29; font-weight: 700; text-decoration: none; }
.button:hover { background: #b5ebff; }
.button-small { min-height: 38px; font-size: .86rem; white-space: nowrap; }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: var(--panel); border-color: var(--cyan); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { color: var(--cyan); text-underline-offset: .24em; }

.home-directory, .inner { padding-bottom: clamp(40px, 7vw, 80px); }
.home-directory { padding-top: clamp(32px, 5vw, 56px); }
.directory-grid, .columns, .product-grid { display: grid; gap: 16px; }
.directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.directory-card, .panel { padding: clamp(18px, 3vw, 30px); border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.directory-card { text-decoration: none; }
.directory-card h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.directory-card h3 span { color: var(--pink); }
.directory-card:hover { border-color: var(--cyan); }
.directory-card p, .panel p { color: var(--muted); }
.directory-card p, .panel p:last-child { margin-bottom: 0; }

.inner { min-height: 58vh; }
.breadcrumb { display: flex; align-items: center; gap: .65rem; color: var(--muted); padding-block: 20px; font-size: .86rem; }
.breadcrumb a { text-underline-offset: .24em; }
.page-heading { margin: clamp(18px, 4.5vw, 48px) 0 32px; padding-left: clamp(14px, 3vw, 24px); border-left: 3px solid var(--cyan); }
.page-heading p { margin-bottom: 0; }
.columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel h3 { margin-top: 1.35rem; }
.details { margin-top: 1rem; }
.details div { border-top: 1px solid var(--line); padding: .75rem 0; }
.details div:last-child { padding-bottom: 0; }
.details dt { font-size: .86rem; color: var(--muted); }
.details dd { overflow-wrap: anywhere; }
.related { color: var(--muted); margin-top: 22px; }
.recharge { margin-top: 24px; }
.steps { margin: 1rem 0 0; padding-left: 1.45rem; color: var(--muted); }
.steps li + li { margin-top: .35rem; }
.download-panel { display: grid; grid-template-columns: 1fr 180px; gap: 32px; align-items: center; }
.download-qr { width: min(100%, 180px); padding: 12px; background: #fff; color: #182638; border-radius: 14px; text-align: center; font-size: .84rem; }
.download-qr img { width: 100%; height: auto; }
.phone { font-size: 1.2rem; font-variant-numeric: tabular-nums; }

.site-footer { background: #0a141e; border-top: 1px solid var(--line); padding: 30px 0 20px; font-size: .88rem; color: var(--muted); }
.footer-main, .footer-end { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px 24px; }
.footer-main strong { color: var(--ink); font-size: 1rem; }
.footer-main p { margin: .3rem 0 0; }
.site-footer ul { gap: 8px 18px; }
.footer-end { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 20px; font-size: .8rem; }

@media (max-width: 760px) {
  .masthead { flex-wrap: wrap; justify-content: flex-start; gap: 4px 16px; padding-top: 10px; }
  .masthead nav { flex-basis: 100%; }
  .header-download { display: none; }
  .nav-links { gap: 0 16px; }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero-layout, .columns, .product-grid, .download-panel { grid-template-columns: 1fr; }
  .hero-shots { max-width: 420px; }
  .product-card .shot { max-width: 180px; }
  .download-qr { width: 150px; }
  .download-panel { gap: 18px; }
}
@media (max-width: 350px) {
  .nav-links { gap: 0 12px; }
  .directory-grid { grid-template-columns: 1fr; }
}

/* 音动的品牌紫取自 App 底部导航，配合浅暖纸色和深墨色标题。 */
:root {
  color-scheme: light;
  --night: #faf9f6;
  --ink: #211c31;
  --muted: #5c5668;
  --panel: #fff;
  --line: #dcd8e0;
  --cyan: #6232bf;
  --pink: #713bc6;
}
body { background: var(--night); }
.site-header, .site-footer { background: var(--night); }
.brand { font-size: 1.12rem; font-weight: 800; }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.button { background: var(--ink); color: white; border-color: var(--ink); }
.button:hover { color: white; background: #4d375e; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: #eee6f7; color: var(--ink); }
.lede { max-width: 36em; color: var(--muted); font-size: clamp(1rem,1.5vw,1.18rem); }
.small { color: var(--muted); font-size: .86rem; }
.cover { padding: clamp(24px,4vw,58px) 0 0; }
.cover-layout { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(24px,4vw,56px); }
.cover-brand { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 750; margin: 0 0 22px; }
.cover-brand i { width: 30px; height: 19px; background: repeating-linear-gradient(90deg,#753ccb 0 3px,transparent 3px 6px); clip-path: polygon(0 35%,15% 35%,15% 20%,35% 20%,35% 0,60% 0,60% 15%,77% 15%,77% 30%,100% 30%,100% 70%,77% 70%,77% 85%,60% 85%,60% 100%,35% 100%,35% 80%,15% 80%,15% 65%,0 65%); }
.cover h1 { font-size: clamp(3.4rem,6.5vw,6.1rem); line-height: 1.09; letter-spacing: -.065em; font-weight: 900; }
.cover h1 em { font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif; font-style: normal; font-weight: 800; color: #6331ab; }
.cover-copy .lede { max-width: 23em; margin: 22px 0; }
.cover .actions { align-items: center; gap: 22px; }
.cover-art { position: relative; aspect-ratio: 1.25; overflow: hidden; isolation: isolate; border-radius: 22px; background: radial-gradient(ellipse at 88% 9%,#eadfff 0%,transparent 52%), linear-gradient(135deg,#ccb4ee,#a891dd 65%, #ccc1fa); }
.groove { position: absolute; width: 130%; height: 140%; left: 10%; top: -26%; border-radius: 50%; background: repeating-radial-gradient(ellipse at center, transparent 0 12px, #fff5 13px 14px, transparent 15px 23px); transform: rotate(-32deg); }
.device { position: absolute; width: 31%; border: 4px solid #30283e; border-radius: 12% / 5.5%; overflow: hidden; box-shadow: 6px 12px 22px #3623484a; background: #30283e; }
.device img { width: 100%; height: auto; }
.device-front { left: 18%; top: 8%; transform: rotate(-8deg); }
.device-back { left: 52%; top: 12%; transform: rotate(9deg); }
.cover-art figcaption { position: absolute; right: 14px; bottom: 9px; font-size: .73rem; font-weight: 600; color: #39264e; }
.home-directory { padding-block: clamp(35px,5vw,64px); }
.home-directory h2, .showcase h2 { font-weight: 760; letter-spacing: -.035em; }
.directory-grid { gap: 0; border-top: 2px solid var(--ink); }
.directory-card { padding: 20px 18px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; }
.directory-card:hover { background: #f0ebf6; }
.directory-card p { font-size: .9rem; }
.page-heading { border-left: 0; padding-left: 0; }
.page-heading h1 { letter-spacing: -.045em; }
.panel { border-radius: 16px; }
.scene-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 18px 0 38px; }
.scene-art { display: grid; place-items: center; padding: 26px 14px; background: #dfd5ee; border-radius: 16px; }
.scene-social .scene-art { background: #d3e9e1; }
.scene-gaming .scene-art { background: #f2dfc9; }
.scene-art a { width: min(68%,180px); }
.scene-art img { width: 100%; height: auto; border-radius: 9% / 4%; box-shadow: 0 9px 20px #31294125; }
.scene-copy { padding: 16px 2px 0; }
.scene-copy p { margin-top: 7px; color: var(--muted); }
.recharge { background: #eee9f5; border-color: #e2d8ee; }
@media (max-width: 760px) {
  .cover-layout { gap: 18px; }
  .scene-grid { gap: 10px; }
}
@media (max-width: 600px) {
  .cover-layout { grid-template-columns: 1fr; gap: 24px; }
  .cover-brand { margin-bottom: 12px; }
  .cover-copy .lede { margin: 14px 0; }
  .cover .actions { margin-top: 16px; }
  .cover-art { aspect-ratio: 1.34; }
  .device { width: 29%; border-width: 3px; }
  .scene-grid { grid-template-columns: 1fr; gap: 22px; }
  .scene { display: grid; grid-template-columns: minmax(120px, .85fr) 1fr; align-items: center; gap: 15px; }
  .scene-art { padding: 16px 4px; }
  .scene-art a { width: 75%; }
  .scene-copy { padding: 0; }
  .directory-card { padding: 16px 9px; }
}

.platform-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 355px;
}
.platform-actions .button { padding-inline: 8px; }
.button-ios { background: var(--cyan); border-color: var(--cyan); }
.button-ios:hover { background: #50269d; }
.download-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.platform-card { display: flex; flex-direction: column; align-items: flex-start; scroll-margin-top: 16px; }
.platform-card > p { margin: 8px 0 18px; }
.platform-card > .button { margin-top: auto; }
.platform-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: .88rem; }
.platform-qr img { width: 112px; height: 112px; image-rendering: pixelated; }
@media (max-width: 760px) {
  .masthead { gap: 2px; }
  .nav-links { justify-content: space-between; gap: 0 4px; }
  .nav-links a { display: grid; place-items: center; min-height: 44px; padding-block: 6px; }
}
@media (max-width: 600px) {
  .cover-brand { display: none; }
  .cover h1 { font-size: clamp(2.5rem, 10vw, 3.35rem); }
  .cover-copy .lede { margin: 12px 0 18px; }
  .platform-actions { max-width: none; }
  .cover-art figcaption { background: var(--night); padding: 2px 9px; border-radius: 1em; }
  .download-platforms { grid-template-columns: 1fr; gap: 12px; }
  .platform-card > .button { width: 100%; }
  .platform-qr { display: none; }
}
