@import "fonts.css";

/* ==========================================================================
         CSS 架構目錄 (Table of Contents)
         01. 設計系統變數 (Design Tokens: 色彩 / 字級 / 行高字距 / 間距 / 層級 / 動效)
         02. 基礎重設與全螢幕滾動容器 (Reset, Scroll Snap & Shared Utilities)
         03. 頂部主導覽列 (Top Navigation Bar & Light-Surface Adaptation)
         04. 右側捲動導覽點與右側懸浮捐款鈕 (Scroll-Spy Rail & Floating CTA)
         05. 進場動效與首頁／GOOLAO GPT 滿版區段 (Motion, Hero Video & Seamless Iframe)
         06. 寒冬助老 (#winter-aid)
         07. 角落孤老人 (#isolated-elderly)
         08. 角落孤老人真實故事輪播 (#photo-story)
         09. 照亮角落 (#light-up)
         10. 角落消息 (#news)
         11. 角落引光者與網站頁尾 (#supporters & .site-footer)
         12. 響應式斷點系統 (Responsive Breakpoints: 由大至小統一管理)
         ========================================================================== */

/* ==========================================================================
         01. 設計系統變數 (Design Tokens)
         ========================================================================== */
:root {
    /* 品牌色票與背景表面 */
    --color-bg-base: #111827;
    --color-bg-winter: #140d0c;
    --color-bg-winter-portrait: #160b07;
    --color-paper-warm: #faf3e7;
    --color-paper-cream: #fff6eb;
    --color-brand-navy: #425d9b;
    --color-brand-navy-dark: #2c447c;
    --color-brand-slate: #697aa9;
    --color-brand-periwinkle: #99a4d2;
    --color-brand-periwinkle-hover: #7d8cc4;
    --color-brand-gold: #fcc800;
    --color-yellow: #f8ce56;
    --color-nav-active: #fedc5e;
    --color-story-gold: #f7d457;
    --color-story-yellow: #fedc5e;
    --color-brand-bronze: #8f6938;
    --color-brand-bronze-stroke: #be955c;
    --color-text-main: #f8fafc;
    --color-ink-body: #4c4948;
    --color-ink-warm: #595757;

    /* 字型與排版韻律 */
    --font-family: 'GenSenRoundedTW', '源泉圓體 TW', 'GenSenRounded-TW', 'GenSenRounded', 'PingFang TC', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    --leading-tight: 1.2;
    --leading-snug: 1.44;
    --leading-normal: 1.5;
    --leading-relaxed: 1.84;
    --tracking-tight: 0.03em;
    --tracking-normal: 0.05em;
    --tracking-wide: 0.08em;
    --tracking-poem: 0.18em;

    /* 流體字級系統 (Fluid Type Scale) */
    --fs-nav: clamp(1rem, 0.98vw, 1.1rem);
    --fs-h2: clamp(1.85rem, 3.02vw, 3.12rem);
    --fs-caption: clamp(0.88rem, 0.88vw, 0.94rem);
    --fs-body-sm: clamp(0.98rem, min(1.02vw, 1.82dvh), 1.06rem);
    --fs-body: clamp(1.05rem, min(1.14vw, 2.02dvh), 1.2rem);
    --fs-lead: clamp(1.15rem, min(1.18vw, 2.08dvh), 1.28rem);
    --fs-portrait-body: clamp(1.2rem, 3.55vw, 1.76rem);
    --fs-portrait-meta: clamp(0.98rem, 2.85vw, 1.18rem);

    /*文字粗細*/
    --fw-lighter: 300;
    --fw-normal: 400;
    --fw-bold: 700;

    /* 版面尺寸與安全間距系統 (Spacing & Safe Gutters) */
    --nav-height: 65px;
    --gutter-desktop: clamp(68px, 6.2vw, 112px);
    --gutter-portrait: clamp(24px, 7.2vw, 56px);
    --space-2xs: clamp(4px, 0.45vw, 6px);
    --space-xs: clamp(8px, 0.9vw, 12px);
    --space-sm: clamp(14px, 1.5vw, 22px);
    --space-md: clamp(22px, 2.6vw, 36px);
    --space-lg: clamp(32px, 4.2vw, 58px);
    --space-xl: clamp(44px, 6vw, 84px);

    /* 圖層順序與動效曲線 (Z-Index & Motion) */
    --z-bg: 1;
    --z-content: 3;
    --z-curtain: 6;
    --z-side-nav: 95;
    --z-navbar: 100;
    --z-floating-cta: 999;
    --transition-timing: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
}

/* ==========================================================================
         02. 基礎重設與共用工具樣式 (Reset, Scroll Container & Shared Surfaces)
         ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-family);
    line-height: var(--leading-normal);
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font-family: var(--font-family);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

.svg-defs-hidden {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.scroll-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    position: relative;
    scrollbar-width: none;
}

.scroll-container.is-gsap-scrolling {
    scroll-snap-type: none !important;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.fullscreen-section {
    width: 100%;
    min-width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* 共用暖米宣紙底紋區段 (#light-up, #news, #supporters) */
#light-up,
#news,
#supporters {
    background-color: var(--color-paper-warm);
    background-image: url('../img/news-bg.png');
    background-repeat: repeat;
    background-size: 440px 440px;
}



/* 共用細捲軸樣式 */
.news-list,
.supporters-patron-scroll {
    scrollbar-width: thin;
}

.news-list::-webkit-scrollbar,
.supporters-patron-scroll::-webkit-scrollbar {
    width: 5px;
}

.news-list::-webkit-scrollbar-thumb,
.supporters-patron-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
}

/* ==========================================================================
         03. 頂部主導覽列 (Top Navigation Bar)
         ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: var(--z-navbar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 2.5vw, 30px);
    background: rgba(66, 93, 155, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    transition: background-color var(--duration-normal) ease, border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.brand-frame {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 6px;
    position: relative;
}

.brand-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: #ffffff;
    transition: background-color 0.25s ease;
}

.brand-text {
    font-size: clamp(1.25rem, 6.5vh, 1.4rem);
    font-weight: var(--fw-bold);
    color: #ffffff;
    letter-spacing: 0.05em;
    padding: 0px;
    white-space: nowrap;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-drawer {
    display: contents;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    margin: 0 16px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: inline-block;
    padding: 8px 11px;
    font-size: var(--fs-nav);
    font-weight: var(--fw-bold);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: color var(--duration-fast) ease, transform var(--duration-fast) ease, text-shadow var(--duration-fast) ease;
    cursor: pointer;
    user-select: none;
    letter-spacing: var(--tracking-tight);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-nav-active);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--color-nav-active);
}

.nav-separator {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    font-weight: var(--fw-lighter);
    padding: 0 3px;
    user-select: none;
    transition: color 0.25s ease;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-btn-invoice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-yellow);
    color: var(--color-yellow);
    background: transparent;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    letter-spacing: var(--tracking-normal);
    font-variant-numeric: tabular-nums;
    cursor: default;
    user-select: none;
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, transform var(--duration-fast) ease;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #425d9b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
    cursor: pointer;
    border: none;
}

.social-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.social-btn:hover {
    background: #ffffff;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 8px;
    cursor: pointer;
    padding: 9px 8px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 110;
}

.toggle-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform var(--duration-normal) ease, opacity var(--duration-normal) ease, background-color 0.25s ease;
}

.menu-toggle.is-open .toggle-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open .toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .toggle-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 淺色背景區段主導覽列對比自適應 */
/*.navbar.on-light {
    border-bottom-color: rgba(105, 122, 169, 0.24);
}

.navbar.on-light .brand-line {
    background-color: var(--color-brand-navy);
}

.navbar.on-light .brand-text {
    color: var(--color-brand-navy);
}

.navbar.on-light .menu-toggle {
    background: rgba(66, 93, 155, 0.12);
    border-color: rgba(66, 93, 155, 0.32);
}

.navbar.on-light .toggle-line {
    background-color: var(--color-brand-navy);
}

.navbar.on-light .nav-link {
    color: var(--color-brand-navy);
}

.navbar.on-light .nav-link:hover,
.navbar.on-light .nav-link.active {
    color: #1e3a8a;
    text-underline-offset: 6px;
    text-decoration-thickness: 2.5px;
}

.navbar.on-light .nav-separator {
    color: rgba(66, 93, 155, 0.45);
}

.navbar.on-light .nav-btn-invoice {
    border: 2px solid var(--color-brand-navy);
    color: var(--color-brand-navy);
}*/

/* ==========================================================================
         04. 右側捲動導覽點與右側懸浮捐款鈕 (Side Scroll-Spy & Floating CTA)
         ========================================================================== */
.side-pagination {
    position: fixed;
    right: clamp(16px, 1.8vw, 28px);
    left: auto;
    top: clamp(380px, calc(52% + var(--nav-height) * 0.35), calc(100dvh - 148px));
    transform: translateY(-50%);
    z-index: var(--z-side-nav);
    user-select: none;
}

.side-nav-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.side-nav-track {
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    transition: background-color 0.25s ease;
}

.side-nav-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffdd76 0%, var(--color-yellow) 55%, var(--color-brand-gold) 100%);
    box-shadow: 0 0 8px rgba(248, 206, 86, 0.45);
    transform-origin: top center;
    transform: scaleY(0);
    will-change: transform;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.side-dot {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.side-dot:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
    border-radius: 50%;
}

.side-dot-halo {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(248, 206, 86, 0.58);
    background: rgba(248, 206, 86, 0.14);
    opacity: 0;
    transform: scale(0.55);
    pointer-events: none;
    transition: opacity 0.22s var(--transition-timing), transform 0.25s var(--transition-timing), border-color 0.22s ease, background-color 0.22s ease;
}

