/* 大羽音效库官网 · 样式
   深色、克制、留白；橙色只用于主操作、选中与正在播放。 */

/* ---------- 字体（构建时按页面实际用字裁剪） ---------- */
@font-face { font-family: "PuHuiTi"; src: url("/assets/fonts/puhuiti-400-zh.woff2?v=a393d2e4b3") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PuHuiTi"; src: url("/assets/fonts/puhuiti-600-zh.woff2?v=a393d2e4b3") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0A0A0B;
  --bg-2: #0E0E0F;
  --surface: #141416;
  --raised: #1B1B1E;
  --overlay: #222226;
  --hover: rgba(255,255,255,.045);
  --fill: rgba(255,255,255,.06);
  --fill-2: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #F3F2EE;
  --text-2: #A8A49B;
  --text-3: #7C7871;
  --accent: #FF5A1F;
  --accent-2: #FF6E3A;
  --accent-text: #FF7A45;
  --accent-soft: rgba(255,90,31,.12);
  --on-accent: #141414;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --font: "PuHuiTi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, Menlo, monospace;
  --wrap: min(1200px, calc(100% - 48px));
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255,90,31,.3); }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
br.m { display: none; }
@media (max-width: 640px) { br.m { display: inline; } }

/* ---------- 文字层级 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .14em; color: var(--accent-text); font-weight: 600; }
.h1 { font-size: clamp(44px, 7.4vw, 108px); line-height: 1.04; letter-spacing: -.025em; font-weight: 600; margin: 0; }
.h2 { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.08; letter-spacing: -.022em; font-weight: 600; margin: 0; }
.h3 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.14; letter-spacing: -.018em; font-weight: 600; margin: 0; }
.h1, .h2, .h3 { text-wrap: balance; }
:lang(zh) .h1, :lang(zh) .h2, :lang(zh) .h3 { word-break: keep-all; overflow-wrap: anywhere; }
.lead { text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; color: var(--text-2); margin: 0; max-width: 40em; }
.foot-note { font-size: 13px; color: var(--text-3); margin: 0; }
[lang="en"] .h1 { letter-spacing: -.035em; }
[lang="en"] .h2, [lang="en"] .h3 { letter-spacing: -.03em; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; font-size: 17px; font-weight: 600; white-space: nowrap; transition: transform .2s var(--ease), background .2s var(--ease), color .2s, box-shadow .3s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 40px -10px rgba(255,90,31,.6); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 14px 50px -10px rgba(255,90,31,.75); }
.btn-ghost { color: var(--text); padding: 0 18px; }
.btn-ghost:hover { background: var(--hover); }
.btn-ghost svg { width: 22px; height: 22px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fill); color: var(--text-2); font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
button.chip:hover { background: var(--fill-2); color: var(--text); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--fill); color: var(--text-2); font-size: 13px; white-space: nowrap; }
.tag.hit { background: var(--accent-soft); color: var(--accent-text); }

/* ---------- 导航 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10,10,11,.72); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); border-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-brand img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-2); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--hover); }
.nav-right { display: flex; align-items: center; gap: 10px; }
[hidden] { display: none !important; }
.lang-btn { display: inline-flex; align-items: center; font-size: 13px; color: var(--text-2); height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.lang-btn:hover { color: var(--text); border-color: var(--text-3); }
.nav-ext { display: flex; align-items: center; gap: 2px; padding-right: 10px; margin-right: 2px; border-right: 1px solid var(--line); }
.nav-ext a, .np-ext a { display: inline-flex; align-items: center; gap: 3px; font-size: 13.5px; color: var(--text-2); padding: 8px 10px; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-ext a:hover, .np-ext a:hover { color: var(--text); background: var(--hover); }
.nav-ext svg, .np-ext svg { width: 13px; height: 13px; opacity: .7; }
.nav-menu { display: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); place-items: center; align-content: center; gap: 5px; }
.nav-menu i { display: block; width: 14px; height: 1.5px; border-radius: 1px; background: var(--text); transition: transform .25s var(--ease); }
.nav-menu[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); } .nav-menu[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-panel { position: absolute; left: 0; right: 0; top: 64px; background: rgba(14,14,15,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 14px 0 22px; animation: qsIn .25s var(--ease); }
.nav-panel .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.np-links { display: grid; gap: 2px; } .np-links a { font-size: 16px; padding: 10px 0; color: var(--text); }
.np-ext { display: flex; flex-direction: column; align-items: flex-start; } .np-ext h6 { margin: 12px 0 4px; font-size: 12px; font-weight: 400; color: var(--text-3); } .np-ext a { padding: 10px 0; font-size: 15px; }
@media (max-width: 1180px) { .nav-ext { display: none; } .nav-menu { display: grid; } }
@media (max-width: 860px) { .nav-links { display: none; } .nav-right { margin-left: auto; } }
@media (max-width: 400px) { .nav-cta { padding: 0 12px; font-size: 13px; } .nav .wrap { gap: 12px; } }

/* ---------- 区块 ---------- */
.sec { position: relative; padding-block: clamp(96px, 15vh, 180px); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* 滚动进入：轻微上浮 + 淡入 */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* ---------- 首屏 ---------- */
.hero { min-height: 100svh; padding-top: 120px; padding-bottom: 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120vh; background: radial-gradient(48% 42% at 50% 34%, rgba(255,90,31,.10), rgba(255,90,31,0) 70%); pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100vh; pointer-events: none; }
.hero-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 26px; padding-top: clamp(24px, 6vh, 72px); }
.hero-mark { width: clamp(64px, 6.4vw, 92px); height: auto; aspect-ratio: 72 / 64.52; }
.hero-mark .sl { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); }
.hero-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero .lead { text-align: center; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--text-3); }
.hero-note .sep { display: inline-block; width: 1px; height: 12px; background: var(--line-2); margin: 0 14px; vertical-align: -1px; }
@media (max-width: 560px) { .hero-note .sep { display: block; width: 0; height: 4px; margin: 0; } }
.hero [data-h] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.hero.on [data-h] { opacity: 1; transform: none; }
.hero.on [data-h="2"] { transition-delay: .1s; } .hero.on [data-h="3"] { transition-delay: .2s; } .hero.on [data-h="4"] { transition-delay: .3s; } .hero.on [data-h="5"] { transition-delay: .42s; }
.hero-stage { position: relative; width: min(1280px, calc(100% - 32px)); margin-top: clamp(56px, 8vh, 96px); perspective: 2200px; }
.hero-shot { transform-origin: 50% 0; transform: rotateX(24deg) scale(.92); opacity: 0; transition: opacity 1.2s var(--ease) .5s; will-change: transform; }
.hero.on .hero-shot { opacity: 1; }
.shot-note { position: absolute; right: 12px; bottom: -28px; font-size: 12px; color: var(--text-3); }

