/* studio dark redesign v328: scoped to dark mode only */
#studioView .manual-prompt-examples {
  display: none;
}

html.theme-dark .phone-app {
  background: #0a0a0c !important;
}

html.theme-dark #appPanel,
html.theme-dark #appPanel .screen-body {
  background:
    radial-gradient(600px 300px at 15% -5%, rgba(228, 255, 61, 0.055), transparent 60%),
    radial-gradient(500px 260px at 100% 10%, rgba(140, 120, 255, 0.04), transparent 60%),
    #0a0a0c !important;
}

html.theme-dark .app-header {
  border-bottom: 1px solid rgba(245, 243, 237, 0.09) !important;
  background: rgba(10, 10, 12, 0.92) !important;
  color: #f5f3ed !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

html.theme-dark .app-header small {
  color: #e4ff3d !important;
  letter-spacing: 0.08em;
}

html.theme-dark .app-header h1,
html.theme-dark #viewTitle {
  color: #f5f3ed !important;
}

html.theme-dark .app-header .icon-button,
html.theme-dark #refreshBtn {
  border: 1px solid rgba(245, 243, 237, 0.12) !important;
  background: rgba(245, 243, 237, 0.05) !important;
  color: #9c9aa3 !important;
  box-shadow: none !important;
}

html.theme-dark .tabbar {
  display: flex !important;
  gap: 0;
  padding: 10px 24px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(245, 243, 237, 0.09) !important;
  background: rgba(10, 10, 12, 0.96) !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

html.theme-dark .tabbar .tab-item {
  flex: 1 1 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 58px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #6c6a73 !important;
  box-shadow: none !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
}

html.theme-dark .tabbar .tab-item .tab-icon {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: currentColor !important;
  box-shadow: none !important;
}

html.theme-dark .tabbar .tab-item.active {
  border: 0 !important;
  background: transparent !important;
  color: #e4ff3d !important;
  box-shadow: none !important;
}

html.theme-dark .tabbar .tab-item.active .tab-icon {
  background: rgba(228, 255, 61, 0.14) !important;
  color: #e4ff3d !important;
}

html.theme-dark .tabbar .tab-item span:not(.tab-icon),
html.theme-dark .tabbar .tab-item.active span:not(.tab-icon) {
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
}

html.theme-dark .tabbar .tab-logo-icon img {
  filter: grayscale(1) brightness(1.65) contrast(0.9);
  opacity: 0.76;
}

html.theme-dark .tabbar .tab-item.active .tab-logo-icon img {
  filter: sepia(1) saturate(8) hue-rotate(15deg) brightness(1.4);
  opacity: 1;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar,
html.theme-dark .phone-app.phone-app.phone-app nav.tabbar {
  padding: 10px 24px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(245, 243, 237, 0.09) !important;
  background: rgba(10, 10, 12, 0.96) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar button.tab-item,
html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item {
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #6c6a73 !important;
  box-shadow: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar button.tab-item.active,
html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item.active {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #e4ff3d !important;
  box-shadow: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item .tab-icon,
html.theme-dark .phone-app.phone-app.phone-app .tabbar button.tab-item .tab-icon {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  background-image: none !important;
  color: currentColor !important;
  box-shadow: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item.active .tab-icon,
html.theme-dark .phone-app.phone-app.phone-app .tabbar button.tab-item.active .tab-icon {
  background: rgba(228, 255, 61, 0.14) !important;
  background-image: none !important;
  color: #e4ff3d !important;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item .tab-graphic-icon::before,
html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item .tab-graphic-icon::after {
  background-color: currentColor !important;
  border-color: currentColor !important;
  box-shadow: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item span:not(.tab-icon),
html.theme-dark .phone-app.phone-app.phone-app .tabbar .tab-item.active span:not(.tab-icon) {
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-primary,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button {
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 112px !important;
  padding: 16px 14px 15px !important;
  border: 1px solid rgba(245, 243, 237, 0.16) !important;
  border-radius: 16px !important;
  background: #1a1a1e !important;
  background-image: none !important;
  color: #f5f3ed !important;
  box-shadow: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card::before,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card::after,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button::before,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button::after {
  display: none !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .membership-entry {
  border-color: rgba(228, 255, 61, 0.80) !important;
  background: #e4ff3d !important;
  color: #0a0a0c !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .membership-entry :is(strong, small, em, span) {
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card strong,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary strong {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card small,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card em {
  color: #6c6a73 !important;
  -webkit-text-fill-color: #6c6a73 !important;
  font-size: 10.5px !important;
}

html.theme-dark #studioView {
  --studio-bg: #0a0a0c;
  --studio-panel: #131316;
  --studio-panel-2: #1a1a1e;
  --studio-hair: rgba(245, 243, 237, 0.09);
  --studio-hair-strong: rgba(245, 243, 237, 0.16);
  --studio-ink: #f5f3ed;
  --studio-ink-dim: #9c9aa3;
  --studio-ink-faint: #6c6a73;
  --studio-acid: #e4ff3d;
  --studio-acid-dim: rgba(228, 255, 61, 0.14);
  --studio-violet: #8c78ff;
  --studio-coral: #ff7a5c;
  --studio-cyan: #5cd9ff;
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding: 0 0 calc(18px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(600px 300px at 15% -5%, rgba(228, 255, 61, 0.07), transparent 60%),
    radial-gradient(500px 260px at 100% 10%, rgba(140, 120, 255, 0.05), transparent 60%),
    var(--studio-bg) !important;
  color: var(--studio-ink) !important;
}

html.theme-dark #studioView::before {
  display: none !important;
}

html.theme-dark #appPanel #studioView .studio-top-my-works,
html.theme-dark #appPanel #studioView #uploadWorkBtn.studio-upload-work {
  border: 1px solid var(--studio-hair) !important;
  background: rgba(245, 243, 237, 0.05) !important;
  color: var(--studio-ink-dim) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .studio-mode-switch {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  margin: 2px 20px 18px !important;
  padding: 4px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 14px !important;
  background: var(--studio-panel) !important;
  box-shadow: none !important;
}

html.theme-dark #appPanel #studioView .studio-mode-switch :is(#switchAgentCreateBtn, #switchManualCreateBtn) {
  min-height: 40px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--studio-ink-faint) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  box-shadow: none !important;
}

html.theme-dark #appPanel #studioView .studio-mode-switch :is(#switchAgentCreateBtn, #switchManualCreateBtn).active {
  background: var(--studio-ink) !important;
  color: #0a0a0c !important;
}

html.theme-dark #studioView .ai-generation-disclosure {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 20px 20px !important;
  padding: 10px 14px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(245, 243, 237, 0.02), transparent) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .ai-generation-disclosure::before {
  display: none !important;
  content: none !important;
}

html.theme-dark #studioView .ai-generation-disclosure strong {
  display: none !important;
}

html.theme-dark #studioView .ai-generation-disclosure span {
  color: var(--studio-ink-faint) !important;
  font-size: 11.5px !important;
  line-height: 1.5;
}

html.theme-dark body.studio-manual-mode #studioView #personForm.manual-create-panel,
html.theme-dark #studioView #personForm.manual-create-panel {
  --cinema-bg: var(--studio-bg);
  --cinema-panel: var(--studio-panel);
  --cinema-panel-soft: var(--studio-panel-2);
  --cinema-line: var(--studio-hair);
  --cinema-muted: var(--studio-ink-faint);
  --cinema-text: var(--studio-ink);
  --cinema-gold: var(--studio-acid);
  --cinema-gold-soft: var(--studio-acid-dim);
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 20px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--studio-ink) !important;
}

html.theme-dark #studioView #personForm.manual-create-panel.hidden {
  display: none !important;
}

html.theme-dark #studioView .manual-create-panel .prompt-block {
  position: relative;
  margin: 0 0 2px !important;
  padding: 22px 20px 20px !important;
  overflow: hidden;
  border: 1px solid var(--studio-hair-strong) !important;
  border-radius: 20px !important;
  background: linear-gradient(165deg, #101012 0%, #0b0b0d 100%) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .manual-create-panel .prompt-block::before,
html.theme-dark #studioView .manual-create-panel .prompt-block::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

html.theme-dark #studioView .manual-create-panel .prompt-block::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--studio-acid);
  border-left: 2px solid var(--studio-acid);
  border-radius: 4px 0 0 0;
}

html.theme-dark #studioView .manual-create-panel .prompt-block::after {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid var(--studio-acid);
  border-bottom: 2px solid var(--studio-acid);
  border-radius: 0 0 4px 0;
}

html.theme-dark #studioView .manual-create-panel .prompt-block > * {
  position: relative;
  z-index: 2;
}

html.theme-dark #studioView .manual-create-panel .prompt-block .section-title {
  align-items: flex-start !important;
  margin: 0 0 14px !important;
}

