/* =========================================
   2026 尖山埤永續生活節 - Nature & Life
   溫暖繪本插畫風格 (Picture-book Festival Theme)
   ========================================= */

:root {
  /* 湖畔與自然色彩（取自主視覺插畫） */
  --lake-blue: #4ea5cd;
  --lake-blue-dark: #358ba9;
  --lake-blue-light: #e8f6fb;
  --sprout-green: #7bb547;
  --sprout-green-dark: #5c8f33;
  --sprout-green-light: #eef7e6;
  --coral-pink: #f09295;
  --coral-pink-light: #fdf1f2;
  --sun-gold: #f5be42;
  --sun-gold-light: #fff8e6;
  --earth-orange: #e58d4a;
  --wood-brown: #7a583c;
  --wood-dark: #4a3424;

  /* 森林深色與基底 */
  --forest-900: #233e2b;
  --forest-700: #356241;
  --forest-500: #549265;
  --forest-300: #93c498;
  --leaf-100: #eef7e8;

  /* 紙質底色與墨色 */
  --cream: #f4eee2;
  --linen: #faf6ee;
  --paper: #ffffff;
  --ink: #322820;
  --ink-soft: #5b4d42;
  --ink-light: #8a7c71;

  /* 區域識別色（與地圖及插畫對應） */
  --c-entrance: #7bb547;
  /* 入口處 - 萌芽綠 */
  --c-torii: #f5be42;
  /* 鳥居廣場 - 陽光黃 */
  --c-kid: #4ea5cd;
  /* 童心園 - 碧藍湖水 */
  --c-paintball: #f09295;
  /* 漆彈場 - 暖桃粉 */
  --c-beetle: #98cd68;
  /* 獨角仙復育地 - 嫩葉綠 */
  --c-grassland: #e58d4a;
  /* 大草原區 - 大地橘 */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'jf-openhuninn', 'Zen Maru Gothic', 'Noto Sans TC', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--linen);
  background-image:
    radial-gradient(circle at 10% 12%, rgba(78, 165, 205, .12) 0, transparent 38%),
    radial-gradient(circle at 90% 85%, rgba(240, 146, 149, .13) 0, transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(245, 190, 66, .08) 0, transparent 45%),
    linear-gradient(180deg, #fcf9f2 0%, #f6f0e4 100%);
  background-attachment: fixed;
  line-height: 1.75;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 圓潤溫暖字體 (Open Huninn / Zen Maru Gothic) */
h1,
h2,
h3,
h4,
.brand strong,
.hero-title,
.stat strong {
  font-family: 'jf-openhuninn', 'Zen Maru Gothic', 'Noto Sans TC', sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--forest-900);
}

.hero-title {
  font-weight: 900;
  letter-spacing: -.005em;
}

/* ===== 呼應插畫的漂浮手繪裝飾 ===== */
.float-star,
.float-note {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  font-family: system-ui, sans-serif;
  line-height: 1;
  animation: floatDrift 5s ease-in-out infinite alternate;
}

.float-star-1 {
  top: 90px;
  left: 4%;
  font-size: 32px;
  color: var(--coral-pink);
  opacity: .75;
  transform: rotate(15deg);
  animation-duration: 4.5s;
}

.float-star-2 {
  top: 65px;
  right: 6%;
  font-size: 26px;
  color: var(--lake-blue);
  opacity: .75;
  transform: rotate(-10deg);
  animation-duration: 5.5s;
  animation-delay: .6s;
}

.float-star-3 {
  bottom: 80px;
  left: 8%;
  font-size: 28px;
  color: var(--sun-gold);
  opacity: .75;
  transform: rotate(25deg);
  animation-duration: 6s;
  animation-delay: 1.2s;
}

.float-note {
  bottom: 120px;
  right: 8%;
  font-size: 30px;
  color: var(--lake-blue);
  opacity: .65;
  animation-duration: 4s;
  animation-delay: .8s;
}

@keyframes floatDrift {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-12px) rotate(8deg);
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(123, 181, 71, .15);
  box-shadow: 0 4px 20px rgba(78, 165, 205, .06);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

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

.brand-emoji {
  font-size: 30px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .1));
  transition: transform .25s ease;
}

.brand:hover .brand-emoji {
  transform: scale(1.18) rotate(10deg);
}

.brand-text strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  color: var(--forest-900);
}

.brand-text small {
  color: var(--wood-brown);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  padding: 6px 4px;
  transition: color .2s ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--lake-blue);
}

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--lake-blue);
  transition: all .25s ease;
  transform: translateX(-50%);
}

.site-nav a:not(.nav-cta):hover::after {
  width: 80%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 65px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(78, 165, 205, .18) 0, transparent 48%),
    radial-gradient(ellipse at 85% 75%, rgba(123, 181, 71, .16) 0, transparent 48%),
    radial-gradient(ellipse at 50% 10%, rgba(245, 190, 66, .12) 0, transparent 40%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><circle cx='12' cy='12' r='1.5' fill='%237bb547' opacity='.15'/><circle cx='45' cy='35' r='1.2' fill='%234ea5cd' opacity='.15'/><circle cx='25' cy='50' r='1.5' fill='%23f09295' opacity='.15'/></svg>");
  background-size: 60px 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* 主視覺海報卡片 (響應式畫框) */
.hero-visual-card {
  position: relative;
}

.hero-visual-frame {
  background: #ffffff;
  padding: 14px 14px 18px;
  border-radius: 28px;
  border: 3px solid rgba(123, 181, 71, .3);
  box-shadow:
    0 24px 50px rgba(78, 165, 205, .2),
    0 8px 20px rgba(122, 88, 60, .08);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}

.hero-visual-frame:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow:
    0 30px 60px rgba(78, 165, 205, .28),
    0 12px 28px rgba(122, 88, 60, .12);
}

.hero-visual-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--lake-blue), var(--sprout-green));
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(78, 165, 205, .25);
}

.hero-kv-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
  display: block;
}

.hero-visual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

.v-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform .2s ease;
}

.v-chip:hover {
  transform: scale(1.05);
}

.chip-lake {
  background: var(--lake-blue-light);
  color: var(--lake-blue-dark);
  border: 1px solid rgba(78, 165, 205, .3);
}

.chip-train {
  background: var(--sun-gold-light);
  color: #8a6500;
  border: 1px solid rgba(245, 190, 66, .4);
}

.chip-market {
  background: var(--coral-pink-light);
  color: #b5474c;
  border: 1px solid rgba(240, 146, 149, .4);
}

.chip-kids {
  background: var(--sprout-green-light);
  color: var(--sprout-green-dark);
  border: 1px solid rgba(123, 181, 71, .35);
}

/* 主文案欄位 */
.hero-info {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--forest-700), var(--sprout-green));
  color: var(--paper);
  padding: 7px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .1em;
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(53, 98, 65, .25);
}

.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 900;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--lake-blue), var(--sprout-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-tagline {
  display: block;
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--wood-brown);
  font-weight: 700;
  letter-spacing: .08em;
  margin-top: 6px;
}

.hero-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.8;
}

/* ===== 詳細活動資訊卡片 (非圓形膠囊框，結構俐落清晰) ===== */
.hero-event-details {
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(45, 94, 62, 0.18);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 10px 28px rgba(45, 94, 62, 0.08);
  margin-bottom: 0;
  backdrop-filter: blur(8px);
}

.hero-hotel-banner-wrap {
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.event-details-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(45, 94, 62, 0.2);
}

.event-main-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--forest-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
}

.event-main-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--sprout-green), var(--forest-700));
  border-radius: 2px;
}

.event-info-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.event-info-row {
  display: flex;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-deep);
}

.info-row-label {
  font-weight: 700;
  color: var(--forest-900);
  white-space: nowrap;
  flex-shrink: 0;
}

