@@ -197,7 +197,7 @@ html[data-bc-active="true"][data-bc-media="video-pending"]
197197 - Video keeps playing under both columns.
198198 Implementation: do NOT retouch #beauticode-bg-stage::before or media
199199 filters on working — those are full-window and would shift the left.
200- Dim only via main.main- surface wash. */
200+ Dim only via the primary main surface wash. */
201201
202202/* ---- Left sidebar: translucent so art shows ---- */
203203html [data-bc-active = "true" ] aside .app-shell-left-panel {
@@ -221,8 +221,9 @@ html[data-bc-active="true"] aside.app-shell-left-panel nav {
221221}
222222
223223/* ---- Main surface ---- */
224- html [data-bc-active = "true" ] main . main-surface {
224+ html [data-bc-active = "true" ] body > # root main {
225225 position : relative !important ;
226+ background-color : transparent !important ;
226227 background : linear-gradient (
227228 90deg ,
228229 var (--bc-main-edge ),
@@ -236,43 +237,43 @@ html[data-bc-active="true"] main.main-surface {
236237
237238/* Task page: ONLY the right column. Stage veil + left aside stay as home
238239 so home ↔ project transition is seamless on the sidebar. */
239- html [data-bc-active = "true" ][data-bc-working = "true" ] main . main-surface {
240+ html [data-bc-active = "true" ][data-bc-working = "true" ] body > # root main {
240241 /* Tiny step darker — keep translucent so thread text stays readable. */
241242 background : var (--bc-working-main ) !important ;
242243 transition : background 240ms ease;
243244}
244245
245246/* No secondary art painted on main — stage owns the picture. */
246- html [data-bc-active = "true" ] main . main-surface ::before ,
247- html [data-bc-active = "true" ] main . main-surface ::after {
247+ html [data-bc-active = "true" ] body > # root main ::before ,
248+ html [data-bc-active = "true" ] body > # root main ::after {
248249 content : none !important ;
249250 background-image : none !important ;
250251 background : transparent !important ;
251252}
252253
253- html [data-bc-active = "true" ] main . main-surface > header .app-header-tint {
254+ html [data-bc-active = "true" ] body > # root main > header .app-header-tint {
254255 background : transparent !important ;
255256 border-bottom : 0 !important ;
256257 box-shadow : none !important ;
257258 backdrop-filter : none !important ;
258259}
259260
260261/* Main content frame / scroll fades that paint opaque tokens. */
261- html [data-bc-active = "true" ] main . main-surface .app-shell-main-content-frame ,
262- html [data-bc-active = "true" ] main . main-surface .app-shell-main-content-top-fade {
262+ html [data-bc-active = "true" ] body > # root main .app-shell-main-content-frame ,
263+ html [data-bc-active = "true" ] body > # root main .app-shell-main-content-top-fade {
263264 background : transparent !important ;
264265 background-image : none !important ;
265266}
266267
267- html [data-bc-active = "true" ] main . main-surface
268+ html [data-bc-active = "true" ] body > # root main
268269 .thread-scroll-container
269270 .bg-gradient-to-t .from-token-main-surface-primary {
270271 background-image : none !important ;
271272 background : transparent !important ;
272273}
273274
274275/* Home hero card chrome — keep interactive, drop solid fill. */
275- html [data-bc-active = "true" ] main . main-surface
276+ html [data-bc-active = "true" ] body > # root main
276277 [role = "main" ]: has ([data-testid = "home-icon" ])
277278 > div : first-child
278279 > div : first-child
@@ -284,7 +285,7 @@ html[data-bc-active="true"] main.main-surface
284285 box-shadow : none !important ;
285286}
286287
287- html [data-bc-active = "true" ] main . main-surface
288+ html [data-bc-active = "true" ] body > # root main
288289 [role = "main" ]: has ([data-testid = "home-icon" ])
289290 > div : first-child
290291 > div : first-child
@@ -293,7 +294,7 @@ html[data-bc-active="true"] main.main-surface
293294}
294295
295296/* role=main region itself */
296- html [data-bc-active = "true" ] main . main-surface [role = "main" ] {
297+ html [data-bc-active = "true" ] body > # root main [role = "main" ] {
297298 background : transparent !important ;
298299}
299300
0 commit comments