html.theme-dark #studioView .manual-create-panel .prompt-block .section-title h3 {
  color: var(--studio-ink) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px;
}

html.theme-dark #studioView .manual-create-panel .title-hint {
  display: block !important;
  margin-top: 6px;
  color: var(--studio-ink-faint) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4;
}

html.theme-dark #studioView .prompt-title-actions {
  gap: 8px !important;
}

html.theme-dark #studioView .prompt-title-actions .studio-model-trigger,
html.theme-dark #studioView button.hero-status-bar.studio-model-trigger {
  min-height: 36px !important;
  max-width: 168px;
  padding: 7px 10px !important;
  border: 1px solid var(--studio-hair-strong) !important;
  border-radius: 12px !important;
  background: var(--studio-panel-2) !important;
  color: var(--studio-ink) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .prompt-title-actions .studio-model-icon {
  width: 18px !important;
  height: 18px !important;
  border-radius: 6px;
  background: conic-gradient(from 180deg, var(--studio-acid), var(--studio-violet), var(--studio-acid));
  fill: transparent !important;
  stroke: transparent !important;
}

html.theme-dark #studioView .prompt-title-actions .studio-model-name {
  color: var(--studio-ink) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

html.theme-dark #studioView .prompt-title-actions .duration-badge {
  padding: 2px 6px !important;
  border-radius: 6px !important;
  background: var(--studio-acid) !important;
  color: #0a0a0c !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
}

html.theme-dark #studioView .prompt-title-actions .studio-upload-work {
  border-color: var(--studio-hair) !important;
  background: rgba(245, 243, 237, 0.05) !important;
  color: var(--studio-ink-dim) !important;
}

