/* This file is copied only into the isolated client-next build. Never load it on the old H5. */
.next-shell { --next-sidebar: 232px; --next-topbar: 64px; }
/* The shell wraps Taro pages. Hide by router identity, never DOM mount order;
   inactive fixed docks must not cover the current page on mobile or desktop. */
.next-stage > .taro_page[data-next-inactive-page] { display: none !important; }
.next-home { color: #20334e; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
/* Taro 按钮渲染为 taro-button-core，不是原生 button，需一并给出手形指针。 */
.next-shell :is(button, taro-button-core) { cursor: pointer; }
.next-shell :is(button, taro-button-core)[disabled]:not([disabled="false"]) { cursor: not-allowed; }
.next-shell button:focus-visible, .next-shell a:focus-visible { outline: 3px solid #91b9fb; outline-offset: 3px; }
.next-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 21px; }
.next-sidebar, .next-topbar { display: none; }
.next-home { padding: 22px 16px 95px; background: #f8faff; }
.next-home h1, .next-home h2, .next-home h3, .next-home p { margin: 0; }
.next-home h1 { font-size: 25px; font-weight: 650; letter-spacing: -.6px; line-height: 1.45; }
.next-home h2 { font-size: 18px; font-weight: 650; }
.next-home-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.next-home-heading p { color: #8c9ab0; font-size: 13px; margin-top: 7px; }
.next-home-heading > button { display: none; }
.next-home .next-home-heading { margin-bottom: 14px; }
.next-home .next-home-heading p { color: #506580; }
.next-home-goals, .next-home-recommendations { margin-bottom: 22px; min-width: 0; }
/* 知识库状态：绿色表示“来自你的资料”，没有资料时用橙色提示去上传。 */
.next-home-setup { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: 100%; margin: 0 0 18px; padding: 10px 12px; color: #7a3e06; background: #fff7ea; border: 1px solid #f5d7a6; border-radius: 12px; }
.next-home-setup-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #e58a12; color: #fff; font-size: 14px; font-weight: 700; }
.next-home-setup-copy { flex: 1 1 220px; min-width: 0; display: grid; gap: 2px; }
.next-home-setup-copy strong { font-size: 14px; line-height: 1.4; }
.next-home-setup-copy small { font-size: 12px; line-height: 1.45; color: #8a5a22; }
.next-home-setup-actions { display: flex; flex: 0 0 auto; gap: 8px; margin-left: auto; }
.next-home-setup-actions button { min-height: 32px; padding: 0 12px; border: 1px solid #f0c27e; border-radius: 999px; background: #fff; color: #9a4f00; font-size: 13px; font-weight: 600; white-space: nowrap; }
.next-home-setup-actions button:hover { background: #fff1db; border-color: #e5a64a; }
.next-home-recommendation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 9px; }
.next-home-recommendation { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 8px; border: 1px solid #dce7f7; border-radius: 12px; background: #fff; color: #20334e; }
.next-home-recommendation:nth-child(n+3) { display: none; }
.next-home-recommendation:hover { border-color: #9bb9ef; background: #f4f8ff; }
.next-home-recommendation-body { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.next-home-recommendation-body:focus-visible, .next-home-recommendation-cover:focus-visible { outline: 2px solid #2e74ff; outline-offset: 2px; }
.next-home-recommendation strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.next-home-recommendation small { font-size: 12px; line-height: 1.45; color: #536985; }
.next-home-recommendation-cta { justify-self: start; margin-top: 2px; padding: 5px 10px; border-radius: 999px; background: #1d4ed8; color: #fff; font-size: 12px; font-weight: 600; }
.next-home-recommendation-cover { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: #eaf1fc; color: #4778c6; cursor: pointer; }
.next-home-recommendation-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgb(15 23 42 / .55); box-shadow: 0 2px 10px rgb(15 23 42 / .25); transition: transform .15s, background .15s; }
.next-home-recommendation-play::after { content: ''; position: absolute; left: 16px; top: 12px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.next-home-recommendation-cover:hover .next-home-recommendation-play { transform: scale(1.08); background: rgb(29 78 216 / .85); }
.next-home-recommendation-duration { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: rgb(15 23 42 / .6); color: #fff; font-size: 12px; line-height: 18px; }
/* 推荐依据只用标题旁一个小标签（品类名 / 同行业参考 / 选主营品类），不再单独占一行说明。 */
.next-home-recommendations-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.next-home-recommendations-title h2 { flex: none; }
.next-home-recommendations .next-section-heading .next-home-recommendation-tag { overflow: hidden; min-width: 0; max-width: 10em; min-height: 24px; padding: 2px 9px; border: 0; border-radius: 999px; background: #eef4ff; color: #285cbf; font-size: 12px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.next-home-recommendations .next-section-heading .next-home-recommendation-tag.is-setup { background: #fff4e5; color: #9a5b00; }
/* 手机上“今天想发点什么？”加分组名已经够清楚，场景区标题只在电脑上显示，读屏仍能读到。 */
@media (max-width: 1023px) { .next-home-goals > .next-home-goals-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.next-home-recommendation-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-home-recommendation-cover img:not([hidden]) ~ svg { visibility: hidden; }
.next-home-recommendation-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; color: #536985; font-size: 13px; }
.next-home-recommendation-state button { border: 0; background: transparent; color: #285cbf; min-height: 44px; padding: 0; }
.next-home-recommendations .next-muted { margin: 4px 0 0 !important; }
/* 场景：两行，每行 5 个。手机和平板是图标宫格（只显示短名称），电脑是带一句说明的卡片。
   每个场景一种主题色，只用在图标底色上，避免某一项看起来像“已选中”。 */
.next-home-scene { --tone: #2563eb; --tone-soft: #e8f0ff; }
.next-home-scene.tone-orange { --tone: #dd6410; --tone-soft: #fff0e3; }
.next-home-scene.tone-violet { --tone: #7445d6; --tone-soft: #f1eaff; }
.next-home-scene.tone-red { --tone: #dc3b30; --tone-soft: #ffece9; }
.next-home-scene.tone-indigo { --tone: #4b51d6; --tone-soft: #eceeff; }
.next-home-scene.tone-rose { --tone: #e0335c; --tone-soft: #ffebf0; }
.next-home-scene.tone-green { --tone: #15944a; --tone-soft: #e5f7ec; }
.next-home-scene.tone-amber { --tone: #b97a04; --tone-soft: #fff4d9; }
.next-home-scene.tone-pink { --tone: #c9348f; --tone-soft: #fdeaf5; }
.next-home-scene.tone-teal { --tone: #0d8a7f; --tone-soft: #e1f6f3; }
.next-home-scene-panel { margin-top: 9px; padding: 10px 4px 6px; background: #fff; border: 1px solid #dce7f7; border-radius: 14px; }
.next-home-scene-row + .next-home-scene-row { margin-top: 6px; }
.next-home .next-home-scene-row > h3 { margin: 0 0 2px 8px; color: #6a7d97; font-size: 12px; line-height: 18px; font-weight: 600; }
.next-home-goal-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; }
.next-home-scene { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; min-height: 74px; padding: 6px 0; border: 0; border-radius: 10px; background: transparent; color: #20334e; }
.next-home-scene:hover { background: #f4f8ff; }
.next-home-goal-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; background: var(--tone-soft); color: var(--tone); }
.next-home-goal-icon .next-icon { width: 22px; height: 22px; flex-basis: 22px; }
.next-home-goal-copy { display: none; }
.next-home-scene-short { max-width: 100%; overflow: hidden; font-size: 12px; line-height: 1.35; font-weight: 600; white-space: nowrap; text-overflow: clip; letter-spacing: -.3px; }
.next-home-scene-badge { position: absolute; top: 1px; right: 1px; padding: 0 4px; border-radius: 7px 7px 7px 2px; background: #ff5b3a; color: #fff; font-size: 12px; line-height: 16px; font-style: normal; font-weight: 600; }
/* 亮点标签（贴链接、新）只在电脑卡片上显示，手机宫格只留“推荐”一个角标。 */
.next-home-scene-badge.is-tag { display: none; }
.next-home-more { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.next-home-more::-webkit-scrollbar { display: none; }
.next-home-more > span { flex: none; margin-right: 2px; color: #6a7d97; font-size: 12px; }
.next-home-more > button { flex: none; min-height: 32px; padding: 0 11px; border: 1px solid #dce7f7; border-radius: 999px; background: #fff; color: #35507a; font-size: 12px; white-space: nowrap; }
.next-home-more > button:hover { border-color: #9bb9ef; color: #1d4ed8; }
@media (min-width: 1024px) {
  .next-home-scene-panel { padding: 0; background: transparent; border: 0; border-radius: 0; }
  .next-home-scene-row + .next-home-scene-row { margin-top: 14px; }
  .next-home .next-home-scene-row > h3 { margin: 0 0 8px; font-size: 13px; }
  .next-home-goal-grid { gap: 12px; }
  .next-home-more { flex-wrap: wrap; overflow-x: visible; }
  .next-home-scene { align-items: flex-start; gap: 10px; min-height: 0; padding: 14px; text-align: left; background: #fff; border: 1px solid #dce7f7; border-radius: 12px; }
  .next-home-scene:hover { background: #f8fbff; border-color: #9bb9ef; }
  .next-home-goal-icon { width: 40px; height: 40px; border-radius: 12px; }
  .next-home-goal-copy { display: grid; gap: 3px; min-width: 0; }
  .next-home-goal-copy strong { font-size: 15px; line-height: 1.35; }
  .next-home-goal-copy small { font-size: 12px; line-height: 1.45; color: #536985; }
  .next-home-scene-short { display: none; }
  .next-home-scene-badge { top: 10px; right: 10px; padding: 1px 7px; border-radius: 999px; background: #fff1ec; color: #d9481f; }
  .next-home-scene-badge.is-tag { display: block; background: var(--tone-soft); color: var(--tone); }
}
@media (min-width: 1024px) {
  .next-home-recommendation-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  .next-home-recommendation:nth-child(n+3) { display: grid; }
}
.next-hero { display: flex; position: relative; overflow: hidden; align-items: center; min-height: 245px; padding: 26px 22px; border: 1px solid #e0eafb; border-radius: 20px; background: linear-gradient(120deg,#f0f5ff,#e6f0ff); }
.next-hero > div { position: relative; z-index: 1; }
.next-eyebrow { color: #8a9fc1; font-size: 12px; letter-spacing: 1.6px; }
.next-hero h2 { font-size: 27px; font-weight: 600; line-height: 1.5; margin: 12px 0 9px; color: #294b7c; }
.next-hero p { max-width: calc(100% - 66px); font-size: 12px; line-height: 1.8; color: #8197b6; }
.next-hero button { margin-top: 22px; padding: 12px 20px; border: 0; border-radius: 10px; background: #3779ec; color: #fff; font-size: 13px; box-shadow: 0 6px 16px #2365df21; }
.next-hero > img { position: absolute; width: 145px; height: 145px; object-fit: contain; bottom: -10px; right: -22px; opacity: .9; }
.next-creation-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin: 17px 0 28px; }
.next-creation-grid > button { grid-column: span 2; position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; padding: 16px 6px; border: 1px solid #e6edf7; border-radius: 14px; background: #fff; text-align: center; }
.next-creation-grid > button:nth-child(-n+2) { grid-column: span 3; }
.next-creation-grid img { width: 54px; height: 54px; object-fit: contain; }
.next-creation-grid strong { font-size: 14px; font-weight: 600; }
.next-creation-grid span { font-size: 12px; line-height: 1.7; color: #97a5b8; }
.next-creation-grid b { position: absolute; right: 12px; top: 12px; color: #bac8dc; font-size: 13px; font-weight: 400; }
.next-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.next-section-heading button { border: 0; background: none; color: #7a91b2; font-size: 12px; }
.next-muted { color: #91a0b4; font-size: 12px; line-height: 1.8; margin: 7px 0 18px !important; }
.next-recent-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.next-recent-card { min-width: 0; overflow: hidden; border: 1px solid #e6edf7; border-radius: 15px; padding: 0; text-align: left; background: #fff; }
.next-recent-cover { height: 96px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; background: linear-gradient(135deg,#edf4ff,#f6f9ff); color: #729add; }
.next-recent-cover .next-icon { width: 30px; height: 30px; }
.next-recent-cover > span { font-size: 12px; }
.next-recent-cover.kind-image { background: linear-gradient(135deg,#f2ecff,#faf7ff); color: #a38bd1; }
.next-recent-cover.kind-mix { background: linear-gradient(135deg,#fff4e8,#fffbf7); color: #d4a375; }
.next-recent-copy { padding: 14px; }
.next-recent-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; font-size: 13px; line-height: 1.6; font-weight: 550; }
.next-recent-copy > span, .next-recent-copy small { display: block; font-size: 12px; color: #8c9bb0; margin-top: 9px; }
.next-recent-copy > span { color: #6488bf; }
.next-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 220px; gap: 13px; color: #8da3c1; background: #fff; border: 1px dashed #dfe8f5; border-radius: 16px; padding: 24px; }
.next-empty h3 { font-size: 15px; font-weight: 500; }.next-empty p { font-size: 12px; line-height: 1.8; }
.next-inline-error { padding: 12px; border-radius: 12px; font-size: 12px; background: #fff6e9; color: #9e7946; margin: 14px 0; line-height: 1.8; }.next-inline-error button { color: #3779ec; background: none; border: 0; padding: 4px 10px; }
@media (min-width: 768px) {
  .next-shell { color: #20334e; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
  .next-shell.is-ready .next-sidebar { display: flex; position: fixed; inset: 0 auto 0 0; width: var(--next-sidebar); padding: 24px 16px 16px; box-sizing: border-box; flex-direction: column; background: #fcfdff; border-right: 1px solid #e7edf6; z-index: 30; overflow-y: auto; }
  .next-sidebar button { font: inherit; border: 0; background: none; }
  .next-sidebar .next-brand { display: flex; gap: 7px; align-items: center; padding: 0 10px 21px; color: #24476f; font-size: 24px; font-weight: 680; letter-spacing: -.8px; }.next-brand img { width: 34px; height: 34px; object-fit: contain; }.next-brand span { margin-left: -5px; color: #3775d5; }
  .next-sidebar .next-business { display: flex; gap: 9px; align-items: center; padding: 11px; border: 1px solid #e6edf6; background: white; border-radius: 11px; text-align: left; min-height: 58px; }
  .next-avatar { display: grid; place-items: center; width: 32px; height: 32px; background: linear-gradient(135deg,#596e85,#a59684); border-radius: 10px; color: #fff; font-size: 13px; flex-shrink: 0; }.next-business > span:nth-child(2) { flex: 1; min-width: 0; }.next-business strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 550; }.next-business small { display: block; font-size: 12px; color: #9ba8bc; margin-top: 3px; }
  .next-nav-label { font-size: 12px; color: #a0adbe; margin: 21px 12px 7px; letter-spacing: .5px; }
  .next-sidebar nav button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 41px; padding: 8px 12px; border-radius: 9px; color: #7e8da3; font-size: 12px; text-align: left; margin: 2px 0; }.next-sidebar nav button.active { color: #3377e3; background: #ecf3ff; font-weight: 600; }.next-sidebar nav button:hover { background: #f0f5fd; }
  .next-sidebar-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: #9daabc; padding: 30px 10px 4px; margin-top: auto; }.next-sidebar-foot a { color: #7098d5; text-decoration: none; margin-left: auto; }.next-test-dot { width: 5px; height: 5px; border-radius: 50%; background: #76a7eb; }
  .next-shell.is-ready .next-topbar { display: flex; position: fixed; inset: 0 0 auto var(--next-sidebar); height: var(--next-topbar); box-sizing: border-box; padding: 0 30px; align-items: center; justify-content: space-between; gap: 16px; background: #ffffffed; border-bottom: 1px solid #e8eef6; z-index: 24; backdrop-filter: blur(14px); font-size: 12px; color: #9ba8bc; }
  .next-topbar > div { display: flex; gap: 15px; align-items: center; }.next-topbar strong { color: #526985; font-weight: 500; }.next-crumb { color: #ced6e3; }.next-release-badge { font-size: 12px; color: #85a3ce; padding: 5px 10px; border: 1px solid #e5edf8; border-radius: 30px; }.next-topbar button { border: 0; background: none; font-size: 12px; color: #7e91aa; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .next-shell.is-ready .next-stage { margin-left: var(--next-sidebar); padding-top: var(--next-topbar); }
  .next-shell.is-ready .kelai-app { max-width: none; width: 100%; box-shadow: none; background: #f8faff; }
  .next-shell.is-ready .page-container { min-height: calc(100vh - var(--next-topbar)); background: #f8faff; }
  .next-shell.is-ready .bottom-nav { display: none; }
  .next-shell.is-ready .page-with-bottom-nav { padding-bottom: 35px; }
  .next-shell.is-ready .page-with-primary-dock { padding-bottom: 95px; }
  .next-shell.is-ready .app-bar { min-height: 88px; background: transparent; padding: 16px 30px; grid-template-columns: 44px minmax(0,1fr) auto; gap: 14px; border-bottom: 1px solid #edf1f7; box-shadow: none; }
  .next-shell.is-ready .app-bar-copy { align-items: flex-start; text-align: left; }.next-shell.is-ready .app-bar-title { font-size: 24px; font-weight: 600; line-height: 1.6; }.next-shell.is-ready .app-bar-subtitle { color: #94a3b8; font-size: 12px; }
  .next-shell.is-ready .primary-dock { left: var(--next-sidebar); right: 0; bottom: 0; display: flex; justify-content: flex-end; padding: 14px 30px; background: #ffffffed; border-top: 1px solid #e7edf6; }.next-shell.is-ready .primary-dock > * { width: auto; min-width: 250px; max-width: 600px; padding-left: 24px; padding-right: 24px; }
  .next-shell.is-ready .confirm-sheet { left: calc(var(--next-sidebar) + (100vw - var(--next-sidebar) - min(560px, 90vw - var(--next-sidebar))) / 2); right: auto; width: min(560px, 90vw - var(--next-sidebar)); bottom: 7vh; border-radius: 20px; }
  .next-shell.is-ready .toast { max-width: 500px; }
  .next-shell.is-ready .loading-state, .next-shell.is-ready .message-state { max-width: 860px; margin: auto; }
  .next-home { padding: 30px 30px 40px !important; max-width: 1600px; margin: auto; }.next-home-heading h1 { font-size: 27px; }.next-home-heading > button { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; border: 0; background: none; color: #71839d; font-size: 12px; }.next-home-heading > button span { color: #a0adc0; font-size: 12px; }
  .next-hero { min-height: 250px; padding: 32px; }.next-hero h2 { font-size: 32px; }.next-hero p { max-width: none; }.next-hero > img { width: 260px; height: 240px; right: 10px; bottom: 0; }
  .next-creation-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }.next-creation-grid > button, .next-creation-grid > button:nth-child(-n+2) { grid-column: auto; align-items: flex-start; text-align: left; padding: 17px 14px; min-height: 148px; }.next-creation-grid img { width: 49px; height: 49px; }.next-creation-grid strong { font-size: 13px; }.next-creation-grid span { font-size: 12px; }
  .next-recent-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .next-shell.is-ready .content-body, .next-shell.is-ready .materials-body, .next-shell.is-ready .digital-human-body, .next-shell.is-ready .video-body { padding: 24px 30px 40px; max-width: 1480px; margin: auto; }
  .next-shell.is-ready .creation-hub-compact { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; border-radius: 18px; background: #fff; }.next-shell.is-ready .creation-hub-heading { grid-column: 1/-1; }.next-shell.is-ready .creation-shortcut-grid, .next-shell.is-ready .creation-video-grid { margin: 0; gap: 12px; }
  .next-shell.is-ready .topic-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .next-shell.is-ready .content-create-page { height: calc(100dvh - var(--next-topbar)); min-height: 0; padding: 0; }
  .next-shell.is-ready .creation-context-bar { justify-content: flex-end; padding: 10px 30px; }.next-shell.is-ready .creation-store-chip { max-width: 200px; margin-right: auto; }
  .next-shell.is-ready .creation-chat-body { width: min(100%,940px); padding: 28px 30px; }.next-shell.is-ready .creation-composer-shell { width: min(100%,1000px); margin: 0 auto; box-sizing: border-box; padding: 12px 30px 24px; }.next-shell.is-ready .creation-welcome-card { border: 0; box-shadow: none; background: transparent; }.next-shell.is-ready .creation-scenario-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .next-shell.is-ready .creation-history-drawer { width: min(430px,80vw); }.next-shell.is-ready .creation-model-sheet { max-width: 680px; }.next-shell.is-ready .creation-overlay { align-items: center; }
  .next-shell.is-ready .image-studio-body { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,1fr); align-items: start; padding: 24px 30px; gap: 20px; max-width: 1400px; margin: auto; }
  .next-shell.is-ready .image-studio-body > .image-panel:first-child { grid-column: 1; grid-row: 1 / span 2; }.next-shell.is-ready .image-studio-body > .image-panel:nth-child(2) { grid-column: 2; }.next-shell.is-ready .image-studio-body > .image-panel:nth-child(3) { grid-column: 2; }.next-shell.is-ready .image-submit-panel, .next-shell.is-ready .image-studio-body > .image-error { grid-column: 1/-1; }
  .next-shell.is-ready .image-prompt { min-height: 245px; }.next-shell.is-ready .image-prompt .taro-textarea { min-height: 225px; }
  .next-shell.is-ready .creation-library-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; padding: 24px 30px 40px; }
  .next-shell.is-ready .creation-library-body > .creation-type-tabs, .next-shell.is-ready .creation-library-body > .image-error, .next-shell.is-ready .creation-library-body > .image-muted, .next-shell.is-ready .creation-library-body > .creation-load-more, .next-shell.is-ready .creation-library-body > .creation-list-end, .next-shell.is-ready .creation-library-body > .image-panel { grid-column: 1/-1; }
  .next-shell.is-ready .creation-library-page .creation-type-tabs { display: flex; gap: 10px; }.next-shell.is-ready .creation-library-page .creation-type-tabs > * { width: auto; min-width: 75px; padding: 11px 20px; }
  .next-shell.is-ready .creation-image-stage { height: 220px; }.next-shell.is-ready .creation-image-card .creation-image-actions { gap: 8px; }
  .next-shell.is-ready .advanced-shell { max-width: 1200px; padding: 24px 30px 40px; }.next-shell.is-ready .advanced-card { padding: 26px; border: 1px solid #e2eaf5; border-radius: 18px; box-shadow: 0 8px 24px #16386704; }
  .next-shell.is-ready .advanced-steps { position: sticky; top: 64px; z-index: 10; padding: 15px 10px; background: #f8fafff5; backdrop-filter: blur(14px); gap: 10px; }.next-shell.is-ready .advanced-steps > * { min-height: 64px; }.next-shell.is-ready .advanced-item { padding: 22px; margin-top: 18px; border-radius: 14px; }.next-shell.is-ready .advanced-bindings { grid-template-columns: repeat(3,minmax(0,1fr)); }.next-shell.is-ready .advanced-preview { max-width: 680px; margin: 18px auto; }
  .next-shell.is-ready .video-page .app-bar { top: 64px; background: #f8fafff5; }.next-shell.is-ready .video-config-card { padding: 24px; }.next-shell.is-ready .avatar-selection-grid, .next-shell.is-ready .material-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .next-shell.is-ready .video-body { max-width: 1040px; }.next-shell.is-ready .avatar-workspace-page .video-body { max-width: 1260px; }
  .next-shell.is-ready .mix-tabs { margin: 20px 30px; max-width: 720px; }.next-shell.is-ready .mix-scroll { height: calc(100dvh - 238px); padding: 0 30px 40px; }.next-shell.is-ready .mix-section { max-width: 1050px; margin-left: auto; margin-right: auto; padding: 24px; }.next-shell.is-ready .mix-work-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }.next-shell.is-ready .mix-work-card { margin: 0; }.next-shell.is-ready .mix-submit { left: var(--next-sidebar); right: 0; bottom: 0; }
  .next-shell.is-ready .material-asset-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr)); gap: 14px; }.next-shell.is-ready .digital-human-record-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }.next-shell.is-ready .digital-human-record-card { width: auto; min-width: 0; }.next-shell.is-ready .digital-human-hero { min-height: 250px; }.next-shell.is-ready .digital-human-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .next-shell.is-ready .mix-hub-scroll { max-width: 1260px; margin: auto; }.next-shell.is-ready .mix-mode-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.next-shell.is-ready .mix-hub-hero { padding: 30px; }.next-shell.is-ready .mix-mode-card { min-width: 0; margin: 0; }
  .next-shell.is-ready .image-picker-mask { align-items: center; justify-content: center; }.next-shell.is-ready .image-picker { max-width: 840px; border-radius: 22px; }.next-shell.is-ready .creation-model-sheet { right: auto; left: 50%; bottom: 10vh; width: min(680px,80vw); transform: translateX(-50%); }
  .next-shell.is-ready .mix-asset-overlay, .next-shell.is-ready .mix-music-overlay { align-items: center; }.next-shell.is-ready .mix-asset-sheet, .next-shell.is-ready .mix-music-sheet { width: min(820px,85vw); border-radius: 22px; }.next-shell.is-ready .mix-asset-picker-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1400px) {
  .next-home { padding: 35px 44px 50px !important; }.next-recent-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.next-shell.is-ready .creation-library-body { grid-template-columns: repeat(3,minmax(0,1fr)); }.next-hero > img { right: 70px; width: 310px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell { --next-sidebar: 188px; }.next-sidebar { padding-right: 12px !important; padding-left: 12px !important; }.next-recent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.next-hero > img { width: 190px; opacity: .6; right: -40px; }.next-creation-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }.next-creation-grid > button { grid-column: span 2; }.next-creation-grid > button:nth-child(-n+2) { grid-column: span 3; }.next-shell.is-ready .image-studio-body { display: flex; }.next-shell.is-ready .topic-list { grid-template-columns: 1fr; }.next-shell.is-ready .creation-scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.next-topbar > div:last-child > button { display: none; }
}

/* Shared account tools use the desktop viewport inside the private native shell.
   Keep the ordinary mobile shell and other native products unchanged. */
@media (min-width: 768px) {
  .next-shell.is-private-client .kelai-app:has(> .knowledge-page),
  .next-shell.is-private-client .kelai-app:has(> .credit-records-page) { max-width: none; width: 100%; box-shadow: none; }
  .next-shell.is-private-client .knowledge-page .kb-body,
  .next-shell.is-private-client .credit-records-body { max-width: 1120px; margin-inline: auto; padding: 24px 28px 36px; }
  .next-shell.is-private-client .knowledge-page .app-bar,
  .next-shell.is-private-client .credit-records-page .app-bar { padding-inline: max(28px, calc((100% - 1064px) / 2)); }
}

/* AI copywriting PC polish: presentation only; keep the single conversation and mobile UI. */
@media (min-width: 768px) {
  .next-shell.is-ready .content-create-page {
    --next-chat-column: 1008px;
    background: #f7f9fc;
  }
  .next-shell.is-ready .content-create-page > .app-bar {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .next-shell.is-ready .content-create-page .creation-context-bar { padding: 10px 30px; }
  .next-shell.is-ready .content-create-page .creation-store-chip {
    flex: 0 1 auto;
    width: auto;
    max-width: 200px;
    margin-right: auto;
  }
  .next-shell.is-ready .content-create-page .creation-store-chip,
  .next-shell.is-ready .content-create-page .creation-new-button {
    height: 36px;
    border-radius: 11px;
    font-size: 14px;
  }
  .next-shell.is-ready .content-create-page .creation-chat-body,
  .next-shell.is-ready .content-create-page .creation-composer-shell {
    width: min(100%, var(--next-chat-column));
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
  }
  .next-shell.is-ready .content-create-page .creation-chat-body { padding-top: 28px; padding-bottom: 24px; }
  .next-shell.is-ready .content-create-page .creation-message { margin-top: 18px; }
  .next-shell.is-ready .content-create-page .creation-message:first-child { margin-top: 0; }
  .next-shell.is-ready .content-create-page .creation-user-message {
    box-sizing: border-box;
    max-width: 78%;
    padding: 14px 18px;
    border-radius: 16px 16px 6px 16px;
    background: #246bf3;
    box-shadow: 0 3px 10px #246bf30d;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.65;
  }
  .next-shell.is-ready .content-create-page .creation-assistant-message {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 4px 16px #203f6805;
    overflow-wrap: anywhere;
  }
  .next-shell.is-ready .content-create-page .creation-assistant-identity { min-width: 0; }
  .next-shell.is-ready .content-create-page .creation-reasoning { border-radius: 12px; }
  .next-shell.is-ready .content-create-page .creation-reasoning-trigger { min-height: 40px; padding: 8px 12px; }
  .next-shell.is-ready .content-create-page .creation-message-error { margin-top: 16px; gap: 12px; line-height: 1.65; }
  .next-shell.is-ready .content-create-page .creation-message-error > taro-text-core {
    padding: 12px 14px;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    background: #f7f9fc;
    overflow-wrap: anywhere;
    font-size: 14px;
  }
  .next-shell.is-ready .content-create-page .creation-message-error > taro-button-core {
    width: auto;
    min-height: 38px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #bed2fb;
    border-radius: 10px;
    background: #f8fbff;
    font-size: 14px;
    line-height: 20px;
  }
  .next-shell.is-ready .content-create-page .creation-composer-shell {
    padding-top: 12px;
    padding-bottom: 24px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .next-shell.is-ready .content-create-page .creation-composer {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5e1f1;
    border-radius: 16px;
    box-shadow: 0 4px 18px #203f6808;
  }
  .next-shell.is-ready .content-create-page .creation-composer:focus-within {
    border-color: #97b9f8;
    box-shadow: 0 0 0 3px #246bf30a;
  }
  .next-shell.is-ready .content-create-page .creation-composer-input {
    min-height: 48px;
    max-height: 160px;
    padding: 0;
    font-size: 16px;
    line-height: 1.65;
  }
  .next-shell.is-ready .content-create-page .creation-composer-input .taro-textarea {
    min-height: 48px;
    max-height: 160px;
    padding: 2px 2px 8px;
    font-size: 16px;
    line-height: 1.65;
  }
  .next-shell.is-ready .content-create-page .creation-composer-actions { margin-top: 10px; gap: 10px; }
  .next-shell.is-ready .content-create-page .creation-composer-actions taro-button-core {
    width: auto;
    min-height: 38px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    gap: 5px;
    font-size: 14px;
    line-height: 20px;
  }
  .next-shell.is-ready .content-create-page .creation-composer-actions .creation-attach-button { flex: 0 0 38px; width: 38px; min-width: 38px; padding: 0; }
  .next-shell.is-ready .content-create-page .creation-composer-actions .creation-attach-button.is-uploading { flex: 0 1 auto; width: auto; padding: 8px 12px; }
  .next-shell.is-ready .content-create-page .creation-composer-actions .creation-scenario-button { flex: 0 1 auto; max-width: 240px; }
  .next-shell.is-ready .content-create-page .creation-composer-actions .creation-tool-toggle { border-color: transparent; }
  .next-shell.is-ready .content-create-page .creation-composer-actions .creation-send-button {
    flex: 0 0 82px;
    margin-left: auto;
    border-color: transparent;
    font-weight: 600;
  }
  .next-shell.is-ready .content-create-page .creation-inline-error,
  .next-shell.is-ready .content-create-page .creation-attachment-scroll { width: 100%; }
}

/* New test site only. UI text, never generated-video/canvas subtitle geometry. */
.next-shell {
  --next-safe-top: env(safe-area-inset-top, 0px);
  --next-safe-right: env(safe-area-inset-right, 0px);
  --next-safe-bottom: env(safe-area-inset-bottom, 0px);
  --next-safe-left: env(safe-area-inset-left, 0px);
  -webkit-text-size-adjust: 100%;
}

.next-home-heading p,
.next-hero p,
.next-muted,
.next-creation-grid span,
.next-empty p {
  font-size: 15px;
  line-height: 1.65;
  color: #5e728f;
}
.next-hero button,
.next-creation-grid strong { font-size: 17px; line-height: 1.5; }
.next-section-heading button { font-size: 14px; color: #466da3; }
.next-recent-copy strong { font-size: 16px; line-height: 1.6; min-height: 51px; }
.next-recent-copy > span,
.next-recent-copy small { font-size: 13px; line-height: 1.6; color: #61748b; }
.next-recent-copy > span { color: #3d65a0; }
.next-eyebrow { color: #5875a0; }
.next-recent-cover.kind-image { color: #75539c; }
.next-recent-cover.kind-mix { color: #936335; }

/* Mobile home brand and compact entry copy; desktop keeps its existing sidebar brand. */
.next-home-mobile-brand,
.next-creation-grid .next-entry-mobile-description { display: none; }

@media (max-width: 767px) {
  .next-shell .next-home { padding-top: calc(12px + var(--next-safe-top)); }
  .next-home .next-home-mobile-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; min-height: 44px; }
  .next-home-mobile-brand > img { width: 122px; height: 42px; object-fit: contain; flex-shrink: 0; }
  .next-home-mobile-brand > button { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 48%; min-height: 44px; padding: 8px 10px; border: 1px solid #e3ebf7; border-radius: 12px; background: #fff; color: #48617f; font-size: 13px; line-height: 20px; }
  .next-home-mobile-brand > button > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .next-home-mobile-brand > button > span:last-child { flex-shrink: 0; }
  .next-home .next-eyebrow { display: none; }
  /* 手机首页保留一句“今天想发点什么？”，让用户一进来就知道这页是做什么的。 */
  .next-home .next-home-heading { margin-bottom: 12px; }
  .next-home .next-home-heading h1 { font-size: 22px; line-height: 1.35; letter-spacing: -.3px; }
  .next-home .next-home-heading p { margin-top: 4px; font-size: 13px; line-height: 1.5; }
  .next-home .next-hero { min-height: 0; padding: 20px; border-radius: 18px; }
  .next-home .next-hero > div { width: 100%; }
  .next-home .next-hero h2 { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 650; letter-spacing: -.4px; }
  .next-home .next-hero p { margin-top: 10px; max-width: calc(100% - 90px); font-size: 14px; line-height: 1.6; }
  .next-home .next-hero button { min-height: 44px; margin-top: 16px; padding: 10px 16px; font-size: 16px; line-height: 24px; }
  .next-home .next-hero > img { width: 112px; height: 112px; right: 8px; bottom: 8px; opacity: 1; pointer-events: none; }
  .next-home .next-creation-grid { margin: 16px 0 22px; gap: 10px; }
  .next-home .next-creation-grid > button { padding: 14px 6px; gap: 6px; border-radius: 15px; color: #213e62; }
  .next-home .next-creation-grid img { width: 44px; height: 44px; }
  .next-home .next-creation-grid strong { font-size: 16px; line-height: 24px; }
  .next-home .next-creation-grid .next-entry-description { display: none; }
  .next-home .next-creation-grid .next-entry-mobile-description { display: block; font-size: 13px; line-height: 20px; color: #637891; }
  .next-home .next-creation-grid b { display: none; }
}

@media (max-width: 359px) {
  .next-home .next-hero { padding: 18px; }
  .next-home .next-hero h2 { font-size: 22px; }
  .next-home .next-hero > img { width: 88px; height: 88px; right: 5px; bottom: 10px; }
  .next-home .next-hero p { max-width: calc(100% - 66px); }
  .next-home .next-creation-grid .next-entry-mobile-description { font-size: 12px; }
}

/* Phone business pages inherit the original H5 typography, controls and insets.
   Only the redesigned home has a separate mobile presentation. */
@media (max-width: 767px) {
  .next-shell .next-home {
    padding-top: calc(12px + var(--next-safe-top));
    padding-right: max(16px, var(--next-safe-right));
    padding-left: max(16px, var(--next-safe-left));
    padding-bottom: calc(98px + var(--next-safe-bottom));
  }
}

@media (min-width: 768px) {
  .next-shell {
    --kelai-muted: #596b82;
    --kelai-muted-light: #697b91;
    --kelai-font-body-sm: 15px;
    --kelai-line-body-sm: 24px;
  }
  .next-shell .next-sidebar nav button { font-size: 14px; line-height: 22px; color: #53667f; }
  .next-shell .next-sidebar nav button.active { color: #2465c5; }
  .next-business strong { font-size: 14px; }
  .next-business small { font-size: 12px; line-height: 18px; color: #65778e; }
  .next-business > span:last-child { flex: 0 0 12px; font-size: 16px; }
  .next-nav-label,
  .next-sidebar-foot { color: #697d98; }
  .next-shell.is-ready .next-topbar { font-size: 14px; color: #61748e; }
  .next-topbar button { font-size: 14px; color: #506985; }
  .next-release-badge { font-size: 12px; color: #4f6e9d; }
  .next-home-heading > button,
  .next-home-heading > button span { font-size: 14px; color: #61748e; }
  .next-shell .next-creation-grid strong { font-size: 17px; }
  .next-shell .next-creation-grid span { font-size: 14px; line-height: 1.7; color: #5e728f; }
  .next-shell.is-ready .app-bar-subtitle { font-size: 14px; line-height: 22px; color: #61748e; }
  .next-shell.is-ready .creation-hub-subtitle,
  .next-shell.is-ready .creation-entry-description,
  .next-shell.is-ready .creation-hub-compact .creation-entry-description {
    font-size: 14px;
    line-height: 1.7;
    color: #5e728f;
  }
}

@media (max-width: 359px) {
  .next-shell .next-home .next-creation-grid > button { padding-right: 4px; padding-left: 4px; }
}

/* New homepage only. Same-size windows keep the grid tidy; images retain their ratio. */
.next-shell .next-recent-card { display: flex; flex-direction: column; position: relative; }
.next-shell .next-recent-open { display: flex; flex: 1; flex-direction: column; width: 100%; min-width: 0; padding: 0; border: 0; text-align: left; color: inherit; background: transparent; }
.next-shell .next-recent-preview { flex: 0 0 auto; cursor: pointer; }
.next-shell .next-recent-details { cursor: pointer; }
.next-shell .next-recent-open:focus-visible { outline: 2px solid #2e74ff; outline-offset: -3px; }
.next-home-preview-stage { position: fixed; inset: 0; z-index: 10010; display: grid; place-items: center; padding: max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); box-sizing: border-box; background: #0b162abb; }
.next-home-preview-stage > section { width: min(100%,520px); max-height: 85dvh; overflow: auto; box-sizing: border-box; padding: 20px; border-radius: 20px; background: #fff; color: #233955; }
.next-home-preview-stage header { display: flex; align-items: center; gap: 12px; }
.next-home-preview-stage header > strong { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 18px; }
.next-home-preview-stage button { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #dce6f6; border-radius: 12px; background: #f2f6fc; color: #2365bc; font: inherit; cursor: pointer; }
.next-home-preview-stage header > button { flex: 0 0 44px; padding: 0; font-size: 24px; }
.next-home-preview-stage p { color: #617591; font-size: 14px; line-height: 1.6; }
.next-preview-output-list { display: grid; gap: 10px; }
.next-preview-output-list > button { width: 100%; justify-content: flex-start; gap: 14px; text-align: left; }
.next-preview-output-list > button > span:last-child { min-width: 0; }
.next-preview-output-list small,.next-preview-output-list strong { display: block; overflow-wrap: anywhere; }
.next-preview-output-list small { font-size: 12px; margin-bottom: 5px; color: #617591; }
.next-preview-output-list strong { font-size: 15px; line-height: 1.5; color: #233955; }
.next-shell .next-recent-cover { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 280px; flex-shrink: 0; overflow: hidden; border-bottom: 1px solid #eaf0f8; }
.next-shell .next-recent-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .18s ease; }
.next-shell .next-recent-image.is-loaded { opacity: 1; }
.next-shell .next-recent-cover.has-cover { background: #eef2f7; }
.next-shell .next-recent-backdrop { position: absolute; inset: -16px; background-position: center; background-size: cover; filter: blur(18px); opacity: .6; pointer-events: none; }
.next-shell .next-recent-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 32px 10px 12px; width: 100%; height: 100%; box-sizing: border-box; }
.next-shell .next-recent-placeholder > span { font-size: 13px; line-height: 20px; color: #687991; text-align: center; }
.next-shell .next-recent-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: white; background: #17325799; box-shadow: 0 2px 12px #132e5b24; font-size: 14px; padding-left: 2px; }
.next-shell .next-recent-copy { width: 100%; box-sizing: border-box; }
/* 标签、时间和操作按钮与「我的内容」视频卡片同一套配色。 */
.next-shell .next-recent-copy > .next-recent-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; color: inherit; }
.next-shell .next-recent-badges > span { max-width: 100%; box-sizing: border-box; padding: 2px 8px; border-radius: 999px; overflow-wrap: anywhere; font-size: 12px; line-height: 18px; color: #526783; background: #eff3f8; }
.next-shell .next-recent-badges > .is-done { color: #20725d; background: #e9f7f1; }
.next-shell .next-recent-badges > .is-warn { color: #a36c18; background: #fff6e5; }
.next-shell .next-recent-badges > .is-active { color: #2369d6; background: #edf3ff; }
.next-shell .next-recent-badges > .is-failed { color: #b64242; background: #fff0ef; }
.next-shell .next-recent-badges > .is-draft { color: #728198; background: #f1f4f8; }
.next-shell .next-recent-badges > .next-recent-model { color: #5d46b8; background: #f0ebff; }
.next-shell .next-recent-copy > strong { min-height: 0; margin-bottom: 6px; }
.next-shell .next-recent-copy > .next-recent-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin: 0; color: #7d8ca1; }
.next-shell .next-recent-meta > small { margin: 0; color: inherit; }
.next-shell .next-recent-actions { position: relative; display: flex; gap: 6px; padding: 0 14px 14px; }
.next-shell .next-recent-action { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 40px; padding: 0; border: 1px solid #dbe4ef; border-radius: 10px; background: #fff; color: #506279; cursor: pointer; }
.next-shell .next-recent-action .next-icon { flex: 0 0 auto; width: 17px; height: 17px; }
.next-shell .next-recent-action.is-info { color: #1672ad; border-color: #c7e5fa; }
.next-shell .next-recent-action.is-edit { color: #117456; border-color: #bce7d7; }
.next-shell .next-recent-action.is-publish { color: #9541a3; border-color: #efd4f4; }
.next-shell .next-recent-action.is-download { color: #6250bb; border-color: #dfd7fc; }
.next-shell .next-recent-action.is-video { color: #2563c9; border-color: #cddcf6; }
.next-shell .next-recent-action:hover:not(:disabled) { background: #f5f8ff; }
.next-shell .next-recent-action:disabled { opacity: .6; cursor: default; }
.next-shell .next-recent-action:focus-visible { outline: 2px solid #2e74ff; outline-offset: 2px; }
@media (max-width: 767px) { .next-shell .next-recent-actions { gap: 4px; padding: 0 10px 12px; } }
/* 手机首页卡片只留状态、类型和时间；模型名、时长和比例在作品页和详情里看。 */
@media (max-width: 767px) { .next-shell .next-recent-badges > .next-recent-model, .next-shell .next-recent-meta > .next-recent-spec { display: none; } }
.next-shell .next-recent-menu-backdrop { position: fixed; inset: 0; z-index: 4; }
.next-shell .next-recent-video-menu { position: absolute; right: 14px; bottom: calc(100% - 8px); z-index: 5; display: grid; gap: 4px; width: min(240px, calc(100% - 28px)); padding: 6px; box-sizing: border-box; border: 1px solid #dce6f3; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px #1b33551f; }
.next-shell .next-recent-video-menu > button { display: grid; gap: 2px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.next-shell .next-recent-video-menu > button:hover,.next-shell .next-recent-video-menu > button:focus-visible { background: #f2f6fd; outline: none; }
.next-shell .next-recent-video-menu strong { font-size: 13px; line-height: 20px; color: #233955; }
.next-shell .next-recent-video-menu small { font-size: 12px; line-height: 18px; color: #6d7f97; }
/* 首页生成中提示：只在有任务生成时出现的一行，完成后作品直接出现在下方。 */
.next-shell .next-home-main { min-width: 0; }
.next-shell .next-home-generating { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 9px 12px 9px 14px; border: 1px solid #d9e6fb; border-radius: 12px; background: #f3f7ff; color: #2a5aa8; font-size: 13px; line-height: 20px; }
.next-shell .next-home-generating-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #2f73e0; box-shadow: 0 0 0 0 #2f73e066; animation: next-home-pulse 1.6s ease-out infinite; }
.next-shell .next-home-generating-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-shell .next-home-generating-bar { flex: 0 1 120px; height: 4px; overflow: hidden; border-radius: 999px; background: #dce7fa; }
.next-shell .next-home-generating-bar > i { display: block; height: 100%; border-radius: inherit; background: #2f73e0; transition: width .3s ease; }
.next-shell .next-home-generating > button { margin-left: auto; padding: 2px 4px; border: 0; background: transparent; color: #2767c0; font: inherit; white-space: nowrap; cursor: pointer; }
.next-shell .next-home-generating > button:focus-visible { outline: 2px solid #2e74ff; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 767px) { .next-shell .next-home-generating-bar { display: none; } }
@keyframes next-home-pulse { 70% { box-shadow: 0 0 0 6px #2f73e000; } 100% { box-shadow: 0 0 0 0 #2f73e000; } }
@media (prefers-reduced-motion: reduce) { .next-shell .next-home-generating-dot { animation: none; } .next-shell .next-home-generating-bar > i { transition: none; } }
.next-shell .next-recent-copy strong { overflow-wrap: anywhere; }
.next-shell .next-cover-retry { align-self: flex-start; margin: 0 14px 12px; padding: 4px 0; border: 0; background: transparent; color: #346fc2; font-size: 13px; line-height: 22px; }
.next-shell .next-recent-document { position: absolute; inset: 0; padding: 42px 16px 14px; box-sizing: border-box; color: #405774; background: linear-gradient(145deg,#f8fbff,#edf4ff); }
.next-shell .next-recent-document > .next-icon { display: none; }
.next-shell .next-recent-document p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .next-shell .next-recent-cover { aspect-ratio: 16 / 10; }
  .next-shell .next-recent-document { padding: 44px 20px 16px; }
}
@media (max-width: 359px) {
  .next-shell .next-recent-cover { aspect-ratio: 1 / 1; }
  .next-shell .next-recent-document { padding: 38px 10px 10px; }
  .next-shell .next-recent-document p { -webkit-line-clamp: 3; font-size: 13px; }
}
/* 视频作品：首帧铺满封面，模糊背景补齐竖版两侧，中间一个播放按钮。 */
.next-shell .next-recent-cover .library-video-poster { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg,#dfe7f2,#f2f5f9); }
.next-shell .next-recent-cover .library-video-backdrop { position: absolute; inset: -16px; background-position: center; background-size: cover; filter: blur(18px); opacity: .6; }
.next-shell .next-recent-cover .library-video-frame { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.next-shell .next-recent-cover .library-video-preview { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.next-shell .next-recent-cover .library-video-preview::after { display: none; }
.next-shell .next-recent-cover .library-video-play { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; padding-left: 3px; border-radius: 50%; color: #fff; font-size: 17px; background: #182e4a99; border: 1px solid #ffffff7a; box-shadow: 0 3px 14px #0002; }
.next-shell .next-recent-cover .library-video-preview:hover .library-video-play { background: #176bea; }
.next-shell .next-recent-cover .library-video-duration { position: absolute; right: 9px; bottom: 9px; padding: 1px 6px; border-radius: 5px; background: #142337b3; color: #fff; font-size: 12px; line-height: 18px; pointer-events: none; }
.next-shell .next-recent-cover .kelai-inline-video-slot { background: linear-gradient(135deg,#dfe7f2,#f2f5f9); }
.next-shell .next-recent-cover .kelai-inline-video-status { color: #61748b; }
@media (prefers-reduced-motion: reduce) { .next-shell .next-recent-image { transition: none; } }

/* Existing history drawer, docked only on wide desktop. No phone overrides. */
@media (min-width: 768px) {
  .next-shell.is-ready .content-create-page .creation-composer-actions { gap: 8px; }
}
@media (min-width: 1280px) {
  .next-shell.is-ready .content-create-page .next-history-reopen {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    gap: 0;
    border-radius: 10px;
  }
  .next-shell.is-ready .content-create-page .next-history-reopen > taro-text-core { display: none; }
  .next-shell.is-ready .content-create-page.has-next-history {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0;
  }
  .next-shell.is-ready .has-next-history > .app-bar { grid-column: 2; grid-row: 1; padding-right: 320px; }
  /* Store and "新建" share the title row; the docked list's own "+" would only repeat "新建". */
  .next-shell.is-ready .has-next-history > .creation-context-bar {
    z-index: 13;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    padding: 0 24px;
    border: 0;
    background: transparent;
  }
  .next-shell.is-ready .has-next-history > .creation-context-bar .creation-store-chip { margin-right: 0; }
  .next-shell.is-ready .has-next-history > .creation-chat-scroll { grid-column: 2; grid-row: 2; min-width: 0; height: 100%; }
  .next-shell.is-ready .has-next-history > .creation-composer-shell { grid-column: 2; grid-row: 3; min-width: 0; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-search > .creation-history-new { display: none; }
  .next-shell.is-ready .content-create-page .creation-scenario-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .next-shell.is-ready .has-next-history > .next-chat-history-docked {
    grid-column: 1;
    grid-row: 1 / -1;
    min-height: 0;
    overflow: hidden;
    background: #fbfcff;
    border-right: 1px solid #e2eaf5;
  }
  .next-shell.is-ready .next-chat-history-docked .creation-history-drawer {
    position: static;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 24px 14px 16px;
    background: transparent;
    box-shadow: none;
  }
  .next-shell.is-ready .next-chat-history-docked .creation-sheet-heading { align-items: flex-start; gap: 8px; padding: 0 4px; }
  .next-shell.is-ready .next-chat-history-docked .creation-sheet-heading > view,
  .next-shell.is-ready .next-chat-history-docked .creation-sheet-heading > taro-view-core { min-width: 0; }
  .next-shell.is-ready .next-chat-history-docked .creation-sheet-title { font-size: 18px; line-height: 26px; }
  .next-shell.is-ready .next-chat-history-docked .creation-sheet-copy { font-size: 12px; line-height: 20px; color: #65778e; }
  .next-shell.is-ready .next-chat-history-docked .creation-sheet-heading > taro-button-core {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-height: 30px;
    border-radius: 8px;
    font-size: 24px;
    line-height: 30px;
  }
  .next-shell.is-ready .next-chat-history-docked .creation-history-search { margin-top: 18px; padding: 8px 10px; gap: 6px; background: #f0f4fa; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-search > taro-input-core { flex: 1; min-width: 0; width: 0; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-search input { width: 100%; font-size: 14px; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-search > taro-button-core { flex: 0 0 28px; width: 28px; height: 28px; line-height: 28px; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list { flex: 1; min-height: 0; height: auto; margin-top: 12px; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-button-core {
    width: 100%;
    min-height: 80px;
    padding: 13px 12px;
    margin: 0 0 8px;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    background: #fff;
    text-align: left;
  }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-button-core:hover { background: #f1f6ff; border-color: #c9daf9; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-button-core.active { background: #eaf2ff; border-color: #adc9ff; box-shadow: inset 3px 0 #2872f4; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-text-core:first-child {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 22px;
  }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-text-core:last-child { margin-top: 7px; font-size: 12px; line-height: 18px; color: #65778e; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-text-core.creation-history-group {
    display: block;
    margin: 14px 4px 8px;
    color: #7a8ba1;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
  }
  .next-shell.is-ready .next-chat-history-docked .creation-history-list taro-text-core.creation-history-group:first-child { margin-top: 0; }
  .next-shell.is-ready .next-chat-history-docked .creation-history-empty { padding: 22px 8px; font-size: 14px; }
}

/* Desktop presentation only. Mobile form, upload, consent and submission stay shared. */
@media (min-width: 768px) {
  /* WorkspaceShell inserts .next-stage between Taro's router and its pages.
     Mirror Taro's existing inactive-page rule at that boundary, otherwise
     returning from the clone form leaves the previous page in front. */
  .next-shell.is-ready .next-stage > .taro_page {
    height: calc(100dvh - var(--next-topbar));
    max-height: calc(100dvh - var(--next-topbar));
  }
  .next-shell.is-ready .avatar-clone-page > .app-bar {
    position: static;
    width: 100%;
    max-width: 1180px;
    min-height: 96px;
    margin: 0 auto;
    padding: 20px 24px 16px;
    box-sizing: border-box;
    border-bottom: 0;
    background: transparent;
  }
  .next-shell.is-ready .avatar-clone-page .app-bar-title { line-height: 34px; }
  .next-shell.is-ready .avatar-clone-page .app-bar-subtitle { white-space: normal; }
  .next-shell.is-ready .avatar-clone-page .digital-create-body {
    width: 100%;
    max-width: 1180px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 24px 32px;
    gap: 18px;
    align-items: start;
  }
  .next-shell.is-ready .avatar-clone-page .digital-create-body > * { min-width: 0; }
  .next-shell.is-ready .avatar-clone-page .digital-create-card,
  .next-shell.is-ready .avatar-clone-page .avatar-shooting-section {
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 3px 12px #203f6805;
  }
  .next-shell.is-ready .avatar-clone-page .digital-create-label,
  .next-shell.is-ready .avatar-clone-page .avatar-section-heading > taro-view-core > taro-text-core:first-child {
    font-size: 16px;
    line-height: 24px;
    font-weight: 650;
  }
  .next-shell.is-ready .avatar-clone-page .digital-create-input { height: 44px; font-size: 15px; }
  .next-shell.is-ready .avatar-clone-page .digital-create-help { font-size: 13px; line-height: 20px; }
  .next-shell.is-ready .avatar-clone-page .avatar-video-card { gap: 12px; }
  .next-shell.is-ready .avatar-clone-page .avatar-upload-zone {
    width: 100%;
    min-height: 178px;
    padding: 18px;
    border-radius: 12px;
    transition: border-color 150ms, background-color 150ms;
  }
  .next-shell.is-ready .avatar-clone-page .avatar-upload-zone:hover { border-color: #4489f8; }
  .next-shell.is-ready .avatar-clone-page .avatar-upload-action {
    min-width: 88px;
    box-sizing: border-box;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
  }
  .next-shell.is-ready .avatar-clone-page .avatar-video-requirements > taro-view-core { padding: 8px 12px; }
  .next-shell.is-ready .avatar-clone-page .avatar-shooting-section > .avatar-section-heading { padding: 0 0 14px; }
  /* All four examples are visible on desktop; a swipe hint would be misleading. */
  .next-shell.is-ready .avatar-clone-page .avatar-shooting-section > .avatar-section-heading > taro-text-core { display: none; }
  .next-shell.is-ready .avatar-clone-page .avatar-guide-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .next-shell.is-ready .avatar-clone-page .avatar-guide-card { width: auto; min-width: 0; }
  .next-shell.is-ready .avatar-clone-page .avatar-guide-visual { height: 104px; }
  .next-shell.is-ready .avatar-clone-page .avatar-guide-card > taro-text-core { overflow-wrap: anywhere; }
  .next-shell.is-ready .avatar-clone-page .avatar-create-notice {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 22px;
  }
  .next-shell.is-ready .avatar-clone-page .consent-card > taro-button-core {
    width: 100%;
    min-height: 48px;
    margin: 12px 0 0;
    padding: 10px 12px;
    line-height: 22px;
    font-size: 13px;
  }
  .next-shell.is-ready .avatar-clone-page .avatar-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border-radius: 14px;
  }
  .next-shell.is-ready .avatar-clone-page .avatar-submit-status { flex: 1; min-width: 0; }
  .next-shell.is-ready .avatar-clone-page .avatar-submit-bar .digital-create-primary {
    flex: 0 0 220px;
    width: auto;
    min-height: 46px;
    height: 46px;
    margin: 0;
    border-radius: 10px;
  }
  .next-shell.is-ready .avatar-clone-page .digital-create-primary.is-disabled { color: #64748b; }
  .next-shell.is-ready .avatar-clone-page :is(taro-button-core, input):focus-visible {
    outline: 2px solid #1769ff;
    outline-offset: 3px;
  }
}
@media (min-width: 1180px) {
  .next-shell.is-ready .avatar-clone-page .digital-create-body {
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas: 'name guide' 'video guide' 'consent notice' 'submit submit';
  }
  .next-shell.is-ready .avatar-clone-page .avatar-name-card { grid-area: name; }
  .next-shell.is-ready .avatar-clone-page .avatar-video-card { grid-area: video; }
  .next-shell.is-ready .avatar-clone-page .avatar-shooting-section { grid-area: guide; }
  .next-shell.is-ready .avatar-clone-page .avatar-create-notice { grid-area: notice; }
  .next-shell.is-ready .avatar-clone-page .consent-card { grid-area: consent; }
  .next-shell.is-ready .avatar-clone-page .avatar-submit-bar { grid-area: submit; }
  .next-shell.is-ready .avatar-clone-page .avatar-guide-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .next-shell.is-ready .avatar-clone-page .digital-create-body { padding-right: 18px; padding-left: 18px; }
  .next-shell.is-ready .avatar-clone-page .avatar-submit-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .next-shell.is-ready .avatar-clone-page .avatar-submit-bar .digital-create-primary { flex-basis: auto; width: 100%; }
}

/* Desktop presentation only; shared mobile forms and image actions retain their defaults. */
@media (min-width: 1024px) {
  .next-shell.is-ready .image-studio-desktop { padding-bottom: 24px; }
  .next-shell.is-ready .image-studio-desktop .app-bar { min-height: 80px; padding-top: 10px; padding-bottom: 10px; }
  .next-shell.is-ready .image-studio-desktop .app-bar-action > .image-link {
    min-height: 38px; padding: 7px 14px; border: 1px solid #d6e3f7;
    border-radius: 10px; background: #fff; color: #245fc2; font-weight: 600;
  }
  .next-shell.is-ready .image-studio-desktop .app-bar-action > .image-link:hover {
    border-color: #adc8f5; background: #edf4ff;
  }
  .next-shell.is-ready .image-studio-desktop .image-studio-body {
    display: grid; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    grid-template-rows: auto; gap: 0 22px; align-items: start;
    max-width: 1580px; padding: 22px 28px 32px; margin: 0 auto;
  }
  .next-shell.is-ready .image-studio-desktop .image-studio-controls {
    grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column;
    max-height: calc(100dvh - 190px); overflow: hidden; border: 1px solid #dce6f0; border-radius: 18px; background: #fff;
  }
  .next-shell.is-ready .image-studio-desktop .image-studio-inputs {
    min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  }
  .next-shell.is-ready .image-studio-desktop .image-studio-inputs > .image-panel {
    border: 0; border-radius: 0; border-bottom: 1px solid #e7edf5; padding: 16px;
  }
  .next-shell.is-ready .image-studio-desktop .image-studio-inputs > .image-panel:last-of-type { border-bottom: 0; }
  .next-shell.is-ready .image-studio-desktop .image-prompt { min-height: 145px; }
  .next-shell.is-ready .image-studio-desktop .image-prompt .taro-textarea { height: 117px; min-height: 117px; }
  .next-shell.is-ready .image-studio-desktop .image-prompt.image-prompt-expanded { min-height: 218px; }
  .next-shell.is-ready .image-studio-desktop .image-prompt.image-prompt-expanded .taro-textarea { height: 190px; min-height: 190px; }
  .next-shell.is-ready .image-studio-desktop .image-heading { font-size: 16px; margin-bottom: 6px; }
  .next-shell.is-ready .image-studio-desktop .image-select-label { font-size: 13px; margin-bottom: 5px; }
  .next-shell.is-ready .image-studio-desktop .image-select-value { min-height: 42px; padding: 7px 12px; }
  .next-shell.is-ready .image-studio-desktop .image-settings-fields { gap: 10px; margin-top: 10px; }
  .next-shell.is-ready .image-studio-desktop .image-reference-list:empty { display: none; }
  .next-shell.is-ready .image-studio-desktop .image-submit-panel {
    flex: none; position: static; transform: none;
    left: auto; right: auto; bottom: auto; width: auto; max-width: none;
    margin: 0; border: 0; border-top: 1px solid #dce6f0; border-radius: 0;
    box-shadow: 0 8px 24px #18386306; padding: 12px 16px 16px; background: #fff;
  }
  .next-shell.is-ready .image-studio-desktop .image-studio-inputs > .image-error { margin: 12px 16px; }
  .next-shell.is-ready .image-studio-desktop .image-submit-panel .image-primary { min-height: 46px; }
  .next-shell.is-ready .image-studio-desktop .next-image-workspace { grid-column: 2; grid-row: 1; min-width: 0; display: grid; gap: 16px; }
  .next-image-preview-panel, .next-image-recents { min-width: 0; padding: 16px; border: 1px solid #dce6f0; border-radius: 18px; background: #fff; }
  .next-image-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-width: 0; }
  .next-image-section-heading h2 { margin: 0; font-size: 17px; color: #20324a; }
  .next-image-section-heading > span { color: #5577a2; font-size: 12px; background: #f0f5ff; padding: 3px 8px; border-radius: 8px; }
  .next-image-section-heading .next-image-text-action { width: auto; margin: 0; margin-left: auto; padding: 4px 0; color: #2467dd; background: transparent; border: 0; font-size: 13px; line-height: 1.5; }
  .next-image-workspace .creation-image-card.creation-image-card--gallery { border: 0; border-radius: 12px; box-shadow: none; overflow: hidden; background: transparent; padding: 0; }
  .next-image-workspace .creation-image-card .creation-image-stage { height: clamp(260px, 38vh, 480px); max-height: none; min-height: 0; aspect-ratio: auto !important; background: #f5f7fa; }
  .next-image-workspace .creation-image-grid { width: 100%; height: 100%; }
  .next-image-workspace .creation-image-preview { height: 100%; max-height: none; }
  .next-shell.is-ready .next-image-workspace .creation-image-preview img { object-fit: contain !important; }
  .next-shell.is-ready .next-image-workspace .creation-image-info { padding: 12px 0 0; }
  .next-image-workspace .creation-image-description { font-size: 14px; line-height: 1.6; }
  .next-image-workspace .creation-image-caption { gap: 8px; margin-top: 8px; }
  .next-image-workspace .creation-image-caption > * { font-size: 12px; }
  .next-shell.is-ready .next-image-workspace .creation-image-info .creation-image-actions { display: flex; gap: 8px; margin-top: 12px; padding: 0; border-top: 0; }
  .next-shell.is-ready .next-image-workspace .creation-image-actions > * { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 0; width: auto !important; min-width: 0; padding: 8px 5px; min-height: 40px; height: 40px; border: 1px solid #e3eaf4; border-radius: 9px; background: #fff; color: #536c8b; box-shadow: none; }
  .next-image-workspace .creation-image-actions .creation-image-action-icon { width: 18px; height: 18px; flex: none; }
  .next-image-workspace .creation-image-actions .creation-image-action-label { display: block; position: static; transform: none; opacity: 1; padding: 0; background: transparent; color: inherit; font-size: 12px; line-height: 1.3; white-space: nowrap; }
  .next-shell.is-ready .next-image-workspace .creation-image-actions .creation-image-delete { flex: 0 0 38px; color: #c84f4f; }
  .next-image-workspace .creation-image-delete .creation-image-action-label { display: none; }
  .next-image-workspace .creation-image-actions > *:hover { background: #f3f7ff; border-color: #b7cdf5; }
  .next-image-workspace .creation-image-placeholder { min-height: 100%; }
  .next-image-workspace .creation-image-stage-hint { max-width: 400px; }
  .next-image-original-status, .next-image-error { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #6d809b; font-size: 12px; margin-top: 10px; }
  .next-image-error { color: #b75244; padding: 10px; border-radius: 8px; background: #fff5f1; margin: 0 0 12px; }
  .next-image-original-status button, .next-image-error button { background: transparent; border: 0; color: #2467dd; font-size: 12px; padding: 4px; }
  .next-image-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: clamp(260px, 38vh, 480px); padding: 32px; text-align: center; background: radial-gradient(ellipse at 50% 45%, #eaf2ff, #f8faff 65%); border-radius: 12px; }
  .next-image-empty > svg { width: 58px; height: 58px; padding: 15px; color: #7f9fd3; background: #fff; border-radius: 18px; box-sizing: content-box; }
  .next-image-empty h3 { font-size: 18px; color: #405676; margin: 20px 0 8px; }
  .next-image-empty p { font-size: 13px; color: #7b8ba4; line-height: 1.8; margin: 0; max-width: 360px; }
  .next-image-thumb-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; padding: 2px 2px 8px; }
  .next-image-thumb { display: block; width: 100%; padding: 3px; margin: 0; border: 2px solid transparent; border-radius: 10px; background: #f7f9fc; text-align: left; min-width: 0; cursor: pointer; }
  .next-image-thumb.is-selected { border-color: #3774fa; background: #eff5ff; }
  .next-image-thumb > img, .next-image-thumb-placeholder { display: block; width: 100%; height: 80px; object-fit: contain; border-radius: 5px; background: #edf1f6; }
  .next-image-thumb-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #8091a9; font-size: 12px; }
  .next-image-thumb-placeholder svg { width: 25px; height: 25px; }
  .next-image-thumb-caption { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #60738d; font-size: 12px; line-height: 1.7; padding: 5px 3px 2px; }
  .next-image-recent-empty { color: #7c8ba2; font-size: 13px; margin: 4px 0 12px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .next-shell.is-ready .image-studio-desktop .image-studio-body { grid-template-columns: 310px minmax(0, 1fr); padding: 18px; gap: 0 16px; }
  .next-image-preview-panel, .next-image-recents { padding: 14px; }
  .next-image-workspace .creation-image-actions { flex-wrap: wrap; }
  .next-shell.is-ready .next-image-workspace .creation-image-actions > * { flex: 1 1 26%; }
  .next-image-thumb-strip { grid-auto-columns: calc((100% - 20px) / 3); }
}

/* Desktop presentation only; recording, upload, consent and billing stay shared. */
@media (min-width: 768px) {
  .next-shell.is-ready .voice-clone-page > .app-bar {
    position: static;
    width: 100%;
    max-width: 1180px;
    min-height: 96px;
    margin: 0 auto;
    padding: 20px 24px 16px;
    box-sizing: border-box;
    border-bottom: 0;
  }
  .next-shell.is-ready .voice-clone-page .app-bar-title { line-height: 34px; }
  .next-shell.is-ready .voice-clone-page .app-bar-subtitle { white-space: normal; }
  .next-shell.is-ready .voice-clone-page .digital-create-body {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 32px;
    box-sizing: border-box;
    gap: 18px;
    align-items: start;
  }
  .next-shell.is-ready .voice-clone-page .digital-create-body > * { min-width: 0; }
  .next-shell.is-ready .voice-clone-page .digital-create-stepper { padding: 12px 18px; border-radius: 14px; }
  .next-shell.is-ready .voice-clone-page .digital-create-card {
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 3px 12px #203f6805;
  }
  .next-shell.is-ready .voice-clone-page .digital-create-heading { padding-bottom: 14px; }
  .next-shell.is-ready .voice-clone-page .digital-create-label,
  .next-shell.is-ready .voice-clone-page .digital-create-heading > taro-view-core > taro-text-core:first-child {
    font-size: 16px;
    line-height: 24px;
    font-weight: 650;
  }
  .next-shell.is-ready .voice-clone-page .digital-create-input { min-height: 46px; font-size: 15px; }
  .next-shell.is-ready .voice-clone-page .digital-create-help { font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .voice-clone-page .voice-mode-tabs { margin-top: 14px; }
  .next-shell.is-ready .voice-clone-page .voice-mode-tabs > taro-button-core,
  .next-shell.is-ready .voice-clone-page .voice-sex-options > taro-button-core {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 22px;
  }
  .next-shell.is-ready .voice-clone-page .voice-recorder-zone {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 150px;
    grid-template-areas: 'orb time action' 'orb status action' 'progress progress progress' 'limit limit limit';
    gap: 8px 14px;
    min-height: 164px;
    margin-top: 14px;
    padding: 18px;
    text-align: left;
  }
  .next-shell.is-ready .voice-clone-page .voice-recorder-orb { grid-area: orb; margin: 0; }
  .next-shell.is-ready .voice-clone-page .voice-recording-time { grid-area: time; font-size: 28px; line-height: 36px; }
  .next-shell.is-ready .voice-clone-page .voice-recording-status { grid-area: status; margin: 0; font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .voice-clone-page .voice-recorder-zone .voice-recording-action {
    grid-area: action;
    width: 150px;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    font-size: 14px;
    line-height: 22px;
  }
  .next-shell.is-ready .voice-clone-page .voice-recording-progress { grid-area: progress; width: 100%; margin: 2px 0; }
  .next-shell.is-ready .voice-clone-page .voice-recording-limit { grid-area: limit; margin: 0; line-height: 20px; }
  .next-shell.is-ready .voice-clone-page .voice-reading-panel { margin-top: 14px; padding: 14px; }
  .next-shell.is-ready .voice-clone-page .voice-reading-heading > taro-view-core > taro-text-core:first-child { font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .voice-clone-page .voice-reading-scroll { height: 246px; margin-top: 12px; }
  /* The existing automatic follow uses activeSegment * 72: 65px row + 7px gap.
     A min-height, not fixed height, still allows long or zoomed text to expand. */
  .next-shell.is-ready .voice-clone-page .voice-reading-track { gap: 7px; }
  .next-shell.is-ready .voice-clone-page .voice-reading-track > taro-text-core {
    box-sizing: border-box;
    min-height: 65px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 22px;
  }
  .next-shell.is-ready .voice-clone-page .voice-upload-zone { min-height: 220px; margin-top: 14px; padding: 24px; }
  .next-shell.is-ready .voice-clone-page .voice-upload-zone > taro-button-core { width: 160px; min-height: 44px; font-size: 14px; }
  .next-shell.is-ready .voice-clone-page .voice-upload-requirements { margin-top: 14px; }
  .next-shell.is-ready .voice-clone-page .voice-upload-requirements > taro-view-core { padding: 12px; }
  .next-shell.is-ready .voice-clone-page .voice-upload-requirements taro-text-core:last-child { font-size: 13px; line-height: 22px; }
  .next-shell.is-ready .voice-clone-page .voice-sex-heading { margin-top: 20px; }
  .next-shell.is-ready .voice-clone-page .consent-card > taro-button-core {
    margin: 12px 0 0;
    padding: 12px;
    font-size: 13px;
    line-height: 22px;
  }
  .next-shell.is-ready .voice-clone-page .digital-create-process { padding: 16px 18px; gap: 9px; font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .voice-clone-page .digital-create-process > taro-text-core { font-size: 14px; }
  .next-shell.is-ready .voice-clone-page .digital-create-demo-note { padding: 14px 16px; line-height: 22px; border-radius: 12px; }
  .next-shell.is-ready .voice-clone-page .digital-create-primary {
    width: 100%;
    min-height: 46px;
    height: 46px;
    margin: 0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 22px;
  }
  .next-shell.is-ready .voice-clone-page .digital-create-primary.is-disabled { color: #64748b; }
  .next-shell.is-ready .voice-clone-page .digital-create-submit-hint { margin: 0; font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .voice-clone-page :is(taro-button-core, input):focus-visible { outline: 2px solid #7352e6; outline-offset: 3px; }
}
@media (min-width: 1180px) {
  .next-shell.is-ready .voice-clone-page .digital-create-body {
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas: 'steps steps' 'source name' 'source consent' 'source submit' 'source hint' 'process notice';
  }
  .next-shell.is-ready .voice-clone-page .digital-create-stepper { grid-area: steps; }
  .next-shell.is-ready .voice-clone-page .voice-source-card { grid-area: source; }
  .next-shell.is-ready .voice-clone-page .voice-name-card { grid-area: name; }
  .next-shell.is-ready .voice-clone-page .consent-card { grid-area: consent; }
  .next-shell.is-ready .voice-clone-page .digital-create-process { grid-area: process; }
  .next-shell.is-ready .voice-clone-page .digital-create-demo-note { grid-area: notice; grid-template-columns: 1fr; gap: 6px; }
  .next-shell.is-ready .voice-clone-page .digital-create-primary { grid-area: submit; }
  .next-shell.is-ready .voice-clone-page .digital-create-submit-hint { grid-area: hint; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .next-shell.is-ready .voice-clone-page .digital-create-body { padding-right: 18px; padding-left: 18px; }
}

/* Native popup, original trigger geometry. These rules never apply to phones. */
@media (min-width: 768px) {
  .next-picker { position: relative; display: block; min-width: 0; max-width: 100%; border-radius: 10px; }
  .next-picker-display { pointer-events: none; }
  .next-picker-native {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: pointer; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .next-picker:focus-within { outline: 2px solid #397df6; outline-offset: 2px; }
  .next-picker.is-disabled, .next-picker-native:disabled { cursor: not-allowed; }
  .reference-library-filters > .next-picker { flex: 1; min-width: 0; max-width: 58%; }
  .quick-reference-source-filter > .next-picker { min-width: 0; }
  .mix-writer-language > .next-picker { flex: 1; padding: 8px; color: #2075ed; text-align: right; }
}

/* PC video workspace: scoped presentation; phone layout and business handlers stay shared. */
@media (min-width: 1024px) {
  .next-shell.is-ready .video-job-page > .app-bar { position: relative; top: 0; min-height: 80px; padding: 12px 28px; background: transparent; border-bottom: 0; }
  .next-shell.is-ready .video-complete-workspace { max-width: 1180px; padding: 4px 28px 36px; margin: 0 auto; box-sizing: border-box; }
  .next-shell.is-ready .video-complete-heading { margin-bottom: 18px; }
  .next-shell.is-ready .video-complete-heading > taro-view-core { display: flex; align-items: center; gap: 14px; }
  .next-shell.is-ready .video-complete-success { font-size: 18px; font-weight: 650; color: #087b5c; }
  .next-shell.is-ready .video-complete-subtitle { font-size: 13px; color: #64748b; }
  .next-shell.is-ready .video-complete-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); overflow: hidden; border: 1px solid #dfe6f0; border-radius: 18px; background: #fff; box-shadow: 0 6px 24px #1b3f6906; }
  .next-shell.is-ready .video-complete-preview { position: relative; min-width: 0; min-height: clamp(420px, 54vh, 560px); align-self: stretch; background: #101722; display: flex; justify-content: center; align-items: center; }
  .next-shell.is-ready .video-complete-preview .kelai-inline-video-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
  .next-shell.is-ready .video-complete-preview video, .next-shell.is-ready .video-complete-preview taro-video-core { width: 100% !important; height: 100% !important; object-fit: contain; }
  .next-shell.is-ready .video-complete-demo { color: #c6d2df; font-size: 14px; }
  .next-shell.is-ready .video-complete-info { min-width: 0; padding: 30px; display: flex; flex-direction: column; }
  .next-shell.is-ready .video-complete-eyebrow { color: #64748b; font-size: 13px; }
  .next-shell.is-ready .video-complete-title { display: block; margin: 10px 0 24px; font-size: 22px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
  .next-shell.is-ready .video-complete-properties { display: grid; gap: 15px; margin-bottom: 28px; }
  .next-shell.is-ready .video-complete-properties > taro-view-core { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .video-complete-properties > taro-view-core > :first-child { color: #718096; }
  .next-shell.is-ready .video-complete-properties > taro-view-core > :last-child { overflow-wrap: anywhere; }
  .next-shell.is-ready .video-complete-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .next-shell.is-ready .video-complete-actions > taro-button-core { width: 100%; min-height: 42px; margin: 0; border: 1px solid #dce5f3; border-radius: 10px; padding: 10px 16px; background: #fff; color: #25456b; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .video-complete-actions > .video-complete-primary { grid-column: 1 / -1; background: #1d64f5; border-color: #1d64f5; color: #fff; font-weight: 600; }
  .next-shell.is-ready .video-complete-actions > taro-button-core[disabled] { opacity: .55; cursor: default; }
  .next-shell.is-ready .video-complete-note { margin-top: 16px; font-size: 12px; line-height: 20px; color: #718096; }
  .next-shell.is-ready .video-complete-process { margin-top: 16px; border: 1px solid #dfe6f0; border-radius: 12px; background: #fff; }
  .next-shell.is-ready .video-complete-process-toggle { margin: 0; padding: 16px 20px; width: 100%; display: flex; justify-content: space-between; gap: 12px; border: 0; background: transparent; font-size: 13px; line-height: 22px; color: #536780; }
  .next-shell.is-ready .video-complete-process-toggle > :first-child { color: #087b5c; }
  .next-shell.is-ready .video-complete-steps { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 0 20px 18px; font-size: 13px; color: #64748b; }
  .next-shell.is-ready .video-job-page > .job-progress-card, .next-shell.is-ready .video-job-page > .video-job-stages, .next-shell.is-ready .video-job-page > .video-result-actions { max-width: 1040px; margin: 0 auto 16px; box-sizing: border-box; }
  .next-shell.is-ready .video-job-page > .job-progress-card { padding: 24px; }
  .next-shell.is-ready .video-job-page > .job-progress-card .job-icon { display: none; }
  .next-shell.is-ready .video-job-page .video-job-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px; }
  .next-shell.is-ready .video-job-page .video-job-stages-title { grid-column: 1 / -1; margin: 0; }
  .next-shell.is-ready .video-job-page .video-job-stages > taro-view-core { margin: 0; }
}
@media (min-width: 768px) {
  .next-shell.is-ready .video-page:has(.quick-config-card) > .app-bar,
  .next-shell.is-ready .advanced-workbench > .app-bar {
    position: relative;
    top: 0;
    min-height: 80px;
    padding: 12px 28px;
    background: #f8faff;
    border-bottom: 0;
  }
  .next-shell.is-ready .video-page:has(.quick-config-card) .video-body {
    max-width: 1380px;
    padding: 8px 28px 36px;
    box-sizing: border-box;
  }
  .next-shell.is-ready .video-page:has(.quick-config-card) .video-body > .account-positioning-selector { display: none; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-config-card {
    min-width: 0;
    padding: 20px;
    margin: 0 0 16px;
    border-radius: 16px;
    box-shadow: 0 4px 16px #1b3f6905;
  }
  .next-shell.is-ready .video-page:has(.quick-config-card) .video-section-title { font-size: 16px; line-height: 24px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .video-section-help { margin-top: 4px; line-height: 20px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .creation-track-tabs { margin: 0 0 16px; padding: 4px; border-radius: 14px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .creation-track-tabs > taro-button-core { min-height: 56px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-prompt-input { height: 200px; min-height: 200px; background: #fafbfe; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-reference-empty { min-height: 64px; padding: 12px 16px; gap: 12px; flex-direction: row; justify-content: flex-start; text-align: left; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-reference-empty > taro-text-core:last-child { padding: 0; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-reference-actions { margin-top: 12px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-reference-actions > taro-button-core { min-height: 42px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .video-choice-section { margin-top: 20px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .video-field-label { font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-generation-boundary { padding: 12px 14px; margin: 0; border-radius: 12px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .primary-dock { padding: 12px 28px; background: #fff; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-model-card { padding: 12px 16px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-model-trigger { min-height: 58px; background: #f9fbff; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-model-list { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-optional-label { color: #8090a5; font-size: 12px; font-weight: 400; margin-left: 6px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-prompt-optimizer { margin-top: 12px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-prompt-optimizer > .knowledge-scope { margin: 0 0 10px; padding: 0; border: 0; background: transparent; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-prompt-optimizer .knowledge-scope-summary { padding: 0; border: 0; min-height: 30px; background: transparent; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-prompt-optimizer .knowledge-scope-summary > .knowledge-scope-button { min-height: 30px; padding: 3px 10px; border-radius: 8px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-optimizer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-optimizer-actions > taro-button-core { width: auto; flex: 0 0 auto; min-width: 0; min-height: 36px; margin: 0; padding: 6px 12px; border-radius: 9px; font-size: 13px; line-height: 22px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-optimizer-actions > .quick-reference-mention { background: #fff; border-color: #dce5f1; color: #526b8c; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-optimizer-actions > .quick-reference-mention.active { background: #eef4ff; color: #1768ff; }
  .next-shell.is-ready .video-page:has(.quick-config-card).page-with-primary-dock { padding-bottom: 88px; }

  .next-shell.is-ready .advanced-workbench .advanced-shell { max-width: 1420px; padding: 8px 28px 40px; }
  .next-shell.is-ready .advanced-workbench .advanced-heading { margin: 0 0 14px; min-height: 28px; }
  .next-shell.is-ready .advanced-workbench .advanced-steps { position: relative; top: 0; padding: 10px; gap: 6px; margin-bottom: 18px; background: #fff; border-radius: 14px; }
  .next-shell.is-ready .advanced-workbench .advanced-steps > taro-button-core { min-height: 52px; padding: 6px; }
  .next-shell.is-ready .advanced-workbench .advanced-card { min-width: 0; padding: 24px; border-radius: 16px; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 18px; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > * { min-width: 0; grid-column: 1 / -1; margin: 0; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) .advanced-field { grid-column: span 1; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > .advanced-field:has(taro-textarea-core) { grid-column: 1 / -1; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > .advanced-upload-group { grid-column: span 1; padding: 16px; }
  .next-shell.is-ready .advanced-workbench .advanced-label { color: #536680; font-size: 14px; line-height: 22px; margin-bottom: 7px; }
  .next-shell.is-ready .advanced-workbench .advanced-select { min-height: 44px; padding: 10px 12px; border-radius: 10px; background: #fff; }
  .next-shell.is-ready .advanced-workbench .advanced-field input { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; border: 1px solid #dfe5ef; min-height: 44px; height: 44px; padding: 10px 12px; border-radius: 10px; }
  .next-shell.is-ready .advanced-workbench .advanced-field > taro-textarea-core { width: 100%; height: auto; min-height: 164px; padding: 0; border: 0; background: transparent; }
  .next-shell.is-ready .advanced-workbench .advanced-field > taro-input-core { width: 100%; height: auto; padding: 0; border: 0; background: transparent; }
  .next-shell.is-ready .advanced-workbench .advanced-field textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; height: 164px; min-height: 164px; border: 1px solid #dfe5ef; padding: 12px 14px; border-radius: 12px; line-height: 1.7; }
  .next-shell.is-ready .advanced-workbench .advanced-tabs { border-radius: 12px; }
  .next-shell.is-ready .advanced-workbench .advanced-tabs > taro-button-core { min-height: 42px; padding: 9px 14px; border-radius: 10px; }
  .next-shell.is-ready .advanced-workbench .advanced-upload-group .advanced-actions { margin: 10px 0 0; }
  .next-shell.is-ready .advanced-workbench .advanced-upload-group .advanced-actions > taro-button-core { min-height: 38px; padding: 8px; border-radius: 9px; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > .advanced-primary { width: auto; max-width: 100%; min-width: 220px; justify-self: end; padding: 12px 28px; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > .advanced-link { justify-self: end; padding: 4px 0; }
}
@media (min-width: 1024px) {
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .video-body {
    display: grid;
    grid-template-columns: minmax(0,1fr) clamp(304px, 27vw, 352px);
    grid-template-areas: 'track track' 'prompt settings' 'references settings';
    gap: 16px 20px;
    align-items: start;
  }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .video-body > * { min-width: 0; grid-column: 1 / -1; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .video-body > .creation-track-tabs { grid-area: track; margin: 0; max-width: 620px; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .quick-config-card { margin: 0; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .quick-prompt-card { grid-area: prompt; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .quick-references-card { grid-area: references; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) > .app-bar { min-height: 66px; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .creation-track-tabs > taro-button-core { min-height: 48px; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .quick-settings-desktop { grid-area: settings; position: sticky; top: 16px; padding: 16px; }
  .next-shell.is-ready .video-page .quick-settings-desktop .quick-model-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .next-shell.is-ready .quick-settings-desktop .quick-model-card .video-section-heading { margin-bottom: 8px; }
  .next-shell.is-ready .quick-settings-desktop .quick-model-card .video-section-title { font-size: 14px; }
  .next-shell.is-ready .quick-settings-desktop .quick-model-picker { margin-top: 0; }
  .next-shell.is-ready .quick-settings-desktop .quick-model-trigger { padding: 8px 10px; }
  .next-shell.is-ready .video-page .quick-settings-desktop .quick-model-list { max-height: 230px; }
  .next-shell.is-ready .video-page .quick-settings-desktop .video-choice-section { margin-top: 12px; }
  .next-shell.is-ready .quick-settings-desktop .video-choice-section:not(.video-duration) { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
  .next-shell.is-ready .quick-settings-desktop .video-field-label { margin: 0; }
  .next-shell.is-ready .quick-settings-desktop .choice-row > taro-button-core { min-height: 36px; padding: 4px 8px; }
  .next-shell.is-ready .quick-settings-desktop .video-duration > .video-field-label { margin-bottom: 6px; }
  .next-shell.is-ready .quick-settings-desktop .video-duration-range { padding: 4px 10px 8px; }
  .next-shell.is-ready .quick-settings-desktop .next-duration-track { height: 36px; }
  .next-shell.is-ready .quick-settings-desktop .video-duration-help { display: none; }
  .next-shell.is-ready .video-page .quick-settings-submit { margin-top: 16px; }
  .next-shell.is-ready .video-page:has(.quick-config-card) .quick-settings-submit .primary-dock {
    position: static; display: block; width: 100%; padding: 0; border: 0; box-shadow: none; background: transparent;
  }
  .next-shell.is-ready .quick-settings-submit .primary-dock > .primary-button {
    width: 100%; min-width: 0; min-height: 44px; padding-inline: 10px; flex-wrap: wrap;
  }
  .next-shell.is-ready .quick-settings-submit > taro-text-core {
    display: block; margin-top: 8px; color: #607491; font-size: 12px; line-height: 18px; text-align: center;
  }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop).page-with-primary-dock { padding-bottom: 0; }
  .next-shell.is-ready .video-page:has(.quick-settings-desktop) .quick-reference-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
  .next-shell.is-ready .quick-references-card .quick-reference-actions { display: flex; flex-wrap: wrap; }
  .next-shell.is-ready .quick-references-card .quick-reference-actions > taro-button-core { width: auto; flex: 0 1 auto; padding-inline: 14px; }
  .next-shell.is-ready .quick-optimizer-actions > .knowledge-scope.is-compact {
    position: relative; min-width: 0; max-width: 100%; margin: 0; padding: 0; border: 0; background: transparent;
  }
  .next-shell.is-ready .quick-optimizer-actions .is-compact .knowledge-scope-summary { display: flex; gap: 8px; }
  .next-shell.is-ready .quick-optimizer-actions .is-compact .knowledge-scope-summary > .knowledge-scope-button {
    max-width: min(260px, 100%); min-width: 0; min-height: 36px; padding: 6px 12px; overflow: hidden; text-overflow: ellipsis;
  }
  .next-shell.is-ready .quick-optimizer-actions .is-compact .knowledge-scope-options {
    position: absolute; z-index: 12; top: calc(100% + 6px); right: 0;
    box-sizing: border-box; width: 280px; max-height: min(340px, 46vh); margin: 0; padding: 12px;
    border: 1px solid #dce5f3; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #203f6926;
    overscroll-behavior: contain;
  }
}
@media (min-width: 1280px) {
  .next-shell.is-ready .advanced-workbench .advanced-shell { display: grid; grid-template-columns: 152px minmax(0,1fr); column-gap: 24px; align-items: start; }
  .next-shell.is-ready .advanced-workbench .advanced-shell > * { grid-column: 2; }
  .next-shell.is-ready .advanced-workbench .advanced-steps {
    grid-column: 1;
    grid-row: 1 / span 100;
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    margin: 0;
    border: 1px solid #e2eaf5;
    backdrop-filter: none;
  }
  .next-shell.is-ready .advanced-workbench .advanced-steps > taro-button-core {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
  }
  .next-shell.is-ready .advanced-workbench .advanced-steps > taro-button-core.active { background: #edf4ff; color: #1768ff; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) .advanced-field { grid-column: span 2; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > .advanced-field:has(taro-textarea-core) { grid-column: 1 / -1; }
  .next-shell.is-ready .advanced-workbench .advanced-card:has(> .advanced-tabs) > .advanced-upload-group { grid-column: span 3; }
}

/* Desktop hub presentation; shared mobile, draft and controlled playback flow stay intact. */
@media (min-width: 768px) {
  .next-shell.is-ready .digital-human-page > .app-bar {
    position: static;
    width: 100%; max-width: 1280px; min-height: 96px;
    margin: 0 auto; padding: 20px 24px 16px; box-sizing: border-box; border-bottom: 0;
  }
  .next-shell.is-ready .digital-human-page .app-bar-title { line-height: 34px; }
  .next-shell.is-ready .digital-human-page .app-bar-subtitle { white-space: normal; }
  .next-shell.is-ready .digital-human-page .digital-human-body {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px 32px;
    box-sizing: border-box; gap: 18px; align-items: start;
  }
  .next-shell.is-ready .digital-human-page .digital-human-body > * { min-width: 0; }
  .next-shell.is-ready .digital-human-page .digital-human-hero {
    display: flex; align-items: center; min-height: 190px; padding: 24px;
    border-radius: 18px; box-shadow: 0 8px 24px #315fd51a;
  }
  .next-shell.is-ready .digital-human-page .digital-human-hero-copy { width: calc(100% - 162px); }
  .next-shell.is-ready .digital-human-page .digital-human-title { margin-top: 12px; font-size: 26px; line-height: 36px; font-weight: 650; text-wrap: balance; }
  .next-shell.is-ready .digital-human-page .digital-human-description { font-size: 13px; line-height: 22px; text-wrap: pretty; }
  .next-shell.is-ready .digital-human-page .digital-human-portrait { width: 180px; height: 180px; right: 0; bottom: 0; }
  .next-shell.is-ready .digital-human-page .digital-human-actions { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .next-shell.is-ready .digital-human-page .digital-human-create-action,
  .next-shell.is-ready .digital-human-page .digital-human-clone-action {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; grid-row: auto;
    width: 100%; min-height: 68px; align-items: center; gap: 12px; margin: 0;
    padding: 11px 16px; border-radius: 14px; box-sizing: border-box; box-shadow: 0 3px 12px #203f6808;
  }
  .next-shell.is-ready .digital-human-page .digital-human-create-action { background: linear-gradient(120deg, #16bd88, #22b6c2); }
  .next-shell.is-ready .digital-human-page .digital-human-create-arrow { position: static; font-size: 24px; line-height: 24px; }
  .next-shell.is-ready .digital-human-page .digital-human-create-action > taro-view-core:nth-child(2) taro-text-core:first-child,
  .next-shell.is-ready .digital-human-page .digital-human-clone-action > taro-view-core taro-text-core:first-child { font-size: 16px; line-height: 24px; font-weight: 650; }
  .next-shell.is-ready .digital-human-page .digital-human-create-action > taro-view-core:nth-child(2) taro-text-core:last-child,
  .next-shell.is-ready .digital-human-page .digital-human-clone-action > taro-view-core taro-text-core:last-child { font-size: 13px; line-height: 20px; }
  .next-shell.is-ready .digital-human-page .digital-human-assets-strip { min-height: 72px; padding: 14px 18px; border-radius: 14px; }
  .next-shell.is-ready .digital-human-page .digital-human-assets-strip > taro-view-core:first-child taro-text-core:first-child { font-size: 15px; line-height: 24px; font-weight: 650; }
  .next-shell.is-ready .digital-human-page .digital-human-assets-counts { gap: 8px; }
  .next-shell.is-ready .digital-human-page .digital-human-assets-counts taro-text-core:not(:last-child) { padding: 6px 10px; font-size: 13px; }
  .next-shell.is-ready .digital-human-page .avatar-drafts-shelf { margin: 0; }
  .next-shell.is-ready .digital-human-page .digital-human-records-section { padding: 18px; border-radius: 16px; background: #fff; }
  .next-shell.is-ready .digital-human-page .digital-human-section-heading { margin-bottom: 16px; align-items: center; }
  .next-shell.is-ready .digital-human-page .digital-human-section-heading > taro-view-core taro-text-core:first-child { font-size: 18px; line-height: 28px; font-weight: 650; }
  .next-shell.is-ready .digital-human-page .digital-human-section-heading > taro-view-core taro-text-core:last-child { font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .digital-human-page .digital-human-section-heading > taro-button-core { font-size: 13px; padding: 0 8px; }
  /* Keep mobile ScrollView behaviour; replace its unbounded max-content track on PC. */
  .next-shell.is-ready .digital-human-page .digital-human-record-scroll { width: 100%; max-width: 100%; min-width: 0; overflow: visible; white-space: normal; }
  .next-shell.is-ready .digital-human-page .digital-human-record-list {
    display: grid; width: 100%; min-width: 0; max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; box-sizing: border-box;
  }
  .next-shell.is-ready .digital-human-page .digital-human-record-card { display: flex; flex-direction: column; width: auto; min-width: 0; max-width: 100%; border-radius: 14px; box-shadow: 0 3px 12px #203f6808; }
  .next-shell.is-ready .digital-human-page .digital-human-record-media { height: 250px; min-height: 0; aspect-ratio: auto; flex: none; }
  .next-shell.is-ready .digital-human-page .digital-human-record-cover { object-fit: contain; }
  .next-shell.is-ready .digital-human-page .digital-human-record-cover > img {
    position: static; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    transform: none; object-fit: contain; object-position: center;
  }
  .next-shell.is-ready .digital-human-page .digital-human-record-player,
  .next-shell.is-ready .digital-human-page .digital-human-record-player video { width: 100%; height: 100%; object-fit: contain; }
  .next-shell.is-ready .digital-human-page .digital-human-record-play { width: 48px; height: 48px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-status { top: 12px; left: 12px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-info { display: flex; flex: 1; flex-direction: column; width: 100%; margin: 0; padding: 14px; box-sizing: border-box; }
  .next-shell.is-ready .digital-human-page .digital-human-record-title { min-height: 44px; font-size: 15px; line-height: 22px; font-weight: 650; }
  .next-shell.is-ready .digital-human-page .digital-human-record-stage { margin-top: 6px; font-size: 13px; line-height: 20px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-footer { width: 100%; margin-top: auto; padding-top: 12px; font-size: 13px; line-height: 20px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-empty { min-height: 190px; font-size: 13px; line-height: 22px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-warning { padding: 12px; font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .digital-human-page taro-button-core:focus-visible { outline: 2px solid #1769ff; outline-offset: 3px; }
}
@media (min-width: 1000px) and (max-width: 1179px) {
  .next-shell.is-ready .digital-human-page .digital-human-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .next-shell.is-ready .digital-human-page .digital-human-create-action,
  .next-shell.is-ready .digital-human-page .digital-human-clone-action { gap: 9px; padding-right: 12px; padding-left: 12px; }
}
@media (min-width: 1180px) {
  .next-shell.is-ready .digital-human-page .digital-human-body { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); }
  .next-shell.is-ready .digital-human-page .digital-human-body > * { grid-column: 1 / -1; }
  .next-shell.is-ready .digital-human-page .digital-human-body > .digital-human-hero { grid-column: 1; grid-row: 1; min-height: 228px; height: 100%; }
  .next-shell.is-ready .digital-human-page .digital-human-body > .digital-human-actions { grid-column: 2; grid-row: 1; }
  .next-shell.is-ready .digital-human-page .digital-human-record-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 899px) {
  .next-shell.is-ready .digital-human-page .digital-human-body { padding-right: 18px; padding-left: 18px; }
  .next-shell.is-ready .digital-human-page .digital-human-hero { padding: 20px; }
  .next-shell.is-ready .digital-human-page .digital-human-title { font-size: 24px; line-height: 34px; }
  .next-shell.is-ready .digital-human-page .digital-human-records-section { padding: 14px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-list { gap: 12px; }
  .next-shell.is-ready .digital-human-page .digital-human-record-media { height: 220px; }
}
/* The desktop shell has a fixed navigation bar already. Keep the asset heading
   in flow so its transparent background cannot overlay the banner on scroll. */
@media (min-width: 768px) {
  .next-shell.is-ready .digital-assets-page > .app-bar {
    position: static;
    width: 100%; max-width: 1240px;
    margin: 0 auto; padding-inline: 14px; box-sizing: border-box;
  }
  .next-shell.is-ready .digital-assets-page .app-bar-subtitle { white-space: normal; overflow-wrap: anywhere; }
}
/* Asset centre: desktop sizing only; phone cards keep their existing layout. */
@media (min-width: 1024px) {
  .next-shell.is-ready .digital-assets-page > .app-bar { padding-inline: 28px; }
  .next-shell.is-ready .digital-assets-body { width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 28px 32px; box-sizing: border-box; gap: 20px; }
  .next-shell.is-ready .digital-assets-hero { grid-template-columns: minmax(0, 1fr) 260px; padding: 24px; box-shadow: none; }
  .next-shell.is-ready .digital-assets-title { font-size: 22px; line-height: 32px; }
  .next-shell.is-ready .digital-assets-stats { gap: 12px; }
  .next-shell.is-ready .digital-assets-stats > taro-view-core { padding: 14px; }
  .next-shell.is-ready .digital-assets-stats taro-text-core:first-child { font-size: 24px; line-height: 32px; }
  .next-shell.is-ready .digital-assets-tabs { width: 360px; max-width: 100%; }
  .next-shell.is-ready .digital-avatar-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .next-shell.is-ready .digital-avatar-card { max-width: 300px; width: 100%; box-shadow: 0 4px 14px #203f680a; }
  .next-shell.is-ready .digital-avatar-cover { aspect-ratio: 9 / 14; max-height: 380px; background: #121c2c; }
  .next-shell.is-ready .digital-avatar-poster img { width: 100% !important; height: 100% !important; max-width: none; max-height: none; left: 0 !important; top: 0 !important; transform: none !important; object-fit: contain !important; }
  .next-shell.is-ready .digital-avatar-delete { width: 34px; height: 34px; min-height: 34px; }
  .next-shell.is-ready .digital-voice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .next-shell.is-ready .digital-assets-flow-card { padding: 18px; }
  .next-shell.is-ready .digital-avatar-preview-mask { z-index: 160; align-items: center; padding: 24px; box-sizing: border-box; }
  .next-shell.is-ready .digital-avatar-preview-panel { position: relative; display: flex; flex-direction: column; width: min(720px, 100%); max-width: 720px; max-height: calc(100dvh - 48px); padding: 18px; border-radius: 20px; box-sizing: border-box; overflow: auto; }
  .next-shell.is-ready .digital-avatar-preview-heading { flex: none; }
  .next-shell.is-ready .digital-avatar-preview-video { position: relative !important; inset: auto !important; display: block; flex: none; width: 100% !important; height: min(66vh, 620px) !important; max-height: calc(100dvh - 190px); margin: 0; }
  .next-shell.is-ready .digital-avatar-preview-video video { position: relative !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
  .next-shell.is-ready .digital-avatar-preview-notice { flex: none; }
}

/* Desktop presentation only. Keep the shared Profile data, actions and phone layout. */
@media (min-width: 768px) {
  .next-shell.is-ready .profile-page > .app-bar {
    position: static;
    width: 100%; max-width: 1248px; min-height: 96px;
    grid-template-columns: 0 minmax(0, 1fr) 0; gap: 0;
    margin: 0 auto; padding: 20px 24px 16px; box-sizing: border-box; border-bottom: 0;
  }
  .next-shell.is-ready .profile-page .app-bar-title { font-size: 26px; line-height: 36px; }
  .next-shell.is-ready .profile-page .app-bar-subtitle { font-size: 14px; line-height: 22px; white-space: normal; }
  .next-shell.is-ready .profile-page .profile-body {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px 32px;
    box-sizing: border-box; gap: 16px; align-items: stretch;
  }
  .next-shell.is-ready .profile-page .profile-body > * { grid-column: 1 / -1; min-width: 0; box-sizing: border-box; }
  .next-shell.is-ready .profile-page .profile-body taro-view-core { min-width: 0; }
  .next-shell.is-ready .profile-page .profile-body taro-text-core { overflow-wrap: anywhere; }
  .next-shell.is-ready .profile-page .profile-body taro-button-core { margin: 0; box-sizing: border-box; }
  .next-shell.is-ready .profile-page .profile-demo-note { padding: 12px 16px; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-identity-card {
    min-height: 144px; grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 16px; padding: 24px; box-shadow: 0 6px 20px #1769ff14;
  }
  .next-shell.is-ready .profile-page .profile-avatar { width: 60px; height: 60px; font-size: 26px; line-height: 32px; }
  .next-shell.is-ready .profile-page .profile-name { font-size: 22px; line-height: 32px; font-weight: 700; }
  .next-shell.is-ready .profile-page .profile-account { margin-top: 6px; color: #edf4ff; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-plan { padding: 6px 10px; font-size: 14px; line-height: 22px; white-space: nowrap; }
  .next-shell.is-ready .profile-page .profile-credit-card {
    min-height: 144px; padding: 20px 24px; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: 16px;
  }
  .next-shell.is-ready .profile-page .profile-credit-card > taro-view-core:first-child { flex: 1 1 140px; }
  .next-shell.is-ready .profile-page .profile-credit-card > taro-view-core:first-child taro-text-core:first-child { font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-credit-card > taro-view-core:first-child taro-text-core:last-child {
    margin-top: 6px; font-size: 30px; line-height: 40px; font-weight: 700; font-variant-numeric: tabular-nums;
  }
  .next-shell.is-ready .profile-page .profile-credit-card > taro-view-core:last-child { margin-left: auto; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-credit-card .profile-credit-link { width: auto; margin-left: auto; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-store-card {
    min-height: 108px; grid-template-columns: 48px minmax(0, 1fr) 16px;
    gap: 14px; padding: 20px; border-radius: 16px; box-shadow: 0 3px 12px #203f6805;
  }
  .next-shell.is-ready .profile-page .profile-store-mark { width: 48px; height: 48px; font-size: 15px; line-height: 24px; }
  .next-shell.is-ready .profile-page .profile-card-title { font-size: 17px; line-height: 26px; font-weight: 650; }
  .next-shell.is-ready .profile-page .profile-card-copy { margin-top: 4px; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-chevron { font-size: 24px; line-height: 28px; text-align: right; }
  .next-shell.is-ready .profile-page .profile-section-heading { align-items: center; gap: 16px; padding: 0 0 18px; }
  .next-shell.is-ready .profile-page .profile-section-heading > taro-view-core taro-text-core:first-child { font-size: 18px; line-height: 28px; font-weight: 650; }
  .next-shell.is-ready .profile-page .profile-section-heading > taro-view-core taro-text-core:last-child { margin-top: 4px; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-section-heading > taro-button-core {
    display: flex; width: auto; min-width: 72px; min-height: 44px; flex: none;
    align-items: center; justify-content: center; padding: 0 8px; font-size: 14px; line-height: 22px;
  }
  .next-shell.is-ready .profile-page .profile-digital-section,
  .next-shell.is-ready .profile-page .profile-menu-section { padding: 24px; }
  .next-shell.is-ready .profile-page .profile-menu-heading { font-size: 19px; line-height: 28px; margin-bottom: 14px; }
  .next-shell.is-ready .profile-page .profile-digital-card { gap: 12px; }
  .next-shell.is-ready .profile-page .profile-digital-card > taro-button-core:not(.profile-create-avatar) {
    justify-content: center; min-height: 130px; padding: 14px 10px; gap: 4px;
  }
  .next-shell.is-ready .profile-page .profile-icon-tile { width: 44px; height: 44px; }
  .next-shell.is-ready .profile-page .profile-icon-image { width: 26px; height: 26px; }
  .next-shell.is-ready .profile-page .profile-digital-card > taro-button-core:not(.profile-create-avatar) > taro-text-core:nth-child(2) {
    margin-top: 0; font-size: 24px; line-height: 30px; font-weight: 700; font-variant-numeric: tabular-nums;
  }
  .next-shell.is-ready .profile-page .profile-digital-card > taro-button-core:not(.profile-create-avatar) > taro-text-core:last-child { font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-create-avatar { min-width: 0; min-height: 76px; grid-template-columns: 44px minmax(0, 1fr) 16px; padding: 16px; gap: 12px; }
  .next-shell.is-ready .profile-page .profile-create-avatar taro-view-core taro-text-core:first-child { font-size: 16px; line-height: 26px; font-weight: 650; }
  .next-shell.is-ready .profile-page .profile-create-avatar taro-view-core taro-text-core:last-child { margin-top: 4px; color: #f0edff; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-digital-card > .profile-create-avatar > taro-text-core:last-child { color: #fff; font-size: 24px; line-height: 28px; }
  .next-shell.is-ready .profile-page .profile-list-card {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
    overflow: visible; margin-top: 0; border: 0; border-radius: 0; background: transparent;
  }
  .next-shell.is-ready .profile-page .profile-list-card > taro-button-core {
    min-width: 0; min-height: 100px; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 12px; align-items: center;
    padding: 16px; border: 1px solid #edf1f5; border-radius: 14px; background: #fafcff;
  }
  .next-shell.is-ready .profile-page .profile-list-card taro-view-core taro-text-core:first-child { font-size: 16px; line-height: 26px; font-weight: 650; }
  .next-shell.is-ready .profile-page .profile-list-card taro-view-core taro-text-core:last-child { margin-top: 6px; font-size: 14px; line-height: 22px; }
  .next-shell.is-ready .profile-page .profile-list-card > taro-button-core > taro-text-core { align-self: center; font-size: 24px; line-height: 28px; text-align: right; }
  .next-shell.is-ready .profile-page .profile-logout { width: auto; min-width: 156px; min-height: 44px; justify-self: end; margin-top: 8px; padding: 10px 18px; color: #a3271e; font-size: 14px; line-height: 22px; font-weight: 600; }
  /* Taro serializes false as an attribute; its presence alone does not mean disabled. */
  .next-shell.is-ready .profile-page .profile-logout:not([disabled="true"]) { opacity: 1; }
  .next-shell.is-ready .profile-page .profile-store-card:hover,
  .next-shell.is-ready .profile-page .profile-list-card > taro-button-core:hover { border-color: #93b9f7; background: #f9fbff; }
  .next-shell.is-ready .profile-page .profile-digital-card > taro-button-core:not(.profile-create-avatar):hover { background: #edf3fd; }
  .next-shell.is-ready .profile-page taro-button-core:focus-visible { outline: 2px solid #1769ff; outline-offset: 3px; }
}
@media (min-width: 1100px) {
  .next-shell.is-ready .profile-page .profile-identity-card { grid-column: span 7; }
  .next-shell.is-ready .profile-page .profile-credit-card { grid-column: span 5; }
  .next-shell.is-ready .profile-page .profile-store-card { grid-column: span 6; }
}
@media (min-width: 1180px) {
  .next-shell.is-ready .profile-page .profile-digital-card { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(270px, 1.5fr); }
  .next-shell.is-ready .profile-page .profile-create-avatar { grid-column: auto; }
}
@media (min-width: 1280px) {
  .next-shell.is-ready .profile-page .profile-list-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Desktop mix creation hub. Keep the shared mobile UI and all entry handlers intact. */
@media (min-width: 768px) {
  .next-shell.is-ready .mix-page > .app-bar {
    box-sizing: border-box;
    width: calc(100% - 64px);
    max-width: 1120px;
    margin-inline: auto;
    padding: 20px 0 16px;
    border-bottom: 0;
  }
  .next-shell.is-ready .mix-page > .mix-tabs {
    width: calc(100% - 64px);
    max-width: 1120px;
    min-height: 52px;
    margin: 0 auto 24px;
    padding: 0;
    gap: 28px;
    border: 0;
    border-bottom: 1px solid #dfe7f1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .next-shell.is-ready .mix-page > .mix-tabs > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    height: 52px;
    min-height: 52px;
    padding: 0 4px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #60738f;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
  }
  .next-shell.is-ready .mix-page > .mix-tabs > .active {
    border-bottom-color: #2479eb;
    color: #175ab1;
    font-weight: 750;
  }
  .next-shell.is-ready .mix-page .mix-hub-scroll {
    box-sizing: border-box;
    width: calc(100% - 64px);
    max-width: 1120px;
    margin-inline: auto;
    padding: 0 0 36px;
  }
  .next-shell.is-ready .mix-page .mix-hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 196px;
    column-gap: 32px;
    padding: 28px 32px;
    border-radius: 20px;
    background: radial-gradient(ellipse at 100% 0, #348fce 0, transparent 60%), linear-gradient(110deg, #14355e, #195eac);
    box-shadow: 0 10px 24px rgba(23, 63, 115, 0.12);
  }
  .next-shell.is-ready .mix-page .mix-hub-hero > :not(.mix-ai-entry) {
    grid-column: 1;
    min-width: 0;
  }
  .next-shell.is-ready .mix-page .mix-hub-title {
    margin-top: 5px;
    font-size: 30px;
    line-height: 1.4;
  }
  .next-shell.is-ready .mix-page .mix-hub-copy {
    max-width: 620px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 400;
  }
  .next-shell.is-ready .mix-page .mix-hub-trust {
    margin-top: 18px;
    gap: 8px;
  }
  .next-shell.is-ready .mix-page .mix-hub-hero .mix-ai-entry {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
    width: 196px;
    min-height: 52px;
    margin: 0;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(12, 43, 83, 0.16);
  }
  .next-shell.is-ready .mix-page .mix-hub-section-title {
    margin: 28px 0 14px;
    font-size: 16px;
    line-height: 1.5;
  }
  .next-shell.is-ready .mix-page .mix-mode-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .next-shell.is-ready .mix-page .mix-mode-card {
    align-items: flex-start;
    min-height: 182px;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(35, 64, 97, 0.03);
  }
  .next-shell.is-ready .mix-page .mix-mode-icon {
    flex-basis: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .next-shell.is-ready .mix-page .mix-mode-main {
    margin-left: 16px;
  }
  .next-shell.is-ready .mix-page .mix-mode-title-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .next-shell.is-ready .mix-page .mix-mode-title {
    font-size: 18px;
    line-height: 1.5;
  }
  .next-shell.is-ready .mix-page .mix-mode-copy {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.75;
  }
  .next-shell.is-ready .mix-page .mix-mode-tags {
    margin-top: 14px;
    gap: 6px;
  }
  .next-shell.is-ready .mix-page .mix-mode-arrow {
    flex-basis: 24px;
    margin-left: 8px;
    align-self: center;
    text-align: right;
    color: #7c93af;
  }
  .next-shell.is-ready .mix-page .mix-hub-manage {
    gap: 20px;
    margin-top: 20px;
  }
  .next-shell.is-ready .mix-page .mix-hub-manage > taro-button-core {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-content: center;
    min-height: 86px;
    padding: 16px 24px;
    border-radius: 14px;
    text-align: left;
  }
  .next-shell.is-ready .mix-page .mix-manage-value {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 28px;
    line-height: 1.3;
  }
  .next-shell.is-ready .mix-page .mix-manage-label {
    grid-column: 2;
    margin: 0;
    font-size: 14px;
  }
  .next-shell.is-ready .mix-page .mix-manage-copy {
    grid-column: 2;
    font-size: 13px;
  }
  .next-shell.is-ready .mix-page .mix-hub-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 24px;
    padding: 16px 0 0;
    border-top: 1px solid #e1e8f1;
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1.7;
  }
  .next-shell.is-ready .mix-page .mix-mode-card:hover,
  .next-shell.is-ready .mix-page .mix-hub-manage > taro-button-core:hover {
    border-color: #92b9ef;
    box-shadow: 0 6px 18px rgba(35, 80, 140, 0.09);
  }
  .next-shell.is-ready .mix-page .mix-ai-entry:hover {
    background: #edf5ff;
  }
  .next-shell.is-ready .mix-page .mix-mode-card:focus-visible,
  .next-shell.is-ready .mix-page .mix-ai-entry:focus-visible,
  .next-shell.is-ready .mix-page .mix-hub-manage > taro-button-core:focus-visible,
  .next-shell.is-ready .mix-page > .mix-tabs > taro-button-core:focus-visible {
    outline: 3px solid #70aaff;
    outline-offset: -3px;
  }
}

/*
 * Give the AI entry its own card instead of stretching it across a wide monitor. The right column stacks the
 * other mode and the task/work counts, about the hero's height, so both columns end together. Rows stay
 * content-sized: the scroll view has a fixed height, and a flexible row would stretch the whole grid to it.
 */
@media (min-width: 768px) and (min-width: 1280px) {
  .next-shell.is-ready .mix-page .mix-hub-scroll {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: auto auto auto;
    gap: 14px 24px;
    align-content: start;
  }
  .next-shell.is-ready .mix-page .mix-hub-hero {
    grid-column: 1;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 30px;
  }
  .next-shell.is-ready .mix-page .mix-hub-title {
    margin-top: 12px;
    font-size: 32px;
  }
  .next-shell.is-ready .mix-page .mix-hub-copy {
    max-width: 420px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.85;
  }
  .next-shell.is-ready .mix-page .mix-hub-trust {
    margin-top: 20px;
    margin-bottom: 28px;
  }
  .next-shell.is-ready .mix-page .mix-hub-hero .mix-ai-entry {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: 0;
  }
  .next-shell.is-ready .mix-page .mix-hub-section-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: start;
  }
  .next-shell.is-ready .mix-page .mix-mode-list {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .next-shell.is-ready .mix-page .mix-mode-card {
    min-height: 146px;
    padding: 20px;
  }
  .next-shell.is-ready .mix-page .mix-mode-main {
    margin-left: 14px;
  }
  .next-shell.is-ready .mix-page .mix-mode-copy {
    margin-top: 6px;
  }
  .next-shell.is-ready .mix-page .mix-mode-tags {
    margin-top: 10px;
  }
  .next-shell.is-ready .mix-page .mix-context-note {
    grid-column: 1 / -1;
    grid-row: 4;
    margin: 2px 0 0;
  }
  .next-shell.is-ready .mix-page .mix-hub-manage {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    margin-top: 0;
    gap: 14px;
  }
  .next-shell.is-ready .mix-page .mix-hub-manage > taro-button-core {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 82px;
    padding: 16px 20px;
  }
  .next-shell.is-ready .mix-page .mix-hub-note {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 6px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell.is-ready .mix-page > .app-bar,
  .next-shell.is-ready .mix-page > .mix-tabs,
  .next-shell.is-ready .mix-page .mix-hub-scroll {
    width: calc(100% - 40px);
  }
  .next-shell.is-ready .mix-page > .mix-tabs {
    gap: 20px;
  }
  .next-shell.is-ready .mix-page .mix-hub-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }
  .next-shell.is-ready .mix-page .mix-hub-hero .mix-ai-entry {
    grid-column: 1;
    grid-row: auto;
    margin-top: 20px;
  }
  .next-shell.is-ready .mix-page .mix-mode-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .next-shell.is-ready .mix-page .mix-mode-card {
    min-height: 160px;
  }
  .next-shell.is-ready .mix-page .mix-hub-manage {
    gap: 12px;
  }
  .next-shell.is-ready .mix-page .mix-hub-manage > taro-button-core {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
  .next-shell.is-ready .mix-page .mix-manage-value,
  .next-shell.is-ready .mix-page .mix-manage-label,
  .next-shell.is-ready .mix-page .mix-manage-copy {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Desktop mix configuration: presentation only; retain shared form state and mobile UI. */
@media (min-width: 768px) {
  /* Keep the form and its final action on one desktop reading grid. */
  .next-shell.is-ready .mix-page .mix-scroll:has(.mix-create-button) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-content: start;
    gap: 16px;
    width: 100%;
    max-width: 1040px;
    margin-inline: auto;
    padding: 0 24px 40px;
  }
  .next-shell.is-ready .mix-page .mix-scroll:has(.mix-create-button) > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .next-shell.is-ready .mix-page .mix-scroll:has(.mix-create-button) > .mix-section {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(40, 65, 96, 0.035);
  }
  .next-shell.is-ready .mix-page .mix-scroll > .mix-submit-summary {
    grid-column: 1;
    margin: 0;
    min-height: 76px;
    box-sizing: border-box;
  }
  .next-shell.is-ready .mix-page .mix-scroll > .mix-create-button {
    grid-column: 2;
    align-self: center;
    width: 100%;
    margin: 0;
    border-radius: 12px;
  }
  .next-shell.is-ready .mix-page .mix-scroll > .mix-submit-footnote {
    margin: -4px 0 8px;
    text-align: left;
    line-height: 1.7;
  }
  .next-shell.is-ready .mix-page .mix-section > .mix-setting-row {
    justify-content: flex-start;
    gap: 24px;
  }
  .next-shell.is-ready .mix-page .mix-section > .mix-setting-row > taro-view-core:first-child {
    flex: 0 1 420px;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-chip-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-chip-row > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    min-height: 40px;
    margin: 0;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 22px;
    box-shadow: none;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-chip-row > .selected {
    background: #eaf3ff;
    border-color: #2477e8;
    color: #145caf;
    font-weight: 650;
    box-shadow: inset 0 0 0 1px #2477e8;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-field-label,
  .next-shell.is-ready .mix-page .mix-section .mix-setting-title {
    font-size: 14px;
    line-height: 1.6;
    color: #38516f;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-text-input,
  .next-shell.is-ready .mix-page .mix-section .mix-textarea {
    font-size: 15px;
    line-height: 1.75;
  }
  .next-shell.is-ready .mix-page .mix-section > .mix-text-input {
    max-width: 640px;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-title-style-trigger,
  .next-shell.is-ready .mix-page .mix-section .mix-music-entry {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-inline-options:has(> .mix-subtitle-style-trigger) {
    max-width: none;
    box-sizing: border-box;
    padding: 0;
    background: transparent;
  }
  .next-shell.is-ready .mix-page .mix-inline-options:has(> .mix-digital-voice) {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px 20px;
    margin: 12px 0 22px;
    padding: 22px;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    background: #f7f9fc;
  }
  .next-shell.is-ready .mix-page .mix-inline-options:has(> .mix-digital-voice) > .mix-field-label {
    grid-column: 1;
    align-self: center;
    margin: 0;
  }
  .next-shell.is-ready .mix-page .mix-inline-options:has(> .mix-digital-voice) > .mix-chip-row {
    grid-column: 2;
    align-items: center;
  }
  .next-shell.is-ready .mix-page .mix-inline-options:has(> .mix-digital-voice) > .mix-option-explanation {
    grid-column: 2;
    max-width: 680px;
    margin: -6px 0 0;
    font-size: 13px;
    line-height: 1.7;
  }
  .next-shell.is-ready .mix-page .mix-inline-options > .mix-digital-voice {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px 20px;
    margin: 6px 0;
    padding: 16px 0;
    border-top: 1px solid #e3eaf3;
    border-bottom: 1px solid #e3eaf3;
  }
  .next-shell.is-ready .mix-page .mix-digital-voice > .mix-digital-label {
    grid-column: 1;
    align-self: center;
    margin: 0;
    font-size: 14px;
  }
  .next-shell.is-ready .mix-page .mix-digital-voice > .mix-digital-tabs {
    grid-column: 2;
    width: 100%;
    max-width: 480px;
  }
  .next-shell.is-ready .mix-page .mix-digital-tabs > taro-button-core {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    line-height: 22px;
  }
  .next-shell.is-ready .mix-page .mix-digital-voice > .mix-digital-panel {
    grid-column: 2;
    min-width: 0;
    max-width: 680px;
    padding-top: 0;
  }
  .next-shell.is-ready .mix-page .mix-inline-options > .mix-voice-heading {
    grid-column: 1;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    gap: 6px;
    margin: 0;
    padding-top: 6px;
  }
  .next-shell.is-ready .mix-page .mix-voice-heading > .mix-field-label {
    margin: 0;
  }
  .next-shell.is-ready .mix-page .mix-inline-options > .mix-voice-mode-row {
    grid-column: 2;
    width: 100%;
    max-width: 480px;
    margin: 0;
  }
  .next-shell.is-ready .mix-page .mix-voice-mode-row > taro-button-core {
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 10px;
  }
  .next-shell.is-ready .mix-page .mix-inline-options > .mix-voice-entry {
    grid-column: 2;
    max-width: 680px;
    margin: 0;
    background: #fff;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-chip-row > taro-button-core:focus-visible,
  .next-shell.is-ready .mix-page .mix-digital-tabs > taro-button-core:focus-visible,
  .next-shell.is-ready .mix-page .mix-voice-mode-row > taro-button-core:focus-visible {
    outline: 3px solid #75abef;
    outline-offset: 2px;
  }
}
@media (min-width: 768px) and (min-width: 1200px) {
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 14px 24px;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > * {
    grid-column: 2;
    min-width: 0;
    margin: 0;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-section-heading,
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-writer-entry {
    grid-column: 1 / -1;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-field-heading,
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-field-label {
    grid-column: 1;
    align-self: start;
    padding-top: 10px;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-field-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-setting-row {
    grid-column: 1 / -1;
    min-height: 62px;
    margin-top: 6px;
    padding: 10px 0;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-setting-row > taro-view-core:first-child {
    flex: 0 1 420px;
  }
  .next-shell.is-ready .mix-page .mix-section:has(> .mix-headline-textarea) > .mix-inline-options:has(> .mix-digital-voice) {
    padding: 18px;
    column-gap: 16px;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell.is-ready .mix-page .mix-scroll:has(.mix-create-button) {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 20px;
  }
  .next-shell.is-ready .mix-page .mix-scroll > .mix-submit-summary,
  .next-shell.is-ready .mix-page .mix-scroll > .mix-create-button {
    grid-column: 1 / -1;
  }
  .next-shell.is-ready .mix-page .mix-scroll > .mix-create-button {
    justify-self: end;
    max-width: 260px;
  }
  .next-shell.is-ready .mix-page .mix-inline-options:has(> .mix-digital-voice),
  .next-shell.is-ready .mix-page .mix-inline-options > .mix-digital-voice {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 14px;
  }
  .next-shell.is-ready .mix-page .mix-inline-options:has(> .mix-digital-voice) {
    padding: 16px;
  }
  .next-shell.is-ready .mix-page .mix-section .mix-chip-row > taro-button-core {
    min-width: 76px;
    padding-inline: 12px;
  }
}

/* Desktop content discovery polish. Keep the shared mobile page and actions intact. */
@media (min-width: 768px) {
  .next-shell.is-ready .content-page .app-bar {
    background: #f8faff;
  }

  .next-shell.is-ready .content-page .creation-hub-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .next-shell.is-ready .content-page .creation-shortcut-grid,
  .next-shell.is-ready .content-page .creation-video-grid {
    display: contents;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card {
    display: flex;
    min-height: 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 14px;
    box-shadow: none;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-head {
    flex-direction: column;
    align-self: stretch;
    align-items: flex-start;
    gap: 0;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card .creation-entry-visual {
    width: 56px;
    height: 48px;
    flex: 0 0 48px;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-icon {
    width: 56px;
    height: 48px;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-title {
    margin-top: 8px;
    font-size: 16px;
    line-height: 24px;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-description {
    min-height: 42px;
    margin-top: 4px;
    font-size: 13px;
    line-height: 21px;
  }

  .next-shell.is-ready .content-page .discovery-section {
    padding: 16px;
    background: #fff;
    box-shadow: none;
  }

  .next-shell.is-ready .content-page .content-opportunity-heading {
    align-items: center;
    margin: 18px 0 14px;
  }

  .next-shell.is-ready .content-page .content-opportunity-heading > :first-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .next-shell.is-ready .content-page .content-section-subtitle,
  .next-shell.is-ready .content-page .discovery-description {
    font-size: 13px;
    line-height: 21px;
  }

  .next-shell.is-ready .content-page .content-opportunity-heading .change-topics {
    width: auto;
    min-width: 76px;
    height: 36px;
    min-height: 36px;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    padding: 0 12px;
    border: 1px solid #dce7f7;
    border-radius: 9px;
    background: #f8faff;
    line-height: 34px;
    font-weight: 600;
  }

  .next-shell.is-ready .content-page .topic-list {
    gap: 16px;
  }

  .next-shell.is-ready .content-page .hotspot-video-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    min-height: 204px;
    box-sizing: border-box;
    padding: 14px;
    border-color: #e1e8f2;
    border-radius: 14px;
    box-shadow: none;
  }

  .next-shell.is-ready .content-page .hotspot-video-visual {
    height: 176px;
    min-height: 176px;
    align-self: start;
  }

  .next-shell.is-ready .content-page .hotspot-video-cover-button,
  .next-shell.is-ready .content-page .hotspot-video-player,
  .next-shell.is-ready .content-page .hotspot-video-cover-placeholder {
    min-height: 176px;
    height: 176px;
    border-radius: 10px;
  }

  .next-shell.is-ready .content-page .hotspot-video-copy {
    position: relative;
    gap: 5px;
  }

  .next-shell.is-ready .content-page .hotspot-video-title,
  .next-shell.is-ready .content-page .hotspot-video-description.is-primary {
    font-size: 15px;
    line-height: 23px;
    font-weight: 600;
    -webkit-line-clamp: 2;
  }

  .next-shell.is-ready .content-page .hotspot-video-description,
  .next-shell.is-ready .content-page .hotspot-video-author,
  .next-shell.is-ready .content-page .hotspot-video-metric,
  .next-shell.is-ready .content-page .hotspot-video-metric > :last-child,
  .next-shell.is-ready .content-page .hotspot-video-source-row {
    font-size: 13px;
    line-height: 20px;
  }

  .next-shell.is-ready .content-page .hotspot-video-metrics {
    gap: 14px;
  }

  .next-shell.is-ready .content-page .hotspot-video-source-row {
    margin-top: 0;
  }

  .next-shell.is-ready .content-page .hotspot-video-source-action {
    position: absolute;
    right: 132px;
    bottom: 0;
    height: 36px;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    color: #65768d;
    font-size: 13px;
    line-height: 36px;
  }

  .next-shell.is-ready .content-page .hotspot-video-actions {
    min-height: 36px;
    justify-content: flex-end;
    padding-top: 8px;
  }

  .next-shell.is-ready .content-page .hotspot-video-actions .hotspot-video-analyze {
    width: 120px;
    min-width: 120px;
    height: 36px;
    min-height: 36px;
    flex: 0 0 120px;
    box-sizing: border-box;
    padding: 0 12px;
    gap: 7px;
    color: #2164d8;
    background: #edf4ff;
    border: 1px solid #ccddfa;
    border-radius: 9px;
    box-shadow: none;
    font-size: 13px;
    line-height: 34px;
    font-weight: 600;
  }

  .next-shell.is-ready .content-page .hotspot-video-analyze > * {
    font-size: 13px;
    line-height: 20px;
  }

  .next-shell.is-ready .content-page .hotspot-video-analyze-icon {
    width: 16px;
    height: 16px;
    transform: none;
  }

  /* 工具卡整卡可点：悬停上浮、描边与标题转主题色，让用户看出能点。 */
  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-icon,
  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-title {
    transition: transform 0.18s ease, color 0.18s ease;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:hover {
    border-color: color-mix(in srgb, var(--creation-accent) 42%, #fff);
    box-shadow: 0 10px 24px rgba(36, 66, 106, 0.12);
    transform: translateY(-3px);
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:hover .creation-entry-icon {
    transform: scale(1.08);
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:hover .creation-entry-title {
    color: var(--creation-accent);
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:active {
    transform: translateY(-1px);
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:focus-visible {
    outline: 2px solid var(--creation-accent);
    outline-offset: 2px;
  }

  .next-shell.is-ready .content-page .hotspot-video-analyze:hover {
    background: #e2edff;
    border-color: #aac7f7;
  }

  .next-shell.is-ready .content-page .hotspot-video-source-action:hover {
    color: #2164d8;
    background: #f2f6fc;
  }

  /* 热点区可点元素的悬停反馈；整张视频卡本身不可点，不做整卡上浮。 */
  .next-shell.is-ready .content-page .discovery-tabs > :not(.active),
  .next-shell.is-ready .content-page .industry-filters > :not(.active),
  .next-shell.is-ready .content-page .discovery-profile-link,
  .next-shell.is-ready .content-page .content-opportunity-heading .change-topics,
  .next-shell.is-ready .content-page .hotspot-video-analyze,
  .next-shell.is-ready .content-page .hotspot-video-source-action {
    transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  }

  .next-shell.is-ready .content-page .discovery-tabs > :not(.active):hover {
    color: #2164d8;
    background: rgb(255 255 255 / 62%);
  }

  .next-shell.is-ready .content-page .industry-filters > :not(.active):hover {
    color: #2164d8;
    border-color: #aac7f7;
  }

  .next-shell.is-ready .content-page .discovery-profile-link:hover {
    color: #1a52b8;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .next-shell.is-ready .content-page .content-opportunity-heading .change-topics:not([disabled]):hover,
  .next-shell.is-ready .content-page .content-opportunity-heading .change-topics[disabled="false"]:hover {
    background: #e8f0ff;
    border-color: #aac7f7;
  }

  /* 封面可点播放：放大封面并强调播放按钮。 */
  .next-shell.is-ready .content-page .hotspot-video-cover,
  .next-shell.is-ready .content-page .hotspot-video-play-badge {
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .next-shell.is-ready .content-page .hotspot-video-cover-button:hover .hotspot-video-cover {
    transform: scale(1.05);
  }

  .next-shell.is-ready .content-page .hotspot-video-cover-button:hover .hotspot-video-play-badge {
    background: #2367e5;
    transform: translate(-50%, -50%) scale(1.15);
  }

  .next-shell.is-ready .content-page .hotspot-video-cover-button:focus-visible,
  .next-shell.is-ready .content-page .discovery-tabs > :focus-visible,
  .next-shell.is-ready .content-page .hotspot-video-analyze:focus-visible,
  .next-shell.is-ready .content-page .hotspot-video-source-action:focus-visible,
  .next-shell.is-ready .content-page .change-topics:focus-visible,
  .next-shell.is-ready .content-page .discovery-profile-link:focus-visible {
    outline: 2px solid #2368dc;
    outline-offset: 3px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .next-shell.is-ready .content-page .topic-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-shell.is-ready .content-page .creation-hub-compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .next-shell.is-ready .content-page .creation-shortcut-grid .creation-entry-card {
    grid-column: span 3;
  }

  .next-shell.is-ready .content-page .creation-video-grid .creation-entry-card {
    grid-column: span 2;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card,
  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-icon,
  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-title {
    transition: none;
  }

  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:hover,
  .next-shell.is-ready .content-page .creation-hub-compact .creation-entry-card:hover .creation-entry-icon,
  .next-shell.is-ready .content-page .hotspot-video-cover-button:hover .hotspot-video-cover {
    transform: none;
  }

  .next-shell.is-ready .content-page .hotspot-video-cover-button:hover .hotspot-video-play-badge {
    transform: translate(-50%, -50%);
  }
}

/* Desktop hotspot analysis: presentation only; mobile and business flow stay unchanged. */
@media (min-width: 768px) {
  .next-shell.is-ready .content-detail-page:has(.hotspot-detail-body) > .app-bar {
    /* The Taro page scroller already starts below the workspace top bar. */
    top: 0;
    background: #f8faff;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-body {
    box-sizing: border-box;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 28px 40px;
    gap: 20px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-media {
    height: 360px;
    border-radius: 16px;
    box-shadow: none;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-cover img,
  .next-shell.is-ready .content-detail-page .hotspot-detail-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-body > .detail-section {
    box-sizing: border-box;
    min-width: 0;
    padding: 22px;
    border-color: #e0e7f1;
    border-radius: 16px;
    box-shadow: 0 4px 16px #243c6105;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-body .detail-section-heading > :first-child {
    color: #20334e;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-body .detail-section-heading > :nth-child(2) {
    font-size: 13px;
    line-height: 22px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-content.is-primary,
  .next-shell.is-ready .content-detail-page .hotspot-detail-title {
    font-size: 16px;
    line-height: 27px;
    overflow-wrap: anywhere;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-author {
    margin-top: 12px;
    font-size: 13px;
    line-height: 22px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-metrics {
    margin-top: 14px;
    gap: 22px;
    font-size: 14px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-source-link {
    width: 100%;
    min-height: 40px;
    margin-top: 18px;
    font-size: 14px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-result {
    gap: 20px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-intro,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-overview,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-hook > :not(.hotspot-analysis-block-title),
  .next-shell.is-ready .content-detail-page .hotspot-analysis-structure-item > :last-child > *,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-shot > :not(.hotspot-analysis-shot-heading),
  .next-shell.is-ready .content-detail-page .hotspot-analysis-notes > * > *,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-methods > *,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-methods > :last-child > * {
    font-size: 14px;
    line-height: 25px;
    overflow-wrap: anywhere;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-block-title {
    font-size: 16px;
    line-height: 26px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-overview,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-hook,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-shot,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-methods {
    padding: 16px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-shot-heading {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #edf1f7;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-shot-heading > :first-child {
    font-size: 15px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-shot-list,
  .next-shell.is-ready .content-detail-page .hotspot-analysis-block {
    gap: 12px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-panel {
    gap: 12px;
  }
  .next-shell.is-ready .content-detail-page taro-textarea-core.hotspot-rewrite-input {
    height: auto;
    min-height: 180px;
    padding: 0;
    background: #fff;
    border: 1px solid #ccd9eb;
    transition: border-color 150ms ease, box-shadow 150ms ease;
  }
  /* Target native controls here: the shared Taro build rewrites textarea/input selectors. */
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-input > textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    min-height: 180px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: inherit;
    outline: 0;
    background: transparent;
    color: #20334e;
    font: inherit;
    font-size: 14px;
    line-height: 24px;
    resize: vertical;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-input > textarea::placeholder {
    color: #8190a5;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-seconds {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    line-height: 22px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-seconds > taro-input-core {
    box-sizing: border-box;
    flex: 0 0 88px;
    width: 88px;
    height: 42px;
    padding: 0;
    border: 1px solid #ccd9eb;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-seconds > taro-input-core > input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: inherit;
    outline: 0;
    background: transparent;
    color: #20334e;
    font: inherit;
  }
  .next-shell.is-ready .content-detail-page taro-textarea-core.hotspot-rewrite-input:focus-within,
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-seconds > taro-input-core:focus-within {
    outline: 0;
    border-color: #3278ee;
    box-shadow: 0 0 0 3px #3278ee1a;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-hint,
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-mode-hint {
    font-size: 13px;
    line-height: 22px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-rewrite-modes > * {
    padding: 16px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-source-link:focus-visible,
  .next-shell.is-ready .content-detail-page .hotspot-detail-play-button:focus-visible {
    outline: 3px solid #91b9fb;
    outline-offset: -3px;
  }
}

@media (min-width: 1024px) {
  .next-shell.is-ready .content-detail-page .hotspot-detail-body {
    --hotspot-preview-width: clamp(280px, 25vw, 360px);
    --hotspot-column-gap: 24px;
    /* Independent column heights without changing the mobile DOM or tab order. */
    display: flow-root;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-media,
  .next-shell.is-ready .content-detail-page .hotspot-detail-copy-card {
    float: left;
    clear: left;
    width: var(--hotspot-preview-width);
    margin: 0 0 18px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-media {
    height: 420px;
  }
  .next-shell.is-ready .content-detail-page .hotspot-detail-body > :not(.hotspot-detail-media):not(.hotspot-detail-copy-card) {
    margin: 0 0 20px calc(var(--hotspot-preview-width) + var(--hotspot-column-gap));
  }
  .next-shell.is-ready .content-detail-page .hotspot-analysis-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1440px) {
  .next-shell.is-ready .content-detail-page .hotspot-analysis-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop-only presentation of the shared digital-human editor. */
@media (min-width: 768px) {
  .next-shell.is-ready .avatar-workspace-page > .app-bar {
    position: static; top: auto; width: 100%; max-width: 1400px; min-height: 88px;
    margin: 0 auto; padding: 16px 24px; box-sizing: border-box; border-bottom: 0; background: #f8faff;
  }
  .next-shell.is-ready .avatar-workspace-page .app-bar-title { line-height: 32px; }
  .next-shell.is-ready .avatar-workspace-page .app-bar-subtitle { white-space: normal; }
  .next-shell.is-ready .avatar-workspace-page.page-with-primary-dock { padding-bottom: 88px; }
  .next-shell.is-ready .avatar-workspace-page .video-body {
    display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px;
    width: 100%; max-width: 1400px; padding: 0 24px 24px; margin: 0 auto; box-sizing: border-box;
  }
  .next-shell.is-ready .avatar-workspace-page .video-body > * { min-width: 0; margin: 0; }
  .next-shell.is-ready .avatar-workspace-page .video-config-card { padding: 18px; border-radius: 14px; box-shadow: 0 3px 14px #203f6806; }
  .next-shell.is-ready .avatar-workspace-page .video-section-heading { gap: 12px; margin-bottom: 12px; align-items: flex-start; }
  .next-shell.is-ready .avatar-workspace-page .video-section-heading > taro-view-core { min-width: 0; }
  .next-shell.is-ready .avatar-workspace-page .video-section-title { font-size: 16px; line-height: 24px; font-weight: 650; }
  .next-shell.is-ready .avatar-workspace-page .video-section-help { margin-top: 4px; font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-workbench-hero { padding: 18px 20px; border-radius: 14px; box-shadow: none; }
  .next-shell.is-ready .avatar-workspace-page .avatar-workbench-title { font-size: 18px; line-height: 28px; font-weight: 650; text-wrap: balance; }
  .next-shell.is-ready .avatar-workspace-page .avatar-workbench-copy { font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .avatar-workspace-page .benchmark-mode-row { gap: 10px; }
  .next-shell.is-ready .avatar-workspace-page .benchmark-mode-row > taro-button-core { min-height: 40px; padding: 8px 12px; font-size: 13px; line-height: 22px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-flow-stepper { padding: 10px 12px; box-shadow: none; }
  .next-shell.is-ready .avatar-workspace-page .avatar-flow-stepper > taro-view-core { flex-direction: row; justify-content: center; gap: 8px; background: #fff; }
  .next-shell.is-ready .avatar-workspace-page .avatar-flow-stepper::before { top: 24px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
    max-height: 550px; overflow-y: auto; padding: 2px; box-sizing: border-box;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-choice-cover { height: 190px; aspect-ratio: auto; background: #182231; }
  .next-shell.is-ready .avatar-workspace-page .avatar-choice-poster > img {
    position: static; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    transform: none; object-fit: contain; object-position: center;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-choice-info { padding: 10px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-choice-name { font-size: 14px; line-height: 21px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-choice-hint { font-size: 12px; line-height: 18px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-choice-check { font-size: 12px; line-height: 18px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-add-asset { margin-top: 12px; min-height: 38px; font-size: 13px; line-height: 22px; padding: 7px 10px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-manage-entry { min-height: 32px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-voice-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-voice-name { min-height: 42px; font-size: 14px; line-height: 21px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-voice-tick { font-size: 12px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-voice-audition { min-height: 34px; font-size: 13px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-script-input { height: 240px; min-height: 240px; padding: 14px; font-size: 15px; line-height: 1.75; background: #fafbfe; }
  .next-shell.is-ready .avatar-workspace-page .avatar-script-input .taro-textarea { height: 100%; min-height: 0; line-height: inherit; }
  .next-shell.is-ready .avatar-workspace-page .avatar-script-tools { justify-content: flex-end; }
  .next-shell.is-ready .avatar-workspace-page .video-choice-section { margin-top: 18px; }
  .next-shell.is-ready .avatar-workspace-page .choice-row { justify-content: flex-start; }
  .next-shell.is-ready .avatar-workspace-page .choice-row > taro-button-core { min-width: 112px; min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-language-settings { margin: 16px 0; padding: 12px 0 0; }
  .next-shell.is-ready .avatar-workspace-page .avatar-subtitle-toggle > taro-button-core {
    flex: none; width: 48px; min-width: 48px; height: 28px; min-height: 28px; max-height: 28px;
    margin: 8px 0; padding: 0; line-height: normal; box-sizing: border-box;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-subtitle-toggle > taro-button-core > taro-text-core { width: 22px; height: 22px; top: 3px; left: 3px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-subtitle-toggle > taro-button-core.on > taro-text-core { transform: translateX(20px); }
  .next-shell.is-ready .avatar-workspace-page .video-safety-note { padding: 14px 18px; font-size: 13px; line-height: 21px; }
  .next-shell.is-ready .avatar-workspace-page .primary-dock { padding: 12px 24px; background: #fff; border-top: 1px solid #e2e9f3; }
  .next-shell.is-ready .avatar-workspace-page .primary-button { width: 280px; max-width: 100%; min-height: 44px; margin-left: auto; margin-right: 0; font-size: 15px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-language-mask { align-items: center; padding: 24px; box-sizing: border-box; }
  .next-shell.is-ready .avatar-workspace-page .avatar-language-sheet { border-radius: 18px; max-height: 80dvh; padding: 20px; }
  .next-shell.is-ready .avatar-workspace-page taro-button-core:focus-visible { outline: 2px solid #1769ff; outline-offset: 3px; }
}
@media (min-width: 1100px) {
  .next-shell.is-ready .avatar-workspace-page .video-body { grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.45fr); grid-template-rows: auto auto min-content 1fr; gap: 18px; }
  .next-shell.is-ready .avatar-workspace-page .video-body > * { grid-column: 1 / -1; }
  .next-shell.is-ready .avatar-workspace-page .avatar-workbench-hero { grid-column: 1 / -1; grid-row: 1; box-sizing: border-box; }
  .next-shell.is-ready .avatar-workspace-page .avatar-script-card:has(> .benchmark-mode-row) { grid-column: 2; grid-row: 1; height: 100%; box-sizing: border-box; }
  .next-shell.is-ready .avatar-workspace-page .avatar-flow-stepper { grid-row: 2; }
  .next-shell.is-ready .avatar-workspace-page .avatar-selection-card { grid-column: 1; grid-row: 3; }
  .next-shell.is-ready .avatar-workspace-page .avatar-voice-card { grid-column: 1; grid-row: 4; }
  .next-shell.is-ready .avatar-workspace-page .avatar-script-card:has(> .avatar-script-input) { grid-column: 2; grid-row: 3 / span 2; }
  .next-shell.is-ready .avatar-workspace-page .avatar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Taro's host and native textarea must share one bounded editing box. */
@media (min-width: 768px) {
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-backdrop {
    align-items: center; padding: 24px; box-sizing: border-box;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-sheet {
    width: 720px; max-width: 100%; height: auto; max-height: calc(100dvh - 48px);
    border-radius: 18px; box-shadow: 0 24px 80px #10243c30;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-header { flex: none; padding: 18px 20px 14px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-scroll {
    flex: 0 1 auto; min-width: 0; min-height: 0; padding: 18px 20px;
    overflow-y: auto; overflow-x: hidden; box-sizing: border-box;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-modes { margin-bottom: 18px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-input,
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-result {
    display: flex; flex-direction: column; width: 100% !important; min-width: 0;
    height: 180px !important; min-height: 0; padding: 14px; box-sizing: border-box;
    overflow: hidden; resize: none; font-size: 15px; line-height: 1.7;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-result { height: 260px !important; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-input .taro-textarea,
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-result .taro-textarea {
    display: block; flex: 1; width: 100% !important; max-width: 100%; min-width: 0;
    height: 100% !important; min-height: 0 !important; max-height: 100%;
    padding: 0 !important; margin: 0; border: 0; box-sizing: border-box;
    resize: none; overflow-y: auto; overflow-x: hidden; background: transparent;
    color: inherit; font-size: 15px !important; line-height: 1.7 !important;
    white-space: pre-wrap; overflow-wrap: anywhere; outline: none;
  }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-input:focus-within { border-color: #5b91fa; box-shadow: 0 0 0 3px #1769ff14; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-duration { margin: 16px 0; gap: 8px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-duration > taro-text-core { margin-right: 4px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-duration > taro-button-core { min-height: 36px; height: 36px; padding: 6px 12px; font-size: 13px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-context { margin-bottom: 0; padding: 14px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-preview { padding: 16px; }
  .next-shell.is-ready .avatar-workspace-page .avatar-writer-footer { flex: none; padding: 14px 20px 18px; }
}

/* PC presentation for the existing standard/digital-human record page only.
   Advanced task records and all phone styles remain owned by their original pages. */
@media (min-width: 768px) {
  .next-shell.is-ready .video-records-page > .app-bar {
    position: static; width: 100%; max-width: 1400px; min-height: 92px;
    margin: 0 auto; padding: 18px 24px; box-sizing: border-box; border-bottom: 0;
  }
  .next-shell.is-ready .video-records-page .app-bar-subtitle { white-space: normal; }
  .next-shell.is-ready .video-records-page .video-records-new {
    display: flex; align-items: center; justify-content: center;
    min-width: 88px; height: 38px; padding: 0 14px; line-height: 20px; border-radius: 10px;
  }
  .next-shell.is-ready .video-records-page .video-records-body {
    display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px;
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px 32px; box-sizing: border-box;
  }
  .next-shell.is-ready .video-records-page .video-records-body > * { min-width: 0; }
  .next-shell.is-ready .video-records-page .video-records-search { height: 42px; border-radius: 10px; box-shadow: none; }
  .next-shell.is-ready .video-records-page .video-records-search .weui-input { line-height: 42px; font-size: 14px; }
  .next-shell.is-ready .video-records-page .video-record-filter-scroll {
    width: 100%; min-width: 0; margin: 0; padding: 0; border: 0;
  }
  .next-shell.is-ready .video-records-page .video-record-filters { gap: 8px; }
  .next-shell.is-ready .video-records-page .video-record-filters > taro-button-core {
    flex: 0 0 auto; width: auto; margin: 0; min-height: 38px;
    padding: 0 14px; justify-content: center; border-radius: 10px; font-weight: 600;
  }
  .next-shell.is-ready .video-records-page .video-record-list {
    display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%; min-width: 0; gap: 18px; align-items: stretch;
  }
  .next-shell.is-ready .video-records-page .video-record-card {
    display: flex; flex-direction: column; width: 100%; min-width: 0; box-sizing: border-box;
    border-radius: 14px; box-shadow: 0 3px 14px rgba(28, 60, 96, .04);
    transition: border-color .15s, box-shadow .15s;
  }
  .next-shell.is-ready .video-records-page .video-record-card:hover {
    border-color: #b9cff0; box-shadow: 0 6px 20px rgba(28, 60, 96, .08);
  }
  .next-shell.is-ready .video-records-page .video-record-media {
    flex: none; height: 232px; min-height: 0; aspect-ratio: auto;
  }
  .next-shell.is-ready .video-records-page .video-record-cover { object-fit: contain; }
  .next-shell.is-ready .video-records-page .video-record-cover > img {
    position: static; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
    transform: none; object-fit: contain; object-position: center;
  }
  .next-shell.is-ready .video-records-page .video-record-player,
  .next-shell.is-ready .video-records-page .video-record-player video { width: 100%; height: 100%; object-fit: contain; }
  .next-shell.is-ready .video-records-page .video-record-media-action { padding: 0; gap: 8px; }
  .next-shell.is-ready .video-records-page .video-record-play-icon { width: 44px; height: 44px; }
  .next-shell.is-ready .video-records-page .video-record-play-icon .app-icon { width: 21px; height: 21px; }
  .next-shell.is-ready .video-records-page .video-record-media-action > taro-text-core { font-size: 13px; line-height: 20px; font-weight: 600; }
  .next-shell.is-ready .video-records-page .video-record-media-state { width: min(260px, calc(100% - 40px)); }
  .next-shell.is-ready .video-records-page .video-record-spinner,
  .next-shell.is-ready .video-records-page .video-record-failure-icon { width: 44px; height: 44px; }
  .next-shell.is-ready .video-records-page .video-record-media-state > taro-text-core:first-of-type { margin-top: 10px; font-size: 15px; line-height: 22px; }
  .next-shell.is-ready .video-records-page .video-record-media-progress { margin-top: 12px; }
  .next-shell.is-ready .video-records-page .video-record-media-badge { top: 10px; left: 10px; padding: 3px 8px; }
  .next-shell.is-ready .video-records-page .video-record-main {
    display: flex; flex: 1; flex-direction: column; padding: 14px; box-sizing: border-box;
  }
  .next-shell.is-ready .video-records-page .video-record-heading > taro-text-core {
    min-height: 44px; font-size: 15px; line-height: 22px; font-weight: 650; overflow-wrap: anywhere;
  }
  .next-shell.is-ready .video-records-page .video-record-stage { margin-top: 6px; font-size: 13px; line-height: 20px; }
  .next-shell.is-ready .video-records-page .video-record-tags { gap: 5px; margin-top: 9px; }
  .next-shell.is-ready .video-records-page .video-record-tags taro-text-core { padding: 2px 7px; font-size: 12px; line-height: 18px; }
  .next-shell.is-ready .video-records-page .video-record-footer { margin-top: auto; padding-top: 12px; color: #71849b; }
  .next-shell.is-ready .video-records-page .video-record-actions { gap: 6px; margin-top: 10px; padding-top: 10px; }
  .next-shell.is-ready .video-records-page .video-record-actions taro-button-core {
    flex-direction: row; width: 100%; min-height: 36px; height: 36px;
    margin: 0; padding: 0 5px; gap: 5px; border-radius: 8px; font-size: 12px; line-height: 18px; font-weight: 600;
  }
  .next-shell.is-ready .video-records-page .video-record-actions .app-icon { width: 16px; height: 16px; }
  .next-shell.is-ready .video-records-page .video-record-actions .action-delete { color: #986563; background: #fff; border-color: #e6eaf0; }
  .next-shell.is-ready .video-records-page .video-records-warning,
  .next-shell.is-ready .video-records-page .message-state { grid-column: 1 / -1; margin-top: 0; }
  .next-shell.is-ready .video-records-page .message-state { min-height: 220px; padding: 30px 20px; }
  .next-shell.is-ready .video-records-page taro-button-core:focus-visible { outline: 2px solid #1769ff; outline-offset: 2px; }
}
@media (min-width: 768px) and (max-width: 999px) {
  .next-shell.is-ready .video-records-page > .app-bar { padding-right: 16px; padding-left: 16px; }
  .next-shell.is-ready .video-records-page .video-records-body { padding-right: 16px; padding-left: 16px; }
  .next-shell.is-ready .video-records-page .video-record-list { gap: 12px; }
  .next-shell.is-ready .video-records-page .video-record-media { height: 216px; }
  .next-shell.is-ready .video-records-page .video-record-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .next-shell.is-ready .video-records-page .video-records-body { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); column-gap: 20px; }
  .next-shell.is-ready .video-records-page .video-record-filter-scroll { width: auto; justify-self: end; }
  .next-shell.is-ready .video-records-page .video-record-filters > taro-button-core { min-height: 42px; }
}
@media (min-width: 1280px) {
  .next-shell.is-ready .video-records-page .video-record-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Desktop task presentation only. Keep task state, order and all actions in the shared page. */
@media (min-width: 768px) {
  .next-shell.is-ready .mix-page .mix-task-scroll {
    box-sizing: border-box;
    width: calc(100% - 64px);
    max-width: 1120px;
    margin-inline: auto;
    padding: 0 0 40px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-task-header {
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid #e1e9f3;
    border-radius: 14px;
    background: #fff;
    color: #203b5d;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-task-title {
    font-size: 18px;
    line-height: 1.5;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-task-copy {
    color: #71829a;
    font-size: 13px;
    line-height: 1.6;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-refresh-button {
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #dce8f9;
    border-radius: 9px;
    background: #edf4ff;
    color: #2268c3;
    font-size: 13px;
    line-height: 34px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-filter-scroll {
    margin-bottom: 18px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-filter-row > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    min-width: 78px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 34px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-filter-row > .selected {
    border-color: #b6d1f6;
    background: #eaf3ff;
    color: #1763c0;
    font-weight: 650;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(42, 65, 94, 0.035);
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-main {
    flex: 1;
    min-width: 0;
    padding: 16px 18px 14px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-top {
    align-items: flex-start;
    gap: 12px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-title-wrap .mix-choice-title {
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: 15px;
    line-height: 1.5;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-template {
    margin-top: 4px;
    line-height: 1.5;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-status {
    padding: 3px 9px;
    border-radius: 7px;
    line-height: 22px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-task-metrics {
    margin-top: 12px;
    gap: 6px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-progress {
    height: 4px;
    margin-top: 12px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-bottom {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 16px;
    margin-top: 8px;
    line-height: 1.6;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-bottom > taro-text-core:last-child {
    margin-left: auto;
    white-space: nowrap;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-task-error,
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-task-lock {
    padding: 9px 11px;
    overflow-wrap: anywhere;
    line-height: 1.65;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fcfdff;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-actions > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    background: #fff;
    color: #496582;
    font-size: 13px;
    line-height: 32px;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-actions > taro-button-core:first-child {
    border-color: #d3e4fc;
    background: #edf4ff;
    color: #2168c5;
    font-weight: 600;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-actions > .mix-record-remove {
    margin-left: auto;
    border-color: transparent;
    background: transparent;
    color: #b25454;
  }
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-card:hover {
    border-color: #c6d8ee;
    box-shadow: 0 5px 18px rgba(42, 65, 94, 0.07);
  }
  .next-shell.is-ready .mix-page .mix-task-scroll taro-button-core:focus-visible {
    outline: 3px solid #86b4f1;
    outline-offset: -3px;
  }
}
@media (min-width: 768px) and (min-width: 1280px) {
  .next-shell.is-ready .mix-page .mix-task-scroll .mix-result-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell.is-ready .mix-page .mix-task-scroll {
    width: calc(100% - 40px);
  }
}

/* Works gallery on desktop: portrait films in portrait frames, more per row (my content keeps its own grid). */
@media (min-width: 768px) {
  .next-shell.is-ready .mix-page .mix-works-scroll .mix-work-list.unified-mix-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1100px) {
  .next-shell.is-ready .mix-page .mix-works-scroll .mix-work-list.unified-mix-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Desktop multi-shot workbench; shared fields, steps and mobile rendering stay intact. */
@media (min-width: 768px) {
  .next-shell.is-ready .kelai-app:has(> .mix-script-page) {
    min-height: 0;
  }
  .next-shell.is-ready .mix-script-page {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - var(--next-topbar));
    min-height: 0;
    padding-bottom: 0;
  }
  .next-shell.is-ready .mix-script-page > .app-bar,
  .next-shell.is-ready .mix-script-page > .script-step-bar,
  .next-shell.is-ready .mix-script-page > .script-scroll,
  .next-shell.is-ready .mix-script-page > .script-dock.script-steps-dock {
    box-sizing: border-box;
    width: calc(100% - 64px);
    max-width: 1040px;
    margin-inline: auto;
  }
  .next-shell.is-ready .mix-script-page > .app-bar {
    flex: 0 0 auto;
    padding: 16px 0;
    border-bottom: 0;
  }
  .next-shell.is-ready .mix-script-page > .script-step-bar {
    display: flex;
    gap: 16px;
    padding: 0;
    margin-bottom: 18px;
    border: 0;
    border-bottom: 1px solid #dfe7f1;
    border-radius: 0;
    background: transparent;
  }
  .next-shell.is-ready .mix-script-page .script-step-bar > taro-button-core {
    flex: 0 1 180px;
    width: auto;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-size: 14px;
    color: #647b96;
  }
  .next-shell.is-ready .mix-script-page .script-step-bar > .active {
    color: #1b65bd;
    border-bottom-color: #2477e8;
    font-weight: 650;
  }
  .next-shell.is-ready .mix-script-page .script-step-bar > .active > taro-text-core:first-child {
    background: #2477e8;
    color: #fff;
  }
  .next-shell.is-ready .mix-script-page > .script-scroll {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding: 0 0 20px;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
  .next-shell.is-ready .mix-script-page .script-scroll::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  .next-shell.is-ready .mix-script-page .script-bottom-spacer {
    height: 12px;
  }
  .next-shell.is-ready .mix-script-page > .script-dock.script-steps-dock {
    position: static;
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    min-height: 84px;
    padding: 16px 20px;
    border: 1px solid #e0e8f2;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 16px rgba(37, 59, 84, 0.045);
  }
  .next-shell.is-ready .mix-script-page .script-dock-summary > taro-text-core {
    white-space: normal;
    line-height: 1.6;
  }
  .next-shell.is-ready .mix-script-page .script-dock-buttons {
    align-items: center;
    gap: 10px;
  }
  .next-shell.is-ready .mix-script-page .script-dock-buttons > taro-button-core {
    flex: 0 0 auto;
    width: 100px;
    min-height: 44px;
    border-radius: 10px;
  }
  .next-shell.is-ready .mix-script-page .script-dock-buttons > .primary {
    flex: 0 0 auto;
    width: 200px;
  }
  .next-shell.is-ready .mix-script-page .script-card,
  .next-shell.is-ready .mix-script-page .script-shot-card {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(39, 65, 96, 0.035);
  }
  .next-shell.is-ready .mix-script-page .script-card {
    padding: 24px;
  }
  .next-shell.is-ready .mix-script-page .script-textarea > textarea {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    resize: none;
  }
  .next-shell.is-ready .mix-script-page .script-intro {
    padding: 14px 20px;
    border-radius: 14px;
  }
  .next-shell.is-ready .mix-script-page .script-chips > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    min-width: 92px;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: none;
  }
  .next-shell.is-ready .mix-script-page .script-chips > .selected {
    border-color: #8bb8f0;
    background: #eaf3ff;
    color: #1d62b3;
    font-weight: 600;
  }
  .next-shell.is-ready .mix-script-page .script-number-field {
    grid-template-columns: 36px minmax(60px, 1fr) 36px;
    max-width: 260px;
    gap: 6px;
  }
  .next-shell.is-ready .mix-script-page .script-number-field > taro-button-core {
    width: 36px;
  }
  .next-shell.is-ready .mix-script-page .script-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 680px;
  }
  .next-shell.is-ready .mix-script-page .script-spec {
    padding: 16px;
    border-radius: 12px;
  }
  .next-shell.is-ready .mix-script-page .script-target-input {
    box-sizing: border-box;
    height: 44px;
    font-size: 20px;
    font-variant-numeric: tabular-nums;
  }
  .next-shell.is-ready .mix-script-page .script-target-input > taro-input-core {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    outline: none;
  }
  .next-shell.is-ready .mix-script-page .script-target-input input {
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #173f73;
    font: inherit;
    line-height: normal;
    text-align: center;
    outline: none;
  }
  .next-shell.is-ready .mix-script-page .script-target-input:focus-within {
    border-color: #438bef;
    box-shadow: 0 0 0 3px rgba(36, 119, 232, 0.12);
  }
  .next-shell.is-ready .mix-script-page .script-shot-fields {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
  .next-shell.is-ready .mix-script-page .script-shot-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .next-shell.is-ready .mix-script-page .script-shot-tools > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 16px;
  }
  .next-shell.is-ready .mix-script-page .script-shot-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 18px;
  }
  .next-shell.is-ready .mix-script-page .script-shot-actions > taro-button-core {
    flex: 0 0 auto;
    width: auto;
    min-width: 72px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
  }
  .next-shell.is-ready .mix-script-page .script-add-shot {
    max-width: 360px;
    margin-inline: auto;
  }
  .next-shell.is-ready .mix-script-page .script-pool-thumbnails {
    max-width: 580px;
  }
  .next-shell.is-ready .mix-script-page .script-narration-controls {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px 20px;
    padding: 20px;
    margin-top: 14px;
  }
  .next-shell.is-ready .mix-script-page .script-narration-controls > * {
    grid-column: 2;
    min-width: 0;
    margin: 0;
  }
  .next-shell.is-ready .mix-script-page .script-narration-controls > .script-field-label {
    grid-column: 1;
    align-self: start;
    padding-top: 8px;
  }
  .next-shell.is-ready .mix-script-page .script-narration-controls > .mix-digital-voice,
  .next-shell.is-ready .mix-script-page .script-narration-controls > .script-slider-field {
    grid-column: 1 / -1;
  }
  .next-shell.is-ready .mix-script-page .script-narration-controls > .script-slider-field {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }
  .next-shell.is-ready .mix-script-page .script-slider-field .script-field-label {
    margin: 0;
  }
  .next-shell.is-ready .mix-script-page .script-slider-field > .script-field-label > taro-text-core {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
  }
  .next-shell.is-ready .mix-script-page .script-voice-mode-row {
    max-width: 480px;
  }
  .next-shell.is-ready .mix-script-page .script-switch-row > taro-view-core:first-child {
    flex: 0 1 420px;
  }
  .next-shell.is-ready .mix-script-page .script-switch-row {
    justify-content: flex-start;
    gap: 24px;
  }
  .next-shell.is-ready .mix-script-page .script-advanced .script-card {
    padding: 0;
  }
  .next-shell.is-ready .mix-script-page taro-button-core:focus-visible {
    outline: 3px solid #85b4ef;
    outline-offset: -3px;
  }
}
@media (min-width: 768px) and (min-width: 1200px) {
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-spec-grid),
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-textarea.title) {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 16px 24px;
  }
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-spec-grid) > *,
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-textarea.title) > * {
    grid-column: 2;
    min-width: 0;
    margin: 0;
  }
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-spec-grid) > .script-step-heading,
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-textarea.title) > .script-step-heading,
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-textarea.title) > .script-common-narration {
    grid-column: 1 / -1;
  }
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-spec-grid) > .script-field-label,
  .next-shell.is-ready .mix-script-page .script-card:has(> .script-textarea.title) > .script-field-label {
    grid-column: 1;
    align-self: start;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
  }
  .next-shell.is-ready .mix-script-page .script-common-narration > .script-style-entry,
  .next-shell.is-ready .mix-script-page .script-common-narration > .script-narration-controls {
    margin-left: 160px;
    width: calc(100% - 160px);
    box-sizing: border-box;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell.is-ready .mix-script-page > .app-bar,
  .next-shell.is-ready .mix-script-page > .script-step-bar,
  .next-shell.is-ready .mix-script-page > .script-scroll,
  .next-shell.is-ready .mix-script-page > .script-dock.script-steps-dock {
    width: calc(100% - 40px);
  }
  .next-shell.is-ready .mix-script-page .script-shot-fields {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 14px;
  }
  .next-shell.is-ready .mix-script-page > .script-dock.script-steps-dock {
    gap: 12px;
    padding: 12px;
  }
  .next-shell.is-ready .mix-script-page .script-dock-buttons > taro-button-core {
    width: 80px;
  }
  .next-shell.is-ready .mix-script-page .script-dock-buttons > .primary {
    width: 144px;
  }
}

/* Shared standard-voice dialog: all editing modes, desktop only. */
@media (min-width: 768px) {
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 {
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-sheet {
    width: min(100%, 1040px);
    max-width: 1040px;
    height: min(780px, calc(100dvh - 48px));
    max-height: calc(100dvh - 48px);
    padding: 24px 28px 20px;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgb(17 35 54 / 24%);
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-handle { display: none; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-picker-head { gap: 20px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-picker-title { font-size: 22px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-picker-subtitle { font-size: 13px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-search-box {
    flex-basis: 46px;
    margin: 18px 0 14px;
    border-radius: 12px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-search input {
    box-sizing: border-box;
    height: 44px;
    padding: 0;
    line-height: normal;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-categories {
    white-space: normal;
    overflow: visible;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-categories > :first-child {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-categories taro-button-core {
    min-height: 34px;
    padding: 0 14px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-toolbar { margin-top: 14px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-help { font-size: 12px; margin: 10px 0; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-results {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 2px 2px 0;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    padding: 0 2px 16px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-row {
    min-width: 0;
    padding-left: 12px;
    border-radius: 14px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-row:hover {
    border-color: #92b9ed;
    box-shadow: 0 3px 12px rgb(28 82 148 / 7%);
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-select {
    min-height: 100px;
    padding: 12px 10px;
    gap: 8px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-tags > *,
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-status { font-size: 12px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-footer {
    flex: 0 0 auto;
    gap: 24px;
    padding-top: 16px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-footer-copy > :last-child {
    max-width: none;
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-footer > taro-button-core.primary {
    flex: 0 0 180px;
    width: 180px !important;
    min-height: 46px;
    border-radius: 12px;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-language-notice {
    flex: 0 0 auto;
    max-height: 70px;
    overflow: auto;
    font-size: 12px;
    line-height: 1.6;
  }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 taro-button-core:focus-visible {
    outline: 2px solid #1762c4;
    outline-offset: 2px;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-sheet { padding: 20px; }
}
@media (min-width: 768px) and (max-height: 600px) {
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 { padding: 12px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-sheet { height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); padding: 14px 20px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-search-box { margin: 10px 0; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-toolbar { margin-top: 8px; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-help { margin: 6px 0; }
  .next-shell.is-ready .mix-voice-overlay.voice-picker-v2 .mix-voice-footer { padding-top: 10px; }
}

/* AI-assisted mix briefing: desktop presentation only, shared business form unchanged. */
@media (min-width: 768px) {
  .next-shell.is-ready .mix-page .mix-ai-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-content: start;
    gap: 18px 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1040px;
    margin-inline: auto;
    padding: 8px 24px 40px;
  }
  .next-shell.is-ready .mix-page .mix-ai-form > * { grid-column: 1 / -1; min-width: 0; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-back { justify-self: start; margin: 0; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-intro { margin: 0 0 4px; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-title { font-size: 24px; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-copy { font-size: 14px; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-card {
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgb(40 65 96 / 4%);
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-brief {
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    min-height: 0;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafd;
    font-size: 15px;
    line-height: 1.75;
  }
  /* Taro's host and the native editable element need an explicit shared height. */
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-brief > textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    resize: none;
    overflow-y: auto;
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-brief:focus-within,
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-number:focus-within {
    border-color: #2479eb;
    box-shadow: 0 0 0 3px rgb(36 121 235 / 12%);
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-brief > textarea:focus { outline: none; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-specs {
    max-width: 680px;
    gap: 20px;
    margin-top: 24px;
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-specs > * { min-width: 0; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-number {
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-number taro-input-core {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-number input {
    box-sizing: border-box;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: normal;
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-more {
    text-align: left;
    font-size: 13px;
    padding-top: 16px;
    margin-top: 22px;
  }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-options { padding-bottom: 4px; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-chips > taro-button-core { font-size: 13px; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-toggle { max-width: 680px; }
  .next-shell.is-ready .mix-page .mix-ai-form > .mix-ai-expect {
    grid-column: 1;
    margin: 0;
    align-self: center;
    font-size: 12px;
    line-height: 1.7;
  }
  /* Last in the form: beside the 「预计积分」 note on step 2, alone at the bottom right on step 1. A fixed row
     number put it above the source cards once the wizard added a step bar and cards. */
  .next-shell.is-ready .mix-page .mix-ai-form > .mix-ai-submit {
    grid-column: 2;
    align-self: center;
    width: 240px;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
  }
  .next-shell.is-ready .mix-page .mix-ai-form > .mix-ai-error { margin: 0; }
  .next-shell.is-ready .mix-page .mix-ai-form taro-button-core:focus-visible {
    outline: 2px solid #2479eb;
    outline-offset: 3px;
  }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .next-shell.is-ready .mix-page .mix-ai-form { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .next-shell.is-ready .mix-page .mix-ai-form .mix-ai-card { padding: 20px; }
  .next-shell.is-ready .mix-page .mix-ai-form > .mix-ai-submit { grid-column: 1; grid-row: auto; justify-self: end; }
}

/* Acquisition PC presentation only. is-ready is never enabled in the native App shell. */
@media (min-width: 768px) {
  .next-shell.is-ready .acquisition-page .acq-multi-overview .acq-platform-metrics-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: start; }
  .next-shell.is-ready .acquisition-page .acq-multi-overview .acq-platform-metrics { border: 1px solid #e8edf5; padding: 18px; border-radius: 14px; }
}
@media (min-width: 768px) {
  .next-shell.is-ready .acquisition-page { --acq-pc-width: 1240px; padding-bottom: 32px; }
  .next-shell.is-ready .acquisition-page > .app-bar { position: static; min-height: 88px; padding-inline: max(28px, calc((100% - 1184px) / 2)); }
  .next-shell.is-ready .acquisition-page > .growth-hub-nav { display: flex; width: 100%; max-width: var(--acq-pc-width); gap: 8px; margin: 16px auto 8px; padding: 0 28px; flex-wrap: wrap; }
  .next-shell.is-ready .acquisition-page > .growth-hub-nav > :is(button,taro-button-core) { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 42px; margin: 0; padding: 9px 18px; font-size: 14px; white-space: nowrap; }
  .next-shell.is-ready .acquisition-page .acquisition-body { width: 100%; max-width: var(--acq-pc-width); margin: 0 auto; padding: 16px 28px 36px; box-sizing: border-box; }
  .next-shell.is-ready .acquisition-page .acquisition-unified { min-height: 0; padding-bottom: 0; background: transparent; }
  .next-shell.is-ready .acquisition-page .acquisition-unified > :is(div,taro-view-core):first-child:not([style*="display: none"]) { display: flex !important; flex-direction: column; gap: 20px; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-nav { order: -1; position: static; inset: auto; display: flex; align-items: center; flex-wrap: wrap; width: 100%; min-height: 58px; gap: 6px; padding: 7px; box-sizing: border-box; border: 1px solid #e1e8f2; border-radius: 14px; background: #fff; box-shadow: none; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-nav > :is(button,taro-button-core) { display: inline-flex; flex: 0 1 auto; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-width: 108px; min-height: 42px; width: auto; margin: 0; padding: 9px 15px; border: 0; border-radius: 9px; color: #60738d; line-height: 22px; font-size: 14px; background: transparent; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-nav > :is(button,taro-button-core).active { color: #155bdf; background: #edf3ff; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-nav .acq-tab-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 24px; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-nav :is(span,taro-text-core) { white-space: nowrap; font-size: 14px; }
  .next-shell.is-ready .acquisition-page .acquisition-unified-brand { display: none; }
  .next-shell.is-ready .acquisition-page .acq-scenes { min-height: 0; background: transparent; }
  .next-shell.is-ready .acquisition-page .acq-scenes > .acq-page-title { height: auto; padding: 0 0 16px; background: transparent; font-size: 22px; }
  .next-shell.is-ready .acquisition-page .acq-scene-body { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; width: 100%; max-width: none; margin: 0; padding: 0; }
  .next-shell.is-ready .acquisition-page .acq-scene-banner { grid-column: 1/-1; margin: 0 0 4px; padding: 24px 28px; border: 1px solid #dce7fb; border-radius: 18px; gap: 8px; }
  .next-shell.is-ready .acquisition-page .acq-scene-banner > :is(span,taro-text-core):first-child { font-size: 12px; }
  .next-shell.is-ready .acquisition-page .acq-scene-banner > :is(span,taro-text-core):nth-child(2) { font-size: 25px; }
  .next-shell.is-ready .acquisition-page .acq-scene-banner > :is(span,taro-text-core):last-child { font-size: 14px; }
  .next-shell.is-ready .acquisition-page .acq-scene-card { display: flex; gap: 16px; min-width: 0; min-height: 128px; margin: 0; padding: 24px 20px; border-radius: 16px; cursor: pointer; transition: border-color .15s,box-shadow .15s; }
  .next-shell.is-ready .acquisition-page .acq-scene-card:hover { border-color: #a9c3f5; box-shadow: 0 6px 22px #245fcb0a; }
  .next-shell.is-ready .acquisition-page .acq-scene-copy { min-width: 0; }
  .next-shell.is-ready .acquisition-page .acq-scene-copy > :is(span,taro-text-core) { white-space: normal; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-body,
  .next-shell.is-ready .acquisition-page .acq-management,
  .next-shell.is-ready .acquisition-page .acq-home { width: 100%; max-width: none; padding: 0; margin: 0; box-sizing: border-box; }
  .next-shell.is-ready .acquisition-page .acq-management { display: flex; flex-direction: column; gap: 20px; }
  .next-shell.is-ready .acquisition-page .acq-task-card { max-width: none; padding: 24px; border-radius: 18px; }
  .next-shell.is-ready .acquisition-page .acq-workbench-tools { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .next-shell.is-ready .acquisition-page .acq-workbench-tools > :is(button,taro-button-core) { flex-direction: row; gap: 14px; min-height: 82px; font-size: 15px; }
  .next-shell.is-ready .acquisition-page .acq-record-stats { gap: 16px; }
  .next-shell.is-ready .acquisition-page .acq-record-metric { padding: 24px 16px; }
  .next-shell.is-ready .acquisition-page .acq-management-card { padding: 24px; border-radius: 16px; }
  .next-shell.is-ready .acquisition-page .acq-secondary { font-size: 14px; }
  .next-shell.is-ready .acquisition-page .acq-footnote,
  .next-shell.is-ready .acquisition-page .acq-state-pill { font-size: 12px; }
  .next-shell.is-ready .acquisition-page .acq-button-pair { display: flex; gap: 12px; }
  .next-shell.is-ready .acquisition-page .acq-button-pair > :is(button,taro-button-core) { width: auto; min-width: 160px; flex: 0 1 auto; }
  .next-shell.is-ready .acquisition-page .acq-readiness { margin: 0; }
  .next-shell.is-ready .acquisition-page .acq-compact-editor { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; min-height: 0; background: transparent; }
  .next-shell.is-ready .acquisition-page .acq-editor-top { position: static; grid-column: 1/-1; padding: 16px 20px 0; border: 1px solid #e1e8f2; border-radius: 16px; overflow: hidden; }
  .next-shell.is-ready .acquisition-page .acq-editor-heading { max-width: none; height: 52px; padding: 0; }
  .next-shell.is-ready .acquisition-page .acq-editor-heading > :is(span,taro-text-core) { flex: 1; }
  .next-shell.is-ready .acquisition-page .acq-editor-plan-row { max-width: none; padding: 8px 0 16px; }
  .next-shell.is-ready .acquisition-page .acq-config-tabs { display: flex; max-width: none; margin: 0; gap: 20px; }
  .next-shell.is-ready .acquisition-page .acq-config-tabs > :is(button,taro-button-core) { flex: 0 1 auto; min-width: 128px; padding: 15px 12px; }
  .next-shell.is-ready .acquisition-page .acq-config-body { grid-column: 1; grid-row: 2; width: 100%; max-width: none; padding: 0; min-width: 0; }
  .next-shell.is-ready .acquisition-page .acq-form-rows { margin: 0; padding: 4px 24px; border: 1px solid #e1e8f2; border-radius: 16px; }
  .next-shell.is-ready .acquisition-page .acq-form-row { min-height: 66px; gap: 20px; }
  .next-shell.is-ready .acquisition-page .acq-form-row.acq-keyword-row { display: flex; justify-content: space-between; width: 100%; margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; background: transparent; text-align: left; }
  .next-shell.is-ready .acquisition-page .acq-config-extra { margin: 18px 0; }
  .next-shell.is-ready .acquisition-page .acq-save-bar { grid-column: 1/-1; position: sticky; bottom: 0; inset-inline: auto; display: flex; justify-content: flex-end; gap: 12px; padding: 16px 20px; border: 1px solid #e1e8f2; border-radius: 14px; width: 100%; box-sizing: border-box; box-shadow: 0 -5px 20px #20395705; }
  .next-shell.is-ready .acquisition-page .acq-save-bar > :is(button,taro-button-core),
  .next-shell.is-ready .acquisition-page .acq-save-bar.acq-save-bar-executable > :is(button,taro-button-core) { flex: 0 1 auto; width: auto; min-width: 150px; padding: 10px 22px; border-radius: 10px; font-size: 15px; }
  .next-shell.is-ready .acquisition-page .acq-save-bar :is(button,taro-button-core)[disabled]:not([disabled="false"]) { background: #edf1f6; border-color: #dce4ef; color: #7a8aa1; opacity: 1; cursor: not-allowed; }
  .next-shell.is-ready .acquisition-page .acq-sheet-mask { align-items: center; padding: 28px; box-sizing: border-box; }
  .next-shell.is-ready .acquisition-page .acq-sheet { border-radius: 20px; max-height: 82vh; padding: 24px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary { grid-column: 2; grid-row: 2; position: sticky; top: 84px; min-width: 0; padding: 22px; background: white; border: 1px solid #e1e8f2; border-radius: 16px; box-sizing: border-box; color: #263f5c; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary h2 { margin: 0; font-size: 17px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-heading > span { font-size: 12px; border-radius: 6px; padding: 4px 6px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary .is-dirty { color: #946118; background: #fff5df; }
  .next-shell.is-ready .acquisition-page .next-acq-summary .is-saved { color: #277564; background: #edf8f3; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-name { display: block; margin: 18px 0 16px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
  .next-shell.is-ready .acquisition-page .next-acq-summary dl { margin: 0; }
  .next-shell.is-ready .acquisition-page .next-acq-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid #edf1f6; }
  .next-shell.is-ready .acquisition-page .next-acq-summary dt { color: #6b7d93; }
  .next-shell.is-ready .acquisition-page .next-acq-summary dd { margin: 0; text-align: right; }
  .next-shell.is-ready .acquisition-page .next-acq-summary h3 { margin: 20px 0 10px; font-size: 14px; font-weight: 600; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-actions { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-actions > span { padding: 6px 9px; border-radius: 7px; color: #285eaa; background: #eef4ff; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-copy p { margin: 0; max-height: 120px; overflow: auto; overflow-wrap: anywhere; font-size: 13px; line-height: 1.8; color: #63758c; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-notice { margin-top: 22px; padding: 13px; background: #f3f7fc; border-radius: 10px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-notice strong { font-size: 13px; }
  .next-shell.is-ready .acquisition-page .next-acq-summary-notice p { margin: 8px 0 0; font-size: 12px; line-height: 1.8; color: #63758c; }
}
@media (min-width: 1200px) {
  .next-shell.is-ready .acquisition-page .acq-management:has(> .acq-workbench-task) { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 20px; }
  .next-shell.is-ready .acquisition-page .acq-management:has(> .acq-workbench-task) > * { grid-column: 1/-1; }
  .next-shell.is-ready .acquisition-page .acq-management > .acq-workbench-task { grid-column: 1; grid-row: 3; }
  .next-shell.is-ready .acquisition-page .acq-management > .acq-workbench-reception { grid-column: 2; grid-row: 3; }
  .next-shell.is-ready .acquisition-page .acq-workbench-reception .acq-permission-link { margin-top: auto; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .next-shell.is-ready .acquisition-page .acq-scene-body { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .next-shell.is-ready .acquisition-page .acq-compact-editor { grid-template-columns: minmax(0,1fr); }
  .next-shell.is-ready .acquisition-page .next-acq-summary { grid-column: 1; grid-row: 3; position: static; }
  .next-shell.is-ready .acquisition-page .acquisition-cloud-nav > :is(button,taro-button-core) { min-width: 0; padding-inline: 10px; }
}
