/* 皓盛有限公司 (5390857.com) - 五站式 3D 微縮機電島嶼滾動舞台與快選試算樣式 v31.0 */
.mep-world-bleed {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #040812;
  border-top: 1px solid rgba(56, 189, 248, 0.24);
  border-bottom: 1px solid rgba(56, 189, 248, 0.24);
  overflow-x: clip;
}
.mep-world-intro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px clamp(16px, 3vw, 32px) 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.mep-world-intro-copy {
  max-width: 740px;
}
.mep-world-intro-copy h2 {
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.32;
  color: #f8fafc;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.mep-world-intro-copy p {
  color: #b5c7db;
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0;
}
.mep-world-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mep-skip-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(94, 234, 212, 0.45);
  background: #0b172a;
  color: #5eead4;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.mep-skip-btn:hover {
  border-color: #38bdf8;
  background: #122847;
  color: #ffffff;
}
.mep-skip-btn-primary {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(16, 185, 129, 0.28));
  border-color: #38bdf8;
  color: #f0f9ff;
}
.mep-scroll-stage {
  position: relative;
  width: 100%;
  height: 500vh;
  height: 500dvh;
}
.mep-canvas-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 1;
  background: #040812;
  transform: translateZ(0);
}
#mep-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.mep-vignette-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, transparent 32%, rgba(4, 8, 18, 0.62) 100%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.76) 0%, transparent 18%, transparent 78%, rgba(4, 8, 18, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}
.mep-preloader-pill {
  position: absolute;
  top: calc(var(--hs-header-offset, 76px) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.45);
  font-size: 12.5px;
  color: #e0f2fe;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mep-preloader-pill.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mep-preloader-track {
  width: 96px;
  height: 4px;
  background: rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  overflow: hidden;
}
.mep-preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #34d399);
}
.mep-top-hud {
  position: absolute;
  top: calc(var(--hs-header-offset, 76px) + 10px);
  left: 0;
  right: 0;
  z-index: 14;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.mep-hud-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(7, 15, 30, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.34);
  font-size: 13px;
  color: #dbeafe;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}
.mep-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  flex-shrink: 0;
}
.mep-hud-zone {
  color: #5eead4;
  font-weight: 800;
}
.mep-hud-progress-bar {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: hidden;
}
.mep-hud-progress-fill {
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #34d399 100%);
}
.mep-hud-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.mep-hud-skip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(12, 28, 52, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.48);
  color: #e0f2fe;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mep-hud-skip-pill:hover {
  background: #0284c7;
  border-color: #bae6fd;
  color: #ffffff;
}

