/* New global controls live outside the protected page-content subtrees. */
:root { --mobile-contact-height: 64px; }
.mobile-contact-bar { display: none; }
.wecom-dialog { width: min(440px,calc(100% - 32px)); max-height: calc(100dvh - 40px); box-sizing: border-box; margin: auto; padding: 56px 28px 32px; border: 0; border-radius: 24px; color: #1a2b27; background: #fff; text-align: center; font-family: "PingFang SC","Noto Sans SC",sans-serif; }
.wecom-dialog::backdrop { background: rgba(0,25,21,.58); backdrop-filter: blur(6px); }
.wecom-dialog h2 { margin: 0 0 24px; font-size: 24px; line-height: 1.4; }
.wecom-dialog img { display: block; width: min(240px,100%); height: auto; margin: auto; }
.wecom-dialog [data-wecom-close] { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef0ee; color: #005a50; font-size: 28px; cursor: pointer; }
.wecom-dialog p { margin: 20px 0 0; font-size: 16px; line-height: 1.7; color: #5b6b66; }
.wecom-dialog a,.camp-notification button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 1px solid #005a50; padding: 10px 24px; border-radius: 999px; color: #fff; background: #005a50; text-decoration: none; font: 600 16px/1.4 "PingFang SC","Noto Sans SC",sans-serif; cursor: pointer; }
.wecom-dialog .wecom-one-click { margin-top: 20px; }
.wecom-other-browser { margin-top: 20px; }
.wecom-in-wechat { display: none; }
[data-wechat-browser="true"] .wecom-in-wechat { display: block; }
[data-wechat-browser="true"] :is(.wecom-other-browser,.wecom-desktop) { display: none; }
html.wecom-is-open { overflow: hidden; scrollbar-gutter: stable; }
.camp-notification { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.camp-notification p { margin: 0; font-size: 16px; line-height: 1.8; }
.camp-plan-detail .camp-notification { margin-top: 20px; }
.camp-plan-detail .camp-notification p { color: #fff; font-size: 14px; }
.camp-plan-detail .camp-notification button,.ds-tone-forest .camp-notification button { border-color: var(--palette-action); color: var(--palette-action-ink); background: var(--palette-action); }
.camp-plans .camp-notification { justify-content: center; text-align: center; }
.qr-help { margin-top: 16px; font-size: 14px; line-height: 1.8; text-align: center; }
.qr-help p,.ds-scope .qr-help p.ds-body { font-size: 14px !important; margin: 8px 0 !important; }
.qr-help a { display: inline-block; margin: 8px 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
[data-wechat-browser="true"] .qr-help :is(a,.qr-save-instruction) { display: none; }
.faq-controls { margin-top: 24px; }
.faq-controls button { min-height: 44px; padding: 10px 20px; border: 1px solid #005a50; border-radius: 999px; background: #fff; color: #005a50; font: 600 16px/1.5 "PingFang SC","Noto Sans SC",sans-serif; cursor: pointer; }
.travel-disclosure { font-size: 14px; }
.travel-disclosure > div { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width:719px) {
  body:has(.mobile-contact-bar) { padding-bottom: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom)); }
  .mobile-contact-bar { position: fixed; z-index: 110; inset: auto 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; height: calc(var(--mobile-contact-height) + env(safe-area-inset-bottom)); box-sizing: border-box; padding: 10px 24px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #d9ded9; }
  .mobile-contact-bar :is(a,button) { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid #005a50; border-radius: 999px; color: #005a50; background: #fff; text-decoration: none; font: 700 16px/1.5 "PingFang SC","Noto Sans SC",sans-serif; }
  .mobile-contact-bar button { background: #005a50; color: #fff; }
  .wecom-desktop { display: none; }
  .camp-notification { margin-top: 24px; }
}
@media (prefers-reduced-motion:reduce) { .wecom-dialog { scroll-behavior: auto; } }
