:root {
  --hd-ocean: var(--atlas-accent, #087b75);
  --hd-deep: #102d30;
  --hd-muted: #496064;
  --hd-border: #dce8e6;
  --hd-mist: #edf7f5;
  --hd-surface: #fff;
  --hd-gutter: clamp(1rem, 3.4vw, 2.5rem);
  --hd-page: 1340px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body.hd-site {
  margin: 0;
  background: var(--atlas-background, #f9fcfb);
  color: var(--atlas-text, var(--hd-deep));
  font: 400 var(--text-size, 16px)/1.55 var(--font, system-ui), "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
body.hd-site:lang(zh-tw) { font-family: var(--font, system-ui), "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif; }
.hd-site a { color: inherit; text-decoration: none; }
.hd-site img { display: block; max-width: 100%; }
.hd-site p, .hd-site h1, .hd-site h2, .hd-site h3, .hd-site figure { margin: 0; }
.hd-site button, .hd-site input { font: inherit; }
.hd-site :focus-visible { outline: 2px solid #14988d; outline-offset: 4px; }
.hd-wrap { width: min(var(--hd-page), 100%); margin-inline: auto; padding-inline: var(--hd-gutter); }
.hd-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.hd-icon { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.hd-icon-small { width: 17px; height: 17px; }
.hd-skip { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; transform: translateY(-160%); padding: .7rem 1rem; border-radius: 8px; background: white; }
.hd-skip:focus { transform: none; }

.hd-header { position: relative; z-index: 2; background: var(--hd-surface); border-bottom: 1px solid var(--hd-border); }
.hd-mast { min-height: 75px; display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.hd-brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hd-brand img { width: 38px; height: 38px; object-fit: contain; }
.hd-brand strong { font-size: 1.36rem; color: #123639; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.hd-brand .hd-short-name { display: none; }
.hd-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.4vw, 1.5rem); flex: 1 1 auto; overflow-x: auto; scrollbar-width: thin; }
.hd-nav a { display: block; flex: 0 0 auto; padding: 12px 2px 10px; border-bottom: 2px solid transparent; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.hd-nav a:hover { color: var(--hd-ocean); border-color: var(--hd-ocean); }
.hd-tools { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; margin-inline-start: auto; color: var(--hd-deep); }
.hd-icon-button, .hd-language summary { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--hd-border); background: white; border-radius: 9px; cursor: pointer; font-size: .82rem; font-weight: 650; }
.hd-icon-button { width: 40px; }
.hd-language { position: relative; }
.hd-language summary { list-style: none; padding-inline: 8px; }
.hd-language summary::-webkit-details-marker { display: none; }
.hd-language summary > .hd-icon { width: 17px; height: 17px; }
.hd-language div { min-width: 128px; display: grid; position: absolute; inset: calc(100% + 7px) 0 auto auto; z-index: 5; background: white; border: 1px solid var(--hd-border); border-radius: 10px; padding: 4px; box-shadow: 0 8px 20px #17383a1a; }
.hd-language div a { padding: 8px 11px; border-radius: 6px; font-size: .88rem; }
.hd-language div a:hover, .hd-language div a[aria-current="page"] { background: var(--hd-mist); color: var(--hd-ocean); }

.hd-home { padding-top: clamp(1.15rem, 2.7vw, 2.5rem); padding-bottom: 4rem; }
.hd-hero { display: grid; grid-template-columns: 1fr minmax(0, 1.24fr); align-items: stretch; min-height: 355px; overflow: hidden; border: 1px solid #d6e9e5; border-radius: 20px; background: #e3f5f0; }
.hd-hero-copy { align-self: center; padding: clamp(1.5rem, 4vw, 3.25rem); min-width: 0; }
.hd-hero h1 { color: #113534; font-size: clamp(2.1rem, 4.25vw, 4.1rem); line-height: 1.12; letter-spacing: -.05em; font-weight: 850; }
.hd-hero-copy > p { max-width: 35ch; margin-block: 12px 22px; color: #3a5c59; font-size: clamp(.92rem, 1.38vw, 1.12rem); }
.hd-search { display: flex; align-items: center; gap: 9px; width: 100%; max-width: 42rem; padding: 5px 5px 5px 12px; border: 1px solid #c7dedb; border-radius: 11px; background: white; }
.hd-search > .hd-icon { color: #526c6a; }
.hd-search input { width: 100%; min-width: 0; min-height: 40px; padding: 0; border: 0; background: transparent; font-size: .92rem; color: var(--hd-deep); }
.hd-search input::placeholder { color: #566e6e; opacity: 1; }
.hd-search button, .hd-primary, .hd-hero-links > a[data-theme-button] { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 42px; padding: 8px 15px; border: 0; border-radius: 8px; background: var(--atlas-button, #08746d); color: var(--atlas-button-text, white); font-size: .9rem; font-weight: 750; cursor: pointer; }
.hd-search button:hover, .hd-primary:hover, .hd-hero-links > a[data-theme-button]:hover { filter: brightness(.88); }
.hd-hero-links { margin-top: 17px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; }
.hd-hero-links > a { display: inline-flex; gap: 6px; align-items: center; font-size: .86rem; font-weight: 750; }
.hd-hero-links > a:not([data-theme-button]):hover { text-decoration: underline; }
.hd-hero-image { min-height: 310px; position: relative; overflow: hidden; background: #cedfd8; }
.hd-hero-image > a { display: block; position: absolute; inset: 0; }
.hd-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hd-hero-image .hd-hero-place { position: absolute; display: flex; align-items: center; gap: 6px; inset: auto auto 33px 15px; padding: 6px 9px; color: #173b38; background: #fff; border-radius: 6px; font-size: .83rem; font-weight: 800; box-shadow: 0 1px 10px #071e2440; }
.hd-hero-image figcaption { position: absolute; right: 0; bottom: 0; display: inline-block; max-width: 95%; padding: 4px 8px; color: white; background: #17352eeb; border-radius: 6px 0 0; font-size: .69rem; }
.hd-hero-image figcaption a { text-decoration: underline; }

.hd-channel-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; margin-block: 13px 0; }
.hd-channel-grid > a, .hd-partner { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--hd-border); border-radius: 10px; background: white; font-size: .86rem; }
.hd-channel-grid > a:hover, .hd-partner:hover { border-color: #77a9a3; background: var(--hd-mist); }
.hd-channel-grid a > .hd-icon, .hd-partner > .hd-icon { margin-inline-start: auto; color: var(--hd-ocean); }
.hd-channel-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--hd-mist); color: var(--hd-ocean); }
.hd-channel-grid strong { line-height: 1.28; }
.hd-section { margin-top: clamp(1.8rem, 3.3vw, 3.4rem); }
.hd-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 12px; }
.hd-section-heading h2, .hd-regions h2 { font-size: clamp(1.3rem, 2.1vw, 1.8rem); font-weight: 820; line-height: 1.25; letter-spacing: -.025em; }
.hd-section-heading p, .hd-regions p { color: var(--hd-muted); margin-top: 5px; font-size: .86rem; }
.hd-inline { display: inline-flex; align-items: center; gap: 5px; color: var(--hd-ocean) !important; font-size: .87rem; font-weight: 750; }
.hd-inline:hover { text-decoration: underline; }
.hd-section-heading .hd-inline { flex: 0 0 auto; }
.hd-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.hd-featured, .hd-guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.hd-card { min-width: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; border: 1px solid var(--hd-border); border-radius: 12px; background: white; }
.hd-card:hover { border-color: #9cbdb7; box-shadow: 0 6px 20px #2048430b; }
.hd-card-image { position: relative; aspect-ratio: 16/9; background: var(--hd-mist); }
.hd-card-image a, .hd-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hd-card-image a { display: block; position: absolute; inset: 0; }
.hd-rank { z-index: 1; position: absolute; inset: 9px auto auto 10px; padding: 3px 9px; border-radius: 6px; background: #fff; color: #16524d; font-weight: 850; font-size: .77rem; box-shadow: 0 2px 4px #1439361c; }
.hd-rank-inline { position: static; margin-inline-end: 5px; color: #fff !important; background: #08746d; box-shadow: none; }
.hd-card-copy { padding: 12px 14px; }
.hd-card-meta { color: var(--hd-muted); font-size: .79rem; font-weight: 650; }
.hd-card-copy h3 { margin-block: 2px 5px; font-size: 1.01rem; font-weight: 790; line-height: 1.35; }
.hd-card-copy h3 a:hover { color: var(--hd-ocean); text-decoration: underline; }
.hd-card-summary { color: var(--hd-muted); font-size: .85rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.hd-card .hd-credit { margin-top: 6px; }
.hd-credit { font-size: .68rem; line-height: 1.35; color: #506368; }
.hd-credit a { text-decoration: underline; }
.hd-regions { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 2rem; padding: 18px 22px; border: 1px solid #dcece7; border-radius: 12px; background: #e9f6f2; }
.hd-regions nav { display: flex; justify-content: end; flex-wrap: wrap; gap: 8px; }
.hd-regions nav a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 8px; border: 1px solid #d2e9e2; background: white; font-size: .87rem; font-weight: 750; }
.hd-regions nav a:hover { border-color: var(--hd-ocean); color: var(--hd-ocean); }

.hd-partners { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.hd-partner > span:nth-child(2) { min-width: 0; }
.hd-partner strong { display: block; font-size: .93rem; overflow-wrap: anywhere; }
.hd-partner > span > span { display: block; color: var(--hd-muted); font-size: .78rem; }
.hd-affiliate-note { margin-top: 10px !important; color: var(--hd-muted); font-size: .78rem; }
.hd-affiliate-note a { text-decoration: underline; }
.hd-widget { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--hd-border); border-radius: 10px; background: #fff; width: min(100%,365px); }
.hd-widget summary { cursor: pointer; color: var(--hd-ocean); font-size: .88rem; font-weight: 730; }
.hd-widget iframe { display: block; width: min(100%,339px); border: 0; margin: 8px auto 0; }

.hd-page { padding-top: 14px; padding-bottom: clamp(2rem, 6vw, 5rem); min-height: 56vh; }
.hd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--hd-muted); font-size: .81rem; }
.hd-crumbs a:hover { color: var(--hd-ocean); text-decoration: underline; }
.hd-crumbs .hd-icon { width: 13px; height: 13px; }
.hd-page-heading { padding: 21px clamp(1rem, 2.8vw, 2.4rem); border: 1px solid var(--hd-border); border-radius: 14px; background: #eef8f5; margin-bottom: 16px; }
.hd-page-heading h1, .hd-destination-title h1 { font-size: clamp(1.95rem, 4.1vw, 3.6rem); line-height: 1.14; font-weight: 850; letter-spacing: -.04em; overflow-wrap: anywhere; }
.hd-page-heading p { max-width: 72ch; margin-top: 8px; color: var(--hd-muted); }
.hd-page-heading .hd-search { margin-top: 15px; }
.hd-site .hd-query { margin: 0 0 16px; color: var(--hd-muted); }
.hd-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hd-filter-tabs a, .hd-pager a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid var(--hd-border); border-radius: 7px; background: white; font-size: .87rem; font-weight: 710; }
.hd-filter-tabs a:hover, .hd-pager a:hover { border-color: #8db8b0; color: var(--hd-ocean); }
.hd-filter-tabs a[aria-current="page"] { background: #08746d; border-color: #08746d; color: white; }
.hd-empty { padding: 20px; border: 1px dashed #bfd4d1; border-radius: 10px; color: var(--hd-muted); }
.hd-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 25px; color: var(--hd-muted); font-size: .87rem; }
.hd-taxonomy-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.hd-taxonomy-grid a { display: flex; align-items: center; gap: 9px; border: 1px solid var(--hd-border); border-radius: 9px; padding: 10px 12px; background: #fff; font-size: .89rem; }
.hd-taxonomy-grid a:hover { color: var(--hd-ocean); border-color: var(--hd-ocean); }
.hd-taxonomy-grid a span { margin-inline-start: auto; color: var(--hd-muted); }
.hd-status { color: var(--hd-ocean) !important; font-weight: 850; }

.hd-destination-head { display: grid; align-items: center; padding: clamp(1rem, 2.7vw, 2rem); border: 1px solid var(--hd-border); border-radius: 15px; background: #ecf7f4; }
.hd-destination-image { grid-template-columns: minmax(260px, 1fr) minmax(0, 1.25fr); gap: clamp(1rem, 2.6vw, 2.5rem); }
.hd-destination-kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #345d5a; font-weight: 750; font-size: .83rem; margin-bottom: 8px; }
.hd-destination-kicker a:hover { text-decoration: underline; }
.hd-destination-title .hd-english { color: var(--hd-muted); margin-block: 4px 9px; font-size: .95rem; }
.hd-destination-summary { max-width: 49ch; }
.hd-detail-photo { max-width: 56rem; }
.hd-detail-photo > img { height: auto; width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; background: var(--hd-mist); }
.hd-destination-image .hd-detail-photo > img { aspect-ratio: 16/9; }
.hd-detail-photo figcaption { margin: 4px 0 0; }
.hd-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(235px,285px); align-items: start; gap: clamp(1rem, 3vw, 3rem); }
.hd-prose { margin-top: 20px; font-size: .97rem; line-height: 1.85; overflow-wrap: anywhere; }
.hd-detail > .hd-prose { max-width: 56rem; }
.hd-prose p { margin-block: 0 12px; }
.hd-prose h2, .hd-prose h3 { margin-block: 18px 7px; line-height: 1.3; }
.hd-prose ul, .hd-prose ol { padding-inline-start: 1.35rem; }
.hd-prose a:not(.hd-primary) { color: var(--hd-ocean); text-decoration: underline; }
.hd-prose table { max-width: 100%; border-collapse: collapse; }
.hd-prose :is(td, th) { border: 1px solid var(--hd-border); padding: 6px; }
.hd-prose img { border-radius: 8px; height: auto; }
.hd-prose .hd-source { font-size: .86rem; margin-block: 14px; }
.hd-source a { display: inline-flex; align-items: center; gap: 6px; }
.hd-destination-aside { padding: 14px; margin-top: 20px; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-mist); }
.hd-destination-aside h2 { font-size: 1.15rem; margin-bottom: 8px; }
.hd-destination-aside .hd-partners { grid-template-columns: 1fr; gap: 7px; }
.hd-related ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0; list-style: none; }
.hd-related a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--hd-border); background: white; border-radius: 8px; }
.hd-related a:hover { color: var(--hd-ocean); border-color: var(--hd-ocean); }
.hd-associated { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--hd-ocean) !important; font-weight: 720; }
.hd-associated:hover { text-decoration: underline; }
.hd-site .hd-price { margin-top: 6px; color: var(--hd-ocean); font-weight: 800; }
.hd-site a.hd-primary { color: var(--atlas-button-text, white); }
.hd-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.hd-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hd-site .atlas-archive-links { margin-top: 16px; }

.hd-footer { border-top: 1px solid var(--hd-border); background: #e9f4f1; }
.hd-footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 1.3rem; padding-block: 21px; }
.hd-footer-inner nav { display: flex; gap: 7px 14px; justify-content: flex-end; flex-wrap: wrap; padding-top: 7px; font-size: .83rem; font-weight: 650; }
.hd-footer-inner nav a:hover { color: var(--hd-ocean); text-decoration: underline; }
.hd-footer-inner p { color: var(--hd-muted); font-size: .79rem; margin-top: 5px; }
.hd-site .atlas-taxonomy-nav { width: min(var(--hd-page), 100%); margin-inline: auto; padding-inline: var(--hd-gutter); }

@media (max-width: 1160px) {
  .hd-mast { gap: 1rem; }
  .hd-nav { gap: .8rem; }
  .hd-channel-grid a > .hd-icon { display: none; }
  .hd-channel-grid > a { padding: 8px; }
}
@media (max-width: 980px) {
  .hd-channel-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hd-channel-grid a > .hd-icon { display: block; }
  .hd-list-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .hd-mast { flex-wrap: wrap; gap: 2px 10px; padding-top: 7px; }
  .hd-nav { order: 3; flex-basis: 100%; margin-inline: calc(-1 * var(--hd-gutter)); padding-inline: var(--hd-gutter); }
  .hd-nav a { padding-block: 8px; font-size: .84rem; }
  .hd-hero { grid-template-columns: 1fr; min-height: 0; }
  .hd-hero-copy { padding: 1.3rem; }
  .hd-hero-image { min-height: 0; aspect-ratio: 2/1; }
  .hd-hero-copy > p { margin-block: 6px 14px; }
  .hd-hero-image .hd-hero-place { bottom: 26px; }
  .hd-hero-links { margin-top: 11px; }
  .hd-grid, .hd-partners, .hd-taxonomy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hd-regions { grid-template-columns: 1fr; gap: 9px; }
  .hd-regions nav { justify-content: flex-start; }
  .hd-destination-image, .hd-detail-grid { grid-template-columns: 1fr; gap: 12px; }
  .hd-destination-aside { margin-top: 0; }
  .hd-destination-aside .hd-partners { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .hd-brand .hd-full-name { display: none; }
  .hd-brand .hd-short-name { display: inline; }
}
@media (max-width: 450px) {
  .hd-hero h1 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .hd-hero-image { aspect-ratio: 1.85; }
  .hd-section-heading { gap: .45rem; }
  .hd-section-heading .hd-inline { font-size: .77rem; }
  .hd-channel-grid { gap: 5px; }
  .hd-channel-grid > a { padding: 6px; gap: 5px; font-size: .72rem; }
  .hd-channel-grid .hd-channel-icon { width: 31px; height: 31px; }
  .hd-channel-grid .hd-channel-icon .hd-icon { width: 18px; height: 18px; }
  .hd-channel-grid a > .hd-icon { display: none; }
  .hd-card-copy { padding: 9px; }
  .hd-credit { font-size: .63rem; }
  .hd-partner > .hd-icon { display: none; }
  .hd-footer-inner { flex-direction: column; }
  .hd-footer-inner nav { justify-content: flex-start; padding-top: 0; }
  .hd-related ul { grid-template-columns: 1fr; }
}
.hd-currency { width: auto; min-width: 40px; padding-inline: 6px; color: var(--hd-deep); }
