/* Barre e pannelli trascinabili (solo PC con mouse), insieme a trascina-pannelli.js. */
@media (width >= 1000px) and (hover: hover) and (pointer: fine) {
  .dp-t:not(.dp-pin) :is(.cr-head, .ob-head, .rc-head, .tp-head, .xf-head, .fr-head, .ad-head, .hub-head, .guida-head, .pk-head) { cursor: grab; }
  html.dp-drag, html.dp-drag * { cursor: grabbing !important; user-select: none !important; }
  .dp-moving { box-shadow: 0 0 0 2px rgba(255, 80, 197, .75), 0 24px 70px rgba(0, 0, 0, .5) !important; }
  .dp-t.dp-pin:hover { outline: 1px dashed rgba(255, 80, 197, .45); outline-offset: 2px; }

  .dp-bar {
    position: fixed; z-index: 5000; display: flex; gap: 2px; padding: 3px;
    border-radius: 99px; background: rgba(16, 10, 30, .96); border: 1px solid rgba(255, 80, 197, .5);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .45);
  }
  .dp-bar[hidden] { display: none; }
  .dp-bar button {
    width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%;
    background: transparent; color: #fff; cursor: pointer;
  }
  .dp-bar button:hover:not(:disabled) { background: rgba(255, 80, 197, .3); }
  .dp-bar button:disabled { opacity: .3; cursor: default; }
  .dp-bar .dp-grip { cursor: grab; }
  .dp-bar .dp-grip:disabled { cursor: default; }
  .dp-bar .dp-pinb.on { background: #ff50c5; color: #fff; }
}
