/*
 * AVTF Outpost — Hotspots CSS: Type Styles
 * Styles for each hotspot type: link, info, tooltip, expand, hintspot, reveal, rotate, textinfo.
 */

/* ─── 1. Link Hotspot ────────────────────────────────────── */
.outpost-hotspot-link {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  opacity: 0.9;
  transition: opacity 0.2s;
  cursor: pointer;
}
.no-touch .outpost-hotspot-link:hover {
  opacity: 1;
}
.mobile .outpost-hotspot-link {
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
}
.outpost-hotspot-link .link-icon {
  width: 100%;
  height: 100%;
}
.outpost-hotspot-link .link-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 3px;
  font-size: var(--type-lg);
  max-width: 300px;
  padding: 8px 10px;
  border-radius: 5px;
  background-color: rgba(58,68,84,0.8);
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-50%) translateX(-8px);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}
.mobile .outpost-hotspot-link .link-tooltip {
  top: 50%;
}
.no-touch .outpost-hotspot-link:hover .link-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: all;
}

/* ─── 2. Info Hotspot ────────────────────────────────────── */
.outpost-hotspot-info {
  width: 66px;
  height: 66px;
  margin-left: -33px;
  margin-top: -33px;
  z-index: 1;
}
.outpost-hotspot-info.expanded {
  z-index: 2;
}
.outpost-hotspot-info .icon_wrapper {
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.outpost-hotspot-info .icon_wrapper:hover {
  transform: scale(1.1);
}
.outpost-hotspot-info .icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  position: relative;
  transition: border-color 0.2s ease-in-out;
}
.outpost-hotspot-info .icon_wrapper:hover .icon {
  border-color: rgba(255,255,255,0.6);
}
.outpost-hotspot-info .inner_icon {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.outpost-hotspot-info .closeIcon {
  transform: rotate(45deg);
}
.outpost-hotspot-info .icon1 {
  width: 4px;
  height: 24px;
  position: absolute;
  top: 14px;
  left: 24px;
  border-radius: 10px;
  background-color: #fff;
}
.outpost-hotspot-info .icon2 {
  width: 24px;
  height: 4px;
  position: absolute;
  top: 24px;
  left: 14px;
  border-radius: 10px;
  background-color: #fff;
}
.outpost-hotspot-info .tip, .outpost-hotspot-info .content {
  position: absolute;
  left: 80px;
  top: 50%;
  width: 280px;
  background-color: white;
  color: black;
  padding: 1em;
  border-radius: 5px;
}
.outpost-hotspot-info .content {
  padding: 0;
  transform: translateY(-50%) scaleY(0);
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
}
.outpost-hotspot-info.expanded .content {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
  pointer-events: all;
}
.outpost-hotspot-info .tip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform-origin: -2em 50%;
  transform: translateY(-50%) translate3d(0,0,0) rotate3d(1,1,1,30deg);
}
.outpost-hotspot-info:hover .tip {
  opacity: 1;
  transform: translateY(-50%) translate3d(0,0,0) rotate3d(0,0,0,0);
}
.outpost-hotspot-info.expanded:hover .tip {
  opacity: 0;
}
.outpost-hotspot-info .tip::before {
  content: '';
  position: absolute;
  right: 99%;
  height: 100%;
  width: 3em;
}
.outpost-hotspot-info .tip::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  margin-top: -9px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 14px solid white;
}
.outpost-hotspot-info h2 {
  padding: 15px;
  margin: 0;
  background: var(--accent);
  color: #000;
  font-size: var(--type-lg);
  border-radius: 5px 5px 0 0;
}
.outpost-hotspot-info .content-text {
  padding: 15px;
  color: #333;
}
.outpost-hotspot-info .close {
  width: 100%;
  padding: 10px;
  background-color: #f5f5f5;
  border: none;
  border-top: 1px solid #ddd;
  cursor: pointer;
  border-radius: 0 0 5px 5px;
}

