/* WinHive v5.47.34 — public Hive camera parity. Only public visitor playgrounds. */
.hive-public-section .hive-public-visit {
  position:relative;left:50%;transform:translateX(-50%);
  width:min(1480px,calc(100vw - 28px));max-width:none;
  margin:12px 0 18px;isolation:isolate;
  border:2px solid #60421c;border-radius:23px;overflow:hidden;
  background:#e8d39e;
  box-shadow:0 18px 48px rgba(48,30,8,.19),0 3px 0 #d6aa48;
}
.hive-public-visit .hive-garden-camera {
  position:relative;display:block;height:670px;max-height:80svh;min-height:430px;
  overflow:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto;
  scrollbar-width:thin;scrollbar-color:rgba(89,58,23,.48) rgba(255,245,203,.7);
  touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;
  cursor:grab;background:#b7d7ea;
}
.hive-public-visit .hive-garden-camera.is-panning{cursor:grabbing;user-select:none}
.hive-public-visit .hive-garden-camera:focus-visible{outline:3px solid #ffd447;outline-offset:-4px}
/* The same unscaled world as My Hive v5.47.27: same saved x/y, same bounds. */
.hive-public-section .hive-public-visit .hive-world-scene {
  box-sizing:border-box!important;width:max(1400px,100%)!important;
  min-width:max(1400px,100%)!important;max-width:none!important;
  height:780px!important;min-height:780px!important;
  margin:0!important;border:0!important;border-radius:0!important;
  transform:none!important;--hive-responsive-object-scale:1!important;
}
/* Visitors can pan over everything. No edit, remove, water or harvest affordances. */
.hive-public-visit [data-hive-house],
.hive-public-visit [data-hive-placed-item],
.hive-public-visit .hive-world-free-decor,
.hive-public-visit .hive-world-ambient,
.hive-public-visit .dh-hive-flowers {
  cursor:inherit!important;pointer-events:none!important;
}
.hive-public-visit .hive-scene-modify-button,
.hive-public-visit .hive-placed-remove,
.hive-public-visit .hive-honey-timer {display:none!important}
/* The visitor HUD replaces Build / Store actions with an unmistakable read-only label. */
.hive-public-visit .hive-garden-hud{position:absolute;left:12px;bottom:12px;z-index:55;pointer-events:none}
.hive-public-visit .hive-public-level-indicator {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:144px;min-height:98px;padding:12px 17px;border:3px solid #9b5c14;
  border-radius:24px;background:linear-gradient(155deg,#fff6c4,#eebd4e 78%,#d38f25);
  box-shadow:0 7px 18px rgba(62,36,7,.32),inset 0 2px 3px #fff9cf;
  color:#6c3705;text-shadow:0 1px rgba(255,246,210,.9);
  text-align:center;
}
.hive-public-visit .hive-public-level-indicator .hive-public-clock{font:900 23px/1.2 'Nunito',sans-serif}
.hive-public-visit .hive-public-level-indicator strong{font:900 11px/1.4 'Nunito',sans-serif;white-space:nowrap}
.hive-public-visit .hive-public-level-indicator small{font:800 9px/1.4 'DM Sans',sans-serif;letter-spacing:.06em}
/* Same fullscreen and soundtrack button positioning as the owner's garden. */
.hive-public-visit .hive-garden-fullscreen,
.hive-public-visit .hive-garden-audio-toggle {
  position:absolute;z-index:80;top:11px;height:40px;border:2px solid #80521c;
  border-radius:12px;background:linear-gradient(135deg,#fff6cc,#e6a72b);
  color:#633400;box-shadow:0 3px 10px rgba(46,27,4,.25);
  cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.hive-public-visit .hive-garden-fullscreen {
  left:10px;width:40px;min-width:40px;display:grid;place-items:center;
  padding:0;font:900 27px/1 'Nunito',sans-serif;
}
.hive-public-visit .hive-garden-audio-toggle {
  left:59px;width:100px;padding:0 9px;display:inline-flex;align-items:center;
  justify-content:center;gap:6px;font:900 12px/1 'Nunito',sans-serif;
}
.hive-public-visit .hive-garden-audio-toggle svg {
  display:block;flex:0 0 20px;width:20px;height:20px;stroke:currentColor;
  fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;
}
.hive-public-visit .hive-garden-audio-toggle .hive-audio-muted-icon{display:none}
.hive-public-visit .hive-garden-audio-toggle[aria-pressed="false"]{background:linear-gradient(145deg,#f7ead1,#e0c28b);color:#695542}
.hive-public-visit .hive-garden-audio-toggle[aria-pressed="false"] .hive-audio-active-icon{display:none}
.hive-public-visit .hive-garden-audio-toggle[aria-pressed="false"] .hive-audio-muted-icon{display:block}
.hive-public-visit .hive-garden-fullscreen:hover,.hive-public-visit .hive-garden-audio-toggle:hover{filter:brightness(1.08)}
.hive-public-visit .hive-garden-fullscreen:focus-visible,.hive-public-visit .hive-garden-audio-toggle:focus-visible{outline:3px solid white;outline-offset:3px}
/* Identical viewport expansion to the owner HUD; camera keeps its scroll offsets. */
.hive-public-visit:fullscreen,
.hive-public-visit.is-hive-immersive {
  position:fixed!important;inset:0!important;left:0!important;
  transform:none!important;width:100vw!important;height:100dvh!important;
  max-width:none!important;margin:0!important;border-radius:0!important;
  z-index:2147482000!important;background:#e8d39e!important;
}
.hive-public-visit:fullscreen .hive-garden-camera,
.hive-public-visit.is-hive-immersive .hive-garden-camera {
  height:100%!important;min-height:0!important;max-height:none!important;
}
/* iOS immersive fallback must not permit document scrolling behind the garden. */
html.hive-garden-immersive-fallback:has(.hive-public-visit.is-hive-immersive),
body.hive-garden-immersive-fallback:has(.hive-public-visit.is-hive-immersive){overflow:hidden!important}
/* Read-only plant timers: visuals only, never action buttons. */
.hive-public-visit .hive-world-placed-item .hive-visitor-seed-timer{
  position:absolute;z-index:9;bottom:calc(100% + 1px);left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;gap:1px;align-items:center;
  padding:5px 7px;border-radius:10px;background:rgba(35,28,17,.91);
  color:#fff2bc;box-shadow:0 4px 10px rgba(30,20,11,.45);
  font:800 11px/1.2 'DM Sans',sans-serif;white-space:nowrap;pointer-events:none;
}
@media(max-width:760px){
  .hive-public-section .hive-public-visit{width:calc(100vw - 16px);border-radius:18px}
  .hive-public-visit .hive-garden-camera{height:72svh!important;max-height:760px!important;min-height:450px!important}
}
@media(max-width:640px){
  .hive-public-visit .hive-garden-fullscreen{top:7px;left:7px;width:37px;min-width:37px;height:37px;font-size:24px}
  .hive-public-visit .hive-garden-audio-toggle{top:7px;left:51px;width:91px;min-height:37px;height:37px;gap:4px;padding:0 6px;border-radius:11px;font-size:11px}
  .hive-public-visit .hive-garden-audio-toggle svg{width:18px;height:18px;flex-basis:18px}
  .hive-public-visit .hive-garden-hud{left:9px;bottom:9px}
  .hive-public-visit .hive-public-level-indicator{min-width:115px;min-height:77px;padding:8px 11px;border-radius:19px}
  .hive-public-visit .hive-public-level-indicator .hive-public-clock{font-size:18px}
  .hive-public-visit .hive-public-level-indicator strong{font-size:9px}
  .hive-public-visit .hive-public-level-indicator small{font-size:8px}
}


/* v5.47.36 — public guest Hive black-background recovery.
   These backgrounds intentionally mirror the master garden themes in style.css.
   They are only applied on visitor gardens; the editor remains untouched.
   A paint-stable backdrop avoids transparent/black compositor surfaces on
   fullscreen and scrollable guest gardens. */
.hive-public-section .hive-public-visit .hive-garden-camera {
  background:linear-gradient(#cfefff 0 60%,#80c766 60% 100%)!important;
  isolation:isolate;
}
.hive-public-section .hive-public-visit .hive-world-scene {
  position:relative!important;
  background:linear-gradient(#cfefff 0 60%,#80c766 60% 100%)!important;
  background-color:#80c766!important;
  isolation:isolate;
  contain:layout paint;
}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--sunset{background:linear-gradient(#ffb97d 0%,#f7d3a0 47%,#86bf64 60%,#689d4c 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--lavender{background:linear-gradient(#d8cdf8 0%,#f3dff2 58%,#8ebf76 58%,#708f5c 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--bluebell{background:linear-gradient(#abd7ff 0%,#d9edff 58%,#77b99a 58%,#579079 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--moon{background:linear-gradient(#1d2748 0%,#303b61 58%,#365d4b 58%,#274739 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--autumn{background:linear-gradient(#d8e9f3 0%,#f4d7aa 58%,#b16e39 58%,#7d4e2e 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--spring{background:linear-gradient(#d2f0ff 0%,#ffe6ef 58%,#83ca75 58%,#64a85b 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--golden{background:linear-gradient(#ffd879 0%,#ffedb2 58%,#89b557 58%,#6e9345 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--rainbow{background:linear-gradient(160deg,#bce6ff 0%,#eee0ff 24%,#ffe7ed 45%,#fff3bd 58%,#83c970 58%,#5fa958 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--snow{background:linear-gradient(#cce8ff 0%,#eef8ff 58%,#eaf3f5 58%,#d7e7e9 100%)!important}
.hive-public-section .hive-public-visit .hive-world-scene.hive-theme--royal{background:linear-gradient(#251944 0%,#53315e 48%,#d39b25 59%,#8d631b 100%)!important}
/* Do not promote the alpha canvas to a separate accelerated layer in the
   public visitor camera. Its transparent pixels must expose the garden. */
.hive-public-section .hive-public-visit .hive-world-scene .hive-swarm-canvas {
  contain:none!important;
  transform:none!important;
  backface-visibility:visible!important;
  will-change:auto!important;
  background:transparent!important;
  mix-blend-mode:normal!important;
}
/* Fullscreen uses an explicit light-coloured canvas outside the 1400px world. */
.hive-public-visit:fullscreen .hive-garden-camera,
.hive-public-visit.is-hive-immersive .hive-garden-camera{background:#e8d39e!important}