.side-dot-core {
    position: relative;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    transition: transform 0.24s var(--transition-timing), background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.side-dot.is-passed:not(.active) .side-dot-core {
    background: #334155;
    border-color: var(--color-yellow);
}

.side-dot:hover:not(.active) .side-dot-core,
.side-dot:focus-visible:not(.active) .side-dot-core {
    transform: scale(1.26);
    background: #7487a5;
    border-color: #ffffff;
}

.side-dot.active .side-dot-core {
    transform: scale(1.45);
    background: var(--color-yellow);
    border-color: #fffbeb;
    box-shadow: 0 0 12px rgba(248, 206, 86, 0.72);
}

.side-dot.active .side-dot-halo {
    opacity: 1;
    transform: scale(1);
}

.side-dot-capsule {
    position: absolute;
    right: calc(100% + 10px);
    left: auto;
    top: 50%;
    transform: translateY(-50%) translateX(8px) scale(0.94);
    transform-origin: right center;
    opacity: 0;
    pointer-events: none;
    padding: 4px 13px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: var(--fw-normal);
    line-height: 1.35;
    letter-spacing: 0.04em;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: opacity 0.22s var(--transition-timing), transform 0.24s var(--transition-timing), background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.side-dot.active .side-dot-capsule {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(248, 206, 86, 0.72);
    color: var(--color-yellow);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42), 0 0 12px rgba(248, 206, 86, 0.16);
}

.side-dot:hover .side-dot-capsule,
.side-dot:focus-visible .side-dot-capsule {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

.side-nav-rail:has(.side-dot:not(.active):hover) .side-dot.active:not(:hover) .side-dot-capsule {
    opacity: 0.52;
}

/* 淺色背景區段側邊導覽對比自適應 */
.side-pagination.on-light .side-nav-track {
    background: rgba(105, 122, 169, 0.28);
}

.side-pagination.on-light .side-nav-progress {
    background: linear-gradient(180deg, #7487a5 0%, var(--color-brand-navy) 100%);
    box-shadow: 0 0 6px rgba(66, 93, 155, 0.24);
}

.side-pagination.on-light .side-dot:focus-visible {
    outline-color: var(--color-brand-navy);
}

.side-pagination.on-light .side-dot-core {
    background: var(--color-paper-warm);
    border-color: rgba(105, 122, 169, 0.62);
    box-shadow: 0 2px 5px rgba(66, 93, 155, 0.14);
}

.side-pagination.on-light .side-dot.is-passed:not(.active) .side-dot-core {
    background: #e4eaf6;
    border-color: var(--color-brand-navy);
}

.side-pagination.on-light .side-dot:hover:not(.active) .side-dot-core,
.side-pagination.on-light .side-dot:focus-visible:not(.active) .side-dot-core {
    background: var(--color-brand-slate);
    border-color: var(--color-brand-navy);
}

.side-pagination.on-light .side-dot.active .side-dot-core {
    background: var(--color-brand-gold);
    border-color: var(--color-brand-navy);
    box-shadow: 0 0 10px rgba(252, 200, 0, 0.55), 0 2px 6px rgba(66, 93, 155, 0.28);
}

.side-pagination.on-light .side-dot.active .side-dot-halo {
    border-color: rgba(66, 93, 155, 0.42);
    background: rgba(252, 200, 0, 0.18);
}

.side-pagination.on-light .side-dot-capsule {
    background: rgba(105, 122, 169, 0.94);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(66, 93, 155, 0.2);
}

.side-pagination.on-light .side-dot.active .side-dot-capsule {
    background: rgba(66, 93, 155, 0.95);
    border-color: rgba(248, 206, 86, 0.75);
    color: #ffdf75;
    box-shadow: 0 6px 16px rgba(66, 93, 155, 0.26);
}

/* 右側懸浮「點我捐款」按鈕 */
.floating-donate-btn {
    position: fixed;
    top: clamp(92px, 12.5dvh, 138px);
    right: clamp(10px, 2vw, 30px);
    z-index: 94;
    width: clamp(120px, 9.4vw, 180px);
    aspect-ratio: 190.07 / 196.85;
    display: block;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(20px, 0, 0);
    transition:
        opacity 0.45s var(--transition-timing),
        transform 0.45s var(--transition-timing),
        visibility 0.45s;
    will-change: opacity, transform;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-donate-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.floating-donate-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
    transition: transform var(--duration-fast) var(--transition-timing), filter var(--duration-fast) ease;
}

.floating-donate-btn.is-visible:hover .floating-donate-img,
.floating-donate-btn.is-visible:focus-visible .floating-donate-img {
    transform: translateY(-4px) scale(1.04);
    filter: drop-shadow(0 12px 24px rgba(246, 110, 60, 0.36));
}

.floating-donate-btn:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 4px;
    border-radius: 50%;
}

.floating-donate-btn.is-visible:active .floating-donate-img {
    transform: translateY(-1px) scale(0.98);
}

/* ==========================================================================
         05. 進場動效與首頁／GOOLAO GPT 滿版區段 (Motion, Hero Video & GPT)
         ========================================================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--transition-timing), transform 0.75s var(--transition-timing);
}

.anim-delay-1 {
    transition-delay: 0.08s;
}

.anim-delay-2 {
    transition-delay: 0.18s;
}

.anim-delay-3 {
    transition-delay: 0.28s;
}

.anim-delay-4 {
    transition-delay: 0.38s;
}

.fullscreen-section.is-active .anim-fade-up,
.fullscreen-section.is-revealed .anim-fade-up {
    opacity: 1;
    transform: translateY(0);
}

#home {
    background: #000000;
}

.video-bg-container {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    bottom: 0;
    height: calc(100% - var(--nav-height));
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.video-bg-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    display: block;
    width: calc((100dvh - var(--nav-height)) * 1.7778);
    height: calc(100dvh - var(--nav-height));
}

@media (min-width: 1025px) and (min-aspect-ratio: 16/9) {
    .video-bg-iframe {
        top: 0;
        transform: translateX(-50%);
    }
}

.video-dark-overlay {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: var(--z-bg);
    pointer-events: none;
}

/* 影片聲音開關按鈕 (預設開啟有聲音，支援即時切換控制) */
.home-audio-toggle {
    position: absolute;
    right: clamp(15px, 2.8vw, 35px);
    top: clamp(80px, 3.2vh, 30px);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 35px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: clamp(0.82rem, 0.9vw, 0.92rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
    transition: all var(--duration-fast) var(--transition-timing);
    user-select: none;
}

.home-audio-toggle:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(248, 208, 71, 0.75);
    color: var(--color-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
}

.home-audio-toggle:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 3px;
}

.home-audio-toggle:active {
    transform: translateY(0) scale(0.97);
}

.audio-toggle-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.audio-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.home-audio-toggle.is-sound-on .audio-icon-unmuted {
    display: block;
}

.home-audio-toggle.is-sound-on .audio-icon-muted {
    display: none;
}

.home-audio-toggle.is-muted {
    background: rgba(15, 23, 42, 0.82);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.22);
}

.home-audio-toggle.is-muted .audio-icon-unmuted {
    display: none;
}

.home-audio-toggle.is-muted .audio-icon-muted {
    display: block;
    color: #f87171;
}

.scroll-down-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    z-index: 10;
    transition: color var(--duration-normal) ease;
}

.scroll-down-hint:hover {
    color: var(--color-yellow);
}

.mouse-icon {
    width: 18px;
    height: 28px;
    border: 2px solid currentColor;
    border-radius: 10px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 5px;
    background-color: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelBob 1.6s infinite ease-in-out;
}

@keyframes wheelBob {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    80% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }

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

#goolao-gpt {
    display: block;
    background-color: var(--color-bg-base);
}

.seamless-iframe-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    overflow: hidden;
    z-index: var(--z-bg);
}

.seamless-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    display: block;
    background-color: var(--color-bg-base);
}

/* ==========================================================================
         06. 寒冬助老 (#winter-aid)
         ========================================================================== */
#winter-aid {
    background: var(--color-bg-winter) url('../img/winter-aid-bg.jpg') center center / cover no-repeat;
}

.winter-aid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1170px;
    height: clamp(95%, 95dvh, 896px);
    padding: calc(var(--nav-height) + clamp(14px, 2.2dvh, 28px)) var(--gutter-desktop) clamp(24px, 3.6dvh, 40px);
    position: relative;
    z-index: 2;
}

.aid-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 50px);
    width: 100%;
    flex: 1;
    min-height: 0;
}

.aid-typo-left,
.aid-typo-right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(15px, 1.8vw, 20px);
    user-select: none;
}

.aid-title-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    font-weight: var(--fw-bold);
    color: var(--color-brand-gold);
    letter-spacing: var(--tracking-poem);
    line-height: 1.18;
    margin: 0;
    padding-top: 6px;
    white-space: nowrap;
}

.aid-sub-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: var(--fs-portrait-meta);
    color: #ffffff;
    font-weight: var(--fw-normal);
    letter-spacing: 0.2em;
    line-height: var(--leading-snug);
    margin: 0;
    white-space: nowrap;
}

.aid-poem-line {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: var(--fs-portrait-meta);
    color: #ffffff;
    font-weight: var(--fw-normal);
    letter-spacing: 0.2em;
    line-height: var(--leading-snug);
    white-space: nowrap;
    margin: 0;
}

.aid-poem-step-1 {
    color: var(--color-brand-gold);
    font-weight: var(--fw-bold);
    font-size: var(--fs-portrait-meta);
    letter-spacing: var(--tracking-poem);
    margin-top: 0;
}

.aid-poem-step-2 {
    margin-top: clamp(52px, 7.5dvh, 84px);
}

.aid-poem-step-3 {
    margin-top: clamp(104px, 15dvh, 164px);
}

.aid-illu-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(1170px, 85vw);
    max-height: calc(100dvh - var(--nav-height) - 136px);
    flex-shrink: 1;
}

.aid-illu-glow {
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 200, 0, 0.32) 0%, rgba(245, 158, 11, 0.15) 45%, transparent 72%);
    filter: blur(32px);
    pointer-events: none;
    z-index: 0;
    animation: warmPulse 4s ease-in-out infinite alternate;
}

