/* assets/css/modules.css */
/* 負責：功能性模組 (精選區塊、彈窗、地圖Popup、通知、PWA提示) */
/* 高端化升級：毛玻璃特效 (Glassmorphism)、頂級圓角、流暢微互動 */

/* --- 精選區塊 (Highlights) --- */
.highlight-section { 
  margin: 16px 0 20px; 
  padding: 20px; 
  border-radius: var(--radius-lg); 
  background: var(--panel); 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 標題區域設為可點擊 */
.highlight-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 8px; 
  margin-bottom: 12px; 
  cursor: pointer; 
  user-select: none;
}

.highlight-title-main { 
  font-size: 18px; 
  font-weight: 800; 
  color: var(--ink); 
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.highlight-sub { 
  font-size: 13px; 
  color: var(--muted); 
  white-space: nowrap; 
  margin-top: 2px;
  font-weight: 500;
}

/* --- 折疊功能樣式 (New) --- */

/* 1. 當區塊被折疊時，隱藏列表 */
.highlight-section.collapsed .highlight-list {
    display: none;
}

/* 2. 當區塊被折疊時，減少下方 margin，讓版面更緊湊 */
.highlight-section.collapsed {
    padding-bottom: 20px; 
}

/* 3. 箭頭圖示動畫 */
.toggle-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotate(180deg); 
    font-size: 14px;
    color: var(--muted);
}

/* 當折疊時，箭頭轉回朝下 */
.highlight-section.collapsed .toggle-icon {
    transform: rotate(0deg);
}

/* 4. 「點我展開」提示樣式 */
.click-hint {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #db2777;
    background: #fce7f3;
    padding: 4px 10px;
    border-radius: 99px;
    margin-left: 10px;
    vertical-align: middle;
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* 當區塊已展開時，隱藏提示文字，保持清爽 */
.highlight-section:not(.collapsed) .click-hint {
    display: none;
}

/* 呼吸燈動畫 */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.4); }
    50% { transform: scale(1.05); opacity: 0.85; box-shadow: 0 0 0 4px rgba(219, 39, 119, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(219, 39, 119, 0); }
}

/* --- 列表與卡片樣式 --- */
.highlight-list { 
  display: flex; 
  flex-wrap: nowrap; 
  gap: 16px; 
  overflow-x: auto; 
  padding: 8px 4px 16px 4px; /* 增加底部 padding 給陰影空間 */
  scrollbar-width: none; 
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.highlight-list::-webkit-scrollbar { display: none; }

.highlight-pill { 
  min-width: 220px; 
  max-width: 280px; 
  padding: 14px 16px; 
  border-radius: var(--radius-md); 
  border: 1px solid rgba(0, 0, 0, 0.04); 
  background: var(--panel-card); 
  box-shadow: var(--shadow-sm); 
  text-align: left; 
  cursor: pointer; 
  flex-shrink: 0; 
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); 
}
.highlight-pill:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-md); 
  border-color: rgba(15, 118, 110, 0.15);
}

/* 文字流動排版 */
.hp-title { 
  font-size: 15px; 
  font-weight: 700; 
  color: var(--ink); 
  margin-bottom: 6px; 
  display: inline; 
  line-height: 1.4; 
}

.hp-meta { 
  font-size: 12px; 
  color: var(--muted); 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  gap: 6px; 
  margin-top: 6px; 
  font-weight: 500;
}

/* 「今天」標籤 */
.hp-badge-today { 
  font-size: 10px; 
  font-weight: 800; 
  padding: 2px 8px; 
  border-radius: 99px; 
  background: linear-gradient(135deg, #f97316, #ea580c); 
  color: #ffffff; 
  display: inline-block; 
  vertical-align: middle; 
  margin-left: 6px;
  white-space: nowrap; 
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

/* 卡片高亮動畫 (用於隨機推薦) */
.card-highlight-pulse { 
  animation: cardHighlightPulse 1.4s cubic-bezier(0.4, 0, 0.2, 1); 
}
@keyframes cardHighlightPulse { 
  0% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.4); transform: scale(1); } 
  50% { transform: scale(1.03); }
  70% { box-shadow: 0 0 0 15px rgba(15, 118, 110, 0); } 
  100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); transform: scale(1); } 
}

