video

/* === 全域版面與排版 Global Layout & Base === */
body {
    font-family: Arial, sans-serif;
    display: block;
    margin: 0;
    min-height: 100vh;
}

/* === 背景影片 Background Video === */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    z-index: 0;
}

.map-container>*:not(.bg-video) {
    position: relative;
    z-index: 1;
}


/* === 右側資訊面板 Info Panel === */
.info-container {
    display: flex;
    flex: 1;
    padding: 20px;
    background: #fff;
    display: none;

    animation: fadeIn 0.3s ease-in-out;
}


/* === 資訊面板區塊基礎 Section Spacing === */
/* .section {
    flex: 1 1 0;
    min-width: 280px;
} */

/* === 地圖：強調區域 Highlight Fill === */
.highlight {
    fill: orange !important;
}


/* === 地圖互動：共同樣式 Path Base === */
svg path {
    cursor: pointer;
    transition: 0.3s;
}


/* === 地圖互動：滑過 Hover === */
svg path:hover {
    fill: black;
}


/* === 資訊面板：節慶區塊樣式 Festival Block === */
.festival {
    background: #fdf5e6;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    /* 撐滿父容器 */
    box-sizing: border-box;
    padding: 12px 16px;
    /* 留點內距 */
    border-radius: 8px;
    /* 卡片圓角 */
}

.map_title {
    font-size: clamp(24px, 5vw, 48px);
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin: 10px 0;
}

.map_tip {
    font-size: clamp(14px, 2vw, 18px);
    color: #f1f1f1;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}


/* === 地圖：整體外觀 Japan Map Base === */
.japan {
    width: 100%;
    height: auto;
    max-width: 600px;
    color: orange;
    stroke-width: 2;
}






/* === 動畫：資訊面板淡入 Animation: fadeIn === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth zoom for whole SVG */

/* === 地圖：整體縮放轉場 SVG Global Transition === */
svg {
    transition: all 0.6s ease;
}

/* Focus region vs others */

/* === 地圖互動：聚焦 Focus === */
svg path.focus {
    fill: var(--theme) !important;
    stroke: black;
    stroke-width: 1.5;
    transform-origin: center;
    transform-box: fill-box;
}


/* === 地圖互動：淡化 Dimmed === */
svg path.dimmed {
    opacity: 0.25;
    filter: grayscale(60%);
}

/* Hover 效果（以區域為單位） */

/* === 地圖互動：區域滑過（群組） Hover Group === */
svg path.hover {
    filter: brightness(1.1);
    stroke-width: 1.5;
}


/* === 地圖互動：非目標淡化 Hover Dim Others === */
svg path.hover-dim {
    opacity: 0.35;
}



/* Optional FAB button if present */

/* === 浮動操作按鈕 FAB（別名選擇器） === */
#reset-btn.fab,
.btn.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    z-index: 1000;
}
#reset-btn {
  display: none; /* 預設隱藏 */
}


/* 按鈕 */

/* === 浮動操作按鈕 FAB === */
.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


/* === FAB：滑過 Hover === */
.fab:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    /* 滑過時微放大 */
}


/* === FAB：點擊 Active === */
.fab:active {
    transform: scale(0.9);
    /* 點擊瞬間縮小一下 */
}


/* === 修正：確保 SVG 顯示在背景影片之上 === */

/* === 地圖容器 Map Container === */
.map-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}


/* === 地圖容器中的背景影片 Background Video (inside map) === */
.map-container .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* 背景影片 */
}


/* === 地圖 SVG 尺寸 Map SVG Sizing === */
.map-container svg {
    position: relative;
    z-index: 2;
    /* 地圖在影片之上 */
    width: 90%;
    height: auto;
    max-height: 90vh;
}


/* === 地圖標題與提示 Map Title & Tip === */
.map-container .map_title,
.map-container .map_tip {
    position: relative;
    z-index: 3;
    /* 標題與提示文字最高 */
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}