@keyframes warmPulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.aid-main-illu {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - var(--nav-height) - 144px);
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 30px rgba(23, 12, 9, 0.75));
    transition: transform 0.35s ease;
}

.aid-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.6vw, 36px);
    margin-top: clamp(16px, 2.4dvh, 28px);
    flex-shrink: 0;
    flex-wrap: wrap;
    z-index: 10;
}

.aid-img-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s var(--transition-timing), filter 0.22s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.aid-img-btn:hover {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 6px 18px rgba(252, 200, 0, 0.45));
}

.aid-img-btn:focus-visible {
    outline: 2px solid var(--color-brand-gold);
    outline-offset: 4px;
    border-radius: 9999px;
}

.aid-btn-help {
    width: clamp(204px, 16vw, 251px);
    height: clamp(42px, 4.8dvh, 49px);
}

.aid-btn-goods {
    width: clamp(234px, 18vw, 285px);
    height: clamp(42px, 4.8dvh, 50px);
}

.aid-img-btn .btn-asset {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.aid-img-btn .btn-asset-default {
    opacity: 1;
}

.aid-img-btn .btn-asset-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
}

.aid-img-btn:hover .btn-asset-default {
    opacity: 0;
}

.aid-img-btn:hover .btn-asset-hover {
    opacity: 1;
}

.aid-portrait-stars,
.aid-scallop-ui {
    display: none;
}

/* ==========================================================================
         07. 角落孤老人 (#isolated-elderly)
         ========================================================================== */
#isolated-elderly {
    background: var(--color-paper-cream) url('../img/isolated-elderly-bg.jpg') bottom left / 100% auto no-repeat;
    color: var(--color-ink-warm);
}


.isolated-bg-bokeh {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-bg);
}

.isolated-bg-hills {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(110px, 19dvh, 210px);
    pointer-events: none;
    z-index: var(--z-bg);
}

.isolated-stage {
    position: relative;
    z-index: var(--z-content);
    width: 100%;
    max-width: clamp(88%, 88dvw, 1463px);
    height: 100dvh;
    margin: 0 auto;
    padding: var(--nav-height) var(--gutter-desktop) 0;
    display: grid;
    grid-template-columns: minmax(340px, 47%) minmax(340px, 53%);
    align-items: center;
    gap: clamp(24px, 3vw, 56px);
}

.isolated-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: clamp(34px, 4.6dvh, 58px) clamp(34px, 4.2vw, 70px);
    margin-bottom: clamp(30px, 20dvh, 150px);
    background: rgba(255, 246, 235, 0.58);
    border-radius: 56px;
}

.isolated-card-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.isolated-card-frame-portrait {
    display: none;
}

.isolated-title-block {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    margin-bottom: clamp(20px, 2.8dvh, 32px);
}

.isolated-kicker {
    font-size: clamp(1.28rem, 1.42vw, 1.52rem);
    font-weight: var(--fw-normal);
    color: var(--color-brand-slate);
    letter-spacing: 0.12em;
    line-height: 1.3;
    margin-bottom: 6px;
}

.isolated-heading {
    font-size: clamp(1.85rem, 3.12vw, 3.4rem);
    font-weight: var(--fw-bold);
    color: var(--color-brand-slate);
    letter-spacing: 0.06em;
    line-height: var(--leading-tight);
    margin-bottom: 12px;
    white-space: nowrap;
}

.isolated-subheading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: clamp(1.02rem, 1.92vw, 1.72rem);
    font-weight: var(--fw-normal);
    color: var(--color-brand-slate);
    line-height: 1.32;
    user-select: none;
}

.isolated-desc {
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    color: var(--color-ink-warm);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    text-align: justify;
}

.isolated-right-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: clamp(0px, 2vw, 32px);
}

.isolated-ella-composition {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.isolated-ambassador-box {
    position: absolute;
    right: 93%;
    bottom: clamp(14px, 2.4dvh, 30px);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-brand-slate);
    white-space: nowrap;
}

.amb-caption-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-bottom: 4px;
}

.amb-role {
    font-size: var(--fs-caption);
    font-weight: var(--fw-bold);
    letter-spacing: var(--tracking-wide);
    line-height: 1.35;
}

.amb-name {
    font-size: var(--fs-portrait-body);
    font-weight: var(--fw-normal);
    letter-spacing: 0.1em;
    line-height: 1.35;
}

.amb-cta {
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    letter-spacing: 0.1em;
    line-height: 1.35;
}

.amb-signature {
    width: clamp(142px, 13.2vw, 228px);
    height: auto;
    display: block;
    object-fit: contain;
    transform: translateX(-6px);
    pointer-events: none;
}

.isolated-ella-wrap {
    position: relative;
    z-index: 4;
    height: clamp(410px, 77dvh, 790px);
    max-height: calc(100dvh - var(--nav-height) - 18px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.isolated-ella-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    filter: drop-shadow(0 10px 26px rgba(105, 122, 168, 0.12));
}

/* ==========================================================================
         08. 角落孤老人真實故事輪播 (#photo-story 滿版設計 + 左右平移 Pan 模糊滑塊)
         ========================================================================== */
/* 共用多連圓波浪 SVG 按鈕內部結構 (.story-real-btn / .lightup-scallop-btn / .news-more-btn) */
.story-real-btn-svg,
.scallop-btn-bg,
.news-more-btn-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.story-real-btn-chars,
.scallop-btn-chars,
.news-more-btn-chars {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    font-weight: var(--fw-normal);
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

#photo-story {
    background: radial-gradient(ellipse 62% 65% at 50% 52%, #7f8fb8 0%, #6d7ea9 70%, #6475a2 100%);
    color: #ffffff;
}

.photo-story-paper-tex {
    position: absolute;
    inset: 0;
    background-image: url('../img/photo-story-bg.png');
    background-repeat: repeat;
    background-size: 320px 320px;
    opacity: 0.92;
    pointer-events: none;
    z-index: var(--z-bg);
}

.photo-story-top-shadow {
    height: 42px;
    z-index: 2;
    background: linear-gradient(180deg, rgba(35, 50, 92, 0.22) 0%, rgba(109, 126, 169, 0) 100%);
}

/* 左右兩側深藍五連弧舞台布幕 */
.photo-story-curtain {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(44px, 7.4vw, 142px);
    height: 100%;
    pointer-events: none;
    z-index: var(--z-curtain);
}

.photo-story-curtain-left {
    left: 0;
}

.photo-story-curtain-right {
    right: 0;
    transform: scaleX(-1);
}

.photo-story-curtain svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: var(--color-brand-navy);
}

.photo-story-curtain-horiz {
    display: none;
}

/* 舞台外框與等比例座標視窗 */
.photo-story-outer {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100dvh;
    padding-top: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-story-viewport {
    position: relative;
    width: min(86vw, 1620px, calc((100dvh - var(--nav-height) - 16px) * 1.818));
    aspect-ratio: 1600 / 880;
    container-type: inline-size;
}

.photo-story-mobile-title {
    display: none;
}

/* 滑塊軌道與單張故事卡 */
.photo-story-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.photo-story-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-140%, 0, 0);
}

.photo-story-slide.is-active,
.photo-story-slide.is-panning-in-fwd,
.photo-story-slide.is-panning-out-fwd,
.photo-story-slide.is-panning-in-rev,
.photo-story-slide.is-panning-out-rev {
    will-change: transform, filter, opacity;
}

.photo-story-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    filter: none;
    z-index: 2;
}