html.theme-dark #studioView .prompt-library-entry {
  display: flex !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  padding: 0 0 2px !important;
  overflow-x: auto;
  scrollbar-width: none;
}

html.theme-dark #studioView .prompt-library-entry::-webkit-scrollbar {
  display: none;
}

html.theme-dark #studioView .prompt-library-entry button {
  flex: 0 0 auto;
  min-height: 36px !important;
  padding: 0 13px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 11px !important;
  background: var(--studio-panel-2) !important;
  color: var(--studio-ink) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .prompt-library-entry button::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
  background: var(--studio-acid);
}

html.theme-dark #studioView .prompt-library-entry button:nth-child(2)::before { background: var(--studio-violet); }
html.theme-dark #studioView .prompt-library-entry button:nth-child(3)::before { background: var(--studio-coral); }
html.theme-dark #studioView .prompt-library-entry button:nth-child(4)::before { background: var(--studio-cyan); }

html.theme-dark #studioView .prompt-field {
  margin: 0 !important;
}

html.theme-dark #studioView .manual-prompt-editor {
  position: relative;
  border: 1px solid var(--studio-hair-strong) !important;
  border-radius: 16px !important;
  background: #0d0d0f !important;
  padding: 18px 18px 16px !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .manual-prompt-editor::before {
  content: "试试输入";
  display: block;
  margin-bottom: 12px;
  color: var(--studio-ink-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

html.theme-dark #studioView .manual-prompt-examples {
  display: grid;
  gap: 0;
  margin: 0 0 12px;
}

html.theme-dark #studioView .manual-prompt-examples > div {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--studio-hair);
}

html.theme-dark #studioView .manual-prompt-examples > div:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

html.theme-dark #studioView .manual-prompt-examples span {
  flex: 0 0 auto;
  height: fit-content;
  margin-top: 1px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--studio-acid);
  color: #0a0a0c !important;
  font-size: 11px;
  font-weight: 800;
}

html.theme-dark #studioView .manual-prompt-examples p {
  margin: 0;
  color: #d8d6d0 !important;
  font-size: 13px;
  line-height: 1.5;
}

html.theme-dark #studioView .manual-prompt-examples b {
  color: var(--studio-ink-faint) !important;
  font-weight: 600;
}

html.theme-dark #studioView .manual-prompt-examples + textarea:not(:focus):placeholder-shown {
  min-height: 0 !important;
  height: 0 !important;
  padding-bottom: 58px !important;
}

html.theme-dark #studioView .manual-prompt-editor textarea {
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d8d6d0 !important;
  -webkit-text-fill-color: #d8d6d0 !important;
  font-size: 13px !important;
  line-height: 1.58 !important;
  box-shadow: none !important;
  resize: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.theme-dark #studioView .manual-prompt-editor textarea::placeholder {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

html.theme-dark #studioView .manual-prompt-editor textarea:focus {
  box-shadow: none !important;
}

html.theme-dark #studioView .manual-prompt-editor.is-editing .manual-prompt-examples,
html.theme-dark #studioView .manual-prompt-editor.has-value .manual-prompt-examples {
  display: none !important;
}

html.theme-dark #studioView .manual-prompt-editor.is-editing textarea,
html.theme-dark #studioView .manual-prompt-editor.has-value textarea {
  min-height: 170px !important;
  height: auto !important;
  padding: 0 0 58px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

html.theme-dark #studioView #aiPromptBtn.ai-prompt-button {
  left: 18px !important;
  right: 18px !important;
  bottom: 16px !important;
  min-height: 43px !important;
  justify-content: center;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--studio-acid) !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  font-size: 13.5px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .manual-prompt-actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

html.theme-dark #studioView .manual-prompt-actions button {
  min-height: 38px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--studio-ink-dim) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

html.theme-dark #studioView .manual-prompt-actions::after {
  display: none !important;
  content: none !important;
}

html.theme-dark #studioView .manual-prompt-actions #studioTopMyWorksBtn.manual-my-works {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: auto !important;
  flex: 0 0 auto !important;
  margin: 0 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 92px !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 12px !important;
  background: rgba(245, 243, 237, 0.06) !important;
  color: var(--studio-ink-dim) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .manual-prompt-actions #studioTopMyWorksBtn.manual-my-works svg {
  width: 15px !important;
  height: 15px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

html.theme-dark #studioView .manual-prompt-actions button::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  background: currentColor;
  clip-path: polygon(12% 18%, 88% 18%, 88% 30%, 12% 30%, 12% 44%, 88% 44%, 88% 56%, 12% 56%, 12% 70%, 72% 70%, 72% 82%, 12% 82%);
  vertical-align: -2px;
}

html.theme-dark #studioView .manual-prompt-actions button span {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

html.theme-dark #studioView .creator-picks {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px !important;
  margin: 0 !important;
}

html.theme-dark #studioView .creator-pick,
html.theme-dark #studioView .creator-pick.voice-text-pick {
  min-height: 72px !important;
  padding: 10px 8px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 14px !important;
  background: var(--studio-panel) !important;
  color: var(--studio-ink-dim) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .creator-pick.active,