/* === 資訊面板：區域名稱樣式 Region Heading === */
#region-name {
  position: relative;   /* 取代 fixed */
  top: auto; left: 50%;
  transform: translateX(calc(-50% - var(--mini-map-pad) / 2));
  z-index: 9999;          /* 保證在其他元素之上 */
  margin: 0;
  padding: 10px 16px;
  font-weight: 800;
  font-size: clamp(20px, 4vw, 36px);
  color: #fff;
  background: rgba(0,0,0,.6);
  border-radius: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

/* 取消原本易造成偏移的設定 */
/* #region-name {
    margin-left: 0 !important;
    min-width: 0 !important;
}
 */




/* 照片秀 */

/* === 投影片：外框 Slideshow Container === */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 500px;
    aspect-ratio: 16 / 9;
    /* 保持比例，避免照片把版面撐開 */
    margin: 10px 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5;
    /* 沒圖時背景顏色 */
    z-index: 10;
}

/* 提高選擇器專一性，確保不被全域的 img { height:auto } 之類的規則覆蓋 */
.slideshow-container .mySlides>img,
.slideshow-container>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ 填滿並裁切，不變形 */
    object-position: center;
}


/* === 投影片：單張容器 Slide Item === */
.mySlides {
    display: block;
    /* 或 flex 皆可，重點是下一行 */
    width: 100%;
    height: 100%;
    /* ✅ 關鍵：跟著容器高度走 */
    position: relative;
    overflow: hidden;
}

/* === 投影片：圖片 Image === */
/* .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

/* === 投影片：標題 Caption === */
.mySlides .caption {
    position: absolute;
    top: 8px;
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: clamp(14px, 2.5vw, 20px);
}








/* === 投影片：佔位 Placeholder === */
.slide-placeholder {
    width: 100%;
    height: 200px;
    background: #eaeaea;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px dashed #aaa;
}



/* === 投影片：淡入類別 Fade Class === */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}


/* === 動畫：投影片淡入 Animation: fade === */
@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

/* 左右箭頭 */

/* === 投影片：左右控制箭頭 Prev/Next Buttons === */
.prev,

/* === 投影片：Next 按鈕微調 === */
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    /* 放大箭頭 */
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    user-select: none;
    transition: 0.3s;
    z-index: 20;
}

.next {
    right: 10px;

}


/* === 投影片：Prev 按鈕微調 === */
.prev {
    left: 10px;
}


/* === 投影片：箭頭滑過 Hover === */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* 圓圓點 */

/* === 投影片：指示點 Dots === */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;

}


/* === 投影片：指示點列 Dots Row === */
.dot-row {
    position: static;
    /* 取消絕對定位 */
    display: flex;
    justify-content: center;
    /* 置中 */
    gap: 8px;
    margin-top: 10px;
    /* 與輪播間距 */
    width: 100%;
}

/* === 投影片：指示點狀態 Active/Hover === */
.active,
.dot:hover {
    background-color: var(--theme);
}

/* 淡入效果 */
.fade {
    animation: fade 0.8s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


:root {
    /* 設一個小地圖的保留寬度（地圖寬 250 + 左右間距） */
    --mini-map-pad: 280px;
    /* 共同基底 */
    --ink: #1f2937;
    /* 內文字色 */
    --surface: #ffffff;
    /* 面板底色 */
    --glass: rgba(255, 255, 255, .72);
    /* 玻璃面板 */
    --shadow: 0 10px 30px rgba(15, 23, 42, .12);

    /* 主題色（預設；會被 JS 依地區覆蓋） */
    --theme: #0ea5e9;
    /* 主色 */
    --theme-ink: #0b2940;
    /* 深主題字色 */
    --theme-weak: rgba(14, 165, 233, .12);

    /* 分類色系（固定） */
    --spot: #ff8a00;
    --food: #e34a2a;
    --fes: #7a3ef0;

    /* 環境光（覆蓋在背景影片上） */
    --ambient-from: rgba(0, 0, 0, .55);
    --ambient-to: rgba(0, 0, 0, 0);
    --brand: #0d6efd;
    /* Bootstrap 主色（可改） */
}

/* 2) 全域（兩端都受益） */

/* === 全域版面（字型設定） Global Typography Base === */
html,
body {
    font-family: var(--font-sans);
}

body {
    font-size: var(--text-1);
    line-height: var(--lh-base);
}

.map_tip {
    color: var(--muted);
    font-size: var(--text-2);
    letter-spacing: .01em;
}

/* 4) 右側 info 面板（淺色底） */

/* === 資訊面板：字色設定 Info Text Color === */
#info-container {
    color: var(--ink);
}