.info-row-sep {
  color: rgba(45, 94, 62, 0.35);
  margin: 0 6px;
  font-weight: 300;
}

.info-row-val {
  color: var(--ink-deep);
  flex: 1;
}

.event-info-row--highlight {
  background: #f4f8f4;
  padding: 8px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--sprout-green);
}

.event-info-row--highlight .info-row-val strong {
  color: #c0392b;
  font-size: 15.5px;
}

.event-org-block {
  padding-top: 12px;
  border-top: 1px dashed rgba(45, 94, 62, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--forest-900);
}

.org-items-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.org-project-badge {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .02em;
}

/* ===== 專屬住房優惠卡片 (Hero 精選放置) ===== */
.hero-hotel-offer {
  background: linear-gradient(135deg, #fffdf8 0%, #fbf8f0 100%);
  border: 1.5px solid rgba(224, 159, 62, 0.4);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(224, 159, 62, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-hotel-offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e09f3e, #f39c12, #27ae60);
}

.hotel-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(224, 159, 62, 0.2);
}

.hotel-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hotel-icon {
  font-size: 20px;
}

.hotel-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #78350f;
  letter-spacing: .02em;
}

.hotel-secret-tag {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.secret-label {
  color: #92400e;
  font-size: 11px;
}

.secret-code {
  color: #b45309;
  font-size: 13px;
  font-weight: 900;
}

.hotel-deals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hotel-deal-card {
  background: #ffffff;
  border: 1px solid rgba(224, 159, 62, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.hotel-deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 159, 62, 0.15);
}

.hotel-deal-card--featured {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.deal-featured-tag {
  align-self: flex-start;
  background: #dc2626;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .03em;
  margin-bottom: 2px;
}

.deal-date {
  font-size: 13.5px;
  color: var(--ink-deep);
}

.deal-date strong {
  color: #78350f;
}

.deal-condition {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.deal-rate {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.deal-rate strong {
  font-size: 20px;
  font-weight: 900;
}

.rate-65 {
  color: #d97706;
}

.rate-50 {
  color: #dc2626;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .03em;
  transition: all .25s ease;
  border: 2px solid transparent;
  font-size: 15px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lake-blue), #3b93b5);
  color: #fff;
  box-shadow: 0 8px 22px rgba(78, 165, 205, .38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b93b5, #2d7d9c);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(78, 165, 205, .45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--sprout-green), #689e37);
  color: #fff;
  box-shadow: 0 8px 22px rgba(123, 181, 71, .35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #689e37, #53822a);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(123, 181, 71, .42);
}

.btn-outline {
  background: #ffffff;
  color: var(--wood-brown);
  border-color: rgba(122, 88, 60, .35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.btn-outline:hover {
  background: var(--coral-pink-light);
  border-color: var(--coral-pink);
  color: #b5474c;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-700);
  border-color: var(--sprout-green);
}

.btn-ghost:hover {
  background: var(--sprout-green);
  color: #fff;
}

/* ===== #info 頁尾活動資訊的住房卡片樣式 ===== */
.info-card--hotel {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(30, 60, 40, 0.4) 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  position: relative;
  overflow: hidden;
}

.info-hotel-tag {
  display: inline-block;
  background: #f59e0b;
  color: #1e3626;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.info-hotel-secret {
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  margin: 6px 0 10px;
  border-left: 3px solid #f59e0b;
}

.info-hotel-deals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
}

.info-deal-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.info-deal-line strong {
  color: #fbbf24;
  font-size: 16px;
}

.info-deal-line.deal-hot strong {
  color: #f87171;
  font-size: 18px;
}

@media (max-width: 640px) {
  .hotel-deals-grid {
    grid-template-columns: 1fr;
  }
  .hotel-offer-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .org-items-line {
    flex-direction: column;
    gap: 4px;
  }
}

/* ===== Sections common ===== */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head .eyebrow {
  color: var(--wood-brown);
  font-weight: 700;
  letter-spacing: .25em;
  font-size: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 8px 0 12px;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 16px;
}

.section-head.light h2,
.section-head.light .eyebrow {
  color: inherit;
}

.eyebrow {
  display: inline-block;
  color: var(--wood-brown);
  font-weight: 700;
  letter-spacing: .25em;
  font-size: 12px;
}

/* ===== Offers Section (生活節專屬優惠專區) ===== */
.offers-section {
  padding: 84px 0 90px;
  position: relative;
  background: linear-gradient(180deg, rgba(254, 252, 248, 0.75) 0%, rgba(246, 250, 246, 0.95) 60%, #ffffff 100%);
}

.offers-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fef3c7;
  border: 1.5px solid #fcd34d;
  color: #92400e;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 15px;
  border-radius: 999px;
  letter-spacing: .04em;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.offers-badge-icon {
  font-size: 15px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 18px;
}

.offer-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(45, 94, 62, 0.08);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(45, 94, 62, 0.14);
}

.offer-card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

/* 住宿卡片風格 */
.offer-card--hotel {
  border: 1.5px solid rgba(224, 159, 62, 0.38);
  background: linear-gradient(155deg, #ffffff 0%, #fffdf8 65%, #fffaf0 100%);
}

.offer-card--hotel .offer-card-top-bar {
  background: linear-gradient(90deg, #e09f3e, #f59e0b, #10b981);
}

/* 套票卡片風格 */
.offer-card--ticket {
  border: 1.5px solid rgba(39, 174, 96, 0.38);
  background: linear-gradient(155deg, #ffffff 0%, #f7fdfa 65%, #f0fbf7 100%);
}

.offer-card--ticket .offer-card-top-bar {
  background: linear-gradient(90deg, #27ae60, #38bdf8, #2563eb);
}

.offer-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(45, 94, 62, 0.1);
  margin-bottom: 18px;
}

.offer-title-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.offer-emoji {
  font-size: 32px;
  line-height: 1.1;
  flex-shrink: 0;
}

.offer-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .01em;
}

.offer-card--hotel .offer-title {
  color: #78350f;
}

.offer-card--ticket .offer-title {
  color: #14532d;
}

.offer-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 3px;
  font-weight: 600;
}

/* 套票現省徽章 */
.ticket-save-badge {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 1.5px solid #86efac;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.save-label {
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.save-pct {
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ===== 優惠專區照片視覺設計 ===== */
.offer-photo-container {
  margin-bottom: 20px;
  width: 100%;
}

.offer-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(45, 94, 62, 0.12);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.offer-photo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  border-color: rgba(45, 94, 62, 0.35);
}

.offer-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.offer-photo-wrap:hover .offer-photo-img {
  transform: scale(1.035);
}

.offer-photo-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.offer-photo-badge--ticket {
  background: rgba(20, 83, 45, 0.88);
  border-color: rgba(134, 239, 172, 0.4);
}

.offer-photo-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #1e293b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.offer-photo-wrap:hover .offer-photo-zoom-hint {
  transform: scale(1.05);
  background: #ffffff;
}

/* 限動升級海報切換列 */
.offer-alt-flyer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  background: #f0fdf4;
  border: 1.5px dashed #86efac;
  border-radius: 12px;
}

.alt-flyer-text {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
}

.btn-alt-flyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16a34a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
  transition: all 0.2s ease;
}

.btn-alt-flyer:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.32);
}

/* 住宿特惠區塊排版 */
.offer-card .hotel-deals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.deal-badge-pill {
  align-self: flex-start;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.deal-note {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 4px;
}

.rate-label {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 700;
  margin-right: 2px;
}

.rate-sub {
  font-size: 11.5px;
  color: #dc2626;
  font-weight: 800;
  margin-left: 3px;
}

/* 卡片底端說明區 */
.offer-footer-box {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(45, 94, 62, 0.15);
}

.hotel-contact-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--forest-900);
}

.hotel-contact-line strong {
  color: #b45309;
  font-size: 15px;
}

.hotel-terms {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ===== 套票卡片專屬內部細節 ===== */
.ticket-price-display {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 16px;
}

.price-main-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.price-currency {
  font-size: 15px;
  font-weight: 800;
  color: #166534;
}

.price-val {
  font-size: 38px;
  font-weight: 900;
  color: #15803d;
  line-height: 1;
}

.price-unit {
  font-size: 13px;
  color: #166534;
  font-weight: 700;
}

.price-origin-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-original {
  font-size: 14px;
  color: var(--ink-light);
  text-decoration: line-through;
  font-weight: 600;
}

.price-pill-tag {
  background: #dc2626;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .02em;
}

.ticket-combo-breakdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid rgba(34, 197, 94, 0.28);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
  gap: 8px;
}

.combo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.combo-item-ico {
  font-size: 24px;
  flex-shrink: 0;
}

.combo-item-info strong {
  display: block;
  font-size: 13.5px;
  color: #166534;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.combo-item-info small {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.3;
}

.combo-plus {
  font-size: 18px;
  font-weight: 900;
  color: #22c55e;
  padding: 0 2px;
  flex-shrink: 0;
}

.ticket-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ticket-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--forest-900);
}

