/* Scoped to #sys-resort-explore — Resort Explore V3 (from resort-explore (3).html) */
#sys-resort-explore {
  box-sizing: border-box;
  --sys-re3-ink: #0b140d;
  --sys-re3-gold: #d9b45f;
  --sys-re3-green: #0f3d2b;
  --sys-re3-bg-image: none;
  font-family: var(--font-sans, 'Readex Pro', ui-sans-serif, system-ui, sans-serif);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  background: var(--sys-re3-ink);
}

#sys-resort-explore *,
#sys-resort-explore *::before,
#sys-resort-explore *::after {
  box-sizing: border-box;
}

#sys-resort-explore .sig {
  font-family: var(--font-sans, 'Readex Pro', ui-sans-serif, system-ui, sans-serif);
}

/* =========================================================
   Everything on the photo (routes, pins, cards) lives on a
   1920×1028 "stage". --m = 1 design pixel on the stage.
   Desktop: the stage fills the section.
   Small screens: the stage is cropped to the map + cards area.
   ========================================================= */
#sys-resort-explore .scene {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background: var(--sys-re3-ink);
  --u: calc(100cqw / 1920);
}

#sys-resort-explore .map {
  position: relative;
  overflow: hidden;
}

#sys-resort-explore .stage {
  position: absolute;
  container-type: inline-size;
  background: var(--sys-re3-bg-image) center / cover no-repeat;
  --m: calc(100cqw / 1920);
}

#sys-resort-explore .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 10, 6, 0) 72%, rgba(4, 8, 4, 0.35) 100%);
}

/* ---------- Routes + light beam ---------- */
#sys-resort-explore .routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 4;
  pointer-events: none;
}

#sys-resort-explore .route {
  fill: none;
  stroke: #f6f1e3;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 10 9;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  transition: opacity 0.4s ease;
}

#sys-resort-explore .route.dim {
  opacity: 0.16;
}

#sys-resort-explore .beam {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  filter: drop-shadow(0 0 4px rgba(255, 235, 180, 1)) drop-shadow(0 0 11px rgba(255, 185, 80, 0.9));
}

#sys-resort-explore .beam.running {
  opacity: 1;
}

#sys-resort-explore .dot-chase {
  fill: none;
  stroke: #ffd977;
  stroke-width: 4.4;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: sys-re3-dotFlash 1.7s linear infinite;
}

@keyframes sys-re3-dotFlash {
  0% { opacity: 0; transform: scale(1); }
  1.5% { opacity: 1; transform: scale(2.2); }
  4% { opacity: 1; transform: scale(1.8); }
  9% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}

/* ---------- Map labels ---------- */
#sys-resort-explore .label {
  position: absolute;
  left: calc(var(--x) * var(--m));
  top: calc(var(--y) * var(--m));
  z-index: 6;
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--m));
  color: #fff;
  font-weight: 600;
  font-size: clamp(12px, calc(21 * var(--m)), 22px);
  line-height: 1.15;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.6);
  transform: translate(-11%, -50%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  white-space: nowrap;
}

#sys-resort-explore .label svg {
  flex: none;
  width: clamp(11px, calc(26 * var(--m)), 26px);
  height: auto;
  margin-top: 0.1em;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}

#sys-resort-explore .label.dim {
  opacity: 0.35;
}

#sys-resort-explore .ph-br {
  display: none;
}

#sys-resort-explore .label.lift {
  transform: translate(-11%, -50%) scale(1.08);
}

#sys-resort-explore .label.lift svg {
  animation: sys-re3-bob 1.1s ease-in-out infinite alternate;
}

@keyframes sys-re3-bob {
  to { transform: translateY(-4px); }
}

/* ---------- Resort pin ---------- */
#sys-resort-explore .resort {
  position: absolute;
  left: calc(1065 * var(--m));
  top: calc(838 * var(--m));
  z-index: 7;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sys-resort-explore .resort .marker {
  position: relative;
  width: clamp(28px, calc(66 * var(--m)), 66px);
}

#sys-resort-explore .resort .marker svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}

#sys-resort-explore .pin-ring {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(214, 236, 190, 0.7);
  transform: translate(-50%, -50%);
  animation: sys-re3-pulse 2.6s ease-out infinite;
}

@keyframes sys-re3-pulse {
  0% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}

