/* Community plazas (published Studio worlds, studio.html?owner=...&plaza=...) reuse project.html's own header/
   actions/help chrome - see src/community-plaza.js and the gateway.css/launch-game.css <link> tags builder.js adds
   for isPublic. This file only holds what's genuinely unique to a Studio-built world: hiding the private editor's
   own tool chrome (which stays in the DOM, just hidden, since it's the same page/script as the editor), the
   full-bleed canvas, and the one CTA project.html doesn't have (+ BUILD YOUR OWN). Never applies to the editor. */

/* ------- Hide the builder tool chrome in the public world ------- */
:root body.public .topbar,
:root body.public .view-toolbar,
:root body.public .commandbar,
:root body.public .statusbar,
:root body.public #publicDetails,
:root body.public #playHint{display:none!important}

/* The builder's own play-test touch controls and sound toggle are unrelated to this HUD's own JUMP/DANCE/SOUND
   row (src/community-plaza.js) - builder.js's play() shows them unconditionally, so hide them explicitly here. */
:root body.public #touchWalk,
:root body.public #soundBtn{display:none!important}

/* Full-bleed canvas: ignore the kept layout gutters. */
:root body.public .workspace{display:block}
:root body.public .viewport-wrap{height:100dvh}
:root body.public #viewport{position:fixed;inset:0;height:100dvh!important;min-height:0!important;width:100dvw}

/* The builder still injects the character dressing room & sign-in under the canvas; keep them
   reachable but stacked above the header/actions. */
:root body.public .character-room{z-index:60}

/* Modal panels (chat, players, XP) must stay above everything else so they remain interactive and unclipped
   when opened. */
:root body.public #plazaChat,
:root body.public #playersPanel,
:root body.public .xp-ui{z-index:80}

/* + BUILD YOUR OWN: the one action project.html's own plazas don't have. gateway.css already styles any
   .project-actions a as a button; this just gives it the same lime CTA accent the rest of the game uses for
   "go build/launch something" calls to action (style.css's .build-cta, .portal-link). */
.project-actions .build-inline{background:var(--accent,#baff38)!important;color:#163626!important;border-color:var(--accent-dark,#376548)!important}
