:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

@keyframes pulse-glow {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.glow-blue {
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-neon-blue {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.bg-gradient-tech {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bg-ai-deep {
    background:
        radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.18), transparent 24%),
        radial-gradient(circle at 78% 14%, rgba(37, 99, 235, 0.24), transparent 26%),
        radial-gradient(circle at 70% 72%, rgba(14, 165, 233, 0.12), transparent 30%),
        linear-gradient(140deg, #020617 0%, #06142f 44%, #0b1f47 100%);
}

.tech-grid {
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

.tech-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(10px);
    opacity: 0.7;
    pointer-events: none;
}

.panel-frame {
    background: linear-gradient(180deg, rgba(8, 15, 32, 0.92), rgba(7, 22, 48, 0.78));
    border: 1px solid rgba(96, 165, 250, 0.26);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.6) inset,
        0 30px 80px rgba(2, 6, 23, 0.6),
        0 0 30px rgba(56, 189, 248, 0.12);
}

.brand-plaque {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
}

.corp-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.55));
}

.sidebar-link {
    position: relative;
    transition: all 0.3s ease;
}

.sidebar-link.active {
    background: rgba(56, 189, 248, 0.2);
    border-right: 4px solid #38bdf8;
    color: #38bdf8;
}

#sidebar {
    width: 16rem;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sidebar.collapsed {
    width: 4.5rem;
}

#sidebar.collapsed .sidebar-text,
#sidebar.collapsed .sidebar-header-text,
#sidebar.collapsed .sidebar-user {
    display: none;
}

#sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.sidebar-tooltip {
    position: absolute;
    left: 100%;
    margin-left: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #1e293b;
    color: #fff;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#sidebar.collapsed .sidebar-link:hover .sidebar-tooltip {
    opacity: 1;
    visibility: visible;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.tag-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-bubble-ai {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 0 1rem 1rem 1rem;
}

.chat-bubble-user {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem 0 1rem 1rem;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 999px;
}

.brand-logo {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.avatar-image {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.page-shell {
    min-height: 100vh;
}

.overview-shell {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.18), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.1), transparent 32%),
        linear-gradient(145deg, #020617 0%, #06111f 42%, #0a1830 100%);
}

.overview-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.12));
}

.overview-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(103, 232, 249, 0.1), transparent 20%),
        radial-gradient(circle at 78% 10%, rgba(96, 165, 250, 0.12), transparent 18%);
    filter: blur(28px);
}

.overview-topbar {
    background: rgba(2, 6, 23, 0.72);
    border-bottom: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.24);
}

.overview-sidebar {
    width: 16rem;
    background: linear-gradient(180deg, rgba(3, 10, 24, 0.96), rgba(5, 16, 34, 0.92));
    border-right: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow:
        inset -1px 0 0 rgba(255, 255, 255, 0.03),
        24px 0 60px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(18px);
}

.overview-sidebar-header {
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
}

.overview-sidebar-toggle {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: rgba(8, 15, 32, 0.7);
    color: #c4f1ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.overview-sidebar-toggle:hover {
    border-color: rgba(125, 211, 252, 0.3);
    background: rgba(10, 24, 45, 0.88);
}

.overview-with-sidebar {
    padding-left: 16rem;
    transition: padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sidebar.collapsed + .overview-with-sidebar,
#sidebar.collapsed ~ .overview-with-sidebar {
    padding-left: 4.5rem;
}

.overview-panel {
    background: linear-gradient(180deg, rgba(5, 12, 24, 0.9), rgba(8, 18, 36, 0.82));
    border: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 24px 80px rgba(2, 6, 23, 0.42),
        0 0 36px rgba(56, 189, 248, 0.08);
    backdrop-filter: blur(18px);
}

.overview-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 46%, rgba(59, 130, 246, 0.28), transparent 28%),
        linear-gradient(180deg, rgba(9, 20, 38, 0.88), rgba(10, 24, 44, 0.8));
}

.overview-hero-art {
    opacity: 0.72;
    filter: saturate(1.12) brightness(1.16);
}

.overview-hero-dim {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.82) 0%, rgba(2, 6, 23, 0.54) 40%, rgba(2, 6, 23, 0.06) 100%),
        radial-gradient(circle at 72% 50%, rgba(56, 189, 248, 0.26), transparent 38%);
}