#sys-resort-explore .resort .name {
  position: absolute;
  top: 100%;
  margin-top: calc(6 * var(--m));
  white-space: nowrap;
  text-align: center;
  font-weight: 600;
  font-size: clamp(12px, calc(22 * var(--m)), 22px);
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* ---------- Copy ---------- */
#sys-resort-explore .copy {
  position: relative;
  z-index: 8;
  margin-top: 14%;
}

#sys-resort-explore .copy p {
  font-weight: 300;
  color: #e9ede4;
  margin: 0;
}

#sys-resort-explore .title {
  margin: 0;
  font-weight: 400;
  line-height: 1;
  font-size: 1rem; /* children use their own clamps — do not inherit old em-scale */
}

#sys-resort-explore .title > span {
  display: block;
}

#sys-resort-explore .t-explore {
  font-family: var(--font-sirivennela, 'Sirivennela', cursive);
  font-weight: 400;
  font-size: clamp(4.2rem, 6.8vw, 7.4rem);
  line-height: 0.85; /* tighter glyph box — reduces optical space under Explore */
  letter-spacing: 0.01em;
  color: var(--nature-green, #2e7d32);
  animation: sys-re3-rise 0.9s 0.1s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

#sys-resort-explore .t-line {
  /*
   * Parent .title is font-size:1rem, so em-based margin was nearly a no-op (-0.06em ≈ -1px).
   * Pull second line up proportional to Explore’s clamp so the lockup stays compact.
   */
  margin-top: calc(-0.13 * clamp(4.2rem, 6.8vw, 7.4rem));
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.18em;
  animation: sys-re3-rise 0.9s 0.3s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

#sys-resort-explore .t-beyond,
#sys-resort-explore .t-the,
#sys-resort-explore .t-resort {
  font-family: var(--font-sirivennela, 'Sirivennela', cursive);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

#sys-resort-explore .t-beyond {
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
  color: #f4efe4;
  transform: translateY(0.04em);
}

#sys-resort-explore .t-the {
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  color: #f4efe4;
  transform: translateY(0.08em);
}

#sys-resort-explore .t-resort {
  font-size: clamp(3rem, 4.7vw, 5.1rem);
  color: #e8a04a;
  transform: translateY(0.02em);
}

@keyframes sys-re3-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

#sys-resort-explore .copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sys-resort-explore .copy li {
  position: relative;
  font-weight: 300;
  color: #eef1ea;
}

#sys-resort-explore .copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: #fff;
}

/* ---------- Cards ---------- */
#sys-resort-explore .card {
  position: absolute;
  z-index: 9;
  left: calc(var(--x) * var(--m));
  top: calc(var(--y) * var(--m));
  width: calc(var(--w) * var(--m));
  height: calc(var(--h) * var(--m));
  overflow: hidden;
  border-radius: calc(22 * var(--m));
  border: 2px solid var(--sys-re3-gold);
  background: #1b2416;
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
  cursor: pointer;
  outline: none;
}

#sys-resort-explore .card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

#sys-resort-explore .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(8, 12, 6, 0.55) 70%, rgba(8, 12, 6, 0.88) 100%);
  pointer-events: none;
}

#sys-resort-explore .card .pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--sys-re3-green);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  left: calc(16 * var(--m));
  top: calc(14 * var(--m));
  gap: calc(12 * var(--m));
  padding: calc(9 * var(--m)) calc(20 * var(--m)) calc(9 * var(--m)) calc(16 * var(--m));
  font-size: max(12px, calc(22 * var(--m)));
}

#sys-resort-explore .card .pill svg {
  flex: none;
  width: calc(26 * var(--m));
  height: calc(26 * var(--m));
}

#sys-resort-explore .card .heart {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  padding: 0;
  right: calc(18 * var(--m));
  top: calc(18 * var(--m));
  width: calc(42 * var(--m));
  height: calc(42 * var(--m));
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background-color 0.3s, transform 0.3s;
}

#sys-resort-explore .card .heart:hover {
  background: rgba(255, 255, 255, 0.5);
}

#sys-resort-explore .card .heart svg {
  width: 52%;
  height: 52%;
}

#sys-resort-explore .card .heart.on {
  color: #ff5a6e;
  background: rgba(255, 255, 255, 0.9);
  animation: sys-re3-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes sys-re3-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

#sys-resort-explore .card .zoom {
  display: none;
}

