/* ============================================================
   mesh.novice.tw ｜ 新手村主題層
   結構借鏡 tkr.novice.tw 的兩欄版式（主欄＋300px 側欄、細線、
   密度優先、明體標題），配色維持新手村的森林綠。
   載入順序在 app.css 之後，只補結構與溫度，不覆寫功能樣式。
   ============================================================ */

/* 只給輔助技術／搜尋引擎讀的文字，視覺上不佔位 */
.v-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --v-cream: #fbf8f3;
    --v-sand: #f5eee1;
    --v-ink: #2f2820;
    --v-ink-2: #4d4335;
    --v-ink-3: #857a69;
    --v-forest: #316c4d;
    --v-forest-2: #28563f;
    --v-forest-soft: #eef5f0;
    --v-line: rgba(47, 40, 32, 0.14);
    --v-line-2: rgba(47, 40, 32, 0.07);
    --v-amber: #9a6206;
    --v-radius: 8px;
    --v-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    --v-serif: "Noto Serif TC", "Songti TC", "Source Han Serif TC", "PMingLiU", serif;
    /* 與站群（tkr / code / novice.tw）同一條版面基準線：內容區最大 1120px */
    --v-max: 1120px;
    --v-gutter: 14px;
    --v-sidebar: 300px;
    --v-topbar: 54px;
}

/* ---------------------------------------------------------------
   外殼：頂欄 + 兩欄內容，高度固定為視窗高
   --------------------------------------------------------------- */

html {
    -webkit-text-size-adjust: 100%;
}

body.v-body {
    margin: 0;
    background: var(--v-cream);
    color: var(--v-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
        "PingFang TC", "Microsoft JhengHei", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.002em;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
}

.v-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* ---------------------------------------------------------------
   頂欄（54px，暖白 + 模糊，1px 細線）
   --------------------------------------------------------------- */

.v-topbar {
    flex: 0 0 auto;
    height: var(--v-topbar);
    display: flex;
    align-items: center;
    gap: 10px;
    /* 內容與下方兩欄容器對齊同一條 1120px 基準線：
       置中留白 + 容器自身的 14px 內距，否則會比地圖左緣縮 14px */
    padding: 0 max(var(--v-gutter), calc((100% - var(--v-max)) / 2 + var(--v-gutter)));
    background: rgba(251, 248, 243, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--v-line);
    position: relative;
    z-index: 30;
}

.v-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--v-ink);
    text-decoration: none;
    flex: 0 0 auto;
    min-height: 38px;
}
.v-brand:hover {
    text-decoration: none;
    color: var(--v-ink);
}

.v-brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--v-forest);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    flex: 0 0 auto;
}

.v-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 800;
    font-size: 0.92rem;
    white-space: nowrap;
}
.v-brand-text em {
    font-style: normal;
    color: var(--v-forest);
}
.v-brand-text small {
    font-weight: 600;
    font-size: 0.68rem;
    color: var(--v-ink-3);
    letter-spacing: 0.04em;
}

/* 頂欄內的搜尋框：輸入與按鈕連成一組 */
.v-topbar input[type="text"] {
    height: 34px;
    border-color: var(--v-line);
    background: #fff;
    font-size: 0.86rem;
}
.v-topbar input[type="text"]:focus {
    border-color: var(--v-forest);
    box-shadow: 0 0 0 3px rgba(49, 108, 77, 0.13);
}

/* ---------------------------------------------------------------
   兩欄：主欄（地圖）＋ 側欄
   --------------------------------------------------------------- */

.v-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--v-sidebar);
    gap: 12px;
    padding: 12px var(--v-gutter);
    max-width: var(--v-max);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.v-main {
    position: relative;
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    overflow: hidden;
    background: var(--v-sand);
}

.v-main #map {
    width: 100%;
    height: 100%;
}

/* 全螢幕地圖：收起側欄與公告，主欄獨佔（此時不受 1120px 限制） */
.v-shell.is-map-fullscreen .v-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px;
    max-width: none;
}
.v-shell.is-map-fullscreen .v-topbar {
    padding-left: 8px;
    padding-right: 8px;
}
.v-shell.is-map-fullscreen .v-sidebar {
    display: none;
}
.v-shell.is-map-fullscreen #app-announcement,
.v-shell.is-map-fullscreen .v-announcement {
    display: none;
}

.v-fullscreen-exit {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 500;
    padding: 6px 12px;
    border: 1px solid var(--v-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--v-ink-2);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
    font-family: inherit;
}
.v-fullscreen-exit:hover {
    border-color: var(--v-forest);
    color: var(--v-forest-2);
}

/* ---------------------------------------------------------------
   側欄卡片（對齊 tkr 的 side-card / side-head）
   --------------------------------------------------------------- */