/* === 資訊面板：清單正文 Lists Typography === */

.spot-text {
    font-size: 18px;
    /* 後面內容字體大小 */
}

/* 6) 清單（看起來更整齊） */
#spots ul,
#festivals ul {
    margin: .25rem 0 .75rem 1.25rem;
    padding: 0;
    /* 可選：list-style: disc inside; */
}

#spots li,
#festivals li {
    margin: .15rem 0;
}



/* 8) 控制項（選單/按鈕的字） */

/* === 控制項：月份選擇 Month Select === */
#month-select {
    font-size: 28px;
}

.festivalSelect {
    font-size: 28px;
}

/* === 控制項：按鈕 Buttons === */
.btn,
button {
    font-weight: 600;
    letter-spacing: .02em;
}

/* 9) 輕量的強調色（連結/互動字色） */

/* === 連結 Links === */
a {
    color: var(--brand);
}

/* === 連結 Hover === */
a:hover {
    color: #0b5ed7;
}

/* 10) 細節：數字對齊、英文/數字更穩 */

/* === 數字對齊 Tabular Numbers === */
.num,
.digit {
    font-variant-numeric: tabular-nums;
}

/* 11) 斷行與長字處理（避免擠出容器） */

/* === 文字斷行 Overflow Wrap === */
#spots,
#festivals,
.caption {
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* 地圖縮小時隱藏影片與提示文字 */
.map-container.shrinked .bg-video,
.map-container.shrinked .map_tip,
.map-container.shrinked .map_title {
    display: none;
}

/* 全螢幕 Info 面板 */
.info-container.expanded {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0;
    /* 由內部的 layout 控制間距 */
    display: block;
    /* 確保展開時真的顯示 */
}

/* .info-container.expanded {
    display: block;
    flex: 1;
    width: 100%;
    max-width: none;
    height: 100vh;
    background: #fff;
    padding: 40px;
    z-index: 998;
} */

.info-container.expanded .slideshow-container {
    width: 90%;
    max-width: 1000px;
    /* 原本是 900px，這裡縮小 */
    height: auto;
    margin: 20px auto;
    aspect-ratio: unset;
}

/* .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
} */

.slideshowWithDot {
    flex: 0 0 1200px;
    /* 固定寬，避免被擠壓 */
    max-width: 60vw;
    /* 寬螢幕時不要太寬 */
    display: flex;
    flex-direction: column;
    margin-: ;
}

.region-layout {
    display: flex;
    margin-left: 20px;
    /* 整組往左貼到小地圖下緣 */
    display: flex;
    /* 你已是 flex；這裡保險覆蓋 */
    align-items: flex-start;
    margin-top: 30px;
    /* 讓下排整組與上排拉開距離 */
}

.slideshowWithDot .slideshow-container {
    width: 100%;
    margin: 10px 0;
}


.slideshowWithDot .dot-row {
    position: static;
    /* 不要 absolute，避免覆蓋圖片 */
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    z-index: 0;
}

/* 三欄並排 */
.info-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 卡片列表：自適應格線 */
.cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 每卡片之間間距 */
}

/* 文字樣式 */
.media-text h5 {
    margin: 0 0 4px 0;
    font-size: clamp(26px, 1.8vw, 36px);
    line-height: 1.35;
}

/* ===== Map 縮小與 Info 展開的對位調整（桌機） ===== */
.map-container.shrinked {
    position: fixed;
    top: 20px;
    /* 與頂部的距離 */
    left: 20px;
    /* 與左邊的距離 */
    width: 250px;
    /* 縮小後的寬度 */
    max-height: 250px;
    z-index: 80;
    /* 確保在最上層 */
    transform: scale(0.6);
    transform-origin: top left;
}

/* 固定排序：景點 → 美食 → 慶典 */
.info-row>.section.spots {
    order: 1;
}