html.theme-dark #studioView .creator-pick:active {
  border-color: rgba(228, 255, 61, 0.38) !important;
  background: var(--studio-acid-dim) !important;
}

html.theme-dark #studioView .pick-icon,
html.theme-dark #studioView .creator-pick.voice-text-pick .pick-icon {
  width: 28px !important;
  height: 28px !important;
  border: 1px solid var(--studio-hair) !important;
  border-radius: 9px !important;
  background: rgba(245, 243, 237, 0.08) !important;
  color: var(--studio-acid) !important;
  -webkit-text-fill-color: var(--studio-acid) !important;
  font-size: 15px !important;
}

html.theme-dark #studioView .creator-pick:nth-child(2) .pick-icon { color: var(--studio-violet) !important; -webkit-text-fill-color: var(--studio-violet) !important; }
html.theme-dark #studioView .creator-pick:nth-child(3) .pick-icon { color: var(--studio-coral) !important; -webkit-text-fill-color: var(--studio-coral) !important; }
html.theme-dark #studioView .creator-pick:nth-child(4) .pick-icon { color: var(--studio-cyan) !important; -webkit-text-fill-color: var(--studio-cyan) !important; }

html.theme-dark #studioView .creator-pick strong {
  color: var(--studio-ink-dim) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

html.theme-dark #studioView .pick-label {
  color: var(--studio-ink-faint) !important;
  font-size: 10px !important;
}

html.theme-dark #studioView .main-create-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

html.theme-dark #studioView .main-create-button {
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--studio-acid) !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  box-shadow: 0 12px 30px -8px rgba(228, 255, 61, 0.35) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px;
}

html.theme-dark #studioView .main-create-button::after {
  content: "\00b7  \6d88\8017 40 \7075\611f\503c";
  margin-left: 4px;
  opacity: 0.65;
  font-size: 11.5px;
  font-weight: 800;
}

html.theme-dark #studioView .creator-panel,
html.theme-dark #studioView .manual-create-panel .creator-panel {
  border: 1px solid var(--studio-hair-strong) !important;
  border-radius: 18px !important;
  background: var(--studio-panel) !important;
  color: var(--studio-ink) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .asset-chip,
html.theme-dark #studioView .template,
html.theme-dark #studioView .upload-action,
html.theme-dark #studioView .video-look-panel,
html.theme-dark #studioView .compact-settings label,
html.theme-dark #studioView .manual-asset-autopick {
  border-color: var(--studio-hair) !important;
  background: var(--studio-panel-2) !important;
  color: var(--studio-ink) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .auto-agent-overlay.studio-agent-inline {
  margin: 0 20px 18px !important;
}

html.theme-dark #studioView .studio-agent-inline .auto-agent-panel {
  border: 1px solid var(--studio-hair-strong) !important;
  border-radius: 20px !important;
  background: linear-gradient(165deg, #101012 0%, #0b0b0d 100%) !important;
  color: var(--studio-ink) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .auto-agent-head,
html.theme-dark #studioView .auto-agent-confirm,
html.theme-dark #studioView .auto-agent-input,
html.theme-dark #studioView .auto-agent-task,
html.theme-dark #studioView .auto-agent-preview-card,
html.theme-dark #studioView .auto-agent-answer-card,
html.theme-dark #studioView .auto-agent-text-card {
  border-color: var(--studio-hair) !important;
  background: var(--studio-panel-2) !important;
  color: var(--studio-ink) !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .auto-agent-input textarea,
html.theme-dark #studioView .auto-agent-prompt-editor textarea {
  border-color: var(--studio-hair-strong) !important;
  background: #0d0d0f !important;
  color: var(--studio-ink) !important;
}

html.theme-dark #studioView .auto-agent-voice-btn,
html.theme-dark #studioView .auto-agent-text-confirm,
html.theme-dark #studioView .auto-agent-confirm-actions .primary {
  border: 0 !important;
  background: var(--studio-acid) !important;
  color: #0a0a0c !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .auto-agent-msg.user p {
  background: var(--studio-acid) !important;
  color: #0a0a0c !important;
}

html.theme-dark #studioView .auto-agent-msg:not(.user) p {
  background: var(--studio-panel-2) !important;
  color: var(--studio-ink) !important;
}

html.theme-dark #studioView .auto-agent-head::before,
html.theme-dark #studioView .auto-agent-head::after,
html.theme-dark #studioView .studio-agent-inline .auto-agent-head::before,
html.theme-dark #studioView .studio-agent-inline .auto-agent-head::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 420px) {
  html.theme-dark #studioView .studio-mode-switch,
  html.theme-dark #studioView .ai-generation-disclosure,
  html.theme-dark #studioView .auto-agent-overlay.studio-agent-inline {
    margin-inline: 16px !important;
  }

  html.theme-dark body.studio-manual-mode #studioView #personForm.manual-create-panel,
  html.theme-dark #studioView #personForm.manual-create-panel {
    padding-inline: 16px !important;
  }

  html.theme-dark #studioView .manual-create-panel .prompt-block {
    padding: 20px 18px 18px !important;
  }

  html.theme-dark #studioView .manual-create-panel .prompt-block .section-title h3 {
    font-size: 18px !important;
  }

  html.theme-dark #studioView .creator-picks {
    gap: 7px !important;
  }
}