.v-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 2px;
}

/* 桌面版：訊息流吃掉剩餘高度。側欄若真的塞不下（矮螢幕）就自己捲，
   不要讓卡片被裁掉。 */
@media (min-width: 981px) {
    .v-sidebar {
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    /* 權重必須高於後面的 .v-card{flex:0 0 auto}，否則不會伸縮 */
    .v-sidebar .v-card--messages {
        flex: 1 1 auto;
        /* 有空間就長大、空間不夠就讓它縮；160px 是底線，
           真遇到 720p 以下再由側欄自己捲，不會把卡片壓爛 */
        min-height: 160px;
        display: flex;
        flex-direction: column;
    }
    .v-sidebar .v-card--messages .v-msgs {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    /* 縣市清單自己捲，別把訊息流的高度吃掉 */
    .v-sidebar .v-card--county .v-nav {
        max-height: 120px;
        overflow-y: auto;
    }
}

.v-card {
    background: #fff;
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius);
    box-shadow: var(--v-shadow);
    overflow: hidden;
    flex: 0 0 auto;
}

.v-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--v-line-2);
    background: var(--v-sand);
    font-family: var(--v-serif);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--v-ink);
}
.v-card-head svg {
    width: 15px;
    height: 15px;
    color: var(--v-forest);
    flex: 0 0 auto;
}
.v-card-head small {
    margin-left: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
    font-weight: 600;
    font-size: 0.68rem;
    color: var(--v-ink-3);
    white-space: nowrap;
}

/* 統計三格：大字明體數字 */
.v-stats {
    display: flex;
    border-top: 0;
}
.v-stat {
    flex: 1 1 0;
    padding: 7px 9px 8px;
    border-right: 1px solid var(--v-line-2);
    min-width: 0;
}
.v-stat:last-child {
    border-right: 0;
}
.v-stat b {
    display: block;
    font-family: var(--v-serif);
    font-size: 1.32rem;
    line-height: 1.15;
    color: var(--v-forest-2);
}
.v-stat span {
    font-size: 0.7rem;
    color: var(--v-ink-3);
}

/* 縣市清單：兩欄，17 個縣市才不會把側欄撐到要捲 */
.v-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px 4px;
    padding: 4px;
}
.v-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 7px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    color: var(--v-ink-2);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}
.v-nav a:hover {
    background: var(--v-sand);
    color: var(--v-forest-2);
    text-decoration: none;
}
.v-nav a.is-active {
    background: var(--v-forest-soft);
    border-left-color: var(--v-forest);
    color: var(--v-forest-2);
}
.v-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--v-ink-3);
    background: var(--v-sand);
    border: 1px solid var(--v-line-2);
    border-radius: 999px;
    padding: 0 6px;
    line-height: 1.6;
}

/* 最近回報：側欄的主角，標題列加重、可篩選、清單自己捲 */
.v-card-head--accent {
    background: var(--v-forest);
    border-bottom-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.94rem;
}
.v-card-head--accent svg {
    color: #d9ecdf;
}
.v-card-head--accent small {
    color: rgba(255, 255, 255, 0.78);
}

.v-msg-tools {
    padding: 5px 6px;
    border-bottom: 1px solid var(--v-line-2);
    background: #fff;
}
.v-msg-tools input {
    width: 100%;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--v-line);
    border-radius: 6px;
    background: #fff;
    color: var(--v-ink);
    font-size: 0.79rem;
    font-family: inherit;
}
.v-msg-tools input:focus {
    outline: none;
    border-color: var(--v-forest);
    box-shadow: 0 0 0 3px rgba(49, 108, 77, 0.12);
}

/* ---------------------------------------------------------------
   訊息流（側欄主角）：每則訊息像一張小對話氣泡
   --------------------------------------------------------------- */