.photo-story-slide.is-panning-in-fwd {
    visibility: visible;
    pointer-events: none;
    z-index: 3;
    animation: photoPanInFromLeft 0.6s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.photo-story-slide.is-panning-out-fwd {
    visibility: visible;
    pointer-events: none;
    z-index: 1;
    animation: photoPanOutToRight 0.56s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.photo-story-slide.is-panning-in-rev {
    visibility: visible;
    pointer-events: none;
    z-index: 3;
    animation: photoPanInFromRight 0.6s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

.photo-story-slide.is-panning-out-rev {
    visibility: visible;
    pointer-events: none;
    z-index: 1;
    animation: photoPanOutToLeft 0.56s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

@keyframes photoPanInFromLeft {
    0% {
        transform: translate3d(-140%, 0, 0);
        filter: blur(12px);
        opacity: 0.72;
    }

    45% {
        filter: blur(8px);
        opacity: 1;
    }

    100% {
        transform: translate3d(0, 0, 0);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes photoPanOutToRight {
    0% {
        transform: translate3d(0, 0, 0);
        filter: blur(0px);
        opacity: 1;
    }

    35% {
        filter: blur(7px);
        opacity: 1;
    }

    100% {
        transform: translate3d(140%, 0, 0);
        filter: blur(14px);
        opacity: 0;
    }
}

@keyframes photoPanInFromRight {
    0% {
        transform: translate3d(140%, 0, 0);
        filter: blur(12px);
        opacity: 0.72;
    }

    45% {
        filter: blur(8px);
        opacity: 1;
    }

    100% {
        transform: translate3d(0, 0, 0);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes photoPanOutToLeft {
    0% {
        transform: translate3d(0, 0, 0);
        filter: blur(0px);
        opacity: 1;
    }

    35% {
        filter: blur(7px);
        opacity: 1;
    }

    100% {
        transform: translate3d(-140%, 0, 0);
        filter: blur(14px);
        opacity: 0;
    }
}

/* 角色大圓框與小圓框群組 */
.story-char-unit {
    position: absolute;
}

.story-unit-primary {
    left: 15.91%;
    top: 13.47%;
    width: 39.5%;
    aspect-ratio: 1 / 1;
    z-index: 3;
}

.story-slide-single .story-unit-primary {
    left: 17.97%;
}

.story-unit-secondary {
    left: 48.47%;
    top: 41.53%;
    width: 27.88%;
    aspect-ratio: 1 / 1;
    z-index: 2;
}

.story-portrait-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
    filter: drop-shadow(0 0 24px rgba(235, 240, 255, 0.32));
    transition: transform var(--duration-fast) var(--transition-timing), filter var(--duration-fast) ease;
}

.story-portrait-link:hover,
.story-portrait-link:focus-visible {
    transform: scale(1.018);
    filter: drop-shadow(0 0 30px rgba(248, 206, 86, 0.42));
}

.story-portrait-link:focus-visible {
    outline: 2px solid var(--color-story-gold);
    outline-offset: 4px;
}

.story-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* 左右直排敘事文案 */
.story-poem {
    position: absolute;
    z-index: 4;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ffffff;
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    line-height: 1.35;
    letter-spacing: 0.12em;
    margin: 0;
    user-select: none;
}

.story-poem p {
    margin: 0;
    white-space: nowrap;
}

.poem-mobile-br {
    display: none;
}

.story-poem-left {
    top: 35.45%;
    right: 86.4%;
}

.story-slide-single .story-poem-left {
    right: 84.38%;
}

.story-poem-right {
    top: 53.41%;
    right: 13.25%;
}

/* 手繪黃色「角落 / 孤老人」標題切圖 */
.story-sketch-title {
    position: absolute;
    left: 56.13%;
    top: 6.82%;
    width: 18.75%;
    aspect-ratio: 300 / 266;
    z-index: 4;
    pointer-events: none;
    user-select: none;
}

.story-slide-single .story-sketch-title {
    left: 59.88%;
    top: 28.98%;
}

.story-sketch-title img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 七連圓鏤空黃框按鈕：點擊看真實故事 */
.story-real-btn {
    position: absolute;
    left: 35.66%;
    top: 88.86%;
    transform: translateX(-50%);
    width: clamp(188px, 15.8%, 254px);
    aspect-ratio: 250 / 49;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-story-gold);
    transition: transform 0.18s var(--transition-timing), color 0.18s ease, filter 0.18s ease;
}

.story-slide-single .story-real-btn {
    left: 69.03%;
    top: 62.16%;
}

.story-real-btn-fill {
    fill: var(--color-story-yellow);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.story-real-btn-ring {
    fill: var(--color-story-gold);
    transition: fill 0.18s ease;
}

.story-real-btn-chars {
    padding: 0 3.1%;
    grid-template-columns: repeat(7, 1fr);
    font-size: var(--fs-portrait-meta);
}

.story-real-btn:hover,
.story-real-btn:focus-visible {
    color: #425d9b;
    outline: none;
}

.story-real-btn:hover .story-real-btn-fill,
.story-real-btn:focus-visible .story-real-btn-fill {
    opacity: 1;
}

.story-real-btn:hover .story-real-btn-ring,
.story-real-btn:focus-visible .story-real-btn-ring {
    fill: var(--color-story-yellow);
}

/* 左右圓角鏤空黃色三角切換按鈕 */
.photo-story-nav-btn {
    position: absolute;
    top: 46.76%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-story-gold);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s var(--transition-timing), color 0.18s ease, filter 0.18s ease;
}

.photo-story-prev {
    left: 3.16%;
}

.photo-story-next {
    left: 83.03%;
}

.photo-story-nav-btn svg {
    width: clamp(24px, 2cqw, 33px);
    height: auto;
    display: block;
    overflow: visible;
}

.photo-story-nav-btn .tri-path {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linejoin: round;
    transition: fill 0.18s ease, stroke 0.18s ease;
}

.photo-story-nav-btn:hover,
.photo-story-nav-btn:focus-visible {
    transform: translate(-50%, -50%) scale(1.14);
    color: #ffe074;
    filter: drop-shadow(0 0 12px rgba(247, 212, 87, 0.55));
    outline: none;
}

.photo-story-nav-btn:hover .tri-path,
.photo-story-nav-btn:focus-visible .tri-path {
    fill: rgba(247, 212, 87, 0.22);
}

.photo-story-nav-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* ==========================================================================
         09. 照亮角落 (#light-up 黃色援手平板標題 + 三階捐款助老服務 + 點擊成為援手人)
         ========================================================================== */
#light-up {
    color: var(--color-ink-body);
}

.lightup-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--nav-height) + clamp(10px, 2dvh, 20px)) 0 clamp(20px, 3.5dvh, 40px);
}

/* 頂部橫列：左側貼邊黃色援手平板切圖 + 右側三行引言文案 */
.lightup-top-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 56px);
    padding-right: var(--gutter-desktop);
    flex-shrink: 0;
}

.lightup-hand-banner {
    position: relative;
    flex: 0 0 auto;
    width: clamp(320px, 40vw, 740px);
    max-width: calc((100dvh - var(--nav-height)) * 0.232 * 3.078);
    margin-left: 0;
    container-type: inline-size;
    user-select: none;
}

.lightup-hand-img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 8px 20px rgba(105, 122, 168, 0.12));
}

.lightup-tablet-title {
    position: absolute;
    left: 72.2%;
    top: 51.8%;
    transform: translate(-50%, -50%) rotate(-3.05deg);
    margin: 0;
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: #ffffff;
    letter-spacing: var(--tracking-wide);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.lightup-intro-copy {
    flex: 1 1 auto;
    margin: 0;
    color: var(--color-brand-slate);
    font-size: var(--fs-lead);
    font-weight: var(--fw-bold);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
}

.lightup-intro-line {
    display: block;
}

/* 中段三欄捐款服務網格 */
.lightup-tiers-grid {
    width: 100%;
    max-width: clamp(85%, 88dvw, 1380px);
    margin: 10px auto 0;
    padding: 0 var(--gutter-desktop);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 332px));
    justify-content: space-between;
    gap: clamp(28px, 4.2vw, 76px);
    align-items: start;
}

.lightup-tier-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.lightup-illu-slot {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: clamp(8px, 1.15dvh, 14px);
}

.lightup-tier-illu {
    width: auto;
    height: clamp(170px, 18vh, 210px);
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transition: transform var(--duration-normal) var(--transition-timing);
}

.lightup-tier-col:hover .lightup-tier-illu {
    transform: translateY(-4px);
}

.lightup-tier-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--color-brand-periwinkle);
    color: #ffffff;
    border-radius: 17px;
    padding: clamp(7px, 1.05dvh, 9px) 16px clamp(8px, 1.15dvh, 10px);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(105, 122, 168, 0.12);
    transition: transform 0.24s var(--transition-timing), background-color 0.24s ease, box-shadow 0.24s ease;
}

.lightup-tier-badge:hover,
.lightup-tier-badge:focus-visible {
    background-color: var(--color-brand-periwinkle-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(105, 122, 168, 0.24);
}

.lightup-tier-badge:focus-visible {
    outline: 2px solid var(--color-brand-navy);
    outline-offset: 3px;
}

.tier-amount-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1.1;
    margin-bottom: 4px;
    white-space: nowrap;
}

.tier-amt-prefix,
.tier-amt-unit {
    font-size: clamp(1.06rem, 1.38vw, 1.52rem);
    font-weight: var(--fw-bold);
    letter-spacing: 0.06em;
}

.tier-amt-dollar {
    font-size: clamp(1.2rem, 1.58vw, 1.76rem);
    font-weight: var(--fw-bold);
    margin: 0 2px 0 3px;
}

.tier-amt-num {
    font-size: clamp(1.44rem, 2vw, 2.24rem);
    font-weight: var(--fw-bold);
    letter-spacing: var(--tracking-tight);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tier-amt-num.tier-num-wide {
    letter-spacing: 0.12em;
    margin-left: 3px;
}

.tier-sub-line {
    font-size: clamp(1.04rem, 1.34vw, 1.48rem);
    font-weight: var(--fw-bold);
    letter-spacing: var(--tracking-wide);
    line-height: 1.24;
    white-space: nowrap;
}

.lightup-tier-desc {
    width: 100%;
    margin: clamp(12px, 1.7dvh, 20px) 0 0;
    color: var(--color-ink-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    text-align: justify;
}

/* 底部置中七連圓波浪按鈕：點擊成為援手人 */
.lightup-cta-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.lightup-scallop-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(188px, 12%, 248px);
    aspect-ratio: 250 / 49;
    text-decoration: none;
    color: #ffffff;
    filter: drop-shadow(0 5px 14px rgba(66, 93, 155, 0.24));
    transition: transform var(--duration-fast) var(--transition-timing), color var(--duration-fast) ease, filter var(--duration-fast) ease;
}

.scallop-btn-fill {
    fill: var(--color-brand-navy);
    opacity: 1;
    transition: opacity var(--duration-fast) ease;
}

.scallop-btn-ring {
    fill: var(--color-brand-navy);
}

.scallop-btn-chars {
    padding: 0 3.1%;
    grid-template-columns: repeat(7, 1fr);
    font-size: var(--fs-portrait-meta);
}

.lightup-scallop-btn:hover,
.lightup-scallop-btn:focus-visible {
    transform: translateY(-2px) scale(1.03);
    color: var(--color-brand-navy);
    filter: drop-shadow(0 4px 10px rgba(66, 93, 155, 0.16));
    outline: none;
}

.lightup-scallop-btn:hover .scallop-btn-fill,
.lightup-scallop-btn:focus-visible .scallop-btn-fill {
    opacity: 0;
}

/* ==========================================================================
         10. 角落消息 (#news 黃色擁抱角色 + 圓角白底消息看板 + 四連圓標題與按鈕)
         ========================================================================== */
#news {
    color: var(--color-brand-navy);
}

.news-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.4dvh, 26px);
    padding: calc(var(--nav-height) + clamp(84px, 16dvh, 144px)) var(--gutter-desktop) clamp(16px, 5dvh, 30px);
}