.overview-kicker {
    background: rgba(8, 15, 32, 0.74);
    border: 1px solid rgba(103, 232, 249, 0.18);
    color: #c4f1ff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.4) inset;
}

.overview-title {
    color: #f8fbff;
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.16);
}

.overview-title-accent {
    display: inline-block;
    color: #C7D2FE;
    text-shadow:
        0 0 14px rgba(199, 210, 254, 0.14),
        0 0 24px rgba(147, 197, 253, 0.08);
    letter-spacing: 0.04em;
    line-height: 1.05;
}

.overview-copy {
    color: rgba(224, 242, 254, 0.78);
}

.overview-copy strong {
    color: #d9f7ff;
    font-weight: 700;
}

.overview-copy-product {
    font-weight: 800;
    opacity: 1;
}

.overview-copy-product-primary {
    color: #67e8f9;
    text-shadow:
        0 0 14px rgba(34, 211, 238, 0.34),
        0 0 26px rgba(34, 211, 238, 0.2);
}

.overview-copy-product-secondary {
    color: #8ea2ff;
    text-shadow:
        0 0 14px rgba(99, 102, 241, 0.38),
        0 0 26px rgba(99, 102, 241, 0.2);
}

.overview-copy-product-tertiary {
    color: #38bdf8;
    text-shadow:
        0 0 14px rgba(56, 189, 248, 0.4),
        0 0 26px rgba(56, 189, 248, 0.22);
}

.overview-copy-feature {
    font-weight: 700;
}

.overview-copy-feature-primary {
    color: #a5f3fc;
    text-shadow:
        0 0 12px rgba(103, 232, 249, 0.2),
        0 0 22px rgba(34, 211, 238, 0.12);
}

.overview-copy-feature-secondary {
    color: #c7d2fe;
    text-shadow:
        0 0 12px rgba(199, 210, 254, 0.2),
        0 0 22px rgba(129, 140, 248, 0.12);
}

.overview-copy-feature-tertiary {
    color: #bae6fd;
    text-shadow:
        0 0 12px rgba(186, 230, 253, 0.18),
        0 0 22px rgba(56, 189, 248, 0.1);
}

.overview-metric {
    background: linear-gradient(180deg, rgba(8, 15, 32, 0.7), rgba(8, 15, 32, 0.52));
    border: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.overview-eyebrow {
    color: rgba(148, 163, 184, 0.72);
}

.overview-section-title {
    color: #f8fbff;
}

.product-tile {
    position: relative;
    overflow: hidden;
    border-width: 1px;
    backdrop-filter: blur(14px);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease;
}

.product-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%);
}

.product-tile:hover {
    transform: translateY(-3px);
}

.product-tile-primary {
    background:
        radial-gradient(circle at 85% 18%, rgba(34, 211, 238, 0.3), transparent 26%),
        linear-gradient(180deg, rgba(3, 45, 66, 0.88), rgba(4, 20, 40, 0.92));
    border-color: rgba(85, 247, 255, 0.36);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 40px rgba(8, 47, 73, 0.34),
        0 0 28px rgba(34, 211, 238, 0.14);
}

.product-tile-primary:hover {
    border-color: rgba(132, 247, 255, 0.56);
    box-shadow:
        0 22px 48px rgba(8, 47, 73, 0.42),
        0 0 34px rgba(34, 211, 238, 0.2);
}

.product-tile-secondary {
    background:
        radial-gradient(circle at 84% 18%, rgba(99, 102, 241, 0.28), transparent 28%),
        linear-gradient(180deg, rgba(20, 24, 84, 0.9), rgba(10, 16, 48, 0.94));
    border-color: rgba(129, 140, 248, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 40px rgba(49, 46, 129, 0.34),
        0 0 28px rgba(99, 102, 241, 0.14);
}

.product-tile-secondary:hover {
    border-color: rgba(165, 180, 252, 0.58);
    box-shadow:
        0 22px 48px rgba(49, 46, 129, 0.42),
        0 0 34px rgba(99, 102, 241, 0.22);
}

.product-tile-tertiary {
    background:
        radial-gradient(circle at 84% 18%, rgba(14, 165, 233, 0.28), transparent 28%),
        linear-gradient(180deg, rgba(7, 35, 72, 0.88), rgba(5, 17, 42, 0.92));
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 40px rgba(3, 105, 161, 0.3),
        0 0 28px rgba(14, 165, 233, 0.14);
}

.product-tile-tertiary:hover {
    border-color: rgba(125, 211, 252, 0.54);
    box-shadow:
        0 22px 48px rgba(3, 105, 161, 0.4),
        0 0 34px rgba(14, 165, 233, 0.2);
}

.overview-data-card {
    background: linear-gradient(180deg, rgba(7, 19, 34, 0.78), rgba(6, 16, 30, 0.86));
    border: 1px solid rgba(125, 211, 252, 0.14);
}

.overview-footer {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.72));
    border-top: 1px solid rgba(125, 211, 252, 0.1);
}

