:root {
  --bg-paper: #faf7f0;
  --bg-tinted: #f1eadc;
  --surface: #ffffff;
  --forest: #1c382b;
  --forest-mid: #284f3d;
  --forest-soft: #e6efe9;
  --terracotta: #8e4423;
  --gold: #d99326;
  --gold-bright: #f4c430;
  --crimson: #9e1b1e;
  --ink: #222624;
  --ink-muted: #58615c;
  --line-green: #06c755;
  --line-green-dark: #05a847;
  --border: #dfd6c5;
  --shadow-sm: 0 4px 14px rgba(28, 56, 43, 0.07);
  --shadow-md: 0 12px 30px rgba(28, 56, 43, 0.11);
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Microsoft JhengHei', sans-serif;
  --font-serif: 'Noto Serif TC', 'PMingLiU', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-paper);
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--forest-mid);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 28px;
  }
}

/* 🖥️ 超大螢幕（1280px+）專屬大氣優化：手機與平板視窗寬度未達 1280px，100% 絕對不受影響 */
@media (min-width: 1280px) {
  .container {
    max-width: 1320px;
    padding: 0 40px;
  }

  body {
    font-size: 18px;
    line-height: 1.7;
  }

  .hero {
    padding: 68px 0 62px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 18.5px;
    max-width: 860px;
  }

  .pill {
    padding: 10px 22px;
    font-size: 16px;
  }

  .section-head h2,
  .map-details h2,
  .yunpu-content h2,
  .survey-head h2 {
    font-size: 32px;
  }

  .section-head p {
    font-size: 17.5px;
  }

  .section-eyebrow {
    font-size: 14.5px;
  }

  .route-steps li {
    font-size: 17px;
    padding: 15px 18px;
  }

  .route-alt {
    font-size: 16.5px;
  }

  .photo-cap strong {
    font-size: 16.5px;
  }

  .photo-cap span {
    font-size: 14.5px;
  }

  .tw-card {
    padding: 28px 26px;
  }

  .map-legend-table th,
  .map-legend-table td {
    padding: 16px 20px;
    font-size: 17px;
  }

  .map-legend-table th {
    width: 210px;
    font-size: 17px;
  }

  .map-legend-table th small {
    font-size: 14px;
  }

  .rule-title {
    font-size: 20px;
  }

  .rule-card p {
    font-size: 16.5px;
  }

  .opt-box strong {
    font-size: 16.5px;
  }

  .opt-box small {
    font-size: 14px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--forest);
  color: #fff;
  font-size: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-text small {
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.header-nav {
  display: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
  }
  .header-nav a {
    padding: 6px 7px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--forest);
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .header-nav a:hover,
  .header-nav a:focus-visible {
    background: var(--forest);
    color: #fff;
  }
}

@media (min-width: 1024px) {
  .header-nav {
    gap: 4px;
  }
  .header-nav a {
    padding: 7px 11px;
    font-size: 14px;
  }
}

@media (min-width: 1140px) {
  .header-nav {
    gap: 6px;
  }
  .header-nav a {
    padding: 8px 13px;
    font-size: 14.5px;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 32px;
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 147, 38, 0.16), transparent 44%),
    linear-gradient(150deg, #163024 0%, #244737 60%, #2f5743 100%);
  color: #fff;
}

.hero-pattern {
  position: absolute;
  inset: auto 0 0 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 18px,
    var(--crimson) 18px 36px,
    #f6f0e4 36px 54px
  );
  opacity: 0.92;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.25;
  font-weight: 900;
}

.hero h1 span {
  color: #f6cf70;
}

.hero-lead {
  margin: 0 0 18px;
  max-width: 680px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.24);
}

.pill-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c241f;
}

.pill-accent {
  background: rgba(158, 27, 30, 0.88);
  border-color: rgba(244, 196, 48, 0.65);
}

/* Sections */
.section {
  padding: 36px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 52px 0;
  }
}

.section-tinted {
  background: var(--bg-tinted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 22px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.section-head h2,
.map-details h2,
.yunpu-content h2,
.survey-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.6vw, 31px);
  line-height: 1.3;
  color: var(--forest);
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
}

/* Lodge Tabs */
.lodge-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .lodge-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  border-color: var(--forest-mid);
}

.tab-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.tab-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta);
}

.tab-btn.is-active .tab-tag {
  color: #f6cf70;
}

.tab-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
}

/* Lodge Panel */
.lodge-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.25s ease;
}