/* final dark chrome override v314 */
html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar,
html.theme-dark .phone-app.phone-app.phone-app .app-screen > nav.tabbar,
html.theme-dark #appPanel > nav.tabbar.tabbar {
  display: flex !important;
  gap: 0 !important;
  min-height: 90px !important;
  padding: 10px 24px calc(22px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(245, 243, 237, 0.09) !important;
  background: rgba(10, 10, 12, 0.97) !important;
  background-color: rgba(10, 10, 12, 0.97) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar > button.tab-item,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar > button.tab-item,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #6c6a73 !important;
  -webkit-text-fill-color: #6c6a73 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar > button.tab-item.active,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar > button.tab-item.active,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item.active,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item.active:hover,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item.active:focus,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item.active:active {
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #e4ff3d !important;
  -webkit-text-fill-color: #e4ff3d !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar > button.tab-item > .tab-icon,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar > button.tab-item > .tab-icon,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item > .tab-icon {
  width: 38px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar > button.tab-item.active > .tab-icon,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar > button.tab-item.active > .tab-icon,
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item.active > .tab-icon {
  background: rgba(228, 255, 61, 0.14) !important;
  background-color: rgba(228, 255, 61, 0.14) !important;
  background-image: none !important;
  color: #e4ff3d !important;
  -webkit-text-fill-color: #e4ff3d !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar > button.tab-item > span:not(.tab-icon),
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar > button.tab-item > span:not(.tab-icon),
html.theme-dark #appPanel > nav.tabbar.tabbar > button.tab-item > span:not(.tab-icon) {
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar .tab-graphic-icon::before,
html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar .tab-graphic-icon::after,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar .tab-graphic-icon::before,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar .tab-graphic-icon::after {
  background: currentColor !important;
  background-color: currentColor !important;
  border-color: currentColor !important;
  box-shadow: none !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar .tab-logo-icon img,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar .tab-logo-icon img {
  filter: grayscale(1) brightness(1.65) contrast(0.9) !important;
  opacity: 0.76 !important;
}

html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar button.tab-item.active .tab-logo-icon img,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar button.tab-item.active .tab-logo-icon img {
  filter: sepia(1) saturate(8) hue-rotate(15deg) brightness(1.4) !important;
  opacity: 1 !important;
}

html.theme-dark #accountView .account-card,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card {
  position: relative !important;
}

html.theme-dark #accountView #accountSettingsBtn,
html.theme-dark .phone-app.phone-app.phone-app #accountView #accountSettingsBtn,
html.theme-dark body.mahua-apk-webview #accountView #accountSettingsBtn {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 8 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(245, 243, 237, 0.16) !important;
  border-radius: 10px !important;
  background: transparent !important;
  background-image: none !important;
  color: #9c9aa3 !important;
  box-shadow: none !important;
  transform: none !important;
}

html.theme-dark #accountView #accountSettingsBtn svg,
html.theme-dark .phone-app.phone-app.phone-app #accountView #accountSettingsBtn svg {
  width: 17px !important;
  height: 17px !important;
  stroke: currentColor !important;
  fill: none !important;
}

html.theme-dark #accountView .account-card::before,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card::before,
html.theme-dark body.mahua-apk-webview #accountView .account-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 16px !important;
  z-index: 3 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(#e4ff3d, #e4ff3d) left top / 16px 2px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) left top / 2px 16px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) right top / 16px 2px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) right top / 2px 16px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) left bottom / 16px 2px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) left bottom / 2px 16px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) right bottom / 16px 2px no-repeat,
    linear-gradient(#e4ff3d, #e4ff3d) right bottom / 2px 16px no-repeat !important;
}

html.theme-dark #accountView .account-card::after,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card::after,
html.theme-dark body.mahua-apk-webview #accountView .account-card::after {
  display: none !important;
}

html.theme-dark #accountView #accountSettingsBtn,
html.theme-dark .phone-app.phone-app.phone-app #accountView #accountSettingsBtn,
html.theme-dark body.mahua-apk-webview #accountView #accountSettingsBtn {
  top: 22px !important;
  right: 22px !important;
}

html.theme-dark #accountView .account-card,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card,
html.theme-dark body.mahua-apk-webview #accountView .account-card {
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  margin: 14px 12px 18px !important;
  padding: 24px 18px !important;
}

html.theme-dark #accountView .account-user,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-user,
html.theme-dark body.mahua-apk-webview #accountView .account-user {
  display: grid !important;
  grid-template-columns: 78px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 46px 0 0 !important;
  box-sizing: border-box !important;
}

html.theme-dark #accountView .account-user .avatar.avatar-upload,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-user .avatar.avatar-upload,
html.theme-dark body.mahua-apk-webview #accountView .account-user .avatar.avatar-upload {
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: start !important;
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
  flex: 0 0 78px !important;
  margin: 0 !important;
}

html.theme-dark #accountView .account-user-main,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-user-main,
html.theme-dark body.mahua-apk-webview #accountView .account-user-main {
  grid-column: 2 !important;
  justify-self: stretch !important;
  align-self: start !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