@media (max-width: 1279px) {
    .page-shell {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .overview-sidebar {
        width: 4.5rem;
    }

    .overview-with-sidebar {
        padding-left: 4.5rem;
    }

    #sidebar {
        width: 4.5rem;
    }

    #sidebar .sidebar-text,
    #sidebar .sidebar-header-text,
    #sidebar .sidebar-user {
        display: none;
    }

    #sidebar .sidebar-link {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .overview-sidebar {
        width: 100%;
        height: auto;
        inset: 0 auto auto 0;
        position: sticky;
        z-index: 60;
        box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
    }

    .overview-with-sidebar,
    #sidebar.collapsed + .overview-with-sidebar,
    #sidebar.collapsed ~ .overview-with-sidebar {
        padding-left: 0;
    }

    #sidebar,
    #sidebar.collapsed {
        width: 100%;
    }

    #sidebar.collapsed .sidebar-text,
    #sidebar.collapsed .sidebar-header-text {
        display: block;
    }

    #sidebar .sidebar-text,
    #sidebar .sidebar-header-text {
        display: block;
    }

    #sidebar .sidebar-link {
        justify-content: flex-start;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

body.embedded-view {
    min-height: 100vh;
}

body.embedded-view > header,
body.embedded-view > footer,
body.embedded-view > aside {
    display: none !important;
}

body.embedded-view > .flex.flex-1 {
    min-height: 100vh;
    overflow: hidden;
}

body.embedded-view > .flex.flex-1 > aside {
    display: none !important;
}

body.embedded-view > .flex.flex-1 > main {
    padding: 0 !important;
    min-height: 100vh;
}

.wanxiang-case-shell {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 34%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(3, 10, 26, 0.96), rgba(6, 17, 40, 0.92));
    border: 1px solid rgba(125, 211, 252, 0.12);
}

.wanxiang-case-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.75;
}

.wanxiang-case-glow-a {
    right: -7rem;
    top: -6rem;
    width: 20rem;
    height: 20rem;
    background: rgba(37, 99, 235, 0.18);
}

.wanxiang-case-glow-b {
    left: 22%;
    bottom: -8rem;
    width: 18rem;
    height: 18rem;
    background: rgba(34, 211, 238, 0.1);
}

.wanxiang-stat-card,
.wanxiang-info-card,
.wanxiang-source-card,
.wanxiang-map-panel,
.wanxiang-legend-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.12);
    background: linear-gradient(180deg, rgba(5, 12, 28, 0.84), rgba(8, 18, 38, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 24px 60px rgba(2, 6, 23, 0.22);
}

.wanxiang-stat-card {
    border-radius: 24px;
    padding: 1rem 1.125rem;
}

.wanxiang-info-card,
.wanxiang-source-card,
.wanxiang-map-panel {
    border-radius: 28px;
    padding: 1.25rem;
}

.wanxiang-stat-label,
.wanxiang-card-eyebrow {
    font-size: 0.7rem;
    line-height: 1rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.72);
}

.wanxiang-stat-value {
    margin-top: 0.5rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1;
    color: #f8fbff;
    text-shadow: 0 0 18px rgba(103, 232, 249, 0.08);
}

.wanxiang-stat-copy,
.wanxiang-info-copy {
    margin-top: 0.35rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.45;
}

.wanxiang-card-title,
.wanxiang-info-label {
    color: #f8fbff;
    font-weight: 800;
}

.wanxiang-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.08);
    background: rgba(8, 15, 32, 0.52);
}