/* 中央白底圓角消息看板外框（黃色擁抱角色與左上角標題徽章定位錨點） */
.news-board-wrap {
    position: relative;
    width: min(90vw, 1480px, calc((100dvh - var(--nav-height)) * 1.3));
    flex: 0 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

.news-hug-shoulders {
    position: absolute;
    left: 10%;
    top: 0;
    width: 80%;
    height: auto;
    transform: translateY(-70.5%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: block;
}

.news-hug-arm-back {
    position: absolute;
    top: 16.86%;
    width: 15.22%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: block;
}

.news-hug-arm-left-back {
    left: 0;
    transform: translateX(-34.42%);
}

.news-hug-arm-right-back {
    right: 0;
    transform: translateX(34.88%);
}

.news-hug-head {
    position: absolute;
    left: 50%;
    top: 0;
    width: 15.71%;
    height: auto;
    transform: translate(-50%, -80.6%);
    z-index: 3;
    pointer-events: none;
    user-select: none;
    display: block;
}

.news-hug-hand-front {
    position: absolute;
    top: 16.86%;
    width: 15.22%;
    height: auto;
    z-index: 3;
    pointer-events: none;
    user-select: none;
    display: block;
}

.news-hug-hand-left {
    left: 0;
    transform: translateX(-34.42%);
}

.news-hug-hand-right {
    right: 0;
    transform: translateX(34.88%);
}

.news-hug-shoulders-portrait,
.news-hug-hand-portrait {
    display: none;
}

/* 左上角四連圓波浪標題徽章：角落消息 */
.news-title-badge {
    position: absolute;
    left: 8.35%;
    top: -15px;
    transform: translateY(-51.6%);
    width: clamp(198px, 28%, 300px);
    aspect-ratio: 375 / 124;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    user-select: none;
    filter: drop-shadow(0 4px 12px rgba(66, 93, 155, 0.14));
}

.news-title-badge-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    fill: var(--color-brand-slate);
}

.news-title-badge-chars {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5.38%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    color: #ffffff;
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: 0;
}

/* 白底圓角看板本體 */
.news-board {
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: #ffffff;
    border: 3.5px solid var(--color-brand-periwinkle);
    border-radius: clamp(22px, 2.3vw, 34px);
    padding: clamp(32px, 4.6dvh, 52px) 10.6% clamp(20px, 3.2dvh, 38px) 12%;
    box-shadow: 0 10px 30px rgba(105, 122, 169, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.news-list {
    list-style: none;
    margin: 0 -12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1.1dvh, 12px);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    scrollbar-color: rgba(154, 165, 211, 0.55) transparent;
}

.news-list::-webkit-scrollbar-thumb {
    background: rgba(154, 165, 211, 0.55);
}

.news-list-item {
    margin: 0;
    padding: 0;
}

.news-row {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: clamp(5px, 0.65dvh, 9px) 12px;
    margin: 0;
    display: grid;
    grid-template-columns: clamp(98px, 9vw, 128px) minmax(0, 1fr);
    column-gap: clamp(16px, 1.8vw, 28px);
    align-items: start;
    text-align: left;
    text-decoration: none;
    font-family: inherit;
    color: var(--color-brand-navy);
    cursor: pointer;
    min-height: clamp(36px, 4.6dvh, 48px);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.news-row:hover,
.news-row:focus-visible {
    background-color: rgba(154, 165, 211, 0.12);
    color: var(--color-brand-navy-dark);
    transform: translateX(3px);
    outline: none;
}

.news-row-date {
    font-size: var(--fs-caption);
    font-weight: var(--fw-normal);
    line-height: var(--leading-tight);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: inherit;
}

.news-row-title {
    font-size: var(--fs-body);
    font-weight: var(--fw-normal);
    line-height: var(--leading-tight);
    letter-spacing: 0.04em;
    color: inherit;
    display: block;
}

.news-title-line {
    display: block;
}

/* 底部置中四連圓波浪按鈕：了解更多 */
.news-cta-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.news-more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(124px, 6vw, 148px);
    aspect-ratio: 149 / 47;
    text-decoration: none;
    color: #ffffff;
    filter: drop-shadow(0 5px 14px rgba(66, 93, 155, 0.24));
    transition: transform var(--duration-fast) var(--transition-timing), color var(--duration-fast) ease, filter var(--duration-fast) ease;
}

.news-more-btn-fill {
    fill: var(--color-brand-navy);
    opacity: 1;
    transition: opacity var(--duration-fast) ease;
}

.news-more-btn-ring {
    fill: var(--color-brand-navy);
}

.news-more-btn-chars {
    padding: 0 4.36%;
    grid-template-columns: repeat(4, 1fr);
    font-size: var(--fs-portrait-meta);
}

.news-more-btn:hover,
.news-more-btn:focus-visible {
    transform: translateY(-2px) scale(1.03);
    color: var(--color-brand-navy);
    filter: drop-shadow(0 4px 10px rgba(66, 93, 155, 0.16));
    outline: none;
}

.news-more-btn:hover .news-more-btn-fill,
.news-more-btn:focus-visible .news-more-btn-fill {
    opacity: 0;
}

/* ==========================================================================
         11. 角落引光者與網站頁尾 (#supporters & .site-footer)
         ========================================================================== */
#supporters {
    color: var(--color-brand-bronze);
    justify-content: space-between;
    align-items: stretch;
}

.supporters-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + clamp(18px, 3.8dvh, 52px)) var(--gutter-desktop) clamp(16px, 2.8dvh, 34px);
}

/* 頂部流星緞帶標題與凹弧下方副標組合 */
.supporters-header-group {
    position: relative;
    width: min(56vw, 940px, calc((100dvh - var(--nav-height) - 115px) * 1.22));
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.supporters-star-banner {
    position: relative;
    width: 100%;
    margin: 0;
    aspect-ratio: 1128.91 / 326.94;
    user-select: none;
}

.supporters-star-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.supporters-subtitle {
    position: relative;
    z-index: 2;
    margin: -4.55% 0 0;
    text-align: center;
    color: var(--color-brand-bronze);
    font-size: var(--fs-lead);
    font-weight: var(--fw-bold);
    line-height: 1.62;
    letter-spacing: var(--tracking-normal);
}

.supporters-sub-line {
    display: block;
}

.supporters-mobile-br {
    display: none;
}

.supporters-tel-link {
    color: inherit;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    letter-spacing: var(--tracking-tight);
    transition: color 0.18s ease;
}

.supporters-tel-link:hover,
.supporters-tel-link:focus-visible {
    color: #6d4c22;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

/* 企業單位 Logo 區塊：一行 5 個、置中排列、多列可捲動 */
.supporters-patron-scroll {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(22px, 4.6dvh, 54px);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px 14px;
    scrollbar-color: rgba(190, 149, 92, 0.45) transparent;
}

.supporters-patron-scroll::-webkit-scrollbar-thumb {
    background: rgba(190, 149, 92, 0.45);
}

.supporters-patron {
    --patron-gap-x: clamp(18px, 2.1vw, 32px);
    --patron-gap-y: clamp(16px, 2.1dvh, 24px);
    --patron-logo-w: clamp(136px, 11.5vw, 180px);
    width: 100%;
    max-width: calc(var(--patron-logo-w) * 5 + var(--patron-gap-x) * 4);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: var(--patron-gap-x);
    row-gap: var(--patron-gap-y);
}

.supporters-logo-link {
    flex: 0 0 calc((100% - var(--patron-gap-x) * 4 - 0.5px) / 5);
    max-width: var(--patron-logo-w);
    aspect-ratio: 180 / 72;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.18s var(--transition-timing), filter 0.18s ease;
}

.supporters-logo-link:hover,
.supporters-logo-link:focus-visible {
    transform: translateY(-2px) scale(1.02);
    outline-offset: 3px;
}

.supporters-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 網站底部 Footer 區塊 */
.site-footer {
    position: relative;
    z-index: var(--z-content);
    width: 100%;
    flex-shrink: 0;
    background-color: var(--color-brand-slate);
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: clamp(20px, 2.4vw, 44px);
    padding: clamp(16px, 2dvh, 24px) var(--gutter-desktop) clamp(18px, 2.4dvh, 28px);
}

.footer-brand {
    justify-self: start;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: clamp(180px, 13vw, 248px);
    margin-top: 2px;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.18s ease, transform 0.18s var(--transition-timing);
}

.footer-brand:hover,
.footer-brand:focus-visible {
    opacity: 0.92;
    transform: translateY(-1px);
}

.footer-brand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.78);
    outline-offset: 4px;
}

.footer-brand-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 248 / 34;
    object-fit: contain;
    display: block;
}

.footer-brand-sub {
    width: 98.4%;
    margin-top: clamp(5px, 0.65dvh, 8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.8rem, 0.95vw, 1.1rem);
    font-weight: var(--fw-lighter);
    line-height: 1;
    color: #ffffff;
    user-select: none;
}

.footer-info {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(4px, 0.6dvh, 7px);
    font-size: var(--fs-caption);
    font-weight: var(--fw-lighter);
    line-height: 1.2;
    letter-spacing: var(--tracking-normal);
    color: #ffffff;
}

.footer-info-line {
    margin: 0;
    white-space: nowrap;
}

