.custom-tabs.hc-tabs { align-items: center; gap: 9px; padding: 10px 12px 7px; }
.custom-tabs.hc-tabs > .tab-item { flex: 0 0 auto; white-space: nowrap; font-size: 15px; padding-bottom: 8px; }
.custom-tabs.hc-tabs > .tab-item.active { font-size: 18px; }
.custom-tabs.hc-tabs > .tab-item-shop { gap: 0; }
.custom-tabs.hc-tabs > .tab-item-shop .shop-icon { display: none; }
.hc-home-entry { border: 1px solid #8be7d5; border-radius: 20px; min-width: 120px; flex: 1 1 120px; height: 52px; display: flex; align-items: center; gap: 3px; padding: 3px 6px; color: #065f54; background: linear-gradient(106deg,#d8fff6,#fff6e8); box-shadow: 0 2px 6px #10a89831; cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; }
.hc-home-entry:active { transform: scale(.98); }
.hc-inactive-entry { display: none !important; }
.hc-gift { flex: 0 0 18px; width: 18px; font-size: 18px; line-height: 1; }
.hc-entry-copy { min-width: 0; display: flex; flex: 1 1 auto; flex-direction: column; line-height: 1.05; }
.hc-entry-copy strong { font-size: 12px; white-space: nowrap; overflow: visible; letter-spacing: -.35px; line-height: 1.1; }
.hc-entry-copy small { margin-top: 2px; color: #af6b2a; font-size: 9px; white-space: nowrap; }
.hc-entry-arrow { display: none; }
@media (max-width: 360px) {
  .custom-tabs.hc-tabs { gap: 5px; padding-left: 8px; padding-right: 8px; }
  .custom-tabs.hc-tabs > .tab-item { font-size: 13px; }
  .custom-tabs.hc-tabs > .tab-item.active { font-size: 16px; }
  .hc-home-entry { min-width: 104px; padding: 3px 4px; gap: 2px; }
  .hc-gift { flex-basis: 15px; width: 15px; font-size: 15px; }
  .hc-entry-copy strong { font-size: 11px; letter-spacing: -.5px; }
}

.hc-page, .hc-page * { box-sizing: border-box; }
.hc-page {
  --hc-scale: 1;
  --hc-safe-top: env(safe-area-inset-top, 0px);
  --hc-safe-bottom: env(safe-area-inset-bottom, 0px);
  position: fixed;
  inset: 0;
  z-index: 10099;
  overflow: hidden;
  background: #eaf1f9;
  color: #26383d;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  overscroll-behavior: contain;
}
.hc-shell {
  position: absolute;
  left: 50%;
  top: var(--hc-safe-top);
  width: 393px;
  height: 780px;
  transform: translateX(-50%) scale(var(--hc-scale));
  transform-origin: top center;
  background: #eaf1f9;
  overflow: hidden;
}
.hc-header {
  width: 393px;
  height: 61px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}
.hc-header button { border: 0; background: #f0f7fb; color: #27393d; height: 49px; font-size: 16px; border-radius: 26px; cursor: pointer; }
.hc-back { width: 71px; }
.hc-rules { width: 61px; }
.hc-header strong { font-size: 20px; font-weight: 400; }
.hc-scroll { height: 719px; overflow: hidden; }
.hc-hero {
  position: relative;
  width: 393px;
  height: 170px;
  overflow: hidden;
  background-image: url('./holiday-reference-20260927-v5.jpg');
  background-size: 393px auto;
  background-position: 0 -102.6px;
  background-repeat: no-repeat;
}
/* Restore the reference illustration, then draw the editable campaign copy over its left side. */
.hc-hero::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 211px;
  background: linear-gradient(90deg,#d9f3f7 0%,#dcf6f8 78%,#dcf6f8dd 83%,#dcf6f800 100%);
}
.hc-hero-copy { position: relative; z-index: 1; width: 158px; padding: 14px 0 0 13px; }
.hc-hero-copy span { display: block; color: #a2794f; font-size: 11px; line-height: 16px; white-space: nowrap; }
.hc-hero-title { margin: 6px 0 0; color: #205c5b; font-size: 20px; line-height: 25px; font-weight: 600; white-space: pre-line; }
.hc-hero-subtitle { margin: 6px 0 0; color: #688e8f; font-size: 11px; line-height: 15px; white-space: pre-line; }
.hc-content { padding-top: 13px; }
.hc-segment {
  width: 367px;
  height: 58px;
  margin: 0 auto;
  padding: 5px;
  border-radius: 33px;
  display: flex;
  background: #fff;
}
.hc-segment button { width: 50%; height: 48px; border: 0; border-radius: 26px; color: #273a3f; background: #f0f5f9; font-size: 17px; font-weight: 400; cursor: pointer; }
.hc-segment button.active { color: #fff; background: #10bbae; }
.hc-package-list {
  width: 380px;
  height: 188px;
  display: flex;
  gap: 11px;
  margin: 12px 0 0 13px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}
.hc-package-list::-webkit-scrollbar { display: none; }
.hc-package {
  display: flex;
  flex: 0 0 153px;
  width: 153px;
  height: 186px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px 10px 9px;
  border: 1px solid #dae6e9;
  border-radius: 17px;
  background: #fff;
  color: #29413e;
  scroll-snap-align: start;
  cursor: pointer;
}
.hc-package.active { border: 2px solid #0abab0; padding: 9px 9px 8px; background: linear-gradient(145deg,#fff9ed 0%,#eafbfa 100%); }
.hc-package-tag { display: block; max-width: 100%; height: 21px; padding: 2px 6px; border-radius: 4px; background: #fff0dc; color: #a16b4d; font-size: 10px; line-height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-package-duration { margin-top: 9px; color: #28393b; font-size: 27px; line-height: 32px; font-weight: 400; white-space: nowrap; }
.hc-package-title, .hc-package-desc { display: block; max-width: 100%; font-size: 12px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-package-title { margin-top: 2px; color: #61787b; }
.hc-package-desc { margin-top: 3px; color: #3a9c87; }
.hc-package-price { display: block; margin-top: auto; color: #0abfb3; font-size: 25px; line-height: 29px; white-space: nowrap; letter-spacing: -.8px; }
.hc-package-old-price { color: #718083; font-size: 11px; line-height: 14px; text-decoration: line-through; white-space: nowrap; }
.hc-package-expiry { color: #718083; font-size: 11px; line-height: 15px; white-space: nowrap; }
.hc-package-hint { height: 26px; line-height: 26px; margin: 0; text-align: center; color: #647f80; font-size: 13px; }
.hc-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; width: 340px; color: #516c71; font-size: 13px; }
.hc-retry { border: 1px solid #0ebab0; border-radius: 12px; background: #fff; color: #09a99f; padding: 5px 12px; }
.hc-checkout { position: relative; width: 367px; height: 241px; margin: 0 auto; padding: 13px; border-radius: 21px; background: #fff; }
.hc-selected { margin: 0; height: 28px; color: #61787b; font-size: 15px; line-height: 28px; }
.hc-pay-grid { display: flex; gap: 9px; }
.hc-pay-grid button { position: relative; display: flex; align-items: center; gap: 10px; width: 166px; height: 71px; padding: 10px 9px; border: 1px solid #dce7ee; border-radius: 17px; background: #f7fbff; color: #283b3d; font-size: 15px; white-space: nowrap; cursor: pointer; }
.hc-pay-grid button.active { border: 2px solid #0cbbaf; background: #eafbf5; padding: 9px 8px; }
.hc-pay-icon { display: block; width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; border-radius: 50%; }
.hc-wx { background: #08c300; object-fit: cover; object-position: center; }
.hc-ali { width: 25px; height: 25px; flex-basis: 25px; border-radius: 6px; background: #fff url('./holiday-alipay-official-20260927-v7.png') no-repeat left center / 71.25px 25px; }
.hc-radio { width: 20px; height: 20px; margin-left: auto; flex: 0 0 20px; border-radius: 50%; border: 2px solid #02beb2; }
.hc-pay-grid button.active .hc-radio::after { content: ''; display: block; width: 10px; height: 10px; margin: 3px; border-radius: 50%; background: #06b9ac; }
.hc-agreement { display: flex; align-items: center; gap: 8px; margin-top: 16px; height: 20px; font-size: 13px; color: #708589; white-space: nowrap; }
.hc-agreement input { appearance: none; flex: 0 0 19px; width: 19px; height: 19px; margin: 0; border: 1px solid #0db9b0; border-radius: 2px; background: #fff; }
.hc-agreement input:checked { background: #0bbcaf; }
.hc-agreement input:checked::after { content: '✓'; display: block; color: #fff; font-weight: 700; font-size: 17px; line-height: 16px; text-align: center; }
.hc-agreement-link { display: block; height: 20px; padding: 0; margin: 12px 0 0; border: 0; background: none; color: #07bbae; font-size: 13px; cursor: pointer; }
.hc-buy { display: block; width: 341px; height: 48px; margin-top: 2px; border: 0; border-radius: 25px; background: #0abeb2; color: #fff; font-size: 17px; cursor: pointer; }
.hc-buy:disabled { opacity: .55; cursor: not-allowed; }
.hc-message { position: absolute; z-index: 1; left: 13px; right: 13px; bottom: 62px; margin: 0; padding: 5px 8px; border-radius: 7px; background: #fff5ec; color: #9b4c25; font-size: 12px; line-height: 16px; text-align: center; }
.hc-page [hidden] { display: none !important; }
.hc-rule-shade, .hc-wechat-guide { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #102b3499; }
.hc-rule-card, .hc-wechat-guide-card { width: 335px; max-height: 690px; overflow: auto; padding: 22px; border-radius: 19px; background: #fff; box-shadow: 0 12px 34px #1236; color: #2f4446; }
.hc-rule-card h2, .hc-wechat-guide-card h2 { margin: 0 0 15px; font-size: 19px; }
.hc-rule-text, .hc-wechat-guide-card p { max-height: 440px; overflow: auto; white-space: pre-wrap; font-size: 14px; line-height: 1.7; }
.hc-rule-card button, .hc-wechat-guide-card button { margin: 7px 4px 0 0; padding: 10px 15px; border: 0; border-radius: 13px; color: #fff; background: #0abab0; }
