:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-subtle: #f4f2ec;
  --border: #e6e2d8;
  --ink: #14181f;
  --muted: #5c6370;
  --accent: #c8372d;
  --accent-soft: #fdf0ef;
  --green: #16654e;
  --green-soft: #eaf7f2;
  --amber: #9a5508;
  --amber-soft: #fef6e7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 31, 0.04), 0 8px 24px rgba(20, 24, 31, 0.04);
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Noto Sans JP", "PingFang TC", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
}
.brand-name { display: block; font-size: 17px; line-height: 1.1; }
.brand-tagline { display: block; font-size: 11px; color: var(--muted); }
.topbar-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.lang-switch {
  display: inline-flex; background: var(--surface-subtle);
  border: 1px solid var(--border); border-radius: 10px; padding: 3px;
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 7px;
  cursor: pointer; white-space: nowrap;
}
.lang-btn.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

.api-pill {
  font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none;
  border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; background: var(--surface);
  white-space: nowrap;
}

.breadcrumb {
  display: flex; align-items: center; gap: 10px; padding: 16px 0 4px;
  font-size: 13px; color: var(--muted);
}
.breadcrumb[hidden] { display: none; }
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 600; }

.hero { padding: 30px 0 20px; }
.verified-pill {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--green); background: var(--green-soft); border: 1px solid #cce9de;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hero h1 { margin: 0 0 10px; font-size: clamp(24px, 3.8vw, 36px); line-height: 1.16; letter-spacing: -0.025em; }
.hero-sub { margin: 0; max-width: 780px; color: var(--muted); font-size: 15px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px;
}

.workspace-header, .panel-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px;
}
.workspace-header h2, .tool-panel h2, .seo-directory h2, .seo-faq-card h2 {
  margin: 0 0 4px; font-size: 19px; letter-spacing: -0.015em;
}
.seo-link {
  font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none;
  border: 1px solid #f0c9c6; background: var(--accent-soft); padding: 6px 10px; border-radius: 8px; white-space: nowrap;
}

.muted { margin: 0; color: var(--muted); font-size: 13.5px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 9px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.btn:hover { background: var(--surface-subtle); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #262c38; }

.profile-grid, .tool-inputs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 11px; margin-bottom: 14px;
}
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px;
}
.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--border); background: var(--bg); color: var(--ink);
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; cursor: pointer;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.radar-box { background: var(--surface-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.radar-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.radar-meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.radar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 9px; }
.radar-item {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--ink);
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px;
}
.radar-item.good { border-left-color: var(--green); }
.radar-item.warn { border-left-color: var(--amber); }
.radar-item.danger { border-left-color: var(--accent); }
.radar-item strong { display: block; font-size: 13px; margin-bottom: 2px; }

.tool-tabs {
  display: flex; gap: 7px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: 0 0 auto; border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font-size: 12.5px; font-weight: 700; padding: 9px 13px; border-radius: 10px; cursor: pointer; white-space: nowrap;
}
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.tool-panel { display: none; }
.tool-panel.active { display: block; }

.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px; margin-bottom: 14px; }
.route-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  font-size: 13px; cursor: pointer;
}

.result-banner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px;
  padding: 15px; border-radius: 12px; background: var(--surface-subtle);
  border: 1px solid var(--border); margin: 14px 0;
}
.kpi-label { display: block; font-size: 12px; color: var(--muted); }
.kpi-value { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi-sub { display: block; font-size: 12px; color: var(--muted); }

.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge-good { background: var(--green-soft); color: var(--green); }
.badge-warn { background: var(--amber-soft); color: var(--amber); }
.badge-danger { background: var(--accent-soft); color: var(--accent); }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--border); }
.data-table th { font-size: 12px; color: var(--muted); background: var(--surface-subtle); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.checklist li { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 13px; }

.toggle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 12px 0; }
.checkbox-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }

.ticket-list, .staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 11px; margin-top: 14px; }
.ticket-card, .staff-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--bg);
  display: flex; flex-direction: column; gap: 7px;
}
.ticket-card.booked { opacity: 0.65; border-color: var(--green); }
.ticket-actions, .staff-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }

.staff-ja-preview {
  font-size: 15.5px; font-weight: 700; line-height: 1.45;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px;
}

.crowd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; margin-top: 12px; }
.crowd-cell { border: 1px solid var(--border); border-radius: 10px; padding: 10px; background: var(--bg); font-size: 12px; }
.crowd-cell.active-month { border: 2px solid var(--accent); background: var(--accent-soft); }

.dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.dir-grid a {
  display: block; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--bg); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600;
}
.dir-grid a:hover { border-color: var(--accent); color: var(--accent); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.related-card {
  display: flex; flex-direction: column; gap: 4px; padding: 13px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 13px;
}
.related-card:hover { border-color: var(--accent); }
.related-card span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }

.compact-trip-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 14px; font-size: 13px;
}
.compact-trip-bar[hidden] { display: none; }
.workspace-card.collapsed { display: none; }

.action-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding: 12px 15px; border-radius: 11px;
  background: var(--surface-subtle); border: 1px solid var(--border);
}
.action-strip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-article h2 { margin: 22px 0 10px; font-size: 19px; line-height: 1.3; }
.guide-article h2:first-child { margin-top: 0; }
.guide-article p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.guide-article li { margin-bottom: 6px; font-size: 14.5px; line-height: 1.6; }

.svg-diagram { margin: 12px 0 16px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.svg-caption { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; text-align: center; }
.toc-box { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-subtle); font-size: 13.5px; }
.toc-box strong { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.02em; }
.toc-box ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc-box a { color: var(--ink); text-decoration: none; font-weight: 600; }
.toc-box a:hover { color: var(--accent); text-decoration: underline; }

.editorial-hero { margin: 0 0 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-subtle); max-height: 440px; }
.editorial-hero img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 440px; aspect-ratio: 16 / 9; object-fit: cover; }
.card-cover { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; margin-bottom: 10px; background: var(--surface-subtle); }
.card, .related-card { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }

.itinerary-list { display: grid; gap: 10px; margin-top: 10px; }
.itinerary-day { padding: 12px 15px; border-left: 3.5px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface-subtle); }