/* ─── 3. Tooltip Hotspot ─────────────────────────────────── */
.outpost-hotspot-tooltip {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  transition: opacity 0.2s;
  perspective: 500px;
}
.outpost-hotspot-tooltip:hover {
  z-index: 3;
}
.outpost-hotspot-tooltip .tip {
  position: absolute;
  left: 80px;
  top: 50%;
  width: 200px;
  background-color: white;
  color: black;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) rotateZ(5deg) rotateY(40deg);
  transform-origin: left center;
  transition: all 0.25s;
}
.outpost-hotspot-tooltip:hover .tip {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-50%) none;
}
.outpost-hotspot-tooltip .tip p {
  font-size: var(--type-md);
  padding: .5em;
  text-align: center;
  background-color: var(--accent);
  border-radius: 5px;
  color: #000;
  margin: 0;
}
.outpost-hotspot-tooltip .out {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 5px;
  border: 5px solid rgba(255,255,255,0);
  border-radius: 50%;
  cursor: pointer;
  transition: border .3s ease-in-out;
}
.outpost-hotspot-tooltip .in {
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 50%;
  transition: background-color .3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outpost-hotspot-tooltip .in .image {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
  background-size: cover;
}
.outpost-hotspot-tooltip .out:hover {
  border: 5px solid #fff;
}
.outpost-hotspot-tooltip .out:hover .in {
  background-color: #fff;
}

/* ─── 4. Expand Hotspot ──────────────────────────────────── */
.outpost-hotspot-expand {
  width: 70px;
  height: 70px;
  margin-left: -35px;
  margin-top: -35px;
  background-color: #fff;
  color: #000;
}

/* Shared, scoped property-region labels: outer position and inner animation are independent. */
#outpost-discovery button.op-region-label,.op-region-editor button.op-region-label{position:absolute;transform:translate(-50%,-50%);z-index:4;pointer-events:auto;padding:0;border:0;background:transparent;min-height:0;max-width:min(240px,90%);white-space:normal;cursor:pointer;color:var(--region-color)}
.op-region-label[hidden]{display:none!important}.op-region-label-face{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:var(--region-padding,8px);background:color-mix(in srgb,var(--region-bg) calc(var(--region-opacity,1)*100%),transparent);border:var(--region-border-width,1px) solid var(--region-border);border-radius:var(--region-radius,8px);box-shadow:var(--region-shadow);font-size:var(--region-size,14px);font-weight:var(--region-weight,600);font-family:var(--region-font,inherit);line-height:1.3;overflow-wrap:anywhere;color:var(--region-color)}
#outpost-discovery .op-region-label *{font-family:var(--region-font,inherit)!important}.op-region-label:hover .op-region-label-face,.op-region-label:focus-visible .op-region-label-face{color:var(--region-hover-color);background:var(--region-hover-bg)}.op-region-label[aria-current=true] .op-region-label-face{color:var(--region-selected-color);background:var(--region-selected-bg)}.op-region-label:focus-visible{outline:3px solid var(--op-accent,#fff);outline-offset:3px}
.op-region-indicator{display:inline-flex;position:relative;width:24px;height:24px;flex:0 0 24px;align-items:center;justify-content:center}.op-region-indicator svg,.op-region-indicator img{width:24px;height:24px;object-fit:contain}.op-region-indicator svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.op-region-indicator [hidden]{display:none!important}
.op-region-indicator[data-animation=pulse]{animation:op-region-pulse var(--region-duration) ease-in-out infinite}.op-region-indicator[data-animation=glow]{animation:op-region-glow var(--region-duration) ease-in-out infinite}.op-region-indicator[data-animation=float]{animation:op-region-float var(--region-duration) ease-in-out infinite}.op-region-indicator[data-animation=ripple]:after{content:'';position:absolute;inset:0;border:1px solid currentColor;border-radius:50%;opacity:var(--region-ripple-opacity,.3);animation:op-region-ripple var(--region-duration) ease-out infinite;pointer-events:none}.op-region-label:hover [data-animation=scale],.op-region-label:focus-visible [data-animation=scale]{transform:scale(var(--region-scale))}.op-region-indicator[data-animation=scale]{transition:transform .2s ease}
@keyframes op-region-pulse{50%{transform:scale(var(--region-scale))}}@keyframes op-region-float{50%{transform:translateY(var(--region-float))}}@keyframes op-region-glow{50%{filter:drop-shadow(0 0 var(--region-glow,3px) currentColor)}}@keyframes op-region-ripple{to{transform:scale(var(--region-scale));opacity:0}}
@media(prefers-reduced-motion:reduce){.op-region-indicator,.op-region-indicator:after{animation:none!important;transition:none!important;transform:none!important}}