.info-row>.section.foods {
    order: 2;
}

.info-row>.section.festival {
    order: 3;
}

#spots,
#foods,
#festivals {
    width: 100%;
    /* 撐滿父容器 */
    box-sizing: border-box;
    padding: 12px 16px;
    /* 留點內距 */
    border-radius: 8px;
    /* 卡片圓角 */
}

/* 保持各自的杏色系背景 */
#spots {
    background-color: #FFE0C0;
    /* 偏米杏 */
}

#foods {
    background-color: #F5D6A0;
    /* 杏黃色 */
}

#festivals {
    background-color: #FFF4E0;
    /* 淡杏米色 */
}

/* 指定每個元素放到哪一格 */
#region-name {
    grid-area: title;
}

/* 標題跨兩欄 */
#category-rail {
    grid-area: rail;
}

/* 左欄：分類 rail */
.region-layout {
    grid-area: content;
    /* 右欄：內容（含 slide） */
    min-width: 0;
}

/* 讓 slide 在內容區自適應寬度 */
.slideshowWithDot,
.slideshow-container {
    width: 100%;
}

/* 直欄外觀 */
.category-rail {
    width: 220px;
    position: sticky;
    flex-shrink: 0;
    top: 12px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background: #f7f7f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px rgba(0, 0, 0, .06);
}

/* 直欄的 menu icon（收合/展開） */
.category-rail .rail-toggle {
    appearance: none;
    border: none;
    background: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    font-size: 18px;
    line-height: 1;
}

/* 直欄按鈕列表 */
.category-rail .rail-list {
    overflow: hidden;
    transition: max-height .28s ease;
}

.category-rail.collapsed {
    width: 220px;
}

.category-rail.collapsed .rail-list {
    max-height: 0;
}

/* 單顆分類按鈕 */
.category-rail .tab {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    font-size: 15px;
}

.category-rail .tab .icon {
    width: 1.2em;
}

/* .category-rail .tab.active {
    outline: 2px solid #ff8a00;
    background: #fff6e9;
} */

.category-rail .tab:hover {
    background: #f0f0f3;
}

/* 收合狀態：只顯示圖示（標籤收起） */
.category-rail.collapsed .tab {
    justify-content: center;
    padding: 10px 8px;
}

.intoduseName {
    font-size: 100px;
}

/* 標題跟小地圖排版 */
.header-bar {
    position: sticky;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 16px;
    /* 因為小地圖是 fixed 在左上，所以 header 以 padding-left 騰出空間 */
    padding-left: var(--mini-map-pad);
    min-height: 150px;
    /* 讓標題不會與小地圖重疊 */
}
.header-bar.visible{
  opacity: 1;
  max-height: 200px; /* 足夠顯示標題列 */
}
/* 2) 當地圖縮小時，右側整個 info 面板往右留出空間 */
.map-container.shrinked~.info-container.expanded {
    left: 0;
    padding-left: 0 !important;
    display: block;
}

.header-bar {
    display: none;
}

/* 預設隱藏整條標題列 */
.header-bar.visible {
    display: flex;
}

/* 需要時再顯示 */

#region-name {
    display: none;
}

/* 保險起見，標題本身也先關掉 */
.header-bar.visible #region-name {
    display: block;
}

/* 字形調整 */
/* === Typography & Color — gentle tuning overrides === */

/* 1) 設計變數：收斂字級、提高內文字對比 */
:root {
    --ink: #1f2937;
    /* 主字色：深灰 */
    --ink-2: #374151;
    /* 次要字：比原本更清楚 */
    --muted: #6b7280;

    --lh-tight: 1.3;
    --lh-base: 1.6;
    /* 內文行高從 1.7–1.9 收斂到 1.6 */
    --lh-loose: 1.75;

    --text-1: clamp(15px, 1.4vw, 16px);
    /* 內文 */
    --text-2: clamp(16px, 1.6vw, 18px);
    /* 次要大字 */

    --h6: clamp(16px, 1.8vw, 18px);
    --h5: clamp(18px, 2.0vw, 22px);
    --h4: clamp(20px, 2.2vw, 26px);
    /* 區塊標題收斂 */
    --h3: clamp(22px, 2.8vw, 30px);
    --h2: clamp(24px, 3.6vw, 36px);
    --h1: clamp(28px, 4.6vw, 44px);
    /* 主標題不再過大 */
}