html.theme-dark #accountView .account-name-row,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-name-row,
html.theme-dark body.mahua-apk-webview #accountView .account-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html.theme-dark #accountView .account-hub,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub,
html.theme-dark body.mahua-apk-webview #accountView .account-hub {
  padding: 0 12px 22px !important;
}

html.theme-dark #accountView .account-hub-primary,
html.theme-dark #accountView .account-hub-secondary,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-primary,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-primary,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.theme-dark #accountView .account-hub-secondary,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary {
  margin-top: 8px !important;
}

html.theme-dark #accountView .account-hub .account-hub-card,
html.theme-dark #accountView .account-hub-secondary button,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button {
  grid-column: auto !important;
  grid-row: auto !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-content: start !important;
  justify-items: start !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 118px !important;
  height: auto !important;
  padding: 14px 11px 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(228, 255, 61, 0.80) !important;
  border-radius: 16px !important;
  background: #e4ff3d !important;
  background-color: #e4ff3d !important;
  background-image: none !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-hub .account-hub-card *,
html.theme-dark #accountView .account-hub-secondary button *,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card *,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button *,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card *,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button * {
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
}

html.theme-dark #accountView .account-hub .account-hub-card > span:nth-child(2),
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card > span:nth-child(2),
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card > span:nth-child(2) {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html.theme-dark #accountView .account-hub .account-hub-card strong,
html.theme-dark #accountView .account-hub-secondary strong,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card strong,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary strong,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card strong,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: keep-all !important;
  line-height: 1.2 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

html.theme-dark #accountView .account-hub .account-hub-card small,
html.theme-dark #accountView .account-hub .account-hub-card em,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card small,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card em,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card small,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card em {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  font-size: 10px !important;
  opacity: 0.62 !important;
}

html.theme-dark #accountView .account-hub-icon,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-icon,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: rgba(10, 10, 12, 0.12) !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
}

html.theme-dark #accountView .account-hub .account-hub-card::before,
html.theme-dark #accountView .account-hub .account-hub-card::after,
html.theme-dark #accountView .account-hub-secondary button::before,
html.theme-dark #accountView .account-hub-secondary button::after,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card::before,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card::after,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button::before,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button::after,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card::before,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card::after,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button::before,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button::after {
  display: none !important;
}

html.theme-dark #studioView .manual-prompt-editor #aiPromptBtn.ai-prompt-button,
html.theme-dark .phone-app.phone-app.phone-app #studioView .manual-prompt-editor #aiPromptBtn.ai-prompt-button,
html.theme-dark body.mahua-apk-webview #studioView .manual-prompt-editor #aiPromptBtn.ai-prompt-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid rgba(228, 255, 61, 0.86) !important;
  background: #e4ff3d !important;
  background-color: #e4ff3d !important;
  background-image: none !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  box-shadow: none !important;
}

html.theme-dark #studioView .manual-prompt-editor #aiPromptBtn.ai-prompt-button *,
html.theme-dark .phone-app.phone-app.phone-app #studioView .manual-prompt-editor #aiPromptBtn.ai-prompt-button *,
html.theme-dark body.mahua-apk-webview #studioView .manual-prompt-editor #aiPromptBtn.ai-prompt-button * {
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
}

html.theme-dark #studioView .main-create-wrap,
html.theme-dark .phone-app.phone-app.phone-app #studioView .main-create-wrap,
html.theme-dark body.mahua-apk-webview #studioView .main-create-wrap {
  border-radius: 18px !important;
  background: #e4ff3d !important;
  background-color: #e4ff3d !important;
  background-image: none !important;
  padding: 2px !important;
  box-shadow: none !important;
}

html.theme-dark #studioView #mainCreateBtn.main-create-button,
html.theme-dark .phone-app.phone-app.phone-app #studioView #mainCreateBtn.main-create-button,
html.theme-dark body.mahua-apk-webview #studioView #mainCreateBtn.main-create-button {
  width: 100% !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #e4ff3d !important;
  background-color: #e4ff3d !important;
  background-image: none !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  box-shadow: none !important;
}

html.theme-dark #studioView #mainCreateBtn.main-create-button *,
html.theme-dark .phone-app.phone-app.phone-app #studioView #mainCreateBtn.main-create-button *,
html.theme-dark body.mahua-apk-webview #studioView #mainCreateBtn.main-create-button * {
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
}

html.theme-dark #studioView #personForm.asset-library-collapsed > .creator-picks,
html.theme-dark #studioView #personForm.asset-library-collapsed > .creator-panel,
html.theme-dark .phone-app.phone-app.phone-app #studioView #personForm.asset-library-collapsed > .creator-picks,
html.theme-dark .phone-app.phone-app.phone-app #studioView #personForm.asset-library-collapsed > .creator-panel,
html.theme-dark body.mahua-apk-webview #studioView #personForm.asset-library-collapsed > .creator-picks,
html.theme-dark body.mahua-apk-webview #studioView #personForm.asset-library-collapsed > .creator-panel {
  display: none !important;
}

