/* Only this route's surfaces participate in layout or receive interaction. */
[data-page-inactive]{display:none!important}
body{background:#f5f6f0 linear-gradient(180deg,#f5f6f0,#eef3eb) fixed}
body::before{background:linear-gradient(180deg,rgba(235,244,238,.88),rgba(235,244,238,.94))!important}
html:not([data-app-page="home"]) .home-intro,
html:not([data-app-page="home"]) .clouds{display:none!important}
html:not([data-app-page="home"]) #collection{margin-top:32px}
html[data-app-page="land"] body.home-layout #world-section{padding-top:calc(var(--nav-offset) + 24px);margin-top:0}
html[data-app-page="land"] #collection{order:2}
html[data-app-page="land"] #worldUI{margin-top:24px}
html[data-app-page="land"] .world-stage{max-height:72vh}
/* Plot navigation remains alongside the current roster and map. */
html[data-app-page="land"] body.home-layout #world-section{max-width:1440px}
html[data-app-page="land"] .land-workspace{display:grid;grid-template-columns:228px minmax(0,1fr);gap:20px;align-items:start}
html[data-app-page="land"] .land-sidebar{position:sticky;top:calc(var(--nav-offset,110px) + 12px);max-height:calc(100dvh - var(--nav-offset,110px) - 28px);overflow:auto;scrollbar-width:thin;padding:2px}
html[data-app-page="land"] .land-main{min-width:0}
html[data-app-page="land"] .land-sidebar #worldSwitcher{grid-template-columns:minmax(0,1fr);margin:0;gap:10px}
html[data-app-page="land"] .land-sidebar #worldSwitcher .ws-card-slot{min-width:0}
html[data-app-page="land"] .land-sidebar #worldSwitcher .ws-card{padding:14px;gap:8px}
html[data-app-page="land"] .land-sidebar #worldSwitcher .ws-av.ws-av-stack{width:58px;max-width:58px}
html[data-app-page="land"] .land-sidebar #worldSwitcher .ws-av.ws-av-stack .ws-av-item{width:26px;height:26px;flex-basis:26px}
html[data-app-page="land"] .land-sidebar #worldSwitcher .ws-av.ws-av-stack canvas{width:26px;height:26px}
html[data-app-page="land"] #hudSeats.land-roster{width:100%;margin:0 0 14px}
html[data-app-page="land"] .land-roster-grid{grid-template-columns:repeat(auto-fill,minmax(152px,172px));column-gap:10px;justify-content:start}
html[data-app-page="land"] .land-roster-grid .coll-item{padding:10px 9px;min-height:0;border-radius:12px}
html[data-app-page="land"] .land-roster-grid .role-card-avatar,html[data-app-page="land"] .land-roster-grid .role-card-avatar canvas{width:52px;height:52px}
html[data-app-page="land"] .land-roster-grid .land-roster-add{min-height:220px}
@media(max-width:850px){
 html[data-app-page="land"] .land-workspace{grid-template-columns:minmax(0,1fr);gap:18px}
 html[data-app-page="land"] .land-sidebar{position:static;max-height:none;padding:2px;overflow:hidden}
 html[data-app-page="land"] .land-sidebar #worldSwitcher{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 8px}
 html[data-app-page="land"] .land-sidebar #worldSwitcher .ws-card-slot{flex:0 0 228px;scroll-snap-align:start}
 html[data-app-page="land"] .land-roster-grid{grid-template-columns:repeat(auto-fill,minmax(146px,172px))}
}
@media(max-width:400px){html[data-app-page="land"] .land-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-app-page="fusion"] body.home-layout #fusion{padding-top:calc(var(--nav-offset) + 36px);min-height:76vh;max-width:1120px;margin:0 auto}
html[data-app-page="fusion"] .fusion-workbench{padding:36px;background:rgba(255,255,251,.95);border:1px solid #ccdcca;border-radius:24px;box-shadow:0 14px 36px #244f3310}
html[data-app-page="fusion"] .sec-head{margin-bottom:28px}
html[data-app-page="fusion"] .fusion-slot-preview{min-height:140px}
@media(max-width:700px){
 html[data-app-page="fusion"] body.home-layout #fusion{padding-inline:16px}
 html[data-app-page="fusion"] .fusion-workbench{padding:20px}
 html[data-app-page="land"] .world-stage{max-height:none}
}


.fusion-avatar-unavailable{display:grid;place-items:center;color:#7c806e;font-size:24px;font-weight:700}.fusion-choice.unavailable{opacity:.72;cursor:not-allowed}

/* Collection shortcut shares the existing fusion route and wallet session. */
#collection .collection-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left}
#collection .collection-heading-row h2{margin:0;min-width:0}
#collection .collection-fusion-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0;min-height:44px;padding:10px 18px;border-radius:12px;text-decoration:none;white-space:nowrap}
#collection .collection-fusion-link:focus-visible{outline:3px solid #34583d;outline-offset:3px}
@media(max-width:480px){#collection .collection-heading-row{gap:10px}#collection .collection-fusion-link{padding:9px 12px;font-size:12px;gap:6px}#collection .collection-heading-row h2{font-size:18px;letter-spacing:.5px}}
