/* Layout-only proposal. Original background and locked sprite files are unchanged. */
@media(min-width:601px){
 .glass-nav{top:0!important}
 header{left:0!important;top:0!important;transform:none!important;right:auto!important}
 header .name{left:8px;top:6px;font-size:20px}
 header #envLabel{position:absolute;left:8px;top:34px;font-size:12px}
 header .status{left:8px;top:53px;font-size:14px}
 main{left:64px!important;top:126px!important;transform:none!important;max-width:min(600px,55vw)!important}
 main .hey{font-size:24px;margin-bottom:14px}
 main h1{font-size:92px;line-height:.88;margin-bottom:22px}
 main h2{font-size:28px;margin-bottom:10px}
 main .tags{font-size:18px;word-spacing:3px}
 main blockquote{font-size:20px;line-height:1.35;margin-top:23px;padding-left:20px}
 main .actions{font-size:18px;gap:30px;margin-top:26px}
 main .actions .primary{padding:12px 24px}
 #sideCaption{left:54vw!important;top:145px!important;font-size:20px!important}
 #cornerQuote{left:auto!important;right:40px!important;top:auto!important;bottom:142px!important;font-size:18px!important}
 .settings-trigger.desktop-paw{top:0!important;right:16px!important}
 #oreo-home{top:var(--oreo-y,88px)!important;right:28px!important}
 .settings-panel{top:280px!important;max-height:calc(100vh - 296px)!important;right:16px!important;width:min(440px,40vw)!important}
 .header-clear-zone{display:none!important}
}
@media(min-width:601px) and (max-height:760px){
 main{top:112px!important}main h1{font-size:82px;margin-bottom:17px}main .hey{font-size:22px;margin-bottom:10px}main h2{font-size:25px}main blockquote{margin-top:19px;font-size:19px}main .actions{margin-top:22px}
}
@media(max-width:600px){
 .glass-nav{top:0!important}
 header{left:0!important;top:66px!important;transform:none!important}
 header .name{left:8px;top:0;font-size:19px}
 header #envLabel{position:absolute;left:8px;top:26px;font-size:11px}
 header .status{left:8px;top:44px;font-size:13px}
 main{top:177px!important}
 .settings-panel{top:210px!important;max-height:calc(100vh - 226px)!important}
}
/* Keep the secondary line below, never across, the phone action row. */
@media(max-width:600px){#sideCaption{left:auto!important;right:28px!important;top:550px!important;font-size:16px!important}}
@media(max-width:360px){#sideCaption{top:558px!important;right:24px!important}.glass-nav a{font-size:13px!important;letter-spacing:0}}
/* Tablet bridge: identity sits below navigation until there is room for both. */
@media(min-width:601px) and (max-width:1000px){
 .glass-nav{left:8px!important;right:auto!important;transform:none!important;width:calc(100% - 168px)!important;max-width:500px!important;gap:0!important}
 .glass-nav a{font-size:18px!important;padding:0 9px!important;flex:1;min-width:0!important}
 header{top:76px!important}header .name{top:0}header #envLabel{top:28px}header .status{top:47px}
 main{top:188px!important;left:32px!important;max-width:65vw!important}
 main h1{font-size:76px}
 #sideCaption{left:auto!important;right:32px!important;top:570px!important;font-size:18px!important}
 .settings-panel{width:min(440px,calc(100vw - 32px))!important}
}
@media(min-width:601px) and (max-width:720px){.glass-nav a{font-size:17px!important;padding:0 5px!important}main h1{font-size:68px}main .tags{font-size:16px}main blockquote{font-size:18px}main .actions{gap:20px;font-size:16px}}
@media(max-width:1000px){#cornerQuote{bottom:100px!important}}
@media(max-width:600px){.capsule button{font-size:14px!important;padding-left:2px!important;padding-right:2px!important}}
@media(max-width:360px){.capsule{padding:3px!important}.capsule button{font-size:12px!important;padding-left:0!important;padding-right:0!important}#cornerQuote{bottom:112px!important}}

@media(max-width:600px){.glass-nav{top:0!important;width:calc(100% - 16px)!important;padding:4px!important}.glass-nav a{font-size:16px!important;padding:0 5px!important;min-width:0!important;flex:1 1 0}.glass-nav .settings-trigger{min-width:40px!important;width:40px!important;margin-left:0!important}}
@media(max-width:360px){.glass-nav a{font-size:14px!important;padding:0 3px!important}}

/* Oreo sits to the left of the ceiling paw, then returns to the right mini lane on scroll. */
#oreo-home,#oreo-home.evening-sitting:not(.is-companion),#oreo-home.is-companion,#oreo-home.evening-sitting.is-walking:not(.is-companion){right:var(--oreo-right,92px)!important;top:var(--oreo-y,0px)!important}
@media(min-width:1001px){.settings-panel{top:174px!important;max-height:calc(100dvh - 190px)!important}}
@media(min-width:601px) and (max-width:1000px){.settings-panel{top:242px!important;max-height:calc(100dvh - 258px)!important}.glass-nav{width:calc(100% - 86px)!important}}
@media(max-width:600px){#oreo-home,#oreo-home.evening-sitting:not(.is-companion),#oreo-home.is-companion,#oreo-home.evening-sitting.is-walking:not(.is-companion){right:var(--oreo-right,66px)!important;top:var(--oreo-y,66px)!important}.settings-panel{top:190px!important;max-height:calc(100dvh - 206px)!important}}
/* CSS zoom scales vw units twice in Chromium; cap the scene to its containing block. */
.scene{max-width:100%!important}
/* Labels size against the actual bar, including CSS zoom, not the viewport. */
@media(max-width:600px){.glass-nav{container-type:inline-size}.glass-nav a{font-size:clamp(10px,3.65cqw,16px)!important;white-space:nowrap}}
/* Decorative captions use measured free space rather than two competing fixed offsets. */
#sideCaption{top:var(--caption-top,145px)!important}
#cornerQuote{top:var(--quote-top,auto)!important;bottom:var(--quote-bottom,142px)!important}
@media(max-width:600px){#sideCaption{font-size:14px!important;line-height:1.2!important}#cornerQuote{font-size:14px!important;line-height:1.2!important}}
@media(max-width:600px){
 main{container-type:inline-size}
 main .tags{white-space:normal;line-height:1.3;overflow-wrap:anywhere}
 main .actions{gap:12px;font-size:clamp(12px,5cqw,16px)}
 main .actions a{flex:1;min-width:0}
 main .actions .primary{padding:12px 14px}
 header{width:calc(100% - 180px)!important}
 header .name{white-space:normal;line-height:1;max-width:100%}
 header #envLabel{top:40px!important}
 header .status{top:56px!important}
}
/* Speech occupies its own upper lane on phones, never a bottom CTA toast. */
@media(max-width:600px){
 main{top:245px!important}
 #oreo-home:not(.is-companion) #oreo-bubble:not([hidden]),#oreo-home.evening-sitting:not(.is-companion) #oreo-bubble:not([hidden]){position:fixed!important;inset:170px 20px auto 20px!important;width:auto!important;max-width:none!important;min-height:48px;font-size:15px!important;line-height:1.25!important;padding:9px 12px!important}
}
