:root {
  --primary: #0e7c6b;
  --primary-dark: #0a5c50;
  --primary-deep: #073d35;
  --primary-light: #e3f2ee;
  --accent: #ff7a59;
  --gold: #f5b50a;
  --ink: #17332e;
  --muted: #5f7a74;
  --bg: #f4f8f7;
  --card: #ffffff;
  --line: #d9e6e2;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(13, 62, 54, 0.10);
  --shadow-sm: 0 3px 14px rgba(13, 62, 54, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }

/* ---------- top header (sticky so the comment button stays visible) ---------- */
.topbar { background: var(--primary-deep); color: #eaf5f2; font-size: 14px; position: sticky; top: 0; z-index: 1200; box-shadow: 0 2px 10px rgba(7, 35, 30, 0.28); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 46px; gap: 14px; }
.topbar nav { display: flex; align-items: center; gap: 14px; }
.topbar a { color: #bfe3da; }
.brand-mini { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.brand-mini img { height: 26px; width: auto; }
.brand-mini:hover { text-decoration: none; }

/* ---------- hero (homepage) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #073d35 0%, #0a5c50 45%, #12907c 100%);
  color: #fff;
  padding: 66px 0 108px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.logo-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 20px; border-radius: 999px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}
.logo-badge img { height: 30px; width: auto; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); margin: 26px 0 12px; letter-spacing: -0.01em; }
.hero p.sub { margin: 0 auto; max-width: 740px; color: #cfe9e2; font-size: 18px; }
.hero .stats { display: flex; gap: 40px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero .stats div { text-align: center; }
.hero .stats b { display: block; font-size: 28px; color: #ffd970; font-weight: 800; }
.hero .stats span { font-size: 12.5px; color: #bfe3da; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- search & filters ---------- */
.filterbar { position: relative; z-index: 5; margin-top: -62px; }
.filterbar .inner {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  border: 1px solid var(--line);
}
.searchbox {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
}
.searchbox svg { flex: none; opacity: 0.55; }
.searchbox input { flex: 1; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: none; }
.searchbox input::placeholder { color: #9db5b0; }
select.control {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-size: 15px; color: var(--ink); outline: none; cursor: pointer;
}
.result-meta { margin: 24px 4px 4px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.result-meta b { color: var(--primary-dark); }

/* ---------- region chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 4px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 18px; font-size: 14px; cursor: pointer; transition: all 0.15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- sections & cards ---------- */
.region-sec { margin: 40px 0 12px; }
.region-sec > h2 { font-size: 24px; margin: 0 0 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.region-sec > h2 .cnt { font-size: 14px; color: var(--muted); font-weight: 500; }
.view-all {
  margin-left: auto; border: 1px solid var(--line); background: #fff; color: var(--primary-dark);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.view-all:hover { border-color: var(--primary); color: var(--primary); }
.region-sec > p.reg-desc { color: var(--muted); margin: 0 0 18px; font-size: 15px; max-width: 860px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column; color: var(--ink);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); text-decoration: none; }
.card .thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #0e7c6b, #12907c); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.9); font-size: 34px; font-weight: 800; letter-spacing: 0.08em;
  background: linear-gradient(135deg, #0a5c50 0%, #12907c 60%, #16a08a 100%);
}
.card .thumb .ph small { position: absolute; bottom: 10px; right: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; opacity: 0.75; }
.card .thumb .star {
  position: absolute; top: 10px; left: 10px; background: var(--gold); color: #3a2c00;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 17.5px; line-height: 1.35; color: var(--ink); }
.card .cn { color: var(--muted); font-size: 13.5px; }
.card .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.tag { background: var(--primary-light); color: var(--primary-dark); font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.card:hover h3 { color: var(--primary); }
.empty { text-align: center; color: var(--muted); padding: 70px 0; font-size: 16px; }

/* ---------- spot page ---------- */
.spot-hero { position: relative; min-height: 400px; display: flex; align-items: flex-end; background: linear-gradient(135deg, #073d35, #12907c); color: #fff; }
.spot-hero img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 35, 30, 0.06) 30%, rgba(7, 35, 30, 0.85) 100%); }
.spot-hero .wrap { position: relative; z-index: 2; padding-bottom: 34px; padding-top: 110px; width: 100%; }
.spot-hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 10px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.spot-hero .sub { color: #d9efe9; font-size: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.spot-hero .sub .sep { opacity: 0.5; }
.crumb { padding: 16px 0 0; color: var(--muted); font-size: 13.5px; }
.crumb a { color: var(--muted); }
.spot-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; margin: 24px 0 44px; }
.spot-main { min-width: 0; }
.spot-aside { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 24px; }
.panel h2 { margin: 0 0 12px; font-size: 19px; }
.panel h2 .cn-sub { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; font-size: 14.5px; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; }
.prose p { margin: 0 0 16px; font-size: 16.5px; }
.prose h2 { font-size: 26px; margin: 38px 0 14px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.latest-box { border-left: 4px solid var(--gold); }
.latest-box .upd { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* subpage tabs */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.subnav a {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 20px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.subnav a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.subnav a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 20px 0 8px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.gallery figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.gal-link { display: block; position: relative; cursor: zoom-in; }
.gal-link::after {
  content: "View full size"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); background: rgba(7, 35, 30, 0.78); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  opacity: 0; transition: opacity 0.15s; pointer-events: none; white-space: nowrap;
}
.gal-link:hover::after, .gal-link:focus-visible::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(7, 25, 22, 0.93);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55); }
.lightbox .lb-cap { color: #cfe9e2; font-size: 14px; margin-top: 14px; text-align: center; max-width: 80vw; }
.lightbox .lb-hint { position: absolute; bottom: 14px; color: #86bab0; font-size: 12px; }
.lightbox .lb-close { position: absolute; top: 14px; right: 18px; background: rgba(255, 255, 255, 0.12);
  color: #fff; border: 0; border-radius: 999px; width: 40px; height: 40px; font-size: 20px;
  line-height: 1; cursor: pointer; }
.lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.22); }

/* highlights */
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 18px 0; }
.hl { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.hl .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.hl h3 { margin: 0 0 6px; font-size: 16.5px; }
.hl p { margin: 0; font-size: 14.5px; color: #45605b; }

/* map figure */
.mapfig { margin: 22px 0; }
.mapfig img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mapfig figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* guide blocks */
.itin { margin: 18px 0; padding-left: 26px; border-left: 3px solid var(--primary-light); }
.itin li { margin: 0 0 16px; }
.itin b { color: var(--primary-dark); }
.tipbox { background: var(--primary-light); border-radius: var(--radius); padding: 18px 22px; margin: 16px 0; }
.tipbox ul { margin: 8px 0 0; padding-left: 20px; }
.tipbox li { margin: 4px 0; }
.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 18px 0; }

/* transport / stay */
.tsec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 26px; margin: 0 0 18px; }
.tsec h3 { margin: 0 0 8px; font-size: 18px; }
.tsec p { margin: 0 0 8px; font-size: 15.5px; }
.booking-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: #fff;
  border-radius: 12px; padding: 12px 22px; font-weight: 700; font-size: 15px; margin: 8px 14px 8px 0;
}
.booking-btn:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }
.booking-btn.alt { background: #fff; color: var(--primary-dark); border: 1.5px solid var(--primary); }

/* ---------- comments ---------- */
.comments-root { margin-top: 34px; }
.comments-root .c-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.comments-root .c-head h2 { margin: 0; font-size: 22px; }
.comments-root .c-head .c-count { color: var(--muted); font-size: 14px; }
.write-btn {
  border: 1.5px solid var(--primary); color: var(--primary-dark); background: #fff;
  border-radius: 999px; padding: 8px 20px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.write-btn:hover { background: var(--primary-light); }
.topbar .write-btn { padding: 5px 14px; font-size: 12.5px; border-color: #ffd970; background: transparent; color: #ffd970; }
.topbar .write-btn:hover { background: rgba(255, 217, 112, 0.14); color: #ffe49a; }
.c-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 12px 0 18px; box-shadow: var(--shadow-sm); }
.c-form[hidden] { display: none; }
.c-form .row { display: flex; gap: 12px; margin-bottom: 10px; }
.c-form input.name {
  flex: 1; max-width: 320px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  font-size: 14.5px; outline: none; background: var(--bg);
}
.c-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font: inherit; font-size: 15px; min-height: 96px; resize: vertical; outline: none; background: var(--bg);
}
.c-form textarea:focus, .c-form input.name:focus { border-color: var(--primary); background: #fff; }
.c-form .actions { display: flex; gap: 10px; margin-top: 10px; align-items: center; }
.c-form .actions .hint { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.btn {
  border: 0; background: var(--primary); color: #fff; border-radius: 10px; padding: 10px 22px;
  font-weight: 700; font-size: 14.5px; cursor: pointer;
}
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.c-form .err { color: #c0392b; font-size: 13.5px; margin: 6px 0 0; }
.c-list { list-style: none; margin: 0; padding: 0; }
.c-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.c-item .c-meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.c-item .c-author { font-weight: 700; font-size: 15px; }
.c-item .c-author.anon { color: var(--muted); font-weight: 600; }
.c-item .c-date { color: var(--muted); font-size: 12.5px; }
.c-item .c-body { margin: 8px 0 0; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.c-item .c-actions { margin-top: 10px; }
.reply-btn { border: 0; background: transparent; color: var(--primary); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 2px 0; }
.reply-btn:hover { text-decoration: underline; }
.c-children { list-style: none; margin: 14px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--primary-light); }
.c-children .c-item { background: var(--bg); box-shadow: none; }
.c-none { color: var(--muted); font-size: 15px; padding: 26px 0; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.c-status { color: var(--muted); font-size: 13.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-deep); color: #bfe3da; margin-top: 30px; }
.site-footer .wrap { padding: 40px 22px 30px; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 18px; }
.site-footer .f-brand img { height: 32px; }
.site-footer p { margin: 10px 0 0; max-width: 460px; font-size: 13.5px; color: #9ccfc4; }
.site-footer a { color: #d9efe9; }
.site-footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12.5px; color: #86bab0; }
.site-footer .f-bottom .wrap { padding: 16px 22px; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .spot-layout { grid-template-columns: 1fr; }
  .spot-aside { position: static; }
  .hero { padding: 54px 0 96px; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card h3 { font-size: 15px; }
  .filterbar .inner { flex-direction: column; align-items: stretch; }
  select.control { width: 100%; }
  .hero .stats { gap: 22px; }
  .c-form .row { flex-direction: column; }
  .c-form input.name { max-width: none; }
  .topbar nav a { display: none; }
  .topbar .write-btn { margin-left: auto; }
}

.skip-link{position:absolute;left:-9999px;top:0;background:#0A5C50;color:#fff;padding:10px 16px;z-index:999;border-radius:0 0 6px 0;font-weight:600}
.skip-link:focus{left:0}
.sr-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- Interactive live map block (Amap) ---- */
.map-live-sub{font-size:13.5px;color:#5a6b5d;margin:-6px 0 10px}
.map-live{display:grid;grid-template-columns:1.55fr 1fr;gap:14px;margin:0 0 24px}
.map-live-canvas{position:relative;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(20,40,25,.10);background:#eef2ee;min-height:420px}
#amapBox{height:440px}
.map-hint{position:absolute;right:10px;bottom:10px;background:rgba(255,255,255,.92);padding:3px 10px;border-radius:12px;font-size:11.5px;color:#5a6b5d;pointer-events:none;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.map-live-panel{background:#f6f9f6;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px;border:1px solid #e2e9e2}
.map-panel-inner img{width:100%;border-radius:8px;display:block;margin:0 0 10px;aspect-ratio:16/10;object-fit:cover}
.map-panel-inner h3{margin:0 0 6px;font-size:16.5px}
.map-panel-inner p{margin:0;font-size:13.5px;line-height:1.55;color:#415044}
.map-points{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.map-points li{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:13.5px;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s}
.map-points li:hover{background:#eaf1ea}
.map-points li.on{background:#e2efe4;border-color:#c6dcc9;font-weight:600}
.map-points .mp-n{flex:0 0 22px;height:22px;border-radius:50%;background:#0A5C50;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.ampin{width:28px;height:28px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#0A5C50;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;z-index:120}
.ampin span{transform:rotate(45deg);color:#fff;font:700 13px/1 sans-serif}
.ampin.on{background:#c2571b;z-index:130;transform:rotate(-45deg) scale(1.12)}
.map-fallback{padding:40px 20px;text-align:center;color:#5a6b5d;font-size:14px}
@media (max-width:880px){.map-live{grid-template-columns:1fr}#amapBox{height:320px}}