@media (min-width: 768px) {
  .lodge-panel {
    padding: 26px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lodge-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .lodge-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 28px;
  }
}

.lodge-media-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .lodge-media-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.zoom-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e9e3d7;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}

.zoom-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.zoom-card:hover img {
  transform: scale(1.03);
}

.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(18, 28, 23, 0.78);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.zoom-hint-strong {
  background: var(--forest);
  padding: 8px 14px;
  font-size: 13.5px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-forest {
  background: var(--forest-soft);
  color: var(--forest);
}

.badge-earth {
  background: #f5e6dc;
  color: var(--terracotta);
}

.badge-gold {
  background: #fdf1d4;
  color: #8a5708;
}

.lodge-meta h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--forest);
}

.info-list {
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.info-list > div {
  padding: 10px 14px;
  border-radius: 12px;
  background: #f9f6ef;
  border: 1px solid #ebe3d3;
}

.info-list dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 2px;
}

.info-list dd {
  margin: 0;
  font-size: 15.5px;
}

.inline-phone {
  font-weight: 700;
  color: var(--forest);
  text-decoration: underline;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-nav {
  flex: 1 1 220px;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 6px 16px rgba(28, 56, 43, 0.22);
}

.btn-nav:hover {
  background: var(--forest-mid);
}

.btn-call {
  flex: 1 1 180px;
  background: #f3ece1;
  border-color: #d6cbb7;
  color: var(--forest);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--forest);
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest-soft);
}

/* 第 5 館區雙館卡片 */
.zone-notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fdf6e6;
  border: 1px solid #ebcf95;
  margin-bottom: 18px;
}

.zone-notice strong {
  display: block;
  color: #7c4d07;
  margin-bottom: 4px;
}

.zone-notice p {
  margin: 0;
  font-size: 15px;
}

.dual-lodge-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .dual-lodge-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sub-lodge-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fbf9f4;
}

.sub-lodge-card.is-new {
  border-color: #e4bf74;
  background: #fffcf3;
}

.sub-lodge-head h4 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--forest);
}

.sub-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.sub-gallery .zoom-card img {
  aspect-ratio: 4 / 3;
}