/* --- 系統公告列 (System Notice) --- */
#system-notice-bar { 
  background: linear-gradient(90deg, #fffbeb, #fef3c7); 
  color: #b45309; 
  border-bottom: 1px solid rgba(245, 158, 11, 0.2); 
  height: 44px; 
  display: flex; 
  align-items: center; 
  overflow: hidden; 
  white-space: nowrap; 
  position: relative; 
  font-size: 14px; 
}
#system-notice-bar.notice-hidden { display: none; }
.notice-icon { 
  position: absolute; 
  left: 0; 
  z-index: 2; 
  background: linear-gradient(90deg, #fffbeb 80%, transparent); 
  padding: 0 16px 0 12px; 
  height: 100%; 
  display: flex; 
  align-items: center; 
  font-weight: bold; 
}
#notice-content { 
  display: inline-block; 
  padding-left: 100%; 
  animation: marquee 18s linear infinite; 
  font-weight: 600; 
  letter-spacing: 0.5px;
}
@keyframes marquee { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-100%); } 
}

/* --- 雙擊愛心動畫 --- */
.double-click-heart { 
    position: absolute; top: 50%; left: 50%; 
    transform: translate(-50%, -50%) scale(0); 
    font-size: 6rem; 
    color: #ef4444;
    pointer-events: none; 
    animation: heart-pop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
    z-index: 10; 
    filter: drop-shadow(0 10px 20px rgba(239, 68, 68, 0.4)); 
    opacity: 0;
}
@keyframes heart-pop { 
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 
    30% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 
    50% { transform: translate(-50%, -50%) scale(1.0); opacity: 1; } 
    100% { transform: translate(-50%, -120%) scale(1.5); opacity: 0; } 
}

/* --- 圖片燈箱 (Lightbox) --- */
#image-viewer-modal { 
  display: none; 
  position: fixed; 
  z-index: 30000; 
  padding-top: 50px; 
  left: 0; top: 0; 
  width: 100%; height: 100%; 
  overflow: auto; 
  background-color: rgba(15, 23, 42, 0.85); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  justify-content: center; 
  align-items: center; 
}
#full-image { 
  margin: auto; 
  display: block; 
  max-width: 90%; 
  max-height: 85vh; 
  border-radius: var(--radius-lg); 
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); 
  animation: zoom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
.close-modal { 
  position: absolute; 
  top: 24px; right: 32px; 
  color: #fff; 
  font-size: 44px; 
  cursor: pointer; 
  z-index: 30001; 
  opacity: 0.8;
  transition: opacity 0.3s;
}
.close-modal:hover { opacity: 1; }
.clickable-image { cursor: zoom-in; }
@keyframes zoom { from {transform:scale(0.9); opacity:0;} to {transform:scale(1); opacity:1;} }

/* --- 地圖 Popup 樣式 (Leaflet Overrides) --- */
.leaflet-popup-content-wrapper { 
  border-radius: 16px; 
  padding: 0; 
  overflow: hidden; 
  box-shadow: 0 12px 30px rgba(0,0,0,0.15); 
  border: 1px solid rgba(0,0,0,0.05);
}
.leaflet-popup-content { margin: 0; width: 260px !important; }
.map-card { display: flex; flex-direction: column; background: #fff; }
.map-card-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.map-card-body { padding: 16px; }
.map-card-title { font-weight: 800; font-size: 16px; margin-bottom: 6px; color: var(--ink); line-height: 1.4; }
.map-card-meta { font-size: 12px; color: var(--muted); margin-bottom: 12px; font-weight: 500;}

/* 修正：強制蓋過 Leaflet 預設的藍色連結樣式 */
.leaflet-container a.map-card-btn { 
  display: block; text-align: center; 
  background: var(--brand); color: #ffffff !important; 
  padding: 10px; border-radius: 10px; 
  text-decoration: none; font-size: 14px; font-weight: 700; 
  transition: all 0.3s;
}
.leaflet-container a.map-card-btn:hover { 
  background: var(--brand-hover); 
  box-shadow: 0 4px 12px rgba(15,118,110,0.2); 
  color: #ffffff !important;
}

/* --- 通知 Toast - 毛玻璃質感 --- */
.toast { 
  background: rgba(15, 23, 42, 0.85); 
  color: #fff; 
  padding: 12px 20px; 
  border-radius: 99px; 
  font-size: 14px; 
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); 
  animation: fadeInOut 3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  max-width: 85%; 
  margin: 0 auto; 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
}
@keyframes fadeInOut { 
  0% { opacity: 0; transform: translateY(30px) scale(0.95); } 
  10% { opacity: 1; transform: translateY(0) scale(1); } 
  85% { opacity: 1; transform: translateY(0) scale(1); } 
  100% { opacity: 0; transform: translateY(-20px) scale(0.95); } 
}