html.theme-dark #studioView #toggleAssetLibraryBtn.manual-asset-library-toggle[aria-expanded="false"],
html.theme-dark .phone-app.phone-app.phone-app #studioView #toggleAssetLibraryBtn.manual-asset-library-toggle[aria-expanded="false"],
html.theme-dark body.mahua-apk-webview #studioView #toggleAssetLibraryBtn.manual-asset-library-toggle[aria-expanded="false"] {
  border-color: rgba(245, 243, 237, 0.13) !important;
  background: rgba(245, 243, 237, 0.06) !important;
  color: #9c9aa3 !important;
  -webkit-text-fill-color: #9c9aa3 !important;
}

html.theme-dark #studioView #toggleAssetLibraryBtn.manual-asset-library-toggle[aria-expanded="true"],
html.theme-dark .phone-app.phone-app.phone-app #studioView #toggleAssetLibraryBtn.manual-asset-library-toggle[aria-expanded="true"],
html.theme-dark body.mahua-apk-webview #studioView #toggleAssetLibraryBtn.manual-asset-library-toggle[aria-expanded="true"] {
  border-color: rgba(228, 255, 61, 0.86) !important;
  background: #e4ff3d !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
}

html.theme-dark #studioView #durationHint.duration-badge,
html.theme-dark #studioView .studio-model-trigger .duration-badge,
html.theme-dark #studioView .hero-status-bar .duration-badge,
html.theme-dark .phone-app.phone-app.phone-app #studioView #durationHint.duration-badge,
html.theme-dark body.mahua-apk-webview #studioView #durationHint.duration-badge {
  background: #e4ff3d !important;
  background-color: #e4ff3d !important;
  background-image: none !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  text-shadow: none !important;
}

html.theme-dark #accountView .account-hub .account-hub-card,
html.theme-dark #accountView .account-hub-secondary button,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 34px auto !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: start !important;
  justify-content: start !important;
  text-align: left !important;
}

html.theme-dark #accountView .account-hub .account-hub-card .account-hub-icon,
html.theme-dark #accountView .account-hub-secondary button .account-hub-icon,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card .account-hub-icon,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button .account-hub-icon,
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card .account-hub-icon,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button .account-hub-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  align-self: start !important;
  margin: 0 !important;
  transform: none !important;
}

html.theme-dark #accountView .account-hub .account-hub-card > span:nth-child(2),
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub .account-hub-card > span:nth-child(2),
html.theme-dark body.mahua-apk-webview #accountView .account-hub .account-hub-card > span:nth-child(2) {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  align-self: start !important;
  margin: 8px 0 0 !important;
  text-align: left !important;
}

html.theme-dark #accountView .account-hub-secondary button > strong,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-hub-secondary button > strong,
html.theme-dark body.mahua-apk-webview #accountView .account-hub-secondary button > strong {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  align-self: start !important;
  margin: 8px 0 0 !important;
  text-align: left !important;
}

html.theme-dark #accountView .account-invite-code,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-invite-code,
html.theme-dark body.mahua-apk-webview #accountView .account-invite-code {
  border: 1px solid rgba(245, 243, 237, 0.14) !important;
  background: #0a0a0c !important;
  background-color: #0a0a0c !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-invite-code > span,
html.theme-dark #accountView .account-invite-code > strong,
html.theme-dark #accountView #inviteCodeLabel,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-invite-code > span,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-invite-code > strong,
html.theme-dark .phone-app.phone-app.phone-app #accountView #inviteCodeLabel,
html.theme-dark body.mahua-apk-webview #accountView .account-invite-code > span,
html.theme-dark body.mahua-apk-webview #accountView .account-invite-code > strong,
html.theme-dark body.mahua-apk-webview #accountView #inviteCodeLabel {
  color: #f5f3ed !important;
  -webkit-text-fill-color: #f5f3ed !important;
  text-shadow: none !important;
}

html.theme-dark #accountView .account-invite-code > button,
html.theme-dark #accountView #copyInviteCodeBtn,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-invite-code > button,
html.theme-dark .phone-app.phone-app.phone-app #accountView #copyInviteCodeBtn,
html.theme-dark body.mahua-apk-webview #accountView .account-invite-code > button,
html.theme-dark body.mahua-apk-webview #accountView #copyInviteCodeBtn {
  border: 1px solid rgba(245, 243, 237, 0.16) !important;
  background: #1a1a1e !important;
  background-color: #1a1a1e !important;
  background-image: none !important;
  color: #f5f3ed !important;
  -webkit-text-fill-color: #f5f3ed !important;
  box-shadow: none !important;
}

html.theme-dark #accountView #accountLevelBadge,
html.theme-dark #accountView .account-level-summary > strong,
html.theme-dark .phone-app.phone-app.phone-app #accountView #accountLevelBadge,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-level-summary > strong,
html.theme-dark body.mahua-apk-webview #accountView #accountLevelBadge,
html.theme-dark body.mahua-apk-webview #accountView .account-level-summary > strong {
  border: 1px solid rgba(228, 255, 61, 0.86) !important;
  background: #e4ff3d !important;
  background-color: #e4ff3d !important;
  background-image: none !important;
  color: #0a0a0c !important;
  -webkit-text-fill-color: #0a0a0c !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html.theme-dark #appPanel > nav.tabbar button.tab-item[data-view="studioView"] .tab-logo-icon,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar button.tab-item[data-view="studioView"] .tab-logo-icon,
html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar button.tab-item[data-view="studioView"] .tab-logo-icon {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  text-align: center !important;
}

