/* 昼夜切换 · 夜间皮肤（暗夜电竞）：复制自 templates/neon/style.css，末尾追加了昼夜切换按钮样式。
   修改 neon/style.css 的通用样式时请同步到这里。 */
/* 暗夜电竞 (neon) — dark esports template for the MITAO AI download page. */
:root {
  --bg: #07080f;
  --bg-2: #0c0e1a;
  --ink: #f3f4fb;
  --text: #c9cce0;
  --muted: #9aa0bd;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --glass: rgba(20, 22, 40, .55);
  --glass-strong: rgba(24, 26, 48, .78);
  --line: rgba(167, 139, 250, .18);
  --line-strong: rgba(167, 139, 250, .42);
  --gradient: linear-gradient(100deg, #8b5cf6 0%, #6d7cf7 45%, #22d3ee 100%);
  --radius: 18px;
  --font: Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1200px;
  color-scheme: dark;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- background ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow-violet { width: 720px; height: 720px; left: -200px; top: -260px; background: radial-gradient(circle, rgba(139, 92, 246, .75), transparent 65%); }
.glow-cyan { width: 640px; height: 640px; right: -220px; top: 120px; background: radial-gradient(circle, rgba(34, 211, 238, .45), transparent 65%); }
.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* ---------- shared bits ---------- */
.hud-label {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .16em;
  color: var(--violet-soft);
  text-transform: uppercase;
}
.hud-sep { color: var(--cyan); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .18), 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.gradient-text {
  background: linear-gradient(95deg, #c4b5fd 0%, #a78bfa 30%, #67e8f9 80%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.card {
  position: relative;
  background: linear-gradient(160deg, rgba(34, 30, 64, .62), rgba(14, 16, 30, .62));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -30px rgba(0, 0, 0, .9), 0 0 40px -20px rgba(139, 92, 246, .35);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.button.primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 8px 28px -6px rgba(139, 92, 246, .7), 0 0 24px -4px rgba(34, 211, 238, .45);
  text-shadow: 0 1px 2px rgba(20, 10, 60, .45);
}
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 12px 36px -6px rgba(139, 92, 246, .85), 0 0 36px -2px rgba(34, 211, 238, .6); }
.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
}
.button.secondary:hover { border-color: var(--cyan); box-shadow: 0 0 20px -6px rgba(34, 211, 238, .7); }
.button.ghost {
  min-height: 40px; padding: 0 16px; font-size: 13px;
  color: #67e8f9;
  background: rgba(34, 211, 238, .08);
  border-color: rgba(34, 211, 238, .35);
}
.button.ghost:hover { background: rgba(34, 211, 238, .16); box-shadow: 0 0 18px -6px rgba(34, 211, 238, .8); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 8, 15, .72);
  border-bottom: 1px solid rgba(167, 139, 250, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 18px -4px rgba(139, 92, 246, .8); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-sub { font: 600 10px/1.4 var(--mono); letter-spacing: .24em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 6px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--text); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--ink); background: rgba(167, 139, 250, .1); }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gradient); box-shadow: 0 0 10px var(--violet); }
.header-contact {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line-strong); background: rgba(139, 92, 246, .1);
  transition: border-color .15s, box-shadow .15s;
}
.header-contact:hover { border-color: var(--violet-soft); box-shadow: 0 0 18px -4px rgba(139, 92, 246, .8); }

/* ---------- layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  gap: 56px; align-items: center; padding: 72px 0 88px;
}
.hero-copy .hud-label {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(139, 92, 246, .08);
}
/* Sized so "开黑、直播、连麦" fits the hero column on one line. Hero text uses
   keep-all so narrow columns break after ，、。 punctuation, never mid-phrase. */
