/* CannaGrow 0.14.44 – responsive Stellplatz-Anker + leere Technik im Standby */

/* Das alte +/Label aus dem CSS-Grid darf nicht mehr sichtbar oder klickbar sein.
   Der neue Button liegt im Pixi-Koordinatensystem und bleibt dadurch auf allen
   Seitenverhältnissen an derselben Stelle. */
#roomScene .plant-grid.pixi-overlay .plant-slot.pixi-slot.empty{
  pointer-events:none!important;
  cursor:default!important;
}
#roomScene .plant-grid.pixi-overlay .plant-slot.pixi-slot.empty::before,
#roomScene .plant-grid.pixi-overlay .plant-slot.pixi-slot.empty::after{
  content:none!important;
  display:none!important;
}

#roomScene > .room-tech-hotspots .room-empty-slot-hotspot{
  position:absolute;
  z-index:4;
  width:150px;
  min-height:84px;
  padding:0;
  margin:0;
  transform:translate(-50%,-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  background:transparent;
  color:#ebddff;
  cursor:pointer;
  pointer-events:auto!important;
  touch-action:pan-y;
  -webkit-tap-highlight-color:transparent;
}
#roomScene > .room-tech-hotspots .room-empty-slot-plus{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:27px;
  line-height:1;
  font-weight:500;
  color:#ebddff;
  background:rgba(166,115,255,.16);
  border:1px dashed rgba(206,172,255,.48);
  box-shadow:0 0 22px rgba(159,107,255,.15);
  backdrop-filter:blur(4px);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
#roomScene > .room-tech-hotspots .room-empty-slot-hotspot small{
  display:block;
  min-width:112px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(207,190,232,.10);
  background:rgba(12,16,21,.66);
  color:#cfbee8;
  font-size:11px;
  line-height:1.1;
  font-weight:700;
  text-align:center;
  text-shadow:0 1px 6px rgba(0,0,0,.35);
  white-space:nowrap;
}
#roomScene > .room-tech-hotspots .room-empty-slot-hotspot:focus-visible{
  outline:none;
}
#roomScene > .room-tech-hotspots .room-empty-slot-hotspot:focus-visible .room-empty-slot-plus{
  outline:2px solid rgba(92,240,142,.78);
  outline-offset:3px;
}
@media (hover:hover) and (pointer:fine){
  #roomScene > .room-tech-hotspots .room-empty-slot-hotspot:hover .room-empty-slot-plus{
    transform:scale(1.06);
    border-color:rgba(215,185,255,.66);
    background:rgba(166,115,255,.21);
    box-shadow:0 0 30px rgba(159,107,255,.24);
  }
}
@media(max-width:760px){
  #roomScene > .room-tech-hotspots .room-empty-slot-hotspot{
    width:132px;
    min-height:80px;
    gap:7px;
  }
  #roomScene > .room-tech-hotspots .room-empty-slot-plus{
    width:48px;
    height:48px;
    font-size:25px;
  }
  #roomScene > .room-tech-hotspots .room-empty-slot-hotspot small{
    min-width:104px;
    font-size:10px;
  }
}

/* Beim Raum-Zoom bleibt der Marker sichtbar, fängt aber keine Drag-Gesten ab. */
#roomScene.room-zoomed > .room-tech-hotspots .room-empty-slot-hotspot{
  pointer-events:none!important;
}