.hotel-pick-list { display: grid; gap: 14px; margin-top: 12px; }
.hotel-date-bar {
  margin-top: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface-subtle); display: flex; flex-direction: column; gap: 8px;
}
.hotel-date-fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hotel-date-fields label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.hotel-date-fields input, .hotel-date-fields select {
  padding: 6px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
  color: var(--ink); font-size: 13px; font-family: inherit;
}
.hotel-pick-card { padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.hotel-pick-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.hotel-price-box { text-align: right; }
.hotel-price-box strong { font-size: 16.5px; color: var(--ink); }
.hotel-price-box small { display: block; font-size: 11.5px; }
.hotel-specs-list { margin: 8px 0 12px; padding-left: 18px; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.55; }
.ota-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ota-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 9px;
  font-size: 12.5px; font-weight: 700; text-decoration: none; transition: opacity 0.15s, transform 0.15s;
}
.ota-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.ota-btn-booking { background: #003580; color: #fff; }
.ota-btn-trip { background: #287dfa; color: #fff; }
.ota-btn-agoda { background: #fff; color: #18181b; border: 1.5px solid #cbd5e1; }
.ota-btn-official { background: var(--surface-subtle); color: var(--ink); border: 1px solid var(--border); }

.market-portal {
  margin: 0 0 18px; padding: 20px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.market-portal.market-en { border-top: 4px solid #16654e; }
.market-portal.market-tw { border-top: 4px solid #c8372d; }
.market-portal.market-cn { border-top: 4px solid #d97706; }
.market-portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.market-portal-head h2 { margin: 6px 0 4px; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.28; }
.market-portal-head p { margin: 0; font-size: 13.5px; max-width: 720px; }
.market-quick-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.market-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.market-feature-card {
  display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--border);
  border-radius: 11px; background: var(--bg); color: var(--ink); text-decoration: none; min-width: 0;
  transition: border-color 0.15s, transform 0.15s;
}
.market-feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.market-feature-card strong { font-size: 14.5px; line-height: 1.38; }
.market-feature-card p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.market-city-bar {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
}

/* === 🇺🇸 Global English Edition: Calm Western Editorial Magazine === */
.mh-en { margin: 22px 0 20px; }
.mh-en-split {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); gap: 22px; align-items: center;
  padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
  border-top: 4px solid #16654e; box-shadow: var(--shadow);
}
.mh-pill-en {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--green-soft); color: var(--green); margin-bottom: 10px;
}
.mh-en-copy h1 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.mh-en-sub { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.mh-en-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.mh-en-visual { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-subtle); }
.mh-en-visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mh-en-visual figcaption { padding: 8px 12px; font-size: 12px; color: var(--muted); background: var(--surface-subtle); }
.mh-en-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mh-en-pillar {
  display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.mh-en-pillar:hover { border-color: #16654e; transform: translateY(-2px); }
.mh-en-num { font-size: 11px; font-weight: 800; color: #16654e; letter-spacing: 0.06em; }
.mh-en-pillar strong { font-size: 14.5px; line-height: 1.3; }
.mh-en-pillar p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.mh-en-cities, .mh-tw-cities, .mh-cn-cities {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
}

/* === 🇹🇼 台灣・香港版: High-Efficiency Practical & Deal Portal === */
.mh-tw { margin: 18px 0 20px; }
.mh-tw-banner {
  padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, #fff5f5 0%, #ffffff 65%);
  border: 1.5px solid #f5c2c0; border-left: 5px solid #c8372d; box-shadow: var(--shadow);
}
.mh-tw-banner-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.mh-pill-tw {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: #c8372d; color: #fff;
}
.mh-tw-hot-links { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; font-weight: 700; }
.mh-tw-hot-links a { color: #b91c1c; text-decoration: none; }
.mh-tw-hot-links a:hover { text-decoration: underline; }
.mh-tw-banner h1 { margin: 4px 0 6px; font-size: clamp(21px, 2.7vw, 30px); line-height: 1.25; }
.mh-tw-sub { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.mh-tw-search-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mh-tw-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mh-tw-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 11px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); min-width: 0;
  transition: border-color 0.15s, transform 0.15s;
}
.mh-tw-tile:hover { border-color: #c8372d; transform: translateY(-2px); }
.mh-tw-tile strong { font-size: 14px; line-height: 1.38; }

/* === 🇨🇳 中国大陆专版: Anti-Pitfall Checklist + Visual Bento Dashboard === */
.mh-cn { margin: 18px 0 20px; }
.mh-cn-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); gap: 16px; align-items: stretch;
}
.mh-cn-left {
  padding: 20px 22px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--border); border-top: 4px solid #d97706; box-shadow: var(--shadow);
}
.mh-pill-cn {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: #fef3c7; color: #92400e; margin-bottom: 8px;
}
.mh-cn-left h1 { margin: 0 0 6px; font-size: clamp(21px, 2.6vw, 29px); line-height: 1.25; }
.mh-cn-sub { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.mh-cn-checklist { display: grid; gap: 8px; margin-top: 10px; }
.mh-cn-checklist a {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 11px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border); text-decoration: none; color: var(--ink);
  transition: border-color 0.15s;
}
.mh-cn-checklist a:hover { border-color: #d97706; }
.mh-cn-checklist span {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: #d97706; color: #fff;
  font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.mh-cn-checklist strong { display: block; font-size: 13.5px; line-height: 1.3; }
.mh-cn-checklist small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mh-cn-right { display: flex; flex-direction: column; gap: 10px; }
.mh-cn-hero-card {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); text-decoration: none; color: #fff; background: #14181f;
}
.mh-cn-hero-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0.88; }
.mh-cn-hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 31, 0.88) 70%);
}
.mh-cn-hero-cap strong { display: block; margin-top: 5px; font-size: 15.5px; line-height: 1.35; color: #fff; }
.mh-cn-mini-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mh-cn-mini {
  padding: 11px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 3px;
}
.mh-cn-mini:hover { border-color: #d97706; }
.mh-cn-mini strong { font-size: 13px; }
.mh-cn-mini small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }

@media (max-width: 900px) {
  .mh-en-split, .mh-cn-grid { grid-template-columns: 1fr; }
  .mh-en-pillars, .mh-tw-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mh-en-pillars, .mh-tw-strip, .mh-cn-mini-row { grid-template-columns: 1fr; }
}

/* === Visual Destination Photo Mosaic & 2027 Editorial Magazine === */
.home-visual-section { margin: 24px 0 22px; }
.home-section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.home-section-head h2 { margin: 0 0 4px; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.25; }
.home-section-head p { margin: 0; font-size: 13.5px; max-width: 720px; }

.dest-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dest-photo-card {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); background: #14181f; text-decoration: none; color: #fff;
  aspect-ratio: 16 / 10; box-shadow: var(--shadow);
}
.dest-photo-card img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.dest-photo-card:hover img { transform: scale(1.04); }
.dest-photo-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; background: linear-gradient(180deg, rgba(20, 24, 31, 0.05) 25%, rgba(20, 24, 31, 0.86) 100%);
}
.dest-tag {
  display: inline-block; align-self: flex-start; padding: 3px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.dest-photo-overlay h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.2; color: #fff; }
.dest-photo-overlay p { margin: 0; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }

.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mag-card {
  display: flex; flex-direction: column; gap: 6px; padding: 13px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--border); text-decoration: none;
  color: var(--ink); min-width: 0; box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.mag-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mag-card strong { font-size: 15px; line-height: 1.38; }
.mag-card p { margin: 0; font-size: 12.5px; line-height: 1.5; }

@media (max-width: 900px) {
  .dest-photo-grid, .mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dest-photo-grid, .mag-grid { grid-template-columns: 1fr; }
}

.quick-search-wrap { position: relative; max-width: 560px; margin: 16px 0 14px; }
.quick-search-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 11px;
  background: var(--surface); font-size: 14px; color: var(--ink); outline: none;
}
.quick-search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.quick-search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; padding: 6px;
}
.quick-search-results a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 13px;
}
.quick-search-results a:hover { background: var(--surface-subtle); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.cat-card {
  display: flex; flex-direction: column; gap: 8px; padding: 13px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.cat-card-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.cat-card-links { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-pill {
  border: 1px solid var(--border); background: var(--bg); color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; cursor: pointer; text-decoration: none;
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); }

.preset-bar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; align-items: center; }
.preset-btn {
  border: 1px solid var(--border); background: var(--surface-subtle); color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer;
}
.preset-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.rt-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; cursor: pointer; margin-left: 6px;
}
.rt-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.bar-compare { display: grid; gap: 8px; margin: 10px 0 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg); }
.bar-row { display: grid; grid-template-columns: 150px 1fr 90px; gap: 10px; align-items: center; font-size: 12.5px; }
.bar-track { height: 12px; background: var(--border); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.25s ease; }
.bar-fill.good { background: var(--green); }
@media (max-width: 600px) { .bar-row { grid-template-columns: 110px 1fr 74px; font-size: 11.5px; } }

.seo-faq-card details { border-bottom: 1px solid var(--border); padding: 10px 0; }
.seo-faq-card details:last-child { border-bottom: 0; }

@media print {
  .topbar, .tool-tabs, .share-actions, .seo-link, .seo-directory, .action-strip, .compact-trip-bar { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
}

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 18, 24, 0.84);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.modal-backdrop[hidden] { display: none; }
.modal-card { background: #fff; color: #111; max-width: 680px; width: 100%; border-radius: 18px; padding: 26px; }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-title { font-size: 15px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.modal-ja { font-size: clamp(23px, 4.5vw, 32px); font-weight: 800; line-height: 1.4; margin: 0 0 12px; }
.modal-romaji { font-size: 14px; color: var(--muted); margin: 0 0 18px; }

.footer { padding: 18px 20px 44px; font-size: 12px; color: var(--muted); }
.footer a { color: var(--ink); }

@media (max-width: 640px) {
  .card { padding: 15px; }
  .api-pill { display: none; }
  .topbar-inner { min-height: 54px; }
}

.api-pill.active-nav { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 700; }
