:root {
  --zh-space: #050812;
  --zh-panel: #0a1020;
  --zh-panel-soft: #10182d;
  --zh-line: rgba(135, 171, 226, .22);
  --zh-line-strong: rgba(132, 196, 255, .45);
  --zh-text: #eff5ff;
  --zh-muted: #a5b4ce;
  --zh-blue: #63b9ff;
  --zh-purple: #ad8cff;
}
html { background: var(--zh-space) !important; }
body.zh-cosmic {
  color: var(--zh-text) !important;
  background: radial-gradient(circle at 17% 18%, #15254a 0, transparent 31%),
    radial-gradient(circle at 78% 67%, #17112d 0, transparent 34%),
    linear-gradient(145deg, #040710, #080d1b 55%, #03060e) !important;
}
body.zh-cosmic::before {
  content: "";
  position: fixed;
  inset: -6%;
  pointer-events: none;
  z-index: 0;
  opacity: .42;
  background-image:
    radial-gradient(1px 1px at 21px 31px, #fff 95%, transparent),
    radial-gradient(1px 1px at 94px 116px, #a9d9ff 95%, transparent),
    radial-gradient(2px 2px at 192px 64px, #f3f8ff 85%, transparent),
    radial-gradient(1px 1px at 280px 214px, #d7bcff 95%, transparent),
    radial-gradient(1px 1px at 344px 149px, #fff 95%, transparent),
    radial-gradient(2px 2px at 405px 282px, #b8dcff 85%, transparent),
    radial-gradient(1px 1px at 525px 80px, #fff 95%, transparent);
  background-size: 570px 310px;
  animation: zhStarDrift 36s linear infinite alternate;
}
@keyframes zhStarDrift { to { transform: translate3d(-20px, 12px, 0); } }
body.zh-cosmic #root { position: relative; z-index: 1; background: transparent !important; }
body.zh-cosmic .app { background: transparent !important; }
body.zh-cosmic h1, body.zh-cosmic h2, body.zh-cosmic h3 { color: var(--zh-text); }
body.zh-cosmic :focus-visible { outline: 2px solid #79c7ff; outline-offset: 3px; }

.zh-storyboard-empty{position:relative;display:grid;justify-items:center;gap:10px;width:100%;box-sizing:border-box;padding:20px;color:#8da0bd;text-align:center;font-size:12px}
.zh-storyboard-empty small{max-width:100%;color:#ff9d9d;line-height:1.55;overflow-wrap:anywhere}
.zh-storyboard-progress{display:grid;grid-template-columns:minmax(90px,1fr) 42px;align-items:center;gap:8px;width:min(260px,100%)}
.zh-storyboard-progress>span{height:8px;overflow:hidden;border-radius:999px;background:#22324d;box-shadow:inset 0 1px 3px #0008}
.zh-storyboard-progress>span>i{display:block;height:100%;min-width:4%;border-radius:inherit;background:linear-gradient(90deg,#52a8ff,#a993ff);box-shadow:0 0 12px #64b7ff88;transition:width .35s ease}
.zh-storyboard-progress>em{color:#b9d8ff;font-size:11px;font-style:normal;font-variant-numeric:tabular-nums;text-align:right}
.zh-storyboard-generate:disabled{cursor:not-allowed!important;opacity:.58}
.zh-storyboard-generate:disabled:not(:hover){filter:saturate(.72)}
/* Shared account navigation */
body.zh-cosmic .floating-actions { z-index: 50; }
body.zh-cosmic .floating-actions .nav-right {
  background: #080d1c !important;
  border: 1px solid var(--zh-line-strong) !important;
  box-shadow: 0 14px 40px #0007, inset 0 1px #ffffff12 !important;
  backdrop-filter: none;
  color: var(--zh-text) !important;
}
body.zh-cosmic .floating-actions .nav-pill,
body.zh-cosmic .floating-actions .user-trigger,
body.zh-cosmic .zh-top-nav > a,
body.zh-cosmic .zh-top-nav > button { color: var(--zh-text) !important; }
body.zh-cosmic .floating-actions .nav-pill:hover,
body.zh-cosmic .floating-actions .user-trigger:hover,
body.zh-cosmic .zh-top-nav > a:hover,
body.zh-cosmic .zh-top-nav > button:hover { background: #76b9ff24 !important; }
body.zh-cosmic .floating-actions .user-dropdown {
  color: var(--zh-text) !important;
  background: #0d152c !important;
  border-color: var(--zh-line-strong) !important;
}
body.zh-cosmic .floating-actions .user-dropdown button { color: var(--zh-text) !important; }
body.zh-cosmic .user-avatar { background: linear-gradient(145deg, #4d6bda, #9f78f1) !important; }

/* A quiet home screen, with the operator's galaxy reference as the focal image. */
#zh-studio-landing {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: auto;
  isolation: isolate;
  background: radial-gradient(ellipse 78% 63% at 50% 40%, #102245 0, #070e22 52%, #03060e 100%);
  color: var(--zh-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
body:not([data-zh-studio="landing"]) #zh-studio-landing { display: none !important; }
body[data-zh-studio="landing"] #home { display: none !important; }
body[data-zh-studio="music"] #home,
body[data-zh-studio="image"] #home { display: none !important; }
#zh-studio-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, #060b18 0%, transparent 19%, #070e1c6b 67%, #040710 100%),
    url("/zh-galaxy.png") center 36% / min(920px, 72vw) auto no-repeat;
  opacity: .64;
}
#zh-studio-landing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .48;
  background-image:
    radial-gradient(1px 1px at 13% 19%, white 99%, transparent),
    radial-gradient(2px 2px at 22% 58%, #b8dfff 95%, transparent),
    radial-gradient(1px 1px at 44% 13%, white 99%, transparent),
    radial-gradient(2px 2px at 62% 24%, #c8c7ff 95%, transparent),
    radial-gradient(1px 1px at 72% 77%, white 99%, transparent),
    radial-gradient(2px 2px at 85% 45%, #b5e9ff 95%, transparent);
  animation: zhStarDrift 26s linear infinite alternate;
}
.zh-orbit-halo {
  position: absolute;
  width: min(680px, 65vw);
  height: min(680px, 65vw);
  left: 50%;
  top: 31%;
  transform: translate(-50%, -50%) rotate(-16deg);
  border: 1px solid #a3cfff1c;
  border-radius: 50%;
  box-shadow: 0 0 0 80px #649fff07, 0 0 0 190px #649fff04;
  pointer-events: none;
}
.zh-landing-shell { position: relative; width: min(1220px, calc(100% - 48px)); min-height: 100svh; margin: auto; padding: 28px 0 42px; box-sizing: border-box; display: flex; flex-direction: column; }
.zh-landing-brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 900; letter-spacing: .04em; }
.zh-landing-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #9cc7ff73; border-radius: 12px; background: linear-gradient(145deg, #1e3470, #402263); color: #d9e9ff; box-shadow: 0 0 22px #75aaff59; }
.zh-landing-brand small { display: block; margin-top: 2px; color: #8ba9d2; font-size: 9px; font-weight: 800; letter-spacing: .24em; }
.zh-landing-center { margin: auto 0 24px; text-align: center; padding-top: 54px; }
.zh-landing-kicker, .zh-page-kicker { display: inline-flex; align-items: center; gap: 8px; color: #aec9ee; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.zh-landing-kicker { padding: 8px 14px; border: 1px solid #9bc8ff45; border-radius: 999px; background: #061024; backdrop-filter: none; }
.zh-landing-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #75d7ff; box-shadow: 0 0 11px #75d7ff; }
.zh-landing-center h1 { margin: 18px 0 12px; font-size: clamp(38px, 5.5vw, 76px); line-height: 1.12; letter-spacing: -.05em; font-weight: 900; text-shadow: 0 4px 35px #000; }
.zh-landing-center p { color: #c0cee4; font-size: clamp(13px, 1.25vw, 16px); line-height: 1.8; }
.zh-galaxy-display { height: clamp(95px, 17vh, 190px); }
.zh-landing-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.zh-landing-cards > button {
  position: relative;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 25px;
  border: 1px solid #98baf84a;
  border-radius: 21px;
  background: #080e1b;
  box-shadow: 0 20px 60px #0008, inset 0 1px #ffffff16;
  backdrop-filter: none;
  color: var(--zh-text);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.zh-landing-cards > button:nth-child(2) { background: #0a0b18; }
.zh-landing-cards > button:nth-child(3) { background: #071116; }
.zh-landing-cards > button:hover { transform: translateY(-7px); border-color: #95cfff; box-shadow: 0 25px 70px #000b, 0 0 32px #4a96ff38; }
.zh-card-number { color: #92add3; font-size: 10px; font-weight: 850; letter-spacing: .22em; }
.zh-card-symbol { display: grid; place-items: center; width: 43px; height: 43px; margin: 14px 0 9px; border: 1px solid #a4c8ff6b; border-radius: 13px; background: #79a8ff25; color: #b6d6ff; font-size: 22px; }
.zh-landing-cards > button:nth-child(2) .zh-card-symbol { border-color: #bca8ff70; background: #a285ff25; color: #d4c6ff; }
.zh-landing-cards > button:nth-child(3) .zh-card-symbol { border-color: #7ce2e682; background: #4bced03a; color: #b3f4ed; }
.zh-landing-cards strong { font-size: 23px; line-height: 1.3; font-weight: 900; }
.zh-landing-cards small { margin-top: 7px; color: #aebed5; font-size: 12px; line-height: 1.6; }
.zh-card-enter { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 17px; color: #c8dafa; font-size: 12px; font-weight: 850; }
.zh-card-enter b { font-size: 21px; font-weight: 400; }
.zh-landing-footnote { margin: 18px 0 0; text-align: center; color: #7f93b7; font-size: 11px; }

/* Keep the existing React video controls and backend model mapping. */
body.zh-cosmic #zh-creation-nav,
body.zh-cosmic #zh-side-create-music,
body.zh-cosmic #zh-side-create-image { display: none !important; }
#zh-video-heading { display: none; }
body[data-zh-studio="video"] #zh-video-heading {
  position: absolute;
  z-index: 4;
  top: 100px;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  transform: translateX(-50%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  color: var(--zh-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.zh-video-back { position: absolute; top: -40px; left: 0; padding: 0; border: 0; background: transparent; color: #b3c7e9; font-size: 12px; font-weight: 750; cursor: pointer; }
#zh-video-heading h1 { margin: 7px 0 5px; font-size: clamp(30px, 3vw, 42px); line-height: 1.18; font-weight: 900; }
#zh-video-heading h1 em { margin-left: 11px; color: #9cb6dd; font-size: 14px; font-style: normal; font-weight: 650; letter-spacing: 0; }
#zh-video-heading p { color: #9eb0cd; font-size: 12px; line-height: 1.6; }
body[data-zh-studio="video"] #home {
  display: block !important;
  min-height: 100svh !important;
  padding: 205px 20px 80px !important;
  background: transparent !important;
  color: var(--zh-text) !important;
  box-sizing: border-box !important;
}
body[data-zh-studio="video"] #home > section {
  position: relative !important;
  width: min(1120px, 100%) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(-n+8) { display: none !important; }
body[data-zh-studio="video"] #home > section > div:nth-child(9) {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  clip-path: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > div:first-child { display: none !important; }
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 32px !important;
  border: 1px solid var(--zh-line-strong) !important;
  border-radius: 24px !important;
  background: #080e1b !important;
  box-shadow: 0 26px 80px #0009, inset 0 1px #ffffff16 !important;
  backdrop-filter: none;
  color: var(--zh-text) !important;
  transform: none !important;
  clip-path: none !important;
}
body[data-zh-studio="video"] #home label,
body[data-zh-studio="video"] #home label > span,
body[data-zh-studio="video"] #home strong { color: var(--zh-text) !important; }
body[data-zh-studio="video"] #home [data-model-select] > button,
body[data-zh-studio="video"] #home select,
body[data-zh-studio="video"] #home textarea {
  background: #0b152c !important;
  border: 1px solid #668dc55e !important;
  border-radius: 11px !important;
  color: #f0f6ff !important;
  box-shadow: inset 0 1px #ffffff0c !important;
}
body[data-zh-studio="video"] #home textarea { min-height: 280px !important; padding: 20px !important; line-height: 1.75 !important; }
body[data-zh-studio="video"] #home textarea::placeholder { color: #879ab8 !important; }
body[data-zh-studio="video"] #home [data-model-select] > div {
  background: #111b34 !important;
  border: 1px solid var(--zh-line-strong) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px #0009 !important;
  z-index: 25 !important;
}
body[data-zh-studio="video"] #home [data-model-select] > div button { color: var(--zh-text) !important; background: transparent !important; }
body[data-zh-studio="video"] #home [data-model-select] > div button:hover { background: #7eb9ff29 !important; }
body[data-zh-studio="video"] #home label:has(> select) { background: #14213d !important; border-color: var(--zh-line) !important; }
body[data-zh-studio="video"] #home > section > div:nth-child(10) {
  position: relative !important;
  inset: auto !important;
  width: min(1120px, 100%) !important;
  min-height: 70px !important;
  margin: 14px auto 0 !important;
  padding: 16px !important;
  border: 1px solid var(--zh-line) !important;
  border-radius: 16px !important;
  background: #101a31e8 !important;
  box-sizing: border-box !important;
  box-shadow: 0 15px 45px #0005 !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(10) > button:nth-of-type(2) {
  background: linear-gradient(110deg, #2278c4, #634dc8) !important;
  color: white !important;
  box-shadow: 0 10px 26px #4a74d25b !important;
}

/* Music and image use page sized studios while retaining their existing APIs. */
.zh-overlay.zh-studio-page {
  z-index: 40;
  display: block;
  overflow: auto;
  padding: 104px 24px 45px;
  background: transparent;
  backdrop-filter: none;
}
body.zh-cosmic[data-zh-studio="music"],
body.zh-cosmic[data-zh-studio="image"],
body.zh-cosmic[data-zh-studio="music"] #root,
body.zh-cosmic[data-zh-studio="image"] #root,
body.zh-cosmic[data-zh-studio="music"] .app,
body.zh-cosmic[data-zh-studio="image"] .app {
  background: transparent !important;
}
.zh-studio-page .zh-modal {
  width: min(1240px, 100%);
  max-height: none;
  min-height: calc(100svh - 150px);
  margin: auto;
  border: 1px solid var(--zh-line-strong);
  border-radius: 23px;
  background: linear-gradient(145deg, #101a34ec, #080f21f5);
  box-shadow: 0 30px 90px #000a, inset 0 1px #ffffff13;
  color: var(--zh-text);
}
.zh-studio-page .zh-modal > header {
  min-height: 112px;
  padding: 24px 28px;
  background: transparent;
  border-bottom: 1px solid var(--zh-line);
  justify-content: flex-start;
  flex-wrap: wrap;
}
.zh-studio-page .zh-modal > header > div:first-child { margin-right: auto; }
.zh-studio-page .zh-modal > header h2 { font-size: 28px; font-weight: 900; }
.zh-studio-page .zh-modal > header p { color: var(--zh-muted); }
.zh-studio-page .zh-close { order: -1; width: auto; height: auto; margin-right: 18px; padding: 8px 0; border: 0; background: transparent; color: #b8c9e6; font-size: 12px; font-weight: 750; white-space: nowrap; }
.zh-studio-page .zh-modal-body { padding: 28px; overflow: visible; }
.zh-studio-page .zh-form-card,
.zh-studio-page .zh-queue { background: #0b1429e8; border-color: var(--zh-line); box-shadow: inset 0 1px #ffffff0a; }
.zh-studio-page .zh-form-card { padding: 26px; border-radius: 18px; }
.zh-studio-page .zh-form-card label > span,
.zh-studio-page .zh-queue-title strong,
.zh-studio-page .zh-submit-row strong { color: var(--zh-text); }
.zh-studio-page .zh-form-card select,
.zh-studio-page .zh-form-card textarea { background: #0b162d; border-color: #779ad450; color: var(--zh-text); }
.zh-studio-page .zh-form-card select:focus,
.zh-studio-page .zh-form-card textarea:focus { border-color: #79c7ff; box-shadow: 0 0 0 3px #79c7ff29; }
.zh-studio-page .zh-form-card textarea::placeholder { color: #8c9cb8; }
.zh-studio-page .zh-form-note,
.zh-studio-page .zh-queue-title > span { color: var(--zh-muted); }
.zh-studio-page .zh-empty,
.zh-studio-page .zh-loading { background: #0b152c; border-color: var(--zh-line); color: var(--zh-muted); }
.zh-studio-page .zh-queue-item { background: #101d37; border-color: var(--zh-line); }
.zh-studio-page .zh-queue-item p { color: #c1cee3; }
.zh-studio-page .zh-studio-secondary { background: #121d36; border-color: var(--zh-line-strong); color: #cce0ff; }
.zh-studio-page .zh-submit-row button,
.zh-studio-page #zh-music-submit { background: linear-gradient(110deg, #247bca, #6553c8) !important; color: #fff; }
.zh-studio-page .zh-music-form { max-width: 1000px; min-height: 480px; padding: 36px; }
.zh-studio-page .zh-music-form textarea { min-height: 250px; }
.zh-studio-page .zh-image-layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .72fr); }

/* The model hub and account surfaces share the same materials. */
body.zh-cosmic .market-page { background: transparent !important; color: var(--zh-text) !important; }
body.zh-cosmic .market-bubble { display: none !important; }
body.zh-cosmic .market-page .market-bubbles { display: none !important; }
body.zh-cosmic .market-topbar,
body.zh-cosmic .market-shell,
body.zh-cosmic .market-stage { color: var(--zh-text) !important; background: #080e1bd1 !important; border-color: var(--zh-line) !important; box-shadow: 0 20px 65px #0008 !important; }
body.zh-cosmic .market-card { color: var(--zh-text) !important; background: linear-gradient(145deg, #172340, #0c152b) !important; border-color: var(--zh-line) !important; box-shadow: 0 12px 30px #0006 !important; }
body.zh-cosmic .market-card:hover { border-color: #82c5ff !important; transform: translateY(-3px); }
body.zh-cosmic .market-card h2,
body.zh-cosmic .market-card strong,
body.zh-cosmic .market-stage-head h1,
body.zh-cosmic .market-topbar * { color: var(--zh-text) !important; }
body.zh-cosmic .market-card-desc,
body.zh-cosmic .market-card-footer,
body.zh-cosmic .market-stage-head p { color: var(--zh-muted) !important; }
body.zh-cosmic .market-search,
body.zh-cosmic .market-tabs button,
body.zh-cosmic .market-group-strip button,
body.zh-cosmic .market-pager button { color: var(--zh-text) !important; background: #111d35 !important; border-color: var(--zh-line) !important; }
body.zh-cosmic .market-tabs button.active,
body.zh-cosmic .market-group-strip button.active { background: #315daa !important; }
body.zh-cosmic .zh-overlay { background: #030710bd; }
body.zh-cosmic .zh-modal,
body.zh-cosmic .task-log-modal,
body.zh-cosmic .key-modal,
body.zh-cosmic .zh-recharge-panel,
body.zh-cosmic .zh-notice-popup { color: var(--zh-text); background: #0c1529f5; border-color: var(--zh-line-strong); }
body.zh-cosmic .zh-modal > header,
body.zh-cosmic .task-log-head,
body.zh-cosmic .key-modal-head,
body.zh-cosmic .zh-notice-popup > header { color: var(--zh-text); background: #111d35; border-color: var(--zh-line); }
body.zh-cosmic .zh-form-card,
body.zh-cosmic .zh-queue,
body.zh-cosmic .zh-key-create,
body.zh-cosmic .zh-key-list,
body.zh-cosmic .zh-wallet-stat,
body.zh-cosmic .zh-wallet-section { color: var(--zh-text); background: #101c34; border-color: var(--zh-line); }
body.zh-cosmic .zh-wallet-section p,
body.zh-cosmic .zh-recharge-panel header p,
body.zh-cosmic .zh-form-card p { color: var(--zh-muted); }
body.zh-cosmic .zh-recharge-panel input,
body.zh-cosmic .zh-modal input,
body.zh-cosmic .zh-modal select,
body.zh-cosmic .zh-modal textarea,
body.zh-cosmic .task-log-search input { color: var(--zh-text); background: #0a1428; border-color: var(--zh-line); }
body.zh-cosmic .zh-wallet-table th { color: var(--zh-muted); background: #101c34; }
body.zh-cosmic .zh-wallet-table td { border-color: var(--zh-line); }
body.zh-cosmic .zh-notice-article p,
body.zh-cosmic .zh-notice-article h3,
body.zh-cosmic .zh-recharge-panel h2,
body.zh-cosmic .zh-wallet-section h3 { color: var(--zh-text); }
body.zh-cosmic .zh-notice-footer { border-color: var(--zh-line); }
body.zh-cosmic .zh-notice-footer button { color: var(--zh-text); background: #172440; border-color: var(--zh-line); }
/* Keep the full-page studios above the shared homepage starfield. */
body.zh-cosmic .zh-studio-page .zh-modal > header {
  background: transparent;
}
body.zh-cosmic .zh-studio-page .zh-modal select,
body.zh-cosmic .zh-studio-page .zh-modal textarea {
  background: #0b162d;
  border-color: #779ad450;
}

body.zh-cosmic[data-zh-studio="video"],
body.zh-cosmic[data-zh-studio="music"],
body.zh-cosmic[data-zh-studio="image"] {
  background: #020711 !important;
}
body.zh-cosmic .zh-overlay.zh-studio-page {
  background: rgba(2, 7, 17, .06) !important;
  isolation: isolate;
}
.zh-overlay.zh-studio-page::before { content: none !important; }
.zh-studio-page .zh-modal { position: relative; z-index: 1; }
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section {
  padding: 20px 26px !important;
  gap: 10px !important;
}
body[data-zh-studio="video"] #home [data-model-select] > button { height: 48px !important; }
body[data-zh-studio="video"] #home textarea { min-height: 260px !important; }
body[data-zh-studio="video"] #home button:not(:disabled) { color: #eff5ff !important; }
body[data-zh-studio="video"] #home button:disabled { color: #b9c8e1 !important; }
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section:nth-child(2) > div:nth-child(3) > div:last-child {
  background: #142542 !important;
  border-color: #5878a8 !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section:nth-child(2) > div:nth-child(3) > div:last-child > span,
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section:nth-child(2) > div:nth-child(3) > div:last-child > strong {
  color: #eef5ff !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(10) { margin-top: 10px !important; }
body[data-zh-studio="video"] #home { min-height: auto !important; padding-bottom: 18px !important; }
#zh-shared-assets { display: none; }
body[data-zh-studio="video"] #zh-shared-assets,
body[data-zh-studio="music"] #zh-shared-assets,
body[data-zh-studio="image"] #zh-shared-assets { display: block; }
.zh-shared-assets {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 40px));
  box-sizing: border-box;
  margin: 20px auto 56px;
  padding: 24px;
  border: 1px solid var(--zh-line-strong);
  border-radius: 19px;
  color: var(--zh-text);
  background: #0b1429eb;
  box-shadow: 0 20px 60px #0008;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.zh-studio-page .zh-shared-assets { width: auto; margin: 12px 28px 28px; }
@media (min-width: 1260px) {
  body.zh-cosmic .zh-overlay.zh-studio-page .zh-modal {
    width: min(1780px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }
  .zh-studio-page .zh-modal > header { grid-column: 1 / -1; }
  .zh-studio-page .zh-modal-body { min-width: 0; grid-column: 1; }
  .zh-studio-page .zh-shared-assets { grid-column: 2; margin: 26px 24px 26px 0; }
}
.zh-library-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.zh-library-head h2 { margin: 0; font-size: 20px; white-space: nowrap; }
.zh-library-head h2 small { margin-left: 4px; color: #aa97e6; font-size: 12px; }
.zh-library-upload { color: #cdb9ff; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.zh-library-tabs { display: flex; gap: 20px; border-bottom: 1px solid #6b539950; }
.zh-library-tabs button { padding: 10px 4px 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #b8accd; font-size: 13px; cursor: pointer; }
.zh-library-tabs button[aria-selected="true"] { border-bottom-color: #ad8df2; color: #f4ebff; font-weight: 850; }
.zh-library-tools { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 8px; }
.zh-library-tools > span { color: #edb9d7; font-size: 11px; }
.zh-library-zoom { display: flex; align-items: center; gap: 8px; color: #a9a3c0; font-size: 11px; white-space: nowrap; }
.zh-library-zoom input { width: 92px; accent-color: #a888ea; }
.zh-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--zh-tile-size, 130px)), 1fr)); align-content: start; gap: 10px; max-height: min(69vh, 790px); overflow-y: auto; padding: 1px 3px 6px 1px; }
.zh-library-empty { grid-column: 1 / -1; min-height: 130px; display: grid; place-items: center; padding: 18px; border: 1px dashed #8569ae75; border-radius: 9px; color: #b5a9cc; font-size: 12px; text-align: center; }
.zh-asset-card { min-width: 0; padding: 6px; border: 1px solid #8964b57d; border-radius: 10px; background: #241936; }
.zh-asset-thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; display: grid; place-items: center; overflow: hidden; border-radius: 5px; background: #111126; cursor: pointer; }
.zh-asset-thumb img, .zh-asset-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
.zh-asset-number { position: absolute; top: 5px; left: 5px; padding: 2px 5px; border-radius: 4px; background: #120d1ac9; color: #fff; font-size: 11px; font-weight: 800; }
.zh-asset-audio-mark { color: #c6a8fb; font-size: 46px; }
.zh-asset-card-footer { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6px; margin-top: 6px; }
.zh-asset-card-footer input { grid-column: 1 / -1; width: 100%; box-sizing: border-box; min-width: 0; height: 28px; padding: 2px 5px; border: 1px solid #63526d; border-radius: 5px; outline: none; background: #0e0e16; color: #faf5ff; font-size: 11px; }
.zh-asset-card-footer input:focus { border-color: #c39cff; }
.zh-asset-card-footer button { min-height: 30px; padding: 0 4px; border: 1px solid #8964b57d; border-radius: 5px; background: #322247; color: #e8d9ff; font-size: 12px; cursor: pointer; }
.zh-asset-card-footer button[data-asset-remove] { border-color: #b76b7c80; background: #462332; color: #ffc4cd; }
.zh-asset-card-footer button:hover { filter: brightness(1.2); }
.zh-asset-card-footer button:disabled { opacity: .4; cursor: not-allowed; }
.zh-library-dragging { outline: 2px dashed #d3aaff; outline-offset: -8px; }
#zh-image-selected-asset { display: flex; align-items: center; gap: 12px; color: #b8cce6; font-size: 12px; }
#zh-image-selected-asset img { width: 66px; height: 66px; object-fit: cover; border-radius: 7px; }
.zh-asset-preview .zh-modal { width: min(920px, calc(100vw - 32px)); }
.zh-asset-preview .zh-modal-body { display: grid; place-items: center; }
.zh-asset-large { display: block; max-width: 100%; max-height: calc(100vh - 190px); }
.zh-studio-page .zh-image-layout .zh-queue:has(.zh-empty) { display: none; }
.zh-video-storyboards { display: grid; align-content: start; gap: 18px; margin-top: 14px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--zh-line); background: transparent; }
.zh-storyboard-head, .zh-storyboard-row { display: flex; align-items: center; gap: 10px; }
.zh-storyboard-head { justify-content: space-between; flex-wrap: wrap; padding: 0 2px 2px; }
.zh-storyboard-head > div { display: flex; align-items: baseline; gap: 12px; }
.zh-storyboard-head strong { font-size: 18px; }
.zh-storyboard-head span, .zh-storyboard-row span { color: #9db2d2; font-size: 12px; }
.zh-video-storyboards button { padding: 9px 16px; border: 1px solid #77a7df87; border-radius: 8px; background: #18355b; color: #eff6ff; font-size: 12px; font-weight: 750; cursor: pointer; }
.zh-storyboard-item { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); gap: 14px 18px; padding: 18px; border: 1px solid #668dc55e; border-radius: 12px; background: #101b33; scroll-margin-top: 100px; }
.zh-storyboard-row { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid #668dc536; }
.zh-storyboard-row strong { min-width: 30px; color: #a9d0ff !important; font-size: 20px; }
.zh-storyboard-row button { margin-left: 0; padding: 5px 10px; background: transparent; }
.zh-storyboard-row .zh-shot-clear { margin-left: auto; color: #b9d8ff; }
.zh-video-mention-menu {
  position: fixed; z-index: 10000; max-height: 280px; overflow: auto; box-sizing: border-box;
  padding: 6px; border: 1px solid #6587b8; border-radius: 10px; background: #0a1428;
  box-shadow: 0 16px 40px #000b; color: #e8f1ff;
}
.zh-video-mention-menu[hidden] { display: none !important; }
.zh-video-mention-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px;
  border: 1px solid transparent; border-radius: 7px; background: transparent; color: inherit; text-align: left; cursor: pointer;
}
.zh-video-mention-menu button:hover, .zh-video-mention-menu button[aria-selected="true"] { border-color: #6ea8ef; background: #20395e; }
.zh-video-mention-menu img { width: 38px; height: 38px; border-radius: 5px; object-fit: cover; background: #111d35; }
.zh-video-mention-menu span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }

body[data-zh-studio="video"] #home .zh-storyboard-item textarea { grid-column: 1; grid-row: 2; min-height: 280px !important; width: 100%; box-sizing: border-box; padding: 16px !important; font-size: 14px !important; resize: vertical; }
.zh-storyboard-output { grid-column: 2; grid-row: 2; display: grid; grid-template-rows: minmax(190px, 1fr) auto; min-width: 0; gap: 12px; }
.zh-storyboard-preview { display: grid; place-items: center; min-width: 0; overflow: hidden; border: 1px solid #48608070; border-radius: 9px; background: #060b15; }
.zh-storyboard-preview video { display: block; width: 100%; height: 100%; max-height: 320px; object-fit: contain; }
.zh-storyboard-empty { display: grid; justify-items: center; gap: 10px; padding: 20px; color: #8da0bd; text-align: center; font-size: 12px; }
.zh-storyboard-empty > span:first-child { font-size: 32px; color: #687f9f; }
.zh-storyboard-empty small { max-height: 80px; overflow: auto; color: #efabb5; overflow-wrap: anywhere; }
.zh-storyboard-generate { width: 100%; min-height: 42px; }
.zh-storyboard-nav { position: absolute; top: 0; bottom: 0; left: 0; width: 108px; box-sizing: border-box; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 22px 10px; border-right: 1px solid var(--zh-line); background: #080f1f70; border-radius: 21px 0 0 21px; }
.zh-storyboard-nav-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 6px 8px; font-size: 13px; }
.zh-storyboard-nav-title > span { color: #8fa4c3; font-size: 11px; }
.zh-video-storyboards .zh-storyboard-nav button { padding: 10px 4px; background: transparent; border-color: transparent; }
.zh-video-storyboards .zh-storyboard-nav .zh-storyboard-add { border-color: #668dc55e; background: #18355b; margin-bottom: 8px; white-space: nowrap; }
.zh-video-storyboards .zh-storyboard-nav button:hover { background: #20385b; border-color: #77a7df87; }
.zh-storyboard-item:focus-within { border-color: #80b9f3; box-shadow: 0 0 0 1px #80b9f326; }
.zh-video-feedback:empty { display: none !important; }
body[data-zh-studio="video"] #home > section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  border: 1px solid var(--zh-line-strong) !important;
  border-radius: 22px !important;
  background: linear-gradient(150deg, #111d39f2, #090f20f5 63%) !important;
  box-shadow: 0 26px 80px #0009, inset 0 1px #ffffff16 !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(9) { min-width: 0; }
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  padding: 22px 24px 24px 132px !important;
}
body[data-zh-studio="video"] #home > section > #zh-shared-assets {
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 24px 28px;
  border: 0;
  border-top: 1px solid var(--zh-line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 1260px) {
  body[data-zh-studio="video"] #zh-video-heading { width: min(1600px, calc(100% - 40px)); }
  body[data-zh-studio="video"] #home > section { width: min(1840px, 100%) !important; grid-template-columns: minmax(0, 1fr) 310px; }
  body[data-zh-studio="video"] #home > section > div:nth-child(9) { grid-column: 1; grid-row: 1; }
  body[data-zh-studio="video"] #home > section > div:nth-child(10) { grid-column: 1; grid-row: 2; width: auto !important; margin: 0 28px 24px !important; }
  body[data-zh-studio="video"] #home > section > #zh-shared-assets {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    min-height: 580px;
    padding: 26px 22px;
    border-top: 0;
    border-left: 1px solid var(--zh-line-strong);
  }
}
@media (max-width: 700px) {
  .zh-storyboard-item { grid-template-columns: 1fr; }
  body[data-zh-studio="video"] #home .zh-storyboard-item textarea { grid-column: 1; grid-row: 2; min-height: 165px !important; }
  .zh-storyboard-output { grid-column: 1; grid-row: 3; }
}
@media (max-width: 700px) {
  .zh-shared-assets { width: calc(100% - 20px); padding: 15px; }
  .zh-studio-page .zh-shared-assets { margin: 12px; }
  .zh-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zh-library-head { flex-wrap: wrap; }
  .zh-library-zoom { order: 3; margin-left: 0; width: 100%; }
}


/* Works and model catalog complete the shared night palette. */
body.zh-cosmic .works-side-tab { background: linear-gradient(145deg, #1c3152, #0b1429) !important; color: #e9f2ff !important; border-color: var(--zh-line-strong) !important; box-shadow: 0 12px 34px #0008 !important; }
body.zh-cosmic .task-log-head,
body.zh-cosmic .task-log-filters,
body.zh-cosmic .task-log-scroll,
body.zh-cosmic .task-log-pager { background: #0c162b !important; border-color: var(--zh-line) !important; }
body.zh-cosmic .task-log-title,
body.zh-cosmic .task-log-labels > div,
body.zh-cosmic .task-log-model { color: var(--zh-text) !important; }
body.zh-cosmic .task-log-subtitle,
body.zh-cosmic .task-log-row > div,
body.zh-cosmic .task-log-pager > span,
body.zh-cosmic .task-log-pager strong,
body.zh-cosmic .task-log-top-pager strong,
body.zh-cosmic .task-log-top-pager span,
body.zh-cosmic .task-log-waiting,
body.zh-cosmic .task-log-empty { color: #b5c5df !important; }
body.zh-cosmic .task-log-labels { background: #182541 !important; }
body.zh-cosmic .task-log-row { border-color: var(--zh-line) !important; }
body.zh-cosmic .task-log-days button,
body.zh-cosmic .task-log-types button,
body.zh-cosmic .task-log-top-pager button,
body.zh-cosmic .task-log-search button,
body.zh-cosmic .task-log-actions button,
body.zh-cosmic .task-log-actions a,
body.zh-cosmic .task-log-pager button,
body.zh-cosmic .task-log-copy-id,
body.zh-cosmic .task-log-close,
body.zh-cosmic .task-log-id { background: #172440 !important; border-color: var(--zh-line) !important; color: #dbe9ff !important; }
body.zh-cosmic .task-log-days button.active,
body.zh-cosmic .task-log-types button.active,
body.zh-cosmic .task-log-search button:not(.secondary),
body.zh-cosmic .task-log-actions button:not(.secondary),
body.zh-cosmic .task-log-retry { background: #286fbc !important; color: white !important; }
body.zh-cosmic .task-log-search input { background: #0a1428 !important; border-color: var(--zh-line) !important; color: var(--zh-text) !important; }
body.zh-cosmic .task-log-prompt,
body.zh-cosmic .task-log-time,
body.zh-cosmic .task-log-elapsed { color: #b8c8e2 !important; }
body.zh-cosmic .task-log-status.success { color: #68dab2 !important; }
body.zh-cosmic .task-log-status.failed,
body.zh-cosmic .task-log-reason { color: #ff9c9c !important; }
body.zh-cosmic .task-log-status.processing { color: #90caff !important; }
body.zh-cosmic .market-page::before { opacity: .18 !important; }
body.zh-cosmic .market-stat-pills span,
body.zh-cosmic .market-card-tags span,
body.zh-cosmic .market-page-badge,
body.zh-cosmic .market-empty { background: #14223d !important; color: #bbd3f3 !important; border-color: var(--zh-line) !important; }
body.zh-cosmic .market-card-titleRow strong,
body.zh-cosmic .market-card-price { color: #e9f2ff !important; }
body.zh-cosmic .market-card-id { color: #a8bad6 !important; }
body.zh-cosmic .market-search input { background: transparent !important; color: var(--zh-text) !important; }
body.zh-cosmic .market-card-copy,
body.zh-cosmic .market-copy-all,
body.zh-cosmic .market-card-action.ghost { background: #172743 !important; color: #d5e7ff !important; border-color: var(--zh-line) !important; }

@media (max-width: 850px) {
  .zh-landing-cards { gap: 10px; }
  .zh-landing-cards > button { padding: 19px; min-height: 205px; }
  body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section { padding: 22px !important; }
  .zh-studio-page .zh-image-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  #zh-studio-landing::before { background-size: min(940px, 125vw) auto; background-position: center 26%; }
  .zh-landing-shell { width: calc(100% - 28px); padding-top: 20px; }
  .zh-landing-brand { font-size: 13px; }
  .zh-landing-center { margin: 78px 0 25px; padding: 0; }
  .zh-galaxy-display { height: 100px; }
  .zh-landing-cards { grid-template-columns: 1fr; }
  .zh-landing-cards > button { min-height: 120px; padding: 16px 18px; }
  .zh-card-symbol { position: absolute; right: 18px; top: 17px; margin: 0; }
  .zh-landing-cards strong { margin-top: 14px; font-size: 20px; }
  .zh-landing-cards small { padding-right: 45px; }
  .zh-card-enter { padding-top: 10px; }
  body[data-zh-studio="video"] #zh-video-heading { display: block; top: 134px; width: calc(100% - 24px); }
  #zh-video-heading h1 { font-size: 27px; }
  #zh-video-heading h1 em { display: block; margin: 4px 0 0; }
  body[data-zh-studio="video"] #home { padding: 340px 12px 50px !important; overflow: visible !important; }
  body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section { padding: 15px !important; }
  .zh-overlay.zh-studio-page { padding: 135px 10px 20px; }
  .zh-studio-page .zh-modal { min-height: calc(100svh - 155px); }
  .zh-studio-page .zh-modal > header { gap: 8px; padding: 14px; }
  .zh-studio-page .zh-modal > header > div:first-child { order: 1; flex-basis: 100%; }
  .zh-studio-page .zh-close { order: 0; }
  .zh-studio-page .zh-modal-body { padding: 12px; }
  .zh-studio-page .zh-form-card { padding: 16px; }
}
@media (max-width: 700px) {
  body.zh-cosmic .floating-actions { left: 10px; right: 10px; top: 8px; width: auto; }
  body.zh-cosmic .floating-actions .nav-right { width: 100%; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 2px; padding: 5px; box-sizing: border-box; border-radius: 19px; }
  body.zh-cosmic .floating-actions .user-menu { align-self: flex-end; }
  body.zh-cosmic .floating-actions .top-metrics { width: 100%; min-width: 0; height: 37px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  body.zh-cosmic .floating-actions .top-metrics::-webkit-scrollbar { display: none; }
  body.zh-cosmic .floating-actions .top-metrics > .nav-pill,
  body.zh-cosmic .zh-top-nav,
  body.zh-cosmic .zh-top-nav > a,
  body.zh-cosmic .zh-top-nav > button { flex: 0 0 auto; white-space: nowrap; writing-mode: horizontal-tb; }
  body.zh-cosmic .floating-actions .top-metrics > .nav-pill { padding: 0 11px; }
  body.zh-cosmic .zh-top-nav > a,
  body.zh-cosmic .zh-top-nav > button { padding: 0 9px; }
  .zh-landing-shell { padding-top: 108px; }
  .zh-landing-center { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  body.zh-cosmic::before, #zh-studio-landing::after { animation: none; }
  .zh-landing-cards > button { transition: none; }
}

body[data-zh-studio="video"] #home > section > div:nth-child(9) { filter: none !important; }
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section > div:nth-child(2) { background: #101d37 !important; border-color: var(--zh-line) !important; }
body[data-zh-studio="video"] #home button:disabled { background: #182541 !important; color: #8fa4c5 !important; border-color: var(--zh-line) !important; }

/* Sign in, registration, and the model hub share the same cosmic surfaces. */
body.zh-cosmic .auth-page { background: radial-gradient(circle at 18% 22%, #1a315f, transparent 31%), radial-gradient(circle at 82% 76%, #25173f, transparent 36%), #050812 !important; }
body.zh-cosmic .auth-page::before { opacity: .16; }
body.zh-cosmic .auth-brand { color: #eff5ff !important; text-shadow: none !important; }
body.zh-cosmic .auth-card { color: #eff5ff !important; background: linear-gradient(145deg, #14223df5, #0b1429f5) !important; border-color: var(--zh-line-strong) !important; box-shadow: 0 28px 90px #0009 !important; }
body.zh-cosmic .auth-card::before { border-color: #8bbaff38 !important; box-shadow: 0 0 30px #417dc31f !important; }
body.zh-cosmic .auth-card::after { opacity: .13; }
body.zh-cosmic .auth-title, body.zh-cosmic .auth-label { color: #eff5ff !important; }
body.zh-cosmic .auth-subtitle { color: #b0c1db !important; }
body.zh-cosmic .auth-switch { background: #0b162d !important; border-color: var(--zh-line) !important; }
body.zh-cosmic .auth-switch-btn { color: #b8c8e2 !important; }
body.zh-cosmic .auth-switch-btn.active { color: white !important; background: linear-gradient(110deg, #226db6, #624bb9) !important; }
body.zh-cosmic .auth-input { color: #eff5ff !important; background: #0a1429 !important; border-color: var(--zh-line-strong) !important; box-shadow: none !important; }
body.zh-cosmic .auth-input::placeholder { color: #7c90b0 !important; }
body.zh-cosmic .auth-button { background: linear-gradient(110deg, #247bca, #6553c8) !important; }
body.zh-cosmic .market-topbar { background: #0c1529ea !important; }
body.zh-cosmic .market-tabs, body.zh-cosmic .market-user { background: #14233f !important; border-color: var(--zh-line) !important; }
body.zh-cosmic .market-tabs a { color: #b8c9e6 !important; }
body.zh-cosmic .market-tabs a.active { background: #315daa !important; color: white !important; }
body.zh-cosmic .market-user strong, body.zh-cosmic .market-user em { color: #eff5ff !important; }

#zh-studio-landing {
  overflow: hidden;
  background: #020307;
}
#zh-studio-landing::before {
  display: none;
}
#zh-studio-landing::after {
  display: none;
}
.zh-landing-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}
body.zh-cosmic.zh-shared-sky-active::before { display: none; }
body.zh-cosmic.zh-shared-sky-active #zh-studio-landing { background: transparent; }
.zh-landing-shell {
  width: 100%;
  min-height: 100svh;
  padding: 34px clamp(24px, 4vw, 86px);
}
.zh-landing-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #0102059c 0%, #01020548 16%, transparent 48%),
    linear-gradient(180deg, #0102053b 0%, transparent 22%, transparent 79%, #01020529 100%);
}
.zh-landing-brand { color: #f1f5ff; font-size: 19px; letter-spacing: .08em; text-shadow: 0 3px 20px #000; }
.zh-landing-shell > .zh-landing-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}
.zh-landing-center { display: none; }
.zh-landing-cards {
  position: absolute;
  top: 26%;
  left: 24px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.zh-landing-cards > button,
.zh-landing-cards > button:nth-child(2),
.zh-landing-cards > button:nth-child(3) {
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d8e7ff57;
  border-left: 2px solid #c4deffba;
  border-radius: 4px;
  background: #070c18;
  color: #f5f8ff;
  box-shadow: 0 8px 28px #0006;
  backdrop-filter: none;
}
.zh-landing-cards > button:hover {
  transform: translateX(5px);
  background: #0c1a33b8;
  border-color: #d8ecff;
  box-shadow: 0 10px 32px #0008;
}
.zh-landing-cards strong { font-size: 17px; letter-spacing: .05em; }
.zh-landing-cards > button > span { color: #dceaff; font-size: 20px; }

body[data-zh-studio="video"] #zh-video-heading { top: 58px; width: min(1840px, calc(100% - 40px)); }
body[data-zh-studio="video"] .zh-video-back { position: static; }
body[data-zh-studio="video"] #home { padding-top: 94px !important; }
#zh-video-heading h1 { margin: 0; }
.zh-overlay.zh-studio-page { padding-top: 88px; }
.zh-studio-page .zh-modal { width: min(1440px, 100%); min-height: calc(100svh - 116px); }
.zh-studio-page .zh-modal > header { min-height: 94px; }
.zh-studio-page .zh-modal > header h2 { font-size: 34px; }
.zh-studio-page .zh-modal-body { padding: 26px 34px 36px; }
.zh-studio-page .zh-music-form {
  max-width: none;
  min-height: 0;
  padding: 20px 28px 28px;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}
.zh-music-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 28px; margin: 10px 0 26px; }
.zh-music-choice { min-width: 0; padding: 0; border: 0; }
.zh-music-choice legend { margin-bottom: 10px; color: var(--zh-text); font-size: 12px; font-weight: 850; }
.zh-music-style-list { display: flex; flex-wrap: wrap; gap: 10px; }
.zh-music-style-list button {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--zh-line-strong);
  border-radius: 8px;
  color: #dceaff;
  background: #111d36;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.zh-music-style-list button:hover,
.zh-music-style-list button[aria-pressed="true"] { color: #fff; border-color: #9bcfff; background: #244c80; }
.zh-studio-page .zh-music-form textarea { min-height: 180px; }
.zh-music-actions { justify-content: center; padding-top: 10px; }
.zh-studio-page #zh-music-submit { min-width: 240px; min-height: 52px; font-size: 16px; }
#zh-music-message { text-align: center; }
.zh-studio-page .zh-image-layout { display: block; }
.zh-studio-page .zh-image-form { min-height: 0; padding: 26px 32px; }
.zh-image-modes { display: flex; gap: 8px; margin-bottom: 26px; }
.zh-image-modes button { min-width: 112px; height: 42px; border: 1px solid var(--zh-line-strong); border-radius: 8px; background: #101d36; color: #c8d9f0; font-weight: 800; cursor: pointer; }
.zh-image-modes button[aria-pressed="true"] { color: white; border-color: #7bb9f5; background: #225a9d; }
.zh-studio-page .zh-image-form textarea { min-height: 220px; }
.zh-studio-page .zh-image-form .zh-submit-row { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--zh-line); }
.zh-studio-page .zh-image-form .zh-submit-row button { min-width: 180px; height: 50px; font-size: 15px; }
.zh-image-reference { margin: 4px 0 18px; padding: 18px; border: 1px solid var(--zh-line); border-radius: 10px; background: #0c1830; }
.zh-image-reference[hidden] { display: none; }
.zh-image-reference > span { display: block; margin: 2px 0 8px; color: #a9bddb; font-size: 11px; }
.zh-image-reference input[type="file"] { width: 100%; color: #bdcce1; }
.zh-image-reference input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 14px; border: 1px solid var(--zh-line-strong); border-radius: 7px; color: #e8f3ff; background: #183255; cursor: pointer; }
.zh-studio-page .zh-image-layout .zh-queue { min-height: 0; margin-top: 18px; }
.zh-key-endpoint { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--zh-line); border-radius: 10px; background: #0a1428; }
.zh-key-endpoint span { font-size: 12px; font-weight: 850; }
.zh-key-endpoint code { overflow-wrap: anywhere; color: #cce5ff; font-size: 13px; }
.zh-key-endpoint small, .zh-key-connection { color: #aabddb; font-size: 11px; }
.zh-key-connection { display: block; }
body.zh-cosmic .zh-key-endpoint code {
  display: block;
  padding: 0;
  border: 0;
  color: #cce5ff !important;
  background: transparent !important;
}
body.zh-cosmic .zh-check,
body.zh-cosmic .zh-key-item,
body.zh-cosmic .zh-full-key,
body.zh-cosmic .zh-key-list .zh-empty {
  color: #eef5ff !important;
  background: #0a1429 !important;
  border-color: var(--zh-line) !important;
}
body.zh-cosmic .zh-check strong,
body.zh-cosmic .zh-key-item strong,
body.zh-cosmic .zh-field-label,
body.zh-cosmic .zh-key-create label > span { color: #eef5ff !important; }
body.zh-cosmic .zh-check small,
body.zh-cosmic .zh-key-item p,
body.zh-cosmic .zh-key-item small { color: #a9bddb !important; }
.zh-studio-page button:disabled,
.zh-studio-page #zh-music-submit:disabled,
.zh-studio-page .zh-submit-row button:disabled {
  cursor: not-allowed !important;
  opacity: .55;
  background: #25314a !important;
  box-shadow: none !important;
}

@media (max-width: 700px) {
  .zh-landing-shell { padding: 111px 20px 28px; }
  .zh-landing-brand { font-size: 16px; }
  .zh-landing-cards { top: 31%; left: 20px; width: min(210px, calc(100vw - 40px)); gap: 14px; }
  .zh-landing-cards > button,
  .zh-landing-cards > button:nth-child(2),
  .zh-landing-cards > button:nth-child(3) { min-height: 58px; padding: 0 16px; }
  #zh-studio-landing::before { background-position: 58% center; }
  body[data-zh-studio="video"] #zh-video-heading { top: 112px; }
  body[data-zh-studio="video"] #home { padding-top: 143px !important; }
  .zh-overlay.zh-studio-page { padding-top: 112px; }
  .zh-studio-page .zh-modal-body { padding: 12px; }
  .zh-studio-page .zh-music-form { min-height: 0; padding: 14px; }
  .zh-studio-page .zh-music-form textarea { min-height: 260px; }
  .zh-music-options { grid-template-columns: 1fr; }
  .zh-music-style-list { gap: 7px; }
  .zh-music-style-list button { padding: 0 11px; }
  .zh-studio-page #zh-music-submit { width: 100%; }
  .zh-studio-page .zh-image-form { padding: 16px; }
  .zh-studio-page .zh-image-form .zh-submit-row { align-items: stretch; flex-direction: column; }
  .zh-studio-page .zh-image-form .zh-submit-row button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #zh-studio-landing::before, #zh-studio-landing::after { animation: none; }
}
@media (max-width: 1259px) {
  body[data-zh-studio="video"] #home > section { width: 100% !important; }
}
@media (min-width: 701px) and (max-width: 1259px) {
  body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section { padding: 22px 20px 24px 128px !important; }
}
@media (max-width: 700px) {
  .zh-video-storyboards { gap: 14px; }
  .zh-storyboard-nav { position: static; width: 100%; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--zh-line); background: transparent; border-radius: 0; }
  .zh-storyboard-nav-title { padding: 0 8px 0 0; }
  .zh-video-storyboards .zh-storyboard-nav .zh-storyboard-add { margin: 0; padding: 9px 12px; }
  .zh-video-storyboards .zh-storyboard-nav button { padding: 8px 12px; }
  .zh-storyboard-item { padding: 14px; gap: 12px; }
  body[data-zh-studio="video"] #home .zh-storyboard-item textarea { min-height: 220px !important; }
}


/* Give prompts the writing space; keep model and style controls compact. */
.zh-studio-page .zh-music-form,
.zh-studio-page .zh-image-form { min-width: 0; max-width: none; padding: 22px; }
.zh-studio-page .zh-music-form { min-height: 0; }
.zh-studio-page .zh-music-form > label,
.zh-studio-page .zh-image-form > label { display: grid; gap: 8px; }
.zh-studio-page .zh-music-form textarea,
.zh-studio-page #zh-image-prompt {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 390px;
  padding: 16px;
  line-height: 1.65;
  font-size: 15px;
  resize: vertical;
}
.zh-studio-page .zh-music-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 18px;
}
.zh-studio-page .zh-music-choice { min-width: 0; margin: 0; padding: 9px; border: 1px solid var(--zh-line); border-radius: 10px; }
.zh-studio-page .zh-music-choice legend { padding: 0 5px; color: var(--zh-muted); font-size: 12px; }
.zh-studio-page .zh-music-style-list { display: flex; flex-wrap: wrap; gap: 5px; }
.zh-studio-page .zh-music-style-list button {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--zh-line);
  border-radius: 7px;
  background: #111d35;
  color: #bdcbe1;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
}
.zh-studio-page .zh-music-style-list button[aria-pressed="true"] { border-color: #80b9f3; background: #23436e; color: #fff; }
.zh-studio-page .zh-image-form .zh-param-grid { gap: 10px; margin: 12px 0 16px; }
.zh-studio-page .zh-image-form .zh-param-grid label { gap: 6px; }
.zh-studio-page .zh-image-form .zh-param-grid label > span,
.zh-studio-page .zh-image-modes button { font-size: 12px; }
.zh-studio-page .zh-image-form select,
.zh-studio-page .zh-music-form select { min-height: 40px; padding: 8px 10px; }
@media (max-width: 850px) {
  .zh-studio-page .zh-music-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zh-studio-page .zh-music-form textarea,
  .zh-studio-page #zh-image-prompt { min-height: 280px; }
}
@media (max-width: 520px) {
  .zh-studio-page .zh-music-options { grid-template-columns: 1fr; }
  .zh-studio-page .zh-music-form,
  .zh-studio-page .zh-image-form { padding: 14px; }
  .zh-studio-page .zh-music-form textarea,
  .zh-studio-page #zh-image-prompt { min-height: 230px; }
}

/* Work type filters: keep Video / Image / Audio labels readable in cosmic mode. */
body.zh-cosmic .task-log-filters .task-log-types > button:not(.active) { background: #172440 !important; border: 1px solid var(--zh-line-strong) !important; color: #f2f7ff !important; }
body.zh-cosmic .task-log-filters .task-log-types > button.active { background: #286fbc !important; border: 1px solid #58a6f6 !important; color: #ffffff !important; }

/* Let the shared star field show through large work surfaces without fading their content. */
body.zh-cosmic[data-zh-studio="video"] #home > section { background: linear-gradient(150deg, rgba(17, 29, 57, .85), rgba(9, 15, 32, .87) 63%) !important; }
body.zh-cosmic[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section {
  background: linear-gradient(150deg, rgba(17, 29, 57, .87), rgba(9, 15, 32, .89) 63%) !important;
}
body.zh-cosmic .zh-studio-page .zh-modal { background: linear-gradient(145deg, rgba(16, 26, 52, .85), rgba(8, 15, 33, .88)); }
body.zh-cosmic .zh-studio-page .zh-form-card,
body.zh-cosmic .zh-studio-page .zh-queue { background: rgba(11, 20, 41, .84); }
body.zh-cosmic .zh-shared-assets { background: rgba(11, 20, 41, .86); }
body.zh-cosmic .market-topbar,
body.zh-cosmic .market-shell,
body.zh-cosmic .market-stage { background: rgba(8, 14, 27, .82) !important; }
body.zh-cosmic .market-card { background: linear-gradient(145deg, rgba(23, 35, 64, .86), rgba(12, 21, 43, .88)) !important; }
body.zh-cosmic .zh-modal,
body.zh-cosmic .task-log-modal,
body.zh-cosmic .key-modal,
body.zh-cosmic .zh-recharge-panel,
body.zh-cosmic .zh-notice-popup { background: rgba(12, 21, 41, .88); }
body.zh-cosmic .zh-modal > header,
body.zh-cosmic .task-log-head,
body.zh-cosmic .key-modal-head,
body.zh-cosmic .zh-notice-popup > header { background: rgba(17, 29, 53, .86); }
body.zh-cosmic .task-log-filters,
body.zh-cosmic .task-log-scroll,
body.zh-cosmic .task-log-pager { background: rgba(12, 22, 43, .85) !important; }
body.zh-cosmic .zh-wallet-stat,
body.zh-cosmic .zh-wallet-section { background: rgba(16, 28, 52, .84); }

.zh-storyboard-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 46px;
  padding: 5px 0;
  color: #a9bddb;
  font-size: 12px;
}
.zh-storyboard-share-bar button {
  min-height: 34px;
  padding: 5px 13px;
  border: 1px solid #668dc5a0;
  border-radius: 7px;
  background: #183154;
  color: #e9f3ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.zh-storyboard-share-bar button.active {
  border-color: #87afff;
  background: #155ba2;
  color: #fff;
}
.zh-storyboard-inherited {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #5482c57d;
  border-radius: 7px;
  color: #b9d7ff;
  background: #122949;
  font-size: 12px;
}
.zh-storyboard-assets {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.zh-storyboard-recognize,
.zh-storyboard-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #668dc5a0;
  border-radius: 7px;
  background: #183154;
  color: #e9f3ff;
  font-size: 12px;
  cursor: pointer;
}
.zh-storyboard-upload input { display: none; }
.zh-storyboard-clear-assets {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #b76b7c80;
  border-radius: 7px;
  background: #462332;
  color: #ffd4dc;
  font-size: 12px;
  cursor: pointer;
}
.zh-storyboard-asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 230px;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid #59769e80;
  border-radius: 6px;
  background: #101f39;
  color: #dbeaff;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zh-storyboard-asset-chip button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 28px;
  border: 1px solid #b76b7c80;
  border-radius: 4px;
  padding: 2px 7px;
  background: #462332;
  color: #ffc4cd;
  cursor: pointer;
}
.zh-storyboard-asset-chip .zh-storyboard-asset-use {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 5px;
  min-width: 0;
  min-height: 28px;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: #dbeaff;
  text-align: left;
}
.zh-storyboard-asset-chip .zh-storyboard-asset-use:hover {
  color: #8bc7ff;
}
.zh-storyboard-asset-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-zh-studio="video"] #zh-shared-assets { display: none !important; }
body[data-zh-studio="video"] #home > section {
  width: min(1200px, calc(100% - 32px)) !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(9) {
  grid-column: 1 !important;
  grid-row: auto !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(9) > div > section {
  padding: 24px !important;
}
body[data-zh-studio="video"] #home > section > div:nth-child(10) {
  grid-column: 1 !important;
  grid-row: auto !important;
}
body[data-zh-studio="video"] #home #homePromptInput {
  box-sizing: border-box;
  width: 100%;
  min-height: 220px;
  resize: vertical;
}

body.zh-cosmic[data-zh-studio="video"] #zh-video-heading {
  top: 84px;
  width: min(1080px, calc(100% - 48px));
}
body.zh-cosmic[data-zh-studio="video"] #zh-video-heading h1 {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: .035em;
  text-shadow: 0 3px 22px #030713;
}
body.zh-cosmic[data-zh-studio="video"] #home {
  min-height: 100svh !important;
  padding: 152px 20px 68px !important;
}
body.zh-cosmic[data-zh-studio="video"] #home > .zh-simple-video-shell {
  width: min(1080px, 100%) !important;
  overflow: visible !important;
  border: 1px solid rgba(139, 180, 238, .33) !important;
  border-radius: 18px !important;
  background: rgba(5, 11, 26, .68) !important;
  box-shadow: 0 24px 75px rgba(0, 0, 0, .36) !important;
  backdrop-filter: none !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-console {
  padding: 28px 32px 22px !important;
  border: 0 !important;
  border-radius: 17px 17px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-console label {
  background: transparent !important;
  box-shadow: none !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-console [data-model-select] > button,
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-console select,
body.zh-cosmic[data-zh-studio="video"] #home #homePromptInput {
  border: 1px solid rgba(127, 163, 214, .38) !important;
  border-radius: 9px !important;
  background: rgba(8, 17, 37, .87) !important;
  color: #f1f6ff !important;
  box-shadow: none !important;
}
body.zh-cosmic[data-zh-studio="video"] #home #homePromptInput {
  min-height: 300px !important;
  padding: 18px 20px !important;
  line-height: 1.7 !important;
}
body.zh-cosmic[data-zh-studio="video"] #home #homePromptInput:focus,
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-console select:focus {
  border-color: #84bbfa !important;
  outline: 1px solid rgba(132, 187, 250, .4);
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-actions {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 18px 32px 24px !important;
  border: 0 !important;
  border-top: 1px solid rgba(139, 180, 238, .24) !important;
  border-radius: 0 0 17px 17px !important;
  background: rgba(4, 10, 24, .3) !important;
  box-shadow: none !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-actions > button:nth-of-type(2) {
  background: #397dcc !important;
  border-color: #6aa8eb !important;
  box-shadow: none !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-tag {
  border: 1px solid #6088ba !important;
  border-radius: 8px !important;
  background: #182d4b !important;
  color: #f3f8ff !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-tag button {
  background: #203b61 !important;
  border: 1px solid #688ebc !important;
  border-radius: 6px !important;
  color: #f3f8ff !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-tag button:hover {
  background: #2e5688 !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-add {
  border: 1px solid #7fa9db !important;
  border-radius: 8px !important;
  background: #214879 !important;
  color: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-add span,
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-add strong {
  color: #fff !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-reference-add:hover {
  background: #30649c !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-clear {
  border: 1px solid #7299c8 !important;
  border-radius: 8px !important;
  background: #1c3455 !important;
  color: #f1f7ff !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-clear:hover {
  background: #2a4d79 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets-backdrop {
  background: rgba(2, 6, 17, .82) !important;
  backdrop-filter: blur(5px);
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets {
  border: 1px solid #6993c8 !important;
  border-radius: 16px !important;
  background: #0d1930 !important;
  color: #f2f7ff !important;
  box-shadow: 0 28px 85px #000b !important;
  backdrop-filter: none !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets > div:first-child > div,
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets > div:first-child > div > div {
  color: #f2f7ff !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets > div:first-child > div > div:last-child {
  color: #b5c9e4 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets > div:first-child > button,
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-asset-remove {
  border: 1px solid #7196c5 !important;
  border-radius: 7px !important;
  background: #213d62 !important;
  color: #f5f9ff !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-assets > div:first-child > button:hover,
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-asset-remove:hover {
  background: #315b8d !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-upload {
  border: 1px dashed #6d9cd3 !important;
  border-radius: 12px !important;
  background: #142849 !important;
  color: #eaf4ff !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-upload:hover {
  background: #1b3761 !important;
  border-color: #a0c5f1 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-upload span,
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-upload strong,
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-upload em {
  color: #eaf4ff !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-asset-row {
  border: 1px solid #4e6c96 !important;
  border-radius: 9px !important;
  background: #152846 !important;
  color: #e9f2ff !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-asset-row em {
  color: #e9f2ff !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-asset-tag {
  border: 1px solid #76a7df !important;
  border-radius: 7px !important;
  background: #214a7c !important;
  color: #fff !important;
  opacity: 1 !important;
}
body.zh-cosmic[data-zh-studio="video"] .zh-simple-video-asset-tag:hover {
  background: #30649c !important;
}
@media (max-width: 700px) {
  body.zh-cosmic[data-zh-studio="video"] #zh-video-heading {
    top: 139px;
    width: calc(100% - 28px);
  }
  body.zh-cosmic[data-zh-studio="video"] #home {
    padding: 205px 12px 34px !important;
  }
  body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-console {
    padding: 18px 16px !important;
  }
  body.zh-cosmic[data-zh-studio="video"] #home .zh-simple-video-actions {
    padding: 16px !important;
  }
  body.zh-cosmic[data-zh-studio="video"] #home #homePromptInput {
    min-height: 250px !important;
  }
}
