/* ========== i18n 載入前隱藏頁面，避免語言閃爍 ========== */
body:not(.i18n-ready) {
    opacity: 0;
}
body.i18n-ready {
    opacity: 1;
    transition: opacity 0.15s ease-in;
}

/* i18n: 與 main_simulation 表單統一的輸入高度，避免不同瀏覽器造成垂直位移 */
.standard-input,
.standard-select {
  height: 36px;
}

/* ========== 按鈕與間距修正 (2026-01-22) ========== */
.container {
    margin-top: 70px !important;
    padding-top: 0px !important;
}
#resetButton, #guideButton, #guidedSetupButton, #open-visual-canvas-btn {
    top: 0px !important;
}
/* 基本資料/進階資料區塊與按鈕的間距 */
.finance-sections {
    margin-top: 70px !important;
    padding-top: 0px !important;
}
@media screen and (max-width: 768px) {
    .container {
        margin-top: 70px !important;
        padding-top: 0px !important;
    }
    .finance-sections {
        margin-top: 80px !important;
        padding-top: 0px !important;
    }
}
/* 通用樣式（不與頁頭頁尾重複） */

.contact-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1565c0; /* 使用相同的深藍色 */
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: #1e88e5; /* 使用相同的主藍色 */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1565c0; /* 使用相同的深藍色 */
}

