.globe-background {
  position: relative;
  background: linear-gradient(131deg, #330C90 0%, #4317B9 18.32%, #6A2FBB 46.56%, #A54BEB 76.72%, #EB6CFF 100%);
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  color: #e6f7fa;
  min-height: 869px;
}

#globe {
  position: relative;
  inset: 0;
  z-index: 1;
}

.pin {
  width: 26px;
  height: 26px;
  margin-top: -13px; /* tip of the teardrop sits on the geo point */
  color: var(--cta-on-media-label);
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}

.pin > svg.pin__icon {
  display: block;
  height: 26px;
  width: auto;
  fill: currentColor;
  filter:
    drop-shadow(0 0 6px rgba(0, 191, 214, 0.9))
    drop-shadow(0 0 14px rgba(0, 191, 214, 0.45));
  transition: transform 0.15s ease-out, filter 0.15s ease-out;
}

.pin > svg.pin__icon:hover,
.pin:focus-visible > svg.pin__icon {
  transform: scale(1.15);
}

.pin[aria-expanded='true'] > svg.pin__icon {
  filter:
    drop-shadow(0 0 8px rgba(0, 191, 214, 1))
    drop-shadow(0 0 18px rgba(0, 191, 214, 0.65));
}

.pin__ring {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px; /* 26px circle centered at the icon tip */
  border: 2px solid rgba(0, 191, 214, 0.7);
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pin {
  --radius-xl: 16px;
  --space-4: 16px;
  --space-3: 12px;
  --space-base: 4px;
  --space-5: 20px;
  --black-dark: #323232;
  --tad-colour-surface-primary: #fff;
  --surface-tertiary: #e8eded;
  --surface-secondary: #f2f5f5;
  --colour-text-secondary: #444545;
  --colour-text-tertiary: #444545;
  --text-placeholder: #a1a3a3;
  --color-text-secondary: #323232;
  --font-family-body: 'Lato', Helvetica, Arial, sans-serif;
  --font-family-title: 'FuturaBT', 'Futura PT', Futura, 'Century Gothic', Helvetica, Arial, sans-serif;
}

#globe .condensedDealTile,
#globe .condensedDealTile * {
  box-sizing: border-box;
}

#globe > .condensedDealTile,
.pin .condensedDealTile {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  z-index: 2;
  width: 321px;
  max-width: calc(100vw - 24px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Hydrated Vue compact tile (.dealTile.dealCard.compact): white card,
     16px radius, soft drop shadow, 13px/20px Lato body, NO underline.
     Placed to the RIGHT of the pin, vertically centered on it. */
  color: var(--black-dark, #323232);
  background: var(--tad-colour-surface-primary, #fff);
  border-radius: var(--radius-xl, 16px);
  box-shadow: rgba(13, 13, 13, 0.2) 0px 2px 4px;
  font-family: var(--font-family-body);
  font-size: 13px;
  line-height: 20px;
  text-align: left;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
}

.pin.open {
  z-index: 5000 !important;
}

.pin.open .condensedDealTile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

#globe .condensedDealTile .dealTile__imageSection {
    position: relative;
}
#globe .condensedDealTile .dealTile__imageWrapper {
    position: relative;
    width: 100%;
    height: 145px;
    border-radius: var(--radius-xl, 16px) var(--radius-xl, 16px) 0 0;
    overflow: hidden;
    background: var(--tad-colour-surface-primary, #fff);
}
#globe .condensedDealTile .dealTile__imageWrapper > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
#globe .condensedDealTile .dealInclusionPill {
    display: flex;
    height: 24px;
    padding: 5px 10px;
    justify-content: flex-start;
    align-items: baseline;
    gap: 5px;
    font-size: 11px;
    line-height: 12px;
    font-weight: 700;
    color: var(--color-text-secondary, #323232);
    background: var(--neutral-200, #f2f5f5);
    border-radius: 999px;
    flex-shrink: 0;
}
#globe .condensedDealTile .dealInclusionPill svg {
    fill: currentColor;
    color: var(--color-text-secondary, #323232);
    height: 12px;
    width: auto;
}
.condensedDealTile__contentHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-bottom: var(--space-base);
}
.condensedDealTile__content {
    display: flex;
    font-family: var(--font-family-body);
    flex-direction: column;
    padding: var(--space-3, 12px);
    align-items: flex-start;
    gap: var(--space-base, 4px);
    align-self: stretch;
    background-color: var(--tad-colour-surface-primary, #fff);
    border-radius: 0 0 var(--radius-xl, 16px) var(--radius-xl, 16px);
}
.condensedDealTile__contentTitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-5, 20px);
    width: 100%;
    flex-grow: 0;
    margin-top: var(--space-base);
}
.condensedDealTile__contentTitleText {
    flex: 1;
    font-family: var(--font-family-title);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.condensedDealTile__contentSubtitle {
    color: var(--colour-text-tertiary, #444545);
    flex-grow: 0;
    margin-top: auto;
    font-style: normal;
}
.condensedDealTile__contentSubtitlePrice {
    font-family: var(--font-family-title);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    color: var(--colour-text-secondary);
    line-height: 1.5;
}
.condensedDealTile__contentRating {
    display: flex;
    height: 24px;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}
.condensedDealTile__contentRating svg {
    fill: #ffd100;
    width: 14px;
    height: auto;
}
.condensedDealTile__contentRating span {
    color: var(--colour-text-secondary);
    font-size: 14px;
}

/* ---------- End Vue compact tile rules ---------- */

/* Ensure the card container is positioned for absolute placement */
.condensedDealTile {
  position: relative;
  overflow: visible;
}

/* Close Button */
.condensedDealTile__close {
  display: flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  gap: var(--space-2, 8px);
  position: absolute;
  right: -14px;
  top: -14px;
  z-index: 10;
  border-radius: var(--radius-md, 8px);
  border: var(--border-md, 1.5px) solid #fff;
  background: var(--cta-onmedia-default-bg, rgba(5, 11, 28, 0.85));
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.condensedDealTile__close:hover,
.condensedDealTile__close:focus-visible {
  transform: scale(1.08);
  outline: none;
}

.condensedDealTile__close i {
  color: #fff;
  width: 16px;
  height: 16px;
  font-size: 16px;
  fill: currentColor;
  pointer-events: none;
}

#webGLApp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0; 
    border-radius: inherit;
}

.custom-cursor {
    position: fixed;
    width: 25px;
    height: 25px;
    border: 2px solid white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-width 0.2s ease;
    background: transparent;
    will-change: transform;
}
.custom-cursor::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}