.wanxiang-info-metric {
    flex-shrink: 0;
    color: #67e8f9;
    font-weight: 800;
}

.wanxiang-action-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.1);
    background: rgba(8, 15, 32, 0.58);
}

.wanxiang-action-index {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #e0f2fe;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(103, 232, 249, 0.18);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

.wanxiang-action-title {
    color: #f8fbff;
    font-weight: 800;
}

.wanxiang-action-body {
    margin-top: 0.35rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wanxiang-action-meta {
    margin-top: 0.5rem;
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wanxiang-source-card-cyan {
    border-color: rgba(103, 232, 249, 0.16);
}

.wanxiang-source-card-indigo {
    border-color: rgba(142, 162, 255, 0.16);
}

.wanxiang-source-card-blue {
    border-color: rgba(56, 189, 248, 0.16);
}

.wanxiang-map-panel {
    padding: 1.25rem;
}

.wanxiang-map-frame {
    height: 640px;
    background:
        radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.22), transparent 24%),
        linear-gradient(180deg, rgba(4, 10, 24, 0.96), rgba(6, 17, 40, 0.94));
}

.wanxiang-map-frame,
.wanxiang-map-frame .leaflet-container {
    width: 100%;
    min-height: 640px;
}

.wanxiang-map-frame .leaflet-control-zoom a,
.wanxiang-map-frame .leaflet-bar a {
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

.wanxiang-map-frame .leaflet-control-attribution {
    background: rgba(2, 6, 23, 0.76);
    color: #94a3b8;
}

.wanxiang-map-frame .leaflet-control-attribution a {
    color: #7dd3fc;
}

.case-map-tiles {
    filter: brightness(0.42) saturate(0.72) hue-rotate(184deg) contrast(1.08);
}

.wanxiang-toggle {
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.58);
    color: #cbd5e1;
    padding: 0.58rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.wanxiang-toggle.is-active {
    border-color: rgba(103, 232, 249, 0.28);
    background: rgba(34, 211, 238, 0.12);
    color: #cffafe;
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.1);
}

.wanxiang-legend-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-radius: 20px;
    padding: 0.95rem 1rem;
}

.wanxiang-legend-chip {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 9999px;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(103, 232, 249, 0.18);
}

.wanxiang-legend-chip-cyan {
    background: #67e8f9;
}

.wanxiang-legend-chip-indigo {
    background: #8ea2ff;
}

.wanxiang-legend-chip-white {
    background: #e2e8f0;
}

.wanxiang-popup-title {
    font-weight: 800;
    color: #e2e8f0;
}

.wanxiang-popup-line {
    margin-top: 0.2rem;
    color: #94a3b8;
    font-size: 0.82rem;
}

.wanxiang-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 640px;
    color: #cbd5e1;
    font-weight: 700;
}

.wanxiang-chart-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 1.25rem;
    border: 1px solid rgba(125, 211, 252, 0.12);
    background: linear-gradient(180deg, rgba(5, 12, 28, 0.84), rgba(8, 18, 38, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 24px 60px rgba(2, 6, 23, 0.22);
}

.wanxiang-chart-shell {
    width: 100%;
    height: 260px;
    margin-top: 1rem;
}

.wanxiang-chart-shell svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wanxiang-chart-caption {
    margin-top: 0.35rem;
    color: #94a3b8;
    font-size: 0.84rem;
    line-height: 1.45;
}

@media (max-width: 1279px) {
    .wanxiang-map-frame,
    .wanxiang-map-frame .leaflet-container,
    .wanxiang-map-fallback {
        min-height: 560px;
        height: 560px;
    }
}

.language-toggle {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem;
    border-radius: 9999px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.24);
}

.language-toggle-button {
    min-width: 3rem;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.language-toggle-button.is-active {
    color: #e0f2fe;
    border-color: rgba(103, 232, 249, 0.22);
    background: rgba(34, 211, 238, 0.12);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

@media (max-width: 767px) {
    .language-toggle {
        top: 0.85rem;
        right: 0.85rem;
    }
}

@media (max-width: 767px) {
    .wanxiang-map-frame,
    .wanxiang-map-frame .leaflet-container,
    .wanxiang-map-fallback {
        min-height: 460px;
        height: 460px;
    }

    .wanxiang-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wanxiang-action-row {
        grid-template-columns: 1fr;
    }
}
