/* 澳門指南 Macau Guide — design system v23 bright (tokens: color / type / space) */
:root {
  /* Color — lively travel: teal / coral / gold on warm cream (not forest gloom) */
  --green: #14b88a;
  --green-dark: #0d9a72;
  --teal: #1eb8a6;
  --gold: #e8b84a;
  --coral: #ff6b4a;
  --cream: #fffbf5;
  --bg: #fffcf8;
  --bg-soft: #fff8f0;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #efe8df;
  --card: #ffffff;
  --overlay: linear-gradient(180deg, transparent 48%, rgba(18, 48, 58, 0.38) 100%);
  /* Type scale */
  --fs-xs: 0.72rem;
  --fs-sm: 0.85rem;
  --fs-base: 1rem;
  --fs-md: 1.05rem;
  --fs-lg: 1.35rem;
  --fs-xl: clamp(1.5rem, 4vw, 2rem);
  --fs-hero: clamp(1.75rem, 5vw, 2.45rem);
  --lh-tight: 1.25;
  --lh-body: 1.7;
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.25rem;
  --space-section: 2.5rem;
  /* Radii / elevation — airier soft shadows */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(40, 60, 80, 0.055);
  --shadow-lg: 0 12px 40px rgba(40, 60, 80, 0.09);
  /* Photo aspects */
  --aspect-card: 4 / 3;
  --aspect-wide: 16 / 10;
  --aspect-overlay: 3 / 4;
  --max: 1100px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  /* Prefer light for daytime travel feel (avoid OS dark gloom) */
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: var(--lh-body);
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--coral); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--green); color: #fff;
  padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: .5rem; top: .5rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0;
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.brand-zh { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--green-dark); }
.brand-en { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav-toggle {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: .45rem .7rem; font: inherit; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: flex; flex-direction: column; gap: .25rem;
}
.site-nav a {
  display: block; text-decoration: none; color: var(--ink);
  padding: .55rem .75rem; border-radius: 10px; font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: #e6f8f2; color: var(--green-dark);
}
.ad-slot,
.ad-slot--off,
.ad-slot--dismissed,
.ad-slot--empty,
.ad-slot[hidden] {
  display: none !important;
  min-height: 0 !important;
  max-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
/* Pending / unfilled: reserve almost no space (no white card) */
body.ads-enabled .ad-slot:not(.ad-slot--off):not(.ad-slot--dismissed):not(.ad-slot--empty):not([hidden]) {
  display: block !important;
  position: relative;
  min-height: 0;
  max-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
  border-radius: var(--radius, 14px);
  transition: max-height .25s ease, padding .2s ease, margin .2s ease, opacity .2s ease;
  opacity: 0;
}
/* Only expand when AdSense actually filled */
body.ads-enabled .ad-slot.ad-slot--filled:not(.ad-slot--off):not(.ad-slot--dismissed):not([hidden]) {
  max-height: 480px;
  height: auto;
  min-height: 0;
  margin: .65rem 0;
  padding: .5rem .65rem .65rem;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 4px 18px rgba(40,60,80,.06);
  overflow: hidden;
  opacity: 1;
}
/* Pending: keep AdSense able to load but take no layout space (no grid holes / white cards) */
body.ads-enabled .ad-slot.ad-slot--pending:not(.ad-slot--filled) {
  display: block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  max-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0);
}
.ad-top-bar {
  margin: 0;
  padding: 0;
  min-height: 0;
}
.ad-top-bar:has(.ad-slot--off),
.ad-top-bar:has(.ad-slot--empty),
.ad-top-bar:has(.ad-slot--dismissed),
.ad-top-bar:has(.ad-slot[hidden]) {
  display: none;
}
body.ads-enabled .ad-slot--compact.ad-slot--filled {
  margin: .35rem 0;
  padding: .3rem .5rem .4rem;
  max-height: 100px;
}
body.ads-enabled .ad-slot--header.ad-slot--filled,
body.ads-enabled .ad-slot--top.ad-slot--filled {
  position: relative;
  min-height: 0;
  max-height: 100px;
  margin: .3rem 0 .45rem;
  padding: .28rem .5rem .35rem;
}
body.ads-enabled .ad-slot--sidebar.ad-slot--filled { min-height: 0; max-height: 320px; }
body.ads-enabled .ad-slot--article.ad-slot--filled { min-height: 0; margin: 1rem 0; max-height: 320px; }
body.ads-enabled .ad-slot--card.ad-slot--filled {
  display: flex !important;
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 72px;
  max-height: 220px;
  margin: 0;
  padding: .55rem .7rem .65rem;
  text-align: left;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-sm, 12px);
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,26,26,.04);
}
body.ads-enabled .intent-grid .ad-slot--card.ad-slot--filled,
body.ads-enabled .card-grid .ad-slot--card.ad-slot--filled,
body.ads-enabled .masonry-list .ad-slot--card.ad-slot--filled {
  min-height: 72px;
  height: 100%;
}
body.ads-enabled .ad-slot--card.ad-slot--filled .ad-slot__label {
  /* Legal: always visible 贊助 — never look like a content CTA */
  color: var(--muted);
  background: #f3f6f4;
}
.intent-grid .ad-slot--card:nth-child(3n+1) { border-top-color: var(--teal); }
.intent-grid .ad-slot--card:nth-child(3n+2) { border-top-color: var(--coral); }
.intent-grid .ad-slot--card:nth-child(3n+3) { border-top-color: var(--gold); }
.ad-slot__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}
.ad-slot__label {
  display: inline-block;
  align-self: flex-start;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  background: #f3f6f4;
  border-radius: 999px;
  padding: .15rem .5rem;
}
.ad-slot__dismiss {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  padding: .28rem .55rem;
  border-radius: 999px;
  cursor: pointer;
}
.ad-slot__dismiss:hover,
.ad-slot__dismiss:focus-visible {
  color: var(--ink);
  border-color: #c5c0b6;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
body.ads-enabled .ad-slot .adsbygoogle { width: 100%; display: block; min-height: 0; }

/* Soft sticky bottom ad (not full-screen) */
.ad-sticky {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 70;
  padding: 0 .65rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.ad-sticky.is-open {
  display: block;
}
.ad-sticky__sheet {
  pointer-events: auto;
  max-width: 42rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px 14px 12px 12px;
  box-shadow: 0 -8px 28px rgba(30,40,50,.14);
  padding: .45rem .6rem .55rem;
  animation: ad-sticky-in .28s ease;
}
@keyframes ad-sticky-in {
  from { transform: translateY(110%); opacity: .4; }
  to { transform: translateY(0); opacity: 1; }
}
.ad-sticky__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .3rem;
}
.ad-sticky__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  background: #f3f6f4;
  border-radius: 999px;
  padding: .15rem .5rem;
}
.ad-sticky__close {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  padding: .28rem .55rem;
  border-radius: 999px;
  cursor: pointer;
}
.ad-sticky__body {
  min-height: 0;
  max-height: 100px;
  overflow: hidden;
}
.ad-sticky__body .adsbygoogle { display: block; width: 100%; min-height: 50px; max-height: 90px; }
body.has-mobile-tabbar .ad-sticky {
  bottom: 3.55rem;
}
body.has-mobile-tabbar.has-ad-sticky {
  padding-bottom: calc(4.75rem + 5.5rem);
}
@media (min-width: 861px) {
  body.has-ad-sticky { padding-bottom: 6.5rem; }
}
@media print {
  .ad-sticky { display: none !important; }
}