/* 3D 微縮島嶼互動熱點膠囊層 (雙端適配) */
.mep-hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
}
.mep-hotspot-cluster {
  position: absolute;
  top: calc(var(--hs-header-offset, 76px) + 58px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
  pointer-events: auto;
}
.mep-hotspot-cluster[data-side="right"] {
  right: clamp(20px, 4vw, 56px);
  justify-content: flex-end;
}
.mep-hotspot-cluster[data-side="left"] {
  left: clamp(20px, 4vw, 56px);
  justify-content: flex-start;
}
.mep-hotspot-pin {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 18, 36, 0.88);
  border: 1px solid rgba(94, 234, 212, 0.42);
  color: #e2e8f0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.mep-hotspot-pin:hover,
.mep-hotspot-pin[aria-expanded="true"] {
  background: rgba(14, 165, 233, 0.28);
  border-color: #5eead4;
  color: #ffffff;
  transform: translateY(-1px);
}
.mep-hotspot-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}
.mep-hotspot-popover {
  position: absolute;
  top: calc(var(--hs-header-offset, 76px) + 104px);
  width: min(340px, calc(100vw - 28px));
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(7, 15, 30, 0.96);
  border: 1px solid #38bdf8;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.68);
  color: #e2e8f0;
  z-index: 16;
  pointer-events: auto;
}
.mep-hotspot-popover[hidden] {
  display: none !important;
}
.mep-hotspot-popover[data-side="right"] {
  right: clamp(20px, 4vw, 56px);
}
.mep-hotspot-popover[data-side="left"] {
  left: clamp(20px, 4vw, 56px);
}
.mep-hotspot-pop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.mep-hotspot-pop-title {
  font-size: 14px;
  font-weight: 800;
  color: #5eead4;
}
.mep-hotspot-pop-close {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: #cbd5e1;
  border-radius: 6px;
  min-width: 28px;
  min-height: 28px;
  font-size: 12px;
  cursor: pointer;
}
.mep-hotspot-pop-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 10px;
}
.mep-hotspot-pop-cta {
  appearance: none;
  width: 100%;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #34d399;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.mep-hotspot-pop-cta:hover {
  background: rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

.mep-bottom-dock {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(7, 14, 28, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  max-width: calc(100vw - 24px);
}
.mep-world-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mep-world-tab:hover {
  color: #f1f5f9;
}
.mep-world-tab[aria-selected="true"] {
  background: rgba(14, 165, 233, 0.26);
  border-color: #38bdf8;
  color: #ffffff;
}
.mep-narrative-layer {
  position: relative;
  z-index: 6;
  margin-top: -100vh;
  margin-top: -100dvh;
  pointer-events: none;
}
.mep-story-step {
  height: 100vh;
  height: 100dvh;
  max-width: 1360px;
  margin: 0 auto;
  padding: calc(var(--hs-header-offset, 112px) + 56px) clamp(16px, 4vw, 48px) 74px;
  display: flex;
  align-items: center;
}
.mep-story-step[data-align="left"] {
  justify-content: flex-start;
}
.mep-story-step[data-align="right"] {
  justify-content: flex-end;
}
.mep-story-card {
  width: min(460px, 100%);
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(13, 25, 46, 0.94) 0%, rgba(7, 14, 27, 0.96) 100%);
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0.16;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.32s ease-out, transform 0.32s ease-out, border-color 0.25s ease;
  pointer-events: auto;
}
.mep-story-step.is-active .mep-story-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  border-color: #38bdf8;
}
.mep-card-media {
  position: relative;
  width: 100%;
  height: 128px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #060c18;
}
.mep-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mep-card-media-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(6, 12, 24, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.48);
  color: #e0f2fe;
  font-size: 11.5px;
  font-weight: 700;
}
.mep-hvac-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.mep-hvac-mini-cell {
  padding: 9px 11px;
  border-radius: 9px;
  background: #0d1b32;
  border: 1px solid rgba(56, 189, 248, 0.28);
}
.mep-hvac-mini-cell span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #5eead4;
  margin-bottom: 2px;
}
.mep-hvac-mini-cell strong {
  display: block;
  font-size: 13px;
  color: #f8fafc;
}
.mep-story-card .ba-slider-wrap.js-ba-slider {
  height: 164px !important;
  min-height: 164px !important;
  aspect-ratio: auto !important;
  margin-bottom: 12px;
  border-radius: 10px;
  touch-action: pan-y;
}
.mep-step-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12.5px;
}
.mep-step-code {
  color: #5eead4;
  font-weight: 800;
}
.mep-step-price {
  color: #fde68a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mep-story-card h3 {
  font-size: clamp(18px, 2vw, 21.5px);
  line-height: 1.35;
  color: #f8fafc;
  margin: 0 0 8px;
}
.mep-story-card p {
  font-size: 13.8px;
  line-height: 1.62;
  color: #cbd5e1;
  margin: 0 0 11px;
}
.mep-step-specs {
  list-style: none;
  padding: 10px 12px;
  margin: 0 0 12px;
  background: rgba(5, 10, 20, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  font-size: 12.8px;
  line-height: 1.5;
  color: #dbeafe;
}
.mep-step-specs li::before {
  content: "▪ ";
  color: #38bdf8;
}
.mep-card-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mep-step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  font-size: 13px;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mep-step-link:hover {
  background: rgba(14, 165, 233, 0.34);
  border-color: #7dd3fc;
  color: #ffffff;
}
.mep-step-quick-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.48);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #6ee7b7;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.mep-step-quick-btn:hover {
  background: rgba(16, 185, 129, 0.34);
  color: #ffffff;
}

/* 首頁嵌入式「五站快選試算 × 指定專車(A) vs 平日順路(B) 價差漏斗」 */
.hq-funnel-card {
  background: linear-gradient(155deg, #0d1a2f 0%, #091222 100%);
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.hq-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 24px;
  align-items: start;
}
.hq-pill-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.hq-pill-btn {
  appearance: none;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #2b445e;
  background: #0f1f36;
  color: #cbd5e1;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.hq-pill-btn:hover {
  border-color: #38bdf8;
  color: #ffffff;
}
.hq-pill-btn.is-selected {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(16, 185, 129, 0.22));
  border-color: #5eead4;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35);
}
.hq-controls-stack {
  display: grid;
  gap: 14px;
}
.hq-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hq-addon-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(6, 13, 25, 0.72);
  border: 1px solid #253d56;
  display: grid;
  gap: 10px;
}
.hq-addon-title {
  font-size: 13px;
  font-weight: 800;
  color: #5eead4;
  letter-spacing: 0.04em;
}
.hq-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #e2e8f0;
  cursor: pointer;
}
.hq-check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #38bdf8;
  flex-shrink: 0;
}
.hq-badge-Inline {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.42);
  margin-left: 4px;
}
.hq-summary-panel {
  padding: 20px 22px;
  border-radius: 14px;
  background: #071120;
  border: 1px solid rgba(94, 234, 212, 0.36);
}
.hq-ab-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}
.hq-plan-box {
  padding: 12px 14px;
  border-radius: 10px;
  background: #0e1d33;
  border: 1px solid #2b445e;
}
.hq-plan-box.is-plan-b {
  background: rgba(16, 185, 129, 0.11);
  border-color: #34d399;
}
.hq-plan-tag {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 4px;
}
.hq-plan-box.is-plan-b .hq-plan-tag {
  color: #6ee7b7;
}
.hq-plan-num {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 900;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}
.hq-plan-sub {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 3px;
}
.hq-item-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 27, 46, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #dbeafe;
}
.hq-item-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.16);
  padding-bottom: 5px;
}
.hq-item-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.hq-cta-stack {
  display: grid;
  gap: 9px;
}
.hq-rule-note {
  margin-top: 10px;
  font-size: 12.2px;
  line-height: 1.6;
  color: #94a3b8;
}

