/* ======================================================================
   1108 UI pass（她看 aniwaffle.com/draft 的一批改动，kit 转达，lill 落）。只在这里加规则，老文件不动（例外：aw-attr / aw-emo / aw-solutions 的 js 结构改动见各自头注）。
   ① Attractive voices 桌面：台词卡居中在当前椭圆下（--card-x 由 js 写）、另两颗缩一档让位
   ② Attractive voices 手机（≤767）：转盘（前一颗正圆居中，另两颗缩小在后两侧）+ 三颗 chip 一行同高 + 台词卡居中
   ③ Stereo 手机（≤767）：L / R 声波点放大、挪到粉卡正下方一行（原来藏在卡后面看不见）
   ④ Emotion：chip 前裸播放键（currentColor 无底），小人排纯展示不可点
   ⑤ Vocal effects：三张拍立得中间裸播放键（白，无底）
   ⑦ TTS：字放大一档 + 闲置时的闪烁光标（镜像层，聚焦后让位给原生光标）
   ⑧ Developers SETUP PROMPT 板：prompt 句做成可复制的内嵌框（墨色透底 + 虚线发丝，唯一允许的框）；Start 卡不动（她：原样就很好）
   ⑨ Pricing：$0.20 + 单位一行；Discuss pricing 落到最下一行；星星 → 兔子（r2：70% 数字 lockup 撤回普通句）
   ⑩ FAQ：More questions? / Contact us 上下两行居中
   规矩：扁平、无阴影、无渐变、无实线框；白版色板 #83B3FF / #99BFFC / #EAF2FF / #1C2E4A；紫版不动。
   ====================================================================== */

/* ---------- ① Attractive voices · 桌面 ---------- */
html .ch6 .ch6-ovs[data-cur] .ch6-ov-card { left: var(--card-x, 50%); transition: none; }   /* 卡中心 = 当前椭圆中心；位置由 js 逐帧跟，不再用 left 过渡 */
html .ch6 .ch6-ovs .ch6-ov.is-shy { width: calc(var(--w) * .86); }   /* 另两颗缩一档让位（原 .72 + 深色剪影太重） */
html .ch6 .ch6-ovs .ch6-ov.is-shy .ch6-ov-face::after { opacity: .1; }
html .ch6 .ch6-ovs .ch6-ov-chiprow { display: none; }   /* chip 行只在手机转盘用 */
html .ch6 .ch6-ovs .ch6-ac-stage { max-width: 100%; }