.v-msgs {
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 5px;
}
.v-msg {
    padding: 6px 8px 7px;
    border: 1px solid var(--v-line-2);
    border-left: 3px solid var(--v-forest);
    border-radius: 7px;
    background: #fff;
}
.v-msg:hover {
    background: #fcfdfb;
    border-color: var(--v-line);
    border-left-color: var(--v-forest-2);
}
.v-msg-head {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}
.v-msg-from {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--v-forest-2);
    text-decoration: none;
    font-size: 0.79rem;
}
.v-msg-from:hover {
    text-decoration: underline;
}
.v-msg-from b {
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 118px;
}
.v-msg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.v-msg-channel {
    flex: 0 0 auto;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--v-sand);
    border: 1px solid var(--v-line-2);
    color: var(--v-ink-3);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 15px;
}
.v-msg-time {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--v-ink-3);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}
.v-msg-body {
    margin: 0;
    color: var(--v-ink);
    font-size: 0.83rem;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
    /* 太長的訊息先收三行，避免單則吃掉整個側欄 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.v-msgs-empty {
    margin: 14px 8px 16px;
    text-align: center;
    color: var(--v-ink-3);
    font-size: 0.82rem;
    line-height: 1.7;
}
.v-msgs-empty span {
    font-size: 0.74rem;
    opacity: 0.8;
}

/* 新手三步驟 */
.v-steps {
    list-style: none;
    margin: 0;
    padding: 7px 10px 3px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--v-ink-2);
    line-height: 1.5;
}
.v-steps li {
    display: flex;
    gap: 7px;
    align-items: flex-start;
}
.v-steps b {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background: var(--v-forest);
    color: #fff;
    font-size: 0.68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.v-steps code {
    font-size: 0.78rem;
    background: var(--v-sand);
    border: 1px solid var(--v-line-2);
    border-radius: 4px;
    padding: 0 4px;
    color: var(--v-ink);
}

.v-card-cta {
    display: block;
    margin: 2px 10px 10px;
    padding: 5px 0;
    text-align: center;
    border: 1px solid var(--v-forest);
    border-radius: 6px;
    background: var(--v-forest);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}
.v-card-cta:hover {
    background: var(--v-forest-2);
    color: #fff;
    text-decoration: none;
}

/* ---------------------------------------------------------------
   響應式：≤980px 疊成單欄，地圖固定高度、其餘往下排
   --------------------------------------------------------------- */

@media (max-width: 980px) {
    .v-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: min-content;
        padding: 8px var(--v-gutter);
        overflow-y: auto;
    }
    .v-main {
        height: 58vh;
        height: 58dvh;
    }
    .v-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        align-items: start;
        overflow: visible;
    }
    .v-brand-text small {
        display: none;
    }
}

@media (max-width: 640px) {
    .v-brand-text {
        font-size: 0.84rem;
    }
    .v-main {
        height: 52vh;
        height: 52dvh;
    }
}

/* ---------------------------------------------------------------
   會員（跨子網域 SSO）
   --------------------------------------------------------------- */

.v-member {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

/* 查詢登入狀態時的骨架，避免版面跳動 */
.v-member-skeleton {
    width: 74px;
    height: 30px;
    border-radius: 7px;
    background: var(--v-sand);
}

.v-member-btn {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 11px;
    border: 1px solid var(--v-line);
    border-radius: 7px;
    background: #fff;
    color: var(--v-ink-2);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.v-member-btn:hover {
    border-color: var(--v-forest);
    color: var(--v-forest-2);
    text-decoration: none;
}
.v-member-btn.is-primary {
    background: var(--v-forest);
    border-color: var(--v-forest);
    color: #fff;
}
.v-member-btn.is-primary:hover {
    background: var(--v-forest-2);
    border-color: var(--v-forest-2);
    color: #fff;
}

.v-member-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 9px 0 3px;
    border: 1px solid var(--v-line);
    border-radius: 999px;
    background: #fff;
    color: var(--v-ink);
    text-decoration: none;
    max-width: 150px;
}
.v-member-chip:hover {
    border-color: var(--v-forest);
    text-decoration: none;
    color: var(--v-ink);
}
.v-member-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--v-sand);
}
.v-member-name {
    font-size: 0.82rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v-member-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 168px;
    background: #fff;
    border: 1px solid var(--v-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(47, 40, 32, 0.16);
    padding: 4px;
    z-index: 60;
}
.v-member-menu a {
    display: block;
    padding: 5px 8px;
    border-radius: 6px;
    color: var(--v-ink-2);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}
.v-member-menu a:hover {
    background: var(--v-sand);
    color: var(--v-forest-2);
    text-decoration: none;
}
.v-member-menu a.is-logout {
    color: #a5382a;
    border-top: 1px solid var(--v-line-2);
    margin-top: 3px;
    padding-top: 7px;
}
.v-member-menu-head {
    display: flex;
    flex-direction: column;
    padding: 5px 8px 7px;
    border-bottom: 1px solid var(--v-line-2);
    margin-bottom: 3px;
    line-height: 1.35;
}
.v-member-menu-head b {
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v-member-menu-head small {
    font-size: 0.7rem;
    color: var(--v-ink-3);
}

/* ---------------------------------------------------------------
   頁尾：滿版地圖版面不能放大頁尾，收成 1120px 的細條
   --------------------------------------------------------------- */

.v-footer {
    flex: 0 0 auto;
    border-top: 1px solid var(--v-line);
    background: rgba(255, 253, 250, 0.92);
}

.v-foot-inner {
    max-width: var(--v-max);
    margin: 0 auto;
    padding: 6px var(--v-gutter);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--v-ink-3);
}

.v-foot-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 0;
}
.v-foot-brand .v-brand-mark {
    width: 17px;
    height: 17px;
    font-size: 10px;
    border-radius: 4px;
}
.v-foot-title {
    font-family: var(--v-serif);
    font-weight: 600;
    font-size: 0.84rem;
    color: var(--v-ink-2);
    white-space: nowrap;
}
.v-foot-tag {
    color: var(--v-ink-3);
    white-space: nowrap;
}

