/* =========================================================
   ai-tofai.cn · tofai 下载 / 对话连载指南
   视觉：墨黑 + 电光青 + 洋红 + 沙白，终端海报风，直角硬边
   ========================================================= */

:root {
  --ink: #080b10;
  --ink-2: #111722;
  --ink-3: #1a2230;
  --cyan: #22d3ee;
  --cyan-2: #7ef0ff;
  --cyan-deep: #0b7d92;
  --magenta: #ff2e88;
  --sand: #f3efe6;
  --sand-2: #eae4d7;
  --paper: #fbf8f2;
  --text: #10151d;
  --text-2: #39404e;
  --muted: #666c78;
  --line: rgba(16, 21, 29, 0.16);
  --line-2: rgba(16, 21, 29, 0.08);
  --line-d: rgba(126, 240, 255, 0.18);
  --wrap: 1160px;
  --hd: 58px;
  --dock: 62px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hd) + 12px);
}

body {
  margin: 0;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
  background: var(--sand);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, dl, dd, blockquote, figure, pre {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--cyan);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 进度 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
}

/* ---------- 动态背景 ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(760px 600px at 8% 6%, rgba(34, 211, 238, 0.12), transparent 68%),
    radial-gradient(680px 560px at 94% 40%, rgba(255, 46, 136, 0.09), transparent 70%),
    radial-gradient(620px 500px at 40% 96%, rgba(34, 211, 238, 0.1), transparent 72%),
    linear-gradient(168deg, #f7f3ea 0%, #f3efe6 52%, #ece6d9 100%);
}

.bg-spot {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(48px);
  animation: drift 36s ease-in-out infinite alternate;
}

.bg-a {
  width: 40vw;
  height: 34vw;
  left: -12vw;
  top: 18vh;
  background: rgba(34, 211, 238, 0.18);
}

.bg-b {
  width: 32vw;
  height: 28vw;
  right: -10vw;
  top: 52vh;
  background: rgba(255, 46, 136, 0.12);
  animation-duration: 44s;
  animation-delay: -10s;
}

.bg-c {
  width: 26vw;
  height: 22vw;
  left: 38vw;
  top: 78vh;
  background: rgba(34, 211, 238, 0.14);
  animation-duration: 50s;
  animation-delay: -22s;
}

@keyframes drift {
  from { transform: translate3d(-3%, 2%, 0) scale(1); }
  to { transform: translate3d(5%, -4%, 0) scale(1.16); }
}

.bg-grid {
  position: absolute;
  inset: -72px;
  background-image:
    linear-gradient(90deg, rgba(16, 21, 29, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(16, 21, 29, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 74%);
  animation: gridSlide 44s linear infinite;
}

@keyframes gridSlide {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.4'/></svg>");
}

/* ---------- 顶部细条 ---------- */
.rail {
  background: #05070b;
  color: rgba(126, 240, 255, 0.5);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(126, 240, 255, 0.1);
}