.footer-mail-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-mail-link:hover,
.footer-mail-link:focus-visible {
    color: var(--color-yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

.footer-inline-seg {
    display: inline;
}

.footer-mobile-sp,
.footer-mobile-gap,
.footer-mobile-br,
.footer-mobile-permit {
    display: none;
}

.footer-grid-spacer {
    pointer-events: none;
}

/* ==========================================================================
         12. 響應式斷點系統 (Responsive Breakpoints: 由大至小統一管理)
         ========================================================================== */
/* 12.1 緊湊桌機橫列導覽微調 (1281px – 1400px) */
@media (max-width: 1400px) and (min-width: 1281px) {
    .navbar {
        padding: 0 20px;
    }

    .brand-text {
        font-size: 1.1rem;
        letter-spacing: 0.11em;
    }

    .nav-menu {
        margin: 0 10px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 7px 9px;
    }

    .nav-separator {
        padding: 0 2px;
    }

    .nav-actions {
        gap: 9px;
    }

    .nav-btn-invoice {
        padding: 5px 11px;
        font-size: 0.86rem;
    }
}

/* 12.2 平板橫向、平板直式與行動版：統一為直式下拉選單、隱藏右側導覽點；首頁影片與 GOOLAO GPT 保留滿版鎖定與強制吸附，其餘區塊依內容自適應高度 */
@media (max-width: 1180px),
(max-width: 1376px) and (hover: none) and (pointer: coarse),
(max-width: 1376px) and (min-height: 900px) {
    .scroll-container {
        scroll-snap-type: y mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-container.is-free-scroll-zone {
        scroll-snap-type: none;
    }

    .fullscreen-section {
        height: auto;
        min-height: 100dvh;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        overflow-x: clip;
        overflow-y: visible;
    }

    /* 首頁背景影片與 GOOLAO GPT 保留固定 100dvh 滿版鎖定與強制分頁吸附 */
    #home,
    #goolao-gpt {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: 100dvh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        overflow: hidden;
    }

    /* 寒冬助老頂端作為離開 GOOLAO GPT 時的對齊錨點，進入內容區後即自動切換為自由捲動 */
    #winter-aid {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* 平板橫向各內容區塊高度依內容自動延展，移除內部巢狀捲軸與 dvh 裁切 */
    .winter-aid-container {
        height: auto;
        min-height: 0;
        padding: calc(var(--nav-height) + clamp(32px, 4.5vw, 56px)) clamp(32px, 4.8vw, 68px) clamp(44px, 5.5vw, 72px);
    }

    .isolated-heading {
        font-size: clamp(1.85rem, 3.92vw, 3.4rem);
    }

    .aid-illu-col {
        max-width: min(42vw, 480px);
        max-height: none;
    }

    .aid-main-illu {
        max-height: none;
    }

    .isolated-stage {
        height: auto;
        min-height: 100dvh;
        padding: calc(var(--nav-height) + clamp(32px, 4.5vw, 56px)) 1vw 0;
        grid-template-columns: minmax(320px, 48%) minmax(300px, 52%);
        gap: clamp(20px, 2.8vw, 44px);
    }

    .isolated-card {
        margin-bottom: clamp(36px, 25dvw, 180px);
        padding: clamp(28px, 3.8vw, 48px) clamp(28px, 3.6vw, 56px);
    }

    .isolated-right-scene {
        height: auto;
        align-self: end;
    }

    .isolated-ella-composition {
        height: auto;
    }

    .isolated-ella-wrap {
        width: min(38vw, 440px);
        height: auto;
        max-height: none;
    }

    .isolated-ella-img {
        width: 100%;
        height: auto;
    }

    #photo-story {
        overflow: hidden;
    }

    .photo-story-outer {
        height: auto;
        min-height: 0;
        padding: calc(var(--nav-height) + clamp(15px, 1.5dvh, 44px)) 0 clamp(32px, 11vw, 100px);
    }

    .photo-story-viewport {
        width: min(86vw, 1140px);
    }

    .lightup-stage {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        gap: clamp(28px, 4vw, 48px);
        padding: calc(var(--nav-height) + clamp(24px, 3.6vh, 42px)) 0 clamp(44px, 5.5vh, 68px);
    }

    .lightup-hand-banner {
        max-width: none;
        width: clamp(300px, 38vw, 560px);
    }

    .lightup-illu-slot {
        height: clamp(120px, 14vw, 176px);
    }

    .news-stage {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        gap: clamp(22px, 3vw, 34px);
        padding: calc(var(--nav-height) + min(9.2vw, 110px) + clamp(24px, 3vw, 36px)) clamp(36px, 5vw, 72px) clamp(44px, 5.5vw, 68px);
    }

    .news-board-wrap {
        width: min(82vw, 960px);
        max-height: none;
    }

    .news-board {
        overflow: visible;
        padding: clamp(34px, 4.2vw, 48px) 10.2% clamp(26px, 3.2vw, 38px) 11.2%;
    }

    .news-list {
        overflow: visible;
        gap: clamp(8px, 1.2vw, 14px);
    }

    .supporters-stage {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        padding: calc(var(--nav-height) + clamp(24px, 3.6vw, 44px)) clamp(36px, 5vw, 72px) clamp(44px, 5.5vw, 68px);
    }

    .supporters-header-group {
        width: min(64vw, 760px);
    }

    .supporters-patron-scroll {
        flex: 0 0 auto;
        overflow: visible;
        margin-top: clamp(28px, 4vw, 48px);
        padding: 0;
    }

    .side-pagination {
        display: none;
    }

    .navbar {
        padding: 0 20px;
    }

    .brand-text {
        font-size: clamp(1.32rem, 1.42vw, 1.26rem);
    }

    .brand-line {
        display: none;
    }

    .menu-toggle {
        display: flex;
        width: 62px;
        height: 42px;
        padding: 10px 9px;
    }

    .navbar.menu-open {
        background: rgba(116, 135, 165, 0.98);
        border-bottom-color: rgba(255, 255, 255, 0.18);
    }

    .navbar.menu-open .brand-line,
    .navbar.menu-open .toggle-line {
        background-color: #ffffff;
    }

    .navbar.menu-open .brand-text {
        color: #ffffff;
    }

    .navbar.menu-open .menu-toggle {
        background: rgba(255, 255, 255, 0);
        border-color: rgba(255, 255, 255, 0);
    }

    .nav-drawer {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100dvh - var(--nav-height));
        background: rgba(116, 135, 165, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: clamp(16px, 3dvh, 24px) 20px clamp(24px, 4dvh, 36px);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.32s var(--transition-timing), opacity 0.28s ease, visibility 0.32s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        overflow-y: auto;
    }

    .nav-drawer.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        gap: clamp(3px, 0.7dvh, 6px);
        margin: 0;
    }

    .nav-item {
        width: 100%;
        justify-content: center;
    }

    .nav-separator {
        display: none;
    }

    .nav-link,
    .navbar.on-light .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: clamp(40px, 5.8dvh, 44px);
        font-size: 1.12rem;
        width: 100%;
        text-align: center;
        padding: 8px 16px;
        color: #ffffff;
        text-decoration: none;
    }

    .nav-link:hover,
    .navbar.on-light .nav-link:hover {
        color: var(--color-nav-active);
        text-decoration: none;
    }

    .nav-link.active,
    .navbar.on-light .nav-link.active {
        color: var(--color-nav-active);
        text-decoration: none;
    }

    .nav-actions {
        display: grid;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 360px;
        margin-top: clamp(12px, 2dvh, 16px);
        padding-top: clamp(14px, 2.2dvh, 18px);
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .nav-btn-invoice,
    .navbar.on-light .nav-btn-invoice {
        padding: 6px 14px;
        font-size: 0.9rem;
        border-color: var(--color-yellow);
        color: var(--color-yellow);
    }

    .nav-btn-invoice:hover,
    .navbar.on-light .nav-btn-invoice:hover {
        background: var(--color-yellow);
        border-color: var(--color-yellow);
        color: #3b495d;
    }

    .social-icons {
        gap: 10px;
    }

    .social-btn,
    .navbar.on-light .social-btn {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.92);
        color: #556784;
    }

    .social-btn:hover,
    .navbar.on-light .social-btn:hover {
        background: #ffffff;
        color: #1e293b;
    }

    .social-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* 12.3 小尺寸筆電與平板橫向容器微調 (<=1180px) */
@media (max-width: 1180px) {
    .lightup-intro-line {
        display: inline;
    }

    .lightup-top-row {
        padding-right: 15dvw;
        gap: 22px;
    }

    .lightup-tiers-grid {
        gap: 60px;
        padding: 0 20px;
    }

    .news-board-wrap {
        width: min(72vw, 960px);
    }

    .news-board {
        padding-left: 11.2%;
        padding-right: 10.2%;
    }

    .news-title-line {
        display: inline;
    }
}

/* 12.4 窄版橫向頁尾堆疊 (<=1120px) */
@media (max-width: 1120px) {

    /* 7. 網站底部 Footer (.site-footer) */
    .site-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--color-brand-slate);
        row-gap: clamp(20px, 5vw, 36px);
        padding: clamp(36px, 9.5vw, 72px) 5vw clamp(38px, 9.5vw, 72px);
        z-index: var(--z-side-nav);
    }

    .footer-grid-spacer,
    .footer-desktop-permit {
        display: none;
    }

    .footer-brand {
        width: min(86vw, 620px);
        margin-top: 0;
        border-top: 1.5px solid rgba(255, 255, 255, 0.88);
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.88);
        padding: clamp(14px, 3.2vw, 24px) 0 clamp(16px, 3.6vw, 28px);
        border-radius: 0px;
    }

    .footer-brand-logo {
        width: 70%;
        max-width: 320px;
    }

    .footer-brand-sub {
        width: 70%;
        max-width: 320px;
        margin-top: clamp(6px, 1.5vw, 11px);
        font-size: clamp(0.88rem, 3.5vw, 1.56rem);
    }

    .footer-info {
        width: 100%;
        max-width: 660px;
        line-height: 1.5;
        gap: 2px;
    }

    .footer-info-line {
        white-space: nowrap;
    }

    .footer-inline-seg,
    .footer-mobile-sp,
    .footer-mobile-gap,
    .footer-mobile-br,
    .footer-mobile-permit {
        display: inline;
    }
}

/* 12.4b 平板窄橫向與直式懸浮捐款按鈕位置 (<=1024px) */
@media (max-width: 1024px) {
    .floating-donate-btn {
        top: auto;
        bottom: 5dvh;
    }

    .story-poem-right {
        right: 12%;
    }
}