/* Hero */
.hero {
  background: var(--cream);
  padding: 1.75rem 0 1.25rem; border-bottom: none;
}
.hero h1 {
  margin: 0 0 .5rem; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.25;
  color: var(--green-dark);
}
.hero .lede { margin: 0 0 1.25rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem; padding: .65rem 1rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; font: inherit;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }

/* Sections */
.section { padding: 2.25rem 0 2.5rem; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem; margin-bottom: 1rem;
}
.section-head h2 { margin: 0; font-size: 1.35rem; color: var(--green-dark); }
.section-head .en { font-size: .8rem; color: var(--muted); font-weight: 600; }
.card-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.15rem; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(40,60,80,.1); }
.card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.card .en-label { font-size: .75rem; color: var(--muted); margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 .2rem; }
.badge {
  font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px;
  background: #e0f7f0; color: #0d8a68;
}
.badge.warn { background: #fff0e8; color: #c04528; }
.badge:nth-child(3n+2) { background: #fff0e8; color: #d4552e; }
.badge:nth-child(3n+3) { background: #fff6d6; color: #9a7400; }
.badge:nth-child(4n) { background: #e8f4ff; color: #2a6fad; }
.chip-bar { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .35rem .75rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 1px 4px rgba(40,60,80,.04);
}
.chip:nth-child(3n+1) { border-color: #b8ebe0; color: #0d8a68; }
.chip:nth-child(3n+2) { border-color: #ffd0c2; color: #d4552e; }
.chip:nth-child(3n+3) { border-color: #ffe6a0; color: #9a7400; }
.chip[aria-pressed="true"], .chip.active {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 2px 10px rgba(30,184,166,.25);
}
.chip:nth-child(3n+2)[aria-pressed="true"], .chip:nth-child(3n+2).active {
  background: var(--coral); border-color: var(--coral);
  box-shadow: 0 2px 10px rgba(255,107,74,.28);
}
.chip:nth-child(3n+3)[aria-pressed="true"], .chip:nth-child(3n+3).active {
  background: #d4a017; border-color: #d4a017;
  box-shadow: 0 2px 10px rgba(232,184,74,.3);
}
.list-item { margin-bottom: .75rem; }
.meta { font-size: .8rem; color: var(--muted); }
.layout-2 {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
.note {
  background: #fff; border-left: 4px solid var(--gold); padding: .85rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; color: var(--muted);
}
.footer {
  margin-top: 2rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--line);
  background: #faf6f0; color: var(--muted); font-size: .88rem;
}
.footer a { color: var(--green-dark); }
.footer-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.footer h3 { margin: 0 0 .4rem; color: var(--ink); font-size: .95rem; }
.share-box {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem;
}
.share-box input {
  flex: 1 1 200px; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line);
  font: inherit; background: #fff;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.page-hero { padding: 1.75rem 0 1rem; }
.page-hero h1 { margin: 0 0 .35rem; color: var(--green-dark); font-size: clamp(1.5rem, 4vw, 2rem); }
.empty { color: var(--muted); padding: 1rem 0; }

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { flex-direction: row; margin: 0; gap: .15rem; }
  .site-nav a { padding: .45rem .65rem; font-size: .92rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .layout-2 { grid-template-columns: 1fr 280px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .card-grid.home-sections { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card:hover { transform: none; }
}

/* —— Improvement pass: a11y, UX, performance polish —— */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn:focus-visible, .chip:focus-visible, .nav-toggle:focus-visible, .site-nav a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
/* System dark: keep warm cream travel UI (do not flip to forest-black gloom) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #fffaf4;
    --bg-soft: #fff4ea;
    --cream: #fff8f0;
    --card: #ffffff;
    --ink: #1a1a1a;
    --muted: #5a5a5a;
    --line: #ebe2d6;
    --shadow: 0 4px 24px rgba(40, 60, 80, 0.07);
    --shadow-lg: 0 12px 40px rgba(40, 60, 80, 0.1);
    --overlay: linear-gradient(180deg, transparent 48%, rgba(18, 48, 58, 0.4) 100%);
  }
  body { background: var(--bg); color: var(--ink); }
  .site-header { background: rgba(255, 252, 248, 0.94); }
  .card, .ot-card, .faq-item, .growth-card, .map-embed, .illus-card,
  .day-card, .fx-chip, .holiday-row, .status-pill.muted {
    background: var(--card);
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: #e6f8f2; }
  .btn-ghost, .chip, .pill-tab, .quick-links a { background: #fff; color: var(--ink); }
  .ad-slot.ad-slot--filled { background: #f3efe8; border-color: #c9c2b6; }
  .amber-banner { background: #fff3cd; color: #7a4e00; border-color: #f0d78c; }
  .footer { background: #faf6f0; }
  .mobile-tabbar { background: rgba(255, 252, 248, 0.96); }
  .soft-band { background: linear-gradient(180deg, rgba(20,184,138,.08), transparent); }
  .overlay-card .ov-grad { background: var(--overlay); }
}
.breadcrumb {
  font-size: .85rem; color: var(--muted); margin: 0 0 .75rem;
}
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "／"; margin-left: .35rem; color: #b0a89c; }
.tips-list { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .88rem; }
.card details { margin-top: .5rem; }
.card summary { cursor: pointer; font-weight: 700; color: var(--green-dark); font-size: .88rem; }
.skeleton {
  background: linear-gradient(90deg, #ece7df 25%, #f5f1ea 50%, #ece7df 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 8px; min-height: 4.5rem; margin-bottom: .75rem;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
}
.live-region { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.tap-ok { min-height: 44px; min-width: 44px; }
.site-nav a, .chip, .btn, .nav-toggle { min-height: 44px; }
.hero-badge {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--green-dark); background: rgba(20,184,138,.12);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .75rem;
}
.route-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.route-steps li {
  counter-increment: step; position: relative; padding: .75rem .75rem .75rem 2.75rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: .5rem;
}
.route-steps li::before {
  content: counter(step); position: absolute; left: .75rem; top: .75rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
@media print {
  .site-header, .footer, .ad-slot, .nav-toggle, .share-box, .chip-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; break-inside: avoid; }
}
.ext::after { content: " ↗"; font-size: .75em; opacity: .7; }
.updated-stamp { font-size: .78rem; color: var(--muted); }
.jsonld-note { display: none; }

/* —— Attractiveness pass: visuals, maps, how-to —— */
.hero-grid {
  display: grid; gap: 1.25rem; align-items: center;
  grid-template-columns: 1fr;
}
.hero-art {
  margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.hero-art img { width: 100%; height: auto; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
}
.illus-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow);
}
.illus-card img { width: 100%; height: auto; border-radius: 10px; }
.illus-card figcaption { font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.visual-row {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
}
@media (min-width: 800px) {
  .visual-row { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
.map-embed {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem; box-shadow: var(--shadow);
}
.osm-frame {
  display: block; width: 100%; min-height: 280px; height: 320px; border: 0;
  border-radius: 10px; background: #e8f0f4;
}
.card-icon { margin-bottom: .35rem; }
.card-with-icon { position: relative; }
.howto-card { position: relative; }
.howto-icon { float: right; margin: 0 0 .5rem .75rem; }
.howto-ol { margin: .5rem 0 0; padding-left: 1.25rem; color: var(--muted); }
.howto-ol li { margin-bottom: .45rem; }
.howto-steps .en-inline, .en-inline {
  display: block; font-size: .78rem; color: #7a746a; font-weight: 600; margin-top: .2rem;
}
.btn-sm { padding: .45rem .85rem; font-size: .85rem; min-height: 40px; }
.weather-widget {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  margin: .65rem 0;
}
.soft-band {
  background: linear-gradient(180deg, rgba(20,184,138,.07), rgba(255,184,74,.04), transparent);
  border-top: 1px solid var(--line);
}
.page-hero .lede { color: var(--muted); max-width: 40rem; }
code {
  font-size: .85em; background: #efeae2; padding: .1rem .35rem; border-radius: 4px;
}
/* Travel page feature strip */
.feature-strip {
  display: grid; gap: .75rem; grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
}
@media (min-width: 720px) {
  .feature-strip { grid-template-columns: 1fr 1.2fr; }
}

.quick-links {
  display: flex; flex-wrap: wrap; gap: .45rem;
  padding: .25rem 0 0;
}
.quick-links a {
  text-decoration: none; font-weight: 700; font-size: .85rem;
  padding: .45rem .75rem; border-radius: 999px; min-height: 44px;
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--green-dark);
  box-shadow: 0 2px 8px rgba(26,26,26,.04);
}
.quick-links a:hover { border-color: var(--gold); background: #fffaf0; }

/* —— Toolbox V1: tabs, status, amber, FX/taxi/holidays —— */
.amber-banner {
  background: #fff3cd; color: #7a4e00; border-bottom: 1px solid #f0d78c;
  font-size: .88rem; padding: .65rem 0; line-height: 1.45;
}
.amber-banner strong { color: #5c3a00; }
.status-bar {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem;
}
.status-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .75rem; font-weight: 700; padding: .3rem .65rem;
  border-radius: 999px; background: #e0f7f0; color: var(--green-dark);
  border: 1px solid #b8ebe0;
}
.status-pill.live::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%;
  background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.25);
}
.status-pill.muted { background: #f3efe8; color: var(--muted); border-color: var(--line); }
.pill-tabs {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem;
}
.pill-tab {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .5rem 1rem; font: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; min-height: 44px; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center;
}
.pill-tab.active, .pill-tab[aria-selected="true"] {
  background: var(--green); color: #fff; border-color: var(--green);
}
.pill-tab-link:hover { border-color: var(--gold); background: #fffaf0; }
.tool-panel.hidden, .tool-panel[hidden] { display: none !important; }
.tool-card h2 { margin-top: 0; color: var(--green-dark); }
.fx-form, .taxi-form {
  display: grid; gap: .75rem; grid-template-columns: 1fr;
  margin: 1rem 0;
}
@media (min-width: 560px) {
  .fx-form { grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; }
  .taxi-form { grid-template-columns: 1fr 1fr 1fr; }
}
.fx-form label, .taxi-form label {
  display: flex; flex-direction: column; gap: .25rem;
  font-size: .85rem; font-weight: 700; color: var(--muted);
}
.fx-form input, .fx-form select, .taxi-form input[type="number"] {
  font: inherit; padding: .55rem .7rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600;
}
.fx-result {
  font-size: 1.45rem; font-weight: 800; color: var(--green-dark); margin: .5rem 0 1rem;
}
.fx-table {
  display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-bottom: .75rem;
}
.fx-chip {
  background: #f8f5ef; border: 1px solid var(--line); border-radius: 10px;
  padding: .5rem .65rem; font-size: .85rem;
}
.fx-chip strong { display: block; color: var(--ink); }
.weather-now {
  display: grid; gap: .5rem; grid-template-columns: auto 1fr;
  align-items: center; margin: .75rem 0;
}
.weather-temp {
  font-size: 2.6rem; font-weight: 800; color: var(--green-dark); line-height: 1;
}
.weather-days {
  display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  margin: 1rem 0;
}
.day-card {
  background: #f8f5ef; border: 1px solid var(--line); border-radius: 12px;
  padding: .65rem; text-align: center; font-size: .82rem;
}
.day-card strong { display: block; font-size: .95rem; color: var(--ink); }
.taxi-extras {
  grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem 1rem; margin: 0; background: #faf7f2;
}
.taxi-extras legend { font-weight: 800; color: var(--green-dark); padding: 0 .35rem; }
.taxi-extras label {
  flex-direction: row; align-items: flex-start; gap: .5rem;
  font-weight: 600; margin: .35rem 0; color: var(--ink);
}
.taxi-night { grid-column: 1 / -1; flex-direction: row !important; align-items: center; gap: .5rem !important; }
.holidays-list { display: grid; gap: .5rem; }
.holiday-row {
  display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .5rem;
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: .65rem .85rem;
}
.holiday-row .countdown {
  font-weight: 800; font-size: .85rem; color: var(--coral);
  white-space: nowrap;
}
.holiday-row.past { opacity: .55; }
.holiday-row.past .countdown { color: var(--muted); }
.holiday-row.next {
  border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,163,90,.25);
}
@media (max-width: 520px) {
  .holiday-row { grid-template-columns: 1fr; }
}

/* —— Attractiveness + promo pass (v1.2) —— */
.hero--rich { padding: 2.75rem 0 2.25rem; }
.hero-em { color: var(--gold); font-weight: 800; }
.btn-lg { padding: .8rem 1.35rem; font-size: 1.05rem; }
.btn-gold {
  background: linear-gradient(135deg, #e8c878, #c4a35a);
  color: #064d32; border-color: transparent;
}
.btn-gold:hover { filter: brightness(1.05); color: #043824; }
.hero-stats {
  list-style: none; margin: 1.25rem 0 .5rem; padding: 0;
  display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 520px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.hero-stats a {
  display: flex; align-items: center; gap: .55rem;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .55rem .65rem; min-height: 52px;
  box-shadow: 0 2px 10px rgba(26,26,26,.04);
}
.hero-stats a:hover { border-color: var(--gold); background: #fffaf0; }
.hero-stats strong { display: block; font-size: .92rem; color: var(--green-dark); }
.hero-stats small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.hero-teaser {
  margin: .35rem 0 0; padding: .5rem .75rem; border-radius: 10px;
  background: rgba(10,107,69,.06); border: 1px dashed #c5e0d2;
}
.hero-caption { font-size: .78rem; color: var(--muted); margin: .45rem .25rem 0; text-align: center; }
.quick-links a.ql-primary {
  background: var(--green); color: #fff; border-color: var(--green);
  gap: .35rem;
}
.quick-links a.ql-primary:hover { background: var(--green-dark); color: #fff; }
.toolbox-promo { padding-top: .5rem; }
.promo-banner {
  display: grid; gap: 1.25rem; align-items: start;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(196,163,90,.22), transparent 50%),
    #fff;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.35rem; box-shadow: var(--shadow);
}
.promo-banner.compact { grid-template-columns: 1fr; }
.promo-banner h2 { margin: .35rem 0 .4rem; color: var(--green-dark); }
.promo-icon { border-radius: 12px; }
.promo-visuals {
  display: grid; gap: .75rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .promo-banner:not(.compact) { grid-template-columns: 1.1fr 1fr; }
  .promo-visuals { grid-template-columns: 1fr; }
}
.sticky-cta {
  position: sticky; bottom: 0; z-index: 40;
  background: rgba(6,77,50,.96); color: #faf7f2;
  border-top: 2px solid var(--gold);
  padding: .55rem 0;
  backdrop-filter: blur(8px);
}
.a2hs-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(26,26,26,.94); color: #faf7f2;
  border-top: 2px solid #c4a35a;
  padding: .55rem 0 calc(.55rem + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(8px);
}
.sticky-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem;
}
.sticky-cta .meta, .a2hs-banner .meta { color: #d4e8dc; }
.sticky-cta .btn-primary { background: var(--gold); color: #064d32; }
.sticky-cta .btn-primary:hover { background: #e8c878; color: #043824; }
.mini-tools-cta {
  display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center;
  padding: 1rem 0 .25rem; margin-top: 1rem;
}
.tool-icon-row { display: flex; gap: .5rem; margin: .75rem 0 .25rem; }
.tab-en {
  font-size: .72em; font-weight: 700; opacity: .85; margin-left: .2rem;
}
.pill-tab .tab-en { opacity: .9; }
@media print {
  .sticky-cta, .a2hs-banner, .mini-tools-cta, .amber-banner { display: none !important; }
}


/* —— Real photo pass (v1.3): heroes, galleries, card thumbs —— */
.hero-art--photo img,
.photo-hero img,
.gallery-strip img,
.card-thumb img {
  object-fit: cover;
  width: 100%;
  display: block;
}
.hero-art--photo {
  position: relative;
}
.hero-art--photo img {
  aspect-ratio: 16 / 10;
  min-height: 200px;
  max-height: 380px;
}
.hero-art--photo .hero-caption,
.photo-credit-line {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .4rem;
}
.gallery-strip {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 1rem 0 1.25rem;
}
@media (min-width: 640px) {
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .gallery-strip { grid-template-columns: repeat(4, 1fr); }
}
.gallery-strip figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery-strip img {
  aspect-ratio: 4 / 3;
  height: 140px;
}
@media (min-width: 640px) {
  .gallery-strip img { height: 160px; }
}
.gallery-strip figcaption {
  font-size: .72rem;
  color: var(--muted);
  padding: .4rem .55rem .55rem;
  line-height: 1.35;
}
.page-hero--photo {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #e8f7f2;
  color: #fff;
}
.page-hero--photo .page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .88;
}
.page-hero--photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,252,248,.12) 0%, transparent 38%, rgba(18,48,58,.42) 100%);
}
.page-hero--photo .page-hero-inner {
  position: relative; z-index: 1;
  padding: 1.75rem 1.25rem 1.5rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.28);
}
.page-hero--photo h1 { color: #fff; margin: 0 0 .5rem; }
.page-hero--photo .lede { color: rgba(255,255,255,.95); max-width: 40rem; }
.page-hero--photo .en { color: rgba(255,248,230,.92); }
.card-photo {
  padding: 0;
  overflow: hidden;
}
.card-photo > h3,
.card-photo > .en-label,
.card-photo > p,
.card-photo > .badge-row,
.card-photo > details,
.card-photo > .meta {
  padding-left: 1rem;
  padding-right: 1rem;
}
.card-photo > h3 { margin-top: .85rem; padding-top: 0; }
.card-photo > :last-child { padding-bottom: 1rem; }
.card-thumb {
  margin: 0;
  background: #e8f7f2;
}
.card-thumb img {
  aspect-ratio: 16 / 10;
  max-height: 200px;
}
.home-sections .card-photo-teaser {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.home-sections .card-photo-teaser .card-thumb img {
  aspect-ratio: 16 / 9;
  max-height: 140px;
}
.home-sections .card-photo-teaser h3,
.home-sections .card-photo-teaser .en-label,
.home-sections .card-photo-teaser p {
  padding: 0 1rem;
}
.home-sections .card-photo-teaser h3 { margin: .75rem 0 .25rem; }
.home-sections .card-photo-teaser p { padding-bottom: 1rem; margin: 0; color: var(--muted); font-size: .9rem; }
.photo-band {
  background: linear-gradient(180deg, rgba(10,107,69,.06), transparent);
}
.credits-box {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}
.credits-box a { font-weight: 600; }
.illus-fallback {
  opacity: .95;
}


/* —— Comfort redesign (v1.4): white airy travel-app feel —— */
.container { width: min(100% - 2.25rem, var(--max)); margin-inline: auto; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem; margin-bottom: 1.1rem;
}
.section-head h2 {
  margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--green-dark); letter-spacing: .01em;
}
.section-head .en { font-size: .8rem; color: var(--muted); font-weight: 600; }
.section-link {
  font-size: .9rem; font-weight: 700; color: var(--green-dark);
  text-decoration: underline; text-underline-offset: 3px;
}
.section-link:hover { color: var(--teal); }

.section-actions {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem;
}
.btn-map {
  background: var(--green-dark); color: #fff; border-color: var(--green-dark);
  gap: .4rem; padding: .55rem 1.05rem; font-size: .9rem;
}
.btn-map:hover { background: var(--green); color: #fff; }
.btn-outline-green {
  background: #fff; color: var(--green-dark); border: 1.5px solid var(--green-dark);
  padding: .55rem 1.05rem; font-size: .9rem;
}
.btn-outline-green:hover { background: #eef8f3; color: var(--green-dark); }

/* Shortcut icon chips (home hub) */
.shortcut-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .55rem;
  margin: .25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.shortcut-chips a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .7rem .35rem; min-height: 72px;
  box-shadow: 0 2px 10px rgba(26,26,26,.04);
  font-weight: 700; font-size: .78rem;
  transition: border-color .15s, box-shadow .15s;
}
.shortcut-chips a:hover {
  border-color: var(--green); box-shadow: var(--shadow); color: var(--green-dark);
}
.shortcut-chips img, .shortcut-chips .sc-icon {
  width: 28px; height: 28px;
}
.shortcut-chips .sc-en {
  display: block; font-size: .62rem; font-weight: 600; color: var(--muted); margin-top: -.15rem;
}
@media (max-width: 420px) {
  .shortcut-chips { grid-template-columns: repeat(5, 1fr); gap: .35rem; }
  .shortcut-chips a { font-size: .7rem; padding: .55rem .2rem; min-height: 64px; }
}

/* Horizontal carousels */
.h-scroll {
  display: flex; gap: .85rem;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: .15rem .15rem 1rem;
  margin: 0 -.25rem;
  scrollbar-width: thin;
}
.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-thumb { background: #d8d8d8; border-radius: 99px; }
.h-scroll > * { scroll-snap-align: start; flex: 0 0 auto; }

.carousel-card {
  width: min(72vw, 260px);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.carousel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.carousel-card--wide { width: min(84vw, 300px); }
.carousel-card .cc-media {
  position: relative; margin: 0; background: #e8f7f2;
  aspect-ratio: 4 / 3; overflow: hidden;
}
.carousel-card .cc-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.carousel-card .cc-body {
  padding: .75rem .85rem .9rem;
  display: flex; flex-direction: column; gap: .25rem; flex: 1;
}
.carousel-card .cc-body h3 {
  margin: 0; font-size: 1rem; font-weight: 800; color: var(--green-dark);
  line-height: 1.35;
}
.carousel-card .cc-meta {
  font-size: .78rem; color: var(--muted); font-weight: 600;
}
.carousel-card .cc-tag {
  display: inline-flex; align-self: flex-start;
  font-size: .68rem; font-weight: 700;
  padding: .18rem .5rem; border-radius: 999px;
  background: #e0f7f0; color: #0d8a68; margin-top: .2rem;
}
.carousel-card:nth-child(3n+2) .cc-tag { background: #fff0e8; color: #d4552e; }
.carousel-card:nth-child(3n+3) .cc-tag { background: #fff6d6; color: #9a7400; }

/* Overlay attraction card (gradient title on photo) */
.overlay-card {
  position: relative;
  width: min(86vw, 320px);
  border-radius: var(--radius);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: #e8f7f2;
  text-decoration: none;
  color: #fff;
  display: block;
}
.overlay-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.overlay-card .ov-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18,48,58,.38) 100%);
  pointer-events: none;
}
.overlay-card .ov-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1rem 1.15rem;
  z-index: 1;
}
.overlay-card .ov-rank {
  display: inline-block; font-size: .75rem; font-weight: 800;
  letter-spacing: .04em; opacity: .9; margin-bottom: .2rem;
}
.overlay-card h3 {
  margin: 0 0 .35rem; font-size: 1.15rem; font-weight: 800;
  color: #fff; line-height: 1.3;
}
.overlay-card .ov-cat {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.88);
}

/* Featured hero photo (home) */
.home-hero-photo {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  margin: 0 0 1.25rem;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  max-height: 360px;
  background: #e8f7f2;
}
.home-hero-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.home-hero-photo .hh-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,252,248,.08) 0%, transparent 40%, rgba(18,48,58,.36) 100%);
}
.home-hero-photo .hh-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.15rem 1.2rem; color: #fff; z-index: 1;
}
.home-hero-photo .hh-copy h1 {
  margin: 0 0 .35rem; font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 800; color: #fff; line-height: 1.25;
}
.home-hero-photo .hh-copy p {
  margin: 0; font-size: .9rem; color: rgba(255,255,255,.9); max-width: 28rem;
}
.home-hero-photo .hh-badge {
  display: inline-block; font-size: .7rem; font-weight: 800;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  padding: .2rem .55rem; border-radius: 999px; margin-bottom: .5rem;
}

/* Soft utility 2×2 */
.util-grid {
  display: grid; gap: .65rem;
  grid-template-columns: 1fr 1fr;
  margin: 1rem 0 1.5rem;
}
.util-grid a {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  background: #fff8f0; border-radius: var(--radius-sm);
  padding: .85rem .9rem; font-weight: 700; font-size: .9rem;
  border: 1px solid transparent;
  min-height: 56px;
}
.util-grid a:hover { border-color: var(--teal); background: #e6f8f2; color: var(--green-dark); }
.util-grid img { width: 28px; height: 28px; flex-shrink: 0; }
.util-grid small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); }

/* Masonry / waterfall 2-col for lists */
.masonry-list {
  display: grid; gap: .85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .masonry-list { grid-template-columns: 1fr 1fr; }
}
.masonry-list .card-photo {
  margin: 0;
  height: fit-content;
}
.masonry-list .card-thumb img {
  aspect-ratio: 4 / 3;
  max-height: none;
  height: auto;
  min-height: 160px;
}

/* Comfort list cards */
.card-photo {
  border: none;
  box-shadow: var(--shadow);
}
.card-photo .card-thumb {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.card-photo h3 { color: var(--green-dark); font-weight: 800; }
.list-item { margin-bottom: 0; }

/* Amber banner quieter */
.amber-banner {
  background: #fffbeb; color: #7a5c20; border-bottom: 1px solid #f5e6b8;
  font-size: .82rem; padding: .55rem 0;
}

/* Soft band / photo band lighter */
.soft-band, .photo-band {
  background: #fafafa;
  border-top: 1px solid var(--line);
}

/* Gallery strip → horizontal scroll feel option */
.gallery-strip.h-scroll {
  display: flex;
  grid-template-columns: none;
  margin: 1rem -.25rem 1.25rem;
}
.gallery-strip.h-scroll figure {
  width: min(70vw, 240px); flex: 0 0 auto;
}
.gallery-strip.h-scroll img {
  height: 150px; aspect-ratio: 4 / 3;
}

/* Numbered airy titles (blog-inspired) */
.num-title {
  font-size: 1.35rem; font-weight: 800; color: var(--gold);
  margin: 0 0 .65rem; line-height: 1.3;
}
.num-title .num { margin-right: .25rem; }
.airy-copy {
  color: var(--muted); font-size: .95rem; line-height: 1.75;
  max-width: 40rem; margin: 0 0 1rem;
}
.photo-caption {
  font-size: .75rem; color: #9a9a9a; margin: .45rem 0 1.25rem;
}

/* Promo / sticky keep but softer */
.promo-banner {
  border: none;
  background: #f6f8f7;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  a.carousel-card:hover, a.overlay-card:hover { transform: none; }
}

/* Travel featured stack */
.featured-spot {
  margin-bottom: 1.25rem;
}
.featured-spot .overlay-card {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
}

/* Filter tabs underline style (Trip.com-ish, our green) */
.chip-bar--tabs {
  gap: .15rem; border-bottom: 1px solid var(--line);
  padding-bottom: 0; margin-bottom: 1.15rem;
  flex-wrap: nowrap; overflow-x: auto;
}
.chip-bar--tabs .chip {
  border: none; background: transparent; border-radius: 0;
  padding: .55rem .85rem; color: var(--muted);
  box-shadow: none; position: relative;
}
.chip-bar--tabs .chip.active,
.chip-bar--tabs .chip[aria-pressed="true"] {
  background: transparent; color: var(--ink);
  border-bottom: 2.5px solid var(--green-dark);
  font-weight: 800;
}

.home-compact-hero {
  padding: 1.25rem 0 .5rem;
}
.home-compact-hero .lede-mini {
  margin: 0 0 1rem; color: var(--muted); font-size: .92rem;
}


/* Growth band — 今日／本週實用 */
.growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .85rem;
}
.growth-card {
  background: #fff;
  border: 1px solid var(--border, #e5ebe7);
  border-radius: var(--radius, 16px);
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(10, 40, 30, .04);
}
.growth-card .gc-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green, #0d9a72);
  margin-bottom: .35rem;
}
.growth-card strong { display: block; font-size: 1.05rem; margin-bottom: .35rem; color: var(--text, #122018); }
.growth-card p { margin: 0 0 .65rem; font-size: .88rem; color: var(--muted, #5a6b62); line-height: 1.45; }
.growth-card a { font-size: .86rem; font-weight: 700; color: var(--green-dark, #085536); }
.growth-card--cta { background: linear-gradient(145deg, #eef8f3, #fff8e8); border-color: #c8e6d5; }
.cross-link { margin-top: .4rem; }
.howto-route-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }

/* === v17 competitor-gap polish === */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
}
.season-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  box-shadow: var(--shadow);
}
.season-card .sc-season {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .06em;
  margin-bottom: .25rem;
}
.season-card strong { display: block; margin-bottom: .35rem; }
.season-card p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.45; }

.must-try-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: must;
  display: grid;
  gap: .65rem;
}
.must-try-list li {
  counter-increment: must;
  position: relative;
  padding: .85rem 1rem .85rem 3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: .95rem;
}
.must-try-list li::before {
  content: counter(must);
  position: absolute;
  left: .85rem;
  top: .85rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .65rem;
}
.amenity-strip a {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .85rem 1rem;
  background: linear-gradient(145deg, #f3faf6, #fff);
  border: 1px solid #d7ebe0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  min-height: 4.2rem;
}
.amenity-strip a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.amenity-strip strong { font-size: .92rem; color: var(--green-dark); }
.amenity-strip span { font-size: .78rem; color: var(--muted); }

.cat-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .65rem;
}
.cat-hub {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem .85rem;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font: inherit;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}
.cat-hub:hover, .cat-hub:focus-visible {
  border-color: var(--green);
  transform: translateY(-2px);
  outline: none;
}
.cat-hub .ch-emoji { font-size: 1.35rem; line-height: 1; }
.cat-hub strong { font-size: .95rem; }
.cat-hub span:last-child { font-size: .78rem; color: var(--muted); }

.badge-live {
  background: #e8f7ef !important;
  color: #0d9a72 !important;
  border: 1px solid #b7e0c8;
  font-weight: 800;
}
.whats-on-list {
  margin: .65rem 0;
  padding-left: 1.1rem;
}
.whats-on-list li { margin: .35rem 0; }

/* Mobile bottom tab bar */
.mobile-tabbar {
  display: none;
}
@media (max-width: 860px) {
  .mobile-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);
    padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-tabbar a {
    text-decoration: none;
    color: var(--muted);
    text-align: center;
    padding: .35rem .15rem;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
  }
  .mobile-tabbar a .mt-en {
    display: block;
    font-size: .62rem;
    font-weight: 600;
    opacity: .75;
  }
  .mobile-tabbar a.is-active,
  .mobile-tabbar a[aria-current="page"] {
    color: var(--green-dark);
    background: #eef8f3;
  }
  body.has-mobile-tabbar {
    padding-bottom: 4.75rem;
  }
  body.has-mobile-tabbar .sticky-cta {
    bottom: 3.6rem;
  }
  body.has-mobile-tabbar .a2hs-banner {
    bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
    padding-bottom: .55rem;
    z-index: 75;
  }
  body.has-mobile-tabbar.has-a2hs {
    padding-bottom: calc(4.75rem + 3.25rem);
  }
  /* Mid breakpoint: tabbar replaces header nav to avoid dual chrome */
  .site-header .site-nav,
  .site-header .nav-toggle {
    display: none !important;
  }
}


/* —— v18 polish: open-today, night promo, FAQ, back-to-top, a11y —— */
.open-today-grid { display: flex; flex-direction: column; gap: 1rem; }
.ot-official {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 720px) {
  .ot-official { grid-template-columns: repeat(4, 1fr); }
}
.ot-card {
  display: flex; flex-direction: column; gap: .2rem;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .9rem .85rem;
  box-shadow: var(--shadow); min-height: 4.5rem;
}
.ot-card:hover, .ot-card:focus-visible {
  border-color: var(--green); outline: 2px solid var(--green); outline-offset: 2px;
}
.ot-card strong { font-size: .95rem; color: var(--green-dark); }
.ot-card span { font-size: .78rem; color: var(--muted); }
.ot-card--local { background: #eef8f3; border-color: #b7e0c8; }
.ot-summary { margin-top: .25rem; }

.night-promo-inner {
  display: grid; gap: 1.25rem; align-items: center;
}
@media (min-width: 800px) {
  .night-promo-inner { grid-template-columns: 1.2fr 1fr; }
}
.night-promo-copy h2 { margin: 0 0 .5rem; }
.night-promo-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
}
.night-promo-photos img {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

.faq-list { display: flex; flex-direction: column; gap: .65rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .35rem .9rem .55rem;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: .55rem 0;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 .5rem; color: var(--muted); font-size: .95rem; }

.back-to-top {
  position: fixed; right: 1rem; bottom: 5.5rem; z-index: 70;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-lg); cursor: pointer; font-size: 1.15rem;
  color: var(--green-dark); font-weight: 800;
}
.back-to-top:hover, .back-to-top:focus-visible {
  background: var(--green); color: #fff; outline: 2px solid var(--green-dark); outline-offset: 2px;
}
@media (min-width: 861px) {
  .back-to-top { bottom: 1.5rem; }
}
body.has-mobile-tabbar .back-to-top { bottom: 5.25rem; }

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .back-to-top { scroll-behavior: auto; }
}

/* Print comfort */
@media print {
  .site-header, .amber-banner, .mobile-tabbar, .sticky-cta, .back-to-top,
  .ad-slot, .mini-tools-cta, .nav-toggle { display: none !important; }
  body { padding: 0 !important; color: #000; background: #fff; }
  a[href]::after { content: none !important; }
}

/* —— v19 quality pass: beauty tokens applied, photo polish, compat —— */
.hero h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -0.01em; }
.section { padding: var(--space-section) 0; }
.section-head h2 { font-size: var(--fs-lg); }
.page-hero h1 { font-size: var(--fs-xl); }
.meta, .en-label, .updated-stamp { font-size: var(--fs-sm); }

/* Photo treatment */
.card-thumb {
  aspect-ratio: var(--aspect-card);
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin: 0 0 var(--space-3);
  background: var(--bg-soft);
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.card-photo:hover .card-thumb img { transform: scale(1.03); }
.overlay-card {
  aspect-ratio: var(--aspect-overlay);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: min(72vw, 220px);
  box-shadow: var(--shadow);
}
.overlay-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.overlay-card .ov-grad {
  position: absolute; inset: 0;
  background: var(--overlay);
  pointer-events: none;
}
.overlay-card .ov-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-3) var(--space-3) var(--space-4);
  color: #fff;
  z-index: 1;
}
.overlay-card .ov-body h3 {
  margin: 0; font-size: var(--fs-md); color: #fff;
  text-shadow: 0 1px 10px rgba(18,48,58,.4);
}
.cc-media {
  aspect-ratio: var(--aspect-wide);
  overflow: hidden;
  background: var(--bg-soft);
}
.cc-media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip img,
.h-scroll.gallery-strip img {
  aspect-ratio: var(--aspect-card);
  object-fit: cover;
  border-radius: var(--radius-sm);
  width: min(42vw, 180px);
  height: auto;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
}
.hero-art--photo, .page-hero--photo .hero-art {
  aspect-ratio: var(--aspect-wide);
  overflow: hidden;
}
.hero-art--photo img, .page-hero--photo .hero-art img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Depth fields on cards */
.card-fact {
  display: grid; gap: var(--space-2);
  margin: var(--space-3) 0;
  padding: var(--space-3);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.card-fact strong {
  color: var(--green-dark);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: .1rem;
}
.card-fact p { margin: 0; color: var(--ink); font-size: var(--fs-sm); line-height: 1.5; }
.cross-link { margin-top: var(--space-2); }

/* Reduce mobile clutter: sticky CTA vs bottom tab */
@media (max-width: 860px) {
  body.has-mobile-tabbar .sticky-cta { display: none !important; }
  .amber-banner { font-size: var(--fs-sm); padding: .5rem 0; }
  .amber-banner .container { line-height: 1.4; }
}

/* Safe-area: header + tabbar (iOS notch / home indicator) */
.site-header {
  padding-top: var(--safe-top);
}
.mobile-tabbar {
  padding-bottom: calc(.35rem + var(--safe-bottom)) !important;
}
@supports (padding: max(0px)) {
  body.has-mobile-tabbar {
    padding-bottom: max(4.75rem, calc(3.75rem + var(--safe-bottom)));
  }
}

/* Print: keep content, drop chrome */
@media print {
  .site-header, .amber-banner, .mobile-tabbar, .sticky-cta, .back-to-top,
  .ad-slot, .mini-tools-cta, .nav-toggle, .share-box, .chip-bar,
  .promo-banner, .h-scroll { display: none !important; }
  body { padding: 0 !important; background: #fff !important; color: #000 !important; }
  .card, .card-fact { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  a[href]::after { content: none !important; }
  .overlay-card, .card-thumb { aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .card-photo:hover .card-thumb img { transform: none; }
}

/* Audience discovery chips + intent grid (v20) */
.audience-entry {
  margin: .25rem 0 1.25rem;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(26,26,26,.04);
}
.audience-label { margin: 0 0 .55rem; font-size: .92rem; }
.audience-chips {
  display: flex; flex-wrap: wrap; gap: .45rem;
  list-style: none; margin: 0; padding: 0;
}
.audience-chips a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .45rem .95rem;
  border-radius: 999px; font-weight: 700; font-size: .88rem;
  text-decoration: none; color: var(--green-dark);
  background: #eef8f3; border: 1px solid #cfe8dc;
  transition: background .15s, border-color .15s, color .15s;
}
.audience-chips a:hover {
  background: var(--green); color: #fff; border-color: var(--green);
}
.intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .65rem;
}
.intent-card {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .85rem .9rem; min-height: 72px;
  text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(26,26,26,.04);
  transition: border-color .15s, box-shadow .15s;
}
.intent-card strong { font-size: .92rem; color: var(--green-dark); }
.intent-card span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.intent-card:hover {
  border-color: var(--green); box-shadow: var(--shadow);
}
.audience-cn-note { border-left: 4px solid var(--green); }
@media (prefers-color-scheme: dark) {
  .audience-entry, .intent-card { background: #fff; }
  .audience-chips a { background: #e6f8f2; color: #0d8a68; border-color: #b8ebe0; }
  .audience-chips a:hover { background: var(--teal); color: #fff; }
}


/* —— v21 feedback polish —— */
[id] { scroll-margin-top: 5.5rem; }

.guides-jump {
  margin: .35rem 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.guides-jump-track {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  padding: .15rem 0 .35rem;
  min-width: min-content;
}
.guides-jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .4rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  color: var(--green-dark);
  background: #eef8f3;
  border: 1px solid #cfe8dc;
  white-space: nowrap;
  word-break: keep-all;
  line-break: strict;
}
.guides-jump a:hover,
.guides-jump a:focus-visible {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

html.motion-ok .home-compact-hero,
html.motion-ok .page-hero,
html.motion-ok .hero {
  animation: heroFade .25s ease both;
}
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
html.motion-ok .motion-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  transition-delay: calc(var(--stagger, 0) * 40ms);
}
html.motion-ok .motion-card.is-in {
  opacity: 1;
  transform: none;
}
html.motion-ok .pressable:active {
  transform: scale(.97);
}
html.motion-ok .result-fade {
  transition: opacity .22s ease;
}
html.motion-ok .result-fade--flash {
  animation: resultFlash .28s ease;
}
@keyframes resultFlash {
  from { opacity: .35; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html.motion-ok .home-compact-hero,
  html.motion-ok .page-hero,
  html.motion-ok .hero,
  html.motion-ok .motion-card,
  html.motion-ok .result-fade--flash {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  html.motion-ok .pressable:active { transform: none; }
}

.data-refresh-bar {
  margin: .5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}


/* v22 rain indoor promo */
.rain-promo {
  background: linear-gradient(135deg, rgba(80, 160, 220, .16), rgba(20, 184, 138, .1), rgba(255, 184, 74, .08));
}
.rain-promo-inner .night-promo-copy h2 { color: var(--green-dark, #0d9a72); }
.rain-guide .gallery-strip figure {
  border-radius: var(--radius, 16px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 40, 60, .12);
}
.rain-guide .lede {
  max-width: 46rem;
}
.badge-indoor {
  background: rgba(56, 108, 160, .15);
  color: #1a4a75;
  border: 1px solid rgba(56, 108, 160, .35);
}
@media (prefers-color-scheme: dark) {
  .rain-promo {
    background: linear-gradient(135deg, rgba(80, 160, 220, .16), rgba(20, 184, 138, .1), rgba(255, 184, 74, .08));
  }
  .badge-indoor {
    background: rgba(80, 160, 220, .15);
    color: #1a4a75;
    border-color: rgba(80, 160, 220, .35);
  }
}

/* —— v23 bright pass: airier cards, colorful category chips, vivid photos —— */
body { background: var(--bg); }
.card {
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.site-header { border-bottom-color: var(--line); }
.btn-primary { background: var(--teal); }
.btn-primary:hover { background: var(--green-dark); }
.btn-gold {
  background: linear-gradient(135deg, #ffd666, var(--gold));
  color: #4a3500; border-color: transparent;
}
.ov-cat {
  display: inline-block;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  padding: .15rem .55rem; border-radius: 999px;
  color: #fff !important;
}
.shortcut-chips a:nth-child(3n+1) { border-color: #b8ebe0; }
.shortcut-chips a:nth-child(3n+2) { border-color: #ffd0c2; }
.shortcut-chips a:nth-child(3n+3) { border-color: #ffe6a0; }
.intent-card:nth-child(3n+1) { border-top: 3px solid var(--teal); }
.intent-card:nth-child(3n+2) { border-top: 3px solid var(--coral); }
.intent-card:nth-child(3n+3) { border-top: 3px solid var(--gold); }
.cat-hub:nth-child(3n+1) { background: linear-gradient(160deg, #e6f8f2, #fff); }
.cat-hub:nth-child(3n+2) { background: linear-gradient(160deg, #fff0e8, #fff); }
.cat-hub:nth-child(3n+3) { background: linear-gradient(160deg, #fff8e0, #fff); }
.growth-card { background: #fff; box-shadow: var(--shadow); }
.promo-banner, .rain-promo, .night-promo {
  background: linear-gradient(135deg, #e6f8f2 0%, #fff8f0 50%, #fff0e8 100%);
}
.util-grid a { background: #fff8f0; }
.soft-band, .photo-band {
  background: linear-gradient(180deg, rgba(20,184,138,.06), rgba(255,184,74,.03), transparent);
}
