/* 万星门店工作台 · 各页面样式 */

/* ---------- 登录 ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.login-art { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 56px; background: var(--bg-2); border-right: 1px solid var(--line); }
.login-art::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--line-2); box-shadow: 0 0 0 60px rgba(217,119,87,.05), 0 0 0 120px rgba(217,119,87,.03); pointer-events: none; }
.login-copy { margin: auto 0; max-width: 480px; }
.login-copy h1 { font-family: var(--serif); font-weight: 600; font-size: 42px; line-height: 1.25; letter-spacing: -.01em; }
.login-copy p { margin-top: 16px; color: var(--text-2); font-size: 16px; }
.login-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.login-copy li { display: flex; gap: 10px; align-items: center; color: var(--text-2); font-size: 14.5px; }
.login-copy li .ic { color: var(--accent); }
.login-foot { font-size: 13px; color: var(--text-3); }
.login-form { display: grid; place-items: center; padding: 40px 24px; }
.login-box { width: 100%; max-width: 400px; }
.login-box h2 { font-size: 26px; font-weight: 600; font-family: var(--serif); }
.login-box > p { margin-top: 6px; font-size: 14px; }
.m-brand { display: none; }
.or { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; font-size: 13px; color: var(--text-3); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-accts { display: flex; flex-direction: column; gap: 10px; }
.acct { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.acct > div { flex: 1; }
.acct b { display: block; font-size: 15px; }
.acct > div span { font-size: 13px; color: var(--text-2); }
.acct > .ic { color: var(--text-3); transition: transform .3s var(--spring); }
.acct:hover > .ic { transform: translateX(3px); color: var(--accent); }
.acct.loading { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-form { align-items: start; padding: 48px 20px 32px; }
  .m-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; font-size: 16px; }
  .m-brand .brand-mark { width: 30px; height: 30px; color: var(--accent); }
}

/* ---------- 总览 ---------- */
.src-bars { display: flex; flex-direction: column; gap: 14px; }
.src { display: grid; grid-template-columns: 64px 1fr 28px; align-items: center; gap: 12px; font-size: 13.5px; }
.src .k { color: var(--text-2); }
.src .track, .kb-meter .track { height: 10px; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.src .track i, .kb-meter .track i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--accent); transition: width .8s var(--ease) .2s; }
.src .v { text-align: right; font-size: 16px; }

