/* 独立天气模块；不修改首页、卡片或播放器的样式。 */
.navigation-weather {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
}

.navigation-weather-toggle {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 60px;
    height: 44px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.18));
    border-radius: 22px;
    background: rgba(20, 30, 35, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary, #fff);
    font: inherit;
    font-size: 18px;
    cursor: pointer;
}

.navigation-weather-toggle > i:last-child { font-size: 12px; opacity: 0.65; }
.navigation-weather-toggle[data-mode="off"] > i:first-child { opacity: 0.5; }
.navigation-weather-toggle:hover { background: rgba(20, 30, 35, 0.8); }
.navigation-weather-toggle:focus-visible {
    outline: 2px solid var(--accent, #7ae0c4);
    outline-offset: 3px;
}

@media (max-width: 860px) {
    .navigation-weather-toggle {
        top: max(16px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        width: 44px;
        gap: 4px;
        font-size: 16px;
    }
    .navigation-weather-toggle > i:last-child { font-size: 10px; }
}