/* 12.5 平板直式 (<=1024px Portrait) 與手機介面 (<=860px) 統一排版系統（各區塊長度完全依內容自適應） */
@media (max-width: 860px),
(max-width: 1024px) and (orientation: portrait) {

    /* 0. 首頁滿版背景影片切換為 9:16 Shorts 直式滿版影片 */
    .video-bg-iframe {
        width: calc((100dvh - var(--nav-height)) * 0.5625);
        height: calc(100dvh - var(--nav-height));
    }

    /* 1. 寒冬助老 (#winter-aid) */
    #winter-aid {
        height: auto;
        min-height: 0;
        background:
            radial-gradient(ellipse 80% 38% at 50% 57%, rgba(176, 112, 54, 0.46) 0%, rgba(96, 50, 22, 0.3) 48%, rgba(22, 11, 7, 0) 78%),
            var(--color-bg-winter-portrait);
    }

    .winter-aid-container {
        max-width: 768px;
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        padding: calc(var(--nav-height) + clamp(30px, 6.2vw, 54px)) var(--gutter-portrait) clamp(80px, 10vw, 84px);
    }

    .aid-stage {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        flex: 0 0 auto;
        min-height: 0;
    }

    .aid-typo-right {
        order: 1;
        width: min(90%, 580px);
        writing-mode: horizontal-tb;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: clamp(4px, 1vw, 8px);
    }

    .aid-poem-line {
        writing-mode: horizontal-tb;
        font-size: clamp(1.04rem, 3.65vw, 1.62rem);
        font-weight: var(--fw-normal);
        color: #ffffff;
        line-height: 1.54;
        letter-spacing: 0.055em;
        margin-top: 0 !important;
    }

    .aid-poem-step-1 {
        order: 1;
        color: #f8d047;
        margin-top: 0 !important;

    }

    .aid-poem-step-2 {
        order: 2;
        margin-top: 0 !important;
    }

    .aid-poem-step-3 {
        order: 3;
        margin-top: 0 !important;
    }

    .aid-typo-left {
        order: 2;
        width: min(90%, 580px);
        writing-mode: horizontal-tb;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: clamp(4px, 1vw, 8px);
        margin-top: clamp(18px, 4.2vw, 34px);
    }

    .aid-sub-vertical {
        order: 1;
        letter-spacing: 0.05em;
        writing-mode: horizontal-tb;
        color: #ffffff;

    }

    .aid-title-vertical {
        order: 2;
        writing-mode: horizontal-tb;

    }

    .aid-illu-col {
        order: 3;
        width: min(86vw, 600px);
        max-width: 100%;
        max-height: none;
        margin: clamp(60px, 7.2vw, 60px) auto clamp(60px, 7.2vw, 60px);
    }

    .aid-illu-glow {
        width: 108%;
        height: 108%;
        background: radial-gradient(circle, rgba(252, 196, 36, 0.28) 0%, rgba(217, 130, 32, 0.14) 50%, transparent 74%);
    }

    .aid-portrait-stars {
        display: block;
        position: absolute;
        inset: -20% -11% -18% -9%;
        width: 120%;
        height: 138%;
        pointer-events: none;
        z-index: 0;
        overflow: visible;
    }

    .aid-main-illu {
        width: 100%;
        height: auto;
        max-height: none;
        filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.62));
    }

    .aid-btn-group {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(16px, 3.6vw, 28px);
        margin-top: clamp(8px, 2vw, 18px);
        width: 100%;
    }

    .aid-btn-help {
        width: auto;
        height: clamp(30px, 5dvh, 35px);
        aspect-ratio: 250 / 49;
    }

    .aid-btn-goods {
        width: auto;
        height: clamp(30px, 5dvh, 35px);
        aspect-ratio: 283.5 / 49;
    }

    .aid-scallop-ui {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #f8c822;
        transition: color var(--duration-fast) ease;
    }

    .aid-scallop-svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    .aid-scallop-fill {
        fill: #f8c822;
        opacity: 0;
        transition: opacity var(--duration-fast) ease;
    }

    .aid-scallop-ring {
        fill: #f8c822;
        transition: fill var(--duration-fast) ease;
    }

    .aid-scallop-chars {
        position: relative;
        z-index: 2;
        width: 100%;
        display: grid;
        align-items: center;
        justify-items: center;
        font-size: clamp(0.98rem, 3.5vw, 1.66rem);
        font-weight: var(--fw-bold);
        line-height: 1;
        white-space: nowrap;
        user-select: none;
    }

    .aid-scallop-7 .aid-scallop-chars {
        padding: 0 3.1%;
        grid-template-columns: repeat(7, 1fr);
    }

    .aid-scallop-8 .aid-scallop-chars {
        padding: 0 2.7%;
        grid-template-columns: repeat(8, 1fr);
    }

    .aid-img-btn:hover .aid-scallop-ui,
    .aid-img-btn:focus-visible .aid-scallop-ui,
    .aid-img-btn:active .aid-scallop-ui {
        color: #6d4512;
    }

    .aid-img-btn:hover .aid-scallop-fill,
    .aid-img-btn:focus-visible .aid-scallop-fill,
    .aid-img-btn:active .aid-scallop-fill {
        opacity: 1;
    }

    /* 2. 角落孤老人 (#isolated-elderly) */
    #isolated-elderly {
        height: auto;
        min-height: 0;
        background: #fff6eb url('../img/isolated-elderly-bgs.jpg') bottom center / 100% auto no-repeat;
    }

    .isolated-bg-hills {
        height: clamp(92px, 18vw, 175px);
    }

    .isolated-stage {
        height: auto;
        min-height: 0;
        max-width: 768px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: calc(var(--nav-height) + clamp(24px, 5.5vw, 48px)) var(--gutter-portrait) 0;
        gap: clamp(30px, 4.8vw, 42px);
    }

    .isolated-card {
        width: 100%;
        max-width: 584px;
        margin: 0 auto;
        padding: clamp(26px, 6.2vw, 50px) clamp(24px, 6vw, 46px) clamp(28px, 6.5vw, 54px);
        border-radius: clamp(32px, 6.2vw, 52px);
        background: rgba(255, 246, 235, 0.65);
    }

    .isolated-card-frame-desktop {
        display: none;
    }

    .isolated-card-frame-portrait {
        display: block;
    }

    .isolated-title-block {
        display: flex;
        width: 100%;
        margin-bottom: clamp(14px, 3.2vw, 28px);
    }

    .isolated-kicker {
        font-size: clamp(1rem, 3.2vw, 2.28rem);
        margin-bottom: clamp(4px, 0.9vw, 8px);
    }

    .isolated-heading {
        font-size: clamp(1.5rem, 7.4vw, 8.75rem);
        letter-spacing: var(--tracking-normal);
        margin-bottom: clamp(6px, 1.2vw, 12px);
    }

    .isolated-subheading {
        font-size: clamp(1.15rem, 3.35vw, 1.48rem);
    }

    .isolated-right-scene {
        width: 100%;
        max-width: 584px;
        height: auto;
        min-height: 0;
        padding-right: 0;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .isolated-ella-composition {
        width: 100%;
        height: auto;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .isolated-ambassador-box {
        right: auto;
        left: clamp(4px, 3.2vw, 32px);
        bottom: clamp(16px, 4vw, 36px);
        transform: none;
    }

    .amb-role {
        font-size: clamp(0.76rem, 2.15vw, 0.94rem);
    }

    .amb-name {
        font-size: clamp(1.02rem, 2.8vw, 1.34rem);
    }

    .amb-cta {
        font-size: clamp(0.78rem, 2.2vw, 0.98rem);
    }

    .amb-signature {
        width: clamp(116px, 22vw, 168px);
        transform: translateX(-4px);
    }

    .isolated-ella-wrap {
        width: min(90vw, 600px);
        height: auto;
        max-height: none;
        margin-left: auto;
        margin-right: clamp(0px, 0.5vw, 8px);
    }

    .isolated-ella-img {
        width: 100%;
        height: auto;
        content: url('../img/isolated-elderly-ellas.png');
    }

    /* 3. 角落孤老人真實故事輪播 (#photo-story) */
    #photo-story {
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .role1 {
        content: url('../img/goolao_4_拐杖爺爺s.svg');
    }

    .role2 {
        content: url('../img/goolao_4_長耳婆婆s.svg');
    }

    .role3 {
        content: url('../img/goolao_4_複眼阿公s.svg');
    }

    .role4 {
        content: url('../img/goolao_4_泡泡阿嬤s.svg');
    }

    .role5 {
        content: url('../img/goolao_4_躺平奶奶s.svg');
    }

    .role6 {
        content: url('../img/goolao_4_鎖頭阿公s.svg');
    }

    .role7 {
        content: url('../img/goolao_4_燈籠奶奶s.svg');
    }

    .photo-story-curtain-left,
    .photo-story-curtain-right {
        display: none;
    }

    .photo-story-curtain-horiz {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: clamp(32px, 6.5vw, 64px);
        pointer-events: none;
        z-index: var(--z-curtain);
    }

    .photo-story-curtain-top {
        top: 0;
    }

    .photo-story-curtain-bottom {
        bottom: 0;
        transform: scaleY(-1);
    }

    .photo-story-curtain-horiz svg {
        width: 100%;
        height: 100%;
        display: block;
        fill: var(--color-brand-navy);
    }

    .photo-story-outer {
        height: auto;
        min-height: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: calc(var(--nav-height) + clamp(10px, 5vw, 48px)) 0 clamp(46px, 9.5vw, 86px);
        gap: clamp(10px, 2.4vw, 22px);
    }

    .photo-story-mobile-title {
        display: block;
        width: min(68vw, 520px);
        aspect-ratio: 525 / 110;
        flex-shrink: 0;
        pointer-events: none;
        user-select: none;
    }

    .photo-story-mobile-title img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .story-sketch-title {
        display: none;
    }

    .photo-story-viewport {
        width: min(96vw, 740px);
        aspect-ratio: 768 / 1248;
        flex: 0 0 auto;
        container-type: inline-size;
    }

    .story-unit-primary {
        left: 13.3%;
        top: 5.8%;
        width: 56.25%;
        z-index: 3;
    }

    .story-unit-secondary {
        left: 46.3%;
        top: 23.1%;
        width: 39.6%;
        z-index: 4;
    }

    .story-poem {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        line-height: 1.3;
        letter-spacing: 0.085em;
        z-index: 5;
        font-size: var(--fs-caption);
    }

    .poem-mobile-br {
        display: inline;
    }

    .story-poem-left {
        top: 42.6%;
        right: 62.2%;
    }

    .story-poem-right {
        top: 49.5%;
        right: 21.3%;
    }

    .story-slide-single .story-unit-primary {
        left: 20%;
        top: 8.5%;
        width: 60%;
    }

    .story-slide-single .story-poem-left {
        top: 50.5%;
        right: 33.5%;
    }

    .story-real-btn,
    .story-slide-single .story-real-btn {
        left: 50%;
        top: 86.6%;
        transform: translateX(-50%);
        width: 50%;
        max-width: 498px;
    }

    .story-real-btn:hover,
    .story-real-btn:focus-visible {
        transform: translateX(-50%) translateY(-2px) scale(1.03);
    }

    .photo-story-prev {
        left: 8.2%;
        top: 37.6%;
    }

    .photo-story-next {
        left: 91.8%;
        top: 37.6%;
    }

    .photo-story-nav-btn svg {
        width: clamp(18px, 4.1cqw, 31px);
    }

    /* 4. 照亮角落 (#light-up) */
    #light-up {
        height: auto;
        min-height: 0;
        overflow: visible;
        justify-content: flex-start;
    }

    .lightup-stage {
        height: auto;
        min-height: 0;
        overflow: visible;
        justify-content: flex-start;
        padding: calc(var(--nav-height) + clamp(20px, 4.2vw, 36px)) 0 clamp(48px, 10vw, 80px);
        gap: clamp(28px, 6vw, 48px);
    }

    .lightup-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(18px, 4.2vw, 34px);
        padding-right: 0;
    }

    .lightup-hand-banner {
        width: min(84.8vw, 640px);
        max-width: none;
    }

    .lightup-intro-copy {
        width: min(76vw, 548px);
        align-self: center;
        margin: 0 auto;
        padding: 0;
        line-height: 1.6;
        text-align: justify;
    }

    .lightup-intro-line {
        display: inline;
    }

    .lightup-tiers-grid {
        flex-shrink: 0;
        width: min(76vw, 548px);
        max-width: 548px;
        margin: 0 auto;
        padding: 0;
        grid-template-columns: minmax(0, 1fr);
        justify-content: center;
        gap: clamp(36px, 8.5vw, 64px);
    }

    .lightup-illu-slot {
        height: auto;
        margin-bottom: clamp(12px, 2.8vw, 22px);
    }

    .illu-tier-1 {
        width: 80.7%;
        height: auto;
        max-width: none;
    }

    .illu-tier-2 {
        width: 60%;
        height: auto;
        max-width: none;
    }

    .illu-tier-3 {
        width: 63.1%;
        height: auto;
        max-width: none;
    }

    .lightup-tier-badge {
        width: 100%;
        border-radius: clamp(16px, 3.2vw, 24px);
        padding: clamp(14px, 3.2vw, 24px) clamp(14px, 3vw, 24px) clamp(15px, 3.4vw, 26px);
    }

    .tier-amount-line {
        margin-bottom: clamp(4px, 0.9vw, 7px);
    }

    .tier-amt-prefix,
    .tier-amt-unit {
        font-size: clamp(1.08rem, 4.1vw, 1.82rem);
    }

    .tier-amt-dollar {
        font-size: clamp(1.22rem, 4.6vw, 2.06rem);
    }

    .tier-amt-num {
        font-size: clamp(1.56rem, 5.8vw, 2.64rem);
    }

    .tier-sub-line {
        font-size: clamp(1.06rem, 4vw, 1.78rem);
    }

    .lightup-tier-desc {
        margin-top: clamp(14px, 3.6vw, 26px);
        text-align: justify;
    }

    .lightup-cta-row {
        padding-top: clamp(6px, 1.8vw, 14px);
    }

    .lightup-scallop-btn {
        width: clamp(224px, 58vw, 368px);
        max-width: 50%;
    }

    /* 5. 角落消息 (#news) */
    #news {
        height: auto;
        min-height: 0;
        overflow: visible;
        justify-content: flex-start;
    }

    .news-stage {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        gap: clamp(24px, 6.4vw, 48px);
        padding: calc(var(--nav-height) + min(36.8vw, 282px) + clamp(18px, 4.2vw, 32px)) 0 clamp(48px, 10vw, 80px);
    }

    .news-board-wrap {
        width: min(86.46vw, 664px);
        max-width: 664px;
        max-height: none;
        flex: 0 0 auto;
    }

    .news-hug-shoulders,
    .news-hug-arm-back,
    .news-hug-hand-front {
        display: none;
    }

    .news-hug-shoulders-portrait {
        display: block;
        position: absolute;
        left: 13%;
        top: 2px;
        width: 74%;
        height: auto;
        aspect-ratio: 492 / 52;
        transform: translateY(-100%);
        z-index: 1;
        pointer-events: none;
        user-select: none;
    }

    .news-hug-head {
        left: 50%;
        top: 0;
        width: 21.4%;
        transform: translate(-50%, -79.5%);
        filter: drop-shadow(2px 4px 0 rgba(226, 209, 182, 0.55));
    }

    .news-hug-hand-portrait {
        display: block;
        position: absolute;
        top: 0;
        width: 21.2%;
        height: auto;
        z-index: 3;
        pointer-events: none;
        user-select: none;
    }

    .news-hug-hand-portrait-left {
        left: 3.4%;
        transform: translateY(-35.5%);
    }

    .news-hug-hand-portrait-right {
        right: 3.4%;
        transform: translateY(-35.5%) scaleX(-1);
    }

    .news-title-badge {
        left: 50%;
        top: 0;
        width: 56.48%;
        max-width: 375px;
        transform: translate(-50%, -227.4%);
    }

    .news-board {
        border-width: 2.5px;
        border-radius: clamp(16px, 3.4vw, 26px);
        padding: clamp(58px, 15.5vw, 118px) clamp(22px, 7.8vw, 58px) clamp(24px, 5.6vw, 44px);
        overflow: visible;
    }

    .news-list {
        margin: 0;
        gap: 0;
        overflow: visible;
    }

    .news-list-item {
        padding: clamp(16px, 4.2vw, 30px) 0;
    }

    .news-list-item:first-child {
        padding-top: 0;
    }

    .news-list-item:last-child {
        padding-bottom: 0;
    }

    .news-list-item+.news-list-item {
        border-top: 1.5px solid #a4abbd;
    }

    .news-row {
        grid-template-columns: 1fr;
        row-gap: clamp(5px, 1.2vw, 9px);
        min-height: 0;
        padding: 4px 0;
        margin: 0;
    }

    .news-row-date {
        opacity: 1;
    }

    .news-row-title {
        line-height: 1.25;
        text-align: justify;
    }

    .news-title-line {
        display: inline;
    }

    .news-more-btn {
        width: clamp(142px, 35vw, 224px);
        max-width: 30%;
    }

    /* 6. 角落引光者 (#supporters) 與底部 Footer (.site-footer) */
    #supporters {
        height: auto;
        min-height: 0;
        overflow: visible;
        justify-content: flex-start;
    }

    .supporters-stage {
        flex: 0 0 auto;
        justify-content: flex-start;
        padding: calc(var(--nav-height) + clamp(22px, 4.8vw, 40px)) var(--gutter-portrait) clamp(80px, 9.5vw, 100px);
    }

    .supporters-header-group {
        width: min(88vw, 660px);
    }

    .supporters-comma {
        display: none;
    }

    .supporters-mobile-br {
        display: inline;
    }

    .supporters-patron-scroll {
        flex: 0 0 auto;
        overflow: visible;
        justify-content: center;
        margin-top: clamp(28px, 6.8vw, 52px);
        padding: 0;
    }

    .supporters-patron {
        --patron-gap-x: clamp(18px, 6.5vw, 48px);
        --patron-gap-y: clamp(18px, 5.2vw, 38px);
        max-width: min(84vw, 536px);
    }

    .supporters-logo-link {
        flex: 0 0 calc((100% - var(--patron-gap-x) - 0.5px) / 2);
        max-width: clamp(128px, 31vw, 238px);
    }
}


