/* One room, three compositions. The header and direct paths stay put. */
.entry-stage,.entry-mode{display:contents}.entry-mode[hidden],.entry-switcher[hidden],.home-character[hidden]{display:none!important}
.entry-switcher{display:none}.entry-play-icon,.entry-project-paths,.home-monitor,.entry-test{display:none}
.home-character{display:block;width:100%;height:100%}
.entry-world-room{width:100%;display:flex;flex-direction:column;align-items:center}
html .entry-stage{display:grid;place-items:center;width:100%;min-width:0;position:relative;contain:layout}
html .entry-mode{display:flex;align-items:center;justify-content:center;grid-area:1/1;width:100%;height:100%;min-width:0}
html .entry-mode .entry-dock{margin:0!important;min-height:0;padding:0}
.entry-tools{display:flex;align-items:center;justify-content:center;gap:21px}
.entry-tools .object-label{opacity:1;transform:none}
.entry-project{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:24px;border:1px solid var(--edge);border-radius:22px;background:var(--surface-gradient);box-shadow:var(--shadow-rest);color:var(--signature);font-size:21px;line-height:1.5;text-align:left}
.entry-project>span{font-weight:600}.entry-project small{display:block;margin-top:5px;font-size:14px;font-weight:400}.entry-project .ui-icon{flex:none;width:24px;height:24px}
html .entry-switcher{display:flex;align-items:center;justify-content:center;height:44px;gap:3px;margin:16px 0 8px;flex:none}
html[data-theme] .entry-switcher button{display:grid;place-items:center;width:44px;height:44px;min-height:44px!important;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink-muted)!important;border-radius:13px!important;transform:none!important;filter:none!important;cursor:pointer;touch-action:manipulation}
.entry-switcher button .ui-icon{grid-area:1/1;width:16px;height:16px;stroke-width:1.7}
html[data-theme] .entry-switcher button[aria-pressed=true]:not(#entry-auto){color:var(--signature)!important;background:var(--surface-gradient)!important;box-shadow:var(--shadow-rest)!important;border:1px solid var(--edge)!important}
html[data-theme] .entry-switcher #entry-auto{margin-left:7px;border-left:1px solid var(--edge)!important;border-radius:0 13px 13px 0!important}
.entry-switcher #entry-auto .entry-play-icon{display:none}.entry-switcher #entry-auto[aria-pressed=true] .entry-pause-icon{display:none}.entry-switcher #entry-auto[aria-pressed=true] .entry-play-icon{display:block}
.entry-mode :is(a,button):focus-visible,.entry-switcher button:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
html[data-theme] #entry-line{min-height:27px;line-height:27px;margin:0 0 18px!important}
.entry-shortcuts{display:flex;justify-content:center;gap:8px;width:100%;max-width:340px;margin:0 0 8px}
.entry-shortcuts a{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:46px;padding:8px 10px;border:1px solid var(--edge);border-radius:13px;background:var(--surface-gradient);color:var(--signature);font-size:12px;box-shadow:var(--shadow-rest)}
.entry-shortcuts .ui-icon{width:17px;height:17px}
html[data-theme] .entry-dude-link{position:relative;width:400px;height:380px;max-width:100%;padding:0}
html[data-theme] .hero-dude-img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.home-monitor{position:absolute;left:67.5%;top:27.25%;width:23%;height:15.5%;place-items:center;color:#fa6771;background:var(--dev-screen,#f2f2f2);border-radius:2px;pointer-events:none}
html[data-entry-mode=b] .home-monitor{display:grid}
.home-monitor .ui-icon{width:48%;height:70%}
@media(min-width:800px){
 html[data-theme] #about{padding:30px 24px}
 .entry-world-room{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:70px 310px;gap:0 36px;max-width:940px;align-items:center}
 .entry-space .entry-dude-brand{grid-column:1;grid-row:1/3;margin:0!important;width:100%;align-self:center}
 html[data-theme] #entry-line{grid-column:2;grid-row:1;align-self:end;font-size:18px;white-space:nowrap}
 html .entry-stage{grid-column:2;grid-row:2;height:280px;align-self:start}
 html .entry-mode .entry-dock{display:grid;grid-template-columns:repeat(3,90px);gap:40px 24px;translate:0 -6px}
 .entry-tools{display:grid;grid-template-columns:repeat(2,90px);gap:40px 40px;translate:0 -6px}
 html[data-theme] .entry-test{display:flex}
 html[data-theme] .entry-tools .entry-object{transform:none}
 .entry-mode[data-entry-mode=c]{flex-direction:column;gap:20px}
 .entry-project-paths{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
 .entry-project-paths a{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:var(--signature)}
}
@media(min-width:800px) and (max-width:1099px){.entry-world-room{gap:0 12px;grid-template-rows:64px 286px}.entry-space{max-width:820px}html[data-theme] .entry-dude-link{width:350px;height:350px}html .entry-mode .entry-dock{gap:38px 15px;grid-template-columns:repeat(3,76px)}html[data-theme] .entry-mode .entry-object{width:76px;height:76px;padding:18px}}
@media(max-width:799px){
 html[data-theme] #about{grid-template-columns:minmax(0,1fr)}
 html #about .entry-space{width:100%;min-width:0;justify-self:center}
 html[data-theme] .entry-dude-link{width:235px;height:215px}
 html .entry-stage{max-width:350px;height:214px;flex:none}
 html .entry-mode .entry-dock{display:grid;grid-template-columns:repeat(3,66px);gap:44px 21px;align-self:center;translate:0 -22px}
 .entry-tools{translate:0 -9px}.entry-tools .entry-object{width:66px!important;height:66px!important;border-radius:20px!important;position:relative}
 .entry-tools .object-label{top:calc(100% + 7px);font-size:11px;line-height:1.35}
 .entry-project{max-width:285px;min-height:103px;padding:20px;font-size:14px;translate:0 -9px}.entry-project small{font-size:12px}.entry-project .ui-icon{width:21px;height:21px}
 html .entry-switcher{margin:-3px 0 8px}
 html[data-theme] #entry-line{width:100%;text-align:center;font-size:15px;min-height:23px;height:23px;line-height:23px!important;white-space:nowrap;margin-bottom:9px!important}
}
@media(max-width:380px){html[data-theme] .entry-dude-link{width:205px;height:190px}.entry-project{max-width:270px}}
@media(max-height:600px) and (min-width:800px){.entry-world-room{grid-template-rows:45px 225px}.entry-space .entry-dude-brand{align-self:start}html[data-theme] .entry-dude-link{width:285px;height:270px}html .entry-stage{height:225px}.entry-tools{gap:35px}.entry-switcher{margin-top:6px!important}}
@media(prefers-reduced-motion:reduce){.entry-mode,.home-character{animation:none!important;transition:none!important}}
@media print{.entry-switcher{display:none!important}}
@media(min-width:600px) and (max-width:799px) and (min-height:700px){html[data-theme] .entry-dude-link{width:325px;height:300px}}

/* Reserve the authored composition before module initialization. */
html:not([data-entry-ready=true]) .entry-switcher{visibility:hidden}

/* Deep-link return: retain shell/background until the first exact section position. */
html[data-section-landing="pending"] main{visibility:hidden}
