:root {
    --paper: #f7f6f2;
    --white: #ffffff;
    --ink: #111113;
    --ink-2: #3c3c43;
    --ink-3: #6e6e78;
    --ink-4: #9b9ba4;
    --line: rgba(17, 17, 19, 0.09);
    --line-soft: rgba(17, 17, 19, 0.06);
    --dark: #0c0c0e;
    --dark-card: #151517;
    --dark-line: rgba(255, 255, 255, 0.1);
    --w-92: rgba(255, 255, 255, 0.92);
    --w-60: rgba(255, 255, 255, 0.6);
    --w-40: rgba(255, 255, 255, 0.4);
    --red: #c7000b;
    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
      "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --shadow-card: 0 1px 2px rgba(17, 17, 19, 0.04), 0 12px 40px rgba(17, 17, 19, 0.06);
    --shadow-frame: 0 2px 6px rgba(17, 17, 19, 0.05), 0 32px 80px rgba(17, 17, 19, 0.1);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  img, video { display: block; max-width: 100%; }
  button { font-family: inherit; }

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

  .wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
  .wrap-narrow { width: min(880px, calc(100% - 48px)); margin: 0 auto; }

  /* ---------- reveal ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  }

  /* ---------- announce ---------- */
  .announce {
    background: var(--dark);
    color: var(--w-60);
    font-size: 13px;
    text-align: center;
    padding: 9px 16px;
    letter-spacing: 0.01em;
  }
  .announce a { color: var(--w-92); border-bottom: 1px solid var(--dark-line); padding-bottom: 1px; transition: border-color 0.2s; }
  .announce a:hover { border-color: var(--w-92); }

  /* ---------- nav ---------- */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 246, 242, 0.82);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 24px;
  }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  .nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; color: var(--ink-3); }
  .nav-links a { transition: color 0.2s; }
  .nav-links a:hover { color: var(--ink); }

  /* 汉堡按钮:桌面隐藏,窄屏(≤860)由媒体查询显示 */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle-bar { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
  .nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 22px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, box-shadow 0.25s;
  }
  .pill:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17, 17, 19, 0.18); }
  .pill:active { transform: translateY(0); }
  .pill.sm { padding: 8px 18px; font-size: 13.5px; }
  .pill.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
  }
  .pill.ghost:hover { background: var(--white); border-color: rgba(17, 17, 19, 0.2); }
  .pill.light { background: #fff; color: var(--ink); }
  .pill.light:hover { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }

  /* ---------- hero ---------- */
  .hero { padding: 96px 0 64px; text-align: center; position: relative; }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-3);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 34px;
  }
  .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2.2s infinite; }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(199, 0, 11, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(199, 0, 11, 0); }
  }

  h1 {
    font-size: clamp(40px, 6.6vw, 78px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 auto;
    max-width: 13em;
  }
  h1 .soft { color: var(--ink-4); }

  .hero-sub {
    margin: 30px auto 0;
    max-width: 620px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.85;
    color: var(--ink-3);
  }
  .hero-sub strong { color: var(--ink-2); font-weight: 600; }
  .hero-lede {
    margin: 14px auto 0;
    max-width: 540px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--ink-4);
  }

  .hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

  /* hold-to-speak demo */
  .try-voice { margin: 52px auto 0; max-width: 760px; }
  .try-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink-3);
    margin-bottom: 18px;
  }
  .keycap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: linear-gradient(180deg, #fff, #f1f0ec);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 5px 14px;
    box-shadow: 0 2px 0 rgba(17, 17, 19, 0.12);
    letter-spacing: 0.04em;
  }
  .try-stage {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-frame);
    padding: 0 0 22px;
    text-align: left;
    overflow: hidden;
  }
  .try-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, #fcfcfb, #f8f7f4);
  }
  .chrome-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .chrome-brand img { width: 18px; height: 18px; border-radius: 5px; }
  .mode-tabs { display: flex; gap: 4px; }
  .mode-tabs span {
    font-size: 12px; font-weight: 600; color: var(--ink-4);
    padding: 4px 12px; border-radius: 999px;
  }
  .mode-tabs span.active { background: var(--ink); color: #fff; }
  .try-line {
    min-height: 86px;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--ink-2);
    padding: 22px 24px 0;
  }
  .try-line .placeholder { color: var(--ink-4); }
  .try-line .raw { color: var(--ink-3); }
  .try-line .polished { color: var(--ink); font-weight: 500; }
  .caret {
    display: inline-block; width: 2px; height: 1.1em; background: var(--red);
    vertical-align: -0.18em; margin-left: 2px; animation: blink 1s steps(1) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  .try-controls { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 0 24px; }
  .voice-key {
    flex: 1;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    padding: 15px 20px;
    font-size: 15.5px;
    font-weight: 700;
    color: #fff;
    background: var(--ink);
    letter-spacing: 0.06em;
    transition: background 0.2s, transform 0.15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
  }
  .voice-key:hover { background: #000; }
  .voice-key.recording { background: var(--red); transform: scale(0.985); }
  .wave { display: flex; align-items: center; gap: 3px; height: 26px; min-width: 64px; }
  .wave i {
    width: 3px; height: 6px; border-radius: 2px;
    background: var(--ink-4); opacity: 0.5;
    transition: height 0.2s;
  }
  .wave.on i { background: var(--red); opacity: 1; animation: wave 0.9s ease-in-out infinite; }
  .wave i:nth-child(2) { animation-delay: 0.1s; }
  .wave i:nth-child(3) { animation-delay: 0.2s; }
  .wave i:nth-child(4) { animation-delay: 0.3s; }
  .wave i:nth-child(5) { animation-delay: 0.4s; }
  .wave i:nth-child(6) { animation-delay: 0.5s; }
  .wave i:nth-child(7) { animation-delay: 0.25s; }
  .wave i:nth-child(8) { animation-delay: 0.15s; }
  @keyframes wave { 0%, 100% { height: 6px; } 50% { height: 22px; } }
  .try-note { font-size: 12.5px; color: var(--ink-4); margin-top: 14px; padding: 0 24px; }
  .try-note em { font-style: normal; color: var(--red); font-weight: 600; }

  /* hero metrics */
  .hero-metrics {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 72px auto 0;
    max-width: 760px;
    border-top: 1px solid var(--line-soft);
    padding-top: 30px;
  }
  .metric { flex: 1; padding: 0 24px; }
  .metric + .metric { border-left: 1px solid var(--line-soft); }
  .metric strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .metric span { display: block; font-size: 13px; color: var(--ink-4); margin-top: 5px; line-height: 1.6; }

  /* ---------- section scaffolding ---------- */
  section { padding: 130px 0; }
  .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 22px;
  }
  .kicker::before { content: ""; width: 18px; height: 1px; background: var(--red); }
  h2 {
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -0.022em;
    max-width: 17em;
  }
  .lede { margin-top: 22px; max-width: 540px; font-size: 16px; line-height: 1.85; color: var(--ink-3); }

  .center { text-align: center; }
  .center h2, .center .lede { margin-left: auto; margin-right: auto; }
  .center .kicker::before { display: none; }
  .center .kicker::after { display: none; }

  /* ---------- speed ---------- */
  .speed { padding-top: 110px; }
  .speed-board {
    margin-top: 64px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    padding: clamp(28px, 5vw, 56px);
  }
  .speed-row { display: grid; grid-template-columns: 150px 1fr 110px; align-items: center; gap: 20px; }
  .speed-row + .speed-row { margin-top: 30px; }
  .speed-label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
  .speed-label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-4); margin-top: 2px; }
  .bar-track { position: relative; height: 46px; background: var(--paper); border-radius: 12px; overflow: hidden; }
  .bar {
    position: absolute; inset: 0 auto 0 0; width: 0;
    border-radius: 12px;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
  }
  .bar.voice { background: var(--ink); }
  .bar.type { background: #d9d7d0; transition-delay: 0.35s; }
  .speed-board.bars-go .bar.voice { width: 100%; }
  .speed-board.bars-go .bar.type { width: 20%; }
  .speed-num { font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .speed-num small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-4); letter-spacing: 0; }
  .speed-foot { margin-top: 28px; font-size: 12.5px; color: var(--ink-4); }

  .quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
  .quick {
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 26px 24px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  }
  .quick:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
  .quick strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
  .quick span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 7px; line-height: 1.65; }
  .quick .dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-bottom: 18px; }
  .quick:nth-child(2) .dot { background: var(--ink); }
  .quick:nth-child(3) .dot { background: var(--ink-4); }
  .quick:nth-child(4) .dot { background: #d9d7d0; }

  /* ---------- download ---------- */
  .download { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .dl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
  .dl-head .lede { margin-top: 18px; }
  .dl-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 56px; }
  .dl-card {
    border-radius: var(--r-lg);
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    position: relative;
    overflow: hidden;
  }
  .dl-card.primary { background: var(--dark); color: var(--w-92); }
  .dl-card.primary::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 320px; height: 320px;
    background: radial-gradient(closest-side, rgba(199, 0, 11, 0.32), transparent 70%);
    pointer-events: none;
  }
  .dl-card.secondary { background: var(--paper); border: 1px solid var(--line); }
  .dl-badge {
    align-self: flex-start;
    font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
    border-radius: 999px; padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12); color: var(--w-92);
  }
  .dl-card.secondary .dl-badge { background: rgba(17, 17, 19, 0.06); color: var(--ink-2); }
  .dl-card h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin-top: 26px; }
  .dl-card p { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--w-60); max-width: 420px; }
  .dl-card.secondary p { color: var(--ink-3); }
  .dl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
  .dl-tags span {
    font-size: 12.5px; color: var(--w-60);
    border: 1px solid var(--dark-line); border-radius: 999px; padding: 5px 12px;
  }
  .dl-card.secondary .dl-tags span { color: var(--ink-3); border-color: var(--line); }
  .dl-cta { margin-top: auto; padding-top: 30px; }
  .coming { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
  .coming-card {
    border: 1px dashed var(--line);
    border-radius: var(--r-md);
    padding: 20px 24px;
    display: flex; align-items: baseline; gap: 12px;
  }
  .coming-card strong { font-size: 15px; font-weight: 700; }
  .coming-card span { font-size: 13px; color: var(--ink-4); }

  /* ---------- scenes (chapters) ---------- */
  .chapter { padding: 130px 0; }
  .chapter.dark { background: var(--dark); color: var(--w-92); }
  .chapter.dark .kicker { color: var(--w-40); }
  .chapter.dark .lede { color: var(--w-60); }
  .chapter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
  .chapter-index { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-4); }
  .chapter.dark .chapter-index { color: var(--w-40); }
  .chapter-media {
    margin-top: 56px;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-frame);
    background: var(--white);
  }
  .chapter.dark .chapter-media { border-color: var(--dark-line); background: var(--dark-card); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
  .chapter-media img { width: 100%; }
  .chapter-foot { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
  .tag-chip {
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink-2);
    background: var(--white);
  }
  .chapter.dark .tag-chip { border-color: var(--dark-line); color: var(--w-60); background: transparent; }
  .tag-chip.hot { border-color: rgba(199, 0, 11, 0.35); color: var(--red); }

  /* ---------- live scenario demos ---------- */
  .demo-shell { padding: clamp(22px, 4.5vw, 48px); display: flex; justify-content: center; }
  .demo-app {
    width: min(620px, 100%);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 18px 50px rgba(17, 17, 19, 0.08);
  }
  .chapter.dark .demo-app {
    background: #1a1a1d;
    border-color: var(--dark-line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
  .demo-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line-soft);
  }
  .chapter.dark .demo-head { border-color: var(--dark-line); }
  .demo-title { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .chapter.dark .demo-title { color: var(--w-60); }
  .demo-badge {
    font-size: 11px; font-weight: 600; color: var(--red);
    border: 1px solid rgba(199, 0, 11, 0.3);
    border-radius: 999px; padding: 3px 10px;
  }
  .demo-chat { padding: 18px; min-height: 216px; display: flex; flex-direction: column; gap: 10px; }
  .dbubble {
    max-width: 85%;
    font-size: 13.5px; line-height: 1.65;
    padding: 9px 13px; border-radius: 13px;
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .dbubble.in { align-self: flex-start; background: var(--paper); color: var(--ink-2); border-bottom-left-radius: 4px; }
  .chapter.dark .dbubble.in { background: rgba(255, 255, 255, 0.07); color: var(--w-60); }
  .dbubble.out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
  .chapter.dark .dbubble.out { background: #fff; color: var(--ink); }
  @keyframes dpop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
  .dcard {
    border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .chapter.dark .dcard { border-color: var(--dark-line); }
  .dcard strong { display: block; font-size: 13px; font-weight: 600; }
  .chapter.dark .dcard strong { color: var(--w-92); }
  .dcard p { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.7; }
  .chapter.dark .dcard p { color: var(--w-60); }
  .dchips { display: flex; gap: 6px; margin-top: 10px; }
  .dchips span {
    font-size: 11px; font-weight: 600; color: var(--ink-3);
    border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
  }
  .chapter.dark .dchips span { color: var(--w-60); border-color: var(--dark-line); }
  .demo-input {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--line-soft);
  }
  .chapter.dark .demo-input { border-color: var(--dark-line); }
  .demo-line { flex: 1; min-height: 40px; display: flex; align-items: center; font-size: 13.5px; line-height: 1.6; }
  .demo-line .placeholder { color: var(--ink-4); }
  .chapter.dark .demo-line .placeholder { color: var(--w-40); }
  .demo-line .draw { color: var(--ink-3); }
  .chapter.dark .demo-line .draw { color: var(--w-60); }
  .demo-line .dpol { color: var(--ink); font-weight: 500; }
  .chapter.dark .demo-line .dpol { color: var(--w-92); }
  .dcaret {
    display: inline-block; width: 2px; height: 1.05em; background: var(--red);
    vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite;
  }
  .demo-mic { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-4); opacity: 0.5; flex-shrink: 0; transition: background 0.2s, opacity 0.2s; }
  .demo-mic.on { background: var(--red); opacity: 1; animation: pulse 1.6s infinite; }

  /* ---------- tutorial player ---------- */
  .player { margin-top: 64px; display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  .player-list { display: flex; flex-direction: column; gap: 4px; }
  .pitem {
    display: flex; gap: 16px; align-items: flex-start; text-align: left;
    padding: 15px 18px; cursor: pointer; font-family: inherit;
    background: transparent; border: 1px solid transparent; border-radius: 14px;
    transition: background 0.25s, box-shadow 0.25s;
  }
  .pitem:hover { background: rgba(17, 17, 19, 0.03); }
  .pitem .pnum { font-size: 12px; font-weight: 600; color: var(--ink-4); padding-top: 3px; font-variant-numeric: tabular-nums; }
  .pitem strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
  .pitem small { display: block; font-size: 12.5px; color: var(--ink-4); margin-top: 3px; line-height: 1.6; }
  .pitem.active { background: var(--white); border-color: var(--line-soft); box-shadow: var(--shadow-card); }
  .pitem.active .pnum { color: var(--red); }
  .pitem.active strong { color: var(--ink); }
  .player-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .tut-steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; min-height: 26px; }
  .tut-steps span {
    font-size: 11.5px; font-weight: 600; color: var(--ink-4);
    background: var(--white); border: 1px solid var(--line-soft);
    border-radius: 999px; padding: 4px 11px; transition: all 0.3s;
  }
  .tut-steps span.on { color: #fff; background: var(--ink); border-color: var(--ink); }

  .phone {
    width: 300px; background: #131316; border-radius: 42px; padding: 10px;
    border: 1px solid #2a2a2e;
    box-shadow: 0 30px 80px rgba(17, 17, 19, 0.18);
  }
  .phone-screen { background: var(--paper); border-radius: 32px; height: 560px; display: flex; flex-direction: column; overflow: hidden; }
  .phone-status { display: flex; justify-content: space-between; padding: 12px 18px 6px; font-size: 11px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
  .phone-status .pdots { display: flex; gap: 3px; align-items: center; }
  .phone-status .pdots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); }
  .phone-app, .papp { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
  .papp-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); }
  .papp-title { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .papp-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-height: 0; }
  .papp .demo-input { margin-top: auto; background: var(--white); }

  .rel { position: relative; }
  .ptap {
    position: absolute; left: 50%; top: 50%;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(199, 0, 11, 0.35); pointer-events: none;
    animation: ptap 0.5s ease-out forwards;
  }
  @keyframes ptap {
    from { transform: translate(-50%, -50%) scale(0.4); opacity: 0.9; }
    to { transform: translate(-50%, -50%) scale(1.7); opacity: 0; }
  }

  .pcard {
    display: flex; align-items: center; gap: 10px;
    background: var(--white); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px;
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pcard img { width: 34px; height: 34px; border-radius: 9px; }
  .pcard strong { display: block; font-size: 13px; font-weight: 600; }
  .pcard small { display: block; font-size: 11px; color: var(--ink-4); margin-top: 1px; }
  .pcard .pbtn { margin-left: auto; }
  .pbtn {
    border: none; cursor: pointer; font-family: inherit;
    background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600;
    border-radius: 999px; padding: 6px 14px; transition: opacity 0.2s;
  }
  .pbtn.busy { opacity: 0.6; }

  .prow {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--white); border: 1px solid var(--line-soft); border-radius: 12px;
    padding: 11px 14px; font-size: 13px; color: var(--ink-2);
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .prow.dim { opacity: 0.55; }
  .pswitch { width: 38px; height: 22px; border-radius: 999px; background: #d9d7d0; position: relative; transition: background 0.3s; flex-shrink: 0; }
  .pswitch i { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.3s; }
  .pswitch.on { background: var(--red); }
  .pswitch.on i { left: 18px; }
  .pwdots { letter-spacing: 3px; color: var(--ink-3); }

  .pdialog {
    align-self: center; width: 86%; margin-top: 14px;
    background: var(--white); border: 1px solid var(--line-soft); border-radius: 16px;
    padding: 16px; box-shadow: 0 16px 40px rgba(17, 17, 19, 0.12);
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pdialog strong { display: block; font-size: 13.5px; font-weight: 600; text-align: center; }
  .pdialog p { font-size: 11.5px; color: var(--ink-4); text-align: center; margin-top: 6px; }
  .pdialog-btns { display: flex; gap: 8px; margin-top: 14px; }
  .pdialog-btns button {
    flex: 1; border: 1px solid var(--line); background: transparent;
    font-family: inherit; font-size: 12px; font-weight: 600; color: var(--ink-3);
    border-radius: 999px; padding: 7px 0; cursor: pointer;
  }
  .pdialog-btns button.ok { background: var(--ink); border-color: var(--ink); color: #fff; }

  .pready {
    margin: 0 14px 14px; padding: 10px 14px;
    border: 1px solid var(--line-soft); border-radius: 12px; background: var(--white);
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--ink-3);
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pready img { width: 18px; height: 18px; border-radius: 5px; }

  .pbanner {
    padding: 10px 14px; border-radius: 12px; font-size: 12.5px; line-height: 1.6;
    border: 1px solid var(--line-soft); background: var(--white); color: var(--ink-3);
    animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .pbanner.warn { color: var(--red); border-color: rgba(199, 0, 11, 0.3); background: rgba(199, 0, 11, 0.04); }

  .pmemo {
    background: var(--white); border: 1px solid var(--line-soft); border-radius: 12px;
    padding: 13px 15px; min-height: 64px; font-size: 14px; line-height: 1.7; color: var(--ink);
  }
  .pplay { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); margin-top: 4px; }

  .pkb { margin-top: auto; background: #e6e5e0; padding: 6px 6px 10px; transition: background 0.45s; }
  .pkb-cand { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
  .pkb-buf { font-size: 12px; color: var(--ink-3); letter-spacing: 1px; }
  .pkb-word { font-size: 12.5px; background: #fff; border-radius: 8px; padding: 2px 10px; color: var(--ink-2); transition: background 0.45s, color 0.45s; }
  .pkb-word.dim { opacity: 0.5; }
  .pkb-row { display: flex; gap: 4px; justify-content: center; margin-top: 4px; }
  .pkb-key {
    width: 25px; height: 36px; border-radius: 6px; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11.5px; color: var(--ink-2);
    transition: background 0.2s, color 0.2s, transform 0.2s;
  }
  .pkb-key.hit { background: var(--red); color: #fff; transform: scale(1.12); }
  .pkb-space { height: 32px; margin: 6px 44px 0; border-radius: 8px; background: #fff; transition: background 0.45s; }
  .pkb.skin-grey { background: #cdced2; }
  .pkb.skin-grey .pkb-key, .pkb.skin-grey .pkb-space, .pkb.skin-grey .pkb-word { background: #e4e5e9; color: #2c2c30; }
  .pkb.skin-classic { background: #e6ddc4; }
  .pkb.skin-classic .pkb-key, .pkb.skin-classic .pkb-space, .pkb.skin-classic .pkb-word { background: #f8f2e1; color: #50483a; }
  .pkb.skin-dark { background: #17171a; }
  .pkb.skin-dark .pkb-key, .pkb.skin-dark .pkb-space, .pkb.skin-dark .pkb-word { background: #2a2a30; color: #e8e8ec; }
  .pskins { display: flex; gap: 8px; }
  .pskin {
    flex: 1; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--white);
    padding: 8px 4px; font-size: 11px; color: var(--ink-3); text-align: center;
  }
  .pskin .dot { display: block; width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 5px; border: 1px solid var(--line); }

  /* ---------- flow ---------- */
  .flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
  .fstep { padding: 34px 28px 8px 0; border-right: 1px solid var(--line-soft); padding-left: 28px; }
  .fstep:first-child { padding-left: 0; }
  .fstep:last-child { border-right: none; }
  .fstep em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-4); }
  .fstep h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-top: 14px; }
  .fstep p { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.75; }

  /* ---------- features ---------- */
  .features { background: var(--dark); color: var(--w-92); }
  .features .kicker { color: var(--w-40); }
  .features .lede { color: var(--w-60); }
  .feature-list { margin-top: 70px; border-top: 1px solid var(--dark-line); }
  .frow {
    display: grid;
    grid-template-columns: 110px 1fr 1.1fr;
    gap: 32px;
    padding: 34px 0;
    border-bottom: 1px solid var(--dark-line);
    align-items: baseline;
    transition: background 0.25s;
  }
  .frow:hover { background: rgba(255, 255, 255, 0.02); }
  .fnum { font-size: 14px; font-weight: 600; color: var(--w-40); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
  .fnum::before { content: "["; margin-right: 4px; }
  .fnum::after { content: "]"; margin-left: 4px; }
  .frow h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; letter-spacing: -0.015em; }
  .frow h3 small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--w-40); margin-bottom: 8px; }
  .frow p { font-size: 15px; color: var(--w-60); line-height: 1.8; }

  /* skins 区样式整体移至文件末尾(Pura X Max 实机展示) */

  /* ---------- pricing ---------- */
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; align-items: stretch; }
  .plan {
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
  }
  .plan.featured { background: var(--dark); color: var(--w-92); border-color: var(--dark); position: relative; }
  .plan-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-4); }
  .plan.featured .plan-label { color: var(--red); }
  .plan h3 { font-size: 21px; font-weight: 600; margin-top: 16px; letter-spacing: -0.01em; }
  .price { font-size: clamp(34px, 4vw, 42px); font-weight: 600; letter-spacing: -0.025em; margin-top: 14px; font-variant-numeric: tabular-nums; }
  .price small { font-size: 14px; font-weight: 500; color: var(--ink-4); letter-spacing: 0; }
  .plan.featured .price small { color: var(--w-40); }
  .plan > p { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
  .plan.featured > p { color: var(--w-60); }
  .plan ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
  .plan li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; }
  .plan.featured li { color: var(--w-60); }
  .plan li::before {
    content: ""; position: absolute; left: 0; top: 0.52em;
    width: 12px; height: 6px;
    border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg) scale(0.9); opacity: 0.7;
  }
  .plan-cta { margin-top: auto; padding-top: 34px; }
  .plan-cta .pill { width: 100%; justify-content: center; }

  .pricing-note {
    margin-top: 36px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-4);
  }
  .pricing-note strong { color: var(--ink-2); font-weight: 600; }

  /* ---------- privacy ---------- */
  .privacy { background: var(--dark); color: var(--w-92); position: relative; overflow: hidden; }
  .privacy::before {
    content: "";
    position: absolute;
    inset: -200px auto auto 50%;
    transform: translateX(-50%);
    width: 700px; height: 480px;
    background: radial-gradient(closest-side, rgba(199, 0, 11, 0.18), transparent 70%);
    pointer-events: none;
  }
  .privacy .kicker { color: var(--w-40); }
  .privacy .lede { color: var(--w-60); }
  .privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
  .privacy-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-line);
    border-radius: var(--r-md);
    padding: 28px;
  }
  .privacy-item strong { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
  .privacy-item span { display: block; font-size: 14px; color: var(--w-60); margin-top: 10px; line-height: 1.75; }

  /* ---------- feedback ---------- */
  .feedback-layout { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: clamp(32px, 5vw, 80px); margin-top: 24px; align-items: start; }
  .fb-mail { display: inline-block; margin-top: 26px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
  .fb-mail:hover { color: var(--red); border-color: var(--red); }
  .fb-form { display: grid; gap: 22px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 8px; }
  .field input, .field select, .field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
  }
  .field select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e78' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
  }
  .field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17, 17, 19, 0.07);
  }
  .field ::placeholder { color: var(--ink-4); }
  .submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .fb-status { font-size: 12.5px; color: var(--ink-4); }

  /* ---------- footer ---------- */
  footer { background: var(--dark); color: var(--w-92); padding: 130px 0 56px; position: relative; overflow: hidden; }
  footer::before {
    content: "";
    position: absolute;
    inset: auto auto -260px 50%;
    transform: translateX(-50%);
    width: 900px; height: 520px;
    background: radial-gradient(closest-side, rgba(199, 0, 11, 0.16), transparent 70%);
    pointer-events: none;
  }
  .foot-cta { text-align: center; }
  .foot-cta h2 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.025em; line-height: 1.1; max-width: none; }
  .foot-cta .pill { margin-top: 40px; padding: 14px 32px; font-size: 16px; }
  .foot-meta {
    margin-top: 110px;
    border-top: 1px solid var(--dark-line);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  .foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
  .foot-brand img { width: 26px; height: 26px; border-radius: 6px; }
  .foot-desc { margin-top: 16px; font-size: 13.5px; color: var(--w-40); max-width: 360px; line-height: 1.8; }
  .foot-links { display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
  .foot-col strong { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--w-40); margin-bottom: 16px; }
  .foot-col a, .foot-col span { display: block; font-size: 14px; color: var(--w-60); margin-bottom: 11px; transition: color 0.2s; }
  .foot-col a:hover { color: var(--w-92); }
  .foot-legal {
    margin-top: 56px;
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--w-40);
  }

  /* ---------- responsive ---------- */
  @media (max-width: 1020px) {
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-steps { grid-template-columns: repeat(2, 1fr); }
    .fstep { padding: 28px 20px 12px 0; }
    .fstep:nth-child(2n) { border-right: none; }
    .fstep:nth-child(odd) { padding-left: 0; }
    .fstep:nth-child(even) { padding-left: 20px; }
    .player { grid-template-columns: 1fr; gap: 36px; }
    .player-list { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
    .pitem { min-width: 216px; flex-shrink: 0; }
    .frow { grid-template-columns: 80px 1fr; }
    .frow p { grid-column: 2; }
  }
  @media (max-width: 860px) {
    section, .chapter { padding: 88px 0; }
    /* 窄屏:导航收进汉堡抽屉,顶栏只留 logo + ☰ */
    .nav-toggle { display: flex; }
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 8px 0 14px;
      background: rgba(247, 246, 242, 0.97);
      backdrop-filter: blur(18px) saturate(1.4);
      -webkit-backdrop-filter: blur(18px) saturate(1.4);
      border-bottom: 1px solid var(--line-soft);
      box-shadow: 0 20px 40px rgba(17, 17, 19, 0.1);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }
    .nav.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 12px 24px; font-size: 16px; }
    .nav-links a.pill { margin: 12px 24px 2px; justify-content: center; }
    .nav-links .lang-dd { padding: 4px 24px; }
    .hero { padding: 64px 0 48px; }
    .hero-metrics { flex-direction: column; gap: 22px; padding-top: 26px; }
    .metric { padding: 0; }
    .metric + .metric { border-left: none; }
    .dl-grid { grid-template-columns: 1fr; }
    .dl-card { min-height: 0; }
    .coming { grid-template-columns: 1fr; }
    .speed-row { grid-template-columns: 1fr; gap: 10px; }
    .speed-num { text-align: left; }
    .plans { grid-template-columns: 1fr; }
    .privacy-grid { grid-template-columns: 1fr; }
    .feedback-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .foot-meta { flex-direction: column; }
  }
  @media (max-width: 620px) {
    .quick-grid { grid-template-columns: 1fr; }
    .phone { width: 270px; }
    .phone-screen { height: 520px; }
    .flow-steps { grid-template-columns: 1fr; }
    .fstep { border-right: none; padding-left: 0; }
    .fstep:nth-child(even) { padding-left: 0; }
    .frow { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
    .frow p { grid-column: 1; }
  }

/* ---------- trust & security ---------- */
.hero-trust { margin-top: 26px; font-size: 12.5px; color: var(--ink-4); }
.hero-trust a { color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color 0.2s, border-color 0.2s; }
.hero-trust a:hover { color: var(--red); border-color: var(--red); }
.sec-kicker {
  color: var(--red);
  background: rgba(199, 0, 11, 0.06);
  border: 1px solid rgba(199, 0, 11, 0.22);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  gap: 6px;
  margin-bottom: 26px;
}
.sec-kicker svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: -1px; }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; text-align: left; }
.sec-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 26px; }
.sec-card strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sec-card strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 2px; }
.sec-card span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 9px; line-height: 1.8; }
.sec-badges { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 36px; }
.sec-badge { font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; background: var(--white); }
.sec-badge::before { content: "✓"; color: var(--red); margin-right: 7px; }
.sec-more { font-size: 12.5px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.sec-more:hover { color: var(--red); border-color: var(--red); }
.privacy .sec-badge { background: transparent; border-color: var(--dark-line); color: var(--w-60); }
.features-note { margin-top: 32px; text-align: center; font-size: 13px; color: var(--w-40); }
.features-note strong { color: var(--w-60); font-weight: 600; }
@media (max-width: 860px) {
  .sec-cards { grid-template-columns: 1fr; }
}

/* ---------- demo sliders ---------- */
.demo-slider { overflow: hidden; }
.demo-track { display: flex; transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); }
.demo-track > .demo-shell { flex: 0 0 100%; min-width: 0; }
.demo-dots { display: flex; gap: 6px; justify-content: center; padding: 0 0 20px; }
.demo-dot { width: 6px; height: 6px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--ink-4); opacity: 0.4; transition: all 0.3s; }
.demo-dot.on { opacity: 1; width: 18px; background: var(--red); }
.chapter.dark .demo-dot { background: var(--w-40); }
.chapter.dark .demo-dot.on { background: var(--red); }
.dbubble, .demo-line span { white-space: pre-line; }