/* --- 自訂 Alert 彈窗 --- */
.custom-alert-overlay { 
  position: fixed; top: 0; left: 0; 
  width: 100%; height: 100%; 
  background: rgba(15, 23, 42, 0.4); 
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000; 
  display: flex; align-items: center; justify-content: center; 
  opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
.custom-alert-overlay.show { opacity: 1; pointer-events: auto; }
.custom-alert-box { 
  background: var(--panel); 
  width: 85%; max-width: 340px; 
  padding: 32px 24px; border-radius: var(--radius-lg); 
  text-align: center; 
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); 
  transform: scale(0.9); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}
.custom-alert-overlay.show .custom-alert-box { transform: scale(1); }
.ca-btn { 
  background: var(--brand); color: #fff; 
  border: none; padding: 14px 24px; 
  border-radius: 99px; width: 100%; 
  margin-top: 24px; font-weight: 700; cursor: pointer; 
  transition: all 0.3s;
}
.ca-btn:hover { background: var(--brand-hover); box-shadow: 0 6px 16px rgba(15,118,110,0.2); }

/* --- PWA 安裝提示條 (App Guide Bar) --- */
.app-guide-bar {
    position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%) translateY(150%);
    width: 90%; max-width: 400px;
    background: rgba(255, 251, 235, 0.95); color: #92400e; padding: 14px 20px;
    text-align: center; font-size: 14px; font-weight: 600; z-index: 9999;
    border-radius: 99px; border: 1px solid rgba(252, 211, 77, 0.5);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    display: flex !important; /* 強制顯示 */
    align-items: center; justify-content: center; gap: 8px;
    cursor: pointer;
    animation: slideUpBar 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1s; /* 延遲1秒進場 */
}
@keyframes slideUpBar { 
  to { transform: translateX(-50%) translateY(0); } 
}

/* --- 通用彈窗 (Modal) --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px); z-index: 20000; }
.modal-content { 
  position: fixed; top: 50%; left: 50%; 
  transform: translate(-50%, -50%); 
  background: var(--panel); padding: 32px 24px; 
  border-radius: var(--radius-lg); width: 90%; max-width: 420px; 
  z-index: 20001; 
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); 
}
.modal-hidden { display: none !important; }
.close-btn { 
  position: absolute; top: 16px; right: 16px; 
  background: #f1f5f9; border: none; border-radius: 50%;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; color: var(--muted); transition: all 0.3s;
}
.close-btn:hover { background: #e2e8f0; color: var(--ink); transform: scale(1.1); }

/* --- 宣傳小卡 (Promo) --- */
.promo-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

@media (max-width: 980px){
  .promo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .promo-grid{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }
  .promo-grid::-webkit-scrollbar{ height: 0; display: none;}
  .promo-tile{ flex: 0 0 85%; }
}

.promo-tile{
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100px;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url(https://i.meee.com.tw/6cI1hr0.jpg);
}

.promo-tile:hover{ transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255,255,255,0.3); }