.ticket-features-list .t-ico {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ticket-features-list strong {
  color: var(--forest-900);
  font-weight: 800;
}

.ticket-action-tip {
  font-size: 12.5px;
  font-weight: 800;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 優惠暢遊總結提示 */
.offers-summary-tip {
  margin-top: 28px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.offers-summary-tip .tip-star {
  font-size: 24px;
  flex-shrink: 0;
}

.offers-summary-tip .tip-content {
  font-size: 14px;
  color: #78350f;
  line-height: 1.5;
}

.offers-summary-tip .tip-content strong {
  color: #92400e;
  font-weight: 800;
}

/* Hero 門票好康快速錨點連結 */
.hero-deal-link {
  display: inline-block;
  margin-left: 6px;
  color: #0284c7;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  transition: all .2s;
}

.hero-deal-link:hover {
  color: #0369a1;
  transform: translateX(3px);
}

/* About Trust Bar */
.about-trust-bar {
  margin-top: 40px;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(45, 94, 62, 0.12);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(45, 94, 62, 0.05);
  flex-wrap: wrap;
  gap: 16px;
}

.trust-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.trust-stat .t-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--forest-800);
  line-height: 1;
}

.trust-stat .t-txt {
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-700);
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(45, 94, 62, 0.15);
}

.trust-curator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-curator .c-label {
  font-size: 11px;
  font-weight: 700;
  background: var(--moss-100);
  color: var(--forest-800);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.trust-curator .c-names {
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-900);
}

@media (max-width: 960px) {
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offer-card {
    padding: 22px 20px 18px;
  }
  .offer-card .hotel-deals-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ticket-combo-breakdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .combo-plus {
    align-self: center;
  }
  .offers-summary-tip {
    padding: 14px 18px;
    font-size: 13px;
  }
  .about-trust-bar {
    justify-content: center;
    padding: 18px 20px;
    gap: 14px;
  }
  .trust-divider {
    display: none;
  }
  .trust-curator {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed rgba(45, 94, 62, 0.15);
  }
}

.about-card-meta strong {
  display: block;
  color: var(--forest-900);
  font-size: 16px;
}

/* ===== Map ===== */
.map-section {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(78, 165, 205, .12) 0, transparent 45%),
    linear-gradient(180deg, transparent 0, rgba(123, 181, 71, .12) 50%, transparent 100%);
}

.map-wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.7fr 1fr;
  align-items: start;
}

.map-image-box {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 24px 50px rgba(78, 165, 205, .16);
  border: 3px solid rgba(123, 181, 71, .25);
}

.map-image {
  width: 100%;
  border-radius: 18px;
  filter: saturate(1.04);
}

/* 🚂 沿黑色虛線奔跑的遊園小火車 */
.map-train {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: left, top, opacity;
  animation: trainRun 11s linear infinite;
}

.map-train .loco {
  position: relative;
  display: inline-block;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  transform: scaleX(-1);
  /* 讓車頭朝行進方向(右) */
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
  animation: trainBob .45s ease-in-out infinite alternate;
}

/* 蒸汽 */
.map-train .loco::before {
  content: '';
  position: absolute;
  left: 46%;
  top: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 70%);
  animation: trainPuff 1.3s ease-out infinite;
}

@keyframes trainRun {
  0% {
    left: 38.5%;
    top: 27.8%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  12% {
    left: 47%;
    top: 28.0%;
  }

  24% {
    left: 56%;
    top: 28.1%;
  }

  36% {
    left: 64%;
    top: 28.5%;
  }

  48% {
    left: 70.5%;
    top: 30.0%;
  }

  60% {
    left: 72%;
    top: 32.8%;
  }

  72% {
    left: 68.5%;
    top: 37.2%;
  }

  84% {
    left: 63.5%;
    top: 40.5%;
  }

  96% {
    left: 60.5%;
    top: 45.0%;
    opacity: 1;
  }

  100% {
    left: 60.5%;
    top: 45.0%;
    opacity: 0;
  }
}

@keyframes trainBob {
  0% {
    transform: scaleX(-1) translateY(0);
  }

  100% {
    transform: scaleX(-1) translateY(-2px);
  }
}

@keyframes trainPuff {
  0% {
    transform: translate(-50%, 0) scale(.4);
    opacity: .85;
  }

  100% {
    transform: translate(-50%, -18px) scale(1.3);
    opacity: 0;
  }
}

/* 📍 氣球式立體地標 pin */
.map-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  animation: cardFloat 4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.map-hotspot:hover,
.map-hotspot:focus-visible {
  z-index: 6;
  outline: none;
}

/* 水滴造型本體 (尖端朝下、半透明毛玻璃) */
.map-hotspot .pin {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .7), transparent 60%),
    color-mix(in srgb, var(--c) 70%, transparent);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 3px solid rgba(255, 255, 255, .82);
  box-shadow: 0 9px 16px -5px rgba(31, 61, 43, .38), 0 2px 5px rgba(0, 0, 0, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.map-hotspot:hover .pin,
.map-hotspot:focus-visible .pin {
  transform: rotate(-45deg) scale(1.12);
  box-shadow: 0 14px 24px -6px rgba(31, 61, 43, .45), 0 4px 7px rgba(0, 0, 0, .2);
}

/* 中央白色圓形圖示徽章 (尖端朝下後反轉 +45deg 維持正立) */
.map-hotspot .pin-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .07);
}

.map-hotspot .pin-ico {
  font-size: 18px;
  line-height: 1;
}

/* 下方名牌 (半透明) */
.map-hotspot .pin-label {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--forest-900);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid var(--c);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .1);
  transition: transform .2s ease, background .2s ease;
}

.map-hotspot:hover .pin-label,
.map-hotspot:focus-visible .pin-label {
  transform: scale(1.06);
  background: rgba(255, 255, 255, .98);
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 7px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-hotspot {
    animation: none;
  }

  .map-train {
    display: none;
  }
}

.map-legend {
  background: #ffffff;
  border-radius: 26px;
  padding: 24px;
  border: 2px solid rgba(123, 181, 71, .22);
  box-shadow: 0 10px 30px rgba(78, 165, 205, .1);
}

.legend-title {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--forest-700);
  letter-spacing: .1em;
  font-size: 15px;
}

#legendList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#legendList li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

#legendList li:hover {
  background: var(--sprout-green-light);
  transform: translateX(3px);
}

#legendList .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .1);
  flex-shrink: 0;
}

