/* Unify existing creation pages; no generation, account or playback behavior changes. */
:root{--bg:#f7f7f8;color-scheme:light;--paper:#fff;--line:#e9e9e9;--muted:#777;--accent:#ed4343;--gold:#ed4343}
body:has(>#shell):not(:has(.manga-app)){background:#f7f7f8;color:#252525}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)){--paper:#fff;--line:#e9e9e9;--muted:#777;--accent:#ed4343;color:#252525}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.site-header,.panel,.resume-strip,.list-row,.cv38-work-card,.account-menu>div,.script-review-panel){background:#fff;color:#252525;border-color:#e7e7e7;box-shadow:none}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(h1,h2,h3,.brand){font-family:inherit;color:inherit;letter-spacing:0}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .brandmark{background:#ed4343;color:#fff;border:0}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.primary,button[aria-selected=true],.cv38-library-bar [aria-selected=true]){background:#ed4343;color:#fff;border-color:#ed4343}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) button:not(.primary):not([aria-selected=true]){color:#333;border-color:#dedee2;background:#fff}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) button:hover{filter:brightness(.97)}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(input,textarea,select){background:#f8f8fa;color:#222;border-color:#ddd}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.muted,.local-note,.cv38-card-copy p,.cv38-card-copy small,.site-footer){color:#777}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .eyebrow{color:#ed4343}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) #notice:not(:empty){background:#fff1ee;color:#7e3429;border-color:#ffd6cd}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .hero{background:#fff4f2;color:#252525;border-color:#f3ddda}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .hero .eyebrow{color:#ed4343}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.cv38-list-item,.episode-row){border-color:#e7e7e7}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(button,a,input,textarea,select):focus-visible{outline-color:#ed4343}
:root:where([data-theme=dark],:not([data-theme])[data-manga-theme=dark]){color-scheme:dark;--bg:#151515}
:root:where([data-theme=dark],:not([data-theme])[data-manga-theme=dark]) body:has(>#shell):not(:has(.manga-app)){background:#151515;color:#eee}
:root:where([data-theme=dark],:not([data-theme])[data-manga-theme=dark]) #shell:not(:has(.manga-app)):not(:has(.creator-tool)){--paper:#222;--line:#414141;--muted:#aaa;color:#eee}
:root:where([data-theme=dark],:not([data-theme])[data-manga-theme=dark]) #shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.site-header,.panel,.resume-strip,.list-row,.cv38-work-card,.account-menu>div,.script-review-panel,.hero){background:#222;color:#eee;border-color:#414141}
:root:where([data-theme=dark],:not([data-theme])[data-manga-theme=dark]) #shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(input,textarea,select,button:not(.primary):not([aria-selected=true])){background:#292929;color:#eee;border-color:#414141}
@media(max-width:600px){#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .site-header{gap:10px;padding:12px;flex-wrap:wrap}#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .brand{font-size:19px}#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .site-header nav{order:2;width:100%;justify-content:space-around}#shell:not(:has(.manga-app)):not(:has(.creator-tool)) main{padding:20px 16px 60px}#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .panel{padding:18px}#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .site-header .create-story{font-size:13px;padding-inline:10px}}

#shell:not(:has(.manga-app)):not(:has(.creator-tool)) .account-menu summary{background:transparent;color:inherit}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.task-page p,.task-status,.cinema-direction-context p,.cv38-series-head p:not(.eyebrow)){color:var(--muted)}
#shell:not(:has(.manga-app)):not(:has(.creator-tool)) :is(.task-page h1,.task-page h2,.cv38-series-head h1,.cinema-direction-context h2){color:inherit}
