:root {
  --ink: #102a63;
  --muted: #526781;
  --blue: #1677ff;
  --blue-dark: #0557cf;
  --line: #d8e8f8;
  --panel: #ffffff;
  --surface: #f6f9fc;
  --shadow: rgba(16, 42, 99, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: transparent;
}

button,
input {
  font: inherit;
}

.recording-stage {
  display: grid;
  width: 100vw;
  min-height: 100vh;
  place-items: center;
  background: transparent;
}

.demo-phone {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 10px;
  width: min(100vw, 390px);
  aspect-ratio: 9 / 18.9;
  padding: 34px 16px 18px;
  overflow: hidden;
  border: 7px solid var(--ink);
  border-radius: 42px;
  background:
    radial-gradient(circle at 22% 12%, rgba(22, 119, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #fff, #f6f9fc);
  box-shadow: 0 18px 46px var(--shadow);
}

.phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.demo-header,
.demo-status,
.voice-panel,
.control-panel {
  position: relative;
  z-index: 2;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
}

.demo-header strong {
  font-size: 1rem;
  font-weight: 900;
}

.demo-header span,
.demo-status small,
.voice-title span {
  display: inline-grid;
  min-height: 24px;
  place-items: center;
  padding: 3px 9px;
  color: var(--blue-dark);
  border-radius: 999px;
  background: #e9f3ff;
  font-size: 0.68rem;
  font-weight: 900;
}

.demo-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.84);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.38);
  animation: pulseDot 7s ease-in-out infinite;
}

.demo-status p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
}