/* 12.7 小尺寸手機介面緊湊高度與安全邊距微調 (<=540px) */
@media (max-width: 540px) {
    :root {
        --nav-height: 64px;
        --gutter-portrait: 30px;
    }

    .home-audio-toggle {
        right: 12px;
        bottom: 16px;
        padding: 5px 11px;
        font-size: 0.76rem;
    }

    .aid-typo-right,
    .aid-typo-left {
        width: 92%;
    }

    .isolated-card {
        padding: 30px 25px 28px;
        border-radius: 40px;
    }

    .isolated-ambassador-box {
        left: 0px;
        bottom: 10px;
    }

    .lightup-intro-copy,
    .lightup-tiers-grid {
        width: 76vw;
    }

    .site-footer {
        padding-bottom: clamp(46px, 12vw, 68px);
    }
}

/* 12.8 極窄螢幕文字防溢出保護 (<=359px) */
@media (max-width: 359px) {
    .footer-info-line {
        white-space: normal;
    }
}

/* 12.9 無障礙減少動態偏好統一管理 (Reduced Motion) */
@media (prefers-reduced-motion: reduce) {

    .anim-fade-up,
    .side-dot-core,
    .side-dot-halo,
    .side-dot-capsule,
    .floating-donate-btn,
    .floating-donate-img {
        transition: none !important;
    }

    .aid-illu-glow,
    .mouse-wheel {
        animation: none !important;
    }

    .photo-story-slide.is-panning-in-fwd,
    .photo-story-slide.is-panning-in-rev {
        animation: none !important;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: none;
    }

    .photo-story-slide.is-panning-out-fwd,
    .photo-story-slide.is-panning-out-rev {
        animation: none !important;
        opacity: 0;
        visibility: hidden;
    }
}