/* ---------- ② Attractive voices · 手机转盘 ---------- */
@media (max-width: 767px) {
  html body .ch6 .ch6-ac.ch6-ovs { --h: min(60vw, 340px); --w: calc(var(--h) * .52); padding-bottom: 108px; margin-top: 32px !important; }
  html .ch6 .ch6-ovs .ch6-ac-stage { display: block; height: var(--h); max-width: none; }
  html .ch6 .ch6-ovs .ch6-ov-br { display: none; }
  html .ch6 .ch6-ovs .ch6-ov { position: absolute; left: 50%; top: 50%; margin: 0; width: var(--w); height: calc(var(--h) * .82); translate: -50% -50%;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), width .5s cubic-bezier(.22, 1, .36, 1), height .5s cubic-bezier(.22, 1, .36, 1); }
  html .ch6 .ch6-ovs .ch6-ov.is-open, html .ch6 .ch6-ovs .ch6-ov[data-pos="c"] { width: var(--h); height: var(--h); transform: none; z-index: 3; }
  html .ch6 .ch6-ovs .ch6-ov[data-pos="l"] { transform: translateX(calc(var(--h) * -.56)); z-index: 1; }
  html .ch6 .ch6-ovs .ch6-ov[data-pos="r"] { transform: translateX(calc(var(--h) * .56)); z-index: 1; }
  html .ch6 .ch6-ovs .ch6-ov.is-shy .ch6-ov-face::after { opacity: .14; }
  html .ch6 .ch6-ovs .ch6-ov.is-shy .ch6-ac-k { display: none; }
  /* chip 行：三颗同一高度，居中，放不下才折行 */
  html .ch6 .ch6-ovs .ch6-ov-chiprow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 0 20px; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-lab { position: static; display: block; margin: 0; pointer-events: auto; color: #fff; font-weight: 500; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ac-mini { display: none !important; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-chip { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; font: 500 13px/1 proxima-nova, sans-serif; letter-spacing: .02em; white-space: nowrap; cursor: pointer; transition: background-color .15s cubic-bezier(.4, 0, .2, 1); }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-chip:hover { background: rgba(255, 255, 255, .28); }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-chip[aria-pressed="true"] { background: rgba(255, 255, 255, .34); }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-n { font-size: 13px; white-space: nowrap; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-no { font-size: 11px; }
  /* 台词卡：居中在前面那颗下面 */
  html .ch6 .ch6-ovs[data-cur] .ch6-ov-card { bottom: -80px; width: min(340px, 86vw); padding: 16px 18px 14px; }
  html .ch6 .ch6-ovs .ch6-ov-ct { font-size: 22px; }
}
@media (max-width: 480px) {   /* 390 宽三颗 chip 要在一行：收编号、字 12、内距 10、间距 6 */
  html .ch6 .ch6-ovs .ch6-ov-chiprow { gap: 6px; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-no { display: none; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-chip { height: 30px; padding: 0 10px; font-size: 12px; }
  html .ch6 .ch6-ovs .ch6-ov-chiprow .ch6-ov-n { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html .ch6 .ch6-ovs .ch6-ov { transition: none; } }

/* ---------- ③ Stereo · 手机：声波点大一档，挪到卡正下方一行（≤860：再往上两侧放得下 L / R 那组，768–860 之间会压到卡边） ---------- */
@media (max-width: 860px) {
  html .ch6 .sp-lr { position: static; order: 1; width: 100%; translate: none; display: flex; justify-content: center; gap: 28px; margin: -14px 0 0; padding: 0 12px; box-sizing: border-box; pointer-events: none; }
  html .ch6 .ch6-sp-text { order: 2; }
  html .ch6 .sp-side { gap: 12px; }
  html .ch6 .sp-side i { width: 30px; height: 30px; }
  html .ch6 .sp-side i:nth-of-type(2) { width: 42px; height: 42px; }
  html .ch6 .sp-side b { font-size: 13px; margin: 0 4px; }
}

/* ---------- ④ Emotion：chip 前裸播放键；小人排不可点 ---------- */
html .ch6 #emotion .emo-chip { display: inline-flex; align-items: center; gap: 7px; }
html .ch6 #emotion .emo-chip-ic { display: inline-grid; place-items: center; width: 12px; height: 12px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; }
html .ch6 #emotion .emo-chip-ic svg { display: block; width: 12px; height: 12px; fill: currentColor; }
html .ch6 #emotion .emo-row, html .ch6 #emotion .emo-mini { pointer-events: none; }
html .ch6 #emotion .emo-mini { display: block; cursor: default; }
html .ch6 #emotion .emo-mini:hover { scale: none; }

/* ---------- ⑤ Vocal effects（r2 她：「只要一个播放键，而且播放键得有背景，不然感觉它鼻子上有问题；旁边 Laugh 这块也要有播放键」）----------
   三张卡各自带一颗 .vff-cplay，但只有最前那张（data-slot="f"）显示 = 看起来就是一颗；放在相片右下角不压脸；蓝底 #83B3FF 白三角（Long-form 播放键同一档）。chip 前裸三角 .vff-pick-ic，播放中换暂停 */
html .ch6 .vff-pic .vff-cplay { position: absolute; right: 6%; bottom: 6%; left: auto; top: auto; z-index: 2; width: 48px; height: 48px; margin: 0; display: none; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #83B3FF; color: #fff; cursor: pointer; transition: transform .18s cubic-bezier(.22, 1, .36, 1), background-color .15s cubic-bezier(.4, 0, .2, 1); }
html .ch6 .vff-card[data-slot="f"] .vff-pic .vff-cplay, html .ch6 .vff-card.is-1:not([data-slot]) .vff-pic .vff-cplay { display: grid; }
html .ch6 .vff-pic .vff-cplay svg { display: block; width: 20px; height: 20px; fill: currentColor; }
html .ch6 .vff-pic .vff-cplay .is-play { margin-left: 2px; }
html .ch6 .vff-pic .vff-cplay .is-pause { display: none; }
html .ch6 .vff-card.on .vff-pic .vff-cplay .is-play { display: none; }
html .ch6 .vff-card.on .vff-pic .vff-cplay .is-pause { display: block; }
html .ch6 .vff-pic .vff-cplay:hover { transform: scale(1.06); background: #99BFFC; }
html:not(.aw-light) .ch6 .vff-pic .vff-cplay { background: #7180FF; }
html .ch6 .vff-card .vff-pic { pointer-events: auto; }
html .ch6 .vff-card[role="button"] { pointer-events: auto; cursor: url(../assets/symbols-1029/cursor-bunny-hover.png.webp) 21 22, pointer; }   /* 1108 r3：后面两张相片也可点（兔兔 hover 光标和 [role=button] 同一条） */
html body.ch6 #voices-work .vff-pick { display: inline-flex; align-items: center; gap: 7px; }
html body.ch6 #voices-work .vff-pick-ic { display: inline-grid; place-items: center; width: 12px; height: 12px; margin: 0; padding: 0; border: 0; background: none; color: inherit; }
html body.ch6 #voices-work .vff-pick-ic svg { display: block; width: 12px; height: 12px; fill: currentColor; }
html body.ch6 #voices-work .vff-pick-ic .is-pause, html body.ch6 #voices-work .vff-pick.on .vff-pick-ic .is-play { display: none; }
html body.ch6 #voices-work .vff-pick.on .vff-pick-ic .is-pause { display: block; }
@media (max-width: 767px) { html .ch6 .vff-pic .vff-cplay { width: 40px; height: 40px; } html .ch6 .vff-pic .vff-cplay svg { width: 16px; height: 16px; } }
/* 1108 r3：正在播的那张卡一定带碟（shuffle 没把它升到最前也不丢）；暂停态碟和 chip 都回 ▶（= 续播）；放完 .on 掉 → ▶ = 再放一遍 */
html .ch6 .vff-card.on .vff-pic .vff-cplay { display: grid; }
html .ch6 .vff-card.on.is-paused .vff-pic .vff-cplay .is-play { display: block; }
html .ch6 .vff-card.on.is-paused .vff-pic .vff-cplay .is-pause { display: none; }
html body.ch6 #voices-work .vff-pick.on.is-paused .vff-pick-ic .is-play { display: block; }
html body.ch6 #voices-work .vff-pick.on.is-paused .vff-pick-ic .is-pause { display: none; }
/* Dictation 式电平波：碟左侧，28×16，白条无底板；只有在播的那张（.is-live）显示，结束 200ms 淡出 */
html .ch6 .vff-pic .vff-wave { position: absolute; right: calc(6% + 48px + 12px); bottom: calc(6% + 16px); z-index: 2; display: flex; align-items: center; gap: 3px; width: 27px; height: 16px; pointer-events: none; opacity: 0; transition: opacity .2s cubic-bezier(.4, 0, .2, 1); }
html .ch6 .vff-pic .vff-wave i { display: block; width: 3px; height: 3px; border-radius: 2px; background: #83B3FF; transition: height 60ms linear; }   /* 1108 r3：白条压在肤色/衣领上太弱 → 跟碟同一个蓝 */
html:not(.aw-light) .ch6 .vff-pic .vff-wave i { background: #7180FF; }
html .ch6 .vff-card.on.is-live .vff-pic .vff-wave { opacity: 1; }
@media (max-width: 767px) { html .ch6 .vff-pic .vff-wave { right: calc(6% + 40px + 10px); bottom: calc(6% + 12px); } }

/* ---------- ⑥ Long-form 纸卡卡拉 OK（r2 她：「跟字幕读曲那种感觉一样……加黑又不动肯定不行；长文就用（Japanese 卡）这种处理方式」）----------
   Japanese 卡同一套：播放中没到的淡白 .62、扫到的白 + 600、读过的留白；播完全白；没有任何比底色深的状态。逐字 .lit 由 aw-book-1030.js 按段时长写 */
html body.ch6 #long-form#long-form.is-fg .lfr-box.is-playing .lfr-w, html body.ch6 #long-form#long-form.is-fg .lfr-box.is-playing .lfr-w i { color: rgba(255, 255, 255, .62) !important; font-weight: 400; transition: color .12s linear; }
html body.ch6 #long-form#long-form.is-fg .lfr-box.is-playing .lfr-w.on, html body.ch6 #long-form#long-form.is-fg .lfr-box.is-playing .lfr-w.on i,
html body.ch6 #long-form#long-form.is-fg .lfr-box.is-playing .lfr-w.cur i.lit { color: #fff !important; font-weight: 600; }
html body.ch6 #long-form#long-form.is-fg .lfr-box.is-done .lfr-w, html body.ch6 #long-form#long-form.is-fg .lfr-box.is-done .lfr-w i, html body.ch6 #long-form#long-form.is-fg .lfr-box:not(.is-playing) .lfr-w { color: #fff !important; }
html body.ch6 #long-form#long-form.is-fg .lfr-w i { font-style: normal; }

/* ---------- ⑦ TTS：字大一档 + 闲置光标 ---------- */
html body #products #fx6-tts .fx6-ta { font-size: clamp(17px, 1.25vw, 19px) !important; line-height: 1.55 !important; }
html body #products #fx6-tts .fx6-r { position: relative; }
html body #products #fx6-tts .fx6-mirror { position: absolute; z-index: 1; margin: 0; pointer-events: none; overflow: hidden; box-sizing: border-box; color: transparent; white-space: pre-wrap; word-break: break-word; }
html body #products #fx6-tts .fx6-mirror .fx6-caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: #fff; animation: fx6-caret 1s steps(1, end) infinite; }
html body #products #fx6-tts .fx6-r.is-focus .fx6-mirror { display: none; }
@keyframes fx6-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html body #products #fx6-tts .fx6-mirror .fx6-caret { animation: none; } }

/* ---------- ⑧ Developers · SETUP PROMPT 板（js/aw-vexan-1104.js 建的 .vx-setup-board）：prompt 那句做成可复制的内嵌框 ----------
   她：「这个 prompt 我感觉它得还有一个框啊」→ r1 墨色透底；r2 她：「这个颜色不太 OK，太丑」→ 不走灰 / 深：只用白 .5 虚线发丝（唯一允许的框）+ r16 + 内距，底几乎透明（白 .06，刚好和玻璃板分一层），字体 / 字号 / 白字 / 全选不变；板上别的不动。
   Start 段那张「Set up with your coding agent」卡她说原样就好，不碰。 */
html body .vx-setup .vx-setup-board .vx-setup-prompt { box-sizing: border-box; width: 100%; max-width: 34rem; padding: 18px 20px; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 16px; background: rgba(255, 255, 255, .06); cursor: text; text-wrap: pretty; }
@media (max-width: 991px) { html body .vx-setup .vx-setup-board .vx-setup-prompt { padding: 14px 16px; border-radius: 14px; } }

/* ---------- ③ r2 Products 面板 tab 药丸（她：「这一块字还是有点太小」）：12 → 15，药丸随字长高 ---------- */
html.aw-light body:is(.ch6, .ch61) #products .fx6-tab { padding: 11px 16px !important; font-size: 15px !important; line-height: 1.2 !important; }
html.aw-light body:is(.ch6, .ch61) #products .fx6-soon { height: 22px; padding: 0 9px; font-size: 12px; }
@media (max-width: 767px) { html.aw-light body:is(.ch6, .ch61) #products .fx6-tab { padding: 10px 14px !important; font-size: 14px !important; } }

/* ---------- ④ r2 TTS 下拉（她：「这块颜色是不是不太对」）：选中行 = 白底 + 链接蓝 #4575C1（白底上能读的那档蓝），未选 = 墨；紫版选中 = 白底 + 紫 #7180FF ---------- */
html.aw-light body #products #fx6-tts .fx6-bar .fx6-menu .fx6-opt { color: #1C2E4A; }
html.aw-light body #products #fx6-tts .fx6-bar .fx6-menu .fx6-opt:hover { background: rgba(255, 255, 255, .55); color: #1C2E4A; }
html.aw-light body #products #fx6-tts .fx6-bar .fx6-menu .fx6-opt[aria-selected="true"], html.aw-light body #products #fx6-tts .fx6-bar .fx6-menu .fx6-opt[aria-selected="true"]:hover { background: #fff; color: #4575C1; font-weight: 600; }
html:not(.aw-light) body #products #fx6-tts .fx6-bar .fx6-menu .fx6-opt[aria-selected="true"], html:not(.aw-light) body #products #fx6-tts .fx6-bar .fx6-menu .fx6-opt[aria-selected="true"]:hover { background: #fff; color: #7180FF; font-weight: 600; }

/* ---------- ⑨ Pricing ---------- */
html body.ch6 #pricing .aw-price-brand-star.is-bunny { width: 24px; height: 24px; margin: 0 0 0 2px; }

/* ---------- ⑩ FAQ：More questions? / Contact us 上下两行居中 ---------- */
html body.ch6 #faq .ch6-pr-sub.is-cta-row { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }

/* ---------- 1108 r2 · Vocal 拍立得：旧静止帧 + 新 Mika 口型帧对齐（js/aw-ui-1108.js ALIGN）----------
   img 先 cover 居中，再由 js 写 translate/scale 把眼心 / 头宽对齐；口型帧硬切，只有静止帧（最上层）在说话起止做 140ms 淡入淡出 */
html body.ch6 #voices-work .vff-pic img { object-position: 50% 50%; transform-origin: 50% 50%; transition: none; will-change: transform; }
html body.ch6 #voices-work .vff-pic img[data-f="idle"] { transition: none; z-index: 2; }   /* 1108 第四次：两帧同一组旧图、已对齐 → 硬切，不再淡入淡出 */
@media (prefers-reduced-motion: reduce) { html body.ch6 #voices-work .vff-pic img[data-f="idle"] { transition: none; } }

/* ---------- 1108 r2 · Developers Feature 01（Adult content）图卡：新图是透明底 → 卡底给一层淡粉实底（原 Pika 图自带粉底的那个观感），只这一张卡 ---------- */
html .vx-service #capability-adult .service-image-block { background: #FEE6EF; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- 1108 第五次 · Vocal：嘴补丁层 + 台词结束的收尾姿势淡入淡出 ---------- */
html body.ch6 #voices-work .vff-pic .vff-mpbox { position: absolute; z-index: 3; display: block; margin: 0; padding: 0; pointer-events: none; }   /* 1108 r3h：补丁层 = 底图图框，几何在 js alignAll 里跟 idle 帧同步 */
html body.ch6 #voices-work .vff-pic .vff-mpbox .vff-mp { position: absolute; display: none; right: auto; bottom: auto; max-width: none; height: auto; margin: 0; pointer-events: none; opacity: 1; object-fit: fill; transform: none; transition: none; will-change: auto; }   /* 1108 r2：补丁层不吃 .vff-pic img 的 opacity:0（之前补丁装上了但看不见） */
html body.ch6 #voices-work .vff-card.is-pose .vff-pic img[data-f="idle"] { transition: opacity .16s cubic-bezier(.4, 0, .2, 1); }