.rail-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.rail p {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-note {
  display: none;
  color: rgba(126, 240, 255, 0.28);
}

/* ---------- 吸顶导航 ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hd);
  background: rgba(243, 239, 230, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.hd.is-solid {
  background: rgba(251, 248, 242, 0.97);
  box-shadow: 0 10px 28px rgba(8, 11, 16, 0.12);
}

.hd-in {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--hd);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}

.brand-tile {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
}

.brand-tile img {
  width: 27px;
  height: 27px;
}

.brand-word {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.brand-word small {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hd-nav {
  display: none;
  gap: 18px;
}

.hd-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 5px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-2);
  text-decoration: none;
}

.hd-nav a::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 9px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.hd-nav a:hover::after {
  transform: scaleX(1);
}

.hd .hd-cta {
  display: none;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  flex: none;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease,
    color 0.14s ease, border-color 0.14s ease;
}

.btn-cyan {
  background: var(--cyan);
  color: #04141a;
  border-color: #04141a;
  box-shadow: 4px 4px 0 var(--magenta);
}

.btn-cyan:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--magenta);
}

.btn-cyan:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--magenta);
}

.btn-line {
  border-color: var(--text);
  color: var(--text);
}

.btn-line:hover {
  background: var(--text);
  color: var(--sand);
}

.hero .btn-line {
  border-color: rgba(234, 252, 255, 0.42);
  color: #eafcff;
}

.hero .btn-line:hover {
  background: #eafcff;
  border-color: #eafcff;
  color: var(--ink);
}

.btn-xl {
  min-height: 52px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #eafcff;
  padding: 26px 0 0;
  background:
    radial-gradient(760px 560px at 84% 2%, rgba(34, 211, 238, 0.26), transparent 64%),
    radial-gradient(560px 460px at 2% 92%, rgba(255, 46, 136, 0.16), transparent 70%),
    linear-gradient(165deg, #0c121b 0%, #080b10 54%, #0d1622 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(126, 240, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(126, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  pointer-events: none;
}

.hero::after {
  content: "AI";
  position: absolute;
  right: -6vw;
  bottom: -8vw;
  font-size: 30vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(126, 240, 255, 0.16);
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  padding-bottom: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(126, 240, 255, 0.4);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan-2);
}

.eyebrow i {
  width: 6px;
  height: 6px;
  background: var(--magenta);
  animation: blip 1.8s ease-in-out infinite;
}

@keyframes blip {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(32px, 8.6vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.1em;
  background: var(--magenta);
}

.hero-lead {
  max-width: 34em;
  margin-bottom: 18px;
  color: rgba(234, 252, 255, 0.76);
  font-size: 14.5px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(126, 240, 255, 0.18);
  border-left: 1px solid rgba(126, 240, 255, 0.18);
}

.hero-facts div {
  padding: 9px 10px;
  border-right: 1px solid rgba(126, 240, 255, 0.18);
  border-bottom: 1px solid rgba(126, 240, 255, 0.18);
}

.hero-facts dt {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan-2);
}

.hero-facts dd {
  margin: 2px 0 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(234, 252, 255, 0.46);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 10px 10px 0 0;
}

.hero-code {
  position: absolute;
  right: 0;
  top: -12px;
  z-index: 4;
  padding: 1px 5px;
  background: #080b10;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(126, 240, 255, 0.55);
}

.hero-glow {
  position: absolute;
  left: 12%;
  right: -2%;
  bottom: -6%;
  height: 62%;
  background: radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.34), transparent 68%);
  filter: blur(24px);
  animation: pulseGlow 9s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.65; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.06); }
}

.hero-frame {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(126, 240, 255, 0.55);
  background: #0e1520;
  box-shadow: 10px 10px 0 rgba(255, 46, 136, 0.55);
}

.hero-frame img {
  width: 100%;
}

.chip {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid var(--cyan);
  background: #0a1018;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--cyan-2);
  box-shadow: 3px 3px 0 rgba(255, 46, 136, 0.4);
}

.chip b {
  display: block;
  font-size: 13px;
  color: #fff;
}

.chip span {
  color: rgba(126, 240, 255, 0.6);
}

.chip-a {
  left: -12px;
  top: 24%;
}

.chip-b {
  right: -8px;
  bottom: 22%;
}

.chip-c {
  left: 18px;
  bottom: -14px;
  border-color: var(--magenta);
  box-shadow: 3px 3px 0 rgba(34, 211, 238, 0.4);
}

.hero-edge {
  position: relative;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 34%, var(--magenta) 34%, var(--magenta) 62%, transparent 62%);
}

/* ---------- 信号条 ---------- */
.signals {
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cyan-2);
}

.signals-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  animation: signalsMove 50s linear infinite;
}

.signals-row i {
  display: block;
  width: 6px;
  height: 1px;
  background: var(--magenta);
}

@keyframes signalsMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 通用区块 ---------- */
.sec {
  position: relative;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.sec-index {
  position: absolute;
  right: 12px;
  top: 18px;
  font-family: var(--mono);
  font-size: clamp(56px, 16vw, 130px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 21, 29, 0.18);
  pointer-events: none;
}

.sec-head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.kicker {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan-deep);
}

.kicker::before {
  content: "// ";
  color: var(--magenta);
}