html.theme-dark #appPanel > nav.tabbar button.tab-item[data-view="studioView"] .tab-logo-icon img,
html.theme-dark .phone-app.phone-app.phone-app #appPanel > nav.tabbar button.tab-item[data-view="studioView"] .tab-logo-icon img,
html.theme-dark body.mahua-apk-webview #appPanel > nav.tabbar button.tab-item[data-view="studioView"] .tab-logo-icon img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: translateX(-1px) !important;
}

html.theme-dark #accountView .account-card .account-user-main .account-invite-code,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code {
  border: 1px solid rgba(245, 243, 237, 0.18) !important;
  background: #0a0a0c !important;
  background-color: #0a0a0c !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-card .account-user-main .account-invite-code > span,
html.theme-dark #accountView .account-card .account-user-main .account-invite-code > strong,
html.theme-dark #accountView .account-card .account-user-main .account-invite-code #inviteCodeLabel,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code > span,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code > strong,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code > span,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code > strong {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #f5f3ed !important;
  -webkit-text-fill-color: #f5f3ed !important;
  text-shadow: none !important;
}

html.theme-dark #accountView .account-card .account-user-main .account-invite-code > button#copyInviteCodeBtn,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code > button#copyInviteCodeBtn,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code > button#copyInviteCodeBtn {
  border: 1px solid rgba(245, 243, 237, 0.20) !important;
  background: #0a0a0c !important;
  background-color: #0a0a0c !important;
  background-image: none !important;
  color: #f5f3ed !important;
  -webkit-text-fill-color: #f5f3ed !important;
  box-shadow: none !important;
}

html.theme-dark #studioView #durationHint.duration-badge,
html.theme-dark #studioView .studio-model-trigger .duration-badge,
html.theme-dark #studioView .hero-status-bar .duration-badge,
html.theme-dark .phone-app.phone-app.phone-app #studioView #durationHint.duration-badge,
html.theme-dark body.mahua-apk-webview #studioView #durationHint.duration-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 6px !important;
  line-height: 20px !important;
  vertical-align: middle !important;
}

/* account-invite-plain-text-v20260720 */
html.theme-dark #accountView .account-card .account-user-main .account-invite-code,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-height: 0 !important;
  margin-top: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html.theme-dark #accountView .account-card .account-user-main .account-invite-code > span,
html.theme-dark #accountView .account-card .account-user-main .account-invite-code > strong,
html.theme-dark #accountView .account-card .account-user-main .account-invite-code #inviteCodeLabel,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code > span,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code > strong,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code > span,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code > strong {
  color: #f5f3ed !important;
  -webkit-text-fill-color: #f5f3ed !important;
}

html.theme-dark #accountView .account-card .account-user-main .account-invite-code > button#copyInviteCodeBtn,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-card .account-user-main .account-invite-code > button#copyInviteCodeBtn,
html.theme-dark body.mahua-apk-webview #accountView .account-card .account-user-main .account-invite-code > button#copyInviteCodeBtn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: rgba(245, 243, 237, 0.68) !important;
  -webkit-text-fill-color: rgba(245, 243, 237, 0.68) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

/* dark-account-avatar-clean-v20260720 */
html.theme-dark #accountView .avatar.avatar-upload::after,
html.theme-dark #accountView .account-user .avatar.avatar-upload::after,
html.theme-dark .phone-app.phone-app.phone-app #accountView .avatar.avatar-upload::after,
html.theme-dark .phone-app.phone-app.phone-app #accountView .account-user .avatar.avatar-upload::after,
html.theme-dark body.mahua-apk-webview #accountView .avatar.avatar-upload::after,
html.theme-dark body.mahua-apk-webview #accountView .account-user .avatar.avatar-upload::after {
  display: none !important;
  content: none !important;
}

/* dark-studio-clean-prompt-placeholder-v20260720 */
html.theme-dark #studioView .manual-prompt-editor .manual-prompt-examples,
html.theme-dark .phone-app.phone-app.phone-app #studioView .manual-prompt-editor .manual-prompt-examples,
html.theme-dark body.mahua-apk-webview #studioView .manual-prompt-editor .manual-prompt-examples {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Studio page body edge expansion v444: match works/account edge-to-edge layout. */
#studioView {
  width: calc(100% + 20px) !important;
  max-width: calc(100% + 20px) !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#appPanel #studioView,
#appPanel .screen-body #studioView,
.phone-app #appPanel #studioView {
  width: calc(100% + 20px) !important;
  max-width: calc(100% + 20px) !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#studioView .auto-agent-overlay,
#studioView .studio-agent-inline,
#studioView .creator-flow,
#studioView .manual-create-panel,
#studioView .prompt-block,
#studioView .creator-panel,
#studioView .creator-picks,
#studioView .manual-prompt-actions,
#studioView .studio-mode-switch {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html.theme-dark #studioView,
body.theme-dark #studioView,
html.mahua-apk-webview #studioView,
body.mahua-apk-webview #studioView,
html.mahua-apk-android9 #studioView,
body.mahua-apk-android9 #studioView,
html.mahua-apk-projector-720 #studioView,
body.mahua-apk-projector-720 #studioView {
  width: calc(100% + 20px) !important;
  max-width: calc(100% + 20px) !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}