/* 2) 全域文字：提高對比、不用透明度當次要色 */
html,
body {
    font-size: var(--text-1);
    line-height: var(--lh-base);
    color: var(--ink);
}

#info-container {
    color: var(--ink);
}

#spots,
#festivals {
    color: var(--ink);
    line-height: var(--lh-loose);
}

#spots strong,
#festivals strong {
    color: var(--ink);
    font-weight: 700;
}

/* 3) 標題尺寸微調（地圖主標、區域名、區塊標題） */
.map_title {
    font-size: var(--h1);
    font-weight: 800;
    letter-spacing: .01em;
}

/* #region-name {
    font-size: clamp(22px, 3.2vw, 34px);
    background: rgba(0, 0, 0, .55);
} */

.section h4 {
    margin: 0 0 10px;
    font-size: var(--h4);
    line-height: 1.25;
}

/* 4) 內文段落：取消 0.75 透明度，改用明確深灰 */
.media-text p {
    margin: 0;
    font-size: 16px;
    color: var(--ink-2);
    opacity: 1;
}

/* 5) 連結狀態：略強一點的 hover 對比 */
a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

/* 6) Slideshow caption：黑底改半透明白底＋深色字，更好讀 */
.slideshow-container .caption {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    font-size: clamp(13px, 2.0vw, 16px);
    font-weight: 600;
    color: #111;
    background: rgba(255, 255, 255, .88);
    border-radius: 8px;
    text-shadow: none;
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* 7) 左側精選卡：標題對比與描述色統一 */
.rail-hl-title {
    color: #111;
    font-weight: 800;
}

.hl-desc {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6B7785;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* .map-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ambient-from), transparent 45%);
  z-index: 1;
  pointer-events: none;
} */
/* 外層容器保持白底可讀性 */
/* #info-container{ background: transparent; } */
#info-container {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: #111;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* 內部主要卡片做成玻璃質感（柔霧） */
#spots, #festivals{
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.35);
}
#foods {
--glass: rgba(255, 236, 224, 0.35);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 28px);
}








/* 標題條帶主題色淡淡鋪底 */
/* #region-name{
  background: linear-gradient(90deg, var(--theme-weak), transparent);
  color:#fff; text-shadow: 0 2px 6px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.25);
} */
#region-name {
  background: linear-gradient(90deg, var(--theme-weak), transparent);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
  font-size: clamp(24px, 3.2vw, 45px);
}



/* 分類 rail 與按鈕 */
.category-rail{
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35);
}
.category-rail .tab.active{
  outline: 2px solid var(--theme);
  background: var(--theme-weak);
}

/* 輪播指示點、左右箭頭呼應主題色 */
.dot{ background:#cbd5e1; }
.dot.active{ background: var(--theme); }
.prev, .next{ background-color: rgba(0,0,0,.45); }
.prev:hover, .next:hover{ background-color: rgba(0,0,0,.65); }

body {
   background: linear-gradient(
    135deg,
    #fff3e9,  /* 極淺米橘 */
    #fde9df,  /* 柔和淡橘 */
    #fce1d6   /* 帶一點粉感的淺橘 */
  );/* 深藍黑 */
  color: #e5e7eb;     /* 預設字體淺灰 */
}

.header-bar{
background: linear-gradient(
  135deg,
  #e8b584, /* 焦糖米橘 */
  #d79d72, /* 奶茶棕橘 */
  #c28663  /* 杏仁棕 */
);
}
#region-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;              /* 文字與圖示距離 */
}

#region-name .region-icon {
  width: 50px;           /* 調整大小 */
  height: 50px;
  vertical-align: middle;
}
/* 確保 region-name 不會被其他規則覆蓋，真正置中 */
.header-bar.visible #region-name {
  position: absolute !important;  /* 相對 header-bar 絕對定位 */
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
}