#legendList .name {
  font-weight: 700;
  color: var(--forest-900);
  font-size: 15px;
}

#legendList .count {
  color: var(--wood-brown);
  font-size: 13px;
  font-weight: 700;
  margin-left: auto;
}

/* ===== Region Grid ===== */
.regions-section {
  padding: 80px 0;
}

.region-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.region-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 26px;
  border: 2px solid rgba(123, 181, 71, .2);
  box-shadow: 0 10px 30px rgba(78, 165, 205, .08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
  border-top: 7px solid var(--card-c, var(--sprout-green));
}

.region-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 45px rgba(78, 165, 205, .16);
}

.region-card .ribbon {
  position: absolute;
  right: -32px;
  top: 18px;
  background: var(--card-c);
  color: #fff;
  padding: 4px 38px;
  transform: rotate(35deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
}

.region-card .ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--card-c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  transition: transform .25s ease;
}

.region-card:hover .ico {
  transform: scale(1.1) rotate(5deg);
}

.region-card h3 {
  margin: 0 0 6px;
  font-size: 23px;
}

.region-card .sub {
  color: var(--wood-brown);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.region-card .desc {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 12px 0 16px;
  line-height: 1.7;
}

.region-card .units-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.region-card .units-pill span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sprout-green-light);
  color: var(--sprout-green-dark);
  font-weight: 700;
}

.region-card .more {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lake-blue-dark);
  font-weight: 700;
  font-size: 14px;
}

.region-card .more::after {
  content: '→';
  transition: transform .2s ease;
}

.region-card:hover .more::after {
  transform: translateX(4px);
}

/* ===== Info ===== */
.info-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #24422e 0%, #1e3626 100%);
  color: #ffffff;
}

.info-section .section-head h2 {
  color: #ffffff;
}

.info-section .section-head .eyebrow {
  color: var(--sun-gold);
}

.info-section .section-head p {
  color: rgba(255, 255, 255, .8);
}

.info-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(8px);
  transition: transform .2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-card h3 {
  color: var(--sun-gold);
  margin: 0 0 10px;
  font-size: 19px;
}

.info-card p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: #192d20;
  color: rgba(255, 255, 255, .75);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

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

.site-footer .small {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

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

.site-footer .small {
  color: rgba(255, 253, 245, .45);
  font-size: 12px;
}

/* ===== Modals ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 61, 43, .55);
  backdrop-filter: blur(4px);
  animation: fade .2s ease;
}

.modal-card {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: rise .35s cubic-bezier(.2, .9, .3, 1.1);
}

.modal-card--lg {
  max-width: 880px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--forest-900);
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.modal-close:hover {
  background: var(--forest-700);
  color: #fff;
}

.modal-body {
  padding: 32px;
}

@keyframes fade {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== Region Modal content ===== */
.region-modal-head {
  margin: -32px -32px 24px;
  padding: 36px 32px;
  color: #fff;
  background: var(--card-c, var(--forest-700));
  border-radius: 24px 24px 0 0;
  position: relative;
  overflow: hidden;
}

.region-modal-head::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.region-modal-head .badge {
  display: inline-block;
  background: rgba(255, 255, 255, .22);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .15em;
}

.region-modal-head h3 {
  color: #fff;
  margin: 8px 0 4px;
  font-size: 32px;
}

.region-modal-head p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
}

.region-gallery {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.region-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
  border: 2px solid var(--paper);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  transition: transform .2s ease;
}

.region-gallery img:hover {
  transform: scale(1.03);
}

.unit-list {
  display: grid;
  gap: 12px;
}

.unit-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid rgba(45, 94, 62, .08);
  cursor: pointer;
  transition: all .2s ease;
  text-align: left;
  width: 100%;
  border-left: 4px solid var(--card-c);
}

.unit-item:hover {
  background: var(--leaf-100);
  transform: translateX(4px);
}

.unit-item .thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--moss-200);
  overflow: hidden;
  flex-shrink: 0;
}

.unit-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-item .meta {
  flex: 1;
}

.unit-item .meta strong {
  display: block;
  color: var(--forest-900);
  font-size: 16px;
}

.unit-item .meta span {
  color: var(--ink-soft);
  font-size: 13px;
}

.unit-item .arrow {
  color: var(--forest-500);
  font-weight: 700;
}

/* ===== Unit Modal content ===== */
.unit-hero {
  margin: -32px -32px 0;
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--moss-200);
}

.unit-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unit-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55) 100%);
}

.unit-hero .ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--card-c, var(--forest-700));
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  z-index: 2;
}

.unit-hero .title-block {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  color: #fff;
  z-index: 2;
}

.unit-hero .title-block .sub {
  display: block;
  font-size: 13px;
  letter-spacing: .2em;
  margin-bottom: 4px;
  opacity: .9;
}

.unit-hero .title-block h3 {
  color: #fff;
  margin: 0;
  font-size: 30px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}

.unit-content {
  padding: 28px 0 0;
}

.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.unit-tags span {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--leaf-100);
  color: var(--forest-700);
  font-weight: 600;
}

.unit-desc {
  font-size: 15px;
  color: var(--ink-soft);
  white-space: pre-wrap;
  line-height: 1.85;
}

.unit-detail-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.unit-detail {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px;
  border-left: 4px solid var(--card-c, var(--forest-500));
}

.unit-detail h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--earth-500);
  letter-spacing: .15em;
  font-weight: 700;
}

.unit-detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.unit-gallery {
  margin-top: 28px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.unit-gallery img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform .2s ease;
  border: 2px solid var(--paper);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.unit-gallery img:hover {
  transform: scale(1.04);
}

.unit-cta {
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(120deg, var(--forest-700), var(--forest-500));
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.unit-cta strong {
  font-size: 16px;
}

.unit-cta a {
  background: #fff;
  color: var(--forest-700);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* ===== Lightbox (相簿放大瀏覽) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 18, .94);
  backdrop-filter: blur(6px);
  padding: 20px;
  animation: fade .2s ease;
}

.lightbox.is-open {
  display: flex;
}

.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-out;
}

.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  cursor: default;
  animation: rise .3s ease;
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  z-index: 5;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
}

.lb-btn:hover {
  background: rgba(255, 255, 255, .28);
  transform: scale(1.08);
}

.lb-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 22px;
  font-weight: 700;
}

.lb-prev,
.lb-next {
  top: 50%;
  width: 60px;
  height: 60px;
  font-size: 38px;
  margin-top: -30px;
}

.lb-prev {
  left: 24px;
}

.lb-next {
  right: 24px;
}

.lb-prev:hover,
.lb-next:hover {
  transform: scale(1.12);
}

.lb-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .5);
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

@media (max-width: 720px) {

  .lb-prev,
  .lb-next {
    width: 46px;
    height: 46px;
    font-size: 28px;
    margin-top: -23px;
  }

  .lb-prev {
    left: 12px;
  }

  .lb-next {
    right: 12px;
  }

  .lb-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lb-img {
    max-width: 95vw;
    max-height: 82vh;
  }
}

/* ===== 鳥居廣場小老闆招募標籤 ===== */
.unit-hot-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e58d4a, #d86821);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(229, 141, 74, 0.3);
}

/* ===== 小老闆「永續變變變」活動場域小分頁專屬樣式 ===== */
.boss-modal-wrap {
  padding: 16px 4px 10px;
}

.boss-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.boss-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sun-gold-light);
  color: #9d6805;
  border: 1.5px solid #f6cf70;
  font-weight: 800;
  font-size: 13.5px;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #e58d4a;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(229, 141, 74, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 7px rgba(229, 141, 74, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(229, 141, 74, 0);
  }
}

