/* Keep navigation centered; let the language control use the outer page edge. */
html{scrollbar-gutter:stable}
.product-video-layer{position:fixed;overflow:hidden;box-sizing:border-box;pointer-events:none;contain:paint;isolation:isolate;background:#0c0a11;will-change:left,top,width,height,opacity}
.product-video-layer[hidden]{display:none!important}
.product-video-layer video{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;background:#0c0a11}
.hpd-detail[data-departing]{pointer-events:none}
.huanwuai-header{width:90.2%}
.home-video-wrap{aspect-ratio:373/443;background:#0c0a11;border-radius:1.85cqw}
.home-video-wrap video,.hpd-hero-media video,.shared-video-overlay video{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;background:#0c0a11}
.hpd-hero-media{background:#0c0a11}
.hpd-hero-media::after{display:none}
.shared-video-overlay{position:fixed;z-index:10000;overflow:hidden;pointer-events:none;background:#0c0a11;box-shadow:0 18px 48px #0003}
.price-currency{font-size:12px;font-weight:600;color:#cbbbd8;letter-spacing:.04em;vertical-align:baseline;white-space:nowrap}
.topup-currency{font-size:10px;font-weight:500;color:#cbbbd8;white-space:nowrap}
.hpd-term{line-height:1.7;overflow-wrap:normal;text-wrap:balance}
.hpd-pricing .hpd-panel h3,.hpd-pricing .hpd-price,.hpd-pricing .hpd-term{width:100%;box-sizing:border-box;text-align:center}
.hpd-pricing .hpd-panel ul{align-self:stretch}
.agency-rate strong{font-size:clamp(24px,2.2cqw,32px)}
/* Empty media slots retain layout for the flight destination, without
 * painting a black background or border before the video arrives. */
.hpd-hero-media:empty,.home-video-wrap:empty{visibility:hidden}
.back-to-top{top:67vh;bottom:auto;transition:background 200ms ease}
.back-to-top:hover{transform:none}
@media(max-width:1100px){.back-to-top{top:auto;right:24px;bottom:calc(64px + env(safe-area-inset-bottom))}}
@media(max-width:700px){.huanwuai-header{width:90%}.hpd-term{font-size:15px}.price-currency{font-size:11px}.hpd-topup tbody td{font-size:16px}.topup-currency{display:block;margin-top:3px}.agency-rate strong{font-size:26px}}
/* Round5: the header sat at `top:8.9%`, which resolves against the section's
 * height. While the detail page mounts, that height jumps 789->2873->3564 in a
 * single frame and the header dropped 185px for one frame before the frozen
 * --hpd-header-top took over. 4.576cqw of the container width is the same
 * 70.2px as before, but no longer depends on content height. */
.huanwuai-home .huanwuai-header,
.huanwuai-home.hpd-detail-active .huanwuai-header{top:4.564cqw}
.product-video-layer::after{content:"";position:absolute;inset:0;border:1px solid var(--layer-ring,transparent);border-radius:inherit;pointer-events:none}