.character-preview {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 16%, rgba(22, 119, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #fff, #f5f9fd);
}

.soft-orbit {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 18px solid rgba(22, 119, 255, 0.07);
  border-radius: 50%;
  animation: slowSpin 7s linear infinite;
}

.character-layer {
  position: relative;
  width: 82%;
  height: 100%;
  animation: characterFloat 7s ease-in-out infinite;
}

.character-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

.base-img {
  filter: drop-shadow(0 18px 20px rgba(16, 42, 99, 0.14));
  opacity: 1;
}

.mouth-img {
  opacity: 0;
  animation: mouthTalk 7s steps(1, end) infinite;
}

.half-img {
  opacity: 0;
  animation: halfBlink 7s steps(1, end) infinite;
}

.blink-img {
  opacity: 0;
  animation: blinkFace 7s steps(1, end) infinite;
}

.speech-pill {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  padding: 9px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(16, 42, 99, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  animation: captionPop 7s ease-in-out infinite;
}

.play-button {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 10px 20px rgba(22, 119, 255, 0.24);
  animation: playPulse 7s ease-in-out infinite;
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
}

.voice-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.voice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.voice-title strong {
  font-size: 0.78rem;
  font-weight: 900;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 6px;
  border-radius: 15px;
  background: var(--surface);
}

.waveform i {
  width: 8px;
  border-radius: 999px;
  background: var(--blue);
  transform-origin: center;
  animation: waveMove 700ms ease-in-out infinite;
}

.waveform i:nth-child(1) { height: 15px; animation-delay: 0ms; }
.waveform i:nth-child(2) { height: 26px; animation-delay: 80ms; }
.waveform i:nth-child(3) { height: 36px; animation-delay: 160ms; }
.waveform i:nth-child(4) { height: 22px; animation-delay: 240ms; }
.waveform i:nth-child(5) { height: 32px; animation-delay: 320ms; }
.waveform i:nth-child(6) { height: 18px; animation-delay: 400ms; }
.waveform i:nth-child(7) { height: 38px; animation-delay: 480ms; }
.waveform i:nth-child(8) { height: 26px; animation-delay: 560ms; }
.waveform i:nth-child(9) { height: 18px; animation-delay: 640ms; }

.control-panel {
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.speed-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.speed-value {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  overflow: hidden;
}

.speed-value b {
  position: absolute;
  inset: 0;
  opacity: 0;
  text-align: right;
  animation: speedNumber 7s steps(1, end) infinite;
}

.speed-value b:nth-child(2) {
  animation-delay: 0s;
}

.speed-value b:nth-child(1) {
  animation-name: speedNumberLow;
}

.speed-value b:nth-child(3) {
  animation-name: speedNumberHigh;
}

.fake-range {
  position: relative;
  grid-column: 1 / -1;
  height: 22px;
  border-radius: 999px;
  background: #dfe7ef;
}

.fake-range::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 52%;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateY(-50%);
  animation: rangeFill 7s ease-in-out infinite;
}

.fake-range span {
  position: absolute;
  left: 52%;
  top: 50%;
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 4px 9px rgba(22, 119, 255, 0.28);
  transform: translate(-50%, -50%);
  animation: rangeThumb 7s ease-in-out infinite;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  min-height: 28px;
  padding: 4px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}

.chip.is-active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  animation: chipFocus 7s steps(1, end) infinite;
}

.expression-chip,
.motion-chip {
  animation: chipState 7s steps(1, end) infinite;
}

.chip-normal,
.chip-float {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.chip-blink {
  animation-name: chipBlinkState;
}

.chip-smile {
  animation-name: chipSmileState;
}

.chip-up {
  animation-name: chipUpState;
}

.chip-spark {
  animation-name: chipSparkState;
}

.chip-normal {
  animation-name: chipNormalState;
}

.chip-float {
  animation-name: chipFloatState;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.preview-action,
.export-action {
  min-height: 38px;
  border-radius: 999px;
  font-weight: 900;
}

.preview-action {
  color: var(--blue-dark);
  border: 2px solid var(--blue);
  background: #fff;
}

.export-action {
  color: #fff;
  border: 0;
  background: var(--blue);
  box-shadow: inset 0 -4px 0 var(--blue-dark);
  animation: exportGlow 7s ease-in-out infinite;
}

.touch-pointer {
  position: absolute;
  z-index: 8;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(16, 42, 99, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  animation: touchDemo 7s ease-in-out infinite;
}

.touch-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(22, 119, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: touchRipple 7s ease-in-out infinite;
}

@keyframes characterFloat {
  0%, 18%, 100% { transform: translateY(4px) scale(1); }
  28%, 42% { transform: translateY(-4px) scale(1.012); }
  55%, 68% { transform: translateY(-18px) scale(1.08); }
  78%, 92% { transform: translateY(-6px) scale(1.018) rotate(-1deg); }
}

@keyframes mouthTalk {
  0%, 13%, 18%, 22%, 27%, 32%, 37%, 42%, 48%, 54%, 61%, 68%, 100% { opacity: 0; }
  15%, 20%, 25%, 30%, 35%, 40%, 45%, 51%, 58%, 65%, 72% { opacity: 1; }
}

@keyframes halfBlink {
  0%, 47%, 50%, 100% { opacity: 0; }
  48%, 49% { opacity: 1; }
}

@keyframes blinkFace {
  0%, 49%, 52%, 100% { opacity: 0; }
  50%, 51% { opacity: 1; }
}

@keyframes waveMove {
  0%, 100% { transform: scaleY(0.62); opacity: 0.64; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes playPulse {
  0%, 16%, 100% { transform: scale(1); }
  8% { transform: scale(1.08); }
}

@keyframes captionPop {
  0%, 18% { transform: translateY(8px); opacity: 0; }
  24%, 100% { transform: translateY(0); opacity: 1; }
}

@keyframes chipFocus {
  0%, 52%, 100% { filter: none; }
  54%, 70% { filter: brightness(1.08); }
}

@keyframes speedNumber {
  0%, 30%, 100% { opacity: 0; }
  31%, 58% { opacity: 1; }
  59% { opacity: 0; }
}

@keyframes speedNumberLow {
  0%, 30% { opacity: 1; }
  31%, 100% { opacity: 0; }
}

@keyframes speedNumberHigh {
  0%, 58% { opacity: 0; }
  59%, 100% { opacity: 1; }
}

@keyframes rangeThumb {
  0%, 22%, 100% { left: 36%; }
  34%, 54% { left: 62%; }
  66%, 90% { left: 84%; }
}

@keyframes rangeFill {
  0%, 22%, 100% { width: 36%; }
  34%, 54% { width: 62%; }
  66%, 90% { width: 84%; }
}

@keyframes chipNormalState {
  0%, 38%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
  39%, 99% { color: var(--muted); border-color: var(--line); background: #fff; }
}

@keyframes chipBlinkState {
  0%, 38%, 62%, 100% { color: var(--muted); border-color: var(--line); background: #fff; }
  39%, 61% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes chipSmileState {
  0%, 61% { color: var(--muted); border-color: var(--line); background: #fff; }
  62%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes chipFloatState {
  0%, 48%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
  49%, 99% { color: var(--muted); border-color: var(--line); background: #fff; }
}

@keyframes chipUpState {
  0%, 48%, 73%, 100% { color: var(--muted); border-color: var(--line); background: #fff; }
  49%, 72% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes chipSparkState {
  0%, 72% { color: var(--muted); border-color: var(--line); background: #fff; }
  73%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes touchDemo {
  0%, 16%, 94%, 100% { opacity: 0; transform: translate(76px, 690px) scale(0.76); }
  20%, 30% { opacity: 1; transform: translate(248px, 652px) scale(1); }
  34%, 45% { opacity: 1; transform: translate(126px, 699px) scale(1); }
  50%, 60% { opacity: 1; transform: translate(138px, 737px) scale(1); }
  66%, 76% { opacity: 1; transform: translate(224px, 737px) scale(1); }
  82%, 90% { opacity: 1; transform: translate(288px, 783px) scale(1); }
}

@keyframes touchRipple {
  0%, 18%, 32%, 48%, 64%, 80%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  24%, 40%, 56%, 72%, 86% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes exportGlow {
  0%, 70%, 100% { box-shadow: inset 0 -4px 0 var(--blue-dark), 0 0 0 rgba(22, 119, 255, 0); }
  82% { box-shadow: inset 0 -4px 0 var(--blue-dark), 0 0 18px rgba(22, 119, 255, 0.34); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.32); }
  50% { box-shadow: 0 0 0 8px rgba(22, 119, 255, 0); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

body.demo-speed .expression-chip,
body.demo-speed .motion-chip,
body.demo-speed .character-layer,
body.demo-motion .expression-chip,
body.demo-motion .fake-range::before,
body.demo-motion .fake-range span,
body.demo-motion .speed-value b,
body.demo-expression .motion-chip,
body.demo-expression .fake-range::before,
body.demo-expression .fake-range span,
body.demo-expression .speed-value b {
  animation: none;
}

body.demo-speed .character-layer {
  animation: speedCharacterFloat 10s ease-in-out infinite;
}

body.demo-speed .mouth-img {
  animation: speedMouthTalk 10s steps(1, end) infinite;
}

body.demo-speed .speed-value b,
body.demo-speed .fake-range::before,
body.demo-speed .fake-range span,
body.demo-speed .touch-pointer {
  animation-duration: 10s;
}

body.demo-speed .chip-normal,
body.demo-speed .chip-float,
body.demo-motion .chip-normal,
body.demo-expression .chip-float {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.is-static-active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.lip-note,
.motion-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.lip-note span,
.motion-note span {
  display: grid;
  min-height: 28px;
  place-items: center;
  color: var(--blue-dark);
  border-radius: 999px;
  background: #e9f3ff;
  font-size: 0.66rem;
  font-weight: 900;
}

body.demo-speed .chip-blink,
body.demo-speed .chip-smile,
body.demo-speed .chip-up,
body.demo-speed .chip-spark,
body.demo-motion .chip-blink,
body.demo-motion .chip-smile,
body.demo-expression .chip-up,
body.demo-expression .chip-spark {
  color: var(--muted);
  border-color: var(--line);
  background: #fff;
}

body.demo-speed .touch-pointer {
  animation-name: speedTouch;
}

body.demo-speed .character-layer {
  animation: none;
}

body.demo-speed .soft-orbit {
  animation: none;
}

body.demo-motion .speed-value b:nth-child(2),
body.demo-expression .speed-value b:nth-child(2) {
  opacity: 1;
}

body.demo-motion .fake-range::before,
body.demo-expression .fake-range::before {
  left: 0;
  width: 62%;
}

body.demo-motion .fake-range span,
body.demo-expression .fake-range span {
  left: 62%;
}

body.demo-motion .motion-chip,
body.demo-motion .character-layer,
body.demo-motion .touch-pointer,
body.demo-motion .motion-sparkles i {
  animation-duration: 11s;
}

body.demo-motion .character-layer {
  animation-name: motionPresetMove;
}

body.demo-motion .chip-float {
  animation-name: motionFloatOnly;
}

body.demo-motion .chip-up {
  animation-name: motionUpOnly;
}

body.demo-motion .chip-spark {
  animation-name: motionSparkOnly;
}

body.demo-motion .touch-pointer {
  animation-name: motionTouch;
}

.position-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.position-value {
  position: relative;
  width: 54px;
  height: 18px;
  overflow: hidden;
  text-align: right;
}

.position-value b {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: positionValueCenter 11s steps(1, end) infinite;
}

.position-value b:nth-child(2) {
  animation-name: positionValueUp;
}

.position-value b:nth-child(3) {
  animation-name: positionValueRight;
}

.position-pad {
  position: relative;
  grid-column: 1 / -1;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(22,119,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(22,119,255,0.08) 1px, transparent 1px),
    #f6f9fc;
  background-size: 33.3% 100%, 100% 50%;
}

.position-target {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 4px 10px rgba(22, 119, 255, 0.28);
  transform: translate(-50%, -50%);
  animation: positionTargetMove 11s ease-in-out infinite;
}

.motion-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.motion-sparkles i {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: rotate(45deg) scale(0.4);
  background: #ffe45c;
  animation: sparkleBurst 11s ease-in-out infinite;
}

.motion-sparkles i:nth-child(1) {
  right: 72px;
  top: 86px;
}

.motion-sparkles i:nth-child(2) {
  left: 78px;
  top: 132px;
  animation-delay: 130ms;
}

.motion-sparkles i:nth-child(3) {
  right: 94px;
  bottom: 102px;
  animation-delay: 260ms;
}

body.demo-expression .expression-chip,
body.demo-expression .mouth-img,
body.demo-expression .half-img,
body.demo-expression .blink-img,
body.demo-expression .touch-pointer {
  animation-duration: 10s;
}

body.demo-expression .chip-normal {
  animation-name: expressionNormalOnly;
}

body.demo-expression .chip-blink {
  animation-name: expressionBlinkOnly;
}

body.demo-expression .chip-smile {
  animation-name: expressionSmileOnly;
}

body.demo-expression .mouth-img {
  animation-name: expressionMouthOnly;
}

body.demo-expression .half-img {
  animation-name: expressionHalfOnly;
}

body.demo-expression .blink-img {
  animation-name: expressionBlinkFaceOnly;
}

body.demo-expression .touch-pointer {
  animation-name: expressionTouch;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.asset-card {
  position: relative;
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 58px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
}

.asset-card::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dfe7ef;
}

.asset-card img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 10px;
}

.asset-base,
.asset-eye,
.asset-mouth {
  animation: assetSelectBase 10s steps(1, end) infinite;
}

.asset-eye {
  animation-name: assetSelectEye;
}

.asset-mouth {
  animation-name: assetSelectMouth;
}

.asset-base::after,
.asset-eye::after,
.asset-mouth::after {
  animation: assetCheckBase 10s steps(1, end) infinite;
}

.asset-eye::after {
  animation-name: assetCheckEye;
}

.asset-mouth::after {
  animation-name: assetCheckMouth;
}

.timing-controls {
  display: grid;
  gap: 7px;
}

.mini-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 900;
}

.mini-control strong {
  position: relative;
  width: 38px;
  height: 16px;
  overflow: hidden;
  text-align: right;
}

.mini-control b {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: exprValueOne 10s steps(1, end) infinite;
}

.mini-control b:nth-child(2) {
  animation-name: exprValueTwo;
}

.mini-control i {
  position: relative;
  display: block;
  grid-column: 1 / -1;
  height: 13px;
  border-radius: 999px;
  background: #dfe7ef;
}

.mini-control em {
  position: absolute;
  left: 0;
  top: 50%;
  width: 48%;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateY(-50%);
  animation: exprRangeOne 10s ease-in-out infinite;
}

.timing-control em {
  width: 28%;
  animation-name: exprRangeTwo;
}

@keyframes speedCharacterFloat {
  0%, 100% { transform: translateY(3px) scale(1); }
  24% { transform: translateY(0) scale(1.005); }
  52% { transform: translateY(-4px) scale(1.014); }
  78% { transform: translateY(-7px) scale(1.022); }
}

@keyframes speedMouthTalk {
  0%, 18%, 24%, 30%, 36%, 42%, 48%, 54%, 60%, 66%, 72%, 78%, 84%, 100% { opacity: 0; }
  20%, 26%, 32%, 38%, 44%, 50%, 56%, 62%, 68%, 74%, 80%, 86% { opacity: 1; }
}

@keyframes speedTouch {
  0%, 16%, 92%, 100% { opacity: 0; transform: translate(112px, 650px) scale(0.76); }
  22%, 34% { opacity: 1; transform: translate(106px, 650px) scale(1); }
  42%, 56% { opacity: 1; transform: translate(230px, 650px) scale(1); }
  66%, 82% { opacity: 1; transform: translate(318px, 650px) scale(1); }
}

@keyframes positionValueCenter {
  0%, 34%, 100% { opacity: 1; }
  35%, 99% { opacity: 0; }
}

@keyframes positionValueUp {
  0%, 34%, 66%, 100% { opacity: 0; }
  35%, 65% { opacity: 1; }
}

@keyframes positionValueRight {
  0%, 65% { opacity: 0; }
  66%, 100% { opacity: 1; }
}

@keyframes positionTargetMove {
  0%, 30%, 100% { left: 50%; top: 50%; }
  40%, 62% { left: 50%; top: 22%; }
  72%, 92% { left: 78%; top: 50%; }
}

@keyframes motionPresetMove {
  0%, 27%, 100% { transform: translateY(4px) scale(1); }
  38%, 58% { transform: translateY(-26px) scale(1.12); }
  70%, 88% { transform: translateY(-8px) scale(1.04) rotate(-2deg); }
}

@keyframes motionFloatOnly {
  0%, 32%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
  33%, 99% { color: var(--muted); border-color: var(--line); background: #fff; }
}

@keyframes motionUpOnly {
  0%, 32%, 62%, 100% { color: var(--muted); border-color: var(--line); background: #fff; }
  33%, 61% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes motionSparkOnly {
  0%, 61% { color: var(--muted); border-color: var(--line); background: #fff; }
  62%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes motionTouch {
  0%, 18%, 94%, 100% { opacity: 0; transform: translate(80px, 736px) scale(0.76); }
  22%, 34% { opacity: 1; transform: translate(84px, 736px) scale(1); }
  42%, 55% { opacity: 1; transform: translate(154px, 736px) scale(1); }
  64%, 82% { opacity: 1; transform: translate(226px, 736px) scale(1); }
}

@keyframes sparkleBurst {
  0%, 60%, 100% { opacity: 0; transform: rotate(45deg) scale(0.4); }
  66%, 84% { opacity: 1; transform: rotate(45deg) scale(1); }
}

@keyframes expressionNormalOnly {
  0%, 35%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
  36%, 99% { color: var(--muted); border-color: var(--line); background: #fff; }
}

@keyframes expressionBlinkOnly {
  0%, 35%, 68%, 100% { color: var(--muted); border-color: var(--line); background: #fff; }
  36%, 67% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes expressionSmileOnly {
  0%, 67% { color: var(--muted); border-color: var(--line); background: #fff; }
  68%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes expressionMouthOnly {
  0%, 68%, 74%, 80%, 86%, 92%, 100% { opacity: 0; }
  70%, 76%, 82%, 88%, 94% { opacity: 1; }
}

@keyframes expressionHalfOnly {
  0%, 35%, 39%, 43%, 68%, 100% { opacity: 0; }
  36%, 38%, 40%, 42% { opacity: 1; }
}

@keyframes expressionBlinkFaceOnly {
  0%, 38%, 41%, 100% { opacity: 0; }
  39%, 40% { opacity: 1; }
}

@keyframes expressionTouch {
  0%, 12%, 94%, 100% { opacity: 0; transform: translate(86px, 648px) scale(0.76); }
  16%, 28% { opacity: 1; transform: translate(84px, 648px) scale(1); }
  34%, 46% { opacity: 1; transform: translate(170px, 648px) scale(1); }
  52%, 64% { opacity: 1; transform: translate(254px, 648px) scale(1); }
  72%, 86% { opacity: 1; transform: translate(232px, 735px) scale(1); }
}

@keyframes assetSelectBase {
  0%, 30%, 100% { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(22,119,255,0.12); color: var(--ink); }
  31%, 99% { border-color: var(--line); box-shadow: none; color: var(--muted); }
}

@keyframes assetSelectEye {
  0%, 30%, 60%, 100% { border-color: var(--line); box-shadow: none; color: var(--muted); }
  31%, 59% { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(22,119,255,0.12); color: var(--ink); }
}

@keyframes assetSelectMouth {
  0%, 59% { border-color: var(--line); box-shadow: none; color: var(--muted); }
  60%, 100% { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(22,119,255,0.12); color: var(--ink); }
}

@keyframes assetCheckBase {
  0%, 30%, 100% { background: var(--blue); }
  31%, 99% { background: #dfe7ef; }
}

@keyframes assetCheckEye {
  0%, 30%, 60%, 100% { background: #dfe7ef; }
  31%, 59% { background: var(--blue); }
}

@keyframes assetCheckMouth {
  0%, 59% { background: #dfe7ef; }
  60%, 100% { background: var(--blue); }
}

@keyframes exprValueOne {
  0%, 55%, 100% { opacity: 1; }
  56%, 99% { opacity: 0; }
}

@keyframes exprValueTwo {
  0%, 55% { opacity: 0; }
  56%, 100% { opacity: 1; }
}

@keyframes exprRangeOne {
  0%, 52%, 100% { width: 48%; }
  66%, 88% { width: 76%; }
}

@keyframes exprRangeTwo {
  0%, 52%, 100% { width: 28%; }
  66%, 88% { width: 62%; }
}

.demo-voice .demo-phone {
  grid-template-rows: auto auto auto 1fr auto;
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 228, 92, 0.38), transparent 26%),
    radial-gradient(circle at 18% 16%, rgba(22, 119, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, #f6f9fc);
}

.voice-character-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(16, 42, 99, 0.08);
}

.voice-character-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 20px;
  background: #f5f9fd;
}

.voice-character-card div,
.voice-entry-main {
  display: grid;
  gap: 8px;
}

.voice-character-card strong,
.voice-entry-main strong {
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}

.voice-character-card span {
  display: inline-grid;
  width: fit-content;
  min-height: 24px;
  place-items: center;
  padding: 3px 10px;
  color: #fff;
  border-radius: 999px;
  background: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
}

.voice-inbox {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  animation: voiceInboxTransition 9s ease-in-out infinite;
}

.voice-entry {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  opacity: 0.58;
  transform: scale(0.96);
}

.voice-entry.is-featured {
  border: 2px solid var(--blue);
  background: #fff;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 14px 26px rgba(22, 119, 255, 0.14);
  animation: featuredVoice 7s ease-in-out infinite;
}

.voice-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #9cc8ff, #dbeaff);
}

.voice-avatar-boy {
  background:
    radial-gradient(circle at 50% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #b8d8ff, #f4c8a8);
}

.voice-avatar-calm {
  background:
    radial-gradient(circle at 50% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #c9d7ea, #a9c1d8);
}

.voice-mini-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
}

.voice-mini-wave i {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0.72;
  animation: waveMove 760ms ease-in-out infinite;
}

.voice-mini-wave i:nth-child(1) { height: 14px; animation-delay: 0ms; }
.voice-mini-wave i:nth-child(2) { height: 24px; animation-delay: 90ms; }
.voice-mini-wave i:nth-child(3) { height: 32px; animation-delay: 180ms; }
.voice-mini-wave i:nth-child(4) { height: 18px; animation-delay: 270ms; }
.voice-mini-wave i:nth-child(5) { height: 28px; animation-delay: 360ms; }
.voice-mini-wave i:nth-child(6) { height: 20px; animation-delay: 450ms; }

.voice-entry button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.voice-entry button span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--blue);
}

.voice-select-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: #fff;
  border-radius: 22px;
  background: var(--ink);
  animation: voiceSelectTransition 9s ease-in-out infinite;
}

.voice-select-panel p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 900;
}

.voice-select-panel button {
  min-height: 34px;
  padding: 6px 12px;
  color: var(--blue-dark);
  border: 0;
  border-radius: 999px;
  background: #ffe45c;
  font-size: 0.72rem;
  font-weight: 900;
}

@keyframes featuredVoice {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.voice-player-screen {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid var(--blue);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(22, 119, 255, 0.14);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  animation: voicePlayerTransition 9s ease-in-out infinite;
}

.voice-player-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.voice-player-hero img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  object-position: 50% 18%;
  border: 4px solid #e9f3ff;
  border-radius: 28px;
}

.voice-player-hero span {
  display: inline-grid;
  min-height: 26px;
  place-items: center;
  padding: 4px 12px;
  color: #fff;
  border-radius: 999px;
  background: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.voice-player-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background: #e9f4ff;
}

.voice-player-card strong {
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

.voice-mini-wave.is-large {
  justify-content: center;
  min-height: 46px;
}

.voice-mini-wave.is-large i {
  width: 7px;
}

.voice-player-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  font-weight: 900;
}

.voice-player-card button span {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

@keyframes voiceInboxTransition {
  0%, 38% { opacity: 1; transform: translateY(0); }
  48%, 82% { opacity: 0; transform: translateY(-18px); }
  92%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes voicePlayerTransition {
  0%, 42%, 88%, 100% { opacity: 0; transform: translateY(20px) scale(0.96); }
  52%, 80% { opacity: 1; transform: translateY(-138px) scale(1); }
}

@keyframes voiceSelectTransition {
  0%, 38% { opacity: 1; }
  48%, 82% { opacity: 0; }
  92%, 100% { opacity: 1; }
}

.demo-template .demo-phone {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 74% 12%, rgba(255, 106, 168, 0.14), transparent 28%),
    radial-gradient(circle at 20% 12%, rgba(255, 228, 92, 0.34), transparent 26%),
    linear-gradient(180deg, #fff, #fff7fb);
}

.template-preview {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 228, 92, 0.34), transparent 30%),
    linear-gradient(180deg, #fff, #f5f9fd);
}

.template-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22,119,255,0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(22,119,255,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.52), rgba(0,0,0,0.08));
}

.template-character-layer {
  position: relative;
  width: 84%;
  height: 100%;
  animation: templateCharacterMotion 9s ease-in-out infinite;
}

.template-character-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 22px rgba(16, 42, 99, 0.16));
}

.template-frame-label {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  gap: 2px;
  min-width: 78px;
  padding: 8px 10px;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.template-frame-label span {
  font-size: 0.58rem;
  font-weight: 900;
}

.template-frame-label strong {
  position: relative;
  height: 18px;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 900;
}

.template-controls {
  gap: 10px;
}

.template-scale-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.template-scale-value {
  position: relative;
  width: 48px;
  height: 18px;
  overflow: hidden;
  text-align: right;
}

.template-scale-value b {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: templateScaleValueOne 9s steps(1, end) infinite;
}

.template-scale-value b:nth-child(2) {
  animation-name: templateScaleValueTwo;
}

.template-scale-value b:nth-child(3) {
  animation-name: templateScaleValueThree;
}

.template-scale-range::before,
.template-scale-range span {
  animation-duration: 9s;
}

.template-scale-range::before {
  animation-name: templateScaleFill;
}

.template-scale-range span {
  animation-name: templateScaleThumb;
}

.demo-template .template-chip,
.demo-template .touch-pointer {
  animation-duration: 9s;
}

.chip-template-float {
  animation-name: templateFloatChip;
}

.chip-template-zoom {
  animation-name: templateZoomChip;
}

.chip-template-sway {
  animation-name: templateSwayChip;
}

.template-note {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.template-note span {
  display: inline-grid;
  min-height: 25px;
  place-items: center;
  padding: 4px 9px;
  color: var(--blue-dark);
  border-radius: 999px;
  background: #e9f3ff;
  font-size: 0.68rem;
  font-weight: 900;
}

.demo-template .touch-pointer {
  animation-name: templateTouch;
}

@keyframes templateCharacterMotion {
  0%, 9%, 27%, 100% { transform: translateY(0) scaleX(1) scaleY(1); }
  13% { transform: translateY(-26px) scaleX(0.94) scaleY(1.12); }
  18% { transform: translateY(8px) scaleX(1.08) scaleY(0.9); }
  23% { transform: translateY(-12px) scaleX(0.98) scaleY(1.05); }
  38%, 58% { transform: translateY(-4px) scaleX(1.26) scaleY(1.08); }
  70% { transform: translateX(-16px) translateY(-8px) scaleX(1.08) scaleY(1.02) rotate(-5deg); }
  80% { transform: translateX(16px) translateY(-8px) scaleX(1.08) scaleY(1.02) rotate(5deg); }
  90% { transform: translateX(0) translateY(-4px) scaleX(1.08) scaleY(1.02) rotate(0); }
}

@keyframes templateFloatChip {
  0%, 31%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
  32%, 99% { color: var(--muted); border-color: var(--line); background: #fff; }
}

@keyframes templateZoomChip {
  0%, 31%, 64%, 100% { color: var(--muted); border-color: var(--line); background: #fff; }
  32%, 63% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes templateSwayChip {
  0%, 63% { color: var(--muted); border-color: var(--line); background: #fff; }
  64%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes templateScaleValueOne {
  0%, 31%, 100% { opacity: 1; }
  32%, 99% { opacity: 0; }
}

@keyframes templateScaleValueTwo {
  0%, 31%, 64%, 100% { opacity: 0; }
  32%, 63% { opacity: 1; }
}

@keyframes templateScaleValueThree {
  0%, 63% { opacity: 0; }
  64%, 100% { opacity: 1; }
}

@keyframes templateScaleFill {
  0%, 28%, 100% { width: 42%; }
  42%, 58% { width: 68%; }
  72%, 90% { width: 84%; }
}

@keyframes templateScaleThumb {
  0%, 28%, 100% { left: 42%; }
  42%, 58% { left: 68%; }
  72%, 90% { left: 84%; }
}

@keyframes templateTouch {
  0%, 12%, 94%, 100% { opacity: 0; transform: translate(78px, 690px) scale(0.76); }
  16%, 28% { opacity: 1; transform: translate(82px, 690px) scale(1); }
  38%, 52% { opacity: 1; transform: translate(164px, 690px) scale(1); }
  66%, 82% { opacity: 1; transform: translate(244px, 690px) scale(1); }
}

/* Flat color pass for embedded mockups. */
.recording-stage,
.demo-phone,
.demo-voice .demo-phone,
.demo-template .demo-phone,
.character-preview,
.template-preview,
.voice-character-card,
.voice-entry,
.voice-panel,
.control-panel,
.voice-select-panel,
.app-screen {
  background: #fff !important;
}

.demo-phone {
  background: #f2f8ff !important;
}

.demo-voice .demo-phone {
  background: #e9f4ff !important;
}

.demo-template .demo-phone {
  background: #ffe6f3 !important;
}

.character-preview,
.template-preview {
  background: #fff !important;
}

.voice-avatar,
.voice-avatar-boy,
.voice-avatar-calm {
  background: #dbeaff !important;
}

.template-grid,
.soft-orbit {
  display: none;
}

.template-frame-label {
  min-width: 96px;
}

.template-frame-label strong {
  width: 72px;
  height: 19px;
}

.template-frame-label strong b {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: templateLabelStretch 9s steps(1, end) infinite;
}

.template-frame-label strong b:nth-child(2) {
  animation-name: templateLabelSway;
}

.template-frame-label strong b:nth-child(3) {
  animation-name: templateLabelExcite;
}

.template-control-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.template-control-title span {
  font-size: 0.78rem;
  font-weight: 900;
}

.template-control-title strong {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.template-button-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.template-preset-button {
  min-height: 34px;
  padding: 5px 6px;
  color: var(--muted);
  border: 2px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.preset-stretch,
.preset-sway,
.preset-excite {
  animation-duration: 9s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.preset-stretch {
  animation-name: templateStretchButton;
}

.preset-sway {
  animation-name: templateSwayButton;
}

.preset-excite {
  animation-name: templateExciteButton;
}

.demo-template .template-character-layer {
  transform-origin: center bottom;
  animation: templatePresetMotion 9s ease-in-out infinite;
}

@keyframes templatePresetMotion {
  0%, 10%, 28%, 100% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
    transform-origin: center bottom;
  }
  13% {
    transform: translateY(3px) scaleX(1.1) scaleY(0.94) rotate(0);
    transform-origin: center bottom;
  }
  18% {
    transform: translateY(-16px) scaleX(0.9) scaleY(1.14) rotate(0);
    transform-origin: center bottom;
  }
  24% {
    transform: translateY(1px) scaleX(1.04) scaleY(0.98) rotate(0);
    transform-origin: center bottom;
  }
  32%, 38%, 63% {
    transform-origin: center bottom;
    transform: rotate(0);
  }
  42% { transform: rotate(-8deg); }
  50% { transform: rotate(7deg); }
  58% { transform: rotate(-5deg); }
  63% { transform: rotate(0); }
  64%, 71%, 100% {
    transform-origin: center bottom;
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  73% { transform: translateY(-16px) scaleX(1) scaleY(1); }
  76% { transform: translateY(0) scaleX(1) scaleY(1); }
  79% { transform: translateY(-14px) scaleX(1) scaleY(1); }
  82% { transform: translateY(0) scaleX(1) scaleY(1); }
  92% { transform: translateY(-13px) scaleX(1) scaleY(1); }
  95% { transform: translateY(0) scaleX(1) scaleY(1); }
}

@keyframes templateStretchButton {
  0%, 31%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
  32%, 99% { color: var(--muted); border-color: var(--line); background: #fff; }
}

@keyframes templateSwayButton {
  0%, 31%, 64%, 100% { color: var(--muted); border-color: var(--line); background: #fff; }
  32%, 63% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes templateExciteButton {
  0%, 63% { color: var(--muted); border-color: var(--line); background: #fff; }
  64%, 100% { color: #fff; border-color: var(--blue); background: var(--blue); }
}

@keyframes templateLabelStretch {
  0%, 31%, 100% { opacity: 1; }
  32%, 99% { opacity: 0; }
}

@keyframes templateLabelSway {
  0%, 31%, 64%, 100% { opacity: 0; }
  32%, 63% { opacity: 1; }
}

@keyframes templateLabelExcite {
  0%, 63% { opacity: 0; }
  64%, 100% { opacity: 1; }
}

.speed-simple-panel {
  gap: 11px;
}

.big-adjust-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 2px solid var(--blue);
  border-radius: 22px;
  background: #fff;
}

.big-adjust-card div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.big-adjust-card span {
  font-size: 0.78rem;
  font-weight: 900;
}

.big-adjust-card strong {
  position: relative;
  width: 58px;
  height: 20px;
  overflow: hidden;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.big-adjust-card strong b {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: speedBigValueOne 9s steps(1, end) infinite;
}

.big-adjust-card strong b:nth-child(2) {
  animation-name: speedBigValueTwo;
}

.big-adjust-card strong b:nth-child(3) {
  animation-name: speedBigValueThree;
}

.big-adjust-card strong b:nth-child(4) {
  animation-name: speedBigValueFour;
}

.big-adjust-card strong b:nth-child(5) {
  animation-name: speedBigValueFive;
}

.big-adjust-card strong b:nth-child(6) {
  animation-name: speedBigValueSix;
}

body.demo-speed .lip-speed-card strong {
  width: 70px;
}

.big-adjust-card button {
  min-height: 42px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: inset 0 -4px 0 var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.speed-big-range,
.offset-big-range {
  height: 20px;
}

.speed-big-range::before,
.speed-big-range span,
.offset-big-range::before,
.offset-big-range span {
  animation-duration: 8s;
}

.speed-big-range::before {
  animation-name: speedBigFill;
}

.speed-big-range span {
  animation-name: speedBigThumb;
}

.offset-big-range::before {
  animation-name: offsetBigFill;
}

.offset-big-range span {
  animation-name: offsetBigThumb;
}

.voice-offset-card {
  border-color: #00a35b;
}

.voice-offset-card strong b {
  animation: none;
}

.voice-offset-card strong b:nth-child(2) {
  display: none;
}

.voice-offset-card strong b:nth-child(3) {
  display: none;
}

.voice-offset-card button {
  background: #00a35b;
  box-shadow: inset 0 -4px 0 #006b40;
}

.speed-wide-preview {
  min-height: 44px;
  font-size: 0.86rem;
  animation: speedPreviewButtonPress 9s ease-in-out infinite;
}

@keyframes speedBigValueOne {
  0%, 16%, 100% { opacity: 1; }
  17%, 99% { opacity: 0; }
}

@keyframes speedBigValueTwo {
  0%, 16%, 30%, 100% { opacity: 0; }
  17%, 29% { opacity: 1; }
}

@keyframes speedBigValueThree {
  0%, 29%, 37%, 100% { opacity: 0; }
  30%, 36% { opacity: 1; }
}

@keyframes speedBigValueFour {
  0%, 36%, 43%, 100% { opacity: 0; }
  37%, 42% { opacity: 1; }
}

@keyframes speedBigValueFive {
  0%, 42%, 49%, 100% { opacity: 0; }
  43%, 48% { opacity: 1; }
}

@keyframes speedBigValueSix {
  0%, 48%, 72%, 100% { opacity: 0; }
  49%, 71% { opacity: 1; }
}

@keyframes voiceOffsetValueOne {
  0%, 58%, 100% { opacity: 1; }
  59%, 99% { opacity: 0; }
}

@keyframes voiceOffsetValueTwo {
  0%, 58%, 82%, 100% { opacity: 0; }
  59%, 81% { opacity: 1; }
}

@keyframes voiceOffsetValueThree {
  0%, 81% { opacity: 0; }
  82%, 100% { opacity: 1; }
}

@keyframes speedBigThumb {
  0%, 26%, 100% { left: 30%; }
  38%, 56% { left: 58%; }
  68%, 90% { left: 86%; }
}

@keyframes speedBigFill {
  0%, 26%, 100% { width: 30%; }
  38%, 56% { width: 58%; }
  68%, 90% { width: 86%; }
}

@keyframes offsetBigThumb {
  0%, 26%, 100% { left: 50%; }
  38%, 56% { left: 72%; }
  68%, 90% { left: 38%; }
}

@keyframes offsetBigFill {
  0%, 26%, 100% { width: 50%; }
  38%, 56% { width: 72%; }
  68%, 90% { width: 38%; }
}

/* Latest motion tuning */
@keyframes templatePresetMotion {
  0%, 10%, 28%, 100% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
    transform-origin: center bottom;
  }
  13% {
    transform: translateY(2px) scaleX(1.07) scaleY(0.96) rotate(0);
    transform-origin: center bottom;
  }
  18% {
    transform: translateY(-12px) scaleX(0.94) scaleY(1.09) rotate(0);
    transform-origin: center bottom;
  }
  24% {
    transform: translateY(1px) scaleX(1.03) scaleY(0.99) rotate(0);
    transform-origin: center bottom;
  }
  32%, 38%, 63% {
    transform-origin: center bottom;
    transform: rotate(0);
  }
  42% { transform: rotate(-8deg); }
  50% { transform: rotate(7deg); }
  58% { transform: rotate(-5deg); }
  63% { transform: rotate(0); }
  64%, 71%, 90%, 100% {
    transform-origin: center bottom;
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  73% { transform: translateY(-16px) scaleX(1) scaleY(1); }
  76% { transform: translateY(0) scaleX(1) scaleY(1); }
  79% { transform: translateY(-14px) scaleX(1) scaleY(1); }
  82% { transform: translateY(0) scaleX(1) scaleY(1); }
}

body.demo-speed .demo-phone {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
}

body.demo-speed .speed-status {
  display: none;
}

body.demo-speed .speech-pill,
body.demo-speed .touch-pointer {
  display: none;
}

body.demo-speed .character-preview {
  min-height: 286px;
  overflow: hidden;
}

body.demo-speed .character-layer {
  width: 128%;
  height: 100%;
  transform-origin: center top;
  animation: speedCharacterStill 8s ease-in-out infinite;
}

body.demo-speed .character-img {
  object-position: center top;
}

body.demo-speed .mouth-img {
  animation: speedMouthTalkChanging 9s steps(1, end) infinite;
}

body.demo-speed .demo-header,
body.demo-speed .character-preview,
body.demo-speed .speed-voice-panel,
body.demo-speed .speed-simple-panel {
  animation: speedEditScreenSwitch 9s ease-in-out infinite;
}

.speed-voice-panel {
  gap: 4px;
  padding: 7px 9px;
  border-radius: 16px;
}

.speed-voice-panel .voice-title strong,
.speed-voice-panel .voice-title span {
  font-size: 0.62rem;
}

.speed-voice-panel .waveform {
  height: 28px;
  padding: 0 5px;
}

.speed-voice-panel .waveform i {
  width: 6px;
}

.speed-simple-panel {
  gap: 9px;
  padding: 9px;
}

.speed-simple-panel .big-adjust-card {
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
}

.stepper-control {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
}

.stepper-control button {
  min-height: 42px;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  box-shadow: inset 0 -4px 0 var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 900;
  animation: none;
}

.stepper-control button:last-child {
  animation: stepperPlusPulse 9s ease-in-out infinite;
}

.stepper-control span {
  position: relative;
  display: grid;
  min-height: 42px;
  place-items: center;
  overflow: hidden;
  color: var(--blue-dark);
  border-radius: 14px;
  background: #e9f4ff;
  font-size: 0.86rem;
  font-weight: 900;
}

.stepper-control span b {
  position: absolute;
  opacity: 0;
  animation: speedBigValueOne 9s steps(1, end) infinite;
}

.stepper-control span b:nth-child(2) {
  animation-name: speedBigValueTwo;
}

.stepper-control span b:nth-child(3) {
  animation-name: speedBigValueThree;
}

.stepper-control span b:nth-child(4) {
  animation-name: speedBigValueFour;
}

.stepper-control span b:nth-child(5) {
  animation-name: speedBigValueFive;
}

.stepper-control span b:nth-child(6) {
  animation-name: speedBigValueSix;
}

.movie-timeline {
  position: relative;
  display: grid;
  gap: 8px;
}

.movie-track {
  position: relative;
  display: block;
  min-height: 64px;
  padding: 22px 10px 16px;
  overflow: visible;
  border: 2px solid #b7d9ff;
  border-radius: 16px;
  background: #f5fbff;
}

.movie-track::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 32px;
  height: 8px;
  border-radius: 999px;
  background: #1677ff;
  box-shadow: inset 0 -3px 0 var(--blue-dark);
  pointer-events: none;
}

.movie-track::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 24px;
  height: 24px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(20% - 1px),
    rgba(15, 43, 92, 0.24) calc(20% - 1px),
    rgba(15, 43, 92, 0.24) 20%
  );
  pointer-events: none;
}

.movie-track i {
  display: block;
  height: 8px;
}

.timeline-active-range {
  position: absolute;
  left: 24%;
  right: 20%;
  top: 28px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #93c5ff;
  z-index: 1;
  pointer-events: none;
}

.timeline-rest-range {
  position: absolute;
  left: 48%;
  top: 27px;
  width: 12%;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #dfe7ef;
  z-index: 2;
  pointer-events: none;
}

.voice-start-marker {
  position: absolute;
  left: 24%;
  top: 23px;
  bottom: auto;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #00a35b;
  box-shadow: 0 5px 10px rgba(0, 163, 91, 0.22);
  transform: translateX(-50%);
  z-index: 3;
  animation: none;
}

.voice-start-marker::before {
  display: none;
}

.voice-end-marker {
  position: absolute;
  left: 80%;
  top: 23px;
  bottom: auto;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #ffbf00;
  box-shadow: 0 5px 10px rgba(255, 191, 0, 0.24);
  transform: translateX(-50%);
  z-index: 3;
}

.voice-end-marker::before {
  display: none;
}

.movie-track em {
  position: absolute;
  top: 47px;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.movie-track em::after {
  display: none;
}

.timeline-time-start {
  left: 14px;
  transform: none;
}

.timeline-time-mid {
  left: 50%;
  transform: translateX(-50%);
}

.timeline-time-end {
  right: 14px;
  transform: none;
}

.timeline-insert-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.timeline-insert-tools button {
  min-height: 30px;
  padding: 0 4px;
  color: var(--blue-dark);
  border: 2px solid #b7d9ff;
  border-radius: 999px;
  background: #fff;
  font-size: 0.64rem;
  font-weight: 900;
}

@keyframes speedCharacterStill {
  0%, 100% { transform: translateY(8px) scale(1.62); }
  50% { transform: translateY(4px) scale(1.64); }
}

@keyframes speedMouthTalkChanging {
  0%, 9%, 24% { opacity: 0; }
  10%, 23% { opacity: 1; }
  25%, 29%, 33%, 37%, 41%, 45%, 49% { opacity: 0; }
  27%, 31%, 35%, 39%, 43%, 47% { opacity: 1; }
  50%, 52%, 54%, 56%, 58%, 60%, 62%, 64%, 66%, 68%, 70%, 72%, 74%, 76%, 78%, 80%, 82%, 84%, 86%, 88%, 90%, 92%, 94%, 96%, 98%, 100% { opacity: 0; }
  51%, 53%, 55%, 57%, 59%, 61%, 63%, 65%, 67%, 69%, 71%, 73%, 75%, 77%, 79%, 81%, 83%, 85%, 87%, 89%, 91%, 93%, 95%, 97%, 99% { opacity: 1; }
}

@keyframes stepperPlusPulse {
  0%, 12%, 20%, 28%, 36%, 44%, 52%, 100% { transform: translateY(0); filter: none; }
  15%, 23%, 31%, 39%, 47% { transform: translateY(3px); filter: brightness(0.95); }
}

.speed-preview-screen {
  position: absolute;
  inset: 52px 14px 16px;
  z-index: 5;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  border: 2px solid #1677ff;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 42, 99, 0.18);
  transform: translateY(24px) scale(0.94);
  animation: speedPreviewScreenIn 9s ease-in-out infinite;
}

.speed-preview-screen header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.speed-preview-screen header strong {
  padding: 4px 8px;
  color: #fff;
  border-radius: 999px;
  background: var(--blue);
  font-size: 0.62rem;
}

.preview-character-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9f4ff;
}

.preview-character-layer {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 150%;
  height: 170%;
  transform: translateX(-50%) scale(1);
  animation: previewCharacterBoom 9s ease-in-out infinite;
}

.preview-character-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transform: scale(1.48);
  transform-origin: center top;
}

.preview-base-img {
  filter: drop-shadow(0 18px 18px rgba(16, 42, 99, 0.16));
}

.preview-mouth-img,
.preview-half-img,
.preview-blink-img {
  filter: none;
  opacity: 0;
}

.preview-mouth-img {
  animation: previewFastMouth 9s steps(1, end) infinite;
}

.preview-half-img {
  animation: none;
}

.preview-blink-img {
  animation: previewBlink 9s steps(1, end) infinite;
}

.preview-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 72px;
  z-index: 2;
  margin: 0;
  min-height: 54px;
  padding: 16px 14px;
  color: #0f2b5c;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 16px rgba(16, 42, 99, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  animation: previewCaptionPop 9s ease-in-out infinite;
}

.preview-playbar {
  position: relative;
  z-index: 3;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8ebff;
}

.preview-playbar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--blue);
  animation: previewPlayFill 9s linear infinite;
}

.preview-playbar span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  animation: previewPlayThumb 9s linear infinite;
}

.preview-playbar b {
  display: none;
}

/* Global demo pacing: make embedded mockups feel snappier. */
.status-dot,
.soft-orbit,
.character-layer,
.mouth-img,
.half-img,
.blink-img,
.speech-pill,
.play-button,
.speed-value b,
.fake-range::before,
.fake-range span,
.chip.is-active,
.expression-chip,
.motion-chip,
.export-action,
.touch-pointer,
.touch-pointer::after {
  animation-duration: 5.4s !important;
}

.waveform i {
  animation-duration: 520ms !important;
}

.voice-mini-wave i {
  animation-duration: 560ms !important;
}

.voice-inbox,
.voice-select-panel,
.voice-player-screen,
.voice-entry.is-featured,
.template-character-layer,
.template-scale-value b,
.template-scale-range::before,
.template-scale-range span,
.demo-template .template-chip,
.demo-template .touch-pointer,
.template-frame-label strong b,
.preset-stretch,
.preset-sway,
.preset-excite,
.demo-template .template-character-layer {
  animation-duration: 6.5s !important;
}

body.demo-speed .character-layer,
body.demo-speed .mouth-img,
body.demo-speed .demo-header,
body.demo-speed .character-preview,
body.demo-speed .speed-voice-panel,
body.demo-speed .speed-simple-panel,
.big-adjust-card strong b,
.speed-big-range::before,
.speed-big-range span,
.offset-big-range::before,
.offset-big-range span,
.speed-wide-preview,
.stepper-control button:last-child,
.stepper-control span b,
.speed-preview-screen,
.preview-character-layer,
.preview-mouth-img,
.preview-blink-img,
.preview-caption,
.preview-playbar i,
.preview-playbar span {
  animation-duration: 6.5s !important;
}

@keyframes speedEditScreenSwitch {
  0%, 58% {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  64%, 98% {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    pointer-events: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

@keyframes speedPreviewButtonPress {
  0%, 50%, 58%, 100% { transform: translateY(0); filter: none; }
  54% { transform: translateY(4px); filter: brightness(0.95); }
}

@keyframes speedPreviewScreenIn {
  0%, 58% {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
  }
  64%, 98% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(28px) scale(0.9);
  }
}

@keyframes previewCharacterBoom {
  0%, 58% { transform: translateX(-50%) translateY(0) scale(0.68); }
  64% { transform: translateX(-50%) translateY(0) scale(0.84); }
  66% { transform: translateX(-50%) translateY(-14px) scale(0.88); }
  68% { transform: translateX(-50%) translateY(0) scale(0.84); }
  70% { transform: translateX(-50%) translateY(-12px) scale(0.88); }
  72%, 100% { transform: translateX(-50%) translateY(0) scale(0.84); }
}

@keyframes previewFastMouth {
  0%, 70%, 73%, 76%, 79%, 82%, 85%, 88%, 91%, 94%, 97%, 100% { opacity: 0; }
  72%, 75%, 78%, 81%, 84%, 87% { opacity: 1; }
}

@keyframes previewHalfBlink {
  0%, 76%, 79%, 100% { opacity: 0; }
  77%, 78% { opacity: 1; }
}

@keyframes previewBlink {
  0%, 89%, 99%, 100% { opacity: 0; }
  90%, 98% { opacity: 1; }
}

@keyframes previewCaptionPop {
  0%, 69% { opacity: 0; transform: translateY(12px) scale(0.96); }
  72%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(8px) scale(0.98); }
}

@keyframes previewPlayFill {
  0%, 62% { width: 0; }
  100% { width: 100%; }
}

@keyframes previewPlayThumb {
  0%, 62% { left: 0; }
  100% { left: 100%; }
}

@keyframes voicePositionMarker {
  0%, 58%, 100% { left: 42%; }
  66%, 81% { left: 68%; }
  88%, 96% { left: 24%; }
}

@keyframes voicePositionLabel {
  0%, 26%, 100% { color: #006b40; }
  38%, 58% { color: #1677ff; }
  70%, 90% { color: #006b40; }
}

/* Restore point 3 speed mockup pacing. */
body.demo-speed .waveform i {
  animation-duration: 700ms !important;
}

body.demo-speed .character-layer {
  animation-duration: 8s !important;
}

body.demo-speed .mouth-img,
body.demo-speed .demo-header,
body.demo-speed .character-preview,
body.demo-speed .speed-voice-panel,
body.demo-speed .speed-simple-panel,
body.demo-speed .speed-wide-preview,
body.demo-speed .stepper-control button:last-child,
body.demo-speed .stepper-control span b,
body.demo-speed .big-adjust-card strong b,
body.demo-speed .speed-preview-screen,
body.demo-speed .preview-character-layer,
body.demo-speed .preview-mouth-img,
body.demo-speed .preview-blink-img,
body.demo-speed .preview-caption,
body.demo-speed .preview-playbar i,
body.demo-speed .preview-playbar span {
  animation-duration: 9s !important;
}

body.demo-speed .speed-big-range::before,
body.demo-speed .speed-big-range span,
body.demo-speed .offset-big-range::before,
body.demo-speed .offset-big-range span {
  animation-duration: 8s !important;
}

/* 2026-07-14: simplified, LP-first point mockups. */
body.lp-simple-mock {
  --lp-ink: #102a63;
  --lp-yellow: #ffe45c;
  --lp-pink: #ff1493;
  --lp-purple: #7824f5;
  color: var(--lp-ink);
  background: transparent !important;
}

.lp-simple-mock .recording-stage {
  display: grid;
  width: 100vw;
  min-height: 100vh;
  place-items: center;
  background: transparent !important;
}

.lp-simple-mock .lp-mock-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100vw, 390px);
  height: min(100vh, 819px);
  min-height: 700px;
  padding: 38px 18px 20px;
  overflow: hidden;
  border: 7px solid var(--lp-ink);
  border-radius: 42px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 20, 147, 0.16), transparent 28%),
    linear-gradient(180deg, #fff8cd 0%, #fff 46%, #f6eaff 100%);
  box-shadow: 0 18px 46px rgba(16, 42, 99, 0.2);
}

.lp-simple-mock .lp-phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 68px;
  height: 7px;
  border-radius: 999px;
  background: var(--lp-ink);
  transform: translateX(-50%);
}

.lp-simple-mock .lp-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}

.lp-simple-mock .lp-mock-header img {
  display: block;
  width: 132px;
  height: auto;
}

.lp-simple-mock .lp-mock-header span,
.lp-simple-mock .lp-mock-heading small,
.lp-simple-mock .lp-motion-preview > span {
  display: inline-grid;
  width: max-content;
  place-items: center;
  padding: 6px 12px;
  color: var(--lp-ink);
  border: 3px solid var(--lp-ink);
  border-radius: 999px;
  background: var(--lp-yellow);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.lp-simple-mock .lp-mock-heading {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.lp-simple-mock .lp-mock-heading strong {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-shadow: 2px 2px 0 #fff;
}

.lp-simple-mock .lp-character-card,
.lp-simple-mock .lp-motion-preview,
.lp-simple-mock .lp-finish-preview {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 5px solid var(--lp-ink);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 228, 92, 0.9), transparent 42%),
    linear-gradient(145deg, #f7dfff, #fff);
  box-shadow: 0 8px 0 rgba(16, 42, 99, 0.14);
}

.lp-simple-mock .lp-character-card {
  flex: 1 1 250px;
}

.lp-simple-mock .lp-character-card img,
.lp-simple-mock .lp-motion-preview img,
.lp-simple-mock .lp-finish-preview img {
  position: absolute;
  right: 50%;
  bottom: -2px;
  display: block;
  width: 82%;
  height: 98%;
  object-fit: contain;
  transform: translateX(50%);
}

.lp-simple-mock .lp-character-card > span,
.lp-simple-mock .lp-finish-preview > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  padding: 9px 10px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--lp-pink), var(--lp-purple));
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.lp-simple-mock .lp-voice-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 4px solid var(--lp-ink);
  border-radius: 22px;
  background: #fff;
}

.lp-simple-mock .lp-voice-card > button,
.lp-simple-mock .lp-motion-preview > button {
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-pink), var(--lp-purple));
  box-shadow: 0 5px 0 var(--lp-ink);
}

.lp-simple-mock .lp-voice-card > button i,
.lp-simple-mock .lp-motion-preview > button i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.lp-simple-mock .lp-voice-card > div {
  display: grid;
  gap: 8px;
}

.lp-simple-mock .lp-voice-card strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.lp-simple-mock .lp-wave {
  display: flex;
  align-items: center;
  height: 28px;
  gap: 5px;
}

.lp-simple-mock .lp-wave b {
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lp-pink), var(--lp-purple));
  animation: lpWave 0.72s ease-in-out infinite alternate;
}

.lp-simple-mock .lp-wave b:nth-child(2n) { height: 24px; animation-delay: -0.3s; }
.lp-simple-mock .lp-wave b:nth-child(3n) { height: 18px; animation-delay: -0.5s; }

.lp-simple-mock .lp-primary-button {
  min-height: 58px;
  padding: 10px 20px;
  color: #fff;
  border: 4px solid var(--lp-ink);
  border-radius: 999px;
  background: linear-gradient(100deg, var(--lp-pink), var(--lp-purple));
  box-shadow: 0 7px 0 var(--lp-ink);
  font-size: 1.28rem;
  font-weight: 900;
}

.lp-simple-mock .lp-motion-preview {
  flex: 1 1 330px;
}

.lp-simple-mock .lp-motion-preview > span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

.lp-simple-mock .lp-motion-preview img {
  width: 92%;
  height: 92%;
  transform: translateX(50%);
  transform-origin: center bottom;
  animation: lpSway 2.2s ease-in-out infinite;
}

.lp-simple-mock .lp-motion-preview > button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
}

.lp-simple-mock .lp-motion-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lp-simple-mock .lp-motion-buttons button {
  min-height: 52px;
  padding: 6px;
  color: var(--lp-ink);
  border: 3px solid var(--lp-ink);
  border-radius: 16px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.lp-simple-mock .lp-motion-buttons .is-selected {
  color: #fff;
  background: linear-gradient(120deg, var(--lp-pink), var(--lp-purple));
  transform: translateY(-3px);
  box-shadow: 0 5px 0 var(--lp-ink);
}

.lp-simple-mock .lp-finish-preview {
  flex: 1 1 235px;
}

.lp-simple-mock .lp-finish-preview img {
  width: 76%;
}

.lp-simple-mock .lp-simple-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-simple-mock .lp-simple-steps li {
  display: grid;
  grid-template-columns: 40px 1fr 34px;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 5px 10px;
  border: 3px solid var(--lp-ink);
  border-radius: 16px;
  background: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.lp-simple-mock .lp-simple-steps b,
.lp-simple-mock .lp-simple-steps i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
}

.lp-simple-mock .lp-simple-steps b {
  color: var(--lp-ink);
  background: var(--lp-yellow);
}

.lp-simple-mock .lp-simple-steps i {
  color: #fff;
  background: linear-gradient(135deg, var(--lp-pink), var(--lp-purple));
}

.lp-simple-mock .lp-simple-steps .is-current {
  background: #fff6b5;
  box-shadow: 0 4px 0 var(--lp-ink);
}

@keyframes lpWave {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1.15); }
}

@keyframes lpSway {
  0%, 100% { transform: translateX(50%) rotate(-2deg) translateY(0); }
  50% { transform: translateX(50%) rotate(2deg) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-simple-mock .lp-wave b,
  .lp-simple-mock .lp-motion-preview img {
    animation: none !important;
  }
}

/* Voice mock v4: select voice 1 immediately, then play a bust-up animation. */
.lp-simple-mock .choice-one {
  background: #fff0a9;
  box-shadow: 0 5px 0 var(--lp-ink);
  transform: translateX(5px);
  animation: none;
}

.lp-simple-mock .choice-one .lp-wave {
  opacity: 1;
  animation: none;
}

.lp-simple-mock .choice-two,
.lp-simple-mock .choice-three,
.lp-simple-mock .choice-two .lp-wave,
.lp-simple-mock .choice-three .lp-wave {
  animation: none;
}

.lp-simple-mock .lp-voice-list-screen {
  animation: lpVoiceListScreenV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-voice-play-screen {
  animation: lpVoicePlayScreenV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-voice-list-screen > .lp-primary-button {
  animation: lpSelectButtonV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-playback-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  padding: 6px 14px;
  color: var(--lp-ink);
  border: 3px solid var(--lp-ink);
  border-radius: 999px;
  background: var(--lp-yellow);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
}

.lp-simple-mock .lp-playback-character img {
  top: 52px;
  right: 50%;
  bottom: auto;
  width: 220%;
  height: 220%;
  object-fit: contain;
  object-position: center top;
  transform: translateX(50%) scale(1);
  transform-origin: center top;
  animation: lpPlaybackBustV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-mouth {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackMouthV4 8s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-half,
.lp-simple-mock .lp-playback-character .lp-playback-blink {
  opacity: 0;
}

.lp-simple-mock .lp-playback-character .lp-playback-half {
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackHalfV4 8s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-blink {
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackBlinkV4 8s steps(1, end) infinite;
}

@keyframes lpVoiceListScreenV4 {
  0%, 19% { opacity: 1; transform: translateX(0); }
  25%, 94% { opacity: 0; transform: translateX(-32px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes lpVoicePlayScreenV4 {
  0%, 19% { visibility: hidden; opacity: 0; transform: translateX(34px); }
  25%, 94% { visibility: visible; opacity: 1; transform: translateX(0); }
  98%, 100% { visibility: hidden; opacity: 0; transform: translateX(24px); }
}

@keyframes lpSelectButtonV4 {
  0%, 10%, 100% { transform: scale(1); }
  14%, 19% { transform: scale(0.96); filter: brightness(1.18); }
}

@keyframes lpPlaybackBustV4 {
  0%, 20% { transform: translateX(50%) translateY(10px) scale(0.9); }
  27% { transform: translateX(50%) translateY(6px) scale(1.02); }
  31% { transform: translateX(50%) translateY(0) scale(1.06); }
  35%, 94% { transform: translateX(50%) translateY(6px) scale(1.03); }
  100% { transform: translateX(50%) translateY(10px) scale(0.9); }
}

@keyframes lpPlaybackMouthV4 {
  0%, 31%, 35%, 39%, 43%, 47%, 51%, 55%, 59%, 63%, 67%, 71%, 75%, 79%, 100% { opacity: 0; }
  33%, 37%, 41%, 45%, 49%, 53%, 57%, 61%, 65%, 69%, 73%, 77% { opacity: 1; }
}

@keyframes lpPlaybackHalfV4 {
  0%, 81%, 84%, 100% { opacity: 0; }
  82%, 83% { opacity: 1; }
}

@keyframes lpPlaybackBlinkV4 {
  0%, 86%, 91%, 100% { opacity: 0; }
  87%, 90% { opacity: 1; }
}

/* Voice mock: rotate through three user submissions. */
.lp-simple-mock.simple-voice .lp-mock-header {
  justify-content: flex-start;
}

.lp-simple-mock.simple-voice .lp-character-card {
  flex: 1 1 190px;
  min-height: 150px;
}

.lp-simple-mock .lp-voice-choices {
  display: grid;
  gap: 7px;
}

.lp-simple-mock .lp-voice-choice {
  display: grid;
  grid-template-columns: 44px 76px 1fr 34px;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 5px 8px;
  color: var(--lp-ink);
  border: 3px solid var(--lp-ink);
  border-radius: 17px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: left;
}

.lp-simple-mock .lp-voice-choice strong {
  white-space: nowrap;
}

.lp-simple-mock .lp-user-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 3px solid var(--lp-ink);
  border-radius: 50%;
  background: #ffd4ea;
}

.lp-simple-mock .lp-user-icon::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: var(--lp-ink);
  transform: translateX(-50%);
}

.lp-simple-mock .lp-user-icon::after {
  position: absolute;
  right: 6px;
  bottom: 4px;
  left: 6px;
  height: 15px;
  content: "";
  border-radius: 14px 14px 5px 5px;
  background: var(--lp-ink);
}

.lp-simple-mock .lp-voice-choice:nth-child(2) .lp-user-icon { background: #dcd2ff; }
.lp-simple-mock .lp-voice-choice:nth-child(3) .lp-user-icon { background: #fff0a9; }

.lp-simple-mock .lp-voice-choice .lp-wave {
  height: 22px;
  gap: 3px;
  opacity: 0.28;
}

.lp-simple-mock .lp-voice-choice .lp-wave b {
  width: 4px;
}

.lp-simple-mock .lp-choice-play {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-pink), var(--lp-purple));
  box-shadow: 0 3px 0 var(--lp-ink);
}

.lp-simple-mock .lp-choice-play::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
}

.lp-simple-mock .choice-one { animation: lpChoiceOne 9s ease-in-out infinite; }
.lp-simple-mock .choice-two { animation: lpChoiceTwo 9s ease-in-out infinite; }
.lp-simple-mock .choice-three { animation: lpChoiceThree 9s ease-in-out infinite; }
.lp-simple-mock .choice-one .lp-wave { animation: lpWaveOne 9s linear infinite; }
.lp-simple-mock .choice-two .lp-wave { animation: lpWaveTwo 9s linear infinite; }
.lp-simple-mock .choice-three .lp-wave { animation: lpWaveThree 9s linear infinite; }

@keyframes lpChoiceOne {
  0%, 27% { background: #fff0a9; box-shadow: 0 5px 0 var(--lp-ink); transform: translateX(5px); }
  32%, 100% { background: #fff; box-shadow: none; transform: none; }
}

@keyframes lpChoiceTwo {
  0%, 31%, 64%, 100% { background: #fff; box-shadow: none; transform: none; }
  35%, 60% { background: #fff0a9; box-shadow: 0 5px 0 var(--lp-ink); transform: translateX(5px); }
}

@keyframes lpChoiceThree {
  0%, 64%, 98%, 100% { background: #fff; box-shadow: none; transform: none; }
  68%, 94% { background: #fff0a9; box-shadow: 0 5px 0 var(--lp-ink); transform: translateX(5px); }
}

@keyframes lpWaveOne {
  0%, 27% { opacity: 1; }
  32%, 100% { opacity: 0.28; }
}

@keyframes lpWaveTwo {
  0%, 31%, 64%, 100% { opacity: 0.28; }
  35%, 60% { opacity: 1; }
}

@keyframes lpWaveThree {
  0%, 64%, 98%, 100% { opacity: 0.28; }
  68%, 94% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-simple-mock .lp-voice-choice,
  .lp-simple-mock .lp-voice-choice .lp-wave {
    animation: none !important;
  }
}

/* Voice mock: transition from selecting a voice to character playback. */
.lp-simple-mock .lp-voice-list-screen {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  animation: lpVoiceListScreen 10s ease-in-out infinite;
}

.lp-simple-mock .lp-voice-list-screen > .lp-primary-button {
  animation: lpSelectButton 10s ease-in-out infinite;
}

.lp-simple-mock .lp-voice-play-screen {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 38px 18px 20px;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 228, 92, 0.8), transparent 32%),
    linear-gradient(180deg, #fff8cd 0%, #f7dfff 100%);
  opacity: 0;
  pointer-events: none;
  animation: lpVoicePlayScreen 10s ease-in-out infinite;
}

.lp-simple-mock.simple-voice .lp-voice-play-screen .lp-mock-header {
  justify-content: space-between;
}

.lp-simple-mock.simple-voice .lp-phone-speaker {
  z-index: 20;
}

.lp-simple-mock .lp-playback-character {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 5px solid var(--lp-ink);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 228, 92, 0.94), transparent 44%),
    linear-gradient(145deg, #f7dfff, #fff);
  box-shadow: 0 8px 0 rgba(16, 42, 99, 0.16);
}

.lp-simple-mock .lp-playback-character img {
  position: absolute;
  right: 50%;
  bottom: -5px;
  display: block;
  width: 112%;
  height: 106%;
  object-fit: contain;
  transform: translateX(50%) scale(1.02);
  transform-origin: center 72%;
  animation: lpPlaybackZoom 10s ease-in-out infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-mouth {
  opacity: 0;
  animation: lpPlaybackZoom 10s ease-in-out infinite, lpPlaybackMouth 10s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character p {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  z-index: 3;
  margin: 0;
  padding: 11px 10px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--lp-pink), var(--lp-purple));
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.lp-simple-mock .lp-playback-voice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 84px 40px;
  align-items: center;
  gap: 8px;
  min-height: 82px;
  padding: 9px 10px;
  border: 4px solid var(--lp-ink);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 0 var(--lp-ink);
}

.lp-simple-mock .lp-playback-voice > div {
  display: grid;
  gap: 2px;
}

.lp-simple-mock .lp-playback-voice strong {
  font-size: 1rem;
  font-weight: 900;
}

.lp-simple-mock .lp-playback-voice > div span {
  color: var(--lp-pink);
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.lp-simple-mock .lp-playback-voice .lp-wave {
  gap: 3px;
}

.lp-simple-mock .lp-playback-voice .lp-wave b {
  width: 4px;
}

.lp-simple-mock .lp-pause-icon {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-pink), var(--lp-purple));
  box-shadow: 0 3px 0 var(--lp-ink);
}

.lp-simple-mock .lp-pause-icon::before,
.lp-simple-mock .lp-pause-icon::after {
  position: absolute;
  top: 10px;
  width: 5px;
  height: 18px;
  content: "";
  border-radius: 2px;
  background: #fff;
}

.lp-simple-mock .lp-pause-icon::before { left: 12px; }
.lp-simple-mock .lp-pause-icon::after { right: 12px; }

.lp-simple-mock .choice-one,
.lp-simple-mock .choice-one .lp-wave { animation-duration: 10s; }
.lp-simple-mock .choice-two,
.lp-simple-mock .choice-two .lp-wave { animation-duration: 10s; }
.lp-simple-mock .choice-three,
.lp-simple-mock .choice-three .lp-wave { animation-duration: 10s; }

@keyframes lpChoiceOne {
  0%, 14% { background: #fff0a9; box-shadow: 0 5px 0 var(--lp-ink); transform: translateX(5px); }
  18%, 100% { background: #fff; box-shadow: none; transform: none; }
}

@keyframes lpChoiceTwo {
  0%, 17%, 33%, 100% { background: #fff; box-shadow: none; transform: none; }
  20%, 30% { background: #fff0a9; box-shadow: 0 5px 0 var(--lp-ink); transform: translateX(5px); }
}

@keyframes lpChoiceThree {
  0%, 33%, 55%, 100% { background: #fff; box-shadow: none; transform: none; }
  36%, 52% { background: #fff0a9; box-shadow: 0 5px 0 var(--lp-ink); transform: translateX(5px); }
}

@keyframes lpWaveOne {
  0%, 14% { opacity: 1; }
  18%, 100% { opacity: 0.28; }
}

@keyframes lpWaveTwo {
  0%, 17%, 33%, 100% { opacity: 0.28; }
  20%, 30% { opacity: 1; }
}

@keyframes lpWaveThree {
  0%, 33%, 55%, 100% { opacity: 0.28; }
  36%, 52% { opacity: 1; }
}

@keyframes lpVoiceListScreen {
  0%, 52% { opacity: 1; transform: translateX(0); }
  58%, 94% { opacity: 0; transform: translateX(-32px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes lpVoicePlayScreen {
  0%, 52% { visibility: hidden; opacity: 0; transform: translateX(34px); }
  58%, 94% { visibility: visible; opacity: 1; transform: translateX(0); }
  98%, 100% { visibility: hidden; opacity: 0; transform: translateX(24px); }
}

@keyframes lpSelectButton {
  0%, 44%, 100% { transform: scale(1); }
  48%, 52% { transform: scale(0.96); filter: brightness(1.18); }
}

@keyframes lpPlaybackZoom {
  0%, 54% { transform: translateX(50%) scale(1.02); }
  64%, 92% { transform: translateX(50%) scale(1.18); }
  100% { transform: translateX(50%) scale(1.02); }
}

@keyframes lpPlaybackMouth {
  0%, 57%, 61%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 100% { opacity: 0; }
  59%, 63%, 68%, 73%, 78%, 83%, 88%, 93% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-simple-mock .lp-voice-list-screen {
    opacity: 0 !important;
  }

  .lp-simple-mock .lp-voice-play-screen {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .lp-simple-mock .lp-playback-character img {
    animation: none !important;
  }
}

/* Final v4 placement and timing lock. */
.lp-simple-mock .choice-one {
  background: #fff0a9;
  box-shadow: 0 5px 0 var(--lp-ink);
  transform: translateX(5px);
  animation: none;
}

.lp-simple-mock .choice-one .lp-wave {
  opacity: 1;
  animation: none;
}

.lp-simple-mock .choice-two,
.lp-simple-mock .choice-three,
.lp-simple-mock .choice-two .lp-wave,
.lp-simple-mock .choice-three .lp-wave {
  animation: none;
}

.lp-simple-mock .lp-voice-list-screen {
  animation: lpVoiceListScreenV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-voice-play-screen {
  animation: lpVoicePlayScreenV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-voice-list-screen > .lp-primary-button {
  animation: lpSelectButtonV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-playback-character img {
  top: 52px;
  right: 50%;
  bottom: auto;
  width: 220%;
  height: 220%;
  object-fit: contain;
  object-position: center top;
  transform: translateX(50%) scale(1);
  transform-origin: center top;
  animation: lpPlaybackBustV4 8s ease-in-out infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-mouth {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackMouthV4 8s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-half {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackHalfV4 8s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-blink {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackBlinkV4 8s steps(1, end) infinite;
}

/* Voice mock v5: reveal the line after playback starts and match point 3 pacing. */
.lp-simple-mock .lp-playback-character p {
  color: var(--lp-ink);
  border: 3px solid #fff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(16, 42, 99, 0.16);
  opacity: 0;
  animation: lpPlaybackCaptionV5 8s ease-in-out infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-mouth {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackMouthV5 8s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-blink {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackBlinkV5 8s steps(1, end) infinite;
}

@keyframes lpPlaybackCaptionV5 {
  0%, 29% { opacity: 0; transform: translateY(10px); }
  34%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

@keyframes lpPlaybackMouthV5 {
  0%, 29%, 33%, 37%, 41%, 45%, 49%, 53%, 57%, 61%, 65%, 69%, 73%, 77%, 100% { opacity: 0; }
  31%, 35%, 39%, 43%, 47%, 51%, 55%, 59%, 63%, 67%, 71%, 75% { opacity: 1; }
}

@keyframes lpPlaybackBlinkV5 {
  0%, 83%, 87%, 100% { opacity: 0; }
  84%, 86% { opacity: 1; }
}

/* Voice mock v6: faster lip sync; hold the final expression until transition. */
.lp-simple-mock .lp-playback-character .lp-playback-mouth {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackMouthV6 8s steps(1, end) infinite;
}

.lp-simple-mock .lp-playback-character .lp-playback-blink {
  opacity: 0;
  animation: lpPlaybackBustV4 8s ease-in-out infinite, lpPlaybackBlinkV6 8s steps(1, end) infinite;
}

@keyframes lpPlaybackMouthV6 {
  0%, 29%, 31.5%, 34.5%, 37.5%, 40.5%, 43.5%, 46.5%, 49.5%, 52.5%, 55.5%, 58.5%, 61.5%, 64.5%, 67.5%, 70.5%, 73.5%, 76.5%, 100% { opacity: 0; }
  30%, 33%, 36%, 39%, 42%, 45%, 48%, 51%, 54%, 57%, 60%, 63%, 66%, 69%, 72%, 75% { opacity: 1; }
}

@keyframes lpPlaybackBlinkV6 {
  0%, 81% { opacity: 0; }
  82%, 100% { opacity: 1; }
}

/* Voice mock v7: reuse point 3's post-transition animations directly. */
.lp-simple-mock .lp-voice-list-screen,
.lp-simple-mock .lp-voice-play-screen,
.lp-simple-mock .lp-voice-list-screen > .lp-primary-button {
  animation: none;
}

.lp-simple-mock .lp-voice-list-screen {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.lp-simple-mock .lp-voice-play-screen {
  visibility: hidden;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
}

.lp-simple-mock .lp-mock-phone.is-playing .lp-voice-list-screen {
  opacity: 0;
  transform: translateX(-28px);
}

.lp-simple-mock .lp-mock-phone.is-playing .lp-voice-play-screen {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.lp-simple-mock .lp-playback-character-layer {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 260%;
  height: 260%;
  transform: translateX(-50%) scale(0.68);
  transform-origin: center top;
}

.lp-simple-mock .lp-playback-character-layer img,
.lp-simple-mock .lp-playback-character .lp-playback-base,
.lp-simple-mock .lp-playback-character .lp-playback-mouth,
.lp-simple-mock .lp-playback-character .lp-playback-blink {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  opacity: 1;
  transform: none;
  animation: none;
}

.lp-simple-mock .lp-playback-character .lp-playback-mouth,
.lp-simple-mock .lp-playback-character .lp-playback-blink {
  opacity: 0;
}

.lp-simple-mock .lp-mock-phone.is-playing .lp-playback-character-layer {
  animation: previewCharacterBoom 9s ease-in-out -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-playing .lp-playback-character .lp-playback-mouth {
  animation: previewFastMouth 9s steps(1, end) -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-playing .lp-playback-character .lp-playback-blink {
  animation: previewBlink 9s steps(1, end) -5.22s 1 both;
}

.lp-simple-mock .lp-playback-character p {
  color: var(--lp-ink);
  border: 3px solid #fff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(16, 42, 99, 0.16);
  opacity: 0;
  animation: none;
}

.lp-simple-mock .lp-mock-phone.is-playing .lp-playback-character p {
  animation: previewCaptionPop 9s ease-in-out -5.22s 1 both;
}

/* Voice mock v8: make the play button visibly depress before transition. */
.lp-simple-mock .lp-voice-list-screen > .lp-primary-button {
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.lp-simple-mock .lp-voice-list-screen > .lp-primary-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  content: "";
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.35);
}

.lp-simple-mock .lp-mock-phone.is-pressing .lp-voice-list-screen > .lp-primary-button {
  box-shadow: 0 1px 0 var(--lp-ink);
  filter: brightness(1.16);
  transform: translateY(6px) scale(0.985);
}

.lp-simple-mock .lp-mock-phone.is-pressing .lp-voice-list-screen > .lp-primary-button::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.35);
  transition: opacity 0.12s ease, transform 0.3s ease-out;
}

/* Template mock v2: horizontal motion picker using the original point 2 motion. */
.lp-simple-mock.simple-template .lp-mock-header {
  justify-content: flex-start;
}

.lp-simple-mock.simple-template .lp-mock-heading strong {
  font-size: 1.72rem;
  white-space: nowrap;
}

.lp-simple-mock.simple-template .lp-motion-preview {
  flex: 1 1 430px;
}

.lp-simple-mock .lp-template-character-layer {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 120%;
  height: 120%;
  transform: none;
  transform-origin: center bottom;
  animation: templatePresetMotion 6.5s ease-in-out infinite;
}

.lp-simple-mock .lp-motion-preview .lp-template-character-layer img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  animation: none;
}

.lp-simple-mock .lp-motion-carousel {
  position: relative;
  height: 72px;
  overflow: hidden;
  border: 4px solid var(--lp-ink);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 18px 0 18px -18px rgba(16, 42, 99, 0.26), inset -18px 0 18px -18px rgba(16, 42, 99, 0.26);
}

.lp-simple-mock .lp-motion-track {
  display: flex;
  width: max-content;
  gap: 8px;
  padding: 7px 0 9px;
  transform: translateX(0);
  animation: lpMotionTrackSwipe 6.5s ease-in-out infinite;
}

.lp-simple-mock .lp-motion-track button {
  flex: 0 0 108px;
  min-height: 50px;
  padding: 6px 8px;
  color: var(--lp-ink);
  border: 3px solid var(--lp-ink);
  border-radius: 15px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.lp-simple-mock .lp-motion-track .motion-stretch {
  animation: lpMotionStretchSelected 6.5s steps(1, end) infinite;
}

.lp-simple-mock .lp-motion-track .motion-sway {
  animation: lpMotionSwaySelected 6.5s steps(1, end) infinite;
}

.lp-simple-mock .lp-motion-track .motion-excite {
  animation: lpMotionExciteSelected 6.5s steps(1, end) infinite;
}

.lp-simple-mock .lp-motion-finger {
  position: absolute;
  top: 19px;
  left: 250px;
  z-index: 4;
  width: 30px;
  height: 30px;
  border: 3px solid var(--lp-ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 0 var(--lp-ink);
  opacity: 0;
  pointer-events: none;
  animation: lpMotionFingerSwipe 6.5s ease-in-out infinite;
}

.lp-simple-mock .lp-motion-finger::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--lp-pink);
  transform: translate(-50%, -50%);
}

.lp-simple-mock.simple-template > .recording-stage {
  overflow: hidden;
}

.lp-simple-mock.simple-template .lp-primary-button {
  animation: lpMotionConfirm 6.5s ease-in-out infinite;
}

@keyframes lpMotionTrackSwipe {
  0%, 20% { transform: translateX(0); }
  32%, 53% { transform: translateX(-116px); }
  65%, 100% { transform: translateX(-232px); }
}

@keyframes lpMotionStretchSelected {
  0%, 31%, 100% { color: #fff; background: linear-gradient(110deg, var(--lp-pink), var(--lp-purple)); box-shadow: 0 4px 0 var(--lp-ink); transform: translateY(-2px); }
  32%, 99% { color: var(--lp-ink); background: #fff; box-shadow: none; transform: none; }
}

@keyframes lpMotionSwaySelected {
  0%, 31%, 64%, 100% { color: var(--lp-ink); background: #fff; box-shadow: none; transform: none; }
  32%, 63% { color: #fff; background: linear-gradient(110deg, var(--lp-pink), var(--lp-purple)); box-shadow: 0 4px 0 var(--lp-ink); transform: translateY(-2px); }
}

@keyframes lpMotionExciteSelected {
  0%, 63% { color: var(--lp-ink); background: #fff; box-shadow: none; transform: none; }
  64%, 100% { color: #fff; background: linear-gradient(110deg, var(--lp-pink), var(--lp-purple)); box-shadow: 0 4px 0 var(--lp-ink); transform: translateY(-2px); }
}

@keyframes lpMotionFingerSwipe {
  0%, 7%, 31%, 39%, 63%, 71%, 100% { opacity: 0; }
  10%, 18% { left: 250px; opacity: 1; transform: scale(1); }
  27% { left: 112px; opacity: 1; transform: scale(0.94); }
  42%, 50% { left: 250px; opacity: 1; transform: scale(1); }
  60% { left: 112px; opacity: 1; transform: scale(0.94); }
}

@keyframes lpMotionConfirm {
  0%, 27%, 34%, 60%, 67%, 100% { transform: translateY(0); box-shadow: 0 7px 0 var(--lp-ink); }
  30%, 63% { transform: translateY(6px); box-shadow: 0 1px 0 var(--lp-ink); filter: brightness(1.14); }
}

/* Preview: enrich only the point-2 "ゆらゆら" phase without changing its duration. */
.lp-simple-mock.simple-template .lp-template-character-layer {
  z-index: 1;
  animation-name: lpTemplatePresetMotionRich;
}

.lp-simple-mock.simple-template .lp-motion-preview::after {
  position: absolute;
  bottom: 3.5%;
  left: 50%;
  z-index: 0;
  width: 42%;
  height: 5.5%;
  content: "";
  border-radius: 50%;
  background: rgba(16, 42, 99, 0.28);
  filter: blur(4px);
  transform: translateX(-50%) scaleX(1);
  transform-origin: center;
  animation: lpTemplateGroundShadowRich 6.5s ease-in-out infinite;
}

@keyframes lpTemplatePresetMotionRich {
  0%, 10%, 28%, 100% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  13% {
    transform: translateY(2px) scaleX(1.07) scaleY(0.96) rotate(0);
  }
  18% {
    transform: translateY(-12px) scaleX(0.94) scaleY(1.09) rotate(0);
  }
  24% {
    transform: translateY(1px) scaleX(1.03) scaleY(0.99) rotate(0);
  }
  32%, 38% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  35% {
    transform: perspective(900px) translateY(-1px) scaleX(0.995) scaleY(1.008) rotateY(0deg) rotateZ(0deg);
  }
  42% {
    transform: perspective(900px) translate(-2px, 2px) scaleX(1.025) scaleY(0.985) rotateY(3deg) rotateZ(-7deg);
  }
  46% {
    transform: perspective(900px) translate(1px, -3px) scaleX(0.985) scaleY(1.02) rotateY(1deg) rotateZ(-2deg);
  }
  50% {
    transform: perspective(900px) translate(2px, 2px) scaleX(1.03) scaleY(0.98) rotateY(-3deg) rotateZ(7deg);
  }
  54% {
    transform: perspective(900px) translate(-1px, -3px) scaleX(0.982) scaleY(1.022) rotateY(-1deg) rotateZ(2deg);
  }
  58% {
    transform: perspective(900px) translate(-1px, 1px) scaleX(1.02) scaleY(0.99) rotateY(2deg) rotateZ(-5deg);
  }
  60.5% {
    transform: perspective(900px) translate(1px, -1px) scaleX(0.995) scaleY(1.008) rotateY(-1deg) rotateZ(1.5deg);
  }
  63% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  64%, 71%, 90%, 100% {
    transform: translateY(0) scaleX(1) scaleY(1) rotate(0);
  }
  73% {
    transform: translateY(-16px) scaleX(1) scaleY(1);
  }
  76% {
    transform: translateY(0) scaleX(1) scaleY(1);
  }
  79% {
    transform: translateY(-14px) scaleX(1) scaleY(1);
  }
  82% {
    transform: translateY(0) scaleX(1) scaleY(1);
  }
}

@keyframes lpTemplateGroundShadowRich {
  0%, 10%, 28%, 32%, 38%, 63%, 64%, 71%, 73%, 76%, 79%, 82%, 90%, 100% {
    opacity: 0.28;
    transform: translateX(-50%) scaleX(1);
  }
  13%, 24%, 42%, 50%, 58% {
    opacity: 0.34;
    transform: translateX(-50%) scaleX(1.1);
  }
  18%, 46%, 54%, 60.5% {
    opacity: 0.18;
    transform: translateX(-50%) scaleX(0.72);
  }
}

/* Speed mock v2: simplified controls that preserve the original point 3 flow. */
.lp-simple-mock .lp-speed-edit-screen {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.lp-simple-mock.simple-speed-v2 .lp-mock-header {
  justify-content: flex-start;
}

.lp-simple-mock.simple-speed-v2 .lp-mock-heading strong {
  font-size: 1.68rem;
  white-space: nowrap;
}

.lp-simple-mock .lp-speed-edit-preview {
  position: relative;
  flex: 1 1 300px;
  min-height: 220px;
  overflow: hidden;
  border: 5px solid var(--lp-ink);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 228, 92, 0.92), transparent 44%),
    linear-gradient(145deg, #f7dfff, #fff);
  box-shadow: 0 7px 0 rgba(16, 42, 99, 0.15);
}

.lp-simple-mock .lp-speed-edit-preview > span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 6px 12px;
  color: var(--lp-ink);
  border: 3px solid var(--lp-ink);
  border-radius: 999px;
  background: var(--lp-yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.lp-simple-mock .lp-speed-edit-character {
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 116%;
  height: 116%;
}

.lp-simple-mock .lp-speed-edit-character img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.lp-simple-mock .lp-speed-edit-mouth {
  opacity: 0;
  animation: lpSpeedEditMouth 0.64s steps(1, end) infinite;
}

.lp-simple-mock .lp-mock-phone.is-speed-fast .lp-speed-edit-mouth {
  animation-duration: 0.3s;
}

.lp-simple-mock .lp-speed-controls {
  display: grid;
  gap: 8px;
}

.lp-simple-mock .lp-speed-card,
.lp-simple-mock .lp-timing-card {
  padding: 8px 10px;
  border: 3px solid var(--lp-ink);
  border-radius: 18px;
  background: #fff;
}

.lp-simple-mock .lp-speed-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 8px;
}

.lp-simple-mock .lp-speed-card > strong,
.lp-simple-mock .lp-timing-card > strong {
  font-size: 0.92rem;
  font-weight: 900;
}

.lp-simple-mock .lp-speed-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.lp-simple-mock .lp-speed-options button {
  min-height: 36px;
  padding: 4px 2px;
  color: var(--lp-ink);
  border: 2px solid var(--lp-ink);
  border-radius: 11px;
  background: #fff;
  font-size: 0.67rem;
  font-weight: 900;
}

.lp-simple-mock .lp-speed-options .is-normal {
  color: #fff;
  background: linear-gradient(110deg, var(--lp-pink), var(--lp-purple));
}

.lp-simple-mock .lp-mock-phone.is-speed-fast .lp-speed-options .is-normal {
  color: var(--lp-ink);
  background: #fff;
}

.lp-simple-mock .lp-mock-phone.is-speed-fast .lp-speed-options .is-fast {
  color: #fff;
  background: linear-gradient(110deg, var(--lp-pink), var(--lp-purple));
  box-shadow: 0 3px 0 var(--lp-ink);
  transform: translateY(-2px);
}

.lp-simple-mock .lp-timing-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 4px 8px;
}

.lp-simple-mock .lp-timing-card > span {
  justify-self: end;
  color: var(--lp-pink);
  font-size: 0.72rem;
  font-weight: 900;
}

.lp-simple-mock .lp-timing-track {
  position: relative;
  grid-column: 1 / -1;
  height: 12px;
  margin: 3px 8px 2px;
  border-radius: 999px;
  background: #e7d9ff;
}

.lp-simple-mock .lp-timing-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lp-pink), var(--lp-purple));
  transition: width 0.5s ease;
}

.lp-simple-mock .lp-timing-track b {
  position: absolute;
  top: 50%;
  left: 38%;
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--lp-purple);
  box-shadow: 0 3px 0 var(--lp-ink);
  transform: translate(-50%, -50%);
  transition: left 0.5s ease;
}

.lp-simple-mock .lp-mock-phone.is-timing-set .lp-timing-track i { width: 68%; }
.lp-simple-mock .lp-mock-phone.is-timing-set .lp-timing-track b { left: 68%; }

.lp-simple-mock.simple-speed-v2 .lp-primary-button {
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.lp-simple-mock .lp-mock-phone.is-speed-pressing .lp-speed-edit-screen > .lp-primary-button {
  box-shadow: 0 1px 0 var(--lp-ink);
  filter: brightness(1.15);
  transform: translateY(6px) scale(0.985);
}

.lp-simple-mock .lp-speed-play-screen {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 38px 18px 22px;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 228, 92, 0.8), transparent 32%),
    linear-gradient(180deg, #fff8cd 0%, #f7dfff 100%);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-edit-screen {
  opacity: 0;
  transform: translateX(-28px);
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-play-screen {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.lp-simple-mock .lp-speed-play-character {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 5px solid var(--lp-ink);
  border-radius: 30px;
  background: linear-gradient(145deg, #f7dfff, #fff8cd);
  box-shadow: 0 8px 0 rgba(16, 42, 99, 0.16);
}

.lp-simple-mock .lp-speed-play-layer {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 260%;
  height: 260%;
  transform: translateX(-50%) scale(0.68);
  transform-origin: center top;
}

.lp-simple-mock .lp-speed-play-layer img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.lp-simple-mock .lp-speed-play-mouth,
.lp-simple-mock .lp-speed-play-blink {
  opacity: 0;
}

.lp-simple-mock .lp-speed-play-character p {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  z-index: 4;
  margin: 0;
  padding: 11px 10px;
  color: var(--lp-ink);
  border: 3px solid #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(16, 42, 99, 0.16);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  opacity: 0;
}

.lp-simple-mock .lp-speed-playbar {
  position: relative;
  height: 14px;
  margin: 0 12px;
  border-radius: 999px;
  background: #e7d9ff;
}

.lp-simple-mock .lp-speed-playbar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lp-pink), var(--lp-purple));
}

.lp-simple-mock .lp-speed-playbar span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--lp-purple);
  transform: translate(-50%, -50%);
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-play-layer {
  animation: previewCharacterBoom 9s ease-in-out -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-play-mouth {
  animation: previewFastMouth 9s steps(1, end) -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-play-blink {
  animation: previewBlink 9s steps(1, end) -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-play-character p {
  animation: previewCaptionPop 9s ease-in-out -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-playbar i {
  animation: previewPlayFill 9s linear -5.22s 1 both;
}

.lp-simple-mock .lp-mock-phone.is-speed-preview .lp-speed-playbar span {
  animation: previewPlayThumb 9s linear -5.22s 1 both;
}

@keyframes lpSpeedEditMouth {
  0%, 49%, 100% { opacity: 0; }
  50%, 99% { opacity: 1; }
}

/* Speed mock v3: full-video timeline with an adjustable playback marker. */
.lp-simple-mock .lp-timing-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 9px 10px 7px;
}

.lp-simple-mock .lp-timeline-header,
.lp-simple-mock .lp-timeline-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-simple-mock .lp-timeline-header strong {
  font-size: 0.92rem;
  font-weight: 900;
}

.lp-simple-mock .lp-timeline-header span {
  color: var(--lp-ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.lp-simple-mock .lp-timing-track {
  position: relative;
  grid-column: auto;
  height: 18px;
  margin: 28px 8px 0;
  border: 2px solid var(--lp-ink);
  border-radius: 6px;
  background: #e7d9ff;
}

.lp-simple-mock .lp-timing-track::before {
  position: absolute;
  inset: 2px 4px;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(16, 42, 99, 0.62) 22px 24px);
}

.lp-simple-mock .lp-timing-track i {
  z-index: 1;
}

.lp-simple-mock .lp-timing-track b {
  z-index: 4;
}

.lp-simple-mock .lp-timing-label {
  position: absolute;
  bottom: 23px;
  left: 38%;
  z-index: 5;
  min-width: 82px;
  padding: 5px 8px;
  color: #fff;
  border: 2px solid var(--lp-ink);
  border-radius: 999px;
  background: linear-gradient(100deg, var(--lp-pink), var(--lp-purple));
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: left 0.5s ease;
}

.lp-simple-mock .lp-timing-label::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 7px solid var(--lp-purple);
  transform: translateX(-50%);
}

.lp-simple-mock .lp-mock-phone.is-timing-set .lp-timing-label {
  left: 68%;
}

.lp-simple-mock .lp-timeline-times {
  margin: 1px 8px 0;
  color: #526781;
  font-size: 0.62rem;
  font-weight: 900;
}