.boss-title {
  font-size: 34px;
  line-height: 1.35;
  color: var(--forest-900);
  margin: 0 0 14px;
}

.boss-title-accent {
  background: linear-gradient(120deg, #d35400, #e67e22 45%, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.boss-lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

/* 三大亮點卡片 */
.boss-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.boss-feat-card {
  border-radius: 22px;
  padding: 24px 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.boss-feat-card:hover {
  transform: translateY(-4px);
}

.boss-feat-card.feat-1 {
  background: #fffdf5;
  border: 2px solid #fae2a5;
  box-shadow: 0 8px 20px rgba(245, 190, 66, 0.12);
}

.boss-feat-card.feat-2 {
  background: #fff8f8;
  border: 2px solid #fad3d4;
  box-shadow: 0 8px 20px rgba(240, 146, 149, 0.14);
}

.boss-feat-card.feat-3 {
  background: #f7fcf2;
  border: 2px solid #d3edbf;
  box-shadow: 0 8px 20px rgba(123, 181, 71, 0.12);
}

.boss-feat-card.feat-4 {
  background: #f5f9fc;
  border: 2px solid #cce2f5;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.12);
}

/* 四欄版面支援 */
.boss-features-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .boss-features-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .boss-features-grid.grid-4 {
    grid-template-columns: 1fr;
  }
}

/* 廢材機器人大賽四大亮點網格：桌機 2 欄並排，手機平板單欄縱向排列不並排，字距舒適清晰 */
.robot-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 820px) {
  .robot-features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .robot-features-grid .boss-feat-card {
    padding: 20px 18px !important;
  }

  .robot-features-grid .feat-desc {
    font-size: 14.5px !important;
    line-height: 1.8 !important;
  }

  .robot-features-grid .feat-box ul li {
    font-size: 13.5px !important;
    line-height: 1.85 !important;
  }

  .panel-meta-list {
    grid-template-columns: 1fr !important;
  }
}

.feat-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.tag-orange {
  background: #ffe4cc;
  color: #b84c16;
}

.tag-pink {
  background: #ffe0e2;
  color: #c4384a;
}

.tag-green {
  background: #def0cf;
  color: #3b7519;
}

.tag-blue {
  background: #d6eaf8;
  color: #1b4f72;
}

.tag-yellow {
  background: #fef9e7;
  color: #7d6608;
}

.tag-purple {
  background: #f4ecf7;
  color: #6c3483;
}

.feat-icon {
  font-size: 38px;
  margin-bottom: 10px;
  line-height: 1;
}

.boss-feat-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--forest-900);
  line-height: 1.35;
}

.boss-feat-card .feat-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 16px;
  flex-grow: 1;
}

.feat-box {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  font-size: 13px;
}

.feat-box .box-title {
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  color: var(--forest-700);
}

.feat-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.75;
}

.feat-awards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(240, 146, 149, 0.4);
}

.award-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.award-item strong {
  color: #a32235;
}

/* 報名與場次資訊面板 */
.boss-info-panel {
  background: #fdfaf3;
  border: 2px solid #f0e1c2;
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.panel-meta-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  flex: 1;
  min-width: 280px;
}

.panel-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 12.5px;
  color: var(--ink-light);
  font-weight: 600;
}

.panel-meta strong {
  font-size: 14.5px;
  color: var(--forest-900);
}

.boss-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 260px;
}

.boss-btn-main {
  background: linear-gradient(135deg, #e58d4a 0%, #d86821 100%) !important;
  color: #ffffff !important;
  padding: 14px 26px !important;
  font-size: 15.5px !important;
  border-radius: 999px !important;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(229, 141, 74, 0.35) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.boss-btn-main:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px rgba(229, 141, 74, 0.45) !important;
}

.boss-btn-main .btn-sub {
  font-size: 12px;
  opacity: .92;
  font-weight: 500;
}

.line-btn-main {
  background: linear-gradient(135deg, #06c755 0%, #05a346 100%) !important;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.35) !important;
}

.line-btn-main:hover {
  box-shadow: 0 12px 26px rgba(6, 199, 85, 0.5) !important;
}

.boss-modal-gallery {
  margin-top: 24px;
}

.boss-modal-gallery .gallery-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--forest-700);
  margin-bottom: 12px;
}

/* ===== 2026 Junkbot 廢材機器人大賽專屬樣式 ===== */
.junkbot-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.junkbot-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #f0e1c2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.junkbot-time-pill {
  background: #e67e22;
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.junkbot-time-content strong {
  color: var(--forest-900);
  font-size: 14.5px;
  display: block;
  margin-bottom: 2px;
}
.junkbot-time-content span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  display: block;
}
.junkbot-special-badge {
  display: inline-block;
  background: #fff3e0;
  color: #d35400;
  border: 1px solid #ffcc80;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin: 3px 4px 3px 0;
}
.junkbot-diagram-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.junkbot-diagram-box {
  flex: 1 1 320px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  border: 1.5px solid #eceff1;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.junkbot-diagram-box img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
}
.junkbot-diagram-caption {
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-800);
  margin-top: 8px;
}

/* ===== 一般單位彈窗內的直接報名橫幅 ===== */
.unit-signup-banner {
  margin: 16px 0 20px;
}

.signup-callout {
  background: linear-gradient(135deg, #fff7ea 0%, #ffeed2 100%);
  border: 2px solid #f6cf70;
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 8px 20px rgba(245, 190, 66, 0.15);
}

.callout-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.callout-text strong {
  font-size: 17px;
  color: #a85816;
}

.callout-text span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.btn-signup-now {
  background: linear-gradient(135deg, #e58d4a 0%, #d86821 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(229, 141, 74, 0.35) !important;
  transition: transform .2s, box-shadow .2s !important;
}

.btn-signup-now:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 24px rgba(229, 141, 74, 0.45) !important;
}

.btn-signup-now .ext-icon {
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .boss-features-grid {
    grid-template-columns: 1fr;
  }

  .boss-info-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .boss-action-group {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  /* 首頁主視覺：手機與平板版改為單欄垂直排列，主視覺圖片置頂 */
  .hero-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual-card {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-info {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-sdgs {
    justify-content: center;
  }

  .map-wrap {
    grid-template-columns: 1fr;
  }

  .about-wrap {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-hotspot {
    gap: 5px;
  }

  .map-hotspot .pin {
    width: 36px;
    height: 36px;
    border-width: 2.5px;
  }

  .map-hotspot .pin-badge {
    width: 26px;
    height: 26px;
  }

  .map-hotspot .pin-ico {
    font-size: 15px;
  }

  .map-hotspot .pin-label {
    font-size: 11px;
    padding: 2px 9px;
  }

  .modal-body {
    padding: 24px;
  }

  .region-modal-head {
    margin: -24px -24px 18px;
    padding: 28px 24px;
  }

  .unit-hero {
    margin: -24px -24px 0;
  }

  .boss-title {
    font-size: 26px;
  }

  .panel-meta-list {
    grid-template-columns: 1fr;
  }

  .signup-callout {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 35px 0 45px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-visual-card {
    order: 1;
    max-width: 100%;
  }

  .hero-info {
    order: 2;
  }

  .hero-visual-frame {
    padding: 10px 10px 14px;
    border-radius: 20px;
  }

  .hero-visual-badge {
    font-size: 11px;
    padding: 4px 12px;
  }

  .v-chip {
    font-size: 11px;
    padding: 3px 10px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 14px;
  }

  .hero-sub {
    font-size: 14.5px;
  }

  .hero-meta {
    gap: 8px;
    justify-content: center;
  }

  .hero-meta li {
    font-size: 12.5px;
    padding: 7px 12px;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .boss-title {
    font-size: 22px;
  }
}

/* =========================================
   現正熱烈報名中專區 (Signups Section)
   ========================================= */
.nav-highlight {
  color: #d35400 !important;
  font-weight: 800 !important;
  background: rgba(230, 126, 34, 0.12);
  padding: 6px 14px !important;
  border-radius: 999px;
  border: 1px solid rgba(230, 126, 34, 0.35);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-highlight:hover {
  background: #e67e22 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
}

.btn-cta-hot {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.38) !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-hot:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px rgba(230, 126, 34, 0.5) !important;
}

.signups-section {
  padding: 48px 0 54px;
  background: linear-gradient(180deg, #fbf7ee 0%, #f4ede0 100%);
  position: relative;
  border-top: 1px solid rgba(45, 94, 62, 0.08);
  border-bottom: 1px solid rgba(45, 94, 62, 0.08);
}

.signups-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 126, 34, 0.12);
  color: #d35400;
  border: 1.5px solid rgba(230, 126, 34, 0.3);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.signups-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.signup-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(50, 40, 32, 0.06);
  border: 1.5px solid rgba(230, 126, 34, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.signup-card:hover,
.signup-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(211, 84, 0, 0.16);
  border-color: rgba(230, 126, 34, 0.6);
  outline: none;
}

.signup-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--cream);
}

.signup-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}

.signup-card:hover .signup-thumb-wrap img {
  transform: scale(1.08);
}

.signup-badge-floating {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(35, 62, 43, 0.88);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}

.signup-region-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--forest-900);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 2;
  pointer-events: none;
}

.signup-hover-hint {
  position: absolute;
  inset: 0;
  background: rgba(30, 54, 38, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 3;
}

.signup-hover-hint span {
  background: #ffffff;
  color: var(--forest-900);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(6px);
  transition: transform .25s ease;
}

.signup-card:hover .signup-hover-hint {
  opacity: 1;
}

.signup-card:hover .signup-hover-hint span {
  transform: translateY(0);
}

.signup-body {
  padding: 12px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  background: #ffffff;
}

.signup-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--forest-900);
  margin: 0;
  line-height: 1.35;
  text-align: center;
  letter-spacing: .01em;
}

@media (max-width: 1080px) {
  .signups-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .signups-section {
    padding: 36px 0 42px;
  }

  .signups-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
  }

  .signup-card {
    border-radius: 14px;
  }

  .signup-body {
    padding: 10px 8px 12px;
  }

  .signup-title {
    font-size: 13px;
  }
}