/* 滾動浮動即時比價條 (不遮擋底部雙鍵列) */
.hq-floating-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 45;
  width: min(880px, calc(100vw - 210px));
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(7, 15, 30, 0.95);
  border: 1px solid rgba(94, 234, 212, 0.48);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hq-floating-dock[hidden] {
  display: none !important;
}
.hq-dock-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-size: 13.5px;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}
.hq-dock-prices strong {
  color: #5eead4;
  font-size: 16px;
}
.hq-dock-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hq-dock-btn {
  appearance: none;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #38bdf8;
  background: #0284c7;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.hq-dock-btn-outline {
  background: rgba(15, 27, 46, 0.9);
  border-color: rgba(94, 234, 212, 0.5);
  color: #6ee7b7;
}

.ui-icon-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.zone-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.zone-dot-emerald { background: #34d399; }
.zone-dot-sky { background: #38bdf8; }
.zone-dot-violet { background: #a78bfa; }

@media (max-width: 960px) {
  .hq-grid {
    grid-template-columns: 1fr;
  }
  .hq-pill-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hq-floating-dock {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    padding: 9px 12px;
  }
}

@media (max-width: 768px) {
  .mep-scroll-stage {
    height: 500vh;
    height: 500dvh;
  }
  .mep-world-intro {
    padding: 28px 16px 16px;
  }
  .mep-top-hud {
    top: calc(var(--hs-header-offset, 84px) + 6px);
    padding: 0 12px;
  }
  .mep-hud-cluster {
    font-size: 12px;
    padding: 6px 11px;
  }
  .mep-hud-progress-bar {
    width: 48px;
  }
  .mep-hotspot-cluster,
  .mep-hotspot-cluster[data-side="left"],
  .mep-hotspot-cluster[data-side="right"] {
    top: calc(var(--hs-header-offset, 84px) + 48px);
    left: 12px;
    right: 12px;
    max-width: none;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .mep-hotspot-cluster::-webkit-scrollbar {
    display: none;
  }
  .mep-hotspot-pin {
    font-size: 11.5px;
    min-height: 32px;
    padding: 4px 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mep-hotspot-popover,
  .mep-hotspot-popover[data-side="left"],
  .mep-hotspot-popover[data-side="right"] {
    top: calc(var(--hs-header-offset, 84px) + 88px);
    left: 12px;
    right: 12px;
    width: auto;
  }
  .mep-story-step,
  .mep-story-step[data-align="left"],
  .mep-story-step[data-align="right"] {
    height: 100vh;
    height: 100dvh;
    align-items: flex-end;
    justify-content: center;
    padding: calc(var(--hs-header-offset, 84px) + 86px) 12px calc(122px + env(safe-area-inset-bottom, 0px));
  }
  .mep-story-card {
    width: 100%;
    padding: 15px 15px 13px;
  }
  .mep-card-media,
  .mep-story-card .ba-slider-wrap.js-ba-slider {
    height: 122px !important;
    min-height: 122px !important;
    margin-bottom: 9px;
  }
  .mep-story-card h3 {
    font-size: 17px;
    margin-bottom: 5px;
  }
  .mep-story-card p {
    font-size: 12.8px;
    line-height: 1.52;
    margin-bottom: 7px;
  }
  .mep-step-specs {
    padding: 7px 10px;
    margin-bottom: 9px;
    font-size: 12px;
    gap: 3px;
  }
  .mep-bottom-dock {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    padding: 4px;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mep-bottom-dock::-webkit-scrollbar {
    display: none;
  }
  .mep-world-tab {
    font-size: 11.8px;
    min-height: 35px;
    padding: 5px 10px;
  }
  .hq-pill-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hq-row-2,
  .hq-ab-cards {
    grid-template-columns: 1fr;
  }
  .hq-dock-prices {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mep-story-card,
  .mep-hud-progress-fill,
  .mep-preloader-bar,
  .mep-hotspot-pin {
    transition: none !important;
  }
}

@media print {
  .mep-world-bleed,
  .hq-floating-dock {
    display: none !important;
  }
}