.sec h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 5.8vw, 35px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.sec h2 em {
  font-style: normal;
  color: var(--cyan-deep);
  background: linear-gradient(transparent 70%, rgba(34, 211, 238, 0.5) 70%);
  padding: 0 0.04em;
}

.sec-lead {
  max-width: 40em;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 01 三件事 ---------- */
.cards {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.card {
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan-deep);
}

.card::before {
  left: -1px;
  top: -1px;
  border-right: 0;
  border-bottom: 0;
}

.card::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(34, 211, 238, 0.7);
}

.card-tag {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--magenta);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 13.5px;
  color: var(--text-2);
}

.card-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.check {
  position: relative;
  padding: 18px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #eafcff;
}

.check-head h3 {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
}

.check-head p {
  margin-top: 5px;
  font-size: 12.5px;
  color: rgba(234, 252, 255, 0.5);
}

.check-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  color: rgba(234, 252, 255, 0.8);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  line-height: 16px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 10px;
  text-align: center;
}

/* ---------- 02 剧本 ---------- */
.sec-scripts {
  background: rgba(251, 248, 242, 0.55);
}

.script-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
}

.script-tab {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.script-tab:hover {
  border-color: var(--text);
}

.script-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cyan-2);
}

.scripts {
  display: grid;
  gap: 12px;
}

.script {
  display: grid;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.script[hidden] {
  display: none;
}

.script-name {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--magenta);
}

.script-dl {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.script-dl div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
}

.script-dl dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cyan-deep);
  padding-top: 2px;
}

.script-dl dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
}

.script-open {
  align-self: start;
  padding: 13px;
  border: 1px dashed var(--line);
  background: rgba(34, 211, 238, 0.07);
}