/* =========================================
   手機版隱藏導覽選單 (Mobile Navigation Drawer)
   ＆ 桌機頂部導覽列優化 (只留最上方)
   ========================================= */

/* 桌機版：預設隱藏手機按鈕與抽屜 */
.mobile-menu-btn {
  display: none;
}

.mobile-nav-overlay {
  display: none;
}

.mobile-fab-menu {
  display: none;
}

/* 行動端樣式 (960px 以下) */
@media (max-width: 960px) {
  /* 手機版頂部漢堡選單鈕 */
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1.5px solid rgba(45, 94, 62, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--forest-900);
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(45, 94, 62, 0.08);
    transition: all .2s ease;
    flex-shrink: 0;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    background: #f4f8f4;
    border-color: var(--forest-700);
    transform: scale(1.02);
  }

  .hamburger-box {
    width: 16px;
    height: 12px;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger-inner,
  .hamburger-box span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest-900);
    border-radius: 2px;
    transition: all .22s ease;
  }

  /* 手機版抽屜背景遮罩 */
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 35, 25, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility .3s;
  }

  .mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* 抽屜選單本體 (右側滑入) */
  .mobile-nav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100%;
    background: #fdfbf7;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-overlay.is-open .mobile-nav-drawer {
    transform: translateX(0);
  }

  /* 抽屜頂部標題與關閉鈕 */
  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1.5px solid rgba(45, 94, 62, 0.1);
    background: #f6f9f5;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav-brand .nav-emoji {
    font-size: 24px;
  }

  .nav-brand-text strong {
    display: block;
    font-size: 15px;
    color: var(--forest-900);
    line-height: 1.2;
  }

  .nav-brand-text small {
    font-size: 10px;
    color: var(--ink-light);
    letter-spacing: .08em;
    font-weight: 700;
  }

  .mobile-nav-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(45, 94, 62, 0.15);
    background: #ffffff;
    color: var(--forest-900);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:active {
    background: #e8f2e9;
    transform: rotate(90deg);
  }

  /* 抽屜內部連結清單 */
  .mobile-nav-list {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }

  .m-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(45, 94, 62, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all .2s ease;
  }

  .m-link:hover,
  .m-link:active {
    background: #f2f7f2;
    border-color: var(--forest-500);
    transform: translateX(4px);
  }

  .m-link.active {
    background: #eef7ee;
    border-color: var(--forest-700);
    box-shadow: 0 3px 10px rgba(45, 94, 62, 0.12);
  }

  .m-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f4f8f4;
    border: 1px solid rgba(45, 94, 62, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }

  .m-text {
    flex: 1;
    min-width: 0;
  }

  .m-text strong {
    display: block;
    font-size: 14px;
    color: var(--forest-900);
    line-height: 1.3;
  }

  .m-text small {
    display: block;
    font-size: 11.5px;
    color: var(--ink-soft);
    line-height: 1.3;
    margin-top: 1px;
  }

  .m-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #ffffff;
    background: #e67e22;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .m-link-hot {
    border-color: rgba(230, 126, 34, 0.25);
    background: linear-gradient(90deg, #fffaf3 0%, #ffffff 100%);
  }

  .m-link-cta {
    background: var(--forest-700);
    border-color: var(--forest-700);
    margin-top: 6px;
  }

  .m-link-cta .m-ico {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .m-link-cta .m-text strong {
    color: #ffffff;
  }

  .m-link-cta .m-text small {
    color: rgba(255, 255, 255, 0.82);
  }

  .m-arrow {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
  }

  /* 抽屜底部 */
  .mobile-nav-foot {
    padding: 14px 18px;
    border-top: 1px solid rgba(45, 94, 62, 0.08);
    font-size: 11.5px;
    color: var(--ink-light);
    text-align: center;
    background: #f8faf8;
  }

  /* 手機端漂浮快速導覽選單鈕 (FAB) - 當往下滑動時方便點擊 */
  .mobile-fab-menu {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--forest-700);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(35, 62, 43, 0.35);
    cursor: pointer;
    transition: all .25s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
  }

  .mobile-fab-menu.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-fab-menu:active {
    transform: scale(0.96);
  }
}

/* =========================================
   一日活動時程表與時間軸 (Schedule Section)
   ========================================= */
.schedule-section {
  padding: 70px 0 85px;
  background: #fcf9f2;
  position: relative;
  border-top: 1px solid rgba(45, 94, 62, 0.08);
  border-bottom: 1px solid rgba(45, 94, 62, 0.08);
}

.timeline-tabs {
  display: inline-flex;
  gap: 8px;
  background: rgba(45, 94, 62, 0.08);
  padding: 5px;
  border-radius: 999px;
  margin-top: 20px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
  flex-wrap: wrap;
  justify-content: center;
}

.timeline-tab {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}

.timeline-tab:hover {
  color: var(--forest-900);
}

.timeline-tab.active {
  background: var(--forest-700);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(45, 94, 62, 0.28);
}

/* -----------------------------------------
   行程工具列：檢視切換與縮放控制
   ----------------------------------------- */
.schedule-toolbar {
  max-width: 960px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 4px;
}

/* 檢視切換按鈕 */
.schedule-view-toggle {
  display: inline-flex;
  background: #ffffff;
  padding: 4px;
  border-radius: 12px;
  border: 1.5px solid rgba(45, 94, 62, 0.16);
  box-shadow: 0 2px 8px rgba(45, 94, 62, 0.05);
  gap: 4px;
}