@media (max-width: 768px) {
    .contact-container {
        margin: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

:root {
    --gradient-start: #1e88e5;
    --gradient-end: #64b5f6;
    --dark-blue: #1565c0;
    --light-blue: #90caf9;
}

/* 頁首樣式 */
.gradient-header {
    background: linear-gradient(
        135deg,
        var(--gradient-start) 0%,
        var(--gradient-end) 70%,
        var(--gradient-end) 100%
    );
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100vw;
    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 50px;
}

.gradient-header .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.gradient-header .logo img {
    height: 40px;
    width: auto;
    padding: 2px 0;
}

.gradient-header .nav-links {
    display: flex;
    gap: 0.3rem;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.gradient-header .nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    display: inline-block;
}

.gradient-header .nav-links a:hover {
    background-color: var(--dark-blue);
}

/* 語言下拉（全站共用樣式） */
.language-dropdown { position: relative; }
/* 讓切換語言外觀與其他導覽連結一致，且不顯示下拉符號 */
.language-toggle {
    display: inline-block; background: transparent; border: none; color: #fff;
    cursor: pointer; padding: 0.3rem 0.5rem; font-size: inherit; font-weight: inherit;
    line-height: 1.2; border-radius: 4px; vertical-align: middle; font-family: inherit;
    -webkit-appearance: none; appearance: none;
}
.language-toggle:hover { background-color: var(--dark-blue); }
.language-toggle:focus { outline: none; }
.language-toggle .dropdown-arrow { display: none !important; }
.language-menu {
    position: absolute; top: calc(100% + 0.5rem); right: 0;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(15px);
    border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3); min-width: 140px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s ease; z-index: 10000;
}
.language-dropdown.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-option {
    display: flex; width: 100%; align-items: center; gap: 8px;
    background: transparent; border: none; cursor: pointer;
    padding: 10px 14px; color: #333; font-weight: 600;
}
.language-option:hover { background: rgba(0,0,0,0.05); }
.language-option .flag, .language-toggle .current-flag { display: none; }

/* 頁尾樣式 */
.gradient-footer {
    background: linear-gradient(
        135deg,
        var(--gradient-end) 0%,
        var(--gradient-start) 70%,
        var(--gradient-start) 100%
    );
    color: white;
    padding: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    box-sizing: border-box;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.gradient-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-footer .footer-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.gradient-footer .copyright {
    color: white;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    margin-top: 0.25rem;
}

.gradient-footer a {
    color: white;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.gradient-footer a:hover {
    background-color: var(--dark-blue);
}

/* 響應式樣式 */
/* 小屏到中屏過渡：451px-576px - 使用漢堡選單 */
@media (max-width: 576px) and (min-width: 451px) {
    .gradient-header {
        padding: 0.65rem 0.9rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
    }
    
    .gradient-header .logo {
        font-size: 1.25rem;
        max-width: 70%;
    }
    
    .gradient-header .logo img {
        max-height: 34px;
        width: auto;
    }
    
    /* 桌面版導航隱藏 */
    .gradient-header .nav-links-desktop {
        display: none !important;
    }
    
    /* 漢堡按鈕顯示 */
    .mobile-menu-btn {
        display: flex !important;
        margin-left: auto;
    }
}

/* 小屏幕：450px以下 - 使用漢堡選單 */
@media (max-width: 450px) {
    .gradient-header {
        padding: 0.6rem 0.8rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
    }
    
    .gradient-header .logo {
        font-size: 1.2rem;
        max-width: 70%;
    }
    
    .gradient-header .logo img {
        max-height: 32px;
        width: auto;
    }
    
    /* 桌面版導航隱藏 */
    .gradient-header .nav-links-desktop {
        display: none !important;
    }
    
    /* 漢堡按鈕顯示 */
    .mobile-menu-btn {
        display: flex !important;
        margin-left: auto;
    }
    
    /* 手機版下拉選單在小屏幕的調整 */
    .mobile-nav-dropdown a {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .gradient-footer {
        padding: 0.6rem 0.8rem;
    }
    
    .gradient-footer .footer-content {
        padding: 0;
        gap: 0.25rem;
    }
    
    .gradient-footer .copyright {
        font-size: 0.8rem;
        margin-top: 0.15rem;
    }
    
    .gradient-footer a {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem;
    }
}

/* 超小屏幕：320px-380px - 使用漢堡選單 */
@media (max-width: 380px) {
    .gradient-header {
        padding: 0.5rem 0.8rem;
        position: relative;
    }
    
    .gradient-header .logo {
        max-width: 70%;
        font-size: 1.1rem;
    }
    
    .gradient-header .logo img {
        max-height: 28px;
    }
    
    /* 桌面版導航隱藏 */
    .gradient-header .nav-links-desktop {
        display: none !important;
    }
    
    /* 漢堡按鈕顯示 */
    .mobile-menu-btn {
        display: flex !important;
        margin-left: auto;
        width: 36px;
        height: 36px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    /* 手機版下拉選單在超小屏幕的調整 */
    .mobile-nav-dropdown a {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .gradient-footer .copyright {
        font-size: 0.75rem;
    }
}

/* 漢堡按鈕樣式 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 10000;
    margin-left: auto;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 漢堡按鈕動畫 - 轉換成X */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 手機版下拉選單樣式 */
.mobile-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(
        135deg,
        var(--gradient-start) 0%,
        var(--gradient-end) 70%,
        var(--gradient-end) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-height: 0;
    overflow: visible; /* 允許內部下拉（語言選單）超出容器顯示 */
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav-dropdown.active {
    max-height: 400px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.mobile-nav-dropdown a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center; /* 手機下拉文字置中 */
}

.mobile-nav-dropdown a:last-child {
    border-bottom: none;
}

.mobile-nav-dropdown a:hover,
.mobile-nav-dropdown a:active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 確保手機版選單在所有斷點都能正確顯示 */
@media (max-width: 768px) {
    .gradient-header {
        position: relative;
        overflow: visible !important;
    }
    
    .mobile-nav-dropdown {
        display: block !important;
    }
    /* 手機版：語言下拉容器置中且佔滿整列 */
    .mobile-nav-dropdown .language-dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
        padding: 0.5rem 0; /* 與其他項目留點距離 */
    }
    .mobile-nav-dropdown .language-menu {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -10px) !important;
        min-width: 160px;
    }
    .mobile-nav-dropdown .language-dropdown.open .language-menu {
        transform: translate(-50%, 0) !important;
    }

    /* 移除開始模擬左側裝飾線，置中更協調 */
    .mobile-nav-dropdown a[href="main_simulation.html"] {
        border-left: none;
    }
    
    /* 確保桌面版導航在手機版時隱藏 */
    .nav-links-desktop {
        display: none !important;
    }
    
    /* 確保漢堡按鈕在手機版時顯示 */
    .mobile-menu-btn {
        display: flex !important;
    }
}

/* 特殊處理"開始模擬"按鈕在手機版中的樣式 */
.mobile-nav-dropdown a[href="main_simulation.html"] {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    font-weight: bold;
    border-left: 4px solid white;
}

.mobile-nav-dropdown a[href="main_simulation.html"]:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

/* 調試用：強制顯示手機版選單 (可在開發時啟用) */
/*
@media (max-width: 768px) {
    .mobile-nav-dropdown {
        max-height: 400px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        border: 2px solid red;
        background: rgba(30, 136, 229, 0.9) !important;
    }
}
*/

@media (hover: none) {
    .gradient-header .nav-links a:active {
        background-color: var(--dark-blue);
    }
    
    .mobile-menu-btn:active {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* 桌面版螢幕：769px以上 */
@media (min-width: 769px) {
    /* 確保桌面版導航顯示 */
    .gradient-header .nav-links,
    .gradient-header .nav-links-desktop {
        display: flex !important;
    }
    
    /* 確保漢堡按鈕隱藏 */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* 確保手機版選單隱藏 */
    .mobile-nav-dropdown {
        display: none !important;
    }
}

/* 中大寬度屏幕：769px-992px */
@media (max-width: 992px) and (min-width: 769px) {
    .gradient-header .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* 中等寬度屏幕：577px-768px - 使用漢堡選單 */
@media (max-width: 768px) and (min-width: 577px) {
    .gradient-header {
        padding: 0.7rem 1rem;
        position: relative;
    }
    
    .gradient-header .logo {
        font-size: 1.3rem;
        max-width: 70%;
    }
    
    .gradient-header .logo img {
        max-height: 35px;
    }
    
    /* 桌面版導航隱藏 */
    .gradient-header .nav-links-desktop {
        display: none !important;
    }
    
    /* 漢堡按鈕顯示 */
    .mobile-menu-btn {
        display: flex !important;
        margin-left: auto;
    }
} 
/* ========== Cookie 同意橫幅 ========== */
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%);
    color: #fff;
    padding: 16px 20px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#cookieConsentBanner.cookie-slide-out {
    animation: cookieSlideDown 0.3s ease forwards;
}

@keyframes cookieSlideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100%); opacity: 0; }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

.cookie-consent-content p i {
    color: #f59e0b;
    margin-right: 8px;
}

.cookie-consent-content a {
    color: #a78bfa;
    text-decoration: underline;
}

.cookie-consent-content a:hover {
    color: #c4b5fd;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@media (max-width: 600px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-content p {
        min-width: auto;
    }
}

/* ========================================
   wealth_simulation.html 頁面專用樣式
   從 HTML inline <style> 移出至獨立 CSS 檔案
   由 webpack bundle 打包壓縮
   ======================================== */

:root {
    --bg-color: #e6e6e6;
    --border-color: rgba(30, 136, 229, 0.15);
    --section-bg: #f1f5f9;
    --hover-shadow: rgba(30, 136, 229, 0.2);
    --gradient-start: #1e88e5;
    --gradient-end: #42a5f5;
}

body {
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
}

/* 主要內容區 */
.main-content {
    margin-top: 0;
    padding: 0;
}

/* 全寬度區塊容器 */
.section {
    width: 100%;
    padding: 4rem 0;
    position: relative;
}

/* 第一個區塊需額外補 header 高度，讓自身背景蓋住 */
.main-content > .section:first-child {
    padding-top: calc(50px + 4rem);
}

/* 漸層背景 - 白色漸層一點點藍色 */
.section.light-gradient {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(240, 248, 255, 1) 30%,
            rgba(230, 245, 255, 1) 70%,
            rgba(220, 240, 255, 1) 100%);
}

/* 漸層背景 - 淡紫色漸層白色 */
.section.purple-gradient {
    background: linear-gradient(135deg,
            rgba(248, 246, 255, 1) 0%,
            rgba(240, 235, 255, 1) 30%,
            rgba(235, 230, 255, 1) 70%,
            rgba(255, 255, 255, 1) 100%);
}

/* 現代化無容器設計 */
.section-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* 大標題區域 */
.hero-title {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.hero-title h1 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-title p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(0, 0, 0, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* 內容網格佈局 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.content-block {
    padding: 0;
    margin: 0;
}

.content-block h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gradient-start);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.content-block h3 i {
    font-size: 0.9em;
    opacity: 0.8;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* 重點小容器 */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.highlight-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-card .icon {
    font-size: 2.5rem;
    color: var(--gradient-start);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.highlight-card:hover .icon {
    transform: scale(1.1);
}

.highlight-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gradient-start);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.highlight-card p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* 資訊容器樣式 */
.info-container {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gradient-start);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.info-container h3 i {
    font-size: 0.9em;
    opacity: 0.8;
}

.info-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.4rem;
    font-weight: 400;
}

.info-container strong {
    color: var(--gradient-start);
    font-weight: 600;
}

.info-container .highlight {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(66, 165, 245, 0.1) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--gradient-start);
}

/* YouTube 影片容器樣式 */
.video-container {
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

/* 影片與文字垂直排列容器 */
.video-text-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.video-text-container .video-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.video-text-container .video-text-content {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.video-text-container .video-text-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gradient-start);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.video-text-container .video-text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.2rem;
}

.video-text-container .video-text-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.video-text-container .video-text-content li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    position: relative;
    padding-left: 1.5rem;
}

.video-text-container .video-text-content li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    color: var(--gradient-start);
    font-weight: bold;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: #000;
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.02);
    border: none;
    object-fit: cover;
}

