:root {
  --ink: #10140f;
  --paper: #f4f1e8;
  --paper-deep: #e6e0d1;
  --lime: #c8ff36;
  --lime-dark: #91c000;
  --cyan: #57dce5;
  --cyan-dark: #0d909a;
  --violet: #8d7bf7;
  --muted: #5d625b;
  --line: #c9c5b9;
  --white: #fffefa;
  --shadow: 8px 8px 0 rgba(16, 20, 15, .13);
  --radius: 18px;
  --font-sans: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

/* 音乐入口为静态介绍，不在主站公开播放状态或调用点歌 API。 */
.music-entry { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 28px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #e7e2fb; }
.music-entry-mark { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--ink); border-radius: 18px; background: var(--ink); color: #b8aaff; font-size: 2.7rem; }
.music-entry h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.25; }
.music-entry-copy { max-width: 760px; }
.music-entry-copy p { margin: 8px 0; }
.music-entry-copy .kicker { margin-top: 0; }
.music-entry-note { color: #555062; font-size: .88rem; }
.site-header .music-home-nav { gap: clamp(12px, 1.8vw, 28px); }
.site-header .music-home-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
@media (min-width: 741px) and (max-width: 1100px) { .site-header .music-home-nav { max-width: 65%; flex-wrap: wrap; justify-content: flex-end; gap: 0 16px; padding: 0; } }
@media (max-width: 980px) { .music-entry { grid-template-columns: 64px minmax(0, 1fr); } .music-entry-mark { width: 64px; height: 64px; } .music-entry > .button { grid-column: 2; justify-self: start; } }
@media (max-width: 520px) { .music-entry { grid-template-columns: minmax(0, 1fr); gap: 20px; } .music-entry > .button { grid-column: 1; justify-self: stretch; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16,20,15,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,20,15,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }
.clipboard-fallback { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; }

kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: .05em .38em;
  border: 1px solid #a8aca5;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: .84em;
  line-height: 1.5;
  text-align: center;
}

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

button { font: inherit; }

code {
  display: inline-block;
  padding: .08em .38em;
  border: 1px solid rgba(16,20,15,.16);
  border-radius: 5px;
  background: rgba(255,255,255,.66);
  font-family: var(--font-mono);
  font-size: .9em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transition: top .2s;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(244,241,232,.18);
  background: rgba(16, 20, 15, .95);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
}

.brand b { color: var(--lime); }

.brand-mark {
  display: flex;
  align-items: end;
  gap: 2px;
  width: 23px;
  height: 18px;
}

.brand-mark i {
  width: 4px;
  border-radius: 2px;
  background: var(--lime);
}

.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 11px; }
.brand-mark i:nth-child(4) { height: 18px; }

.site-header nav { display: flex; gap: 28px; }

.site-header nav a {
  color: #c9cec6;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--lime); }
.mobile-jump { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(70px, 9vw, 132px) clamp(20px, 7vw, 110px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.hero::before {
  content: "VOICE";
  position: absolute;
  right: -4vw;
  top: 4vh;
  color: rgba(244,241,232,.035);
  font-size: clamp(10rem, 27vw, 27rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .8;
  pointer-events: none;
}

.hero-copy, .quick-panel { position: relative; z-index: 1; }

.eyebrow, .kicker {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { color: #bac2b7; }

.eyebrow span {
  display: inline-block;
  width: 36px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--lime);
}

.hero h1 {
  max-width: 770px;
  margin: 0 0 28px;
  font-size: 6rem;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .91;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.lede {
  max-width: 660px;
  margin: 0;
  color: #c8cec4;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-device-note { max-width: 660px; margin: 18px 0 0; color: #c8cec4; font-size: .9rem; }
.hero-device-note a { color: var(--paper); text-underline-offset: 3px; }

.hero-actions, .guide-actions, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:focus-visible, .copy-button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.button.primary { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.button.primary:hover { box-shadow: 0 7px 0 rgba(200,255,54,.2); }
.button.ghost { border-color: #777f75; background: transparent; color: var(--paper); }
.button.ghost:hover { border-color: var(--paper); }
.button.dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.button.outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.small { min-height: 44px; padding: 9px 16px; font-size: .9rem; }

.live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-top: 42px;
  color: #aab2a7;
  font-family: var(--font-mono);
  font-size: .72rem;
}

.live-row span { display: inline-flex; align-items: center; gap: 8px; }
.live-row .updated { margin-left: auto; }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
.dot.lime { background: var(--lime); }
.dot.cyan { background: var(--cyan); }

.quick-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #4e554d;
  border-radius: 2px;
  background: rgba(28, 34, 27, .92);
  box-shadow: 16px 16px 0 rgba(0,0,0,.25);
}

.panel-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.quick-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
}

.server-ticket {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0;
  padding: 17px;
  border-left: 5px solid;
  background: #f7f5ed;
  color: var(--ink);
}

.server-ticket.ts6-ticket { border-color: var(--cyan); }
.server-ticket.ts3-ticket { border-color: var(--lime); }

.version-tag {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.version-tag span { color: var(--muted); }
.server-ticket strong { display: block; font-family: var(--font-mono); font-size: clamp(.95rem, 2vw, 1.12rem); }
.server-ticket small { display: block; margin-top: 2px; color: var(--muted); }

.copy-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.copy-button:hover { background: var(--ink); color: var(--paper); }
.copy-button.copied { border-color: var(--cyan-dark); background: var(--cyan); color: var(--ink); }
.button.copied { border-color: var(--cyan-dark); background: var(--cyan); color: var(--ink); }
.copy-button.copied, .button.copied { transition: none; }

.mini-note { margin: 18px 0 0; color: #b9c0b6; font-size: .81rem; }

.quick-panel .mini-note { color: #d8dfd4; font-size: .9rem; line-height: 1.8; }
.quick-panel code {
  color: #10140f;
  background: #f4f1e8;
  border-color: #aab3a5;
  font-size: .95em;
  font-weight: 700;
}

.history-link {
  display: inline-block;
  margin-top: 18px;
  color: #c5ccc2;
  font-size: .78rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.section {
  padding: clamp(78px, 10vw, 140px) clamp(20px, 7vw, 110px);
}

.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.compact { margin-bottom: 32px; }
.kicker { color: var(--cyan-dark); }

.section-heading h2, .guide-intro h2, .cheatsheet h2 {
  margin: 0 0 16px;
  font-size: 3.6rem;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.section-heading p:last-child, .guide-intro > div > p:last-child { margin: 0; color: var(--muted); font-size: 1.06rem; }

.choice-section { background: var(--paper); }

.recommend-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 1180px;
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  background: var(--cyan);
}

.recommend-banner > span {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.recommend-banner strong { font-size: 1.05rem; }
.recommend-banner p { margin: 2px 0 0; font-size: .86rem; }
.recommend-banner a { font-weight: 850; text-underline-offset: 4px; }

.address-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 32px 0 14px;
}
.address-card { min-width: 0; padding: 26px; border: 1px solid var(--ink); border-top-width: 5px; background: var(--white); }
.download-address { border-top-color: #536951; }
.voice-address { border-top-color: var(--cyan-dark); }
.address-kind { font-size: .8rem; font-weight: 800; color: #4e5f4a; }
.address-card h3 { margin: 8px 0 14px; font-size: 1.45rem; line-height: 1.4; }
.address-value { display: block; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 1.35rem; }
.address-card p { margin: 14px 0 22px; color: #424840; }
.address-card .button { font-size: .88rem; }
.address-account-note { max-width: 1180px; margin: 14px 0 30px; padding: 14px 18px; border-left: 4px solid #536951; background: #e8eddf; font-size: .9rem; }

.server-ticket:focus-within { outline: 3px solid var(--cyan); outline-offset: 4px; }
.step:focus-within .step-index { background: #e3f0bc; }
.faq-list details[open] { background: rgba(255,255,255,.5); }
.faq-list details[open] summary { color: #096a72; }
.invite-card input:focus, .invite-card select:focus { outline: 3px solid var(--violet); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .button, .address-card, .server-ticket, .guide-contents a, .step-index { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
  .button:hover { transform: translateY(-2px); }
  .address-card:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 rgba(16,20,15,.1); }
  .server-ticket:hover { box-shadow: 0 0 0 3px var(--cyan); }
  .guide-contents a:hover { border-color: #667e2b; background: #e3f0bc; }
  .step:hover .step-index { background: #e3f0bc; }
  .ui-figure a:hover img { outline: 3px solid var(--cyan-dark); outline-offset: 3px; }
  .faq-list summary:hover { color: #096a72; }
}

.ts6-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  border: 1px solid var(--ink);
  background: var(--ink);
  gap: 1px;
}

.ts6-benefits > div {
  display: grid;
  min-height: 150px;
  padding: 24px;
  background: var(--white);
}

.ts6-benefits b { color: var(--cyan-dark); font-family: var(--font-mono); font-size: .8rem; }
.ts6-benefits strong { align-self: end; font-size: 1.2rem; }
.ts6-benefits span { color: var(--muted); font-size: .83rem; }

.legacy-inline {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin-top: 22px;
  padding: 24px;
  border: 1px dashed #777d75;
  background: rgba(255,255,255,.4);
}

.legacy-inline > div { max-width: 760px; }
.legacy-inline span { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.legacy-inline strong { display: block; margin-top: 6px; font-size: 1.1rem; }
.legacy-inline p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1180px;
}

.choice-card {
  position: relative;
  min-height: 430px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.choice-card.recommended { background: linear-gradient(145deg, #edffff, var(--white) 65%); }
.choice-card.classic { background: linear-gradient(145deg, #f7ffdf, var(--white) 65%); }

.choice-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.choice-number { font-family: var(--font-mono); font-size: 3.5rem; font-weight: 900; line-height: .8; opacity: .13; }
.pill { padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 850; }
.cyan-pill { background: var(--cyan); }
.lime-pill { background: var(--lime); }

.choice-card h3 { margin: 38px 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; line-height: 1; }
.choice-card > p { max-width: 540px; color: var(--muted); }

.feature-list { display: grid; gap: 7px; margin: 24px 0 30px; padding: 0; list-style: none; }
.feature-list li::before { content: "✓"; margin-right: 10px; font-weight: 900; }

.text-link { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link span { color: var(--cyan-dark); }

.address-warning {
  display: flex;
  gap: 18px;
  max-width: 1180px;
  margin-top: 42px;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  background: #fff4cf;
}

.warning-icon {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 900;
}

.address-warning p { margin: 3px 0 0; }

.guide-section { border-top: 1px solid var(--line); }
.guide-ts6 { background: #dff5f3; }
.guide-ts3 { background: #edf4d5; }

.language-help {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1240px;
  margin: -22px 0 34px;
  border: 1px solid rgba(16,20,15,.24);
  background: rgba(255,255,255,.55);
}

.language-help > div {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid rgba(16,20,15,.16);
}

.language-help > div:last-child { border-right: 0; }
.language-help span { display: block; overflow-wrap: anywhere; color: var(--muted); font-family: var(--font-mono); font-size: .6rem; font-weight: 900; }
.language-help b { display: block; margin-top: 3px; font-size: .83rem; }

.guide-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1240px;
  margin: 0 0 28px;
}
.guide-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(16,20,15,.25);
  background: rgba(255,255,255,.7);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.guide-contents a:hover, .guide-contents a:focus-visible { background: #e3f0bc; }
.device-help { max-width: 1240px; margin: 0 0 24px; padding: 20px 24px; border: 1px solid #80907a; border-left: 5px solid #536951; background: #f7faef; }
.device-help h3 { margin: 0 0 12px; font-size: 1.2rem; }
.device-help p { margin: 10px 0 0; }
.device-help summary { min-height: 44px; padding: 7px 0; font-weight: 800; cursor: pointer; }
.guide-input { display: block; width: 100%; max-width: 600px; min-height: 48px; margin: 10px 0 16px; padding: 10px 12px; border: 1px solid #848c80; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; }
.guide-input:focus, .ready-checklist input:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.tool-result { min-height: 1.7em; font-weight: 700; overflow-wrap: anywhere; }
.ready-checklist label { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 10px 0; cursor: pointer; }
.ready-checklist input { flex: 0 0 auto; width: 20px; height: 20px; margin: 4px 0 0; accent-color: #096a72; }
.invite-device-help { padding: 10px 18px; }

.invite-main { max-width: 920px; min-height: calc(100vh - 68px); margin: 0 auto; padding: 64px 22px; }
.invite-main h1 { margin: 0 0 18px; font-size: 2.5rem; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.2; }
.invite-card { margin: 30px 0; padding: 26px; border: 1px solid var(--line); background: var(--white); }
.invite-card h2 { margin-top: 0; }
.invite-card label { display: block; margin: 20px 0 8px; font-weight: 800; }
.invite-card select, .invite-card input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #848c80;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.invite-card input { font-family: var(--font-mono); }
.invite-card .inline-actions { margin-top: 12px; }
.invite-status { min-height: 1.8em; margin-top: 16px; font-weight: 700; overflow-wrap: anywhere; }
.invite-main [hidden] { display: none !important; }

.guide-intro {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: end;
  max-width: 1240px;
  margin-bottom: 54px;
}

.guide-intro > div:first-child { max-width: 760px; }
.guide-actions { justify-content: flex-end; margin-top: 0; }

.steps {
  display: grid;
  gap: 1px;
  max-width: 1240px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(16,20,15,.25);
  background: rgba(16,20,15,.25);
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  background: rgba(255,255,255,.72);
}

.step-index {
  display: grid;
  place-items: start center;
  padding-top: 34px;
  border-right: 1px solid rgba(16,20,15,.2);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 900;
}

.step-content { padding: 30px clamp(24px, 4vw, 56px) 38px; }
.step-content h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.step-content > p { max-width: 880px; margin: 0 0 15px; color: #424840; }

.substeps, .settings-list {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 18px 0;
  padding-left: 24px;
}

.substeps li, .settings-list li { padding-left: 5px; color: #3f463d; }

.translation-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.translation-line span {
  padding: 7px 10px;
  border: 1px solid rgba(16,20,15,.18);
  background: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 750;
}

.micro-flow, .check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0;
}
.micro-flow span, .check-row span {
  padding: 7px 10px;
  border: 1px solid rgba(16,20,15,.2);
  background: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 700;
}
.micro-flow i { font-style: normal; }

.tip {
  padding: 13px 16px;
  border-left: 4px solid var(--violet);
  background: rgba(141,123,247,.10);
  font-size: .9rem;
}

.ui-figure {
  max-width: 900px;
  margin: 26px 0 4px;
}
.ui-figure img {
  display: block;
  width: 100%;
  border: 1px solid rgba(16,20,15,.25);
  box-shadow: 7px 7px 0 rgba(16,20,15,.12);
}
.ui-figure figcaption { margin-top: 12px; color: var(--muted); font-size: .78rem; }

.legacy-note {
  max-width: 1240px;
  margin: -20px 0 36px;
  padding: 18px 22px;
  border-left: 5px solid #db8c22;
  background: #fff5dd;
}

.fine-print { font-size: .78rem; }

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 70px;
  align-items: center;
  min-height: 620px;
  padding: clamp(70px, 9vw, 125px) clamp(20px, 7vw, 110px);
  background: var(--ink);
  color: var(--paper);
}

.subpage-hero > div { max-width: 820px; }
.subpage-hero h1 {
  margin: 0 0 24px;
  font-size: 5rem;
  font-size: clamp(3.1rem, 6vw, 6.5rem);
  letter-spacing: -.065em;
  line-height: .94;
}
.subpage-hero h1 em { color: var(--lime); font-style: normal; }
.subpage-hero > div > p:last-of-type { max-width: 710px; color: #c7cec3; }
.compact-panel { max-width: 560px; }

.upgrade-cta {
  background: var(--cyan);
  text-align: center;
}
.upgrade-cta h2 { margin: 0 0 10px; font-size: 3rem; }
.upgrade-cta p { max-width: 600px; margin: 0 auto 24px; }

.sound-check { background: var(--ink); color: var(--paper); }
.sound-check .kicker { color: var(--lime); }
.sound-check .section-heading h2 { max-width: 840px; }

.sound-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #4b5149;
  background: #4b5149;
}
.sound-grid article { min-height: 250px; padding: 28px; background: #1c211b; }
.sound-icon {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.sound-grid h3 { margin: 35px 0 10px; font-size: 1.35rem; }
.sound-grid p { margin: 0; color: #b8c0b6; font-size: .92rem; }

.help-section { background: var(--paper); }
.troubleshoot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  max-width: 1240px;
}

.diagnostic-list { margin: 0; padding: 0; list-style: none; }
.diagnostic-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.diagnostic-list li:last-child { border-bottom: 1px solid var(--line); }
.diagnostic-list li > span { color: var(--cyan-dark); font-family: var(--font-mono); font-weight: 900; }
.diagnostic-list b { font-size: 1.05rem; }
.diagnostic-list p { margin: 3px 0 0; color: var(--muted); font-size: .92rem; }

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 19px 40px 19px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 16px;
  color: var(--cyan-dark);
  font-family: var(--font-mono);
  font-size: 1.4rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -3px 42px 22px 0; color: var(--muted); }

.cheatsheet {
  display: grid;
  grid-template-columns: .35fr .65fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.cheatsheet h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.connection-summary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.connection-summary article { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; }
.connection-summary h3 { margin: 0; font-size: 1.1rem; }
.connection-summary dt { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.connection-summary dd { margin: 2px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.connection-summary a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-underline-offset: 4px; }

.notice-section { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.notice-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.notice-heading h2, .notices-main h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.25; }
.notice-heading p { max-width: 720px; }
.notice-state { padding: 16px 20px; border: 1px solid var(--line); background: var(--white); color: var(--muted); }
.notice-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.notice-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-left: 5px solid var(--cyan-dark); background: var(--white); border-radius: 8px; }
.notice-title { display: block; margin: 0 0 8px; font-size: 1.2rem; line-height: 1.6; font-weight: 800; overflow-wrap: anywhere; }
.notice-title a { text-underline-offset: 4px; }
.notice-time { display: block; color: var(--muted); font-size: .9rem; }
.notice-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 20px 0; }
.notice-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-underline-offset: 4px; }
.notice-card summary { min-height: 44px; cursor: pointer; }
.notice-card summary:hover .notice-title, .notice-title a:hover { color: #08646b; }
.notice-toggle { display: inline-block; margin-top: 10px; color: #08646b; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.notices-main { min-height: 65vh; max-width: 1200px; margin: 0 auto; }
.notice-return { margin-top: 32px; }
.compatibility-section { border-top: 1px solid var(--line); background: var(--paper-deep); }
.compatibility-section h2 { max-width: 900px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.4; }
.compatibility-section p, .compatibility-section ol { max-width: 1000px; }
button:disabled { cursor: wait; opacity: .65; }

.site-footer { padding: 50px clamp(20px, 7vw, 110px) 24px; background: var(--ink); color: var(--paper); }
.footer-main { display: flex; justify-content: space-between; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid #3c423a; }
.footer-brand { color: var(--lime); font-family: var(--font-mono); font-size: .8rem; font-weight: 900; letter-spacing: .1em; }
.footer-main p { margin: 8px 0 0; color: #aeb5ac; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 25px; justify-content: flex-end; }
.footer-links a { color: #c9cec6; font-size: .85rem; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: #858d82; font-size: .75rem; }
.beian { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.beian img { width: 15px; height: 15px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .quick-panel { max-width: 660px; }
  .live-row .updated { margin-left: 0; }
  .subpage-hero { grid-template-columns: 1fr; gap: 38px; min-height: auto; }
  .guide-intro { display: block; }
  .guide-actions { justify-content: flex-start; margin-top: 28px; }
  .language-help { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .language-help > div:nth-child(3) { border-right: 0; }
  .sound-grid { grid-template-columns: repeat(2, 1fr); }
  .troubleshoot-layout { grid-template-columns: 1fr; }
  .cheatsheet { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .site-header { min-height: 60px; }
  .site-header nav { display: none; }
  .site-header .brand { gap: 8px; font-size: .7rem; letter-spacing: .04em; }
  .mobile-jump { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border: 1px solid #8c9b7c; border-radius: 5px; color: var(--lime); font-size: .8rem; font-weight: 800; text-decoration: none; }
  .guide-contents a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero { min-height: auto; padding-top: 68px; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 4.5rem); }
  .subpage-hero { padding-top: 70px; }
  .subpage-hero h1 { font-size: 3.3rem; }
  .recommend-banner { display: block; }
  .recommend-banner > div { margin: 13px 0; }
  .ts6-benefits { grid-template-columns: 1fr; }
  .address-guide { grid-template-columns: 1fr; }
  .legacy-inline { display: block; }
  .legacy-inline .button { margin-top: 18px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: auto; }
  .language-help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .language-help > div, .language-help > div:nth-child(3) { border-right: 1px solid rgba(16,20,15,.16); }
  .language-help > div:nth-child(even) { border-right: 0; }
  .guide-actions { display: grid; }
  .device-help { padding: 18px; }
  .step { grid-template-columns: 54px minmax(0, 1fr); }
  .step-index { padding-top: 28px; font-size: 1rem; }
  .step-content { padding: 25px 18px 30px; }
  .micro-flow i { transform: rotate(90deg); }
  .micro-flow { display: grid; grid-template-columns: 1fr; text-align: center; }
  .sound-grid { grid-template-columns: 1fr; }
  .footer-main, .footer-bottom { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 25px; }
  .footer-bottom .beian { margin-top: 12px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 2.5rem; font-size: clamp(2.5rem, 12vw, 3.25rem); line-height: 1.05; }
  .subpage-hero h1 { font-size: 2.1rem; font-size: clamp(2.1rem, 10vw, 3.3rem); line-height: 1.15; }
  .server-ticket { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .server-ticket strong { font-size: .9rem; }
  .server-ticket small { font-size: .72rem; }
  .copy-button { min-height: 44px; padding: 9px 12px; }
  .hero-actions, .inline-actions { display: grid; }
  .button { width: 100%; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step-index { display: block; padding: 10px 18px; border-right: 0; border-bottom: 1px solid rgba(16,20,15,.2); font-size: .9rem; }
  .step-index::before { content: "步骤 "; }
  .step-content { padding: 22px 16px 28px; }
  .ui-figure figcaption { font-size: .9rem; line-height: 1.7; }
  .invite-card { padding: 20px 16px; }
  .notice-card { padding: 20px 16px; }
  .notice-heading .inline-actions { width: 100%; }
}

/* 基础回退：旧版浏览器忽略高级效果时，内容仍保持顺序和可读性。 */
@supports not (display: grid) {
  .hero, .subpage-hero, .recommend-banner, .ts6-benefits, .choice-grid,
  .address-guide,
  .guide-intro, .steps, .step, .language-help, .sound-grid,
  .troubleshoot-layout, .cheatsheet { display: block; }
  .quick-panel, .compact-panel, .legacy-inline { margin-top: 32px; }
  .step-index { display: block; padding: 18px 24px; border-right: 0; border-bottom: 1px solid rgba(16,20,15,.2); }
  .language-help > div, .ts6-benefits > div, .sound-grid article { margin-bottom: 1px; }
  .address-card { margin-bottom: 20px; }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, .address-card:hover { transform: none; }
}