/* ---------- 任务 ---------- */
.group-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 18px 2px 8px; }
.group-label:first-child { margin-top: 0; }
.group-label span { font-weight: 400; color: var(--text-3); }
.tpl { padding: 18px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.tpl .row { justify-content: space-between; }
.tpl-no { font-size: 22px; color: var(--accent); }
.tpl h3 { font-size: 16px; font-weight: 600; margin: 4px 0 6px; }
.tpl-meta { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.tpl-meta .ic { color: var(--text-3); }
.tpl-new { align-items: center; justify-content: center; color: var(--text-3); border-style: dashed; background: transparent; min-height: 168px; font-size: 14px; }
.tpl-new:hover { color: var(--accent-2); border-color: var(--accent); }
.method-pick, .type-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mp, .tp { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; text-align: left; border-radius: 13px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .3s var(--spring); }
.mp .ic, .tp .ic { color: var(--text-3); margin-bottom: 4px; transition: color .2s; }
.mp b, .tp b { font-size: 14px; font-weight: 600; }
.mp span, .tp span { font-size: 12px; color: var(--text-3); line-height: 1.45; }
.mp:active, .tp:active { transform: scale(.97); }
.mp.on, .tp.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mp.on .ic, .tp.on .ic { color: var(--accent); }
@media (max-width: 520px) { .method-pick, .type-pick { grid-template-columns: 1fr; } .mp, .tp { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 10px; } .mp span, .tp span { width: 100%; padding-left: 32px; margin-top: -4px; } .mp .ic, .tp .ic { margin: 0; } }
.item-row { margin-bottom: 8px; }
.shake { animation: shake .36s; border-color: var(--danger) !important; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.review-list { display: flex; flex-direction: column; gap: 14px; }
.review .card-head { align-items: flex-start; }

/* ---------- 获客 ---------- */
.funnel .stat { text-align: left; width: 100%; }
.funnel .stat .value { font-size: 30px; margin-top: 6px; }
.funnel .stat.sel { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chip .tag { display: inline-flex; }
.timeline { position: relative; padding-left: 4px; }
.tl-i { display: flex; gap: 12px; padding-bottom: 14px; position: relative; font-size: 14px; }
.tl-i > i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.tl-i::before { content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.tl-i:last-child::before { display: none; }
.tl-i .faint { font-size: 12.5px; }
.geo-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; }
.geo-hero h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.35; margin: 12px 0 10px; }
.geo-hero p { max-width: 520px; font-size: 14px; }
.tip { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.tip:first-child { border-top: 0; padding-top: 0; }
.tip .num { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 12.5px; margin-top: 1px; }
@media (max-width: 860px) { .geo-hero { grid-template-columns: 1fr; padding: 20px; } .geo-hero h2 { font-size: 21px; } .geo-score { justify-self: center; } }

/* ---------- AI 创作 ---------- */
.ai-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.ai-form .type-pick { grid-template-columns: 1fr; }
.ai-form .tp { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
.ai-form .tp .ic { margin: 0; }
.ai-form .tp b { min-width: 104px; }
.ai-out { min-height: 420px; position: sticky; top: 24px; overflow: hidden; }
.ai-head { padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.refs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.refs .ic { color: var(--accent); }
.ref { padding: 2px 9px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--text); animation: rise .3s var(--ease) both; }
.ai-text { white-space: pre-wrap; font-size: 15px; line-height: 1.85; min-height: 200px; cursor: text; }
.ai-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 20px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 960px) { .ai-wrap { grid-template-columns: 1fr; } .ai-out { position: static; min-height: 0; scroll-margin-top: 72px; } }

/* 海报（由模糊变清晰） */
.poster-stage { display: grid; place-items: center; padding: 6px 0; }
.poster { width: min(340px, 100%); aspect-ratio: 3 / 4.2; border-radius: 14px; padding: 22px 22px 18px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-lg); }
.poster.theme-warm { background: #F3E3D6; color: #3B2219; }
.poster.theme-sand { background: #EFEAE0; color: #2A2723; }
.poster.theme-dark { background: #2A2522; color: #F4EBE2; }
.poster.theme-warm .po-n, .poster.theme-sand .po-n { color: #C15F3C; }
.poster.theme-dark .po-n { color: #E59A7C; }
.po-top { display: flex; justify-content: space-between; align-items: center; }
.po-kicker { font-size: 10.5px; letter-spacing: .22em; opacity: .7; }
.po-mark { width: 20px; height: 20px; color: #D97757; }
.po-title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.22; margin-top: 16px; }
.po-sub { font-size: 12.5px; opacity: .75; margin-top: 8px; }
.po-figure { flex: 1; min-height: 60px; display: flex; align-items: flex-end; color: currentColor; opacity: .9; }
.po-figure svg { width: 100%; height: 100%; max-height: 120px; }
.po-price { display: flex; align-items: baseline; gap: 2px; margin-top: 6px; }
.po-y { font-size: 18px; font-weight: 600; }
.po-n { font-family: var(--num); font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.po-u { font-size: 14px; margin-left: 2px; }
.po-was { font-size: 12px; opacity: .6; margin-left: 10px; }
.po-info { font-size: 12px; opacity: .85; margin-top: 8px; line-height: 1.6; }
.po-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.po-foot b { display: block; font-size: 13px; }
.po-foot span { font-size: 10.5px; opacity: .65; }
.po-qr { width: 42px; height: 42px; padding: 4px; border-radius: 6px; background: #fff; color: #1F1E1C; flex: none; }

/* ---------- 门店 ---------- */
.kb-banner { display: flex; gap: 10px; align-items: flex-start; }
.kb-banner .ic { margin-top: 2px; flex: none; }
.kb-banner b { color: var(--accent-ink); }
.kb-meter { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.kb-meter .track { flex: 1; min-width: 120px; max-width: 320px; }
.kb-meter b { color: var(--text); font-size: 15px; }
.kb-grid { align-items: start; }
.kb-sec .card-head { padding: 12px 12px 12px 20px; }
.kb-sec.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 var(--accent-soft); border-color: var(--accent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.kb-sec .tbl td { padding: 9px 8px; }
.kb-sec .tbl td:first-child { padding-left: 0; }
.coach { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.coach:first-child { border-top: 0; padding-top: 0; }
.offer { padding: 10px 0; border-top: 1px solid var(--line); }
.offer:first-child { border-top: 0; padding-top: 0; }
.faq { border-top: 1px solid var(--line); }
.faq:first-of-type { border-top: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; font-size: 14px; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--text-3); transition: transform .25s var(--ease); }
.faq[open] summary .ic { transform: rotate(90deg); }
.faq p { font-size: 13.5px; color: var(--text-2); padding-bottom: 12px; animation: rise .25s var(--ease); }

.sched-wrap { overflow-x: auto; }
.sched { display: grid; grid-template-columns: 112px repeat(7, minmax(96px, 1fr)); min-width: 820px; }
.sc-h { padding: 12px 10px; font-size: 12.5px; color: var(--text-3); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.sc-h b { font-size: 20px; color: var(--text); font-weight: 400; }
.sc-h.today b { color: var(--accent-2); }
.sc-l { padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; font-size: 12px; color: var(--text-3); }
.sc-l b { font-size: 14px; color: var(--text); font-weight: 600; }
.sc-c { padding: 10px 8px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.sc-c.today, .sc-h.today { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.sc-c.off { font-size: 12.5px; }
.sched > :nth-last-child(-n+8) { border-bottom: 0; }
.sc-p { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.sc-p .av.sm { width: 22px; height: 22px; font-size: 10.5px; }
.sched-m { display: none; }
@media (max-width: 860px) {
  .sched-wrap { display: none; }
  .sched-m { display: flex; flex-direction: column; gap: 10px; }
  .sm-day { padding: 14px 16px; }
  .sm-day.today { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .sm-d { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .sm-r { display: flex; gap: 12px; align-items: center; padding: 5px 0; font-size: 13px; }
  .sm-r > .faint { width: 32px; flex: none; }
}
.memo p { font-size: 14.5px; line-height: 1.7; }
.memo.pin { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
#memo-list { display: flex; flex-direction: column; gap: 12px; }
.acct-card { text-align: left; margin: 20px auto 0; max-width: 340px; padding: 16px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- 员工端 ---------- */
.my-hero { display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
.my-hero .lbl { display: flex; align-items: baseline; justify-content: center; }
.memo-peek { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-top: 12px; }
.memo-peek p { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .memo-peek { flex-wrap: wrap; } .memo-peek p { white-space: normal; flex-basis: 100%; order: 3; } }
.my-list { display: flex; flex-direction: column; gap: 10px; }
.my-task { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.my-task .main-t { flex: 1; min-width: 0; }
.my-task .t { font-size: 15.5px; font-weight: 600; }
.my-task .s { font-size: 12.5px; color: var(--text-3); margin-top: 3px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.my-task .s .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); opacity: .6; }
.my-task.is-done { background: transparent; box-shadow: none; }
.my-task.is-done .t { color: var(--text-2); }
.my-task .chev { color: var(--text-3); }
.shots { display: flex; flex-direction: column; gap: 18px; }
.shot-t { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14.5px; }
.shot-st { margin-left: auto; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.snap { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--surface); color: var(--text-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; transition: border-color .2s, color .2s, transform .3s var(--spring); }
.snap:hover { border-color: var(--accent); color: var(--accent-2); }
.snap:active { transform: scale(.96); }
.trow { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.trow:first-of-type { border-top: 0; }
.trow > b { font-size: 14.5px; font-weight: 500; }
.trow-more { flex-basis: 100%; }
.trow-more:empty { display: none; }

/* ---------- 开店准备：标准照 ---------- */
.ann { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ann circle, .ann path { fill: none; stroke: #D97757; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: annDraw .55s var(--ease) .2s backwards; }
.ann .halo { stroke: #fff; stroke-width: 5.5; opacity: .85; }
.ann-a path:nth-child(n+3) { animation-delay: .5s; }
@keyframes annDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.std-edit .ann g:not(.fresh) * { animation: none; }
.std-edit .ann g.fresh * { animation-delay: 0s; }
.std-edit .ann-a.fresh path:nth-child(n+3) { animation-delay: .25s; }
.std .ph { box-shadow: inset 0 0 0 1px rgba(20,20,19,.06); }
.std .cap { background: var(--accent); }
.std-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; font-size: 13px; color: var(--accent-ink); line-height: 1.5; }
.std-note .ic { margin-top: 2px; flex: none; }
.std-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.std-name { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
@media (max-width: 520px) { .std-grid { grid-template-columns: 1fr; } }

.setup-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 14px 0 4px; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: linear-gradient(100deg, var(--surface) 55%, color-mix(in srgb, var(--accent-soft) 60%, var(--surface))); }
.setup-card b { font-size: 15.5px; }
.setup-card .muted { font-size: 13.5px; margin-top: 2px; }
.setup-bar { height: 5px; border-radius: 3px; background: var(--bg-2); margin-top: 10px; max-width: 360px; overflow: hidden; }
.setup-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .8s var(--ease) .2s; }
.setup-n { font-size: 30px; line-height: 1; }
.setup-n span { font-size: 15px; color: var(--text-3); }
@media (max-width: 860px) { .setup-card { flex-wrap: wrap; } .setup-card .grow { flex: 1 1 60%; } .setup-card .btn { width: 100%; } }

.setup-intro { text-align: center; padding: 18px 4px 8px; }
.setup-intro h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.setup-intro > p { max-width: 460px; margin: 10px auto 0; font-size: 14.5px; }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; text-align: left; }
.setup-steps > div { padding: 18px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.setup-steps .ic { color: var(--accent); margin-bottom: 4px; }
.setup-steps b { font-size: 15px; }
.setup-steps span { font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
@media (max-width: 600px) { .setup-steps { grid-template-columns: 1fr; } }

.setup-prog { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.setup-prog .track { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-2); overflow: hidden; }
.setup-prog .track i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .5s var(--ease); }
.setup-t { font-size: 22px; font-weight: 600; margin-top: 16px; font-family: var(--serif); }
.setup-how { display: flex; gap: 6px; align-items: center; margin: 6px 0 14px; font-size: 14px; }
.setup-shot .ph { border-radius: 14px; }
.std-edit { position: relative; cursor: crosshair; border-radius: 14px; }
.finder { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #1F1E1C; display: block; }
.finder-ghost { position: absolute; inset: 0; opacity: .28; filter: blur(1.5px) grayscale(.4); }
.finder-ghost .ph { height: 100%; border-radius: 0; }
.finder-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; }
.finder-c b { font-size: 16px; }
.finder-c span { font-size: 12.5px; opacity: .7; }
.finder-c .ic { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(217,119,87,.25); transition: transform .35s var(--spring); }
.finder:hover .finder-c .ic { transform: scale(1.08); }
.finder:active .finder-c .ic { transform: scale(.92); }
.finder .cn { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.75); }
.finder .tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.finder .tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.finder .bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.finder .br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.setup-tools { margin-top: 14px; }
.setup-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; margin: 22px auto 0; text-align: left; }
.shot-pair .std-note { font-size: 12px; }
.setup-card .grow { flex: 1; min-width: 0; }

/* ---------- 装到手机桌面 ---------- */
.install-link { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 18px; padding: 10px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; border-radius: 10px; cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease); }
.install-link:hover { color: var(--accent-ink, var(--accent)); background: var(--surface-2); }
.install-link svg:last-child { opacity: .6; transition: transform .2s var(--ease); }
.install-link:hover svg:last-child { transform: translateX(2px); }
.inst-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.inst-head > div { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.inst-head b { font-size: 16px; }
.inst-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 1px 2px rgba(20,20,19,.08), 0 6px 16px -6px rgba(20,20,19,.18); }
.inst-seg { margin-bottom: 18px; }
.inst-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.inst-steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.inst-steps li:last-child { border-bottom: 0; }
.inst-steps li > div { display: flex; flex-direction: column; gap: 3px; }
.inst-steps b { font-size: 14.5px; font-weight: 600; }
.inst-steps span:not(.inst-n) { font-size: 13px; color: var(--text-3); }
.inst-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.inst-foot { font-size: 12.5px; margin: 16px 0 0; }

/* ---------- AI 剪视频 ---------- */
.ai-form .type-pick { grid-template-columns: 1fr; }
.vc-clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.vc-clip, .vc-add { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); transition: opacity .2s, box-shadow .2s, transform .3s var(--spring); }
.vc-clip:active, .vc-add:active { transform: scale(.97); }
.vc-clip .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.vc-clip img, .vc-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,20,19,.6)); pointer-events: none; }
.vc-clip:not(.on) { opacity: .45; }
.vc-clip.on { box-shadow: 0 0 0 2px var(--ok); border-color: transparent; }
.vc-clip .cbox { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; z-index: 1; }
.vc-d { position: absolute; top: 7px; left: 7px; z-index: 1; font-size: 11px; color: #fff; padding: 1px 6px; border-radius: 6px; background: rgba(20,20,19,.5); }
.vc-cn { position: absolute; left: 8px; right: 8px; bottom: 7px; z-index: 1; font-size: 12px; color: #fff; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-style: dashed; background: transparent; color: var(--text-3); cursor: pointer; text-align: center; }
.vc-add b { font-size: 13px; font-weight: 600; color: var(--text-2); }
.vc-add span { font-size: 11.5px; }
.vc-add:hover { border-color: var(--accent); color: var(--accent-2); }
.vc-add input { display: none; }

.vc-steps { display: flex; flex-direction: column; gap: 14px; padding: 24px 4px; }
.vc-step { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-3); transition: color .3s; }
.vc-step.doing { color: var(--text); }
.vc-step.done { color: var(--text-2); }
.vc-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--line-2); flex: none; position: relative; transition: background .25s, border-color .25s; }
.vc-step.doing .vc-dot { border-color: var(--accent); border-top-color: transparent; animation: vcSpin .7s linear infinite; }
.vc-step.done .vc-dot { background: var(--ok); border-color: var(--ok); }
.vc-step.done .vc-dot::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes vcSpin { to { transform: rotate(360deg); } }

.vc-stage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.vc-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #141413; box-shadow: var(--shadow-lg); cursor: pointer; animation: posterIn .6s var(--ease) both; }
.vc-f { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.vc-f.on { opacity: 1; }
.vc-f .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.vc-f img, .vc-f video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-f.on > * { animation: vcKb var(--d) linear both; }
.vc-phone.paused .vc-f.on > * { animation-play-state: paused; }
@keyframes vcKb { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-2%); } }
.vc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 58%, rgba(0,0,0,.55)); pointer-events: none; }
.vc-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 3px; }
.vc-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.vc-bars b { display: block; height: 100%; width: 0; background: #fff; }
.vc-top { position: absolute; top: 22px; left: 12px; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 11.5px; font-weight: 600; }
.vc-mark { width: 18px; height: 18px; color: #fff; }
.vc-sub { position: absolute; left: 12px; right: 12px; bottom: 34px; text-align: center; }
.vc-sub span { display: inline-block; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 12px rgba(0,0,0,.35); }
.vc-sub span.pop { animation: rise .35s var(--ease) both; }
.vc-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(20,20,19,.45); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .3s var(--spring); pointer-events: none; }
.vc-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vc-phone.paused .vc-play { opacity: 1; transform: none; }
.vc-info { min-width: 0; }
.vc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vc-facts span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: var(--surface-2); font-size: 11.5px; color: var(--text-3); }
.vc-facts b { font-size: 17px; color: var(--text); font-weight: 600; }
.vc-music { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--text-2); }
.vc-music .ic { color: var(--accent); }
.vc-tl-h { display: flex; justify-content: space-between; margin: 16px 0 8px; font-size: 13px; font-weight: 600; }
.vc-tl-h .faint { font-weight: 400; font-size: 12px; }
.vc-tl { display: flex; flex-direction: column; gap: 6px; }
.vc-seg { display: flex; align-items: center; gap: 10px; padding: 5px; border-radius: 11px; border: 1px solid transparent; text-align: left; transition: background .2s, border-color .2s; }
.vc-seg:hover { background: var(--surface-2); }
.vc-seg.on { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.vc-th { position: relative; width: 36px; height: 48px; border-radius: 7px; overflow: hidden; flex: none; background: var(--bg-2); }
.vc-th .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.vc-th img, .vc-th video { width: 100%; height: 100%; object-fit: cover; }
.vc-st { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vc-st b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-st span { font-size: 11.5px; color: var(--text-3); }
@media (max-width: 1180px) and (min-width: 961px) { .vc-stage { grid-template-columns: 1fr; } .vc-phone { width: 240px; margin: 0 auto; } }
@media (max-width: 560px) { .vc-stage { grid-template-columns: 1fr; } .vc-phone { width: min(260px, 80%); margin: 0 auto; } .vc-clips { grid-template-columns: repeat(3, 1fr); } }