.view-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}

.view-btn:hover {
  color: var(--forest-900);
  background: rgba(45, 94, 62, 0.05);
}

.view-btn.active {
  background: var(--forest-700);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(45, 94, 62, 0.25);
}

.view-icon {
  font-size: 14px;
}

/* 縮放控制面板 */
.schedule-zoom-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(45, 94, 62, 0.16);
  box-shadow: 0 2px 8px rgba(45, 94, 62, 0.05);
}

.zoom-stepper-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zoom-label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--forest-900);
  white-space: nowrap;
}

.zoom-btn-group {
  display: inline-flex;
  align-items: center;
  background: #f4f8f4;
  border-radius: 8px;
  border: 1px solid rgba(45, 94, 62, 0.14);
  padding: 2px;
}

.zoom-btn {
  width: 30px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--forest-900);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background .18s, color .18s;
  padding: 0;
}

.zoom-btn:hover {
  background: rgba(45, 94, 62, 0.12);
}

.zoom-btn:active {
  background: rgba(45, 94, 62, 0.22);
}

.zoom-value-btn {
  border: none;
  background: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: var(--forest-700);
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  min-width: 44px;
  cursor: pointer;
  transition: all .2s;
}

.zoom-value-btn:hover {
  background: var(--forest-700);
  color: #ffffff;
}

.zoom-reset-btn {
  font-size: 14px;
  color: var(--ink-soft);
}

.zoom-presets {
  display: inline-flex;
  gap: 5px;
}

.zoom-preset-pill {
  border: 1px solid rgba(45, 94, 62, 0.15);
  background: #f8faf8;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}

.zoom-preset-pill:hover {
  color: var(--forest-900);
  border-color: var(--forest-500);
  background: #ffffff;
}

.zoom-preset-pill.active {
  background: rgba(45, 94, 62, 0.12);
  color: var(--forest-700);
  border-color: var(--forest-700);
  font-weight: 800;
}

/* -----------------------------------------
   表格檢視容器與縮放引擎
   ----------------------------------------- */
.schedule-table-viewport {
  max-width: 960px;
  margin: 16px auto 0;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid rgba(45, 94, 62, 0.14);
  box-shadow: 0 4px 20px rgba(45, 94, 62, 0.06);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  touch-action: pan-x pan-y pinch-zoom;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 94, 62, 0.3) #f4f8f4;
}

.schedule-table-viewport::-webkit-scrollbar {
  height: 7px;
}
.schedule-table-viewport::-webkit-scrollbar-track {
  background: #f4f8f4;
  border-radius: 999px;
}
.schedule-table-viewport::-webkit-scrollbar-thumb {
  background: rgba(45, 94, 62, 0.3);
  border-radius: 999px;
}
.schedule-table-viewport::-webkit-scrollbar-thumb:hover {
  background: var(--forest-700);
}

.table-scroll-hint {
  display: none;
  background: #f4f8f4;
  text-align: center;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--forest-700);
  border-bottom: 1px solid rgba(45, 94, 62, 0.08);
}

.schedule-table-scaler {
  transform-origin: top left;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-width: 100%;
}

/* 表格本體 */
.schedule-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

/* =========================================
   區域時程對照表格 (Zone Schedule Matrix)
   ========================================= */
.schedule-matrix-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 13px;
  background: #ffffff;
}

.schedule-matrix-table thead {
  position: sticky;
  top: 0;
  z-index: 15;
}

.matrix-th {
  padding: 12px 10px;
  color: #ffffff;
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
  vertical-align: top;
}

.matrix-th:last-child {
  border-right: none;
}

