/* DIVE MAP */
#dive-map {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 768px) {
  #dive-map { height: 60vh; }
  #dive-map svg { cursor: grab; will-change: transform; }
}

/* PINS */
.pin {
  cursor: pointer;
  pointer-events: all;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.35));
}
.pin path {
  vector-effect: non-scaling-stroke;
  stroke-width: 2;
  stroke: none;
}
.pin circle {
  vector-effect: non-scaling-stroke;
}

/* CLUSTER */
.cluster {
  cursor: pointer;
  pointer-events: all;
  filter: drop-shadow(0px 2px 6px rgba(0,0,0,0.4));
}

/* GEMEINSAME CARD-KOMPONENTEN */
.nt-body {
  padding: 12px 16px 20px !important;
}

.nt-title {
}

.nt-text {
}

.nt-divider {
  border: none !important;
  border-top: 3px solid #e6e6e6 !important;
  margin: 8px 0 10px !important;
  height: 0 !important;
  max-width: none !important;
}

.nt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 8px;
}

.nt-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px !important;
  border-radius: 20px;
  background: #28a5b0;
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.nt-img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  margin: 0;
  height: 350px !important;
}

/* TOOLTIP (Desktop) */
.nauticteam-tooltip {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  width: 360px;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.3s, transform 0.25s;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* SHEET (Mobile) */
#nauticteam-sheet {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  z-index: 1001 !important;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  touch-action: none;
  overflow: hidden;
  box-sizing: border-box;
}

@media (orientation: landscape) {
  #nauticteam-sheet {
    width: 60%;
    left: 20%;
    border-radius: 16px 16px 0 0;
  }
}

#nauticteam-sheet .sheet-handle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0 6px;
  flex-shrink: 0;
  cursor: grab;
  background: none;
  border-radius: 0;
  margin: 0;
  height: auto;
}

#nauticteam-sheet .handle-svg {
  width: 60px;
  height: 30px;
  overflow: visible;
}

.handle-left,
.handle-right {
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  stroke-width: 3.5;
}

#nauticteam-sheet .sheet-inner {
  overflow-y: auto;
  height: calc(100% - 44px);
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: none;
  touch-action: pan-y;
}

#nauticteam-sheet .sheet-inner::-webkit-scrollbar {
  display: none;
}

body.sheet-open {
  overflow: hidden;
  width: 100%;
  overscroll-behavior: none;
}

#nauticteam-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#nauticteam-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cky-btn-revisit-wrapper {
  z-index: 998 !important;
}