#sys-resort-explore .card .meta {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 calc(20 * var(--m)) calc(16 * var(--m));
}

#sys-resort-explore .card h3 {
  margin: 0;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-size: max(14px, calc(27 * var(--m)));
  /* wrap instead of being cut by the card edge ("Ethagala (Elephant Rock)" is wider than the card) */
  white-space: normal;
  text-wrap: balance;
  letter-spacing: -0.005em;
}

#sys-resort-explore .card .sub {
  color: #f1efe6;
  font-size: max(12px, calc(20 * var(--m)));
  margin-top: calc(8 * var(--m));
}

#sys-resort-explore .card .bar {
  display: block;
  background: var(--sys-re3-gold);
  height: 3px;
  border-radius: 2px;
  width: calc(50 * var(--m));
  margin-top: calc(12 * var(--m));
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

#sys-resort-explore .card:focus-visible {
  box-shadow: 0 0 0 3px rgba(217, 180, 95, 0.6), 0 18px 34px -14px rgba(0, 0, 0, 0.75);
}

/* The global `.card:hover { transform: rotateY(180deg) }` / `.card.flip` / preserve-3d rules
   (resources/css/app.css, written for the payment-card demo) leak onto these cards.
   Neutralise them here only: no flip on hover. The existing JS-driven .lift state
   (mouseenter on hover-capable devices, click/tap otherwise) is the only hover animation. */
#sys-resort-explore .card {
  transform-style: flat;
}

#sys-resort-explore .card:hover:not(.lift),
#sys-resort-explore .card.flip:not(.lift) {
  transform: none;
}

#sys-resort-explore .card.dim {
  opacity: 0.4;
  filter: grayscale(0.35);
}

#sys-resort-explore .card.lift {
  transform: scale(1.04);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55));
  z-index: 10;
}

#sys-resort-explore .card.lift img {
  transform: scale(1.06);
}

#sys-resort-explore .card.lift .bar {
  width: calc(90 * var(--m));
}

/* ================= Desktop ================= */
@media (min-width: 1024px) {
  /* The scene is still 1920:1028 wide, but it may grow taller when the copy (14px text floor)
     does not fit: the copy is in flow (same position via margins), and overflow:clip lets the
     aspect-ratio box grow to its content. The map stage keeps its own 1920:1028 ratio at the top
     (pins, routes and cards stay aligned); the area below it shows the blurred background. */
  #sys-resort-explore .scene {
    display: flow-root;
    aspect-ratio: 1920 / 1028;
    overflow: hidden;
    overflow: clip;
  }

  #sys-resort-explore .map {
    position: absolute;
    inset: 0;
  }

  #sys-resort-explore .stage {
    inset: 0 auto auto 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1028;
  }

  #sys-resort-explore .scene-bg {
    position: absolute;
    inset: 0;
    background: var(--sys-re3-bg-image) center / cover no-repeat;
    filter: blur(14px) brightness(0.42) saturate(1.1);
    transform: scale(1.05);
  }

  #sys-resort-explore .shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(6, 11, 7, 0.55) 0%, rgba(6, 11, 7, 0.35) 30%, rgba(6, 11, 7, 0) 48%);
  }

  #sys-resort-explore .copy {
    position: relative;
    margin: calc(14% + 40 * var(--u)) 0 0 calc(120 * var(--u));
    padding-bottom: 1.5rem;
    width: calc(680 * var(--u));
  }

  #sys-resort-explore .title {
    font-size: 1rem;
  }

  #sys-resort-explore .copy p {
    margin-top: calc(58 * var(--u)) !important;
    font-size: max(14px, calc(18.5 * var(--u)));
    line-height: 1.63;
  }

  #sys-resort-explore .copy ul {
    margin-top: calc(52 * var(--u));
    display: grid;
    gap: calc(19 * var(--u));
  }

  #sys-resort-explore .copy li {
    font-size: max(14px, calc(18.5 * var(--u)));
    line-height: 1.35;
    padding-left: max(20px, calc(26 * var(--u)));
  }
}