.sub-addr {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.zone-footer-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.zone-future-tag {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
}

/* 開車路線區塊 */
.route-box {
  margin-top: 28px;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.route-box.route-standalone {
  margin-top: 0;
}

@media (min-width: 768px) {
  .route-box {
    padding: 28px;
  }
}

.route-head h3,
.route-title-lg {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(23px, 3.8vw, 32px);
  line-height: 1.3;
  color: var(--forest);
}

.route-steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .route-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .route-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.route-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f6f2e8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .route-steps li {
    padding: 14px 16px;
    font-size: 17px;
  }
}

.route-steps li > span:first-child {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 13.5px;
}

.route-alt {
  margin: 0 0 18px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f8f5ed;
  font-size: 14.5px;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .route-alt {
    font-size: 16px;
  }
}

.route-photos {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .route-photos {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fcfaf6;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}

.step-ref {
  color: var(--crimson);
  font-weight: 800;
}

.route-scope-note {
  color: var(--forest);
  font-weight: 700;
}

.video-card-wrap {
  cursor: default;
}

.video-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.video-thumb-btn img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-thumb-btn:hover img {
  transform: scale(1.03);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(158, 27, 30, 0.9);
  border: 3px solid var(--gold-bright);
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.video-thumb-btn:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.08);
}

.cap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.cap-action-btn {
  flex: 1 1 auto;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.cap-action-btn:hover {
  transform: translateY(-1px);
}

.cap-action-btn.is-video {
  background: var(--crimson);
  color: #fff;
}

.cap-action-btn.is-zoom {
  background: var(--forest-soft);
  border-color: #b7d2bf;
  color: var(--forest);
}

.lb-zoom {
  background: var(--forest-mid);
  border-color: rgba(255, 255, 255, 0.35);
}

.video-stage {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

.video-stage video {
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 130px);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.photo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.photo-cap {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.photo-cap strong {
  font-size: 15px;
  color: var(--forest);
}

.photo-cap span {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* 武界部落地圖 */
.map-card {
  display: grid;
  gap: 22px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (min-width: 860px) {
  .map-card {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding: 28px;
    gap: 32px;
  }
}

.map-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.map-thumb-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.map-action-bar {
  display: flex;
  justify-content: center;
}

.map-below-btn {
  min-height: 44px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(28, 56, 43, 0.2);
}

.map-below-btn:hover {
  background: var(--forest-mid);
}

.map-legend-table {
  width: 100%;
  margin: 16px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d6cbb7;
  border-radius: 14px;
  overflow: hidden;
  font-size: 15px;
}

.map-legend-table th,
.map-legend-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ddd3c2;
}

.map-legend-table tr:last-child th,
.map-legend-table tr:last-child td {
  border-bottom: 0;
}

.map-legend-table th {
  width: 146px;
  font-weight: 700;
  color: var(--forest);
  border-right: 1px solid #ddd3c2;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .map-legend-table th {
    width: 184px;
    padding: 14px 16px;
    font-size: 15.5px;
  }
  .map-legend-table td {
    padding: 14px 16px;
    font-size: 15.5px;
  }
}

.th-cell {
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 8px;
  align-items: start;
}

.th-cell .dot {
  margin: 6px 0 0;
}

.th-text {
  display: flex;
  flex-direction: column;
}

.th-text strong {
  white-space: nowrap;
}

.map-legend-table th small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.map-legend-table .row-blue th,
.map-legend-table .row-blue td {
  background: #edf6fc;
}

.map-legend-table .row-purple th,
.map-legend-table .row-purple td {
  background: #f5effb;
}

.map-legend-table .row-yellow th,
.map-legend-table .row-yellow td {
  background: #fef9e6;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}

.dot-blue { background: #2a7bb5; }
.dot-purple { background: #7b4ca6; }
.dot-yellow { background: #c78a14; }

/* 瑪嵐雲瀑花園專區（金紅尊爵提醒塔） */
.yunpu-tower {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--crimson);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(158, 27, 30, 0.12);
}

.yunpu-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(120deg, #8b1316 0%, #b52427 100%);
  color: #fff;
  border-bottom: 4px solid var(--gold-bright);
}

.alert-icon {
  font-size: 26px;
  line-height: 1.1;
}

.alert-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alert-copy strong {
  font-size: 18px;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

.alert-copy span {
  font-size: 14.5px;
  font-weight: 600;
}

.yunpu-body {
  padding: 20px 18px;
  display: grid;
  gap: 22px;
}

@media (min-width: 860px) {
  .yunpu-body {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 28px;
    align-items: center;
  }
}

.yunpu-intro {
  margin: 0 0 16px;
}

.yunpu-highlights {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

@media (min-width: 560px) {
  .yunpu-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hl-item {
  padding: 13px 14px;
  border-radius: 14px;
  background: #fdf6e9;
  border: 1px solid #efd8a8;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hl-item strong {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.3vw, 23px);
  line-height: 1.25;
  font-weight: 900;
}

.hl-sub {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
}

.hl-tea {
  background: #eef7f1;
  border-color: #cde3d4;
}
.hl-tea strong {
  color: #1e563a;
}

.hl-blossom {
  background: #fdf1f4;
  border-color: #f1cfd8;
}
.hl-blossom strong {
  color: #9e2544;
}

.hl-sunrise {
  background: #fef8e7;
  border-color: #efdba5;
}
.hl-sunrise strong {
  color: #9b5908;
}

.entry-rules h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--forest);
}

.rule-cards {
  display: grid;
  gap: 10px;
}

@media (min-width: 560px) {
  .rule-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.rule-card {
  padding: 14px;
  border-radius: 14px;
  background: #f8f5ee;
  border: 1px solid #e6decb;
  border-left: 4px solid var(--crimson);
}

.rule-package {
  background: #f0f6f9;
  border-color: #d2e3ec;
  border-left-color: #2b6b84;
}

.rule-self {
  background: #faf5ec;
  border-color: #e7dbc5;
  border-left-color: #9a4a24;
}

.rule-warn {
  color: var(--crimson);
  font-weight: 700;
}

.rule-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.rule-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.yunpu-gallery {
  display: grid;
  gap: 10px;
}

.yunpu-sub-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 55%;
}

/* 大眾交通接駁 + 氣候與許願 */
.tw-grid,
.transit-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .tw-grid,
  .transit-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.transit-right-card {
  display: flex;
  flex-direction: column;
}

.shuttle-box {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fdf6e6;
  border: 1px solid #ebcf95;
  font-size: 14.5px;
}

.shuttle-box strong {
  color: var(--forest);
}

.shuttle-box ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 5px;
  color: var(--ink);
}

.transit-right-card .transit-cta {
  margin-top: auto;
}

.weather-wish-stack {
  display: grid;
  gap: 24px;
}

.weather-card-wide {
  padding: 22px 18px;
}

@media (min-width: 768px) {
  .weather-card-wide {
    padding: 28px;
  }
}

.tw-card {
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .tw-card {
    padding: 26px;
  }
}

.tw-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--forest);
}

.transit-item {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}

.transit-item:last-of-type {
  border-bottom: 0;
  margin-bottom: 10px;
  padding-bottom: 4px;
}

.transit-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--forest-soft);
  color: var(--forest);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.transit-item p {
  margin: 0 0 10px;
  font-size: 15px;
}

.callout-tip {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f2ea;
  font-size: 14px;
  margin-bottom: 10px;
}

.callout-tip a {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
}

.transit-photo img {
  max-height: 220px;
  object-fit: contain;
  background: #fff;
}

.weather-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.weather-head h3 {
  margin: 0 0 2px;
}

.weather-head small {
  color: var(--ink-muted);
}

.weather-live-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.weather-loading {
  padding: 24px 12px;
  text-align: center;
  color: var(--ink-muted);
}

.weather-now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d3c2e 0%, #2d5945 100%);
  color: #fff;
  margin-bottom: 12px;
}

.weather-now-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weather-now-icon {
  font-size: 40px;
}

.weather-now-temp {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.weather-now-meta {
  text-align: right;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
}

.weather-mountain-tip {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdf6e6;
  border: 1px solid #ebcf95;
  font-size: 14px;
  margin-bottom: 12px;
}

.weather-days {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

@media (min-width: 520px) {
  .weather-days {
    grid-template-columns: repeat(4, 1fr);
  }
}

.w-day {
  padding: 10px 8px;
  border-radius: 12px;
  background: #f8f5ed;
  border: 1px solid #e6decb;
  text-align: center;
  font-size: 13.5px;
}

.w-day .w-date {
  font-weight: 700;
  color: var(--forest);
}

.w-day .w-icon {
  font-size: 24px;
  margin: 4px 0;
}

.w-day .w-range {
  font-weight: 700;
}

.w-day .w-rain {
  font-size: 12px;
  color: var(--ink-muted);
}

/* 互動小調查 */
.survey-card {
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .survey-card {
    padding: 32px;
  }
}

.survey-head h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.3;
  color: var(--forest);
}

.survey-head p {
  margin: 0 0 18px;
  color: var(--ink-muted);
}

.survey-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .survey-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .survey-options {
    grid-template-columns: repeat(5, 1fr);
  }
}

.survey-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: #fbf9f4;
  cursor: pointer;
  transition: all 0.18s ease;
}

.opt-box span {
  font-size: 22px;
}

.opt-box strong {
  font-size: 15px;
  color: var(--forest);
}

.opt-box small {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.survey-option input:checked + .opt-box {
  border-color: var(--forest);
  background: var(--forest-soft);
  box-shadow: 0 4px 12px rgba(28, 56, 43, 0.14);
}

.custom-note-wrap {
  margin-bottom: 14px;
}

.custom-note-wrap label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.custom-note-wrap input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid var(--border);
  font-family: var(--font-sans);
  font-size: 15.5px;
}

.btn-submit {
  width: 100%;
  background: var(--terracotta);
  color: #fff;
}

@media (min-width: 640px) {
  .btn-submit {
    width: auto;
    min-width: 220px;
  }
}

.survey-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--forest-soft);
  border: 1px solid #b6d1bf;
}

.survey-bars {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.s-bar-row {
  font-size: 13.5px;
}

.s-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-weight: 600;
}

.s-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(28, 56, 43, 0.12);
  overflow: hidden;
}

.s-bar-fill {
  height: 100%;
  background: var(--forest);
  border-radius: 999px;
}

/* Footer */
.site-footer {
  padding: 24px 0 32px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}

.site-footer p {
  margin: 4px 0;
}

/* 底部固定官方 LINE CTA */
.sticky-line-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.sticky-line-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

.sticky-line-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
}

.sticky-line-btn:hover {
  background: var(--line-green-dark);
}

.sticky-call-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}

/* 燈箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: rgba(12, 18, 15, 0.94);
  color: #fff;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.45);
}

.lightbox-title {
  font-size: 14.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-controls {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.lb-btn {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lb-close {
  background: var(--crimson);
  border-color: var(--crimson);
}

.lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  padding: 10px 12px;
}

.lightbox-stage.is-zoomed {
  cursor: grab;
}

.lightbox-stage.is-zoomed:active {
  cursor: grabbing;
}

.lightbox-stage img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 128px);
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
}

.lightbox-tip {
  padding: 8px 16px 12px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}