/* ---------- 产品界面示意（与软件 beta.41 深色录音室主题一致） ---------- */
.mock-scale { position: relative; width: 100%; }
.mock { --u: 1px; width: 1240px; transform-origin: 0 0; border-radius: 16px; background: #161618; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 60px 160px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; color: #F3F2EE; font-size: 15px; text-align: left; user-select: none; }
.mock-top { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: #121214; border-bottom: 1px solid rgba(255,255,255,.07); }
.mock-dots { display: flex; gap: 8px; margin-right: 8px; } .mock-dots i { width: 12px; height: 12px; border-radius: 50%; background: #3a3a3e; }
.mock-top img { height: 16px; }
.mock-ver { font-family: var(--mono); font-size: 12px; color: #A8A49B; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.06); }
.mock-top .sp { flex: 1; }
.mock-ic { width: 18px; height: 18px; color: #A8A49B; }
.mock-body { display: grid; grid-template-columns: 220px 1fr; height: 640px; }
.mock-side { background: #121214; border-right: 1px solid rgba(255,255,255,.06); padding: 18px 12px; font-size: 14px; color: #A8A49B; }
.mock-side h6 { margin: 14px 10px 8px; font-size: 12px; font-weight: 400; color: #7C7871; display: flex; justify-content: space-between; }
.mock-side h6:first-child { margin-top: 0; }
.mock-side .it { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; }
.mock-side .it.on { background: rgba(255,255,255,.07); color: #F3F2EE; }
.mock-side .it b { font-weight: 400; font-family: var(--mono); font-size: 12px; color: #7C7871; }
.mock-side .pack { color: #FF7A45; font-size: 12px; font-weight: 400; }
.mock-main { padding: 18px 22px 0; display: flex; flex-direction: column; min-width: 0; }
.mock-head { display: flex; align-items: center; gap: 10px; }
.mock-head .crumb { font-size: 13px; color: #7C7871; }
.mock-head .ttl { font-size: 22px; font-weight: 600; }
.mock-head .cnt { font-size: 13px; color: #7C7871; font-family: var(--mono); }
.mock-head .proj { margin-left: auto; font-size: 13px; color: #A8A49B; }
.mock-btn { height: 34px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.mock-btn.ai { border-color: rgba(255,90,31,.45); background: rgba(255,90,31,.08); }
.mock-btn svg { width: 15px; height: 15px; }
.mock-search { margin-top: 16px; height: 44px; border-radius: 12px; background: #1B1B1E; border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 14px; color: #F3F2EE; }
.mock-search .ph { color: #7C7871; }
.mock-search .q { display: inline-flex; gap: 6px; }
.mock-search .q span { padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.08); }
.mock-search .q span.ex { color: #FF7A45; background: rgba(255,90,31,.12); }
.mock-search .r { margin-left: auto; display: flex; gap: 12px; color: #7C7871; font-size: 13px; align-items: center; }
.mock-cols { display: grid; grid-template-columns: 36px 1fr 220px 170px 64px 56px 64px; gap: 14px; align-items: center; padding: 14px 10px 10px; font-size: 12px; color: #7C7871; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock-row { display: grid; grid-template-columns: 36px 1fr 220px 170px 64px 56px 64px; gap: 14px; align-items: center; padding: 0 10px; height: 64px; border-bottom: 1px solid rgba(255,255,255,.045); }
.mock-row.sel { background: rgba(255,90,31,.08); border-radius: 10px; border-color: transparent; }
.mock-row .pl { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.mock-row.sel .pl { background: #FF5A1F; color: #141414; }
.mock-row .pl svg { width: 11px; height: 11px; }
.mock-row .nm { min-width: 0; }
.mock-row .nm b { display: block; font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .nm i { display: block; font-style: normal; font-size: 12.5px; color: #A8A49B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.mock-row .tg { display: flex; gap: 6px; overflow: hidden; }
.mock-row .tg span { font-size: 12px; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.06); color: #C9C6C0; white-space: nowrap; }
.mock-row canvas { width: 170px; height: 28px; }
.mock-row .du, .mock-row .fm { font-family: var(--mono); font-size: 12px; color: #A8A49B; }
.mock-row .st { color: #FF5A1F; font-size: 13px; }
.mock-row .st.off { color: #4a4a4e; }
.mock-player { margin-top: auto; height: 76px; border-top: 1px solid rgba(255,255,255,.07); display: grid; grid-template-columns: 200px 1fr 140px; align-items: center; gap: 18px; padding: 0 4px; }
.mock-player .now b { display: block; font-size: 14px; font-weight: 600; } .mock-player .now i { font-style: normal; font-size: 12px; color: #7C7871; }
.mock-player .ctl { display: flex; align-items: center; gap: 14px; }
.mock-player .pb { width: 38px; height: 38px; border-radius: 50%; background: #FF5A1F; color: #141414; display: grid; place-items: center; flex: none; }
.mock-player .pb svg { width: 14px; height: 14px; }
.mock-player canvas { flex: 1; height: 34px; min-width: 0; }
.mock-player .t { font-family: var(--mono); font-size: 12px; color: #7C7871; }

/* ---------- 演示卡片通用 ---------- */
.demo { position: relative; border-radius: var(--r-xl); background: linear-gradient(180deg, #151517, #111113); border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); overflow: hidden; }
.demo-pad { padding: clamp(18px, 2.4vw, 32px); }
.demo-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.play-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); flex: none; transition: background .2s, color .2s, transform .2s var(--ease); }
.play-btn:hover { background: var(--text); color: var(--bg); }
.play-btn svg { width: 12px; height: 12px; }
.play-btn .i-pause { display: none; }
.is-playing .play-btn { background: var(--accent); color: var(--on-accent); }
.is-playing .play-btn .i-play { display: none; } .is-playing .play-btn .i-pause { display: block; }

/* 列表行（打标 / 搜索 / 快捷搜索共用） */
.srow { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 140px 52px; gap: 16px; align-items: center; min-height: 72px; padding: 8px 14px; border-radius: 14px; transition: background .2s; }
.srow + .srow::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--line); }
.srow:hover { background: var(--hover); }
.srow:hover::before, .srow:hover + .srow::before, .srow.is-playing::before, .srow.is-playing + .srow::before { opacity: 0; }
.srow.is-playing { background: var(--accent-soft); }
.srow .ttl { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow .ttl.file { font-family: var(--mono); font-weight: 400; font-size: 15px; color: var(--text-2); }
.srow .desc { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; min-height: 1.5em; }
.srow .file-sub { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 2px; }
.srow .tags { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.srow canvas.wv { width: 140px; height: 30px; }
.srow .dur { font-family: var(--mono); font-size: 13px; color: var(--text-3); text-align: right; }
@media (max-width: 720px) {
  .srow { grid-template-columns: 36px minmax(0, 1fr) 46px; gap: 12px; }
  .srow .tags, .srow canvas.wv { display: none; }
}

/* ---------- 痛点：AI 打标 ---------- */
.tagdemo .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 10px 24px; }
.tagdemo .bar .st { font-size: 14px; color: var(--text-3); min-width: 0; }
@media (max-width: 480px) { .tagdemo .bar { padding-left: 18px; } .tagdemo .bar .st { font-size: 13px; } }
.tagdemo .bar .st.ok { color: var(--accent-text); }
.ai-btn { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 15px; font-weight: 600; transition: transform .2s var(--ease), opacity .2s; }
.ai-btn:active { transform: scale(.97); }
.ai-btn svg { width: 16px; height: 16px; }
.ai-btn[disabled] { opacity: .5; pointer-events: none; }
.tagdemo .rows { padding: 0 10px 12px; }
.tagdemo .scan { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 18px 2px rgba(255,90,31,.6); opacity: 0; pointer-events: none; }
.tagdemo .tag { opacity: 0; transform: translateY(4px) scale(.9); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.tagdemo .tag.on { opacity: 1; transform: none; }

/* ---------- 找：搜索 ---------- */
.searchdemo .sbox { display: flex; align-items: center; gap: 12px; height: 60px; margin: 18px 18px 0; padding: 0 18px; border-radius: 16px; background: var(--raised); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.searchdemo .sbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.searchdemo .sbox svg { width: 20px; height: 20px; color: var(--text-3); flex: none; }
.searchdemo .sbox input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 18px; }
.searchdemo .sbox input::placeholder { color: var(--text-3); }
.searchdemo .sbox .ai { font-size: 13px; color: var(--text-3); display: flex; gap: 12px; align-items: center; }
.searchdemo .sbox .ai svg { width: 18px; height: 18px; }
.searchdemo .tokens { display: flex; gap: 6px; flex-wrap: wrap; min-height: 26px; margin: 12px 22px 0; }
.searchdemo .tok { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--fill); color: var(--text); }
.searchdemo .tok.ex { background: var(--accent-soft); color: var(--accent-text); }
.searchdemo .tok.ex::before { content: "排除 "; opacity: .7; }
[lang="en"] .searchdemo .tok.ex::before { content: "not "; }
.searchdemo .tries { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 14px 22px 0; }
.searchdemo .tries span { font-size: 13px; color: var(--text-3); margin-right: 4px; }
.searchdemo .meta { display: flex; justify-content: space-between; gap: 16px; margin: 20px 24px 6px; font-size: 13px; color: var(--text-3); }
.searchdemo .meta [data-count] { white-space: nowrap; }
@media (max-width: 640px) { .searchdemo .meta span:last-child { display: none; } }
.searchdemo .rows { padding: 0 10px 12px; min-height: 230px; }
.searchdemo .empty { padding: 60px 0; text-align: center; color: var(--text-3); }
.searchdemo mark { background: none; color: var(--accent-text); }

/* ---------- 双击 S ---------- */
.ss-try { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--text); font-size: 15px; width: fit-content; }
.ss-try .k { width: 28px; height: 28px; font-size: 14px; }
.ss-touch { display: none; }
@media (hover: none) { .ss-try { display: none; } .ss-touch { display: inline-flex; } }
.qk-view .scene, .use-nle .view { border-radius: 12px; position: relative; overflow: hidden; background:
    radial-gradient(3.2% 5% at 18% 47%, rgba(255,176,96,.85), transparent 70%),
    radial-gradient(2.4% 3.6% at 27% 53%, rgba(255,120,60,.75), transparent 70%),
    radial-gradient(4.5% 6.5% at 41% 44%, rgba(255,214,160,.5), transparent 70%),
    radial-gradient(2.8% 4.2% at 58% 50%, rgba(255,150,80,.7), transparent 70%),
    radial-gradient(3.6% 5.4% at 71% 42%, rgba(130,190,255,.45), transparent 70%),
    radial-gradient(5.5% 8% at 86% 38%, rgba(255,150,80,.4), transparent 70%),
    radial-gradient(2% 3% at 93% 55%, rgba(255,90,31,.8), transparent 70%),
    radial-gradient(60% 30% at 40% 100%, rgba(255,140,70,.22), transparent 70%),
    radial-gradient(30% 20% at 80% 92%, rgba(130,190,255,.12), transparent 70%),
    linear-gradient(180deg, #0b1016 0%, #18202a 50%, #141920 58%, #0a0c0f 100%); }
.qk-view .scene::after, .use-nle .view::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(104deg, transparent 0 13px, rgba(255,255,255,.045) 13px 14px), linear-gradient(180deg, transparent 55%, rgba(255,255,255,.03) 56%, transparent 100%); }
.k { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(180deg, #2a2a2e, #1d1d20); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 4px 0 #0c0c0d, 0 10px 30px rgba(0,0,0,.4); font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--text); transition: transform .08s, box-shadow .08s, color .08s; }
.k.press { transform: translateY(3px); box-shadow: 0 1px 0 #0c0c0d, 0 6px 16px rgba(0,0,0,.4); color: var(--accent-text); }

/* ---------- 双击 S（重点板块） ---------- */
.quick { overflow: hidden; }
.quick-glow { position: absolute; left: 50%; top: 0; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgba(255,90,31,.12), transparent 70%); pointer-events: none; }
.quick .wrap { position: relative; }
.quick-title { margin-top: 18px; }
.qk-keys { display: flex; justify-content: center; gap: 16px; margin: 30px 0 6px; }
.key { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 20px; background: linear-gradient(180deg, #2c2c30, #1b1b1e); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 7px 0 #0b0b0c, 0 18px 40px rgba(0,0,0,.5); font-size: 40px; font-weight: 600; color: var(--text); transition: transform .09s, box-shadow .09s, color .09s, border-color .09s; }
.key.press { transform: translateY(6px); box-shadow: 0 1px 0 #0b0b0c, 0 0 0 4px rgba(255,90,31,.28), 0 10px 30px rgba(255,90,31,.25); color: var(--accent-text); border-color: rgba(255,90,31,.7); }
@media (max-width: 640px) { .key { width: 66px; height: 66px; font-size: 30px; border-radius: 16px; } }
.qk-stage { position: relative; margin-top: clamp(40px, 6vw, 64px); border-radius: var(--r-xl); background: #0D0D0F; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 60px 140px -50px rgba(0,0,0,.9); user-select: none; }
.qk-app { display: grid; grid-template-rows: 38px auto auto; }
.qk-bar { display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.qk-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.qk-bar span { margin-left: 10px; } .qk-bar b { margin-left: auto; font-weight: 400; font-family: var(--mono); font-size: 11.5px; }
.qk-body { display: grid; grid-template-columns: 22% 1fr; gap: 14px; padding: 14px 16px; height: clamp(170px, 30vw, 330px); }
.qk-bin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.qk-bin i { aspect-ratio: 16 / 10; border-radius: 6px; background: linear-gradient(135deg, #1e2833, #3a3330 60%, #1d232a); opacity: .75; }
.qk-bin i:nth-child(2n) { background: linear-gradient(135deg, #2b2420, #23303b 60%, #1a1e24); }
.qk-view { position: relative; } .qk-view .scene { position: absolute; inset: 0; }
.qk-tl { position: relative; border-top: 1px solid var(--line); padding: 8px 16px 14px; }
.qk-ruler { display: flex; justify-content: space-between; margin-left: 40px; height: 20px; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.qk-trk { display: grid; grid-template-columns: 40px 1fr; align-items: center; height: clamp(30px, 3.6vw, 42px); margin-top: 6px; }
.qk-trk b { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--text-3); }
.qk-trk .lane { position: relative; height: 100%; border-radius: 7px; background: rgba(255,255,255,.025); }
.qk-trk .cv, .qk-trk .ca, .qk-clip { position: absolute; top: 0; bottom: 0; border-radius: 7px; }
.qk-trk .cv { background: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 64px, rgba(0,0,0,.55) 64px 66px), linear-gradient(90deg, #233140, #4a3a33 30%, #2c3a47 55%, #51402f 80%, #2a3644); }
.qk-trk .ca { background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 4px) center / 100% 46% no-repeat, rgba(110,170,140,.22); }
.qk-trk.drop .lane { outline: 1px dashed rgba(255,255,255,.12); outline-offset: -1px; }
.qk-trk.drop .lane.over { outline-color: var(--accent); background: var(--accent-soft); }
.qk-trk .dh { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--text-3); opacity: 0; transition: opacity .2s; }
.qk-trk .lane.over .dh { opacity: 1; color: var(--accent-text); }
.qk-clip { background: repeating-linear-gradient(90deg, rgba(20,20,20,.38) 0 1px, transparent 1px 4px) center / 100% 50% no-repeat, var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; padding: 0 8px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; animation: placeIn .4s var(--ease); transition: opacity .5s, box-shadow .2s; cursor: pointer; }
.qk-clip span { background: var(--accent); padding: 1px 4px; border-radius: 4px; }
.qk-clip.live { box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 0 24px rgba(255,90,31,.6); }
.qk-clip.gone { opacity: 0; }
.qk-ph { position: absolute; top: 4px; bottom: 10px; width: 2px; margin-left: -1px; background: var(--text); left: 0; pointer-events: none; }
.qk-ph::before { content: ""; position: absolute; left: -5px; top: 0; border: 6px solid transparent; border-top: 7px solid var(--text); }
.qk-pop { position: absolute; left: 0; top: 0; z-index: 5; width: min(320px, 60%); opacity: 0; transform: scale(.92) translateY(6px); transform-origin: 0 0; transition: opacity .28s var(--ease), transform .36s var(--ease); pointer-events: none; }
.qk-pop.on { opacity: 1; transform: none; }
.qk-pop.gone { opacity: 0; transform: scale(.96) translateY(-4px); transition-duration: .4s; }
.qk-pop .qs { width: 100%; } .qk-pop .qs-item { transition: background .2s, opacity .3s, transform .3s; }
.qk-pop .qs-item.hide { opacity: 0; transform: translateY(6px); }
.qk-pop .qs-item.grab { background: var(--accent-soft); }
.qk-pop .caret { display: inline-block; width: 1.5px; height: 15px; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.qk-hit { position: absolute; left: 0; top: 0; z-index: 6; display: flex; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .3s var(--ease); pointer-events: none; }
.qk-hit.on { opacity: 1; transform: none; }
.qk-hit .k { width: 34px; height: 34px; font-size: 16px; border-radius: 9px; }
.qk-ghost { position: absolute; left: 0; top: 0; z-index: 6; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; display: flex; align-items: center; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 10px 30px rgba(255,90,31,.45); }
.qk-toast { position: absolute; left: 50%; top: 52px; z-index: 6; transform: translate(-50%, -8px); display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; background: rgba(28,28,31,.92); border: 1px solid var(--line-2); font-size: 13px; color: var(--text); opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; white-space: nowrap; }
.qk-toast svg { width: 15px; height: 15px; color: var(--accent-text); }
.qk-toast.on { opacity: 1; transform: translate(-50%, 0); }
.qk-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.qk-points > div { background: var(--bg); padding: 22px 22px 24px; } .qk-points b { display: block; font-size: 17px; margin-bottom: 6px; } .qk-points p { margin: 0; font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) { .qk-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .qk-points { grid-template-columns: 1fr; } .qk-body { grid-template-columns: 1fr; } .qk-bin { display: none; } }
.qk-try { display: grid; justify-items: center; gap: 14px; margin-top: 34px; text-align: center; }
.ss-try { border-color: rgba(255,90,31,.45); }
.qs-item { touch-action: none; }
.qs-drag { position: fixed; z-index: 90; left: 0; top: 0; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; display: flex; align-items: center; white-space: nowrap; pointer-events: none; box-shadow: 0 12px 30px rgba(255,90,31,.45); }
.qs-float.leaving { opacity: 0; transform: scale(.96); transition: opacity .3s, transform .3s; }

/* 引导：等待用户点击的按钮 */
.pulse { position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--accent); opacity: 0; animation: pulse 1.8s var(--ease) infinite; pointer-events: none; }
@keyframes pulse { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.18); } }

/* 二维码顺序角标 */
.qr-card > a { position: relative; }
.qb { position: absolute; top: 10.8%; width: clamp(26px, 3.4vw, 38px); height: clamp(26px, 3.4vw, 38px); margin: calc(clamp(26px, 3.4vw, 38px) / -2) 0 0 calc(clamp(26px, 3.4vw, 38px) / -2); border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: clamp(14px, 1.6vw, 19px); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(0,0,0,.35); }
.qb1 { left: 62.6%; } .qb2 { left: 7.6%; }
.qr-card figcaption b { color: var(--accent-text); }
.ss-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; pointer-events: none; transition: transform .2s var(--ease); will-change: transform; }

/* 快捷搜索小窗（演示内 + 页面上真正可用的那个共用） */
.qs { width: 340px; border-radius: 16px; background: rgba(28,28,31,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -10px rgba(0,0,0,.8); overflow: hidden; font-size: 14px; }
.qs-head { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-3); cursor: grab; }
.qs-head .sp { flex: 1; }
.qs-head button { height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12px; color: var(--text-2); }
.qs-head button:hover { background: var(--hover); color: var(--text); }
.qs-head button.on { color: var(--accent-text); background: var(--accent-soft); }
.qs-input { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.qs-input svg { width: 16px; height: 16px; color: var(--text-3); }
.qs-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.qs-list { max-height: 268px; overflow: auto; padding: 6px; }
.qs-item { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; }
.qs-item:hover { background: var(--hover); }
.qs-item.is-playing { background: var(--accent-soft); }
.qs-item .play-btn { width: 28px; height: 28px; }
.qs-item .play-btn svg { width: 10px; height: 10px; }
.qs-item b { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-item i { display: block; font-style: normal; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-item .d { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.qs-foot { padding: 8px 14px 10px; font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--line); }
.qs-float { position: fixed; z-index: 80; animation: qsIn .32s var(--ease); }
@keyframes qsIn { from { opacity: 0; transform: scale(.94) translateY(6px); } }

/* ---------- 波形与片段 ---------- */
.wavedemo .hints { display: flex; gap: 10px 24px; flex-wrap: wrap; padding: 20px 26px 0; font-size: 14px; color: var(--text-3); }
.wavedemo .hints span.on { color: var(--text); }
.wv-head { display: flex; align-items: center; gap: 14px; padding: 18px 26px 0; }
.wv-head .nm b { display: block; font-weight: 600; } .wv-head .nm i { font-style: normal; font-size: 13px; color: var(--text-3); font-family: var(--mono); }
.wv-head .t { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.wv-area { position: relative; margin: 18px 26px 0; height: 168px; cursor: crosshair; touch-action: none; }
.wv-area canvas { width: 100%; height: 100%; }
.wv-sel { position: absolute; top: -6px; bottom: -6px; background: rgba(255,90,31,.12); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); pointer-events: none; }
.wv-clip { position: absolute; top: -18px; left: 50%; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: auto; cursor: grab; touch-action: none; box-shadow: 0 8px 24px -6px rgba(255,90,31,.7); }
.wv-clip svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .wv-clip { top: auto; bottom: 8px; transform: translate(-50%, 0); } }
.wv-ph { position: absolute; top: -10px; bottom: -10px; width: 2px; background: var(--text); pointer-events: none; opacity: 0; }
.wv-tl { margin: 34px 26px 26px; border-radius: 14px; background: #0F0F11; border: 1px solid var(--line); padding: 12px 14px 14px; }
.wv-tl .lab { font-size: 12px; color: var(--text-3); margin-bottom: 10px; display: flex; justify-content: space-between; }
.wv-track { position: relative; height: 40px; border-radius: 8px; margin-top: 6px; background: rgba(255,255,255,.03); }
.wv-track.v { background: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 70px, rgba(0,0,0,.55) 70px 72px), linear-gradient(90deg, #233140, #4a3a33 30%, #2c3a47 55%, #51402f 80%, #2a3644); }
.wv-track.a1::after { content: ""; position: absolute; left: 0; width: 64%; top: 0; bottom: 0; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 4px) center / 100% 46% no-repeat, rgba(110,170,140,.22); }
.wv-track.drop { outline: 1px dashed var(--line-2); outline-offset: -1px; }
.wv-track.drop.over { outline-color: var(--accent); background: var(--accent-soft); }
.wv-placed { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; background: var(--accent); cursor: pointer; overflow: hidden; animation: placeIn .5s var(--ease); }
.wv-placed canvas { width: 100%; height: 100%; }
@keyframes placeIn { from { transform: scaleY(1.4); opacity: 0; } }
.wv-ghost { position: fixed; z-index: 90; pointer-events: none; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.5); transform: translate(-50%, -50%) rotate(-3deg); }

/* ---------- 做：创造音乐 ---------- */
.make-block { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: clamp(80px, 12vh, 140px); }
.make-block:first-of-type { margin-top: 0; }
.mk-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
@media (max-width: 900px) { .mk-head { grid-template-columns: 1fr; } }
.new-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; width: fit-content; margin-bottom: 14px; white-space: nowrap; }
.new-badge svg { width: 14px; height: 14px; flex: none; }
.music { padding: clamp(14px, 2vw, 24px); }
.mu-top { display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 14px; }
@media (max-width: 980px) { .mu-top { grid-template-columns: 1fr 1fr; } .mu-fx { grid-column: 1 / -1; } }
@media (max-width: 560px) { .mu-top { grid-template-columns: 1fr; } }
.mu-card { border-radius: 16px; background: #18181B; border: 1px solid var(--line); padding: 14px; }
.mu-card h4 { margin: 0 0 10px; font-size: 13px; font-weight: 400; color: var(--text-3); display: flex; justify-content: space-between; }
.mu-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mu-packs button { height: 38px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); color: var(--text-2); font-size: 14px; transition: all .2s; }
.mu-packs button:hover { color: var(--text); background: var(--fill); }
.mu-packs button.on { color: var(--text); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.mu-tr { display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; }
.mu-bpm { font-family: var(--mono); font-size: 30px; font-weight: 600; line-height: 1; } .mu-bpm small { font-size: 12px; color: var(--text-3); margin-left: 4px; font-weight: 400; }
.mu-beats { display: flex; gap: 6px; } .mu-beats i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3e; transition: background .08s; } .mu-beats i.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.mu-state { font-size: 13px; color: var(--text-3); min-height: 1.4em; }
.mu-tr .row { display: flex; gap: 8px; }
.mu-fx { padding: 10px; }
.fx-pad { position: relative; height: 118px; border-radius: 12px; background: radial-gradient(70% 90% at 50% 100%, rgba(255,90,31,.12), transparent 70%), #121214; border: 1px solid var(--line); touch-action: none; cursor: crosshair; overflow: hidden; }
.fx-pad span { position: absolute; font-size: 12px; color: var(--text-3); }
.fx-pad .t { top: 8px; left: 50%; transform: translateX(-50%); } .fx-pad .b { bottom: 8px; left: 50%; transform: translateX(-50%); }
.fx-pad .l { left: 10px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; } .fx-pad .r { right: 10px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; }
[lang="en"] .fx-pad .l, [lang="en"] .fx-pad .r { writing-mode: horizontal-tb; }
.fx-pad .msg { left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--text); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.fx-pad .dot { position: absolute; width: 22px; height: 22px; margin: -11px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(255,90,31,.25); box-shadow: 0 0 16px rgba(255,90,31,.6); opacity: 0; transition: opacity .2s; }
.fx-pad.held .dot { opacity: 1; }
.fx-pad.idle { opacity: .55; cursor: default; }
.mu-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.mu-scenes button { height: 40px; border-radius: 10px; background: #18181B; border: 1px solid var(--line); color: var(--text-2); font-size: 14px; transition: all .2s; }
.mu-scenes button:hover { color: var(--text); }
.mu-scenes button.on { background: rgba(255,90,31,.14); border-color: rgba(255,90,31,.6); color: var(--text); }
.mu-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.mu-col { border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); padding: 8px; display: grid; gap: 8px; align-content: start; }
.mu-col h5 { margin: 2px 0 2px; text-align: center; font-size: 13px; font-weight: 600; color: var(--text-2); }
.pad { --c: 255,140,60; position: relative; height: 74px; border-radius: 10px; background: rgba(var(--c), .07); border: 1px solid rgba(var(--c), .2); overflow: hidden; text-align: left; padding: 8px 9px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .2s, border-color .2s, transform .12s var(--ease), box-shadow .2s; }
.pad:hover { background: rgba(var(--c), .13); }
.pad:active { transform: scale(.97); }
.pad canvas { position: absolute; left: 8px; right: 8px; top: 8px; height: 28px; width: calc(100% - 16px); opacity: .7; }
.pad b { position: relative; font-size: 13px; font-weight: 600; color: var(--text); }
.pad kbd { position: absolute; right: 7px; bottom: 6px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; }
.pad .pr { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgb(var(--c)); }
.pad.on { background: rgba(var(--c), .26); border-color: rgba(var(--c), .9); box-shadow: 0 0 0 1px rgba(var(--c), .5), 0 10px 30px -8px rgba(var(--c), .55); }
.pad.on canvas { opacity: 1; }
.pad.pending { border-color: rgba(var(--c), .9); animation: pend .5s ease-in-out infinite alternate; }
.pad.stopping { animation: pend .5s ease-in-out infinite alternate; }
.pad.loading::after { content: ""; position: absolute; right: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: rgb(var(--c)); animation: spin .7s linear infinite; }
@keyframes pend { to { background: rgba(var(--c), .2); } }
@keyframes spin { to { transform: rotate(360deg); } }
.mu-col[data-r="0"] .pad { --c: 245,151,72; } .mu-col[data-r="1"] .pad { --c: 80,200,170; } .mu-col[data-r="2"] .pad { --c: 104,150,245; }
.mu-col[data-r="3"] .pad { --c: 196,132,222; } .mu-col[data-r="4"] .pad { --c: 200,198,92; } .mu-col[data-r="5"] .pad { --c: 90,190,215; }
.mu-hint { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--text-3); }
@media (max-width: 720px) {
  .mu-grid { gap: 5px; } .mu-col { padding: 4px; gap: 5px; border-radius: 10px; } .mu-col h5 { font-size: 11px; }
  .pad { height: 54px; padding: 5px; } .pad b { font-size: 11px; } .pad kbd { display: none; } .pad canvas { top: 5px; left: 5px; width: calc(100% - 10px); height: 20px; }
  .mu-keys { display: none; }
}

/* ---------- 做：创造音效 ---------- */
.design .bar { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--fill); }
.seg button { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 14px; color: var(--text-2); transition: all .2s; }
.seg button.on { background: var(--overlay); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.design .bar .sp { flex: 1; }
.dz { position: relative; margin: 16px 20px 20px; aspect-ratio: 21 / 8; min-height: 240px; border-radius: 18px; background: radial-gradient(90% 100% at 50% 120%, rgba(255,90,31,.13), transparent 60%), #111113; border: 1px solid var(--line); overflow: hidden; touch-action: none; cursor: crosshair; }
.dz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dz .cn { position: absolute; font-size: 12.5px; color: var(--text-2); padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.06); }
.dz .cn:nth-of-type(1) { left: 14px; top: 14px; } .dz .cn:nth-of-type(2) { right: 14px; top: 14px; } .dz .cn:nth-of-type(3) { left: 14px; bottom: 14px; } .dz .cn:nth-of-type(4) { right: 14px; bottom: 14px; }
.dz .hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 13px; color: var(--text-3); white-space: nowrap; }
@media (max-width: 640px) { .dz { aspect-ratio: 4 / 3; } .dz .hint { bottom: 52px; } }

/* ---------- 做：AI 生成 ---------- */
.ai-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-panel { padding: 22px; }
.ai-panel .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ai-panel .top b { font-size: 17px; }
.ai-panel .mk { font-size: 12px; color: var(--text-3); }
.ai-prompt { margin-top: 14px; min-height: 120px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); padding: 16px 18px; font-size: 17px; line-height: 1.6; }
.ai-prompt .lab { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }
.ai-prompt .caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.ai-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ai-run { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.ai-run .gen { height: 42px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.ai-run .cost { font-size: 13px; color: var(--text-3); }
.ai-status { margin-top: 14px; min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: 14px; color: var(--text-2); opacity: 0; transition: opacity .4s; }
.ai-status.on { opacity: 1; }
.ai-status .bars { display: flex; gap: 3px; align-items: center; height: 18px; }
.ai-status .bars i { width: 3px; border-radius: 2px; background: var(--accent); animation: eq 1s ease-in-out infinite; }
.ai-status .bars i:nth-child(2) { animation-delay: .15s; } .ai-status .bars i:nth-child(3) { animation-delay: .3s; } .ai-status .bars i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.ai-side { display: grid; gap: 20px; }
.ai-card { padding: 22px; display: grid; gap: 12px; }
.ai-card b { font-size: 18px; } .ai-card p { margin: 0; color: var(--text-2); font-size: 15px; }
.stems { display: grid; gap: 6px; margin-top: 4px; }
.stem { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.stem canvas { width: 100%; height: 18px; }
.voice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.voice-row span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--fill); font-size: 13px; color: var(--text-2); }
.voice-row span i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #FF7A45, #b93d10); }
.voice-row span:nth-child(2) i { background: linear-gradient(135deg, #8fb6ff, #3a5fb5); } .voice-row span:nth-child(3) i { background: linear-gradient(135deg, #b9e3a0, #4b8a3a); }

/* ---------- 用 ---------- */
.use-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .use-grid { grid-template-columns: 1fr; } }
.use-list { display: grid; gap: 4px; }
.use-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 16px; border-radius: 16px; transition: background .3s; }
.use-item.on { background: var(--hover); }
.use-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--fill); color: var(--text-2); transition: color .3s, background .3s; }
.use-item.on .ic { background: var(--accent-soft); color: var(--accent-text); }
.use-item .ic svg { width: 20px; height: 20px; }
.use-item b { display: block; font-size: 17px; margin-bottom: 4px; } .use-item p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.use-stage { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-xl); background: #0F0F11; border: 1px solid var(--line); overflow: hidden; }
.use-nle { position: absolute; left: 4%; top: 6%; width: 64%; bottom: 6%; border-radius: 12px; background: #17171A; border: 1px solid var(--line); padding: 12px; display: grid; grid-template-rows: 1fr auto; gap: 10px; }
.use-nle .view { border-radius: 8px; }
.use-nle .tl { display: grid; gap: 5px; } .use-nle .tl i { display: block; height: 16px; border-radius: 4px; background: rgba(255,255,255,.07); }
.use-nle .tl i:nth-child(1) { background: repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 40px, rgba(0,0,0,.55) 40px 42px), linear-gradient(90deg, #233140, #4a3a33 30%, #2c3a47 55%, #51402f 80%, #2a3644); }
.use-nle .tl i:nth-child(2) { background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 4px) center / 100% 46% no-repeat, rgba(110,170,140,.22); }
.use-nle .tl .slot { position: relative; height: 16px; border-radius: 4px; background: rgba(255,255,255,.04); }
.use-nle .tl .slot b { position: absolute; left: 34%; top: 0; bottom: 0; width: 30%; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(20,20,20,.35) 0 1px, transparent 1px 4px) center / 100% 46% no-repeat, var(--accent); opacity: 0; transform: scaleX(.6); transform-origin: left; transition: opacity .3s, transform .4s var(--ease); }
.use-stage.dropped .use-nle .tl .slot b { opacity: 1; transform: none; }
.use-win { position: absolute; right: 4%; top: 6%; bottom: 6%; width: 27%; border-radius: 12px; background: rgba(30,30,34,.96); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.6); padding: 10px; display: grid; align-content: start; gap: 6px; font-size: 11px; }
.use-win .h { display: flex; justify-content: space-between; color: var(--text-3); font-size: 10.5px; }
.use-win .h b { color: var(--accent-text); font-weight: 400; }
.use-win .s { height: 26px; border-radius: 7px; background: var(--fill); display: flex; align-items: center; padding: 0 8px; color: var(--text); }
.use-win .r { padding: 6px; border-radius: 7px; display: grid; gap: 1px; } .use-win .r b { font-size: 11px; } .use-win .r i { font-style: normal; color: var(--text-3); font-size: 10px; }
.use-win .r.on { background: var(--accent-soft); }
.use-drag { position: absolute; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; display: flex; align-items: center; opacity: 0; transform: translate(-50%, -50%); pointer-events: none; }
.use-stage.dragging .use-drag { opacity: 1; transition: left 1.1s var(--ease-io), top 1.1s var(--ease-io), opacity .2s; }

/* ---------- 更多能力 ---------- */
.more-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 1080px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
.more-it { background: var(--bg); padding: 26px 22px; display: grid; gap: 10px; align-content: start; transition: background .3s; }
.more-it:hover { background: #111113; }
.more-it svg { width: 22px; height: 22px; color: var(--accent-text); }
.more-it b { font-size: 16px; } .more-it p { margin: 0; font-size: 13.5px; color: var(--text-3); line-height: 1.55; }

/* ---------- 免费 ---------- */
.free-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
@media (max-width: 900px) { .free-grid { grid-template-columns: 1fr; } }
.free-card { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.free-card .lb { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--accent-text); }
.free-card.ai .lb { color: var(--text-2); }
.free-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.free-card.ai ul { grid-template-columns: 1fr; }
@media (max-width: 560px) { .free-card ul { grid-template-columns: 1fr; } }
.free-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.free-card li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent-text); }
.free-card.ai li svg { color: var(--text-3); }
.free-card .nt { font-size: 14px; color: var(--text-3); margin: 0; }
.platforms { margin-top: 28px; text-align: center; font-size: 14px; color: var(--text-3); }

/* ---------- 申请 ---------- */
.apply { overflow: hidden; }
.apply-glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(255,90,31,.16), transparent 70%); pointer-events: none; }
.apply-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; counter-increment: s; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 15px; color: var(--accent-text); }
.steps b { display: block; font-size: 18px; } .steps p { margin: 2px 0 0; color: var(--text-2); font-size: 15px; }
.qr-card { margin: 0; display: grid; gap: 16px; }
.qr-card > a { display: block; border-radius: var(--r-xl); overflow: hidden; background: #f4f4f2; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px -30px rgba(0,0,0,.85); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.qr-card > a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 110px -30px rgba(0,0,0,.9); }
.qr-card img { display: block; width: 100%; height: auto; aspect-ratio: 30 / 17; }
.qr-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 14px; color: var(--text-2); padding: 0 4px; }
.qr-card figcaption b { color: var(--text); font-weight: 600; }
.qr-card figcaption a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; }
.qr-card figcaption a:hover { color: var(--text); }
.qr-card figcaption svg { width: 14px; height: 14px; }

/* ---------- 常见问题 ---------- */
.faq-list { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: 18px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { width: 22px; height: 22px; position: relative; flex: none; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; background: var(--text-2); transition: transform .3s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list .a { padding: 0 4px 26px; color: var(--text-2); font-size: 16px; max-width: 46em; }
.faq-list .a a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 48px; color: var(--text-3); font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer img { height: 22px; width: auto; margin-bottom: 18px; }
.footer .sl { color: var(--text); font-size: 17px; margin: 0 0 8px; }
.footer p { margin: 0 0 6px; }
.footer h6 { margin: 0 0 12px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--text-2); transition: color .2s; } .footer a:hover { color: var(--text); }
.footer .bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- 视频弹窗 ---------- */
.vmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); padding: 24px; }
.vmodal.on { opacity: 1; pointer-events: auto; }
.vmodal video { width: min(1280px, 100%); max-height: calc(100vh - 120px); border-radius: 16px; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.8); transform: scale(.96); transition: transform .45s var(--ease); }
.vmodal.on video { transform: none; }
.vmodal .x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--fill-2); display: grid; place-items: center; }
.vmodal .x svg { width: 18px; height: 18px; }
.vmodal .vn { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* ---------- 使用指南页 ---------- */
.guide { padding: 128px 0 100px; }
.guide-grid { display: grid; grid-template-columns: 220px 1fr; gap: 72px; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; gap: 24px; } .guide-toc { display: none; } }
.guide-toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; font-size: 14px; }
.guide-toc h6 { margin: 0 0 10px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.guide-toc a { color: var(--text-2); padding: 6px 10px; border-radius: 8px; } .guide-toc a:hover { background: var(--hover); color: var(--text); }
.guide-doc h1 { font-size: clamp(36px, 5vw, 60px); margin: 0 0 12px; letter-spacing: -.02em; }
.guide-doc > p.lead { margin-bottom: 56px; }
.guide-doc section { padding: 32px 0; border-top: 1px solid var(--line); }
.guide-doc h2 { font-size: 24px; margin: 0 0 16px; }
.guide-doc p, .guide-doc li { color: var(--text-2); font-size: 16.5px; }
.guide-doc b { color: var(--text); font-weight: 600; }
.guide-doc ul { padding-left: 1.2em; display: grid; gap: 8px; }
.guide-doc a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.guide-doc code { font-family: var(--mono); font-size: .92em; padding: 2px 6px; border-radius: 6px; background: var(--fill); color: var(--text); }
.guide-doc .guide-back { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); font-size: 14px; margin-bottom: 28px; white-space: nowrap; text-decoration: none; }
.guide-doc .guide-back:hover { color: var(--text); }
.guide-back svg { width: 16px; height: 16px; flex: none; }

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .rv, .hero [data-h] { opacity: 1; transform: none; }
  .hero-shot { transform: none !important; opacity: 1; }
}

.qr-card .m-only { display: none; }
@media (hover: none) and (pointer: coarse) { .qr-card .m-only { display: block; width: 100%; font-size: 13px; color: var(--text-3); } }

#pain .pain-answer { display: block; margin-top: .65em; color: var(--text, #f5f3ef); font-weight: 600; }
