/* Component styles */
hyper-3d {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

hyper-3d:not(:defined)::before {
  content: "";
  display: block;
  height: 100%;
}

hyper-3d:not([state=loaded]) {
  visibility: hidden;
}

.text-overlay {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  cursor: default;
  transition: opacity 0.3s ease;
  pointer-events: none;
  opacity: 1;
}

.text-overlay::before {
  content: "";
  position: absolute;
  left: 0.75em;
  top: 0.75em;
  width: 1.5em;
  height: 1.5em;
  box-sizing: border-box;
  border: 1px black solid;
  border-radius: 50%;
}

.text-overlay > div {
  position: absolute;
  left: 1.5em;
  bottom: 2.25em;
  border-left: 1px black solid;
  padding: 0 0.75em 1em 0.75em;
  white-space: nowrap;
  font-family: sans-serif;
  line-height: 135%;
  text-shadow: 1px 1px 2px white, -1px -1px 2px white, 0 0 4px white, 0 0 8px white;
  pointer-events: none;
  opacity: 1;
}

.text-overlay strong {
  display: block;
  padding-bottom: 0.2em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fish-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
  flex-shrink: 0;
}

#zoomSlider {
  width: 100%;
  accent-color: #667eea;
  cursor: pointer;
}
/* Credits Info Icon - Pure Outline Only */
.credits-info-icon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid rgba(80, 80, 80, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(80, 80, 80, 0.9);
  font-size: 16px;
  font-weight: 600;
  z-index: 1001;
  /* Enhanced mobile touch support */
  pointer-events: all;
  user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.credits-info-icon:hover {
  border-color: rgba(60, 60, 60, 1);
  color: rgba(60, 60, 60, 1);
  transform: scale(1.1);
  /* No background on hover - pure outline */
}

.credits-info-icon:active {
  transform: scale(0.95);
  border-color: rgba(40, 40, 40, 1);
  color: rgba(40, 40, 40, 1);
  /* No background on active - pure outline */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .credits-info-icon {
    bottom: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-width: 2.5px;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
  }
}

@media (max-width: 480px) {
  .credits-info-icon {
    bottom: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-width: 3px;
    min-width: 44px;
    min-height: 44px;
    padding: 3px;
  }
}

/* Mobile-specific touch enhancements - pure outline */
@media (hover: none) and (pointer: coarse) {
  .credits-info-icon {
    width: 40px;
    height: 40px;
    min-width: 44px;
    min-height: 44px;
    border-width: 3px;
    border-color: rgba(60, 60, 60, 0.9);
    color: rgba(60, 60, 60, 0.9);
  }
  
  .credits-info-icon:active {
    transform: scale(0.9);
    border-color: rgba(40, 40, 40, 1);
    color: rgba(40, 40, 40, 1);
    /* Still no background on mobile active */
  }
}

/* Ensure zoom slider doesn't interfere */
.zoom-slider-wrapper {
  position: relative;
  z-index: 1000;
}