/* 方案比較表樣式 */
.comparison-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.plan-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.premium-plan {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(66, 165, 245, 0.1) 100%);
    border: 2px solid var(--gradient-start);
}

.business-plan {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(171, 71, 188, 0.1) 100%);
    border: 2px solid #9c27b0;
}

.business-plan .plan-title {
    color: #9c27b0;
}

.business-plan .plan-price {
    color: #7b1fa2;
}

.business-plan .feature-list li::before {
    color: #9c27b0;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gradient-start);
    margin-bottom: 0.8rem;
}

.plan-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gradient-end);
    line-height: 1.3;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.feature-list li {
    padding: 0.7rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--gradient-start);
    font-weight: bold;
}

.subscribe-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.free-btn {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.premium-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.business-btn {
    background: linear-gradient(45deg, #9c27b0, #ab47bc);
    color: white;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-container {
    margin-top: auto;
    padding-top: 0.8rem;
}

/* 電子郵件聯繫方式 */
.email-container {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

.email-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.email-icon {
    font-size: 1.5rem;
    color: var(--gradient-start);
}

.email-address {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gradient-start);
}

.copy-btn {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
}

.copy-msg {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 1000;
}

.copy-msg.show-msg {
    display: block;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }

    .section-content {
        padding: 0 1rem;
    }

    .info-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .video-container {
        margin: 2rem auto;
        padding: 0 0.5rem;
    }

    .video-text-container {
        gap: 1.5rem;
    }

    .video-text-container .video-text-content {
        padding: 1.5rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .email-container {
        padding: 1.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 1.5rem 0;
    }

    .section-content {
        padding: 0 0.8rem;
    }

    .info-container {
        padding: 1.2rem;
    }

    .plan-card {
        padding: 1.2rem;
    }

    .email-container {
        padding: 1.2rem;
    }
}

/* 微調 gradient-header（保留 header-footer.css 的 position:fixed） */
.gradient-header {
    height: 52px;
    padding: 4px 1rem;
}

.gradient-header .logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 10px;
}

/* 調整頁尾樣式 */
.gradient-footer {
    margin-top: 0;
}

/* 語言下拉選單樣式 */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-toggle {
    display: inline-block;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
    border-radius: 4px;
    vertical-align: middle;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
}

.language-toggle:hover {
    background-color: var(--gradient-start);
}

.current-flag {
    font-size: 1.1rem;
    display: none;
}

.current-text {
    font-weight: 500;
}

.dropdown-arrow {
    display: none !important;
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.language-dropdown.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-align: left;
}

.language-option:first-child {
    border-radius: 12px 12px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 12px 12px;
}

.language-option:hover {
    background: rgba(30, 136, 229, 0.1);
    color: var(--gradient-start);
}

.language-option.active {
    background: rgba(30, 136, 229, 0.15);
    color: var(--gradient-start);
    font-weight: 600;
}

.language-option .flag {
    font-size: 1rem;
    display: none;
}

.language-option .text {
    font-weight: 500;
}

/* 手機版響應式 */
@media (max-width: 768px) {
    .language-toggle {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .current-text {
        display: inline;
    }

    .current-flag {
        font-size: 1.2rem;
        display: none;
    }

    .mobile-nav-dropdown .language-dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
        padding: 0.5rem 0;
    }

    .mobile-nav-dropdown .language-menu {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -10px) !important;
        min-width: 160px;
    }

    .mobile-nav-dropdown .language-dropdown.open .language-menu {
        transform: translate(-50%, 0) !important;
    }

    .language-option {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* ===== 獨立幫助彈窗樣式 (此頁面專用) ===== */
.ws-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(100, 181, 246, 0.3);
    transition: all 0.2s ease;
    user-select: none;
    outline: none;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.ws-help-btn:hover {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    box-shadow: 0 2px 6px rgba(100, 181, 246, 0.4);
    transform: translateY(-1px);
}

.ws-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ws-help-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ws-help-popup {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 92%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.ws-help-overlay.active .ws-help-popup {
    transform: scale(1);
}

.ws-help-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    transition: all 0.2s ease;
}

.ws-help-close:hover {
    background: #e0e0e0;
    color: #333;
}

.ws-help-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 16px 0;
    padding-right: 40px;
}

.ws-help-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ws-help-example {
    background: #e3f2fd;
    padding: 16px;
    margin: 16px 0;
    border-radius: 6px;
    font-size: 15px;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.ws-help-example::before {
    content: "\7BC4\4F8B\FF1A";
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

.ws-help-details {
    font-size: 15px;
    color: #777;
    line-height: 1.5;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

/* 方案比較區的按鈕樣式 - 強制可見 */
.plan-card .feature-list li button.ws-help-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    background: linear-gradient(135deg, #64b5f6, #42a5f5) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    position: relative !important;
    z-index: 100 !important;
}

@media (max-width: 768px) {
    .ws-help-btn {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .ws-help-popup {
        padding: 20px;
        max-width: 95%;
        margin: 20px;
    }

    .ws-help-title {
        font-size: 18px;
    }
}

/* ========================================
   wealth_simulation.html 頁面修正
   — 覆蓋 vendor CSS 中來自其他頁面的通用樣式
   ======================================== */
.main-content {
    margin-top: 0 !important;
    padding: 0 !important;
}

.main-content > .section:first-child {
    padding-top: calc(50px + 4rem);
}

/* ========================================
   互動式功能介紹圖 (Feature Map) — 嵌入模式樣式
   ======================================== */

/* --- Feature Map 區塊容器 --- */
.feature-map-section {
    position: relative;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(240, 248, 255, 1) 30%,
        rgba(230, 245, 255, 1) 70%,
        rgba(220, 240, 255, 1) 100%);
    overflow: hidden;
}

.feature-map-section .section-content {
    position: relative;
    max-width: none;
    padding: 0;
}

.feature-map-section .hero-title {
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

.feature-map-section .hero-title h1 {
    background: linear-gradient(135deg, var(--gradient-start, #1e88e5), var(--gradient-end, #42a5f5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-map-section .hero-title p {
    color: #5a6a7a;
}

/* --- SVG 容器（嵌入模式） --- */
.feature-map-container {
    width: 100%;
    height: 900px;
    max-height: 900px;
    position: relative;
    overflow: hidden;
    contain: strict;           /* 防止內容影響外部佈局 */
}

.feature-map-container svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
}

/* --- 點擊啟用縮放提示 --- */
.feature-map-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 16px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.feature-map-container.zoom-active .feature-map-zoom-hint {
    opacity: 0;
}

.feature-map-container.zoom-active {
    outline: 2px solid rgba(30, 136, 229, 0.4);
    outline-offset: -2px;
    border-radius: 4px;
}

.feature-map-container svg:active {
    cursor: grabbing;
}

/* --- 右側旋轉角度滑桿 --- */
.rotation-slider-wrap {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rotation-slider-wrap input[type="range"] {
    writing-mode: vertical-lr;
    direction: rtl;
    appearance: slider-vertical;
    width: 28px;
    height: 180px;
    cursor: pointer;
    accent-color: #3498db;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.rotation-slider-wrap input[type="range"]:hover,
.rotation-slider-wrap input[type="range"]:active {
    opacity: 1;
}

/* --- 連線 --- */
.feature-map-link {
    fill: none;
    stroke: #555;
    stroke-opacity: 0.4;
    stroke-width: 1.5px;
}

/* --- 節點 --- */
.feature-map-node {
    cursor: pointer;
}

.feature-map-node circle {
    transition: r 0.15s ease, filter 0.15s ease;
}

.feature-map-node:hover circle {
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.25));
}

/* --- 展開/收合按鈕 --- */
.expand-btn {
    cursor: pointer;
}

.expand-btn line {
    transition: stroke 0.15s;
}

.feature-map-node:hover .expand-btn line {
    stroke: #2980b9;
}

/* --- 節點文字 --- */
.feature-map-node text {
    font-size: 12px;
    fill: #34495e;
    paint-order: stroke;
    stroke: #e8f4f8;
    stroke-width: 3px;
    stroke-linecap: butt;
    stroke-linejoin: miter;
}

.feature-map-node.node-center text {
    font-size: 16px;
    font-weight: 700;
    fill: #2c3e50;
}

.feature-map-node.node-category text {
    font-size: 13px;
    font-weight: 600;
    fill: #2c3e50;
}

.feature-map-node.node-feature text {
    font-size: 11px;
    fill: #5a6a7a;
}

/* --- Tooltip 浮動說明（嵌入模式，absolute 定位） --- */
.feature-map-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    max-width: 320px;
    min-width: 200px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.feature-map-tooltip.visible {
    opacity: 1;
}

.feature-map-tooltip .tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.feature-map-tooltip .tooltip-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-map-tooltip .tooltip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.feature-map-tooltip .tooltip-tier {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    flex-shrink: 0;
}

.feature-map-tooltip .tooltip-tier.tier-0 {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
}

.feature-map-tooltip .tooltip-tier.tier-1 {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.feature-map-tooltip .tooltip-tier.tier-2 {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.feature-map-tooltip .tooltip-tier.tier-3 {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
}

.feature-map-tooltip .tooltip-tier.tier-4 {
    background: rgba(189, 195, 199, 0.15);
    color: #bdc3c7;
}

.feature-map-tooltip .tooltip-parent {
    font-size: 11px;
    color: #95a5a6;
    margin-bottom: 4px;
}

.feature-map-tooltip .tooltip-desc {
    font-size: 13px;
    color: #5a6a7a;
    line-height: 1.5;
    margin-bottom: 8px;
}

.feature-map-tooltip .tooltip-features {
    list-style: none;
    padding: 0;
}

.feature-map-tooltip .tooltip-features li {
    font-size: 12px;
    color: #5a6a7a;
    padding: 2px 0;
}

.feature-map-tooltip .tooltip-features li::before {
    content: '\25CF';
    margin-right: 6px;
    font-size: 8px;
    vertical-align: middle;
}

/* --- 聚焦展示面板（右下角，固定尺寸） --- */
.feature-map-spotlight {
    position: absolute;
    right: 80px;
    bottom: 80px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    width: 260px;
    height: 180px;
    z-index: 50;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    pointer-events: none;
    overflow: hidden;
}

.feature-map-spotlight.visible {
    opacity: 1;
}

.feature-map-spotlight .spotlight-path {
    font-size: 11px;
    color: #95a5a6;
    margin-bottom: 4px;
}

/* --- 底部控制列（嵌入模式） --- */
.feature-map-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.feature-map-controls button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #5a6a7a;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.feature-map-controls button:hover {
    color: #2c3e50;
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

/* --- 旋轉速度滑桿 --- */
.feature-map-speed-control {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 12px;
    color: #5a6a7a;
}

.feature-map-speed-control label {
    white-space: nowrap;
    cursor: default;
}

.feature-map-speed-control input[type="range"] {
    width: 80px;
    height: 4px;
    cursor: pointer;
    accent-color: #1e88e5;
}

/* --- 操作提示文字（按鈕下方） --- */
.feature-map-hint {
    text-align: center;
    font-size: 12px;
    color: #95a5a6;
    margin-top: 8px;
    margin-bottom: 0;
}

/* --- Feature Map 響應式 --- */
@media (max-width: 768px) {
    .feature-map-container {
        height: 550px;
        max-height: 550px;
    }

    .feature-map-node text {
        font-size: 10px;
    }

    .feature-map-node.node-center text {
        font-size: 13px;
    }

    .feature-map-node.node-category text {
        font-size: 11px;
    }

    .feature-map-tooltip {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        top: auto !important;
        max-width: none;
        border-radius: 14px;
    }

    .feature-map-controls button {
        padding: 6px 10px;
        font-size: 12px;
    }

    .rotation-slider-wrap {
        right: 8px;
    }

    .rotation-slider-wrap input[type="range"] {
        height: 120px;
    }

    .feature-map-spotlight {
        right: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
    }
}