/* ================= Tablet & mobile ================= */
@media (max-width: 1023.98px) {
  #sys-resort-explore .scene {
    display: flex;
    flex-direction: column;
    padding-top: clamp(2.5rem, 7vw, 4rem);
  }

  #sys-resort-explore .scene-bg {
    position: absolute;
    inset: -30px;
    background: var(--sys-re3-bg-image) center / cover no-repeat;
    filter: blur(14px) brightness(0.42) saturate(1.1);
    transform: scale(1.05);
  }

  #sys-resort-explore .shade {
    display: none;
  }

  #sys-resort-explore .copy {
    order: 1;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    max-width: 44rem;
    margin-top: 40px;
  }

  #sys-resort-explore .title {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }

  #sys-resort-explore .t-explore {
    font-size: clamp(3.4rem, 12vw, 5.2rem);
  }

  #sys-resort-explore .t-beyond {
    font-size: clamp(2.1rem, 6.5vw, 3rem);
  }

  #sys-resort-explore .t-the {
    font-size: clamp(1.6rem, 5vw, 2.25rem);
  }

  #sys-resort-explore .t-resort {
    font-size: clamp(2.35rem, 7.2vw, 3.4rem);
  }

  #sys-resort-explore .t-line {
    /* Slightly less pull on small screens — still compact, no overlap */
    margin-top: calc(-0.10 * clamp(3.4rem, 12vw, 5.2rem));
    white-space: normal;
  }

  #sys-resort-explore .copy p {
    font-size: clamp(0.98rem, 2.6vw, 1.1rem);
    line-height: 1.7;
  }

  #sys-resort-explore .copy ul {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.8rem;
  }

  #sys-resort-explore .copy li {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.45;
    padding-left: 1.5rem;
  }

  #sys-resort-explore .map {
    order: 2;
    margin-top: 2rem;
    aspect-ratio: 1055 / 770;
    z-index: 2;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 100%);
  }

  #sys-resort-explore .stage {
    width: calc(1920 / 1055 * 100%);
    height: calc(1028 / 770 * 100%);
    left: calc(-850 / 1055 * 100%);
    top: calc(-165 / 770 * 100%);
  }
}

/* Phones */
@media (max-width: 699.98px) {
  #sys-resort-explore .stage .card {
    border-width: 1.5px;
    border-radius: 10px;
  }

  #sys-resort-explore .stage .card .pill,
  #sys-resort-explore .stage .card .heart,
  #sys-resort-explore .stage .card .sub,
  #sys-resort-explore .stage .card .bar {
    display: none;
  }

  #sys-resort-explore .stage .card .meta {
    padding: 0 6px 5px;
  }

  #sys-resort-explore .stage .card h3 {
    font-size: 12px;
    white-space: normal;
    line-height: 1.15;
  }

  #sys-resort-explore .stage .card .zoom {
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 3;
    right: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(15, 61, 43, 0.85);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    animation: sys-re3-hint 2.4s ease-in-out infinite;
  }

  #sys-resort-explore .stage .card .zoom svg {
    width: 11px;
    height: 11px;
  }

  #sys-resort-explore .stage .card::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(8, 12, 6, 0.85) 100%);
  }

  /* lifted by up to 14px so the 12px two-line label does not run into the resort pin */
  #sys-resort-explore #sys-re3-label-3 {
    flex-direction: row-reverse;
    text-align: right;
    transform: translate(-89%, calc(-50% - min(2cqw, 14px)));
  }

  #sys-resort-explore #sys-re3-label-3.lift {
    transform: translate(-89%, calc(-50% - min(2cqw, 14px))) scale(1.08);
  }

  #sys-resort-explore .ph-br {
    display: inline;
  }
}

@keyframes sys-re3-hint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ---------- Popup (phones) ---------- */
#sys-resort-explore .modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  visibility: hidden;
}

#sys-resort-explore .modal.open {
  visibility: visible;
}

#sys-resort-explore .modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 5, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

#sys-resort-explore .modal.open .modal-bg {
  opacity: 1;
}

#sys-resort-explore .modal.closing .modal-bg {
  opacity: 0;
}

#sys-resort-explore .modal.closing .modal-close {
  opacity: 0;
}

#sys-resort-explore .modal-box {
  position: relative;
  --m: calc(min(86vw, 360px) / 330);
}

#sys-resort-explore .modal-box .card {
  position: relative;
  left: auto;
  top: auto;
  transform-origin: 0 0;
  cursor: default;
  z-index: 1;
}