/* 各卡背景 */
.promo-tile.promo-backpacker{ background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url(https://i.meee.com.tw/6cI1hr0.jpg); }
.promo-tile.promo-puffer-tile{ background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url(../img/qmpuffer_banner_1200x630.jpg); }
.promo-tile.promo-eel{ background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url(../img/yunlin_eel_kids_popup.jpg); }
.promo-tile.promo-farm{ background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url(../img/chihchiafarm.jpg); }

/* 讓固定高度版更好讀 */
.promo-grid .promo-text{ min-width: 0; font-size: 16px; font-weight: 800; }
.promo-grid .promo-text small{ font-size: 12px; font-weight: 500; opacity: 0.9; margin-top: 4px;}
.promo-grid .promo-text,
.promo-grid .promo-text small{
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.promo-avatar { 
  width: 64px; height: 64px; 
  border-radius: 50%; object-fit: cover; 
  border: 2px solid rgba(255, 255, 255, 0.9); flex-shrink: 0; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.promo-text { 
  color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}

/* 浮動小卡 (左下角) */
.site-promo-float { 
  position: fixed; z-index: 99999; 
  left: 20px; bottom: 180px; 
  width: min(360px, 85vw); max-width: 60vw; 
  background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: var(--radius-lg); 
  border: 1px solid rgba(255, 255, 255, 0.5); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
  padding: 16px 12px 12px; box-sizing: border-box; 
  display: flex; flex-direction: column; 
  align-items: center; justify-content: center; gap: 10px; 
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.site-promo-float:hover { transform: translateY(-4px); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.site-promo-link { display: block; width: 100%; }
.site-promo-img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: 0 4px 12px rgba(0,0,0,0.05);}
.site-promo-close { 
  position: absolute; top: -10px; right: -10px; 
  border: 2px solid #fff; border-radius: 50%; 
  width: 28px; height: 28px; 
  font-size: 18px; line-height: 1; 
  cursor: pointer; 
  background: var(--ink); color: #fff; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
  display: flex; align-items: center; justify-content: center; 
  z-index: 10; transition: transform 0.3s;
}
.site-promo-close:hover { transform: scale(1.1) rotate(90deg); }

.site-promo-actions{
  display: flex; gap: 8px; width: 100%; justify-content: space-between; align-items: center; margin-top: 4px;
}
.site-promo-action{
  text-decoration: none; font-size: 13px; font-weight: 800; color: #fff;
  background: var(--brand); border-radius: 99px; padding: 10px; flex: 1; text-align: center;
  box-shadow: 0 4px 10px rgba(15,118,110,0.2); transition: all 0.3s;
}
.site-promo-action:hover { background: var(--brand-hover); transform: translateY(-2px); }
.site-promo-toggle{
  border: 1px solid var(--border); background: #f8fafc; color: var(--ink-light);
  border-radius: 99px; padding: 10px; cursor: pointer; font-size: 13px; font-weight: 800; flex: 1;
  transition: all 0.3s;
}
.site-promo-toggle:hover { background: #e2e8f0; color: var(--ink); }
.site-promo-more{ width: 100%; margin-top: 8px; display: none; }


/* --- 載入狀態 (Skeleton & Empty) --- */
#empty-state { 
  display: none; padding: 60px 20px; 
  border: 2px dashed rgba(15, 118, 110, 0.3); 
  border-radius: var(--radius-lg); 
  background: var(--brand-50); 
  color: var(--brand); 
  text-align: center; font-weight: 700; font-size: 16px;
}
.skeleton-card { min-height: 180px; pointer-events: none; display: block; border: none; box-shadow: none; background: transparent;}
.skeleton-line { 
  height: 20px; background: #e2e8f0; 
  border-radius: 8px; margin-bottom: 12px; width: 100%; 
  animation: shimmer 2s infinite linear; 
  background-image: linear-gradient(90deg, #f1f5f9 0px, #f8fafc 40px, #f1f5f9 80px); 
  background-size: 600px; 
}
.skeleton-line.title { height: 32px; width: 80%; border-radius: 12px; }
.skeleton-line.short { height: 200px; border-radius: var(--radius-lg); margin-bottom: 20px;}
@keyframes shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }

/* --- 主題切換器 (Theme Switcher) --- */
.theme-switcher { 
  position: absolute; top: 24px; right: 20px; 
  display: flex; align-items: center; z-index: 10; 
  background: var(--panel); padding: 4px 12px; border-radius: 99px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.theme-label { font-size: 12px; margin-right: 6px; color: var(--ink-light); font-weight: 600;}
.theme-select { 
  font-size: 13px; font-weight: 600; padding: 4px 6px; 
  border-radius: 6px; border: none; background: transparent; 
  color: var(--ink); cursor: pointer; outline: none;
}

/* --- 表單區塊 (Form Section) --- */
.form-section { 
  background: var(--panel-card); 
  border: 1px solid rgba(0,0,0,0.04); 
  border-radius: var(--radius-lg); 
  padding: 32px; margin-top: 32px; 
  box-shadow: var(--shadow-md); 
}
.form-group input { 
  width: 100%; padding: 14px 16px; font-size: 15px; 
  border: 1px solid var(--border); border-radius: 12px; box-sizing: border-box; 
  background: var(--bg); transition: all 0.3s;
}
.form-group input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); outline: none;}
.submit-btn { 
  background: linear-gradient(135deg, var(--brand), #06b6d4); color: #fff; 
  border: none; border-radius: 99px; padding: 14px 32px; 
  font-size: 15px; font-weight: 800; cursor: pointer; 
  box-shadow: 0 10px 20px rgba(15,118,110,0.3); display: block; margin: 24px auto 0; transition: all 0.3s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(15,118,110,0.4); }

/* --- Dark Mode 模組調整 --- */
html[data-theme="dark"] .highlight-section { background: rgba(30, 41, 59, 0.4); border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] .highlight-pill { background: rgba(15, 23, 42, 0.6); border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] .highlight-pill:hover { background: rgba(30, 41, 59, 0.8); border-color: rgba(45, 212, 191, 0.3); }
html[data-theme="dark"] .form-group input { background: var(--form-input-bg); color: var(--ink); border-color: var(--form-input-border); }
html[data-theme="dark"] .form-section { background: var(--panel-card); border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] .site-promo-float { background: rgba(15, 23, 42, 0.85); border-color: rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.8);}
html[data-theme="dark"] .site-promo-toggle { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #cbd5e1; }
html[data-theme="dark"] .custom-alert-box, html[data-theme="dark"] .modal-content { background: var(--panel-card); color: var(--ink); border: 1px solid rgba(255,255,255,0.05); }
html[data-theme="dark"] .app-guide-bar { background: rgba(69, 26, 3, 0.95); color: #fcd34d; border-color: rgba(120, 53, 15, 0.5); }
html[data-theme="dark"] .toggle-icon { color: var(--muted); }
html[data-theme="dark"] .click-hint { background: rgba(131, 24, 67, 0.8); color: #fbcfe8; }
html[data-theme="dark"] .theme-switcher { background: var(--panel-card); border-color: rgba(255,255,255,0.05); }
html[data-theme="dark"] #system-notice-bar { background: linear-gradient(90deg, #451a03, #78350f); color: #fde68a; border-bottom-color: rgba(252, 211, 77, 0.2); }
html[data-theme="dark"] .notice-icon { background: linear-gradient(90deg, #451a03 80%, transparent); }
html[data-theme="dark"] .leaflet-container a.map-card-btn { color: #ffffff !important; }

/* 讓「雲林三寶鰻 / 自家莊園」圓圈頭像偏左，避免遮住背景人物 */
.promo-tile.promo-eel,
.promo-tile.promo-farm{ overflow: visible; background-position: left center; }
.promo-tile.promo-eel .promo-avatar{ object-position: 20% 50%; }
.promo-tile.promo-farm .promo-avatar{ object-position: 15% 50%; }
@media (max-width: 560px){
  .promo-tile.promo-eel .promo-avatar,
  .promo-tile.promo-farm .promo-avatar{ transform: translateX(-12px); }
}