/* ---------- aqua-style peek carousel ---------- */
.case-wrap { margin-top: 56px; }
.case-strip { overflow: hidden; margin-right: calc(50% - 50vw); padding: 6px 0; }
.case-track { display: flex; gap: 24px; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.case-slide { flex: 0 0 auto; width: min(920px, calc(100% - 56px)); opacity: 0.35; transition: opacity 0.5s; }
.case-slide.on { opacity: 1; }
.case-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-frame);
}
.chapter.dark .case-card { border-color: var(--dark-line); background: var(--dark-card); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
.case-cap { margin-top: 20px; }
.case-cap strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.case-cap span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.chapter.dark .case-cap strong { color: var(--w-92); }
.chapter.dark .case-cap span { color: var(--w-60); }
.case-lines { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.case-line { width: 56px; height: 2px; border: 0; padding: 0; cursor: pointer; background: var(--line); transition: background 0.4s; }
.case-line.on { background: var(--ink); }
.chapter.dark .case-line { background: rgba(255, 255, 255, 0.2); }
.chapter.dark .case-line.on { background: #fff; }
@media (max-width: 620px) {
  .case-slide { width: calc(100% - 36px); }
  .case-line { width: 40px; }
}
.case-track { position: relative; }

/* ---------- scroll-pinned horizontal chapters ---------- */
.chapter.hpin { padding: 0; }
.hwrap { height: 300vh; }
.hstick {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hstick .wrap { width: min(1140px, calc(100% - 48px)); }
.hstick .case-wrap { margin-top: clamp(20px, 3.5vh, 40px); }
.hstick .case-lines { margin-top: clamp(14px, 2.5vh, 26px); }
.hstick .chapter-foot { margin-top: clamp(12px, 2vh, 22px); }
.hstick .case-strip { padding: 4px 0; }
.hstick .demo-shell { padding: clamp(14px, 2.2vh, 26px); }
.hstick .demo-chat { min-height: clamp(130px, 20vh, 200px); }
.hstick .case-track { transition: none; }
.case-track { will-change: transform; }
@media (max-height: 760px) {
  .hstick .chapter-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
  .hstick .chapter-head .lede { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hwrap { height: auto; }
  .hstick { position: static; height: auto; display: block; overflow: visible; padding: 88px 0; }
  .hstick .case-track { transition: transform 0.4s; }
}

/* ---------- full-screen pan + bottom bar ---------- */
.hstick .case-strip {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hstick .case-track { gap: 32px; }
.hstick .case-slide { width: min(980px, 86vw); }
.case-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  width: min(560px, 70vw);
  height: 2px;
  background: var(--line);
  cursor: pointer;
}
.case-thumb {
  position: absolute;
  left: 0;
  top: -1px;
  height: 4px;
  width: 25%;
  border-radius: 2px;
  background: var(--ink);
  will-change: transform;
}
.chapter.dark .case-bar { background: rgba(255, 255, 255, 0.16); }
.chapter.dark .case-thumb { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .case-bar { position: static; transform: none; margin: 28px auto 0; }
}

/* ---------- full-page horizontal panels ---------- */
.hpin .chapter-pre { padding: 120px 0 48px; }
.hpin .chapter-after { padding: 44px 0 120px; }
.hstick { flex-direction: column; justify-content: center; }
.hstick .case-strip { width: 100%; margin: 0; overflow: hidden; padding: 0; }
.hstick .case-track { gap: 28px; }
.hstick .case-slide { flex: 0 0 auto; width: min(1040px, 88vw); }
.panel-box { width: min(1020px, calc(100% - 48px)); margin: 0 auto; }
.hstick .case-cap { display: flex; align-items: baseline; gap: 14px; }
.hstick .case-cap strong { font-size: clamp(17px, 2vw, 21px); }
.hstick .case-cap span { font-size: 14px; margin-top: 0; }
@media (max-width: 620px) {
  .hstick .case-cap { display: block; }
}

/* ---------- rich panel meta (aqua caption block) ---------- */
.panel-box { width: min(1080px, calc(100% - 48px)); }
.hstick .demo-app { width: min(880px, 100%); }
.hstick .demo-shell { padding: clamp(12px, 2vh, 20px); }
.panel-meta { margin-top: clamp(16px, 3vh, 26px); }
.panel-meta-top { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.panel-meta-top strong { font-size: clamp(18px, 2.2vw, 23px); font-weight: 600; letter-spacing: -0.01em; }
.panel-for { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-4); }
.panel-for i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--white); margin-left: 2px; }
.chapter.dark .panel-for { color: var(--w-40); }
.chapter.dark .panel-for i { color: var(--w-60); border-color: var(--dark-line); background: transparent; }
.panel-meta p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); max-width: 720px; }
.chapter.dark .panel-meta p { color: var(--w-60); }
.hpin .chapter-pre { padding: 120px 0 40px; }

/* ---------- realistic app themes ---------- */
.demo-app .demo-title small { display: block; font-size: 10px; font-weight: 400; opacity: 0.75; margin-top: 1px; }
.demo-app .dtime { align-self: center; font-size: 10.5px; color: rgba(0, 0, 0, 0.35); padding: 2px 8px; }

/* WeChat */
.demo-app.app-wechat { background: #ededed; border-color: #dcdcdc; }
.demo-app.app-wechat .demo-head { background: #ededed; border-color: #d8d8d8; }
.demo-app.app-wechat .demo-title { color: #111; font-weight: 500; }
.demo-app.app-wechat .demo-title::before { content: "‹"; margin-right: 8px; color: #111; font-size: 16px; }
.demo-app.app-wechat .demo-chat { background: #ededed; }
.demo-app.app-wechat .dbubble { position: relative; }
.demo-app.app-wechat .dbubble.in { background: #fff; color: #111; margin-left: 36px; border-bottom-left-radius: 13px; border-top-left-radius: 4px; }
.demo-app.app-wechat .dbubble.out { background: #95ec69; color: #111; margin-right: 36px; border-bottom-right-radius: 13px; border-top-right-radius: 4px; }
.demo-app.app-wechat .dbubble[data-av]::before {
  content: attr(data-av);
  position: absolute; top: 0; width: 27px; height: 27px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff;
}
.demo-app.app-wechat .dbubble.in[data-av]::before { left: -36px; background: #5b8cc8; }
.demo-app.app-wechat .dbubble.out[data-av]::before { right: -36px; background: #4a4a52; }
.demo-app.app-wechat .dbubble.in[data-name] { margin-top: 15px; }
.demo-app.app-wechat .dbubble.in[data-name]::after {
  content: attr(data-name);
  position: absolute; top: -15px; left: 2px;
  font-size: 10.5px; color: #9a9a9a; white-space: nowrap;
}
.demo-app.app-wechat .demo-input { background: #f7f7f7; border-color: #d8d8d8; }
.demo-app.app-wechat .demo-line .placeholder { color: #999; }
.demo-app.app-wechat .demo-line .draw { color: #666; }
.demo-app.app-wechat .demo-line .dpol { color: #111; }

/* Feishu */
.demo-app.app-feishu { background: #f5f6f7; border-color: #e5e6eb; }
.demo-app.app-feishu .demo-head { background: #fff; border-color: #e5e6eb; }
.demo-app.app-feishu .demo-title { color: #1f2329; font-weight: 600; }
.demo-app.app-feishu .demo-badge { color: #3370ff; border-color: rgba(51, 112, 255, 0.35); }
.demo-app.app-feishu .demo-chat { background: #f5f6f7; }
.demo-app.app-feishu .dbubble { position: relative; }
.demo-app.app-feishu .dbubble.in { background: #fff; color: #1f2329; border: 1px solid #e5e6eb; margin-left: 36px; }
.demo-app.app-feishu .dbubble.out { background: #d6e2ff; color: #1f2329; margin-right: 36px; }
.demo-app.app-feishu .dbubble[data-av]::before {
  content: attr(data-av);
  position: absolute; top: 0; width: 27px; height: 27px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff;
}
.demo-app.app-feishu .dbubble.in[data-av]::before { left: -36px; background: #3370ff; }
.demo-app.app-feishu .dbubble.out[data-av]::before { right: -36px; background: #00b96b; }
.demo-app.app-feishu .dbubble.in[data-name] { margin-top: 15px; }
.demo-app.app-feishu .dbubble.in[data-name]::after {
  content: attr(data-name);
  position: absolute; top: -15px; left: 2px;
  font-size: 10.5px; color: #8f959e; white-space: nowrap;
}
.demo-app.app-feishu .demo-input { background: #fff; border-color: #e5e6eb; }

/* Mail */
.demo-app.app-mail { background: #fff; }
.demo-app.app-mail .demo-head { background: #fafafa; }
.demo-app.app-mail .demo-title { font-weight: 600; }
.mail-pane { flex: 1; display: flex; flex-direction: column; padding: 4px 18px 10px; min-height: 0; }
.mail-field { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #f0f1f2; font-size: 12.5px; }
.mail-field label { color: #86909c; flex-shrink: 0; }
.mail-field span { color: #1f2329; }
.mail-body { flex: 1; padding: 12px 0; font-size: 13px; line-height: 1.9; color: #1f2329; white-space: pre-line; overflow: hidden; }
.mail-actions { display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid #f0f1f2; }
.mail-send { background: #1456f0; color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 5px 18px; }
.mail-tool { color: #86909c; font-size: 13px; }

/* WhatsApp */
.demo-app.app-whatsapp { background: #ece5dd; border-color: #d6cfc7; }
.demo-app.app-whatsapp .demo-head { background: #075e54; border-color: #075e54; }
.demo-app.app-whatsapp .demo-title { color: #fff; font-weight: 600; }
.demo-app.app-whatsapp .demo-badge { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.demo-app.app-whatsapp .demo-chat { background: #ece5dd; }
.demo-app.app-whatsapp .dbubble.in { background: #fff; color: #111; }
.demo-app.app-whatsapp .dbubble.out { background: #dcf8c6; color: #111; }
.demo-app.app-whatsapp .dtime { background: #e1f2fb; color: #5a6b75; border-radius: 6px; }
.demo-app.app-whatsapp .demo-input { background: #f0f0f0; border-color: #d6cfc7; }

/* Telegram */
.demo-app.app-telegram { background: #e3ebf2; border-color: #d4dde5; }
.demo-app.app-telegram .demo-head { background: #229ed9; border-color: #229ed9; }
.demo-app.app-telegram .demo-title { color: #fff; font-weight: 600; }
.demo-app.app-telegram .demo-badge { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.demo-app.app-telegram .demo-chat { background: #e3ebf2; }
.demo-app.app-telegram .dbubble.in { background: #fff; color: #111; }
.demo-app.app-telegram .dbubble.out { background: #effdde; color: #111; }
.demo-app.app-telegram .dtime { background: rgba(255, 255, 255, 0.7); color: #6b7c8a; border-radius: 999px; }
.demo-app.app-telegram .demo-input { background: #fff; border-color: #d4dde5; }

/* LINE */
.demo-app.app-line { background: #93aad4; border-color: #8096bf; }
.demo-app.app-line .demo-head { background: #93aad4; border-color: rgba(255, 255, 255, 0.25); }
.demo-app.app-line .demo-title { color: #fff; font-weight: 600; }
.demo-app.app-line .demo-badge { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.demo-app.app-line .demo-chat { background: #93aad4; }
.demo-app.app-line .dbubble.in { background: #fff; color: #111; }
.demo-app.app-line .dbubble.out { background: #9ce86e; color: #111; }
.demo-app.app-line .demo-input { background: #fff; border-color: #8096bf; }
.demo-app.app-line .demo-line .placeholder { color: #888; }

/* ---------- phone-staged demos ---------- */
.hstick .demo-shell, .chapter-media .demo-shell { display: flex; justify-content: center; }
.case-phone { width: clamp(230px, 30vh, 282px); margin: 0 auto; flex: 0 0 auto; }
.case-phone .phone-screen { height: clamp(440px, 58vh, 555px); background: #000; }
.case-phone .phone-app { position: relative; }
.phome {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  background: linear-gradient(168deg, #2a4d77 0%, #16263f 60%, #101a2c 100%);
  transition: opacity 0.4s, transform 0.4s;
}
.phome.hide { opacity: 0; transform: scale(1.08); pointer-events: none; }
.phome-clock { padding: 8px 16px 4px; color: #fff; font-size: 28px; font-weight: 300; letter-spacing: 1px; line-height: 1.1; }
.phome-clock span { display: block; font-size: 10px; font-weight: 400; opacity: 0.75; margin-top: 2px; letter-spacing: 0; }
.phome-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 2px; padding: 10px 10px 0; align-content: start; }
.picon { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.picon i {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 15px; color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.picon b { font-weight: 400; font-size: 8.5px; color: rgba(255, 255, 255, 0.88); white-space: nowrap; }
.phome-dock {
  margin: 8px 8px 9px; padding: 7px 2px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.phome-dock .picon b { display: none; }
.pnotif {
  position: absolute; left: 7px; right: 7px; top: 6px; z-index: 3;
  display: flex; gap: 9px; align-items: flex-start;
  background: rgba(250, 250, 252, 0.97);
  border-radius: 13px; padding: 9px 11px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-135%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.pnotif.show { transform: translateY(0); }
.pnotif i {
  width: 25px; height: 25px; border-radius: 7px; flex: 0 0 auto;
  font-style: normal; color: #fff; font-size: 11.5px;
  display: flex; align-items: center; justify-content: center;
}
.pnotif strong { display: block; font-size: 10.5px; color: #111; }
.pnotif p { font-size: 10.5px; color: #555; line-height: 1.45; margin-top: 1px; }
.case-phone .demo-app {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; border: 0; border-radius: 0;
  display: flex; flex-direction: column;
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  overflow: hidden;
}
.case-phone .demo-app.show { opacity: 1; transform: none; }
.case-phone .demo-chat { flex: 1; min-height: 0; overflow: hidden; }
.case-phone .mail-pane { flex: 1; min-height: 0; }
.case-phone .dbubble { font-size: 11.5px; padding: 7px 10px; max-width: 88%; border-radius: 11px; }
.case-phone .demo-head { padding: 8px 12px; }
.case-phone .demo-title { font-size: 12px; }
.case-phone .demo-badge { font-size: 9.5px; padding: 2px 8px; }
.case-phone .demo-input { padding: 8px 11px; }
.case-phone .demo-line { font-size: 11.5px; min-height: 32px; }
.case-phone .dcard strong { font-size: 11.5px; }
.case-phone .dcard p { font-size: 11px; }
.case-phone .dchips span { font-size: 9.5px; padding: 2px 8px; }
.case-phone .dtime { font-size: 9.5px; }
.case-phone .app-wechat .dbubble.in, .case-phone .app-feishu .dbubble.in { margin-left: 30px; }
.case-phone .app-wechat .dbubble.out, .case-phone .app-feishu .dbubble.out { margin-right: 30px; }
.case-phone .dbubble[data-av]::before { width: 22px; height: 22px; font-size: 10.5px; }
.case-phone .app-wechat .dbubble.in[data-av]::before, .case-phone .app-feishu .dbubble.in[data-av]::before { left: -30px; }
.case-phone .app-wechat .dbubble.out[data-av]::before, .case-phone .app-feishu .dbubble.out[data-av]::before { right: -30px; }
.case-phone .mail-field { font-size: 11px; padding: 7px 0; }
.case-phone .mail-body { font-size: 11.5px; }
.case-phone .mail-pane { padding: 2px 12px 8px; }
/* vivi theme */
.demo-app.app-vivi { background: #101014; }
.demo-app.app-vivi .demo-head { background: #16161b; border-color: rgba(255, 255, 255, 0.08); }
.demo-app.app-vivi .demo-title { color: #fff; font-weight: 600; }
.demo-app.app-vivi .demo-chat { background: #101014; }
.demo-app.app-vivi .dbubble.in { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.demo-app.app-vivi .dbubble.out { background: #fff; color: #111; }
.demo-app.app-vivi .dcard { border-color: rgba(255, 255, 255, 0.12); }
.demo-app.app-vivi .dcard strong { color: #fff; }
.demo-app.app-vivi .dcard p { color: rgba(255, 255, 255, 0.6); }
.demo-app.app-vivi .dchips span { color: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.15); }
.demo-app.app-vivi .demo-input { background: #16161b; border-color: rgba(255, 255, 255, 0.08); }
.demo-app.app-vivi .demo-line .placeholder { color: rgba(255, 255, 255, 0.4); }
.demo-app.app-vivi .demo-line .draw { color: rgba(255, 255, 255, 0.6); }
.demo-app.app-vivi .demo-line .dpol { color: #fff; }
.demo-app.app-vivi .dtime { color: rgba(255, 255, 255, 0.4); }
@media (max-height: 720px) {
  .case-phone .phone-screen { height: clamp(400px, 54vh, 480px); }
}

/* ---------- Huawei Pura X Max (阔折叠) outer-screen proportions ---------- */
.phone { width: fit-content; }
.phone-screen { position: relative; aspect-ratio: 10 / 16; width: auto; }
.phone-screen::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0a0c;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
  z-index: 6;
  pointer-events: none;
}
.phone-screen { height: 540px; }
.case-phone .phone-screen { height: clamp(420px, 56vh, 540px); }
.case-phone { width: fit-content; }
@media (max-height: 720px) {
  .case-phone .phone-screen { height: clamp(390px, 52vh, 470px); }
}
@media (max-width: 620px) {
  .phone-screen { height: 470px; }
  .case-phone .phone-screen { height: clamp(380px, 50vh, 450px); }
}

/* ---------- skins · Pura X Max 实机展示 ---------- */
.skins { background: var(--white); border-top: 1px solid var(--line-soft); }
.skins-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.skins-head .lede { margin-bottom: 6px; }
.skin-stage { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); align-items: start; }
.skin-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity 0.55s; }
.skin-stage.playing .skin-item:not(.live) { opacity: 0.6; }
.skin-item .phone { transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s; }
.skin-item.live .phone { transform: translateY(-8px); box-shadow: 0 36px 90px rgba(17, 17, 19, 0.26); }
.skin-item.live .skin-badge { border-color: var(--ink); color: var(--ink); }
@media (min-width: 1021px) {
  .skin-item:nth-child(even) { padding-top: 34px; }
}

.skin-item[data-skin="white"] {
  --sk-app: #f4f5f9; --sk-kb: #e9ebf1; --sk-key: #ffffff; --sk-key-ink: #23242b;
  --sk-panel: #ffffff; --sk-ink: #1b1c22; --sk-ink3: #9094a1; --sk-line: rgba(22, 25, 38, 0.09);
  --sk-acc: #2c63e8; --sk-acc-ink: #ffffff; --sk-acc-soft: rgba(44, 99, 232, 0.22);
  --sk-in: #ffffff; --sk-in-ink: #1b1c22; --sk-out: #2c63e8; --sk-out-ink: #ffffff;
  --sk-shadow: rgba(34, 42, 66, 0.08);
}
.skin-item[data-skin="grey"] {
  --sk-app: #f0f0f2; --sk-kb: #cfd0d5; --sk-key: #e6e7eb; --sk-key-ink: #2c2c31;
  --sk-panel: #fbfbfc; --sk-ink: #222226; --sk-ink3: #84858d; --sk-line: rgba(28, 28, 32, 0.10);
  --sk-acc: #1d1d22; --sk-acc-ink: #f4f4f6; --sk-acc-soft: rgba(29, 29, 34, 0.18);
  --sk-in: #ffffff; --sk-in-ink: #222226; --sk-out: #3a3b43; --sk-out-ink: #f4f4f6;
  --sk-shadow: rgba(20, 20, 24, 0.10);
}
.skin-item[data-skin="classic"] {
  --sk-app: #f4eedd; --sk-kb: #e6dcc2; --sk-key: #f9f3e2; --sk-key-ink: #534b3c;
  --sk-panel: #fcf7e9; --sk-ink: #4a4334; --sk-ink3: #a39879; --sk-line: rgba(90, 80, 55, 0.16);
  --sk-acc: #6f8a78; --sk-acc-ink: #fdfaf0; --sk-acc-soft: rgba(111, 138, 120, 0.28);
  --sk-in: #fffdf4; --sk-in-ink: #4a4334; --sk-out: #6f8a78; --sk-out-ink: #fdfaf0;
  --sk-done: #b3905a; --sk-done-ink: #fffaf0;
  --sk-shadow: rgba(90, 75, 40, 0.12);
}
.skin-item[data-skin="dark"] {
  --sk-app: #0d0e14; --sk-kb: #16171f; --sk-key: #262834; --sk-key-ink: #e7e9f2;
  --sk-panel: #1d1f2a; --sk-ink: #edeff7; --sk-ink3: #7c8090; --sk-line: rgba(255, 255, 255, 0.08);
  --sk-acc: #3e6df0; --sk-acc-ink: #ffffff; --sk-acc-soft: rgba(62, 109, 240, 0.32);
  --sk-in: #23252f; --sk-in-ink: #dcdfe9; --sk-out: #3e6df0; --sk-out-ink: #ffffff;
  --sk-shadow: rgba(0, 0, 0, 0.45);
}

.skin-phone .phone-screen { height: clamp(330px, 27vw, 400px); background: var(--sk-app); }
.skin-phone .phone-status { color: var(--sk-ink3); padding: 10px 14px 4px; font-size: 9.5px; }
.skin-phone .phone-status .pdots i { background: var(--sk-ink3); }

.skb-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.skb-title { display: flex; flex-direction: column; gap: 1px; text-align: center; padding: 4px 10px 8px; border-bottom: 1px solid var(--sk-line); font-size: 10px; font-weight: 600; color: var(--sk-ink); }
.skb-title small { font-size: 7.5px; font-weight: 500; color: var(--sk-ink3); }
.skb-msgs { flex: 1; min-height: 0; padding: 9px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.skb-b { max-width: 84%; font-size: 9.5px; line-height: 1.55; padding: 6px 9px; border-radius: 10px; }
.skb-b.in { align-self: flex-start; background: var(--sk-in); color: var(--sk-in-ink); border: 1px solid var(--sk-line); border-bottom-left-radius: 4px; }
.skb-b.out { align-self: flex-end; background: var(--sk-out); color: var(--sk-out-ink); border-bottom-right-radius: 4px; animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1); }

.skb { margin-top: auto; background: var(--sk-kb); padding: 7px 7px 10px; box-shadow: 0 -10px 30px var(--sk-shadow); }
.skb-bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 7px; }
.skb-logo { display: flex; align-items: baseline; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--sk-ink); white-space: nowrap; }
.skb-logo small { font-size: 7.5px; font-weight: 500; color: var(--sk-ink3); overflow: hidden; text-overflow: ellipsis; max-width: 11em; }
.skb-pills { display: flex; gap: 4px; }
.skb-pills i { font-style: normal; font-size: 7.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--sk-key); color: var(--sk-ink3); }
.skb-pills i.acc { background: var(--sk-acc); color: var(--sk-acc-ink); }
.skb-panel { background: var(--sk-panel); border: 1px solid var(--sk-line); border-radius: 10px; padding: 8px 10px; }
.skb-line { min-height: 30px; font-size: 10.5px; line-height: 1.55; color: var(--sk-ink); }
.skb-line .ph { color: var(--sk-ink3); }
.skb-line .caret { display: inline-block; width: 1px; height: 10px; margin-left: 2px; vertical-align: -1px; background: var(--sk-acc); animation: blink 0.9s step-end infinite; }
.skb-wave { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; vertical-align: middle; }
.skb-wave i { width: 2.5px; height: 9px; border-radius: 99px; background: var(--sk-acc); animation: skwave 0.9s ease-in-out infinite; }
.skb-wave i:nth-child(2) { animation-delay: 0.12s; }
.skb-wave i:nth-child(3) { animation-delay: 0.24s; }
.skb-wave i:nth-child(4) { animation-delay: 0.36s; }
.skb-wave i:nth-child(5) { animation-delay: 0.18s; }
@keyframes skwave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1.5); } }
.skb-sk { display: flex; flex-direction: column; gap: 4px; margin-top: 7px; }
.skb-sk i { height: 4px; border-radius: 99px; background: var(--sk-line); }
.skb-sk i:first-child { width: 72%; }
.skb-sk i:last-child { width: 46%; }
.skb-acts { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 8px 0; }
.skb-talk { font-size: 9.5px; font-weight: 600; padding: 6px 16px; border-radius: 999px; background: var(--sk-acc); color: var(--sk-acc-ink); transition: transform 0.25s, box-shadow 0.25s; }
.skb-talk.talk { transform: scale(1.08); box-shadow: 0 0 0 5px var(--sk-acc-soft); }
.skb-act { font-size: 9px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--sk-key); color: var(--sk-ink3); transition: background 0.25s, color 0.25s; }
.skb-act.hit { background: var(--sk-acc); color: var(--sk-acc-ink); }
.skb-row { display: flex; gap: 3px; justify-content: center; margin-top: 3px; }
.skb-row.r2 { padding: 0 5%; }
.skb-row i { font-style: normal; flex: 1 1 0; height: 26px; border-radius: 5px; background: var(--sk-key); color: var(--sk-key-ink); font-size: 8.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 0 var(--sk-shadow); }
.skb-row i.fn { flex: 1.6 1 0; font-size: 7.5px; color: var(--sk-ink3); }
.skb-row i.done { background: var(--sk-done, var(--sk-acc)); color: var(--sk-done-ink, var(--sk-acc-ink)); }

.skin-item figcaption { text-align: center; }
.skin-name { display: flex; align-items: center; justify-content: center; gap: 8px; }
.skin-name strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.skin-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink-3);
  transition: border-color 0.4s, color 0.4s;
}
.skin-item figcaption p { margin: 8px auto 0; max-width: 220px; font-size: 12.5px; line-height: 1.7; color: var(--ink-4); }

@media (max-width: 1020px) {
  .skin-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .skin-phone .phone-screen { height: clamp(340px, 40vw, 430px); }
}
@media (max-width: 860px) {
  .skins-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
}
@media (max-width: 560px) {
  .skin-stage { grid-template-columns: 1fr; row-gap: 44px; }
  .skin-phone .phone-screen { height: clamp(330px, 88vw, 380px); }
  .skin-item figcaption p { font-size: 12px; max-width: 260px; }
}

/* ---------- 场景演示:语音输入 + 润色分镜 ---------- */
.demo-app .demo-input.rec, .demo-input.rec { border-color: rgba(199, 0, 11, 0.45); box-shadow: 0 0 0 3px rgba(199, 0, 11, 0.10); }
.dwave { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; margin-right: 7px; flex: none; }
.dwave i { width: 2.5px; height: 9px; border-radius: 99px; background: var(--red); animation: skwave 0.9s ease-in-out infinite; }
.dwave i:nth-child(2) { animation-delay: 0.12s; }
.dwave i:nth-child(3) { animation-delay: 0.24s; }
.dwave i:nth-child(4) { animation-delay: 0.36s; }
.dwave i:nth-child(5) { animation-delay: 0.18s; }
.demo-line .dlisten { color: var(--red); opacity: 0.7; }
.dcmp { width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 3px 0; }
.dcmp del { text-decoration: line-through; text-decoration-color: rgba(199, 0, 11, 0.55); text-decoration-thickness: 1px; opacity: 0.55; font-size: 0.84em; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dcmp ins { text-decoration: none; white-space: pre-line; }
.dproc { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 0.88em; font-weight: 500; }
.dproc::before { content: "✦"; animation: dstar 1.1s ease-in-out infinite; }
@keyframes dstar { 50% { opacity: 0.35; transform: scale(0.8); } }
.dok { font-style: normal; color: var(--red); font-size: 0.8em; font-weight: 600; margin-left: 7px; white-space: nowrap; animation: dpop 0.35s cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- download page · hero ---------- */
.dl-hero { padding: clamp(76px, 11vh, 132px) 0 70px; }
.dl-hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; margin: 0 auto; max-width: 14em; }
.dl-hero .lede { margin: 22px auto 0; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 42px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 13px 24px 13px 20px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--white); text-align: left;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s, border-color 0.28s, background 0.28s;
}
.dl-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.dl-btn svg { width: 25px; height: 25px; flex-shrink: 0; }
.dl-btn-txt { display: flex; flex-direction: column; line-height: 1.32; }
.dl-btn-txt b { font-size: 15px; font-weight: 600; }
.dl-btn-txt small { font-size: 12px; color: var(--ink-4); margin-top: 1px; }
.dl-btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.dl-btn.primary:hover { background: #000; }
.dl-btn.primary .dl-btn-txt small { color: rgba(255, 255, 255, 0.62); }
.dl-soon { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.dl-soon i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.dl-soon em { font-style: normal; font-weight: 400; color: var(--ink-4); font-size: 12.5px; width: 100%; margin-top: 6px; }
.dl-sysreq { margin: 24px auto 0; font-size: 12.5px; color: var(--ink-4); line-height: 1.75; max-width: 580px; }

/* ---------- download page · reviews marquee ---------- */
.reviews { padding-bottom: clamp(80px, 12vh, 130px); overflow: hidden; }
.reviews-head { max-width: 720px; margin: 0 auto; }
.review-wall {
  margin-top: 56px; display: flex; flex-direction: column; gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.review-row { display: flex; width: max-content; will-change: transform; }
.review-row[data-dir="left"] { animation: rev-left 66s linear infinite; }
.review-row[data-dir="right"] { animation: rev-right 78s linear infinite; }
@keyframes rev-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rev-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.review-wall:hover .review-row { animation-play-state: paused; }
.review-card {
  flex: 0 0 clamp(286px, 25vw, 340px); margin-right: 18px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 20px 22px;
}
.rv-head { display: flex; align-items: center; gap: 11px; }
.rv-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #fff; background: var(--av, var(--ink)); }
.rv-id { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 0; }
.rv-id b { font-size: 14px; font-weight: 600; }
.rv-id small { font-size: 11.5px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-stars { font-size: 12px; color: #ffb02e; letter-spacing: 1px; flex-shrink: 0; }
.review-card p { margin-top: 13px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.reviews-cta { margin-top: 52px; }

@media (max-width: 620px) {
  .dl-btn { width: 100%; max-width: 340px; }
  .review-card { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  .review-row { animation: none !important; }
  .review-wall { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* ---------- speed race: voice vs keyboard ---------- */
.race { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.race-col { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 22px 24px; display: flex; flex-direction: column; }
.race-col.voice { border-color: rgba(199, 0, 11, 0.25); box-shadow: 0 12px 40px rgba(199, 0, 11, 0.06); }
.race-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line-soft); }
.race-tag { font-size: 14px; font-weight: 600; color: var(--ink); }
.race-col.voice .race-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 1px; }
.race-wpm { font-size: 12px; color: var(--ink-4); font-variant-numeric: tabular-nums; white-space: nowrap; }
.race-body { flex: 1; padding: 15px 0; }
.race-text { font-size: 15px; line-height: 1.95; color: var(--ink); min-height: 4.2em; }
.race-col.type .race-text { color: var(--ink-2); }
.race-text .race-caret { display: inline-block; width: 2px; height: 1em; background: var(--red); margin-left: 1px; vertical-align: -2px; animation: blink 0.9s step-end infinite; }
.race-text .err { color: var(--red); background: rgba(199, 0, 11, 0.08); border-radius: 3px; }
.race-foot { padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12.5px; }
.race-state { color: var(--ink-4); font-variant-numeric: tabular-nums; }
.race-col.voice .race-state.done { color: #1f9d57; font-weight: 600; }
.race-col.type .race-state.slow { color: var(--ink-3); }
@media (max-width: 720px) { .race { grid-template-columns: 1fr; } .race-text { min-height: 0; } }

/* ---------- intro: 品牌定位 + 指标(hero 精简后下移) ---------- */
.intro { padding: 56px 0 0; }
.intro-line { max-width: 740px; margin: 0 auto; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.85; color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; }
.intro-line strong { color: var(--red); font-weight: 600; }
.intro .hero-metrics { margin-top: 38px; }

/* ---------- hero 演示放大 + manifesto 叙事区(浅底中灰大字, 对齐 Aqua, 无红色) ---------- */
.try-voice { max-width: 720px; margin: 52px auto 0; }
.manifesto { background: #f3f3f4; color: #56565f; padding: clamp(96px, 15vh, 180px) 0; text-align: center; }
.manifesto .wrap { max-width: 1040px; }
.mani-block { margin: 0 auto clamp(52px, 8vh, 96px); }
.mani-block p { font-size: clamp(27px, 3.9vw, 46px); line-height: 1.24; font-weight: 600; letter-spacing: -0.022em; color: #45454d; text-wrap: balance; }
.mani-block .mani-dim { font-size: clamp(15px, 1.7vw, 19px); line-height: 1.55; font-weight: 500; color: #9b9ba4; margin-top: 12px; letter-spacing: 0; }
.mani-finale { margin-top: clamp(40px, 6.5vh, 88px); }
.mani-finale .mani-small { font-size: clamp(14px, 1.6vw, 18px); color: #9b9ba4; font-weight: 500; }
.mani-finale .mani-big { font-size: clamp(36px, 5.6vw, 64px); font-weight: 600; letter-spacing: -0.03em; color: #45454d; margin-top: 14px; }
@media (max-width: 620px) { .mani-block p { font-size: clamp(22px, 5.6vw, 30px); } .mani-block .mani-dim { font-size: clamp(14px, 3.8vw, 17px); } .manifesto .wrap { max-width: calc(100% - 40px); } }


/* ---------- 案例卡片化: 手机演示=带边框卡片(像 Aqua 图1 的 mockup), 标题/描述在卡片外下方 ---------- */
.case-card { border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 44px rgba(17, 17, 19, 0.1), 0 2px 6px rgba(17, 17, 19, 0.05); border-radius: var(--r-lg); }
.chapter.dark .case-card { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.panel-box { border: none; background: transparent; padding: 0; box-shadow: none; }
.panel-meta { padding: 0 4px; }
.hstick .panel-box { width: 100%; }

/* ---------- 按住说话演示区(移到 intro 与 speed 之间) ---------- */
.try-section { padding: clamp(40px, 6.5vh, 76px) 0; }
.try-section .try-voice { margin: 0 auto; }

/* ---------- hero: 复刻 Aqua 双段(① 左对齐大标题+软泡泡背景  ② 居中) ---------- */
.hero-a1 { position: relative; overflow: hidden; padding: clamp(115px, 19vh, 205px) 0 clamp(80px, 16vh, 200px); background: #fcfcfd; }
.hero-a1 .wrap { position: relative; z-index: 1; }
.hero-a1 .a1-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-a1 .a1-noise { position: absolute; inset: -8% -4%; width: 108%; height: 116%; opacity: 0.6; animation: a1drift 26s ease-in-out infinite alternate; }
@keyframes a1drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-2.5%, 1.5%) scale(1.06); } }
.a1-title { margin: 0; text-align: left; font-size: clamp(38px, 6vw, 84px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; color: #383841; }
.a1-sub { margin: clamp(18px, 2.4vw, 30px) 0 0; text-align: left; font-size: clamp(16px, 1.55vw, 20px); line-height: 1.55; color: #6c6c74; max-width: 26em; }
.a1-demo { margin: clamp(20px, 2.6vw, 34px) 0 0; text-align: left; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.6; color: #44444c; min-height: 1.7em; font-weight: 500; }
.a1-demo .hh-key { display: inline-block; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 7px; padding: 1px 10px; margin: 0 6px; background: var(--white); box-shadow: 0 1.5px 0 var(--line); font-size: 0.84em; line-height: 1.5; }
.a1-demo .hh-app { display: inline-block; width: 0.95em; height: 0.95em; margin-left: 7px; vertical-align: -0.14em; transition: transform 0.22s ease, opacity 0.22s ease; }
.a1-demo .hh-app svg { width: 100%; height: 100%; display: block; }
.a1-demo .hh-app.flip { transform: scale(0.4) rotate(-12deg); opacity: 0; }
.a1-demo .hh-caret { display: inline-block; width: 0.66em; height: 0.66em; border-radius: 50%; margin-left: 10px; vertical-align: 0.02em; background: radial-gradient(circle at 34% 30%, #88acff, #3f6fe6 72%); box-shadow: 0 0 0 5px rgba(74, 123, 255, 0.13); animation: a1orb 1.5s ease-in-out infinite; }
@keyframes a1orb { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(74, 123, 255, 0.13); } 50% { transform: scale(0.8); box-shadow: 0 0 0 9px rgba(74, 123, 255, 0.06); } }
.a1-raw { margin: clamp(14px, 1.8vw, 22px) 0 0; text-align: left; font-size: clamp(15px, 1.55vw, 18px); line-height: 1.8; color: #9a9aa2; max-width: 30em; min-height: 3.2em; }
.a1-raw .ar-orb, .a1-pol .ar-orb { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; margin-left: 6px; vertical-align: 0.02em; background: radial-gradient(circle at 34% 30%, #88acff, #3f6fe6 72%); box-shadow: 0 0 0 4px rgba(74, 123, 255, 0.12); animation: a1orb 1.5s ease-in-out infinite; transition: opacity 0.35s ease; }
.a1-pol { margin: clamp(10px, 1.3vw, 16px) 0 0; text-align: left; font-size: clamp(15px, 1.55vw, 18px); line-height: 1.7; color: #383841; max-width: 30em; white-space: pre-wrap; min-height: 3em; }
@media (max-width: 620px) { .a1-raw, .a1-pol { font-size: 14.5px; } }
@keyframes hhblink { 50% { opacity: 0; } }
.hero-a2 { text-align: center; padding: clamp(72px, 14vh, 180px) 0 clamp(26px, 4vh, 46px); }
.a2-title { margin: 0 auto; font-size: clamp(32px, 5.2vw, 70px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; color: #46464d; max-width: 16em; }
.a2-sub { margin: 20px auto 0; font-size: clamp(15px, 1.6vw, 18.5px); line-height: 1.6; color: #8a8a90; max-width: 30em; }
.a2-cta { margin: 30px auto 0; }
.hero-cta { display: inline-block; padding: 14px 30px; border-radius: 999px; background: #ededf0; color: var(--ink-2); font-weight: 600; font-size: clamp(14.5px, 1.4vw, 16px); box-shadow: inset 0 0 0 1px rgba(20, 20, 30, 0.05), 0 1px 2px rgba(20, 20, 30, 0.05); transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.hero-cta:hover { background: #e4e4e9; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(20, 20, 30, 0.06), 0 4px 14px rgba(20, 20, 30, 0.1); }
@media (max-width: 620px) {
  .a1-title { font-size: clamp(30px, 9vw, 48px); }
  .a1-sub { font-size: 15px; } .a1-demo { font-size: 16px; }
  .a1-demo .hh-app { width: 17px; height: 17px; }
}

/* ---------- Mac 跨应用语音演示(替换写作卡):按一下录音 → 再按一下润色 ---------- */
.mac-demo { padding: 0 0 clamp(44px, 7vh, 92px); }
.mac-demo .wrap { max-width: 1000px; }
.md-head { text-align: center; margin-bottom: clamp(26px, 4vw, 50px); }
.md-title { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; color: #383841; margin: 0 auto; max-width: 17em; }
.md-head .lede { margin: 16px auto 0; }
.md-frame { position: relative; }
.md-screen { position: relative; border-radius: clamp(12px, 1.4vw, 18px); overflow: hidden; aspect-ratio: 16 / 10; background: #0e1830; border: clamp(7px, 0.85vw, 11px) solid #1c1d21; box-shadow: 0 44px 96px rgba(20, 28, 50, 0.34), 0 8px 22px rgba(20, 28, 50, 0.2), inset 0 0 0 1.5px rgba(255, 255, 255, 0.07); }
.md-wall { position: absolute; inset: 0; background: radial-gradient(130% 100% at 28% 18%, #3f6bc8 0%, #2b4d96 38%, #5b3e9c 78%, #3a2a6e 100%); }
.md-menubar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: clamp(22px, 2.6vw, 28px); padding: 0 13px; background: rgba(15, 20, 38, 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: rgba(255, 255, 255, 0.92); font-size: clamp(10px, 1.05vw, 12px); }
.md-mb-left { display: inline-flex; align-items: center; gap: clamp(8px, 1.3vw, 15px); }
.md-mb-left b { font-weight: 600; }
.md-mb-left span { opacity: 0.78; }
.md-mb-right { display: inline-flex; align-items: center; gap: 9px; opacity: 0.9; font-variant-numeric: tabular-nums; }
.md-batt { width: 22px; height: 11px; border: 1.4px solid rgba(255, 255, 255, 0.8); border-radius: 3px; position: relative; }
.md-batt::after { content: ""; position: absolute; left: 1.4px; top: 1.4px; bottom: 1.4px; width: 66%; background: rgba(255, 255, 255, 0.85); border-radius: 1px; }
.md-stage { position: relative; z-index: 2; height: calc(100% - clamp(22px, 2.6vw, 28px)); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px); }
.md-window { width: min(560px, 100%); max-height: 100%; background: #fff; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42); overflow: hidden; display: flex; flex-direction: column; }
.md-tbar { display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-bottom: 1px solid #eef0f2; flex-shrink: 0; }
.md-dots { display: inline-flex; gap: 7px; }
.md-dots i { width: 11px; height: 11px; border-radius: 50%; }
.md-dots i:nth-child(1) { background: #ff5f57; } .md-dots i:nth-child(2) { background: #febc2e; } .md-dots i:nth-child(3) { background: #28c840; }
.md-wtitle { font-size: 12.5px; color: #5a5a62; font-weight: 500; }
.md-body { padding: 14px 16px; flex: 1; min-height: 0; font-size: 13px; color: #2a2a30; display: flex; flex-direction: column; overflow: hidden; }
.mdc-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.mdc-b { max-width: 82%; padding: 8px 11px; border-radius: 12px; line-height: 1.55; white-space: pre-wrap; }
.mdc-b.in { background: #f0f1f3; align-self: flex-start; }
.mdc-b.out { background: #d7e6ff; align-self: flex-end; }
.mdc-input { margin-top: 10px; border: 1px solid #e6e6ea; border-radius: 10px; padding: 9px 12px; display: flex; align-items: flex-end; gap: 8px; min-height: 40px; flex-shrink: 0; }
.mdc-draft { flex: 1; color: #2a2a30; white-space: pre-wrap; line-height: 1.55; }
.mdc-draft.raw { color: #9a9aa0; }
.mdc-draft .ph { color: #b2b2b8; }
.mdc-send { font-size: 12px; color: #2f62e6; font-weight: 600; }
.md-caret { display: inline-block; width: 2px; height: 1.05em; background: #2f62e6; vertical-align: -2px; margin-left: 1px; animation: hhblink 1s steps(1) infinite; }
.md-polishing { color: #2f62e6; }
.mdm-f { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0f0f2; font-size: 12.5px; flex-shrink: 0; }
.mdm-f label { color: #9a9aa0; width: 3.4em; flex-shrink: 0; }
.mdm-body { padding-top: 12px; line-height: 1.65; white-space: pre-wrap; color: #2a2a30; flex: 1; }
.mdm-body.raw { color: #9a9aa0; }
.mdn-body { line-height: 1.75; white-space: pre-wrap; color: #2a2a30; flex: 1; }
.mdn-body.raw { color: #9a9aa0; }
.md-pill { position: absolute; left: 50%; bottom: clamp(66px, 8vw, 102px); z-index: 5; display: inline-flex; align-items: center; gap: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(18, 18, 22, 0.92); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42); opacity: 0; transform: translate(-50%, 18px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.md-pill.show { opacity: 1; transform: translate(-50%, 0); }
.md-pill-x, .md-pill-ok { width: 25px; height: 25px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.md-pill-x { background: rgba(255, 255, 255, 0.16); }
.md-pill-ok { background: #fff; color: #1b1b1f; }
.md-pill-x svg, .md-pill-ok svg { width: 14px; height: 14px; }
.md-pill.ok-hit .md-pill-ok { transform: scale(1.18); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3); }
.md-pill-wave { display: inline-flex; align-items: center; gap: 2.5px; height: 22px; }
.md-pill-wave i { width: 3px; height: 22%; background: #fff; border-radius: 2px; opacity: 0.55; }
.md-pill.rec .md-pill-wave i { animation: mdwave 0.9s ease-in-out infinite; }
.md-pill.polish .md-pill-wave i { animation: mdwave 0.5s ease-in-out infinite; opacity: 0.85; }
.md-pill-wave i:nth-child(1){animation-delay:-.90s}.md-pill-wave i:nth-child(2){animation-delay:-.10s}.md-pill-wave i:nth-child(3){animation-delay:-.50s}.md-pill-wave i:nth-child(4){animation-delay:-.75s}.md-pill-wave i:nth-child(5){animation-delay:-.20s}.md-pill-wave i:nth-child(6){animation-delay:-.60s}.md-pill-wave i:nth-child(7){animation-delay:-.30s}.md-pill-wave i:nth-child(8){animation-delay:-.85s}.md-pill-wave i:nth-child(9){animation-delay:-.40s}.md-pill-wave i:nth-child(10){animation-delay:-.15s}.md-pill-wave i:nth-child(11){animation-delay:-.65s}.md-pill-wave i:nth-child(12){animation-delay:-.35s}.md-pill-wave i:nth-child(13){animation-delay:-.55s}.md-pill-wave i:nth-child(14){animation-delay:-.25s}
@keyframes mdwave { 0%, 100% { height: 18%; opacity: 0.5; } 50% { height: 92%; opacity: 1; } }
.md-pill-think { display: none; font-size: 13px; font-weight: 500; padding: 1px 8px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.38) 25%, #fff 50%, rgba(255, 255, 255, 0.38) 75%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: mdthink 1.5s linear infinite; }
@keyframes mdthink { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.md-pill.polish { gap: 0; }
.md-pill.polish .md-pill-think { display: inline-block; }
.md-pill.polish .md-pill-x, .md-pill.polish .md-pill-wave, .md-pill.polish .md-pill-ok { display: none; }
.md-base { height: clamp(9px, 1.3vw, 15px); width: 101.5%; margin-left: -0.75%; background: linear-gradient(180deg, #cfd2d8 0%, #a6a9b0 100%); border-radius: 0 0 11px 11px; position: relative; box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16); }
.md-notch { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 5px; background: rgba(0, 0, 0, 0.16); border-radius: 0 0 7px 7px; }
@media (max-width: 700px) { .md-screen { aspect-ratio: 4 / 3; } .md-window { width: 100%; } .md-body { font-size: 12px; } }

/* ---------- 宣言页 (manifesto.html) ---------- */
.decl { padding: clamp(72px, 11vh, 150px) 0 clamp(80px, 12vh, 160px); }
.decl .wrap { max-width: 780px; }
.decl-eyebrow { text-align: center; font-size: clamp(17px, 2.1vw, 26px); font-weight: 600; letter-spacing: 0.05em; color: var(--red); margin-bottom: clamp(38px, 6.5vh, 76px); }
.decl-block { text-align: center; margin: 0 auto clamp(56px, 9vh, 110px); }
.decl-block h2 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.2; font-weight: 600; letter-spacing: -0.026em; color: var(--ink); max-width: 16em; margin: 0 auto; text-wrap: balance; }
.decl-block p { margin: 22px auto 0; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.9; color: var(--ink-3); max-width: 30em; text-wrap: pretty; }
.decl-finale { text-align: center; margin-top: clamp(64px, 11vh, 140px); padding-top: clamp(48px, 8vh, 90px); border-top: 1px solid var(--line-soft); }
.decl-finale .decl-small { font-size: clamp(16px, 2vw, 22px); color: var(--ink-4); }
.decl-finale .decl-big { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin: 8px auto 0; }
.decl-finale .decl-sign { margin-top: 28px; font-size: clamp(19px, 2.4vw, 26px); font-weight: 600; color: var(--ink); }
.decl-finale .decl-cta { margin-top: 36px; }
.nav-links a.on { color: var(--ink); font-weight: 600; }

/* ---------- 「比打字快 5 倍」区(对照 Aqua 图1):蓝色 · WPM 表头 · 中缝 · 语音光标球 ---------- */
.speed-title { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.14; font-weight: 600; letter-spacing: -0.03em; color: #383841; margin: 0 auto; max-width: 16em; }
.speed .lede { color: #6c6c74; }
.speed-cta { margin: 28px auto 0; }
.race { margin-top: clamp(40px, 6vh, 72px); gap: 0; border-top: 1px solid var(--line-soft); padding-top: 8px; }
.race-col { border: none; border-radius: 0; background: transparent; box-shadow: none; padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 40px); }
.race-col.voice { box-shadow: none; }
.race-col.type { border-left: 1px solid var(--line-soft); }
.race-head { border-bottom: none; padding-bottom: 16px; align-items: center; }
.race-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.race-col.voice .race-tag::before { display: none; }
.race-ic { width: 18px; height: 18px; flex-shrink: 0; }
.race-col.voice .race-ic { color: #2f62e6; }
.race-col.type .race-ic { color: var(--ink-4); }
.race-wpm { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.race-wpm em { font-style: normal; font-size: 11px; color: var(--ink-4); font-weight: 500; margin-left: 3px; }
.race-text { font-size: clamp(14.5px, 1.45vw, 16.5px); line-height: 1.9; color: var(--ink-2); min-height: 5.4em; }
.race-col.voice .race-text { color: var(--ink); }
.race-col.type .race-text .race-caret { background: var(--ink-3); }
.race-col.voice .race-text .race-caret { width: 0.66em; height: 0.66em; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #88acff, #3f6fe6 72%); box-shadow: 0 0 0 5px rgba(74, 123, 255, 0.13); vertical-align: -0.06em; margin-left: 7px; animation: a1orb 1.5s ease-in-out infinite; }
.race-text .err { color: #2f62e6; background: rgba(47, 98, 230, 0.08); }
@media (max-width: 720px) { .race-col.type { border-left: none; border-top: 1px solid var(--line-soft); } }

/* ---------- 场景演示:边框恢复较大比例(去掉收窄约束),上下文字随之协调 ---------- */


/* ---------- 核心特点 3 卡(对照 Aqua "Works with all your apps" 三栏;原创中文) ---------- */
.aqua-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); margin-top: clamp(48px, 7vh, 90px); text-align: center; }
.af-card { display: flex; flex-direction: column; align-items: center; padding: 0 clamp(4px, 1.5vw, 20px); }
.af-ic { color: #3a3a42; margin-bottom: 17px; }
.af-ic svg { width: 48px; height: 34px; display: block; }
.af-card strong { font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.af-card > span { margin-top: 9px; font-size: clamp(13px, 1.35vw, 15px); line-height: 1.6; color: var(--ink-3); max-width: 17em; text-wrap: pretty; }
@media (max-width: 720px) { .aqua-feat { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Mac DOCK + 窗口开合 + 终端/AI 应用(从 Dock 点开进应用) ---------- */
.md-stage { padding-bottom: clamp(56px, 8.5vw, 92px); }
.md-window { transform-origin: center 78%; transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.42s ease; }
.md-window.closed { transform: scale(0.9) translateY(10px); opacity: 0; pointer-events: none; }
.md-dock { position: absolute; left: 50%; bottom: clamp(8px, 1.3vw, 15px); transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: flex-end; gap: clamp(5px, 0.85vw, 10px); padding: clamp(5px, 0.7vw, 9px) clamp(8px, 1.1vw, 14px); border-radius: clamp(14px, 1.8vw, 22px); background: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.md-dapp { width: clamp(26px, 3.3vw, 38px); height: clamp(26px, 3.3vw, 38px); border-radius: 24%; background: var(--c, #888); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: clamp(12px, 1.45vw, 17px); font-weight: 600; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22); transition: transform 0.2s ease; }
.md-dapp.md-mono { font-family: Menlo, Consolas, monospace; font-size: clamp(10px, 1.2vw, 14px); }
.md-dapp.bounce { animation: mddock 0.72s ease; }
@keyframes mddock { 0%, 100% { transform: translateY(0); } 28% { transform: translateY(-42%); } 52% { transform: translateY(0); } 70% { transform: translateY(-16%); } 86% { transform: translateY(0); } }
.md-dock-sep { width: 1.5px; height: clamp(24px, 3vw, 34px); background: rgba(255, 255, 255, 0.4); margin: 0 2px; align-self: center; border-radius: 1px; }
/* 终端(深色) */
.md-window.dark .md-tbar { background: #15171e; border-bottom-color: rgba(255, 255, 255, 0.07); }
.md-window.dark .md-wtitle { color: #aab1c0; }
.md-window.dark .md-body { background: #0f1117; }
.mdt { font-family: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace; font-size: clamp(11.5px, 1.25vw, 13.5px); line-height: 1.75; color: #cdd3de; width: 100%; }
.mdt-pre { color: #8a93a6; }
.mdt-p { color: #5ad17a; margin-right: 6px; }
.mdt-draft.raw { color: #6f7686; }
.mdt-draft.pol { color: #e3e7ee; }
.mdt .md-caret { background: #5ad17a; }
.mdt-tag { color: #d97757; }
/* AI 对话 */
.mda { width: 100%; display: flex; flex-direction: column; }
.mda-q { align-self: flex-start; background: #f0f1f3; border-radius: 12px; padding: 8px 12px; font-size: 12.5px; color: #555; margin-bottom: 12px; }
.mda-box { border: 1px solid #e6e6ea; border-radius: 12px; padding: 12px 14px; min-height: 56px; font-size: 13px; line-height: 1.6; color: #2a2a30; }
.mda-draft.raw { color: #9a9aa0; }
.mda-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.mda-model { font-size: 11.5px; color: #9a9aa0; }
.mda-send { background: #2f62e6; color: #fff; border-radius: 8px; padding: 6px 16px; font-size: 12.5px; }
@media (max-width: 700px) { .md-dapp { width: 28px; height: 28px; } .md-stage { padding-bottom: 56px; } }

/* ---------- nav 品牌「点击回到首页」红色打字提示 ---------- */
.nav-inner .nav-links { margin-left: auto; }
.brand-hint { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; color: #9a9aa2; font-size: 12.5px; font-weight: 500; white-space: nowrap; animation: bhfloat 6.5s ease-in-out infinite; }
.bh-arrow { font-size: 14px; line-height: 1; opacity: 0.92; }
@keyframes bhfloat { 0% { opacity: 0; transform: translateX(-7px); } 16% { opacity: 1; transform: translateX(0); } 78% { opacity: 1; transform: translateX(0); } 94%, 100% { opacity: 0; transform: translateX(-6px); } }
@media (max-width: 760px) { .brand-hint { display: none; } }

/* ---------- 教程播放器:真实「流声」键盘(对照实机录屏 1:1 复刻) ---------- */
.lk-frame { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #ededed; overflow: hidden; }
.lk-nav { position: relative; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ededed; border-bottom: 1px solid #e2e2e2; }
.lk-nav .lk-navt { font-size: 13px; font-weight: 500; color: #111; letter-spacing: -0.01em; }
.lk-nav .lk-back { position: absolute; left: 13px; font-size: 21px; line-height: 1; color: #111; }
.lk-nav .lk-more { position: absolute; right: 15px; font-size: 14px; letter-spacing: 1px; color: #111; }
.lk-chat { flex: 1; min-height: 0; background: #ededed; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 4px; overflow: hidden; }
.lk-b { max-width: 80%; font-size: 12.5px; line-height: 1.5; padding: 7px 11px; border-radius: 10px; }
.lk-b.in { align-self: flex-start; background: #fff; color: #111; border-top-left-radius: 3px; }
.lk-b.out { align-self: flex-end; background: #95ec69; color: #111; border-top-right-radius: 3px; }
.lk-inbar { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #f5f5f5; border-top: 1px solid #e0e0e0; }
.lk-inbar svg { width: 100%; height: 100%; display: block; }
.lk-voice { width: 25px; height: 25px; color: #2f2f2f; flex-shrink: 0; }
.lk-emoji, .lk-plus { width: 25px; height: 25px; color: #565656; flex-shrink: 0; }
.lk-field { flex: 1; min-width: 0; min-height: 30px; max-height: 56px; overflow: hidden; background: #fff; border-radius: 6px; padding: 5px 9px; font-size: 13px; line-height: 1.5; color: #111; display: flex; align-items: center; }
.lk-field .lk-ph { color: transparent; }
.lk-field .lk-raw, .lk-field .lk-pol { color: #111; }
.lk-field .dcaret { background: #07c160; }
.lk-kb { flex-shrink: 0; background: #e7dfce; padding: 12px 15px 15px; }
.lk-top { display: flex; align-items: center; justify-content: space-between; }
.lk-logo { display: inline-flex; align-items: center; gap: 7px; font-size: 16.5px; font-weight: 800; color: #1c1c1f; letter-spacing: -0.01em; }
.lk-logo-ic { display: inline-flex; align-items: flex-end; gap: 1.5px; width: 25px; height: 25px; background: #fff; border-radius: 7px; padding: 6px 5px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.lk-logo-ic i { flex: 1; background: #1c1c1f; border-radius: 1px; }
.lk-logo-ic i:nth-child(1) { height: 42%; }
.lk-logo-ic i:nth-child(2) { height: 88%; }
.lk-logo-ic i:nth-child(3) { height: 62%; }
.lk-logo-ic i:nth-child(4) { height: 30%; }
.lk-status { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: #8a8275; font-variant-numeric: tabular-nums; max-width: 46%; line-height: 1.2; }
.lk-status .lk-dot { width: 6px; height: 6px; border-radius: 50%; background: #bbb3a2; flex-shrink: 0; transition: background 0.3s; }
.lk-status .lk-dot.green { background: #25b865; }
.lk-status .lk-dot.red { background: #e8443b; }
.lk-status .lk-dot.yellow { background: #e8a93b; }
.lk-toggle { display: inline-flex; background: rgba(255,255,255,0.45); border-radius: 999px; padding: 2px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.lk-toggle .lk-seg { padding: 3px 11px; border-radius: 999px; color: #93897a; }
.lk-toggle .lk-seg.on { background: #fff; color: #b4622a; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.lk-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 20px 0 18px; }
.lk-hint { font-size: 12.5px; color: #9a9182; transition: opacity 0.25s; }
.lk-pill { position: relative; width: 38%; min-width: 110px; height: 40px; border-radius: 999px; background: #1c1c1f; display: flex; align-items: center; justify-content: center; gap: 9px; transition: box-shadow 0.3s, background 0.3s; }
.lk-pill .lk-mic { width: 20px; height: 20px; color: #fff; }
.lk-pill .lk-mic svg { width: 100%; height: 100%; display: block; }
.lk-pill .lk-wave { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.lk-pill .lk-wave i { width: 3px; height: 8px; border-radius: 2px; background: #ff3b30; animation: wave 0.9s ease-in-out infinite; }
.lk-pill .lk-wave i:nth-child(2) { animation-delay: 0.12s; }
.lk-pill .lk-wave i:nth-child(3) { animation-delay: 0.24s; }
.lk-pill .lk-wave i:nth-child(4) { animation-delay: 0.36s; }
.lk-pill .lk-wave i:nth-child(5) { animation-delay: 0.48s; }
.lk-pill .lk-pt { display: none; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.lk-pill.listening { box-shadow: 0 0 0 7px rgba(201,196,183,0.6); }
.lk-pill.listening .lk-mic { display: none; }
.lk-pill.listening .lk-wave { display: inline-flex; }
.lk-pill.listening .lk-pt { display: inline; }
.lk-pill.thinking { background: linear-gradient(90deg, #3b3b41 0 50%, #161619 50% 100%); }
.lk-pill.thinking .lk-mic { display: none; }
.lk-pill.thinking .lk-pt { display: inline; }
.lk-trans { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); background: #1c1c1f; color: #fff; font-size: 11px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity 0.25s; }
.lk-trans.on { opacity: 1; }
.lk-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 4px; }
.lk-globe { width: 26px; height: 26px; color: #1c1c1f; flex-shrink: 0; justify-self: start; }
.lk-globe svg { width: 100%; height: 100%; display: block; }
.lk-send { justify-self: center; width: 36%; min-width: 108px; height: 36px; border-radius: 999px; background: #e3a64a; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #4a2f10; }
.lk-del { width: 48px; height: 36px; border-radius: 999px; background: #efece4; display: flex; align-items: center; justify-content: center; color: #6a6356; flex-shrink: 0; justify-self: end; }
.lk-del svg { width: 21px; height: 21px; display: block; }
@media (prefers-reduced-motion: reduce) { .lk-pill .lk-wave i { animation: none; height: 16px; } }


/* ---------- 中/EN 语言切换 ---------- */
.lang-dd { position: relative; margin-left: 8px; }
.lang-dd-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: 5px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; line-height: 1; transition: border-color 0.2s, background 0.2s; }
.lang-dd-btn:hover { border-color: var(--ink-4); }
.lang-dd-globe { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }
.lang-dd-caret { width: 9px; height: 6px; opacity: 0.55; transition: transform 0.2s; }
.lang-dd.open .lang-dd-caret { transform: rotate(180deg); }
.lang-dd-menu { position: absolute; top: calc(100% + 7px); right: 0; min-width: 128px; list-style: none; margin: 0; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 60; }
.lang-dd.open .lang-dd-menu { opacity: 1; visibility: visible; transform: none; }
.lang-dd-opt { padding: 8px 12px; border-radius: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.lang-dd-opt:hover { background: rgba(17, 17, 19, 0.04); }
.lang-dd-opt.on { color: var(--ink); font-weight: 600; background: rgba(17, 17, 19, 0.05); }
@media (max-width: 760px) { .lang-dd { margin-left: 6px; } .lang-dd-btn { padding: 5px 9px; } }

/* ---------- 切换到英文时,先隐藏正文直到翻译完成(消除中文闪现);失败有 1.5s 兜底 ---------- */
html.i18n-pending body { visibility: hidden; }