h1 { font-size: clamp(36px, 3.9vw, 56px); font-weight: 900; letter-spacing: -.01em; line-height: 1.15; margin: 24px 0 20px; word-break: keep-all; }
h1 .gradient-text { filter: drop-shadow(0 0 24px rgba(139, 92, 246, .45)); }
.hero-lead { font-size: 16px; color: var(--text); max-width: 34em; word-break: keep-all; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--ink);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.hero-tags li span { color: var(--cyan); font-size: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-download-version { margin-left: -4px; font-weight: 500; opacity: .85; }
.hero-agent {
  display: flex; flex-direction: column; justify-content: center; min-height: 50px;
  padding: 4px 18px 4px 16px; border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(34, 211, 238, .1), transparent);
  border-radius: 0 10px 10px 0; transition: background-color .15s;
}
.hero-agent:hover { background-color: rgba(34, 211, 238, .06); }
.hero-agent-label { font: 600 10px/1.5 var(--mono); letter-spacing: .16em; color: #67e8f9; }
.hero-agent strong { color: var(--ink); font-size: 15px; }

.equalizer { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 36px; }
.equalizer i {
  display: block; width: 4px; height: 100%; border-radius: 2px;
  background: linear-gradient(to top, var(--violet), var(--cyan));
  box-shadow: 0 0 8px rgba(139, 92, 246, .6);
  transform-origin: bottom; transform: scaleY(.3);
  animation: eq 1.2s ease-in-out infinite alternate;
}
.equalizer i:nth-child(3n) { animation-duration: .9s; }
.equalizer i:nth-child(3n+1) { animation-duration: 1.4s; }
.equalizer i:nth-child(4n) { animation-duration: 1.05s; }
.equalizer i:nth-child(2) { animation-delay: -.2s; } .equalizer i:nth-child(3) { animation-delay: -.5s; }
.equalizer i:nth-child(4) { animation-delay: -.8s; } .equalizer i:nth-child(5) { animation-delay: -.3s; }
.equalizer i:nth-child(6) { animation-delay: -1s; } .equalizer i:nth-child(7) { animation-delay: -.6s; }
.equalizer i:nth-child(8) { animation-delay: -.1s; } .equalizer i:nth-child(9) { animation-delay: -.9s; }
.equalizer i:nth-child(10) { animation-delay: -.4s; } .equalizer i:nth-child(11) { animation-delay: -.7s; }
.equalizer i:nth-child(12) { animation-delay: -1.1s; } .equalizer i:nth-child(13) { animation-delay: -.25s; }
.equalizer i:nth-child(14) { animation-delay: -.55s; } .equalizer i:nth-child(15) { animation-delay: -.85s; }
.equalizer i:nth-child(16) { animation-delay: -.15s; } .equalizer i:nth-child(17) { animation-delay: -.95s; }
.equalizer i:nth-child(18) { animation-delay: -.45s; } .equalizer i:nth-child(19) { animation-delay: -.75s; }
.equalizer i:nth-child(20) { animation-delay: -.35s; } .equalizer i:nth-child(21) { animation-delay: -.65s; }
.equalizer i:nth-child(22) { animation-delay: -1.05s; } .equalizer i:nth-child(23) { animation-delay: -.05s; }
.equalizer i:nth-child(24) { animation-delay: -.5s; }

.hero-visual { position: relative; perspective: 1600px; }
.screen-frame {
  position: relative; padding: 10px; border-radius: 20px;
  background: linear-gradient(140deg, rgba(139, 92, 246, .55), rgba(34, 211, 238, .35) 60%, rgba(139, 92, 246, .2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 30px 80px -20px rgba(139, 92, 246, .6), 0 0 90px -20px rgba(34, 211, 238, .5);
  transform: rotateY(-9deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .5s ease;
}
.hero-visual:hover .screen-frame { transform: rotateY(-4deg) rotateX(2deg); }
.screen-frame img { width: 100%; height: auto; border-radius: 12px; background: #1a1530; }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.corner.tl { left: -8px; top: -8px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.corner.tr { right: -8px; top: -8px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.corner.bl { left: -8px; bottom: -8px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.corner.br { right: -8px; bottom: -8px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.hud-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  font: 600 11px/1.3 var(--mono); letter-spacing: .1em; color: var(--ink);
  background: rgba(12, 14, 28, .85); border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8), 0 0 20px -8px rgba(139, 92, 246, .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}
.chip-live { left: -22px; bottom: 44px; }
.chip-local { right: -14px; top: -18px; color: #67e8f9; border-color: rgba(34, 211, 238, .45); animation-delay: -2.5s; }

/* ---------- workspace ---------- */
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.content { display: grid; gap: 64px; min-width: 0; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 96px; }

.section-heading { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.section-index {
  font: 800 34px/1 var(--mono); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px var(--violet-soft);
  text-shadow: 0 0 18px rgba(139, 92, 246, .5);
}
.section-heading h2 { font-size: 26px; font-weight: 800; margin-top: 4px; }
.section-caption { margin-left: auto; font: 500 12px/1.5 var(--mono); color: var(--muted); letter-spacing: .06em; padding-bottom: 5px; }

/* download */
.download-card { padding: 32px; overflow: visible; }
.download-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(167, 139, 250, .8), transparent 35%, transparent 65%, rgba(34, 211, 238, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.product-top { display: flex; align-items: center; gap: 18px; }
.product-icon {
  flex: none; width: 64px; height: 64px; padding: 4px; border-radius: 16px;
  background: linear-gradient(140deg, var(--violet), var(--cyan));
  box-shadow: 0 0 28px -6px rgba(139, 92, 246, .9);
}
.product-icon img { width: 100%; height: 100%; border-radius: 12px; }
.product-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-title h3 { font-size: 22px; font-weight: 800; }
.badge {
  font: 700 11px/1 var(--mono); letter-spacing: .08em; color: #0b0d18;
  padding: 6px 10px; border-radius: 6px;
  background: linear-gradient(90deg, #c4b5fd, #67e8f9);
  box-shadow: 0 0 14px -2px rgba(103, 232, 249, .6);
}
.product-platform { font-size: 13px; color: var(--muted); margin-top: 4px; }
.product-description { margin-top: 20px; color: var(--text); max-width: 40em; }
.metadata {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-top: 24px; border-radius: 12px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line);
}
.metadata div { background: rgba(10, 11, 22, .82); padding: 12px 16px; min-width: 0; }
.metadata dt { font: 600 10px/1.5 var(--mono); letter-spacing: .18em; color: var(--muted); }
.metadata dd { color: var(--ink); font-weight: 700; font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.metadata div:nth-child(2) dd { white-space: nowrap; }
.metadata dd[data-bind="version"] { color: #67e8f9; font-family: var(--mono); }

.download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.main-download-group { position: relative; display: flex; }
.main-download-button { border-radius: 12px 0 0 12px; min-width: 200px; padding: 0 28px; }
.download-menu-toggle { border-radius: 0 12px 12px 0; padding: 0; width: 50px; border-left: 1px solid rgba(255, 255, 255, .28); }
.main-download-group .button.primary:hover { transform: none; }
.chevron { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.download-menu-toggle[aria-expanded="true"] .chevron { transform: translateY(2px) rotate(225deg); }
.version-menu {
  position: absolute; z-index: 15; top: calc(100% + 8px); left: 0; right: 0; min-width: 220px;
  display: grid; gap: 2px; padding: 6px; border-radius: 12px;
  background: rgba(14, 15, 30, .96); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .9), 0 0 30px -10px rgba(139, 92, 246, .8);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  max-height: 280px; overflow-y: auto;
}
.version-menu button {
  text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent;
  color: var(--ink); font: 600 14px/1.4 var(--mono);
}
.version-menu button::before { content: "▸ "; color: var(--cyan); }
.version-menu button:hover, .version-menu button:focus-visible { background: rgba(139, 92, 246, .22); outline-offset: -2px; }
.version-menu-empty { padding: 10px 12px; color: var(--muted); font-size: 13px; }

.download-note {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 16px;
  border-radius: 12px; background: rgba(251, 191, 36, .06); border: 1px dashed rgba(251, 191, 36, .32);
}
.note-icon {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font: 800 13px/1 var(--mono); color: #0b0d18; background: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, .55);
}
.download-note p { flex: 1; font-size: 13px; color: #e5d9b8; line-height: 1.7; }
.download-note .button { flex: none; }

/* tools */
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; padding: 22px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tool-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 40px -14px rgba(139, 92, 246, .8); }
.tool-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tool-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 20px; border: 1px solid; }
.tool-icon.violet { color: #c4b5fd; background: rgba(139, 92, 246, .14); border-color: rgba(139, 92, 246, .45); box-shadow: 0 0 18px -6px var(--violet); }
.tool-icon.cyan { color: #67e8f9; background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .42); box-shadow: 0 0 18px -6px var(--cyan); }
.tool-icon.pink { color: #f9a8d4; background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .42); box-shadow: 0 0 18px -6px var(--pink); }
.tool-type { font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.tool-card h3 { font-size: 17px; font-weight: 700; }
.tool-card p { font-size: 13px; color: var(--text); margin: 8px 0 18px; flex: 1; }
.tool-link {
  align-self: flex-start; display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: #67e8f9; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .32);
  transition: background-color .15s, box-shadow .15s;
}
.tool-link:hover { background: rgba(34, 211, 238, .16); box-shadow: 0 0 16px -6px var(--cyan); }

/* steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: calc(100% / 6); right: calc(100% / 6); height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(139, 92, 246, .8);
  opacity: .75;
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font: 800 16px/1 var(--mono); color: var(--ink);
  background: radial-gradient(circle at 50% 35%, #2a2350, #0d0f1d 70%);
  border: 2px solid var(--violet-soft);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(139, 92, 246, .75), inset 0 0 14px rgba(139, 92, 246, .5);
}
.step:nth-child(2) .step-node { border-color: #818cf8; }
.step:nth-child(3) .step-node { border-color: var(--cyan); box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(34, 211, 238, .7), inset 0 0 14px rgba(34, 211, 238, .4); }
.step h3 { font-size: 17px; font-weight: 700; margin-top: 18px; }
.step p { font-size: 13px; color: var(--text); margin-top: 6px; max-width: 19em; text-wrap: balance; word-break: keep-all; }

/* advisor */
.advisor-card { padding: 24px; overflow: hidden; }
.advisor-card::after {
  content: ""; position: absolute; top: -80px; right: -80px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 70%); pointer-events: none;
}
.advisor-profile { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.avatar { flex: none; width: 64px; height: 64px; padding: 2px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 22px -4px rgba(139, 92, 246, .9); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.advisor-profile h2 { font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.advisor-tag {
  display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 6px;
  font-size: 12px; font-weight: 600; color: #c4b5fd; background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .38);
}
.advisor-intro { font-size: 14px; color: var(--text); margin-top: 16px; }
.advisor-services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.advisor-services li {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--ink);
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07);
}
.advisor-services li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: rotate(45deg); flex: none; }
.advisor-wechat {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px;
  border-radius: 12px; background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .3);
}
.advisor-wechat img { flex: none; width: 28px; height: 28px; }
.wechat-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.wechat-text span { font-size: 11px; color: var(--muted); }
.wechat-text strong { color: var(--ink); font: 700 15px/1.4 var(--mono); overflow-wrap: anywhere; }
#copy-advisor-contact {
  flex: none; min-height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 700;
  color: #06120d; background: var(--green); border: 0; box-shadow: 0 0 16px -4px rgba(52, 211, 153, .8);
  transition: filter .15s;
}
#copy-advisor-contact:hover:not(:disabled) { filter: brightness(1.1); }
#copy-advisor-contact:disabled { color: var(--muted); background: rgba(255, 255, 255, .06); box-shadow: none; border: 1px solid rgba(255, 255, 255, .1); }
.advisor-copy-status { min-height: 20px; margin-top: 6px; font-size: 12px; color: #6ee7b7; }
.advisor-copy-status:empty { min-height: 6px; }
.advisor-hours { display: flex; align-items: center; gap: 8px; font: 500 12px/1.5 var(--mono); color: var(--muted); }
.clock { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--violet-soft); position: relative; flex: none; }
.clock::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 3.5px; border-left: 1.5px solid var(--violet-soft); border-bottom: 1.5px solid var(--violet-soft); }

/* notice */
.notice-card { padding: 22px 24px; }
.notice-heading h2 { font-size: 17px; font-weight: 700; margin-top: 6px; }
.notice-card .hud-label { color: #fbbf24; }
.notice-card ul { display: grid; gap: 10px; margin-top: 14px; }
.notice-card li { position: relative; padding-left: 18px; font-size: 13px; color: var(--text); line-height: 1.7; }
.notice-card li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-soft); box-shadow: 0 0 8px var(--violet); }

.preview-note {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px;
  border: 1px dashed rgba(34, 211, 238, .4); background: rgba(34, 211, 238, .05);
}
.preview-icon { color: #67e8f9; font-size: 18px; line-height: 1.3; }
.preview-note strong { color: var(--ink); font-size: 14px; }
.preview-note p { font-size: 12px; color: var(--text); margin-top: 4px; }

/* faq */
.faq-section { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; padding: 96px 0 80px; }
.faq-intro h2 { font-size: 30px; font-weight: 800; margin: 10px 0 10px; }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
details {
  border-radius: 14px; border: 1px solid var(--line); background: rgba(18, 20, 38, .6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
details:hover { border-color: var(--line-strong); box-shadow: 0 0 24px -10px rgba(139, 92, 246, .9); }
details[open] { border-color: rgba(34, 211, 238, .5); background: rgba(22, 24, 46, .75); box-shadow: 0 0 30px -10px rgba(34, 211, 238, .6), inset 0 1px 0 rgba(255, 255, 255, .05); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 15px;
  border-radius: 14px;
}
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline-offset: -2px; border-radius: 14px; }
.plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong); transition: transform .25s, border-color .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 1px; background: var(--violet-soft); }
.plus::after { transform: rotate(90deg); }
details[open] .plus { transform: rotate(45deg); border-color: var(--cyan); }
details[open] .plus::before, details[open] .plus::after { background: var(--cyan); }
details p { padding: 0 20px 18px; font-size: 14px; color: var(--text); line-height: 1.85; }

/* footer */
.footer { border-top: 1px solid rgba(167, 139, 250, .14); background: rgba(5, 6, 12, .6); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 26px 32px calc(26px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--muted);
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-brand span { font-weight: 400; color: var(--muted); }
.footer-note { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.back-top { margin-left: auto; color: var(--violet-soft); font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.back-top:hover { color: var(--ink); background: rgba(139, 92, 246, .12); }

/* dialog */
dialog {
  width: min(420px, calc(100% - 40px)); padding: 32px; border-radius: 20px;
  color: var(--text); background: linear-gradient(160deg, #1a1733, #0d0f1d);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(139, 92, 246, .9);
}
dialog::backdrop { background: rgba(4, 4, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.close-dialog {
  position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border-radius: 10px;
  border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--muted);
}
.close-dialog:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.dialog-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  font-size: 22px; color: #fff; background: var(--gradient); box-shadow: 0 0 24px -4px rgba(139, 92, 246, .9);
}
dialog h2 { font-size: 20px; font-weight: 800; }
dialog p { font-size: 14px; line-height: 1.85; margin: 12px 0 24px; }
dialog .button { width: 100%; }

/* ---------- animations ---------- */
@keyframes eq { 0% { transform: scaleY(.18); } 100% { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 72px; }
  .hero-copy { max-width: 640px; }
  h1 { font-size: clamp(40px, 6vw, 54px); }
  .hero-visual { max-width: 760px; }
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .sidebar .preview-note { grid-column: 1 / -1; }
  .faq-section { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .header-inner { padding: 0 16px; height: 60px; gap: 12px; }
  .brand { font-size: 17px; gap: 9px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-sub { font-size: 8px; letter-spacing: .2em; }
  .nav { margin-left: auto; gap: 0; }
  .nav a { padding: 8px 9px; font-size: 13px; }
  .nav a.active::after { left: 9px; right: 9px; }
  .header-contact { display: none; }
  main { padding: 0 16px; }
  .hero { padding: 36px 0 56px; gap: 40px; }
  h1 { font-size: 38px; margin: 18px 0 14px; }
  .hero-lead { font-size: 15px; }
  .hero-lead br { display: none; }
  .hero-tags { margin-top: 18px; gap: 8px; }
  .hero-tags li { font-size: 12px; padding: 5px 10px; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-agent { flex: 1 1 100%; }
  .equalizer { height: 30px; margin-top: 26px; gap: 4px; }
  .equalizer i { width: 3px; }
  .screen-frame { padding: 6px; border-radius: 14px; transform: none; }
  .hero-visual:hover .screen-frame { transform: none; }
  .screen-frame img { border-radius: 9px; }
  .corner { width: 16px; height: 16px; }
  .corner.tl, .corner.tr { top: -6px; } .corner.bl, .corner.br { bottom: -6px; }
  .corner.tl, .corner.bl { left: -6px; } .corner.tr, .corner.br { right: -6px; }
  .hud-chip { font-size: 10px; padding: 6px 10px; }
  .chip-live { left: 10px; bottom: -16px; }
  .chip-local { right: 10px; top: -16px; }
  .content { gap: 52px; }
  .section-heading { margin-bottom: 18px; gap: 12px; }
  .section-index { font-size: 28px; }
  .section-heading h2 { font-size: 21px; }
  .section-caption { display: none; }
  .download-card { padding: 20px; }
  .product-icon { width: 54px; height: 54px; border-radius: 14px; }
  .product-title h3 { font-size: 19px; }
  .product-description { margin-top: 16px; }
  .metadata { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .metadata div { padding: 10px 12px; }
  .metadata dd { font-size: 13px; }
  .download-actions { flex-direction: column; gap: 12px; margin-top: 22px; }
  .main-download-group { width: 100%; }
  .main-download-button { flex: 1; min-width: 0; padding: 0 16px; }
  .download-actions > .button { width: 100%; }
  .download-note { flex-wrap: wrap; align-items: flex-start; margin-top: 22px; }
  .download-note p { flex: 1 1 calc(100% - 40px); }
  .download-note .button { width: 100%; }
  .tools-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--violet), var(--cyan)); }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; }
  .step h3 { margin-top: 4px; }
  .step p { max-width: none; }
  .sidebar { grid-template-columns: 1fr; margin-top: 52px; gap: 16px; }
  .advisor-card { padding: 20px; }
  .faq-section { padding: 72px 0 56px; }
  .faq-intro h2 { font-size: 24px; }
  summary { padding: 16px; font-size: 14px; }
  details p { padding: 0 16px 16px; font-size: 13px; }
  .footer-inner { flex-wrap: wrap; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); gap: 10px 16px; }
  .footer-brand { flex: 1 1 100%; }
  .back-top { padding: 4px 8px; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .nav a { padding: 8px 6px; font-size: 12px; }
  h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .equalizer i:nth-child(odd) { transform: scaleY(.7); }
  .equalizer i:nth-child(3n) { transform: scaleY(.45); }
  .screen-frame, .hero-visual:hover .screen-frame { transform: rotateY(-9deg) rotateX(4deg); }
  .button.primary:hover, .tool-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .screen-frame, .hero-visual:hover .screen-frame { transform: none; }
}

/* ---------- 昼夜切换 toggle (daynight template) ---------- */
.skin-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(139, 92, 246, .1);
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.skin-toggle:hover { border-color: var(--violet-soft); box-shadow: 0 0 18px -4px rgba(139, 92, 246, .8); }
.skin-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skin-toggle-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.skin-toggle-night { background: var(--gradient); color: #fff; box-shadow: 0 0 12px -2px rgba(139, 92, 246, .9); }
.header-contact + .skin-toggle { margin-left: -24px; }
/* Phones: one icon showing the skin a tap switches to, so the nav keeps its room. */
@media (max-width: 760px) {
  .brand-text, .nav a { white-space: nowrap; }
  .skin-toggle { padding: 2px; }
  .skin-toggle-night { display: none; }
  .skin-toggle-day { color: var(--ink); }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .nav a { padding: 8px 6px; font-size: 12px; }
  .nav a.active::after { left: 6px; right: 6px; }
}
/* Three nav links on the smallest phones: keep the logo, drop the brand text. */
@media (max-width: 380px) {
  .header-inner:has(.nav a[data-tools-only]:not([hidden])) .brand-text { display: none; }
}
