/* Shared material and interaction contract. The existing modules remain owners
   of business state; every palette below resolves to the same semantic source. */
html:root[data-lizhi-design]{
 --cx-bg:#121212;--cx-canvas:#0d0d0d;--cx-surface:#1b1b1b;--cx-raised:#262626;--cx-hover:#303030;
 --cx-ink:#fff;--cx-muted:#ffffffb3;--cx-caption:#ffffff80;--cx-line:#ffffff0d;--cx-edge:#ffffff14;
 --cx-aqua:#7cb8e8;--cx-focus:#83b9eb;--cx-action:#fafafa;--cx-on-action:#1a1a1a;--cx-brand-pink:#edb1c6;--cx-brand-blue:#8ac4ff;--cx-accent-rgb:237,177,198;
 --cx-sheet:#1d1d1f;--cx-sheet-edge:var(--cx-edge);--cx-coral:#efa7ae;--cx-shadow:0 12px 40px #00000040,0 2px 8px #00000026;
 --cx-ease:cubic-bezier(.22,.8,.2,1);--cx-fast:140ms;--cx-normal:200ms;--cx-slow:260ms;
 --cx-font:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
 --cx-selected:#ffffff14;--cx-danger:#e9959e;
 --oh-bg:var(--cx-bg);--oh-surface:var(--cx-surface);--oh-raised:var(--cx-raised);--oh-hover:var(--cx-hover);--oh-ink:var(--cx-ink);--oh-muted:var(--cx-muted);--oh-line:var(--cx-line);--oh-edge:var(--cx-edge);--oh-focus:var(--cx-focus);--oh-accent:var(--cx-brand-pink);--oh-on:var(--cx-on-action);--oh-sidebar:240px;
 --lz-canvas:var(--cx-canvas);--lz-dot:#292929;--lz-panel:#202022;--lz-raised:var(--cx-raised);--lz-hover:var(--cx-hover);--lz-line:var(--cx-edge);--lz-text:var(--cx-ink);--lz-muted:var(--cx-muted);--lz-accent:var(--cx-focus);--lz-selected:var(--cx-selected);--lz-shadow:var(--cx-shadow);--lz-ease:var(--cx-ease);
 --ms-bg:var(--cx-surface);--ms-text:var(--cx-ink);--ms-muted:var(--cx-muted);--ms-line:var(--cx-line);--ms-hover:var(--cx-hover);--ms-accent:var(--cx-brand-pink);
 font-family:var(--cx-font);color-scheme:dark;
}
html:root[data-lizhi-design][data-web-theme=light]{
 --cx-bg:#fbf8fa;--cx-canvas:#f5f2f4;--cx-surface:#fff;--cx-raised:#f4eff2;--cx-hover:#ece5ea;
 --cx-ink:#29232b;--cx-muted:#746b76;--cx-caption:#807583;--cx-line:#3823310d;--cx-edge:#3823311c;
 --cx-aqua:#b93660;--cx-focus:#b93660;--cx-action:#b93660;--cx-on-action:#fff;--cx-accent-rgb:185,54,96;
 --cx-sheet:#fcfafb;--cx-coral:#b53445;--cx-danger:#b53445;--cx-shadow:0 12px 40px #3724300f,0 2px 8px #37243008;color-scheme:light;
}
html:root[data-lizhi-design] :is(.drs-root,.drs-modal){--drs-bg:var(--cx-surface);--drs-surface:var(--cx-surface);--drs-raised:var(--cx-raised);--drs-field:var(--cx-raised);--drs-border:var(--cx-edge);--drs-text:var(--cx-ink);--drs-sub:var(--cx-muted);--drs-muted:var(--cx-caption);--drs-accent:var(--cx-action);--drs-ink:var(--cx-on-action);--drs-hover:var(--cx-hover);font-family:var(--cx-font);color-scheme:inherit}
html:root[data-lizhi-design] .ae-dialog{--ae-bg:var(--cx-surface);--ae-text:var(--cx-ink);--ae-muted:var(--cx-muted);--ae-line:var(--cx-edge);--ae-raised:var(--cx-raised);--ae-accent:var(--cx-action);font-family:var(--cx-font);color-scheme:inherit;box-shadow:var(--cx-shadow)}
html:root[data-lizhi-design] :is(.ae-primary,.drs-primary){color:var(--cx-on-action)}
html:root[data-lizhi-design] :is(.drs-chat-panel,.drs-episode-list,.drs-native-frame){background:var(--cx-sheet);color-scheme:inherit}
html:root[data-lizhi-design] :is(.drs-asset-preview,.drs-root .drs-secondary,.drs-modal .drs-secondary){background:var(--cx-raised);color:var(--cx-ink)}
html:root[data-lizhi-design] :is(.drs-rail>button.is-active,.drs-episode-list button.is-active,.drs-confirm){background:var(--cx-selected);color:var(--cx-action)}
html:root[data-lizhi-design] :is(.drs-root,.drs-modal) :is(button,input,textarea,select){font-family:var(--cx-font)}
html:root[data-lizhi-design] :is(.drs-asset-copy>p,.drs-outline-card p,.drs-ep-copy){font-size:12px;line-height:1.7}
html:root[data-lizhi-design] .drs-page-heading{margin-bottom:12px;min-height:32px}
html:root[data-lizhi-design] :is(.drs-outline-card,.drs-asset-card){box-shadow:none;border-color:var(--cx-edge)}
html:root[data-lizhi-design] :is(.web-modal,.oh-dialog,.ae-dialog,.ct-confirm,.ct-panel){border-radius:18px;box-shadow:var(--cx-shadow)}
html:root[data-lizhi-design] :is(button,input,textarea,select){-webkit-tap-highlight-color:transparent}
html:root[data-lizhi-design] :is(button,a,input,textarea,select,[tabindex]):focus-visible{outline:2px solid var(--cx-focus);outline-offset:3px}
html:root[data-lizhi-design] :is(button,a){touch-action:manipulation}
html:root[data-lizhi-design] button:disabled{cursor:default}
html:root[data-lizhi-design] :is(.cutlib-avatar,.web-user-avatar){overflow:hidden}
html:root[data-lizhi-design] :is(.cutlib-avatar,.web-user-avatar)>img{width:100%;height:100%;object-fit:cover;display:block}
html:root[data-lizhi-design] :is(.cutlib-account-popover,.oh-project-menu,.lz-panel,.ds-node-model-menu){box-shadow:var(--cx-shadow);font-family:var(--cx-font)}
html:root[data-lizhi-design] :is(.oh-project-menu-item,.cutlib-account-links button,.cutlib-account-links a){min-height:38px;transition:background-color 140ms ease,color 140ms ease}
/* Homepage: one composer, one supporting tool rail, then real work. */
html:root[data-lizhi-design][data-owner-home] #root .cutlib-home-v2{width:100%;min-width:0;max-width:none;padding-inline:0;box-sizing:border-box}
html:root[data-lizhi-design][data-owner-home] #root .cl-home-hero{padding-top:clamp(48px,10vh,92px)}
html:root[data-lizhi-design][data-owner-home] #root .cl-home-input{max-width:850px;border:1px solid var(--cx-edge);border-radius:20px;background:var(--cx-surface);box-shadow:none;transition:border-color 160ms ease,box-shadow 160ms ease}
html:root[data-lizhi-design][data-owner-home] #root .cl-home-input:focus-within{border-color:color-mix(in srgb,var(--cx-focus) 60%,var(--cx-edge));box-shadow:0 0 0 3px var(--cx-selected)}
html:root[data-lizhi-design][data-owner-home] #root .cl-home-input textarea{font:14px/1.8 var(--cx-font);color:var(--cx-ink);background:transparent;outline:none!important;box-shadow:none!important}
html:root[data-lizhi-design][data-owner-home] #root .cl-home-input textarea::placeholder{color:var(--cx-caption)}
html:root[data-lizhi-design][data-owner-home] #root .oh-input-motion{opacity:.28}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-rail-item.active{background:var(--cx-selected);color:var(--cx-ink)}
html:root[data-lizhi-design][data-owner-home] #root :is(.web-project-card,.cutlib-asset-card){border:1px solid var(--cx-line);border-radius:16px;box-shadow:none;transition:border-color 160ms ease,background-color 160ms ease}
html:root[data-lizhi-design][data-owner-home] #root :is(.web-project-card,.cutlib-asset-card):hover{border-color:var(--cx-edge)}
html:root[data-lizhi-design][data-owner-home] #root :is(.cutlib-profile,.cutlib-profile button){color-scheme:inherit}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-profile :is(.web-primary,.cutlib-wallet-summary .web-primary){background:var(--cx-action);color:var(--cx-on-action);border-color:transparent}
/* Authentication media is a designed scene; the form remains native React. */
html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry){position:relative;width:min(960px,calc(100vw - 48px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--cx-edge);border-radius:24px;overflow:auto;background:var(--cx-surface);box-shadow:var(--cx-shadow)}
html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry)>header{position:absolute;top:14px;right:14px;z-index:3;padding:0;border:0;background:none}
html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry)>header h2{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry)>header button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;color:var(--cx-muted);background:var(--cx-surface);transition:background 140ms ease}
html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry)>header button:hover{background:var(--cx-hover)}
html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry)>.web-modal-body{padding:0;overflow:visible}
html:root[data-lizhi-design] #root .cutlib-auth-entry{display:grid;grid-template-columns:48% minmax(0,1fr);min-height:610px}
html:root[data-lizhi-design] #root .cutlib-auth-entry-art{display:block;min-height:610px;border-radius:0;background:#e9edf0}
html:root[data-lizhi-design] #root .cutlib-auth-entry-art>img{object-position:50% 36%;object-fit:cover;width:100%;height:100%;animation:lizhi-auth-reveal 850ms cubic-bezier(.22,.8,.2,1) both}
html:root[data-lizhi-design] #root :is(.cutlib-auth-entry-art-shade,.cutlib-auth-entry-copy,.cutlib-auth-entry-frame,.cutlib-auth-card-heading>.cutlib-overline){display:none}
html:root[data-lizhi-design] #root .cutlib-auth-entry-art>.cutlib-brand{display:none}
html:root[data-lizhi-design] #root .cutlib-auth-entry .cutlib-auth-embedded{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(28px,4vw,56px) 34px;border:0;border-radius:0;background:var(--cx-surface);box-shadow:none}
html:root[data-lizhi-design] #root .cutlib-auth-card-heading{margin:0 0 24px;text-align:left}
html:root[data-lizhi-design] #root .cutlib-auth-card-heading h2{font:550 28px/1.4 var(--cx-font);letter-spacing:-.035em;margin:22px 0 8px;color:var(--cx-ink)}
html:root[data-lizhi-design] #root .cutlib-auth-card-heading p{font:13px/1.7 var(--cx-font);color:var(--cx-muted);margin:0}
@font-face{font-family:LizhiHeadline;src:url('/brand/lizhi-type-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
html:root[data-lizhi-design] .lizhi-auth-brand{display:flex;align-items:center;gap:10px;font:500 26px/1.4 LizhiHeadline,var(--cx-font);color:var(--cx-ink);letter-spacing:.02em}
html:root[data-lizhi-design] .lizhi-auth-brand img{width:30px;height:34px;object-fit:contain}
html:root[data-lizhi-design] #root .cutlib-auth-tabs{gap:28px;margin:0 0 24px;border-bottom:1px solid var(--cx-line)}
html:root[data-lizhi-design] #root .cutlib-auth-tabs>button{font-size:14px;min-height:40px;padding-bottom:12px;color:var(--cx-muted)}
html:root[data-lizhi-design] #root .cutlib-auth-tabs>button.active{color:var(--cx-action)}
html:root[data-lizhi-design] #root .cutlib-auth-tabs>button.active:after{background:var(--cx-action)}
html:root[data-lizhi-design] #root .cutlib-auth-card form{display:flex;flex-direction:column;gap:18px;margin:0}
html:root[data-lizhi-design] #root .cutlib-auth-card .cutlib-auth-field{display:flex;flex-direction:column;gap:8px;font:13px/1.6 var(--cx-font);color:var(--cx-muted);margin:0;border:0;background:transparent;box-shadow:none}
html:root[data-lizhi-design] #root .cutlib-auth-card :is(.cutlib-auth-field>input,.cutlib-password){box-sizing:border-box;min-height:48px;border:1px solid var(--cx-edge);border-radius:10px;background:var(--cx-sheet);color:var(--cx-ink);transition:border-color 140ms ease,box-shadow 140ms ease}
html:root[data-lizhi-design] #root .cutlib-auth-card input{font:14px/1.6 var(--cx-font);padding:12px 14px;min-width:0;color:var(--cx-ink);outline:none!important;box-shadow:none!important}
html:root[data-lizhi-design] #root .cutlib-auth-card .cutlib-password input{border:0;background:transparent;flex:1}
html:root[data-lizhi-design] #root .cutlib-auth-card .cutlib-password button{color:var(--cx-muted);min-width:44px;min-height:44px;background:transparent;border:0}
html:root[data-lizhi-design] #root .cutlib-auth-card :is(.cutlib-auth-field>input:focus,.cutlib-password:focus-within){border-color:var(--cx-focus);box-shadow:0 0 0 3px var(--cx-selected)!important}
html:root[data-lizhi-design] #root .cutlib-auth-card .cutlib-auth-submit{order:2;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px;border:0;border-radius:10px;background:var(--cx-action);color:var(--cx-on-action);font:550 14px/1.6 var(--cx-font);box-shadow:none;transition:filter 140ms ease,transform 140ms var(--cx-ease)}
html:root[data-lizhi-design] #root .cutlib-auth-card .cutlib-auth-submit:not(:disabled):hover{filter:brightness(1.07)}
html:root[data-lizhi-design] #root .cutlib-auth-card .cutlib-auth-submit:not(:disabled):active{transform:scale(.985)}
html:root[data-lizhi-design] #root .cutlib-auth-card .ae-forgot{order:1;align-self:flex-end;margin:-10px 0 -4px;padding:4px 0;color:var(--cx-muted)}
html:root[data-lizhi-design] #root .cutlib-auth-card .ae-registration-note{order:3;font-size:12px;margin:0}
html:root[data-lizhi-design] #root .cutlib-auth-card>footer{margin:24px 0 0;padding:0;border:0;font:12px/1.7 var(--cx-font);color:var(--cx-muted)}
html:root[data-lizhi-design] #root .cutlib-auth-card>footer>svg{display:none}
html:root[data-lizhi-design] .lizhi-auth-caption{position:absolute;left:28px;right:24px;bottom:30px;color:white;text-shadow:0 2px 16px #172a3630;pointer-events:none;z-index:2}
html:root[data-lizhi-design] .lizhi-auth-caption strong{display:block;font:550 clamp(26px,3vw,38px)/1.25 var(--cx-font);letter-spacing:-.045em}
html:root[data-lizhi-design] .lizhi-auth-caption span{display:block;margin-top:10px;font:12px/1.7 var(--cx-font);letter-spacing:.12em}
html:root[data-lizhi-design] .oh-project-delete{color:var(--cx-danger);border-top:1px solid var(--cx-line);margin-top:4px}
@keyframes lizhi-auth-reveal{from{opacity:.55;transform:scale(1.035)}to{opacity:1;transform:scale(1)}}
/* Canvas controls preserve geometry and zoom while sharing visual materials. */
html:root[data-lizhi-design][data-lz-canvas] body #root .ds-studio-immersive{font-family:var(--cx-font)!important}
html:root[data-lizhi-design][data-lz-canvas] body #root :is(.ds-node,.ds-node-editor){border-color:var(--cx-edge);box-shadow:0 2px 8px #291e2608}
html:root[data-lizhi-design][data-lz-canvas] body #root .ds-node.selected{border-color:var(--cx-focus)}
html:root[data-lizhi-design][data-lz-canvas] body #root .ds-node-editor:focus-within{border-color:var(--cx-focus)!important;box-shadow:0 0 0 2px var(--cx-selected)!important}
html:root[data-lizhi-design] :is(.ds-chat-panel,.ds-chat-dock,.ds-immersive-chat,.web-chat){font-family:var(--cx-font)}
html:root[data-lizhi-design] .web-message-content{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
html:root[data-lizhi-design] :is(.web-message-content pre,.web-message-content table){max-width:100%;overflow:auto}
html:root[data-lizhi-design] :is(.oh-dialog,.ae-dialog,.drs-modal)::backdrop{background:#13101666;backdrop-filter:blur(5px)}
@media(pointer:coarse){html:root[data-lizhi-design] :is(.oh-project-menu-item,.cutlib-account-links button,.cutlib-account-links a){min-height:44px}html:root[data-lizhi-design][data-lz-canvas] body #root .ds-canvas-rail button{height:44px!important;min-height:44px!important}html:root[data-lizhi-design] :is(.web-icon,.ae-close){min-width:40px;min-height:40px}}
@media(max-width:760px){html:root[data-lizhi-design][data-owner-home] #root .cl-home-hero{padding-top:36px}}
@media(max-width:620px){
 html:root[data-lizhi-design] #root .web-modal:has(.cutlib-auth-entry){width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:20px}
 html:root[data-lizhi-design] #root .cutlib-auth-entry{display:flex;flex-direction:column;min-height:0}
 html:root[data-lizhi-design] #root .cutlib-auth-entry-art{min-height:0;height:176px;flex:none;overflow:hidden}
 html:root[data-lizhi-design] #root .cutlib-auth-entry-art>img{object-position:50% 17%}
 html:root[data-lizhi-design] #root .cutlib-auth-entry .cutlib-auth-embedded{padding:24px 24px 22px}
 html:root[data-lizhi-design] #root .cutlib-auth-card-heading{margin-bottom:18px}
 html:root[data-lizhi-design] #root .cutlib-auth-card-heading h2{font-size:24px;margin-top:14px}
 html:root[data-lizhi-design] #root .cutlib-auth-tabs{margin-bottom:18px}
 html:root[data-lizhi-design] #root .cutlib-auth-card form{gap:14px}
 html:root[data-lizhi-design] #root .cutlib-auth-card>footer{margin-top:18px;font-size:11px}
 html:root[data-lizhi-design] .lizhi-auth-brand{font-size:20px}.lizhi-auth-caption{display:none}
}
@media(max-height:650px) and (max-width:620px){html:root[data-lizhi-design] #root .cutlib-auth-entry-art{display:none}}
@media(prefers-reduced-motion:reduce){html:root[data-lizhi-design] *,html:root[data-lizhi-design] *::before,html:root[data-lizhi-design] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
html:root[data-lizhi-design][data-web-reduce-motion=true] *,html:root[data-lizhi-design][data-web-reduce-motion=true] *::before,html:root[data-lizhi-design][data-web-reduce-motion=true] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}

/* Reference-calibrated chrome: pink/blue only replaces brand-blue accents. */
html:root[data-lizhi-design] body{font-family:var(--cx-font)}
html:root[data-lizhi-design][data-owner-home]:not([data-web-theme=light]){--oh-bg:#101010}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-customer{font-family:var(--cx-font)}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-sidebar.cutlib-icon-rail{background:#151515;border-right:0}
html:root[data-lizhi-design][data-owner-home] #root :is(.cutlib-rail-item,.oh-side-button){color:#fff;font-family:var(--cx-font);font-size:14px;font-weight:500;line-height:22px;min-height:40px;border-radius:8px}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-rail-item.active>svg{color:inherit}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-rail-label{font:inherit}
html:root[data-lizhi-design][data-owner-home] #root .oh-side-caption{font-size:12px;font-weight:400;letter-spacing:0;color:#ffffff80}
html:root[data-lizhi-design][data-owner-home] #root #cutlib-home-title{font:600 30px/38px var(--cx-font);letter-spacing:0}
/* The atmosphere belongs to the full scrolling surface, not its capped content column. */
html:root[data-lizhi-design][data-owner-home] #root .cutlib-home-v2.is-home{background:radial-gradient(ellipse at 65% 0%,#8ac4ff0c,transparent 68%) 50% 0/100% 280px no-repeat,radial-gradient(ellipse at 28% 0%,#edb1c608,transparent 65%) 50% 0/100% 280px no-repeat,var(--oh-bg)}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-concept-stage::before{display:none}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-concept-stage::after{background-image:radial-gradient(circle,#ffffff10 1px,transparent 1.6px);mask-image:radial-gradient(ellipse at 50% 0,black,transparent 70%)}
html:root[data-lizhi-design][data-owner-home] #root .oh-view-tabs{background:#3d3d3d}
html:root[data-lizhi-design][data-owner-home] #root .oh-view-tab{color:#fff;font-size:14px;line-height:20px}
html:root[data-lizhi-design][data-owner-home] #root .oh-view-tabs::before{background:radial-gradient(ellipse at 27% 70%,#f5cfdf 0,transparent 60%),radial-gradient(ellipse at 75% 70%,#c6e7ff 0,transparent 60%),#fafafa;box-shadow:inset 0 0 0 1px #ffffff80,0 2px 5px #0002}
html:root[data-lizhi-design][data-owner-home] #root .oh-view-tab[aria-selected=true]{background:transparent;color:#1a1a1a;box-shadow:none}
html:root[data-lizhi-design][data-owner-home] #root .oh-tool-tile{background:#191919;font-family:var(--cx-font)}
html:root[data-lizhi-design][data-owner-home] #root .oh-tool-tile:nth-child(1){background:linear-gradient(110deg,#edb1c614,#8ac4ff0f)}
html:root[data-lizhi-design][data-owner-home] #root .oh-tool-tile:nth-child(3){background:linear-gradient(110deg,#8ac4ff17,#edb1c60b)}
html:root[data-lizhi-design][data-owner-home] #root :is(.web-project-card,.cutlib-asset-card){color:var(--cx-ink);background:var(--cx-surface)}
html:root[data-lizhi-design][data-owner-home] #root .cutlib-project-groups button[aria-pressed=true]{color:var(--cx-ink);background:var(--cx-selected);box-shadow:none}
html:root[data-lizhi-design][data-web-theme=light][data-owner-home] #root .cutlib-sidebar.cutlib-icon-rail{background:#f7f7f7}
html:root[data-lizhi-design][data-web-theme=light][data-owner-home] #root :is(.cutlib-rail-item,.oh-side-button,.oh-side-caption,.oh-view-tab){color:var(--cx-ink)}
html:root[data-lizhi-design][data-web-theme=light][data-owner-home] #root .oh-view-tabs{background:#e5e5e5}
html:root[data-lizhi-design][data-web-theme=light][data-owner-home] #root .oh-tool-tile{background:var(--cx-surface)}

/* Canvas panels follow the reference's #202022 material; the scene stays #0d0d0d. */
html:root[data-lizhi-design][data-lz-canvas]:not([data-web-theme=light]) body #root .ds-studio-immersive .ds-node-surface{background:linear-gradient(140deg,#222,#141414)!important;border-color:#ffffff1f!important}
html:root[data-lizhi-design][data-lz-canvas] body :is(.ds-model-popover,.ds-catalog-popover){font-family:var(--cx-font)}
html:root[data-lizhi-design][data-web-theme=light]{--lz-panel:var(--cx-surface)}

/* Detached iframe docks keep the same rounded dialogue surface as their slot. */
html:root[data-lizhi-design] body .drs-native-frame[title="短剧工作室创作对话"]{border-radius:20px}
html:root[data-lizhi-design][data-drama-embedded]:not([data-web-theme=light]) #root :is(.web-chat-panel,.cutlib-chat.cl-floating-chat,.cutlib-chat.cl-floating-chat>header){background:#1d1d1f!important;color:#fff;border-color:#ffffff14}
html:root[data-lizhi-design][data-drama-embedded]:not([data-web-theme=light]) #root .web-chat-panel :is(.web-composer,.cl-composer){background:#141414!important;border-color:#ffffff0d!important;box-shadow:none!important;border-radius:18px}
html:root[data-lizhi-design][data-drama-embedded] #root .web-message-content{font-size:15px;line-height:26px}
html:root[data-lizhi-design][data-drama-embedded] #root .web-chat-panel{font-family:var(--cx-font)}