.matrix-th-time {
  width: 80px;
  min-width: 80px;
  background: #1e392a !important;
  text-align: center;
  position: sticky;
  left: 0;
  z-index: 20;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.matrix-th-zone {
  width: 170px;
}

.zone-paintball { background: #d9534f; }
.zone-kid { background: #e67e22; }
.zone-torii-market { background: #d97706; }
.zone-torii-food { background: #b45309; }
.zone-beetle { background: #7c3aed; }
.zone-grassland-robot { background: #c2410c; }
.zone-grassland-eco { background: #15803d; }

.th-zone-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.22);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}

.th-zone-title {
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 4px;
}

.th-zone-note {
  font-size: 11px;
  opacity: 0.92;
  font-weight: 600;
  line-height: 1.25;
}

/* 時間格 (Left Sticky) */
.matrix-time-cell {
  position: sticky;
  left: 0;
  z-index: 10;
  background: #f4f8f4;
  text-align: center;
  vertical-align: top;
  padding: 14px 6px;
  border-right: 2px solid rgba(45, 94, 62, 0.2);
  border-bottom: 1px solid rgba(45, 94, 62, 0.1);
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06);
}

.m-hour {
  display: inline-block;
  background: #2d5e3e;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  letter-spacing: 0.03em;
}

/* 一般區域格 */
.matrix-cell {
  vertical-align: top;
  padding: 8px;
  border-right: 1px solid rgba(45, 94, 62, 0.1);
  border-bottom: 1px solid rgba(45, 94, 62, 0.08);
  background: #ffffff;
  transition: background 0.18s ease;
}

.matrix-cell:last-child {
  border-right: none;
}

.matrix-row:hover .matrix-cell {
  background: #fbfdfb;
}

.matrix-row:hover .matrix-time-cell {
  background: #eaf4eb;
}

/* 卡片設計 */
.matrix-card {
  border: 1.5px solid rgba(45, 94, 62, 0.16);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.matrix-card:last-child {
  margin-bottom: 0;
}

.matrix-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 94, 62, 0.14);
}

/* 各區域卡片色調 */
.card-market {
  background: #fffdf5;
  border-color: #fcd34d;
}

.card-picnic {
  background: #fff9f9;
  border-color: #fca5a5;
}

.card-all-day {
  background: #f7fdf9;
  border-color: #86efac;
}

.card-battle {
  background: #fff7ed;
  border-color: #fdba74;
}

.card-highlight {
  background: #fffbeb;
  border-color: #fde047;
}

.card-photo {
  background: #faf5ff;
  border-color: #d8b4fe;
}

.card-closing {
  background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
  border-color: #eab308;
}

/* 標籤小藥丸 */
.m-badge-paid {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 4px;
}

.m-badge-hot {
  display: inline-block;
  background: #f97316;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 4px;
}

.m-badge-all {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 4px;
}

.m-badge-battle {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  margin-right: 4px;
}

.m-badge-gold {
  display: inline-block;
  background: #b45309;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  margin-right: 4px;
}

.m-time-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #166534;
  background: rgba(45, 94, 62, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

.m-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--forest-900);
  line-height: 1.35;
  margin: 3px 0 2px;
}

.m-sub {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.35;
  margin: 0;
}

.m-time-list {
  list-style: none;
  padding: 0;
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--ink-soft);
}

.m-time-list li {
  padding: 1px 0;
}

.schedule-table thead {
  background: #f5f8f5;
  border-bottom: 2px solid rgba(45, 94, 62, 0.16);
}

.schedule-table th {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: .03em;
  white-space: nowrap;
}

.col-time { width: 140px; }
.col-badge { width: 125px; }
.col-title { width: auto; }
.col-venue { width: 210px; }

/* 表格列 */
.table-row {
  border-bottom: 1px solid rgba(45, 94, 62, 0.08);
  transition: background .2s ease, opacity .25s ease;
}

.table-row:nth-child(even) {
  background: #fafcfa;
}

.table-row:hover {
  background: #f0f7f1 !important;
}

.table-row:last-child {
  border-bottom: none;
}

/* 重點亮點列 (Highlight) */
.table-row.row-highlight {
  background: linear-gradient(90deg, #fffaf3 0%, #ffffff 100%);
  border-left: 4px solid #e67e22;
}

.table-row.row-highlight:nth-child(even) {
  background: linear-gradient(90deg, #fff7ee 0%, #fdfbf7 100%);
}

.schedule-table td {
  padding: 15px 18px;
  vertical-align: middle;
}

/* 時間欄位 */
.time-box {
  display: inline-flex;
  align-items: center;
  background: #f4f8f4;
  border: 1px solid rgba(45, 94, 62, 0.14);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 800;
  color: var(--forest-900);
  font-size: 13.5px;
  white-space: nowrap;
  letter-spacing: .02em;
}

.time-box-highlight {
  background: #fff4e6;
  border-color: rgba(230, 126, 34, 0.3);
  color: #c0392b;
}

.time-sep {
  margin: 0 2px;
  opacity: 0.7;
}

/* 類型欄位與亮點星標 */
.cell-badge {
  white-space: nowrap;
}

.badge-combo {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.highlight-star {
  display: inline-block;
  background: #fff3e0;
  color: #d84315;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(216, 67, 21, 0.2);
}

/* 活動內容欄位 */
.table-act-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.table-act-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f2f7f2;
  border: 1px solid rgba(45, 94, 62, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.icon-hot { background: #fff3e0; border-color: rgba(230, 126, 34, 0.24); }
.icon-battle { background: #fde8e8; border-color: rgba(198, 40, 40, 0.24); }
.icon-gold { background: #fff8e1; border-color: rgba(243, 156, 18, 0.28); }

.table-act-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.table-act-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--forest-900);
  line-height: 1.35;
}

.table-act-sub {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* 地點欄位 */
.venue-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8faf8;
  border: 1px solid rgba(45, 94, 62, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--forest-900);
  white-space: nowrap;
}

/* 底部操作提示 */
.schedule-bottom-hint {
  max-width: 960px;
  margin: 12px auto 0;
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 0 8px;
}

.hint-dot {
  font-size: 14px;
}

/* -----------------------------------------
   原有垂直卡片時間軸 (備選切換檢視)
   ----------------------------------------- */
.timeline-container {
  max-width: 820px;
  margin: 28px auto 0;
  position: relative;
  padding-left: 20px;
}

.timeline-spine {
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 110px;
  width: 3px;
  background: linear-gradient(180deg, var(--forest-500) 0%, #e67e22 50%, var(--forest-700) 100%);
  border-radius: 999px;
  opacity: 0.35;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  position: relative;
  margin-bottom: 16px;
  transition: opacity .25s ease, transform .2s ease;
}

.timeline-marker {
  width: 120px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  justify-content: flex-end;
}

.marker-time {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--forest-900);
  letter-spacing: .02em;
  text-align: right;
  white-space: nowrap;
}

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--forest-700);
  box-shadow: 0 0 0 3px rgba(45, 94, 62, 0.15);
  flex-shrink: 0;
  transition: all .25s ease;
}

.marker-fire {
  border-color: #e67e22 !important;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2) !important;
}

.marker-battle {
  border-color: #d35400 !important;
  box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.2) !important;
}

.marker-gold {
  border-color: #f39c12 !important;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25) !important;
}

.timeline-content {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 18px;
  border: 1.5px solid rgba(45, 94, 62, 0.12);
  box-shadow: 0 3px 12px rgba(50, 40, 32, 0.04);
  transition: all .22s cubic-bezier(.2,.8,.2,1);
  position: relative;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-2px);
  border-color: rgba(45, 94, 62, 0.32);
  box-shadow: 0 6px 20px rgba(45, 94, 62, 0.1);
}

.timeline-item:hover .marker-dot {
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(45, 94, 62, 0.25);
}

.timeline-highlight .timeline-content {
  border-color: rgba(230, 126, 34, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.07);
}

.timeline-card-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f4f8f4;
  border: 1.5px solid rgba(45, 94, 62, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.timeline-highlight .timeline-icon-badge {
  background: #fff7ed;
  border-color: rgba(230, 126, 34, 0.28);
  box-shadow: 0 3px 8px rgba(230, 126, 34, 0.1);
}

.timeline-details {
  flex: 1;
  min-width: 0;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.timeline-tag {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: .02em;
}

.tag-morning { background: #e8f5e9; color: #2e7d32; }
.tag-ceremony { background: #e3f2fd; color: #1976d2; }
.tag-hot { background: #fbe9e7; color: #d84315; }
.tag-picnic { background: #fff3e0; color: #ef6c00; }
.tag-food { background: #efebe9; color: #4e342e; }
.tag-battle { background: #fbe9e7; color: #c62828; }
.tag-afternoon { background: #f3e5f5; color: #6a1b9a; }
.tag-closing { background: #fff8e1; color: #f57f17; }

.timeline-venue {
  font-size: 12px;
  color: var(--forest-900);
  font-weight: 700;
}

.timeline-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--forest-900);
  margin: 0;
  line-height: 1.35;
}

/* -----------------------------------------
   手機版響應式設計 (Mobile Responsive)
   ----------------------------------------- */
@media (max-width: 768px) {
  .schedule-section {
    padding: 45px 0 55px;
  }

  /* 工具列排版 */
  .schedule-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }

  .schedule-view-toggle {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .view-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12.5px;
  }

  .schedule-zoom-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .zoom-stepper-wrap {
    width: 100%;
    justify-content: center;
  }

  .zoom-presets {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
  }

  .zoom-preset-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* 表格行動端呈現 */
  .schedule-table-viewport {
    margin-top: 12px;
    border-radius: 14px;
  }

  .table-scroll-hint {
    display: block;
  }

  .schedule-table {
    min-width: 600px;
    font-size: 13px;
  }

  .schedule-table th {
    padding: 10px 12px;
    font-size: 12px;
  }

  .schedule-table td {
    padding: 11px 12px;
  }

  /* 凍結時間欄（Sticky Left Column）在手機滑動時保持固定 */
  .schedule-table thead .col-time {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #f5f8f5;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
  }

  .schedule-table tbody .cell-time {
    position: sticky;
    left: 0;
    z-index: 4;
    background: #ffffff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
  }

  .table-row:nth-child(even) .cell-time {
    background: #fafcfa;
  }

  .table-row.row-highlight .cell-time {
    background: #fffaf3;
  }

  .time-box {
    font-size: 12px;
    padding: 3px 7px;
  }

  .table-act-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 8px;
  }

  .table-act-name {
    font-size: 13.5px;
  }

  .table-act-sub {
    font-size: 11px;
  }

  .venue-pill {
    font-size: 11px;
    padding: 2px 8px;
  }

  /* 原有垂直時間軸手機設定 */
  .timeline-container {
    padding-left: 0;
    margin-top: 20px;
  }

  .timeline-spine {
    left: 14px;
    top: 14px;
    bottom: 20px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 6px;
    padding-left: 36px;
    margin-bottom: 14px;
  }

  .timeline-marker {
    width: auto;
    justify-content: flex-start;
    position: absolute;
    left: 8px;
    top: 3px;
  }

  .marker-time {
    position: absolute;
    left: 24px;
    top: -4px;
    font-size: 13px;
    background: #ffffff;
    padding: 1px 8px;
    border-radius: 6px;
    border: 1px solid rgba(45, 94, 62, 0.18);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  }

  .timeline-content {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .timeline-card-main {
    gap: 12px;
    align-items: center;
  }

  .timeline-icon-badge {
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-radius: 10px;
  }

  .timeline-title {
    font-size: 15px;
    margin: 0;
  }

  .timeline-tag {
    font-size: 11px;
    padding: 2px 8px;
  }

  .timeline-venue {
    font-size: 11.5px;
  }
}