.v-foot-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 2px;
    min-width: 0;
}
.v-foot-links a {
    color: var(--v-ink-2);
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
}
.v-foot-links a:hover {
    background: var(--v-sand);
    color: var(--v-forest-2);
    text-decoration: none;
}

/* 計數器（共用 novice.tw/counter_system） */
.v-foot-stats {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    white-space: nowrap;
}
.v-foot-stats[hidden] {
    display: none;
}
.v-foot-stats .wc-item {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}
.v-foot-stats .wc-label {
    color: var(--v-ink-3);
    font-size: 0.72rem;
}
.v-foot-stats .wc-value {
    color: var(--v-forest-2);
    font-weight: 700;
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
}

.v-foot-copy {
    color: var(--v-ink-3);
    font-size: 0.72rem;
    white-space: nowrap;
}
/* 全螢幕地圖：頁尾一起收起來 */
.v-shell.is-map-fullscreen .v-footer {
    display: none;
}

@media (max-width: 980px) {
    .v-foot-tag {
        display: none;
    }
    .v-foot-stats {
        margin-left: 0;
    }
    .v-foot-inner {
        padding-top: 5px;
        padding-bottom: 5px;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .v-member-btn {
        padding: 0 8px;
        font-size: 0.8rem;
    }
    .v-member-name {
        display: none;
    }
    .v-member-chip {
        padding: 0 3px;
    }
    .v-foot-copy {
        display: none;
    }
    .v-foot-links a {
        padding: 1px 4px;
        font-size: 0.74rem;
    }
    .v-foot-stats .wc-item:nth-child(n + 4) {
        display: none;
    }
}

/* ---------------------------------------------------------------
   設定面板（Settings slide-over）：中文主、英文副
   --------------------------------------------------------------- */

.v-set-head {
    padding: 9px 12px;
    border-bottom: 1px solid var(--v-line);
    background: var(--v-sand);
}

.v-set-title {
    font-family: var(--v-serif);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--v-ink);
    margin: 0;
    line-height: 1.3;
}
.v-set-title span {
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--v-ink-3);
    letter-spacing: 0.02em;
}

.v-set-sub {
    margin: 1px 0 0;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--v-ink-3);
    line-height: 1.45;
}

.v-set-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--v-ink);
    margin-bottom: 2px;
    line-height: 1.4;
}
.v-set-label span {
    font-weight: 500;
    font-size: 0.72rem;
    color: var(--v-ink-3);
    white-space: nowrap;
}
.v-set-label--inline {
    display: inline;
    margin-bottom: 0;
}

.v-set-help {
    font-size: 0.74rem;
    color: var(--v-ink-2);
    line-height: 1.5;
    margin-bottom: 5px;
}
.v-set-help span {
    display: block;
    color: var(--v-ink-3);
    font-size: 0.71rem;
}

.v-set-select {
    display: block;
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--v-line);
    border-radius: 7px;
    background: #fff;
    color: var(--v-ink);
    font-size: 0.84rem;
    font-family: inherit;
}
.v-set-select:focus {
    outline: none;
    border-color: var(--v-forest);
    box-shadow: 0 0 0 3px rgba(49, 108, 77, 0.13);
}

/* ---------------------------------------------------------------
   既有元件的暖化微調
   --------------------------------------------------------------- */

input[type="text"],
input[type="number"],
select,
textarea {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* 圓形圖示鈕：滑過給暖色底 */
.bg-gray-100.hover\:bg-gray-200:hover {
    background-color: var(--v-sand);
}

/* 地圖彈出視窗 */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(47, 40, 32, 0.18);
}
.leaflet-popup-content {
    margin: 12px 14px;
}

/* 公告條：改用森林綠，內容同樣對齊 1120px 基準線 */
.v-announcement {
    background: #28563f;
    color: #fff;
    border-bottom: 1px solid #224534;
    padding-left: max(var(--v-gutter), calc((100% - var(--v-max)) / 2 + var(--v-gutter)));
    padding-right: max(var(--v-gutter), calc((100% - var(--v-max)) / 2 + var(--v-gutter)));
}

/* 尊重系統「減少動畫」設定 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