#sys-resort-explore .modal-close {
  position: absolute;
  z-index: 5;
  top: -14px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(217, 180, 95, 0.6);
  background: #0f3d2b;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s 0.15s, transform 0.3s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#sys-resort-explore .modal.open .modal-close {
  opacity: 1;
  transform: none;
}

#sys-resort-explore .modal-close:focus-visible {
  outline: 2px solid var(--sys-re3-gold);
  outline-offset: 3px;
}

#sys-resort-explore .modal-close svg {
  width: 16px;
  height: 16px;
}

@media (prefers-reduced-motion: reduce) {
  #sys-resort-explore .pin-ring,
  #sys-resort-explore .label.lift svg,
  #sys-resort-explore .dot-chase,
  #sys-resort-explore .stage .card .zoom,
  #sys-resort-explore .t-explore,
  #sys-resort-explore .t-line {
    animation: none;
  }

  #sys-resort-explore .beam.running .dot-chase {
    opacity: 0.9;
  }

  #sys-resort-explore .card,
  #sys-resort-explore .card img,
  #sys-resort-explore .label,
  #sys-resort-explore .modal-bg,
  #sys-resort-explore .modal-close {
    transition: none;
  }
}

/* Phones: the dark blurred background (.scene-bg) dissolves into the landscape BEFORE the
   map/cards start, with no handoff line. The map box is extended upward by --ext
   (~105px at 375px) and its mask is an eased, uneven ramp: it starts well above the
   map (around the last bullet), does most of its work in the middle and feathers to
   fully opaque right where the original map top / first cards begin — the card area
   itself is never dimmed. The stage image only has ~15.6cqw of sky above the crop, so
   a mirrored copy of it (.map::before, flipped on the join so it is seamless) supplies
   the rest of the extension; it is only ever seen faintly, under the low part of the ramp.
   Text (.copy) is lifted above the map so it stays crisp. Map/card/label positions are
   unchanged (stage top is offset by exactly --ext). Tablet/desktop are untouched. */
@media (max-width: 699.98px) {
  #sys-resort-explore .scene {
    --ext: 28cqw;
  }

  #sys-resort-explore .copy {
    position: relative;
    z-index: 3;
  }

  #sys-resort-explore .map {
    aspect-ratio: auto;
    height: calc(100cqw * 770 / 1055 + var(--ext));
    margin-top: calc(0.5rem - var(--ext));
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0,
      rgba(0, 0, 0, 0.05) calc(var(--ext) * 0.14),
      rgba(0, 0, 0, 0.2) calc(var(--ext) * 0.32),
      rgba(0, 0, 0, 0.45) calc(var(--ext) * 0.52),
      rgba(0, 0, 0, 0.7) calc(var(--ext) * 0.7),
      rgba(0, 0, 0, 0.88) calc(var(--ext) * 0.86),
      #000 var(--ext)
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0,
      rgba(0, 0, 0, 0.05) calc(var(--ext) * 0.14),
      rgba(0, 0, 0, 0.2) calc(var(--ext) * 0.32),
      rgba(0, 0, 0, 0.45) calc(var(--ext) * 0.52),
      rgba(0, 0, 0, 0.7) calc(var(--ext) * 0.7),
      rgba(0, 0, 0, 0.88) calc(var(--ext) * 0.86),
      #000 var(--ext)
    );
  }

  #sys-resort-explore .map::before {
    content: "";
    position: absolute;
    left: calc(-850 / 1055 * 100%);
    width: calc(1920 / 1055 * 100%);
    height: calc(100cqw * 1028 / 1055);
    top: calc(var(--ext) - 100cqw * 165 / 1055 - 100cqw * 1028 / 1055);
    background: var(--sys-re3-bg-image) center / cover no-repeat;
    transform: scaleY(-1);
    pointer-events: none;
  }

  #sys-resort-explore .stage {
    height: calc(100cqw * 1028 / 1055);
    top: calc(var(--ext) - 100cqw * 165 / 1055);
  }
}

/* H-011 tap targets: invisible >=32x32px hit area (visible size and layout unchanged) */
#sys-resort-explore .label[data-card]::before,
#sys-resort-explore .stage .card .heart::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 32px);
    height: max(100%, 32px);
    transform: translate(-50%, -50%);
}

/* the first label sits directly under its card: bias the extra hit area downward so it never reaches the card */
#sys-resort-explore .label[data-card]::before {
    transform: translate(-50%, -37.5%);
}
