:root {
  color-scheme: light;
  --bg: #f6f6f6;
  --surface: #ffffff;
  --surface-muted: #f2f2f2;
  --ink: #191919;
  --ink-soft: #383838;
  --muted: #757575;
  --muted-2: #9a9a9a;
  --line: #e5e5e5;
  --line-dark: #d9d9d9;
  --brand: #515862;
  --brand-dark: #303640;
  --brand-soft: #e9ebee;
  --brand-pale: #f5f6f7;
  --dark: #1a1a1a;
  --success: #3b3b3b;
  --warning: #9b702f;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 26px 70px rgba(25,25,25, .09);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }
.skip-link { position: fixed; z-index: 999; top: -70px; left: 20px; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 14px; }
:focus-visible { outline: 3px solid rgba(52,52,52,.28); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: sticky; z-index: 50; top: 0; height: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; border-bottom: 1px solid rgba(226,226,226,.85); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.prototype-ribbon { min-height: 34px; padding: 8px 20px; display: grid; place-items: center; border-bottom: 1px solid #dadada; color: #484848; background: #ededed; font-size: 11px; font-weight: 650; text-align: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; padding: 6px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { color: var(--muted-2); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; justify-content: center; gap: 31px; }
.site-nav a { position: relative; color: #5a5a5a; font-size: 13px; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 999px; background: var(--ink); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.text-button { padding: 10px 14px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.button { min-height: 50px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #000; }
.button-light { border-color: var(--line-dark); background: rgba(255,255,255,.66); }
.button-light:hover { border-color: #bdbdbd; background: #fff; }

.hero { min-height: 730px; padding: 100px 0 84px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 66px; align-items: center; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 21px; height: 2px; border-radius: 999px; background: currentColor; }
.hero-copy h1 { margin: 0; font-size: clamp(42px, 4.4vw, 68px); font-weight: 780; line-height: 1.13; letter-spacing: -.055em; }
.hero-lead { max-width: 560px; margin: 27px 0 0; color: var(--muted); font-size: 17px; line-height: 1.82; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.proof-list { margin: 30px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; color: #6e6e6e; font-size: 12px; }
.proof-list li { display: flex; align-items: center; gap: 9px; }
.proof-list li::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 10px; font-weight: 900; }
.hero-product { position: relative; }
.preview-window { overflow: hidden; border: 1px solid #e0e0e0; border-radius: 24px; background: #fff; box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); transform-origin: left center; }
.preview-topbar { height: 58px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; border-bottom: 1px solid #e8e8e8; }
.preview-brand { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 750; }
.preview-brand img { width: 25px; height: 25px; padding: 4px; border: 1px solid #e6e6e6; border-radius: 50%; background: #fff; }
.preview-status { display: flex; align-items: center; gap: 6px; color: #737373; font-size: 8px; }
.preview-status i, .service-online i { width: 6px; height: 6px; border-radius: 50%; background: #4e4e4e; box-shadow: 0 0 0 4px rgba(78,78,78,.12); }
.preview-balance { padding: 7px 9px; border-radius: 8px; background: #f5f5f5; color: #535353; font-size: 8px; font-weight: 700; }
.preview-layout { min-height: 420px; display: grid; grid-template-columns: 96px minmax(0, 1fr) 142px; }
.preview-sidebar { padding: 16px 10px; display: grid; align-content: start; gap: 7px; border-right: 1px solid #e9e9e9; background: #fbfbfb; }
.preview-sidebar button { padding: 10px 8px; display: grid; gap: 4px; border-radius: 8px; color: #898989; background: transparent; font-size: 8px; text-align: left; }
.preview-sidebar button span { color: #adadad; font-size: 7px; letter-spacing: .08em; }
.preview-sidebar button.is-active { color: #fff; background: var(--ink); }
.preview-sidebar button.is-active span { color: #ababab; }
.preview-stage { padding: 18px; display: grid; place-items: center; background: #f3f3f3; }
.demo-video { position: relative; width: min(100%, 238px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 15px; background: #161616; box-shadow: 0 18px 38px rgba(28,28,28,.18); }
.demo-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.72)); }
.demo-video img { width: 100%; height: 100%; object-fit: cover; }
.demo-label { position: absolute; z-index: 2; top: 11px; left: 11px; padding: 5px 7px; border-radius: 6px; color: #e9e9e9; background: rgba(15,15,15,.6); font-size: 7px; }
.play-button { position: absolute; z-index: 3; inset: 0; margin: auto; width: 42px; height: 42px; padding-left: 4px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(18,18,18,.38); backdrop-filter: blur(5px); }
.subtitle-line { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 16px; color: #fff; font-size: 8px; line-height: 1.5; text-align: center; text-shadow: 0 1px 5px #000; }
.preview-settings { padding: 16px 12px; display: grid; align-content: start; gap: 9px; border-left: 1px solid #e9e9e9; }
.preview-step { padding: 8px; display: grid; grid-template-columns: 22px 1fr auto; gap: 7px; align-items: center; border: 1px solid #ececec; border-radius: 9px; }
.preview-step b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #818181; background: #f2f2f2; font-size: 7px; }
.preview-step span { display: grid; gap: 3px; color: #404040; font-size: 8px; font-weight: 700; }
.preview-step small { color: #9d9d9d; font-size: 6px; font-weight: 500; }
.preview-step em { color: var(--brand); font-size: 8px; font-style: normal; }
.preview-step.is-current { border-color: rgba(52,52,52,.28); background: var(--brand-pale); }
.preview-step.is-current b { color: #fff; background: var(--brand); }
.mini-script { margin-top: 3px; padding: 10px; border-radius: 9px; background: #f5f5f5; }
.mini-script label { color: #7e7e7e; font-size: 7px; }
.mini-script p { margin: 6px 0 0; color: #535353; font-size: 7px; line-height: 1.55; }
.preview-submit { min-height: 31px; border-radius: 8px; color: #fff; background: var(--ink); font-size: 8px; font-weight: 700; }
.result-chip { position: absolute; z-index: 4; min-width: 145px; padding: 11px 13px; display: grid; gap: 3px; border: 1px solid #e4e4e4; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 15px 32px rgba(37,37,37,.1); backdrop-filter: blur(12px); }
.result-chip b { font-size: 9px; }
.result-chip span { color: #898989; font-size: 7px; }
.result-chip-a { top: 22%; right: -25px; }
.result-chip-b { left: -28px; bottom: 10%; }

.trust-strip { min-height: 84px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; border-block: 1px solid var(--line); color: #828282; background: #f2f2f2; font-size: 12px; }
.trust-strip span { color: #a4a4a4; }
.trust-strip b { color: #595959; font-weight: 650; }
.section { padding-block: 112px; }
.section-heading { margin-bottom: 44px; display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 70px; align-items: end; }
.section-heading h2, .scene-copy h2, .security-card h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.18; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.section-heading-compact { grid-template-columns: 1fr; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product-card { position: relative; min-height: 530px; padding: 32px; display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.product-card-dark { border-color: transparent; color: #fff; background: var(--dark); }
.product-number { color: #a6aaa7; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.product-card-dark .product-number { color: #666e6b; }
.product-copy { position: relative; z-index: 3; max-width: 380px; }
.product-tag { display: inline-flex; margin-top: 28px; padding: 7px 10px; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-size: 10px; font-weight: 750; }
.product-card-dark .product-tag { color: #bcbcbc; background: rgba(110,110,110,.13); }
.product-copy h3 { margin: 19px 0 0; font-size: 30px; letter-spacing: -.035em; }
.product-copy > p { margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.product-card-dark .product-copy > p { color: #9fa6a4; }
.product-copy ul { margin: 19px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; color: #6c6c6c; font-size: 11px; }
.product-card-dark .product-copy ul { color: #9ca3a1; }
.product-copy li::before { content: "·"; margin-right: 8px; color: var(--brand); font-weight: 900; }
.product-copy a { margin-top: 25px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 750; }
.product-copy a span { font-size: 18px; }
.product-visual { position: absolute; right: 25px; bottom: 25px; width: 225px; height: 210px; }
.face-frame { position: absolute; right: 0; bottom: 0; width: 126px; aspect-ratio: 9/14; overflow: hidden; border: 4px solid #2d2d2d; border-radius: 18px; transform: rotate(3deg); }
.face-frame img { width: 100%; height: 100%; object-fit: cover; }
.audio-track { position: absolute; left: 0; right: 76px; bottom: 31px; height: 49px; padding: 0 12px; display: flex; align-items: center; gap: 4px; border: 1px solid #3a3a3a; border-radius: 10px; background: #252525; transform: rotate(-3deg); }
.audio-track i { width: 3px; border-radius: 999px; background: #808080; }
.audio-track i:nth-child(3n+1) { height: 10px; }.audio-track i:nth-child(3n+2) { height: 24px; }.audio-track i:nth-child(3n) { height: 17px; }
.lipsync-visual > span { position: absolute; left: 10px; bottom: 91px; color: #7f8885; font-size: 9px; }
.avatar-card { position: absolute; width: 118px; aspect-ratio: 9/13; overflow: hidden; border: 5px solid #fff; border-radius: 18px; background: #e1e1e1; box-shadow: 0 18px 35px rgba(28,28,28,.12); }
.avatar-card img { width: 100%; height: 100%; object-fit: cover; }
.avatar-card span { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; border-radius: 6px; color: #fff; background: rgba(18,18,18,.68); font-size: 8px; }
.avatar-card-back { right: 82px; bottom: 20px; display: grid; place-items: center; transform: rotate(-7deg); }
.avatar-card-back span { position: static; color: #767b7a; background: transparent; }
.avatar-card-front { right: 0; bottom: 0; transform: rotate(5deg); }
.script-chip { position: absolute; left: 0; bottom: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: #4d5452; background: #fff; font-size: 9px; font-weight: 700; box-shadow: 0 12px 26px rgba(28,28,28,.09); }
.section-tinted { border-block: 1px solid var(--line); background: #f1f1f1; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { padding: 28px; border: 1px solid #e0e0e0; border-radius: 18px; background: rgba(255,255,255,.54); }
.steps-grid b { color: var(--brand); font-size: 11px; letter-spacing: .12em; }
.steps-grid h3 { margin: 36px 0 0; font-size: 20px; }
.steps-grid p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.scene-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.scene-copy > p:last-child { max-width: 450px; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.scene-list { display: grid; border-top: 1px solid var(--line-dark); }
.scene-list article { padding: 24px 0; display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-bottom: 1px solid var(--line-dark); }
.scene-list > article > span { color: #a2a6a2; font-size: 10px; font-weight: 800; }
.scene-list h3 { margin: 0; font-size: 18px; }
.scene-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.security-section { padding-top: 0; }
.security-card { min-height: 330px; padding: 54px; display: grid; grid-template-columns: 1fr .7fr auto; gap: 55px; align-items: center; border-radius: 28px; color: #fff; background: var(--ink); }
.eyebrow-light { color: #9f9f9f; }
.security-card > div > p:last-child { max-width: 570px; margin: 20px 0 0; color: #acacac; font-size: 14px; line-height: 1.75; }
.security-card ul { margin: 0; padding: 0; display: grid; gap: 16px; list-style: none; color: #c7c7c7; font-size: 12px; }
.security-card li { display: flex; align-items: center; gap: 10px; }
.security-card li i { color: #a0a0a0; font-style: normal; }
.button-white { min-width: 150px; background: #fff; color: var(--ink); }
.site-footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.site-footer p { color: var(--muted); font-size: 12px; text-align: center; }
.footer-meta { display: grid; gap: 8px; color: #9f9f9f; font-size: 10px; text-align: right; }
.icp-filing { color: var(--muted); font-size: 12px; text-decoration: none; }
.icp-filing:hover { text-decoration: underline; }

/* Studio */
.studio-page { height: 100vh; overflow: hidden; background: #f5f5f5; }
.studio-header { position: fixed; z-index: 20; inset: 0 0 auto 0; height: 70px; padding: 0 22px; display: grid; grid-template-columns: 245px 1fr auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); background: #fff; }
.studio-header-center { display: flex; align-items: center; justify-content: center; gap: 22px; color: #8e8e8e; font-size: 14px; }
.service-online { display: flex; align-items: center; gap: 8px; color: #5f5f5f; }
.studio-account { display: flex; align-items: center; gap: 8px; }
.balance-button { min-height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f9f9f9; }
.balance-button span { color: #8d8d8d; font-size: 14px; }
.balance-button strong { font-size: 14px; }
.task-button { min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #5a5a5a; font-size: 14px; }
.task-button b { margin-left: 6px; padding: 2px 6px; border-radius: 999px; color: #fff; background: var(--brand); font-size: 14px; }
.avatar-button { width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--ink); font-size: 14px; }
.studio-shell { height: 100vh; padding-top: 70px; display: grid; grid-template-columns: 216px minmax(0,1fr); }
.studio-sidebar { min-height: 0; padding: 20px 13px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #f9f9f9; }
.studio-sidebar nav { display: grid; gap: 5px; }
.studio-sidebar nav a, .nav-item { width: 100%; min-height: 43px; padding: 0 12px; display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; border-radius: 10px; color: #727272; background: transparent; font-size: 14px; text-align: left; }
.studio-sidebar nav i { color: #9d9d9d; font-size: 14px; font-style: normal; text-align: center; }
.studio-sidebar nav .is-active { color: #fff; background: var(--ink); }
.studio-sidebar nav .is-active i { color: #bababa; }
.studio-sidebar nav em { padding: 3px 5px; border-radius: 4px; color: var(--brand); background: var(--brand-soft); font-size: 14px; font-style: normal; font-weight: 800; }
.sidebar-help { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sidebar-help strong { font-size: 14px; }
.sidebar-help p { margin: 6px 0 10px; color: #8e8e8e; font-size: 14px; line-height: 1.5; }
.sidebar-help a { color: var(--brand); font-size: 14px; font-weight: 750; }
.back-site { margin-top: 11px; padding: 10px 13px; color: #898989; font-size: 14px; }
.studio-main { min-width: 0; min-height: 0; padding: 27px 30px 48px; overflow: auto; }
.prototype-banner { margin-bottom: 18px; padding: 11px 14px; display: flex; gap: 10px; align-items: center; border: 1px solid #d8d8d8; border-radius: 10px; color: #4b4b4b; background: #ededed; font-size: 14px; }
.prototype-banner strong { color: var(--brand-dark); }
.studio-titlebar { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.breadcrumb { margin: 0 0 10px; color: #9c9c9c; font-size: 14px; }
.breadcrumb span { color: var(--brand); }
.studio-titlebar h1 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.studio-titlebar > div:first-child > p:last-child { margin: 8px 0 0; color: #828282; font-size: 14px; }
.title-actions { display: flex; gap: 8px; }
.plain-action { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #6b6b6b; font-size: 14px; }
.creation-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(310px, .92fr) minmax(250px, .78fr) minmax(300px, .9fr); gap: 15px; align-items: stretch; }
.creation-panel { min-width: 0; min-height: 560px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.input-panel { display: flex; flex-direction: column; }
.stepper { margin: 0 0 17px; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); list-style: none; }
.stepper li { position: relative; display: flex; align-items: center; gap: 7px; color: #9d9d9d; font-size: 14px; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; right: 8px; width: 25%; height: 1px; background: #dcdcdc; }
.stepper b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #8e8e8e; background: #f1f1f1; font-size: 14px; }
.stepper .is-current { color: var(--ink); font-weight: 700; }
.stepper .is-current b { color: #fff; background: var(--brand); }
.mode-tabs { padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; background: #f2f2f2; }
.mode-tabs button, .mode-tabs a { min-height: 37px; display: grid; place-items: center; border-radius: 8px; color: #7f7f7f; background: transparent; font-size: 14px; font-weight: 650; }
.mode-tabs button.is-active, .mode-tabs a.is-active { color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(28,28,28,.07); }
.upload-area { min-height: 330px; margin-top: 14px; padding: 35px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #d5d5d5; border-radius: 12px; background: #fbfbfb; text-align: center; }
.upload-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; background: #fff; color: var(--brand); font-size: 22px; }
.upload-area h2 { margin: 17px 0 0; font-size: 15px; }
.upload-area p { margin: 8px 0 0; color: #8f8f8f; font-size: 14px; }
.upload-area button { min-height: 36px; margin-top: 19px; padding: 0 17px; border-radius: 8px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 700; }
.upload-area small { margin-top: 13px; color: #a4a4a4; font-size: 14px; }
.avatar-picker { min-height: 330px; margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbfb; }
.picker-heading { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.picker-heading h2 { margin: 0; font-size: 14px; }
.picker-heading p { margin: 5px 0 0; color: #969696; font-size: 14px; }
.picker-heading button { color: var(--brand); background: transparent; font-size: 14px; font-weight: 700; }
.avatar-options { margin-top: 17px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.avatar-option { position: relative; min-width: 0; aspect-ratio: .7; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.avatar-option img { width: 100%; height: 70%; object-fit: cover; }
.avatar-option > span { padding: 7px; display: grid; gap: 2px; text-align: left; }
.avatar-option b { font-size: 14px; }.avatar-option small { color: #9c9c9c; font-size: 14px; }
.avatar-option > i { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 14px; font-style: normal; }
.avatar-option.is-selected { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(52,52,52,.1); }
.avatar-placeholder { padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #7a7a7a; background: #f2f2f2; font-size: 14px; }
.material-note { margin-top: 12px; padding: 11px; display: flex; gap: 10px; border-radius: 10px; background: var(--brand-pale); }
.material-note > i { width: 19px; height: 19px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--brand); font-size: 14px; font-style: normal; }
.material-note p { margin: 0; display: grid; gap: 3px; }
.material-note strong { color: #4f4f4f; font-size: 14px; }
.material-note span { color: #7c7c7c; font-size: 14px; line-height: 1.5; }
.preview-panel { display: flex; flex-direction: column; background: #1e1e1e; border-color: #1e1e1e; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.panel-heading > div { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.panel-heading small { padding: 4px 6px; border-radius: 5px; color: #a6acab; background: #2d2d2d; font-size: 14px; }
.panel-heading button { color: #949b9a; background: transparent; font-size: 14px; }
.video-canvas { flex: 1; min-height: 420px; margin-top: 15px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #131313; }
.canvas-empty { display: grid; place-items: center; gap: 11px; color: #767676; }
.canvas-empty span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #343434; border-radius: 50%; font-size: 17px; }
.canvas-empty p { margin: 0; font-size: 14px; }
.canvas-person { position: relative; width: 100%; height: 100%; }
.canvas-person img { width: 100%; height: 100%; object-fit: cover; }
.canvas-person span { position: absolute; left: 10px; bottom: 10px; padding: 5px 7px; border-radius: 5px; color: #fff; background: rgba(0,0,0,.55); font-size: 14px; }
.canvas-tools { min-height: 36px; margin-top: 10px; display: flex; align-items: center; gap: 5px; }
.canvas-tools button { padding: 6px 8px; border-radius: 6px; color: #a2a2a2; background: #2b2b2b; font-size: 14px; }
.canvas-tools span { margin-left: auto; color: #777e7d; font-size: 14px; }
.settings-panel { display: flex; flex-direction: column; }
.settings-heading { display: flex; justify-content: space-between; align-items: center; }
.settings-heading h2 { margin: 0; font-size: 14px; }
.settings-heading span { color: #9c9c9c; font-size: 14px; }
.setting-block { margin-top: 16px; }
.setting-block > label, .label-row label { display: block; margin-bottom: 8px; color: #646464; font-size: 14px; font-weight: 700; }
.segmented { padding: 3px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; background: #f2f2f2; }
.segmented button { min-height: 32px; border-radius: 6px; color: #878787; background: transparent; font-size: 14px; }
.segmented button.is-active { color: var(--ink); background: #fff; box-shadow: 0 2px 7px rgba(28,28,28,.06); }
.label-row { display: flex; justify-content: space-between; }
.label-row span { color: #a4a4a4; font-size: 14px; }
.settings-panel textarea { width: 100%; height: 92px; padding: 11px; resize: none; border: 1px solid var(--line); border-radius: 9px; color: #4f4f4f; background: #fbfbfb; font-size: 14px; line-height: 1.65; outline: 0; }
.settings-panel textarea:focus { border-color: rgba(52,52,52,.45); }
.text-tools { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; }
.text-tools button { color: var(--brand); background: transparent; font-size: 14px; font-weight: 700; }
.text-tools span { color: #a4a4a4; font-size: 14px; }
.voice-select { width: 100%; padding: 9px; display: grid; grid-template-columns: 31px 1fr auto auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; }
.voice-avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 14px; font-weight: 800; }
.voice-select > span:nth-child(2) { display: grid; gap: 3px; }
.voice-select b { font-size: 14px; }.voice-select small { color: #9d9d9d; font-size: 14px; }
.voice-select i { color: var(--brand); font-size: 14px; font-style: normal; }.voice-select em { color: #9c9c9c; font-style: normal; }
.advanced-row { margin-top: 15px; padding: 10px 0; display: flex; justify-content: space-between; border-block: 1px solid var(--line); color: #818181; font-size: 14px; }
.estimate-box { margin-top: 13px; padding: 11px; display: grid; gap: 8px; border-radius: 10px; background: #f6f6f6; }
.estimate-box div { display: flex; justify-content: space-between; color: #818181; font-size: 14px; }.estimate-box b { color: var(--ink); font-size: 14px; }
.estimate-box small { color: #a5a5a5; font-size: 14px; }
.consent { margin-top: 12px; display: flex; gap: 7px; align-items: start; color: #797979; font-size: 14px; line-height: 1.5; }
.consent input { accent-color: var(--brand); }
.generate-button { min-height: 40px; margin-top: 13px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 750; }
.submit-note { margin: 7px 0 0; color: #a3a3a3; font-size: 14px; text-align: center; }
.recent-tasks { margin-top: 17px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.recent-heading { display: flex; justify-content: space-between; align-items: center; }
.recent-heading > div { display: flex; align-items: baseline; gap: 10px; }.recent-heading h2 { margin: 0; font-size: 14px; }.recent-heading span { color: #a3a3a3; font-size: 14px; }
.recent-heading button { color: var(--brand); background: transparent; font-size: 14px; font-weight: 700; }
.task-list { margin-top: 12px; display: grid; }
.task-list article { min-height: 62px; padding: 9px 0; display: grid; grid-template-columns: 48px 1fr auto auto auto; gap: 11px; align-items: center; border-top: 1px solid #ececec; }
.task-thumb { width: 42px; height: 42px; overflow: hidden; border-radius: 8px; background: #ececec; }.task-thumb img { width: 100%; height: 100%; object-fit: cover; }
.task-thumb-empty { display: grid; place-items: center; color: #9a9a9a; font-size: 14px; }
.task-list h3 { margin: 0; font-size: 14px; }.task-list p { margin: 5px 0 0; color: #9c9c9c; font-size: 14px; }
.task-state { padding: 5px 7px; border-radius: 999px; font-size: 14px; font-weight: 700; }.state-success { color: var(--success); background: #e8e8e8; }.state-progress { color: var(--warning); background: #f5eee1; }
.task-list article > button { min-height: 29px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #6c6c6c; font-size: 14px; }.task-list button:disabled { color: #c2c2c2; background: #f9f9f9; cursor: not-allowed; }

/* Multi-scene video generation */
.video-studio-main { padding-bottom: 70px; }
.video-titlebar h1 { max-width: 760px; }
.video-workspace-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(360px, 430px) minmax(420px, 1fr) minmax(210px, 240px); gap: 14px; align-items: start; }
.video-config-column { display: grid; gap: 13px; }
.current-skill-card { min-height: 75px; padding: 12px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.skill-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--ink); font-size: 16px; font-weight: 800; }
.current-skill-card > div:nth-child(2) { display: grid; gap: 3px; }
.current-skill-card small { color: #9d9d9d; font-size: 14px; }
.current-skill-card strong { font-size: 14px; }
.current-skill-card span { color: #818181; font-size: 14px; }
.current-skill-card > b { padding: 4px 7px; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-size: 14px; }
.scene-picker-card, .material-composer, .director-center-panel, .video-task-panel { border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.scene-picker-card, .material-composer { padding: 15px; }
.section-mini-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.section-mini-heading h2 { margin: 0; font-size: 14px; }
.section-mini-heading p { margin: 4px 0 0; color: #969696; font-size: 14px; }
.section-mini-heading button { color: var(--brand); background: transparent; font-size: 14px; }
.scene-tabs { margin-top: 14px; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.scene-tabs button { min-width: max-content; padding: 0 8px 10px; color: #878787; background: transparent; font-size: 14px; font-weight: 650; border-bottom: 2px solid transparent; }
.scene-tabs button.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.method-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.method-card { min-height: 69px; padding: 9px; display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fcfcfc; text-align: left; }
.method-card > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #78807d; background: #f1f1f1; font-size: 14px; }
.method-card > div { display: grid; gap: 4px; }
.method-card strong { font-size: 14px; }
.method-card small { color: #9a9a9a; font-size: 14px; line-height: 1.4; }
.method-card em { color: #a6a6a6; font-size: 14px; font-style: normal; }
.method-card.is-selected { border-color: var(--ink); background: #fff; box-shadow: 0 3px 12px rgba(21,21,21,.06); }
.method-card.is-selected > span { color: #fff; background: var(--brand); }
.method-card.is-selected em { color: var(--brand); font-weight: 800; }
.composer-heading, .composer-heading > div:first-child { display: flex; align-items: center; gap: 10px; }
.composer-heading { justify-content: space-between; }
.composer-heading > div:first-child > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 14px; font-weight: 800; }
.composer-heading h2 { margin: 0; font-size: 14px; }
.composer-heading p { margin: 4px 0 0; color: #9a9a9a; font-size: 14px; }
.composer-heading > b { padding: 4px 7px; border-radius: 999px; color: #8d7040; background: #f4eee2; font-size: 14px; }
.material-upload-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.material-upload-grid button { min-height: 86px; padding: 9px 5px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px dashed #d5d5d5; border-radius: 10px; color: #606060; background: #fbfbfb; }
.material-upload-grid i { color: var(--brand); font-size: 15px; font-style: normal; }
.material-upload-grid strong { font-size: 14px; }
.material-upload-grid small { color: #a4a4a4; font-size: 14px; }
.truth-field { margin-top: 12px; display: grid; gap: 6px; color: #6a6a6a; font-size: 14px; font-weight: 700; }
.truth-field input, .truth-field textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fbfbfb; color: var(--ink); font-size: 14px; outline: 0; }
.truth-field textarea { height: 65px; resize: vertical; line-height: 1.5; }
.truth-field input:focus, .truth-field textarea:focus { border-color: rgba(52,52,52,.45); }
.composer-options { margin-top: 12px; display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.composer-options > div { display: grid; gap: 6px; }
.composer-options label { color: #6a6a6a; font-size: 14px; font-weight: 700; }
.duration-switch { padding: 3px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; background: #f2f2f2; }
.duration-switch button, .select-like { min-height: 31px; border-radius: 6px; color: #7c7c7c; background: transparent; font-size: 14px; }
.duration-switch button.is-active { color: var(--ink); background: #fff; box-shadow: 0 2px 7px rgba(28,28,28,.06); }
.select-like { border: 1px solid var(--line); background: #fff; }
.director-submit { width: 100%; min-height: 40px; margin-top: 14px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 750; }
.cost-hint { margin: 8px 0 0; color: #9d9d9d; font-size: 14px; line-height: 1.5; text-align: center; }
.director-center-panel { min-height: 825px; overflow: hidden; }
.director-panel-top { min-height: 52px; padding: 0 17px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.director-panel-top > div { display: flex; gap: 6px; }
.director-panel-top button { padding: 8px 10px; border-radius: 7px; color: #898989; background: transparent; font-size: 14px; }
.director-panel-top button.is-active { color: var(--ink); background: #f2f2f2; font-weight: 750; }
.director-panel-top > span { color: #939393; font-size: 14px; }
.director-empty { min-height: 390px; padding: 58px 42px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(180deg, #fcfcfc 0%, #f5f5f5 100%); }
.director-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #d8d8d8; border-radius: 14px; color: var(--brand); background: #fff; font-size: 20px; box-shadow: 0 10px 24px rgba(35,35,35,.06); }
.director-empty h2 { margin: 18px 0 0; font-size: 20px; letter-spacing: -.02em; }
.director-empty > p { max-width: 460px; margin: 9px 0 0; color: #818181; font-size: 14px; line-height: 1.7; }
.director-flow { width: min(100%, 520px); margin-top: 28px; display: grid; gap: 8px; text-align: left; }
.director-flow article { min-height: 57px; padding: 10px 12px; display: grid; grid-template-columns: 27px 1fr; gap: 10px; align-items: center; border: 1px solid #e4e4e4; border-radius: 10px; background: rgba(255,255,255,.7); }
.director-flow article > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 14px; }
.director-flow article > div { display: grid; gap: 4px; }
.director-flow strong { font-size: 14px; }
.director-flow span { color: #949494; font-size: 14px; }
.storyboard-example { padding: 18px; border-top: 1px solid var(--line); }
.storyboard-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.storyboard-heading small { color: var(--brand); font-size: 14px; font-weight: 700; }
.storyboard-heading h3 { margin: 4px 0 0; font-size: 14px; }
.storyboard-heading button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: #6f6f6f; background: #fff; font-size: 14px; }
.storyboard-timeline { margin-top: 13px; display: grid; gap: 7px; }
.storyboard-timeline article { padding: 10px; display: grid; grid-template-columns: 42px 74px 1fr; gap: 8px; align-items: center; border-radius: 9px; background: #f7f7f7; }
.storyboard-timeline span { color: var(--brand); font-size: 14px; font-weight: 800; }
.storyboard-timeline b { font-size: 14px; }
.storyboard-timeline p { margin: 0; color: #8a8a8a; font-size: 14px; line-height: 1.45; }
.video-task-panel { min-height: 500px; padding: 14px; }
.task-panel-heading, .task-panel-heading > div { display: flex; justify-content: space-between; align-items: center; }
.task-panel-heading > div { gap: 7px; }
.task-panel-heading h2 { margin: 0; font-size: 14px; }
.task-panel-heading span { padding: 3px 5px; border-radius: 5px; color: var(--brand); background: var(--brand-soft); font-size: 14px; }
.task-panel-heading button { color: #9c9c9c; background: transparent; font-size: 14px; }
.queue-list { margin-top: 13px; display: grid; gap: 8px; }
.queue-list > button { min-height: 67px; padding: 8px; display: grid; grid-template-columns: 39px 1fr auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fbfbfb; text-align: left; }
.queue-list > button.is-current { border-color: rgba(52,52,52,.42); background: var(--brand-pale); }
.queue-icon, .queue-thumb { width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; color: #8f8f8f; background: #ececec; font-size: 14px; }
.queue-thumb img { width: 100%; height: 100%; object-fit: cover; }
.queue-list > button > span:nth-child(2) { display: grid; gap: 5px; }
.queue-list b { font-size: 14px; }
.queue-list small { color: #9c9c9c; font-size: 14px; }
.queue-list em { color: var(--brand); font-size: 14px; font-style: normal; }
.supplier-note { margin-top: 18px; padding: 13px; border-radius: 10px; background: #f2f2f2; }
.supplier-note strong { font-size: 14px; }
.supplier-note p { margin: 7px 0 0; color: #8a8a8a; font-size: 14px; line-height: 1.6; }
.demo-toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; max-width: min(90vw, 480px); padding: 11px 15px; border-radius: 10px; color: #fff; background: rgba(25,25,25,.94); font-size: 14px; line-height: 1.5; box-shadow: 0 16px 38px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s ease, transform .2s ease; }
.demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 720px; }
  .hero-product { max-width: 720px; }
  .result-chip-a { right: 10px; }.result-chip-b { left: 10px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .scene-layout { gap: 55px; }
  .security-card { grid-template-columns: 1fr 1fr; }
  .security-card .button { grid-column: 1 / -1; justify-self: start; }
  .creation-grid { grid-template-columns: 1fr 1fr; }
  .settings-panel { grid-column: 1 / -1; min-height: auto; }
  .studio-page { height: auto; overflow: auto; }
  .studio-shell { height: auto; min-height: 100vh; }
  .studio-main { overflow: visible; }
  .video-workspace-grid { grid-template-columns: minmax(340px, .8fr) minmax(420px, 1.2fr); }
  .video-task-panel { grid-column: 1 / -1; min-height: auto; }
  .queue-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 66px; padding-inline: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 13px; }
  .text-button { display: none; }
  .button-small { min-height: 38px; padding-inline: 13px; }
  .hero { min-height: auto; padding: 66px 0; gap: 52px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-lead { font-size: 15px; }
  .preview-window { transform: none; }
  .preview-layout { grid-template-columns: 72px 1fr; }
  .preview-settings { display: none; }
  .result-chip { display: none; }
  .trust-strip { padding-block: 22px; gap: 16px 25px; }
  .section { padding-block: 75px; }
  .product-grid, .steps-grid, .scene-layout { grid-template-columns: 1fr; }
  .product-card { min-height: 560px; }
  .product-visual { opacity: .72; }
  .security-card { width: calc(100% - 28px); padding: 34px 25px; grid-template-columns: 1fr; gap: 28px; }
  .security-card .button { grid-column: auto; }
  .site-footer { min-height: 220px; padding-block: 30px; grid-template-columns: 1fr; gap: 13px; justify-items: center; text-align: center; }
  .footer-meta { text-align: center; }
  .studio-header { position: static; height: auto; min-height: 66px; padding: 10px 14px; grid-template-columns: 1fr auto; }
  .studio-header-center { display: none; }
  .balance-button { display: none; }
  .studio-shell { padding-top: 0; grid-template-columns: 1fr; }
  .studio-sidebar { min-height: auto; padding: 10px 12px; display: block; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-sidebar nav { display: flex; min-width: max-content; }
  .studio-sidebar nav a, .nav-item { width: auto; grid-template-columns: 20px auto auto; }
  .sidebar-help, .back-site { display: none; }
  .studio-main { padding: 22px 14px 36px; }
  .prototype-banner { align-items: flex-start; flex-direction: column; gap: 4px; line-height: 1.5; }
  .title-actions { display: none; }
  .creation-grid { grid-template-columns: 1fr; }
  .settings-panel { grid-column: auto; }
  .task-list article { grid-template-columns: 42px 1fr auto; }
  .task-list article > button { display: none; }
  .video-titlebar h1 { font-size: 24px; }
  .video-workspace-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .director-center-panel { min-height: auto; }
  .director-empty { min-height: auto; padding: 42px 20px 28px; }
  .storyboard-timeline article { grid-template-columns: 39px 68px 1fr; }
  .video-task-panel { grid-column: auto; }
  .queue-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Lipsync: video → voice → preview; DOM and visual reading order agree. */
[hidden] { display: none !important; }
.lipsync-page .studio-shell { grid-template-columns: 184px minmax(0, 1fr); }
.lipsync-page .studio-main { padding: 24px; }
.lipsync-page .studio-sidebar nav a { font-size: 14px; }
.lipsync-page .prototype-banner { color: #717171; background: #f3f3f3; border-color: #e5e5e5; font-size: 14px; }
.lipsync-page .prototype-banner strong { color: #515151; }
.lipsync-page .studio-titlebar > div:first-child > p:last-child { font-size: 14px; line-height: 1.6; }
.lipsync-page .breadcrumb { font-size: 14px; }
.lipsync-page .creation-grid { grid-template-columns: minmax(0,.94fr) minmax(0,1.08fr) minmax(0,1fr); gap: 18px; margin-top: 22px; }
.lipsync-page .creation-panel { padding: 22px; min-height: 580px; border-radius: 16px; box-shadow: 0 3px 12px rgba(40,40,40,.025); }
.ls-panel-heading { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.ls-panel-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.ls-panel-heading p { margin: 5px 0 0; color: #808080; font-size: 14px; line-height: 1.5; }
.ls-step { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; background: #f3f3f3; border: 1px solid #e7e7e7; border-radius: 9px; color: #6f6f6f; font-size: 14px; font-weight: 750; }
.lipsync-page .upload-area { margin-top: 24px; min-height: 270px; padding: 24px 14px; border-color: #d7d7d7; background: #fbfbfb; transition: border-color .15s, background .15s; }
.lipsync-page .upload-area.is-dragging { background: #eeeeee; border-color: var(--brand); }
.lipsync-page .upload-icon { width: 44px; height: 44px; border-radius: 12px; }
.lipsync-page .upload-area h3 { font-size: 15px; margin: 16px 0 0; }
.lipsync-page .upload-area p { font-size: 14px; color: #808080; line-height: 1.6; }
.lipsync-page .upload-area button { font-size: 14px; min-height: 40px; margin-top: 18px; }
.lipsync-page .upload-area small { font-size: 14px; color: #868686; line-height: 1.6; }
.ls-tips { padding: 24px 0; }
.ls-tips h3 { margin: 0 0 12px; font-size: 14px; font-weight: 650; }
.ls-tips ul { padding-left: 16px; margin: 0; display: grid; gap: 9px; color: #808080; font-size: 14px; line-height: 1.5; }
.lipsync-page .material-note { margin-top: auto; background: #f7f7f7; }
.lipsync-page .material-note strong { font-size: 14px; color: #646464; }
.lipsync-page .material-note span { font-size: 14px; color: #808080; }
.lipsync-page .material-note > i { background: #828282; }
.lipsync-page .settings-panel { grid-column: auto; }
.ls-audio-tabs { margin-top: 24px; }
.lipsync-page .segmented button { min-height: 39px; font-size: 14px; }
.lipsync-page .setting-block { margin-top: 20px; }
.lipsync-page .setting-block > label, .lipsync-page .label-row label { font-size: 14px; color: #606060; }
.lipsync-page .label-row span { font-size: 14px; color: #8e8e8e; }
.lipsync-page .settings-panel textarea { height: 145px; padding: 13px; font-size: 14px; line-height: 1.8; background: #fbfbfb; resize: vertical; }
.lipsync-page .voice-select { min-height: 60px; padding: 11px; grid-template-columns: 32px 1fr auto auto; }
.lipsync-page .voice-select b { font-size: 14px; }
.lipsync-page .voice-select small { font-size: 14px; color: #8e8e8e; font-weight: 400; }
.lipsync-page .voice-select i { font-size: 14px; }
.lipsync-page .advanced-row { font-size: 14px; padding: 14px 0; color: #808080; }
.ls-submit-area { margin-top: auto; padding-top: 12px; }
.lipsync-page .estimate-box { margin-top: 0; background: #f7f7f7; padding: 12px; }
.lipsync-page .estimate-box div, .lipsync-page .estimate-box b { font-size: 14px; }
.lipsync-page .estimate-box small { font-size: 14px; color: #8e8e8e; }
.lipsync-page .consent { font-size: 14px; align-items: center; color: #808080; }
.lipsync-page .generate-button { width: 100%; min-height: 44px; font-size: 14px; }
.lipsync-page .generate-button span { margin-left: 5px; color: #c0c0c0; font-size: 14px; font-weight: 400; }
.lipsync-page .submit-note { font-size: 14px; line-height: 1.6; }
.lipsync-page .preview-panel { background: #fff; border-color: var(--line); }
.ls-preview-caption { display: flex; justify-content: space-between; margin: 24px 0 10px; font-size: 14px; color: #808080; }
.lipsync-page .video-canvas { flex: 1; margin: 0; min-height: 340px; background: #f3f3f3; border: 1px solid #e7e7e7; position: relative; }
.lipsync-page .canvas-empty { padding: 24px 12px; text-align: center; color: #8e8e8e; }
.lipsync-page .canvas-empty > span { border-color: #dadada; color: #999999; border-radius: 12px; }
.lipsync-page .canvas-empty strong { font-size: 14px; color: #717171; }
.lipsync-page .canvas-empty p { font-size: 14px; line-height: 1.7; }
#video-player { position: absolute; width: 100%; height: 100%; object-fit: contain; background: #161616; }
.ls-preview-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 14px; color: #808080; }
.ls-preview-note { font-size: 14px; color: #8e8e8e; line-height: 1.6; margin: 12px 0 0; }
.ls-file-info { padding: 12px 0; display: grid; gap: 8px; overflow-wrap: anywhere; font-size: 14px; color: #808080; }
.ls-file-info strong { font-size: 14px; color: #5a5a5a; }
.ls-file-info button { justify-self: start; color: var(--brand); background: transparent; font-size: 14px; padding: 4px 0; }
.ls-file-info audio { width: 100%; }
.lipsync-page .ls-audio-drop { min-height: 240px; margin-top: 20px; }
.lipsync-page .recent-heading h2 { font-size: 14px; }
.lipsync-page .recent-heading span, .lipsync-page .recent-heading button { font-size: 14px; }
.lipsync-page .task-list h3 { font-size: 14px; }
.lipsync-page .task-list p, .lipsync-page .task-state, .lipsync-page .task-list article > button { font-size: 14px; }
@media (min-width: 761px) and (max-width: 1199px) {
  .lipsync-page .studio-shell { grid-template-columns: 150px minmax(0,1fr); }
  .lipsync-page .studio-sidebar { padding-inline: 8px; }
  .lipsync-page .studio-sidebar nav a { padding-inline: 8px; font-size: 14px; gap: 4px; }
  .lipsync-page .studio-main { padding: 18px; }
  .lipsync-page .creation-grid { gap: 12px; }
  .lipsync-page .creation-panel { padding: 16px; }
  .lipsync-page .ls-panel-heading { align-items: flex-start; }
  .lipsync-page .ls-panel-heading h2 { font-size: 15px; }
  .lipsync-page .ls-panel-heading p { font-size: 14px; }
}
@media (min-width: 761px) and (max-width: 979px) {
  .lipsync-page .creation-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); }
  .lipsync-page .preview-panel { grid-column: 1 / -1; min-height: 500px; }
}
@media (max-width: 760px) {
  .lipsync-page .studio-shell { grid-template-columns: minmax(0,1fr); }
  .lipsync-page .studio-main { padding: 20px 14px; }
  .lipsync-page .creation-grid { grid-template-columns: minmax(0,1fr); }
  .lipsync-page .creation-panel { padding: 20px; min-height: auto; }
  .lipsync-page .preview-panel { min-height: 540px; }
  .lipsync-page .studio-titlebar h1 { font-size: 25px; }
  .lipsync-page .recent-heading > div { display: grid; gap: 5px; }
}
