:root {
  --green: #0b5d3b;
  --green-2: #12804f;
  --green-soft: #e8f3ec;
  --gold: #f2c14e;
  --ink: #15201a;
  --muted: #5f6d65;
  --line: #e2e8e4;
  --soft: #f5f8f6;
  --bg: #ffffff;
  --red: #b4362b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 40, 28, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.6 -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
.top-nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.top-nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.logo, .pill-btn, .wx-top { white-space: nowrap; flex: none; }
@media (max-width: 1100px) { .top-nav a[href="#/ask/design"], .top-nav a[href="#/how"] { display: none; } }
@media (max-width: 860px) { .top-nav { display: none; } .top-search { margin-left: auto; } }
.top-nav a:hover { color: var(--green); }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: #fff; border-radius: 10px; padding: 7px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.pill-btn:hover { border-color: var(--green); color: var(--green); }

/* WeChat: copy ID + open app */
.wx-top { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #07c160; color: #fff; border-radius: 10px; padding: 8px 13px; font-weight: 700; font-size: 14px; cursor: pointer; }
.wx-top:hover { background: #06ad56; }
.wx-btn { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid #b9e8cc; background: #effbf4; color: var(--ink); border-radius: 10px; padding: 8px 12px; cursor: pointer; text-align: left; font-size: 13.5px; }
.wx-btn svg { width: 18px; height: 18px; color: #07c160; flex: none; }
.wx-btn b { color: #07a352; }
.wx-btn span { white-space: nowrap; }
.wx-btn em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: #07c160; border-radius: 6px; padding: 2px 8px; }
.direct { margin: 8px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: inherit; }
.done .direct { justify-content: center; }
#toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 80; background: rgba(20, 32, 26, .92); color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 10px; max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* loading */
.loading { display: flex; gap: 6px; justify-content: center; padding: 120px 0; }
.loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--green-2); animation: b 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes b { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }

/* home hero (golfscape-style full-bleed) */
.hero { position: relative; height: min(78vh, 640px); min-height: 440px; overflow: hidden; color: #fff; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 2; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero p { font-size: clamp(16px, 2vw, 20px); margin: 6px 0 0; opacity: .95; }
.hero-cap { position: absolute; right: 16px; bottom: 14px; z-index: 2; font-size: 11px; opacity: .8; }
.hero-cta { position: relative; z-index: 5; margin: -27px auto 0; display: flex; justify-content: center; }
.hero-cta button { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 0; border-radius: 12px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 15px 34px; font-size: 17px; font-weight: 700; cursor: pointer; }
.hero-cta button:hover { color: var(--green); }

.trust { display: flex; justify-content: center; gap: clamp(24px, 8vw, 90px); padding: 26px 16px 8px; text-align: center; font-size: 12.5px; color: var(--muted); }
.trust div { display: grid; justify-items: center; gap: 6px; max-width: 110px; }
.trust svg { width: 22px; height: 22px; }

/* home: slim hero + lead routes */
.hero.hero-slim { height: min(40vh, 360px); min-height: 280px; }
.hero-slim .hero-text { bottom: 36px; }
.hero-slim .hero-text p { font-size: clamp(14px, 1.6vw, 17px); max-width: 640px; }
.featured .sec-h { margin-top: 28px; align-items: baseline; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16, 40, 28, .12); }
.feat .ph { position: relative; aspect-ratio: 16/9; background: var(--soft); }
.feat .ph { flex: none; overflow: hidden; }
.feat .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat .badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #3a2a00; font-weight: 800; font-size: 12.5px; border-radius: 6px; padding: 3px 9px; }
.feat .nights { position: absolute; right: 12px; bottom: 12px; background: rgba(10, 20, 14, .72); color: #fff; font-weight: 700; font-size: 13px; border-radius: 6px; padding: 3px 9px; }
.feat .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.feat h3 { font-size: 19px; }
.feat .where { color: var(--muted); font-size: 13px; }
.feat p { margin: 2px 0; font-size: 14px; color: #33423a; }
.feat .facts { margin: 4px 0 2px; }
.feat .feat-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.feat .feat-foot b { color: var(--green); font-size: 22px; }
.feat .feat-foot small { color: var(--muted); }
.feat .feat-foot em { font-style: normal; background: var(--green-2); color: #fff; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 9px 14px; }
.entries.entries-2 { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }

/* three entry points on home */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.entry { display: grid; gap: 6px; align-content: start; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; box-shadow: var(--shadow); }
.entry b { font-size: 18px; }
.entry span { color: var(--muted); font-size: 14px; }
.entry em { font-style: normal; color: var(--green); font-weight: 700; font-size: 14px; margin-top: 4px; }
.entry:hover { border-color: var(--green); }

/* destination rows on home */
.dest-row { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding: 48px 0 8px; }
.dest-row > *, .pkg > *, .cpage > *, .page-h > * { min-width: 0; }
.dest-row h2 { font-size: 38px; font-weight: 800; letter-spacing: 1px; }
.dest-row .en { font-size: 14px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.dest-row p { color: var(--muted); margin: 14px 0 18px; }
.btn-dark { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 0; cursor: pointer; }
.btn-dark:hover { background: var(--green); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.mini { text-decoration: none; display: block; }
.mini .ph { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--soft); }
.mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mini:hover img { transform: scale(1.04); }
.mini b { display: block; margin-top: 10px; font-size: 16px; }
.mini span { font-size: 13px; color: var(--muted); }
.mini .from { color: var(--green); font-weight: 700; }

.steps { background: var(--soft); margin-top: 56px; padding: 48px 0; }
.steps h2 { font-size: 28px; text-align: center; }
.steps .sub { text-align: center; color: var(--muted); margin: 8px 0 28px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps li b { display: block; font-size: 17px; margin-bottom: 4px; }

.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 52px 0 18px; }
.sec-h h2 { font-size: 26px; }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* destination page (golfscape listing) */
.page-h { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; padding: 28px 0 18px; }
.page-h h1 { font-size: 32px; font-weight: 800; }
.page-h p { color: var(--muted); margin: 8px 0 0; }
.help { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 13px; }
.help b { font-size: 15px; display: block; margin-bottom: 2px; }
.help .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-weight: 700; font-size: 12.5px; }
.help .acts a, .help .acts button { color: var(--green); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; }
.hotel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hcard { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.hcard .ph { position: relative; aspect-ratio: 16/9; background: var(--soft); }
.hcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.hcard .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.6)); }
.hcard .ph h3 { position: absolute; left: 16px; bottom: 12px; right: 16px; z-index: 2; color: #fff; font-size: 20px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hcard .ph .stand-in, .mini .ph .stand-in { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.mini .ph { position: relative; }
.hcard .ph .tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.92); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.hcard .bd { padding: 14px 16px 6px; }
.lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.inc { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 12px; font-size: 13.5px; }
.inc span { display: inline-flex; align-items: center; gap: 5px; }
.inc svg { width: 15px; height: 15px; color: var(--green-2); flex: none; }
.pk-head { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.pk-row { display: flex; justify-content: space-between; align-items: center; text-decoration: none; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pk-row:last-child { border-bottom: 0; }
.pk-row:hover { color: var(--green); }
.pk-row .p { font-weight: 700; white-space: nowrap; }
.pk-row .p::after { content: " ›"; color: var(--muted); }
.from-note { font-size: 12px; color: var(--muted); margin: 8px 0 10px; line-height: 1.5; }
.help .direct { margin-top: 6px; font-size: 13px; }
.help .acts a + a { margin-left: 0; }
.dest-about { margin: 40px 0 0; max-width: 800px; }
.dest-about h2 { font-size: 22px; margin: 22px 0 8px; }
.dest-about p { color: var(--muted); }

/* package page (golfscape detail) */
.crumb { font-size: 12.5px; color: var(--muted); letter-spacing: .5px; margin: 20px 0 6px; text-transform: uppercase; }
.crumb a { text-decoration: none; color: var(--green); font-weight: 700; }
.pkg { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 60px; }
.pkg h1 { font-size: 30px; font-weight: 800; }
.pkg .en { color: var(--muted); font-size: 14px; margin-top: 2px; }
.pkg-gal { margin-top: 16px; }
.pkg-gal .gal .main { aspect-ratio: 16/9; border-radius: var(--radius); }
.gal .main { position: relative; }
.gal .main .cap { position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 11px; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.pkg-gal .gal .thumbs { grid-template-columns: repeat(6, 1fr); }
.pkg-photo { margin: 16px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; position: relative; background: var(--soft); }
.pkg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pkg-photo .cap { position: absolute; right: 10px; bottom: 8px; color: #fff; font-size: 11px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 6px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.box > b { display: block; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font-size: 13.5px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.chip:hover { border-color: var(--green); }
.trust.inline { justify-content: flex-start; gap: 40px; padding: 18px 0 6px; }
.sec { margin-top: 26px; }
.sec > h2 { font-size: 20px; margin-bottom: 12px; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.incl > li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.incl > li > svg { width: 20px; height: 20px; color: var(--green-2); margin-top: 2px; }
.incl ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; }
.incl ul li { color: var(--green-2); }
.incl ul li::before { content: "• "; color: var(--muted); }
.incl ul button { background: none; border: 0; padding: 0; color: var(--green-2); cursor: pointer; text-align: left; font-size: 13px; }
.notes { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.notes li + li { margin-top: 4px; }
.ptable { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 22px; }
.ptable div { padding: 12px 14px; border-right: 1px solid var(--line); }
.ptable div:last-child { border-right: 0; }
.ptable span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.ptable b { font-size: 17px; }
.policy p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }

/* course card (golfasian style) */
.course { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.course + .course { margin-top: 16px; }
.gal .main { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--soft); }
.gal .main img { width: 100%; height: 100%; object-fit: cover; }
.gal .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; }
.gal .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: none; }
.gal .thumbs button[aria-current="true"] { border-color: var(--green); }
.gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.course h3 { color: var(--green); font-size: 20px; }
.course .kind { font-style: italic; color: var(--muted); font-size: 13.5px; margin: 2px 0 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.facts span { display: inline-flex; align-items: center; gap: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; }
.facts svg { width: 14px; height: 14px; color: var(--green); }
.course p { margin: 0 0 8px; font-size: 14px; color: #2c3a32; }
.course .gp { font-size: 13.5px; margin-top: 8px; }
.course .gp b { color: var(--green); }
.link { color: var(--green); font-weight: 700; text-decoration: none; font-size: 14px; }

/* booking widget */
#widget-slot-d { position: sticky; top: 76px; }
.widget { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; overflow: hidden; }
.w-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.w-head b { font-size: 18px; }
.w-head button { background: none; border: 0; color: var(--green-2); font-size: 12.5px; cursor: pointer; }
.w-sec { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.w-sec > .t { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 8px; }
.w-sec > .t small { font-weight: 400; color: var(--muted); }
.w-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fld { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; display: grid; gap: 2px; min-width: 0; }
.fld > span { font-size: 11px; color: var(--muted); }
.fld input, .fld select { border: 0; padding: 2px 0; background: none; outline: none; width: 100%; font-weight: 600; color: var(--green); min-width: 0; }
.fld:focus-within { border-color: var(--green); }
.fld .ro { font-weight: 600; padding: 2px 0; }
.step { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.step button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 17px; line-height: 1; flex: none; }
.step button:disabled { opacity: .35; cursor: default; }
.step output { font-weight: 700; color: var(--green); }
.rd { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 8px 0; border-top: 1px dashed var(--line); }
.rd:first-of-type { border-top: 0; padding-top: 0; }
.rd .n { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.rd .n b { color: var(--ink); }
.rd .w-two .fld select { font-size: 13px; }
/* itinerary: one line per day, golf days expand to edit */
.itin { display: grid; gap: 6px; }
.itin-note { margin: -2px 0 8px; }
.stay-opt { margin-top: 10px; }
.stay-opt > span small { margin-left: 6px; color: var(--muted); font-weight: 400; }
.stay-opt .seg { grid-template-columns: 1fr 1fr; }
.stay-opt .seg button { padding: 8px 6px; line-height: 1.3; }
.it { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.it.free { display: flex; gap: 10px; align-items: center; padding: 7px 10px; background: var(--soft); border-style: dashed; font-size: 13px; }
.it .day { flex: none; width: 74px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.it-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: none; border: 0; cursor: pointer; text-align: left; }
.it-row .what { flex: 1; min-width: 0; display: grid; }
.it-row .what b { font-size: 14px; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-row .what small { font-size: 12px; color: var(--muted); }
.it-row .chev { flex: none; font-size: 12px; color: var(--green-2); }
.it.open { border-color: var(--green); }
.it.clash { border-color: var(--red); }
.it-edit { padding: 0 10px 10px; display: grid; gap: 6px; }
.warn { font-size: 12.5px; color: #8a5a00; background: #fff6df; border-radius: 8px; padding: 6px 9px; margin: 0 10px 8px; }
.it-edit .warn { margin: 0; }
.form .warn { margin: 0; }
.team-link { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--green-2); text-decoration: none; }
.why { font-size: 12.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; margin-top: 8px; }
.w-price { padding: 14px 16px; background: var(--soft); }
.w-price .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.w-price .big { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.w-price .big b { font-size: 24px; color: var(--green); }
.w-price .big span { font-size: 13px; }
.w-price details { margin-top: 6px; font-size: 13px; }
.w-price summary { cursor: pointer; color: var(--green-2); }
.btn-go { display: block; width: 100%; border: 0; background: var(--green-2); color: #fff; font-size: 17px; font-weight: 700; padding: 14px; border-radius: 12px; cursor: pointer; margin-top: 12px; }
.btn-go:hover { background: var(--green); }
.btn-go:disabled { background: #9db5a7; cursor: default; }
.w-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }
.form { padding: 14px 16px 16px; display: grid; gap: 10px; }
.form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.form input, .form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 400; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--green); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; border-right: 1px solid var(--line); background: #fff; padding: 8px 0; cursor: pointer; font-size: 13px; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--green); color: #fff; font-weight: 600; }
.err { color: var(--red); font-size: 13px; min-height: 1em; }
.back { background: none; border: 0; color: var(--green-2); cursor: pointer; padding: 0; font-size: 13px; text-align: left; }
.done { padding: 22px 16px; text-align: center; }
.done .ok { width: 54px; height: 54px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 10px; }
.done .ref { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--green); }

.mbar { display: none; }

/* course page */
.cpage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-bottom: 60px; align-items: start; }
.cpage .gal .main { aspect-ratio: 16/9; }
.cpage h1 { font-size: 30px; color: var(--green); }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 76px; }
.side-card .price-l { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.side-card .price-l b { color: var(--green); }

.ask { max-width: 640px; padding: 28px 16px 60px; }
.ask h1 { font-size: 28px; margin-bottom: 6px; }
.ask .keep { background: var(--green-soft); border-radius: 10px; padding: 8px 12px; }
.ask-form { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 16px; }
.ask-form select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 400; background: #fff; }
.how { max-width: 760px; padding: 28px 0 60px; }
.how h1 { font-size: 30px; margin-bottom: 8px; }
.how h2 { font-size: 19px; margin: 26px 0 8px; }
.how p, .how li { color: #33423a; }

.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(10, 20, 14, .45); display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-card { background: #fff; border-radius: 16px; width: min(520px, 100%); max-height: 86vh; overflow: auto; box-shadow: var(--shadow); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.dest-opt { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.dest-opt:hover { background: var(--soft); }
.dest-opt img { width: 88px; height: 64px; object-fit: cover; border-radius: 8px; }
.dest-opt b { display: block; }
.dest-opt span { font-size: 13px; color: var(--muted); }

.foot { border-top: 1px solid var(--line); background: var(--soft); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 22px 16px 90px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .pkg, .cpage { grid-template-columns: 1fr; }
  #widget-slot-d, .side-card { position: static; }
  #widget-slot-m .widget { margin-top: 18px; scroll-margin-top: 70px; }
  #widget-slot-d:empty { display: none; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-row { grid-template-columns: 1fr; gap: 14px; }
  .page-h { grid-template-columns: 1fr; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .mbar b { color: var(--green); font-size: 19px; display: block; line-height: 1.2; }
  .mbar small { color: var(--muted); display: block; font-size: 12px; }
  .mbar > div { min-width: 0; }
  .mbar button { border: 0; background: var(--green-2); color: #fff; font-weight: 700; border-radius: 10px; padding: 11px 22px; font-size: 15px; cursor: pointer; }
}
@media (max-width: 680px) {
  .top-nav { display: none; }
  .top-search { margin-left: auto; padding: 6px 11px; font-size: 13px; }
  .wx-top { padding: 7px 10px; font-size: 13px; }
  .logo-t { font-size: 16px; }
  .hero { height: 70vh; min-height: 420px; }
  .hero-text { bottom: 52px; }
  .trust { gap: 18px; font-size: 12px; }
  .dest-row { padding-top: 36px; }
  .dest-row h2 { font-size: 30px; }
  .rail { grid-auto-columns: 72%; }
  .steps ol { grid-template-columns: 1fr; }
  .entries { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .entry { padding: 14px 16px; }
  .course-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hotel-grid { grid-template-columns: 1fr; }
  .page-h h1, .pkg h1, .cpage h1 { font-size: 24px; }
  .pick { grid-template-columns: 1fr; }
  .trust.inline { gap: 18px; justify-content: space-between; }
  .ptable { grid-template-columns: 1fr 1fr; }
  .ptable div:nth-child(2) { border-right: 0; }
  .ptable div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .course { grid-template-columns: 1fr; padding: 12px; }

  /* ---- phone pass (2026-10-22) ---- */
  /* iOS zooms the page when a focused field is under 16px */
  input, select, textarea, .fld input, .fld select, .form input, .form textarea, .ask-form select { font-size: 16px !important; }
  button, a, select, summary { -webkit-tap-highlight-color: rgba(11, 93, 59, .12); touch-action: manipulation; }

  /* header: compact, comfortable tap height */
  .top-in { gap: 8px; padding: 8px 12px; }
  .logo svg { width: 26px; height: 26px; }
  .top-search, .wx-top { min-height: 38px; }

  /* home: shorter hero so the entry tiles show on the first screen */
  .hero { height: 52vh; min-height: 340px; max-height: 460px; }
  .hero-text { bottom: 44px; }
  .hero h1 { font-size: 26px; }
  .hero-cta button { padding: 13px 26px; font-size: 16px; }
  .hero.hero-slim { height: 27vh; min-height: 190px; max-height: 240px; }
  .feat .ph { aspect-ratio: 2 / 1; }
  .feat p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }
  .feat .facts span { font-size: 12px; padding: 2px 8px; }
  .feat .feat-foot { padding-top: 8px; }
  .feat .feat-foot em { padding: 10px 14px; }
  .hero-slim .hero-text { bottom: 22px; }
  .hero-slim .hero-text h1 { font-size: 24px; }
  .hero-slim .hero-text p { font-size: 13px; margin-top: 4px; }
  .featured .sec-h { margin-top: 18px; }
  .feat-grid { grid-template-columns: 1fr; gap: 14px; }
  .feat h3 { font-size: 18px; }
  .feat .bd { padding: 12px 14px 14px; }
  .feat .feat-foot b { font-size: 21px; }
  .entries.entries-2 { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .entry { padding: 12px 14px; gap: 2px; box-shadow: none; }
  .entry b { font-size: 15px; }
  .entry span { font-size: 13px; }
  .entry em { font-size: 13px; margin-top: 2px; }
  .rail { scrollbar-width: none; padding-bottom: 2px; }
  .rail::-webkit-scrollbar { display: none; }
  .dest-row p { font-size: 14px; margin: 10px 0 14px; }
  .steps { margin-top: 40px; padding: 36px 0; }
  .sec-h { margin: 40px 0 14px; }
  .link { display: inline-block; padding: 8px 0; }

  /* readable small labels */
  .fld > span, .ptable span, .lbl, .gal .main .cap, .hero-cap { font-size: 12px; }

  /* package page */
  .help-d { display: none; }
  .help-m { display: block; margin-top: 22px; }
  .chip { padding: 9px 14px; font-size: 14px; }
  .trust.inline { padding: 14px 0 0; }
  .step button { width: 40px; height: 40px; font-size: 20px; }
  .fld { padding: 6px 8px; }
  .fld input[type="date"] { min-height: 30px; }
  .w-head button, .incl ul button { padding: 8px 0; }
  .incl ul li { padding: 2px 0; }
  .it-row { padding: 10px; min-height: 52px; }
  .it.free { padding: 10px; }
  .btn-go { padding: 15px; }
  .help .acts { gap: 4px 16px; }
  .help .acts a { padding: 8px 0; }
  .crumb a { display: inline-block; padding: 6px 0; }
  .course .intro:not(.open) { max-height: 4.9em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .more-intro { display: inline-block; background: none; border: 0; color: var(--green-2); font-weight: 700; padding: 6px 0; cursor: pointer; font-size: 14px; }
  .gal .thumbs { gap: 6px; }
  .pkg-gal .gal .thumbs { grid-template-columns: repeat(5, 1fr); }
  .foot-in { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.help-m, .more-intro { display: none; }
@media (max-width: 680px) { .help-m { display: block; } .more-intro { display: inline-block; } }
