:root{--mist-green:#126b4f;--mist-green-2:#0d543f;--mist-ink:#20332b;--mist-muted:#66746f;--mist-line:#e2e9e5;--mist-bg:#f6f8f6;--mist-warm:#fff4d9;--mist-card:#fff;--mist-danger:#a43434;--mist-blue:#1769c2}*{box-sizing:border-box}.ms-page{background:var(--mist-bg);color:var(--mist-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC",Arial,sans-serif;line-height:1.7}.ms-wrap{max-width:1120px;margin:auto;padding:0 18px}.ms-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#e8f2ec,#f9f5e8);border-radius:22px;margin:22px 0;padding:42px}.ms-hero.has-image{background-size:cover;background-position:center}.ms-hero.has-image:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.80)}.ms-hero>*{position:relative}.ms-kicker{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;background:#fff;border:1px solid var(--mist-line);border-radius:999px;font-size:14px;font-weight:700}.ms-hero h1{font-size:clamp(28px,4vw,48px);line-height:1.2;margin:16px 0 10px}.ms-lead{font-size:18px;max-width:760px;color:#43524c}.ms-search{margin-top:24px;background:#fff;border:1px solid var(--mist-line);border-radius:16px;padding:16px;box-shadow:0 10px 28px rgba(20,60,44,.08)}.ms-search-grid{display:grid;grid-template-columns:1fr 1fr .7fr auto;gap:10px;align-items:end}.ms-field label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.ms-field input,.ms-field select{width:100%;height:46px;border:1px solid #cfdad4;border-radius:9px;padding:0 11px;background:#fff;font-size:16px}.ms-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:9px;padding:0 18px;background:var(--mist-green);color:#fff!important;text-decoration:none!important;font-size:16px;font-weight:800;cursor:pointer}.ms-btn:hover{background:var(--mist-green-2)}.ms-btn-outline{background:#fff;color:var(--mist-green)!important;border:1px solid var(--mist-green)}.ms-note{font-size:13px;color:var(--mist-muted);margin-top:8px}.ms-section{margin:32px 0}.ms-section h2{font-size:28px;line-height:1.3;margin:0 0 12px}.ms-section-intro{color:var(--mist-muted);margin:0 0 18px}.ms-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.ms-card{background:var(--mist-card);border:1px solid var(--mist-line);border-radius:14px;padding:20px}.ms-card h3{margin:0 0 8px;font-size:20px}.ms-date{font-weight:800;color:var(--mist-blue)}.ms-status{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:13px;font-weight:800;background:#e8f5ee;color:var(--mist-green)}.ms-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ms-step{background:#fff;border:1px solid var(--mist-line);border-radius:14px;padding:18px}.ms-step b{display:flex;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;background:var(--mist-green);color:#fff;margin-bottom:10px}.ms-evidence{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;background:#fff;border:1px solid var(--mist-line);border-radius:16px;padding:20px}.ms-evidence img{display:block;width:100%;height:auto;border:1px solid #ddd;border-radius:10px}.ms-warning{background:var(--mist-warm);border:1px solid #f1d992;border-radius:12px;padding:14px 16px}.ms-cta{background:var(--mist-green);color:#fff;border-radius:18px;padding:26px;display:flex;gap:18px;align-items:center;justify-content:space-between}.ms-cta h2{margin:0;font-size:26px}.ms-cta p{margin:4px 0 0;color:rgba(255,255,255,.82)}.ms-cta .ms-btn{background:#fff;color:var(--mist-green)!important}.ms-faq details{background:#fff;border:1px solid var(--mist-line);border-radius:11px;padding:0 16px;margin:9px 0}.ms-faq summary{cursor:pointer;padding:14px 0;font-weight:800}.ms-faq details p{margin:0 0 14px;color:#526159}.ms-source{font-size:14px;color:var(--mist-muted)}.ms-sticky{display:none}@media(max-width:820px){.ms-hero{padding:26px 18px;border-radius:16px}.ms-search-grid{grid-template-columns:1fr 1fr}.ms-search-grid .ms-btn{grid-column:1/-1}.ms-cards{grid-template-columns:1fr}.ms-steps{grid-template-columns:1fr 1fr}.ms-evidence{grid-template-columns:1fr}.ms-cta{align-items:flex-start;flex-direction:column}.ms-sticky{display:block;position:fixed;left:12px;right:12px;bottom:12px;z-index:999}.ms-sticky .ms-btn{width:100%;box-shadow:0 8px 30px rgba(0,0,0,.2)}}@media(max-width:520px){.ms-search-grid,.ms-steps{grid-template-columns:1fr}.ms-search-grid .ms-btn{grid-column:auto}.ms-hero h1{font-size:31px}.ms-section h2{font-size:24px}}

/* v1.0.2 public activity + rooms */
.ms-section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}
.ms-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ms-benefit{background:#fff;border:1px solid var(--line,#dfe7e2);border-radius:18px;padding:20px}
.ms-benefit strong{display:block;font-size:14px;opacity:.72;margin-bottom:8px}.ms-big{display:block;font-size:26px;font-weight:800;margin-bottom:8px}
.ms-info-note{margin-top:16px;padding:14px 16px;border-radius:14px;background:#fff8df;line-height:1.7}.ms-source-links{margin-top:14px;font-size:14px}
.ms-room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ms-room-card{overflow:hidden;background:#fff;border:1px solid var(--line,#dfe7e2);border-radius:18px}
.ms-room-image{display:block;aspect-ratio:4/3;background:#eef1ed;overflow:hidden}.ms-room-image img{width:100%;height:100%;object-fit:cover;display:block}.ms-room-placeholder{display:grid;place-items:center;font-size:42px;font-weight:800;color:#89958c}
.ms-room-body{padding:16px}.ms-room-code{font-size:13px;font-weight:700;opacity:.65}.ms-room-body h3{margin:5px 0 15px;font-size:19px}.ms-room-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.ms-btn-small{padding:9px 12px;font-size:14px}
.ms-plan{display:flex;align-items:center;justify-content:space-between;gap:24px}.ms-plan>div{max-width:720px}
@media(max-width:900px){.ms-benefit-grid,.ms-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ms-benefit-grid,.ms-room-grid{grid-template-columns:1fr}.ms-plan{display:block}.ms-plan .ms-btn{margin-top:14px;width:100%;text-align:center}.ms-room-actions{align-items:stretch;flex-direction:column}.ms-room-actions a{text-align:center}}
/* v1.0.3 official-rule weekday gate */
.ms-field small{display:block;margin-top:5px;color:var(--mist-muted);font-size:12px}.ms-rule-bar{margin-top:12px;padding:10px 12px;border-radius:10px;background:#edf6f1;color:#254d3e;font-size:14px}.ms-rule-bar span{color:var(--mist-muted)}.ms-search-error{margin-top:18px;padding:14px 16px;border:1px solid #e4b2b2;background:#fff1f1;border-radius:12px;color:#7b2424}.ms-search-error strong{display:block;margin-bottom:4px}.ms-error-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.ms-error-actions a{font-weight:800;color:#7b2424}.ms-cta-actions{display:flex;gap:10px;flex-wrap:wrap}.ms-cta .ms-btn-outline{border-color:#fff;background:transparent;color:#fff!important}@media(max-width:620px){.ms-cta-actions{width:100%}.ms-cta-actions .ms-btn{width:100%}}

/* v1.0.4 legal lodging verification */
.ms-legal-box{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 10px;padding:18px;background:#fff;border:1px solid var(--mist-line);border-radius:16px}.ms-legal-box strong{display:block;font-size:18px;margin-bottom:3px}.ms-legal-box span{display:block;color:var(--mist-muted)}.ms-legal-note{padding:12px 14px;background:#fff8df;border-radius:12px;font-size:14px}.ms-room-legal{display:inline-flex;margin-bottom:8px;padding:3px 8px;border-radius:999px;background:#e8f5ee;color:var(--mist-green);font-size:12px;font-weight:800}.ms-room-code{display:block}@media(max-width:620px){.ms-legal-box{align-items:stretch;flex-direction:column}.ms-legal-box .ms-btn{width:100%}}


/* v1.0.6 traveler price/subsidy estimator */
.ms-search-actions{display:flex;gap:8px;align-items:stretch}.ms-search-actions .ms-btn{white-space:nowrap}.ms-btn-calc{background:#b36b18}.ms-btn-calc:hover{background:#945814}
.ms-estimator{margin-top:22px;padding:22px;background:#fff;border:1px solid var(--mist-line);border-radius:18px;box-shadow:0 12px 30px rgba(20,60,44,.08)}.ms-estimator-head h2{margin:8px 0 4px;font-size:25px}.ms-estimator-head p{margin:0;color:var(--mist-muted)}
.ms-estimate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.ms-estimate-card{border:1px solid var(--mist-line);border-radius:15px;padding:16px;background:#fbfdfb}.ms-estimate-card.is-unavailable{background:#f6f6f6}.ms-estimate-card.is-missing{background:#fff9ec}.ms-estimate-title{display:flex;align-items:baseline;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--mist-line)}.ms-estimate-title strong{font-size:21px;color:var(--mist-green)}.ms-estimate-title span{font-weight:800}
.ms-price-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:15px}.ms-price-row.benefit{color:#9a5010}.ms-price-total{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:3px;padding-top:11px;border-top:1px dashed #cdd8d1}.ms-price-total span{font-weight:800}.ms-price-total strong{font-size:24px;color:var(--mist-green)}.ms-estimate-state{min-height:25px;margin:10px 0;color:var(--mist-muted);font-size:13px}.ms-estimate-card .ms-btn{width:100%}.ms-estimate-note{margin-top:16px;padding:12px 14px;border-radius:12px;background:#fff8df;color:#5e5135;font-size:13px;line-height:1.7}.ms-estimator-empty{margin-top:16px;padding:18px;border-radius:14px;background:#fff8df}.ms-estimator-empty .ms-btn{margin-top:12px}
@media(max-width:900px){.ms-search-actions{grid-column:1/-1}.ms-search-actions .ms-btn{flex:1}.ms-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ms-search-actions{display:grid;grid-template-columns:1fr}.ms-estimate-grid{grid-template-columns:1fr}.ms-estimator{padding:16px}.ms-price-total strong{font-size:22px}}


/* v1.0.7 prominent subsidy-estimate disclosure */
.ms-subsidy-alert{display:grid;grid-template-columns:64px 1fr;gap:18px;margin:20px 0 4px;padding:22px;border:3px solid #c75a22;border-radius:18px;background:#fff3e8;box-shadow:0 10px 28px rgba(133,67,25,.12)}
.ms-subsidy-alert-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#a63f1c;color:#fff;font-size:38px;font-weight:900;line-height:1}
.ms-subsidy-alert-kicker{display:block;color:#8f3518;font-size:14px;font-weight:900;letter-spacing:.04em}.ms-subsidy-alert h2{margin:2px 0 9px;font-size:25px;line-height:1.25;color:#762d16}.ms-subsidy-alert p{margin:7px 0;color:#4f382f}.ms-subsidy-alert p strong{color:#762d16}.ms-subsidy-alert-final{padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #e5ad91}
.ms-subsidy-flow{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px;font-size:13px;font-weight:800}.ms-subsidy-flow span{padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #dfb39d}.ms-subsidy-flow b{color:#a63f1c}
.ms-estimate-result-alert{display:flex;flex-direction:column;gap:4px;margin-top:16px;padding:14px 16px;border:2px solid #c75a22;border-radius:12px;background:#fff1e7;color:#63301e}.ms-estimate-result-alert strong{font-size:16px;color:#8f3518}.ms-estimate-result-alert span{font-size:14px;line-height:1.65}
@media(max-width:620px){.ms-subsidy-alert{grid-template-columns:1fr;padding:17px;border-width:2px}.ms-subsidy-alert-icon{width:46px;height:46px;font-size:30px}.ms-subsidy-alert h2{font-size:21px}.ms-subsidy-flow b{display:none}.ms-subsidy-flow span{width:100%;border-radius:8px;text-align:center}}


/* v1.0.8 room-specific booking links + preview state */
.ms-hero-labels{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ms-preview-chip{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:#fff0c7;border:1px solid #e0bd61;color:#7b5710;font-size:13px;font-weight:900;letter-spacing:.04em}.ms-preview-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:9px;background:#f1f1ed;border:1px dashed #b7b9b3;color:#767972;font-size:14px;font-weight:800;cursor:not-allowed}.ms-estimate-card .ms-preview-button{width:100%}.ms-room-actions .ms-preview-button{white-space:nowrap}@media(max-width:620px){.ms-room-actions .ms-preview-button{width:100%}}

/* 1.0.9 traveler-facing visual upgrade: subsidy overview */
.ms-public-info-visual{position:relative;overflow:hidden;border:1px solid #dce8e0;border-radius:24px;padding:28px;background:linear-gradient(180deg,#f8fbf8 0%,#fff 42%,#fff 100%);box-shadow:0 14px 36px rgba(31,75,56,.07)}
.ms-public-info-visual:before{content:"";position:absolute;right:-70px;top:-80px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,#dff1e5 0%,rgba(223,241,229,0) 70%);pointer-events:none}
.ms-public-scene{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:72px;margin:-28px -28px 22px;padding:16px 28px;background:linear-gradient(100deg,#e8f4eb,#f7efd9 56%,#e7f3ed);border-bottom:1px solid #d9e7dd}
.ms-public-scene:after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:linear-gradient(170deg,transparent 0 45%,rgba(89,139,94,.12) 46% 55%,transparent 56%)}
.ms-scene-mark{margin-right:auto;font-weight:900;color:#285b45;font-size:15px;letter-spacing:.04em}.ms-scene-icon{position:relative;z-index:1;font-size:31px;filter:drop-shadow(0 4px 5px rgba(0,0,0,.08))}
.ms-public-heading{position:relative;z-index:1}.ms-public-heading p{margin:7px 0 0;color:#64736c}.ms-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ms-benefit{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:330px;padding:20px 20px 18px;border:1px solid #dbe5df;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(29,67,51,.06);transition:transform .18s ease,box-shadow .18s ease}
.ms-benefit:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(29,67,51,.10)}.ms-benefit:after{content:"";position:absolute;right:-45px;bottom:-55px;width:145px;height:145px;border-radius:50%;opacity:.34}
.ms-benefit-eligibility:after{background:#bde4c8}.ms-benefit-money:after{background:#ffe1a8}.ms-benefit-period:after{background:#c9e0f8}
.ms-benefit-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.ms-benefit-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px}.ms-benefit-icon svg{width:39px;height:39px;fill:currentColor}.ms-benefit-icon .ms-svg-line{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ms-benefit-eligibility .ms-benefit-icon{color:#26724d;background:#e2f3e8}.ms-benefit-money .ms-benefit-icon{color:#ce6b12;background:#fff0d6}.ms-benefit-period .ms-benefit-icon{color:#246aa5;background:#e2f0fb}
.ms-benefit-no{font-size:13px;font-weight:900;letter-spacing:.08em;color:#83928b}.ms-benefit>strong{display:block;font-size:14px;color:#56675f;margin-bottom:5px}.ms-benefit .ms-big{display:block;font-size:25px;line-height:1.45;font-weight:950;color:#173c2d;margin:0 0 9px}.ms-benefit-money .ms-big{color:#b8540b}.ms-benefit-period .ms-big{color:#185e98}.ms-benefit .ms-big small{font-size:.55em;margin-left:2px}.ms-benefit p{position:relative;z-index:1;margin:0;color:#52645b;line-height:1.8}
.ms-benefit-caption{position:relative;left:auto;right:auto;bottom:auto;z-index:2;margin-top:auto;padding-top:12px;border-top:1px dashed #d8e2dc;font-size:13px;line-height:1.55;font-weight:800;color:#65776e}.ms-booking-tip{display:flex;align-items:flex-start;gap:12px;margin-top:18px!important;background:linear-gradient(90deg,#fff3cf,#fff9e8)!important;border:1px solid #f0d98f!important}.ms-tip-icon{font-size:25px;line-height:1}.ms-booking-tip strong,.ms-booking-tip span{display:block}.ms-booking-tip strong{font-size:16px;margin-bottom:2px}.ms-booking-tip div span{color:#5e5948}
@media(max-width:820px){.ms-public-info-visual{padding:20px 16px;border-radius:18px}.ms-public-scene{margin:-20px -16px 18px;padding:13px 16px}.ms-scene-icon{font-size:25px}.ms-benefit-grid{grid-template-columns:1fr}.ms-benefit{min-height:auto;padding-bottom:18px}.ms-benefit .ms-big{font-size:23px}.ms-benefit-caption{margin-top:16px}}
@media(max-width:520px){.ms-public-scene{gap:6px}.ms-scene-mark{font-size:13px}.ms-scene-icon{font-size:21px}.ms-benefit-icon{width:54px;height:54px}.ms-benefit-icon svg{width:34px;height:34px}}


/* v1.0.10 room rack-rate + weekday price presentation */
.ms-rack-row{color:#7a827d}.ms-rack-row del{font-size:14px;color:#8c948f;text-decoration-thickness:2px;text-decoration-color:#b26a5c}.ms-room-price{display:flex;flex-direction:column;gap:3px;margin:-4px 0 14px;padding:10px 0 11px;border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee}.ms-room-rack{font-size:13px;color:#7b8580}.ms-room-rack del{font-weight:700;text-decoration-thickness:2px;text-decoration-color:#b26a5c}.ms-room-weekday{font-size:14px;color:#485b52}.ms-room-weekday strong{font-size:20px;color:var(--mist-green);font-weight:900}.ms-estimate-card .ms-rack-row+ .ms-price-row{padding-top:5px}

/* v1.0.12: benefit cards use normal document flow; prevents caption/body overlap under XOOPS theme widths. */
.ms-benefit p{padding-bottom:14px}.ms-benefit-caption{background:rgba(255,255,255,.72)}
/* v1.0.13 - public weekday-price subsidy estimator */
.ms-search-grid{grid-template-columns:1fr 1fr .7fr 1.15fr auto}.ms-estimate-formula{margin:8px 0 10px;padding:7px 9px;border-radius:8px;background:#eef6f1;color:#35594a;font-size:13px;font-weight:800}.ms-estimator-head p{max-width:820px}.ms-estimate-card{display:flex;flex-direction:column}.ms-estimate-card .ms-preview-button,.ms-estimate-card .ms-btn{margin-top:auto}@media(max-width:1050px){.ms-search-grid{grid-template-columns:1fr 1fr}.ms-search-actions{grid-column:1/-1}}@media(max-width:620px){.ms-search-grid{grid-template-columns:1fr}}

/* v1.0.14 - six-room villa weekday subsidy reference estimator */
.ms-package-note{margin:0 0 12px;padding:10px 11px;border-radius:9px;background:#fff6dc;border:1px solid #ead18a;color:#65542c;font-size:12px;line-height:1.65}.ms-package-note strong{color:#7b5512}.ms-eligible-rooms small{color:#7b5512}

/* v1.0.15 - villa package estimator: full-width responsive, separate visual system */
.ms-estimate-card.ms-estimate-package{grid-column:1/-1;width:100%;max-width:none;box-sizing:border-box;background:linear-gradient(135deg,#fffaf0 0%,#fff5df 100%);border:2px solid #d7ad55;box-shadow:0 10px 26px rgba(112,78,20,.08);padding:22px 24px}
.ms-estimate-package .ms-estimate-title{border-bottom-color:#ead5a5}.ms-estimate-package .ms-estimate-title strong{color:#8a5a08}.ms-estimate-package .ms-estimate-title span{font-size:18px;color:#503b18}
.ms-estimate-package .ms-price-row,.ms-estimate-package .ms-price-total{max-width:none}.ms-estimate-package .ms-price-total{border-top-color:#d9bd7d}.ms-estimate-package .ms-price-total strong{color:#9a6509;font-size:28px}
.ms-estimate-package .ms-estimate-formula{background:#fff0c9;color:#6f4d13;border:1px solid #ead09a}
.ms-package-breakdown{display:flex;gap:10px 22px;align-items:center;flex-wrap:wrap;margin:4px 0 12px;padding:12px 14px;border-radius:10px;background:#fff;border:1px solid #ead5a5;color:#624719}.ms-package-breakdown strong{width:100%;color:#7b520c}.ms-package-breakdown span{font-weight:800}
.ms-estimate-package .ms-package-note{background:#fff8e8;border-color:#dfbd73;color:#624d26}.ms-estimate-package .ms-package-note strong{color:#81540b}
.ms-estimate-package .ms-preview-button,.ms-estimate-package .ms-btn{width:100%;box-sizing:border-box}
@media(max-width:620px){.ms-estimate-card.ms-estimate-package{padding:18px 16px}.ms-package-breakdown{align-items:flex-start;flex-direction:column;gap:5px}.ms-estimate-package .ms-price-total strong{font-size:24px}}

/* v1.0.18 - cache version synchronization only; no layout/logic change */


/* v1.0.19 - bottom CTA light visual refinement: improves readability and keeps site green identity. */
.ms-cta{
  background:linear-gradient(135deg,#eaf4ee 0%,#f7fbf8 100%);
  color:#204b3a;
  border:1px solid #cfe1d6;
  box-shadow:0 10px 24px rgba(25,73,53,.07);
}
.ms-cta h2{color:#174d39}.ms-cta p{color:#526c61}.ms-cta .ms-btn{background:#197252;color:#fff!important;border:1px solid #197252}.ms-cta .ms-btn:hover{background:#125d43}.ms-cta .ms-btn-outline{background:#fff;color:#197252!important;border:1px solid #7eb39d}.ms-cta .ms-btn-outline:hover{background:#edf7f2;color:#125d43!important;border-color:#5b9d82}