.script-label {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.script-open blockquote {
  margin-bottom: 11px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.62;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.copy-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.copy-btn.is-done {
  background: var(--cyan);
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------- 03 模型表 ---------- */
.sec-models {
  border-bottom-color: rgba(126, 240, 255, 0.2);
  background:
    radial-gradient(620px 460px at 92% 4%, rgba(34, 211, 238, 0.16), transparent 66%),
    linear-gradient(160deg, #0b1119 0%, #080b10 58%, #0c141f 100%);
  color: #eafcff;
}

.sec-models .sec-index {
  -webkit-text-stroke-color: rgba(126, 240, 255, 0.16);
}

.sec-models .kicker {
  color: var(--cyan);
}

.sec-models h2 em {
  color: var(--cyan);
  background: linear-gradient(transparent 70%, rgba(255, 46, 136, 0.55) 70%);
}

.sec-models .sec-lead {
  color: rgba(234, 252, 255, 0.6);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(126, 240, 255, 0.22);
  -webkit-overflow-scrolling: touch;
}

.mt {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mt caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mt thead th {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(126, 240, 255, 0.26);
  background: rgba(34, 211, 238, 0.1);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  color: var(--cyan-2);
  white-space: nowrap;
}

.mt tbody th,
.mt tbody td {
  padding: 12px;
  border-bottom: 1px solid rgba(126, 240, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.mt tbody tr:last-child th,
.mt tbody tr:last-child td {
  border-bottom: 0;
}

.mt tbody th {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.mt tbody td {
  color: rgba(234, 252, 255, 0.7);
}

.mt tbody td:last-child {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--cyan-2);
  white-space: nowrap;
}

.table-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(234, 252, 255, 0.5);
}

@media (max-width: 767px) {
  .table-wrap {
    overflow: visible;
    border: 0;
  }

  .mt,
  .mt tbody,
  .mt tr,
  .mt tbody th,
  .mt tbody td {
    display: block;
    width: 100%;
  }

  .mt thead {
    display: none;
  }

  .mt tbody tr {
    margin-bottom: 10px;
    padding: 4px 0 10px;
    border: 1px solid rgba(126, 240, 255, 0.22);
    background: rgba(34, 211, 238, 0.05);
  }

  .mt tbody th {
    padding: 12px 12px 8px;
    border-bottom: 1px dashed rgba(126, 240, 255, 0.18);
  }

  .mt tbody td {
    display: flex;
    gap: 8px;
    padding: 5px 12px 0;
    border: 0;
  }

  .mt tbody td::before {
    content: attr(data-label);
    flex: none;
    width: 58px;
    padding-top: 2px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.04em;
    color: rgba(126, 240, 255, 0.5);
  }

  .mt tbody td:last-child {
    white-space: normal;
  }

  .mt tbody tr:last-child th,
  .mt tbody tr:last-child td {
    border-bottom: 0;
  }
}

/* ---------- 04 七天 ---------- */
.road {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.road-item {
  position: relative;
  padding: 14px 0 14px 54px;
  border-bottom: 1px solid var(--line);
}

.road-day {
  position: absolute;
  left: 0;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 26px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.road-item h3 {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 900;
}

.road-item p {
  font-size: 13px;
  color: var(--text-2);
}

.mid-cta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.mid-title {
  font-size: 17px;
  font-weight: 900;
}

.mid-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 05 界面 ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px 6px;
}

.g-item {
  display: flex;
  flex-direction: column;
}

.g-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  cursor: zoom-in;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.g-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--cyan);
}

.g-btn img {
  width: 100%;
}

.g-item figcaption {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2);
}

.g-item figcaption span {
  margin-right: 5px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--magenta);
}

.g-item figcaption b {
  display: block;
  margin-bottom: 1px;
  font-size: 12.5px;
  color: var(--text);
}

/* ---------- 06 FAQ ---------- */
.sec-faq {
  background: rgba(251, 248, 242, 0.55);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 14px 34px 14px 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: var(--cyan-deep);
}

.faq[open] summary::after {
  content: "−";
  background: var(--cyan);
  border-color: var(--ink);
  color: var(--ink);
}

.faq p {
  padding: 0 26px 16px 0;
  font-size: 13.5px;
  color: var(--text-2);
}

/* ---------- 07 词 ---------- */
.words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.words a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12.5px;
  text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.words a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cyan-2);
}

/* ---------- 关于 ---------- */
.sec-about {
  padding-bottom: 46px;
}

.about-in {
  display: grid;
  gap: 14px;
}

.about-in h2 {
  font-size: clamp(22px, 5.2vw, 30px);
}

.about-body {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
}

.about-body b {
  color: var(--text);
}

.about-meta {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

/* ---------- 深色 CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: 40px 0 44px;
  background:
    radial-gradient(560px 420px at 88% 6%, rgba(34, 211, 238, 0.3), transparent 66%),
    radial-gradient(480px 360px at 6% 96%, rgba(255, 46, 136, 0.2), transparent 70%),
    linear-gradient(160deg, #0a1018 0%, #05080d 60%, #0b131e 100%);
  color: #fff;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(126, 240, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(126, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 76%);
  pointer-events: none;
}

.final-in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.final-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(126, 240, 255, 0.55);
}

.final h2 {
  font-size: clamp(26px, 6.6vw, 40px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.final-sub {
  max-width: 30em;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: rgba(234, 252, 255, 0.68);
}

.final-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(126, 240, 255, 0.42);
}

/* ---------- 页脚 ---------- */
.foot {
  padding: 30px 0 26px;
  background: #05080d;
  border-top: 1px solid rgba(126, 240, 255, 0.1);
  color: rgba(234, 252, 255, 0.62);
}

.foot-in {
  display: grid;
  gap: 14px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand .brand-tile {
  border-color: rgba(126, 240, 255, 0.22);
}

.foot-name {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.foot-desc {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(234, 252, 255, 0.4);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 12.5px;
  text-decoration: none;
  color: rgba(234, 252, 255, 0.7);
}

.foot-nav a:hover {
  color: var(--cyan);
}

.foot-note {
  padding-top: 13px;
  border-top: 1px solid rgba(126, 240, 255, 0.1);
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(234, 252, 255, 0.4);
}

.foot-copy {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(234, 252, 255, 0.32);
}

/* ---------- 底部下载条 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ink);
  background: rgba(251, 248, 242, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dock-txt {
  min-width: 0;
  margin-right: auto;
  line-height: 1.3;
}

.dock-txt b {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
}

.dock-txt span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}

.dock .btn {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

/* ---------- 抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  background: rgba(4, 7, 11, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.drawer[hidden] {
  display: none;
}

.drawer-card {
  width: 100%;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 2px solid var(--ink);
  animation: drawerUp 0.24s ease both;
}

@keyframes drawerUp {
  from { transform: translateY(18px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  margin-bottom: 14px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.drawer-nav a span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--magenta);
}

.drawer-note {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  text-align: center;
  color: var(--muted);
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 7, 11, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  border: 1px solid rgba(126, 240, 255, 0.3);
}

.lb-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(126, 240, 255, 0.5);
  background: rgba(126, 240, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 入场动画 ---------- */
.js .rv {
  opacity: 0;
  transform: translateY(14px);
}

.js .rv.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg-spot,
  .bg-grid,
  .signals-row,
  .eyebrow i,
  .hero-glow {
    animation: none !important;
  }

  .js .rv {
    opacity: 1;
    transform: none;
  }

  .btn,
  .card,
  .g-btn {
    transition: none;
  }
}

/* =========================================================
   断点
   ========================================================= */

@media (min-width: 420px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 560px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .card h3 {
    font-size: 20px;
  }

  .script {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: start;
    padding: 20px 18px;
  }

  .check {
    padding: 20px 18px;
  }

  .check-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 0 26px;
  }

  .mid-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 20px 18px;
  }

  .about-in {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
}

@media (min-width: 768px) {
  :root {
    --hd: 66px;
    --dock: 0px;
  }

  body {
    padding-bottom: 0;
  }

  .wrap {
    padding: 0 26px;
  }

  .rail-note {
    display: block;
  }

  .hd-nav {
    display: flex;
  }

  .hd .hd-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .burger {
    display: none;
  }

  .dock {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-in {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 32px;
    padding-bottom: 46px;
  }

  .hero-visual {
    max-width: 330px;
  }

  .hero h1 {
    font-size: clamp(40px, 4.8vw, 54px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-facts dt {
    font-size: 14.5px;
  }

  .sec {
    padding: 58px 0;
  }

  .sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    grid-template-areas:
      "kick lead"
      "title lead";
    column-gap: 36px;
    align-items: end;
    margin-bottom: 30px;
  }

  .sec-head .kicker {
    grid-area: kick;
  }

  .sec-head h2 {
    grid-area: title;
    margin-bottom: 0;
  }

  .sec-head .sec-lead {
    grid-area: lead;
    padding-bottom: 3px;
    font-size: 14.5px;
  }

  .sec-index {
    top: 34px;
    right: 26px;
  }

  .card {
    padding: 22px 20px 18px;
  }

  .check-list {
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
  }

  .script-tabs {
    margin: 0 0 16px;
    padding: 0;
  }

  .road-item:last-child {
    grid-column: span 2;
  }

  .script {
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 24px 22px;
    gap: 24px;
  }

  .script-dl div {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .mt {
    font-size: 13.5px;
  }

  .mt thead th {
    padding: 12px 16px;
  }

  .mt tbody th,
  .mt tbody td {
    padding: 14px 16px;
  }

  .road {
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid var(--ink);
  }

  .road-item {
    padding: 18px 16px 20px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--ink);
    border-bottom: 0;
  }

  .road-day {
    position: static;
    display: inline-grid;
    margin-bottom: 10px;
  }

  .gallery {
    gap: 16px;
    padding: 0 26px;
  }

  .g-item figcaption {
    font-size: 12.5px;
  }

  .faq summary {
    padding: 16px 40px 16px 0;
    font-size: 15.5px;
  }

  .faq summary::after {
    top: 14px;
  }

  .faq p {
    padding-right: 60px;
    font-size: 14px;
  }

  .final {
    padding: 58px 0 62px;
  }

  .foot {
    padding: 36px 0 30px;
  }

  .foot-in {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    row-gap: 18px;
  }

  .foot-nav {
    justify-content: flex-end;
  }

  .foot-note,
  .foot-copy {
    grid-column: 1 / -1;
  }

  .foot-note {
    max-width: 62em;
  }
}

@media (min-width: 1000px) {
  .hero-in {
    gap: 52px;
  }

  .hero-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-visual {
    max-width: 344px;
  }

  .script {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}
