#footprint-page {
    /* 全局变量定义 */
    --hsla-raw: var(--footprint-hsla);
    --primary-color: hsl(var(--hsla-raw));
    --primary-hover: hsla(var(--hsla-raw), 0.8);
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --primary-color-hover: hsla(var(--hsla-raw), 0.7);
    --primary-color-active: hsla(var(--hsla-raw), 0.9);
    --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --font-family-slogn: "快看世界体", sans-serif;
    
    /* 足迹页面特定变量 */
    --footprint-primary-color: hsl(var(--hsla-raw));
    --footprint-primary-color-light: hsl(var(--hsla-h), var(--hsla-s), calc(var(--hsla-l) + 10%));
    --footprint-primary-color-dark: hsl(var(--hsla-h), var(--hsla-s), calc(var(--hsla-l) - 10%));
    
    /* 基础样式 */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
}

#footprint-page * {
    box-sizing: border-box;
}

#footprint-page .footprint-container {
    width: 100%;
    height: 100vh;
    position: relative;
    content-visibility: auto;
    contain: layout style paint;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    overflow: hidden;
}

#footprint-page #footprint-map {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #f5f5f5;
    transition: var(--transition);
    overflow: hidden;
}

#footprint-map.map-transitioning {
    filter: brightness(0.95);
}

#footprint-map.map-shake {
    animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Logo 容器样式优化 */
.logo-container {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 100;
    padding: 16px 20px;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footprint-logo {
    position: relative;
    display: flex;
    align-items: center;
    font-family: "快看世界体", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: hsl(var(--hsla-raw));
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: var(--text-shadow);
}

.logo-version {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform-origin: left center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.logo-container:hover .logo-version {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.footprint-slogan {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
    max-width: 240px;
    position: relative;
    padding-left: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.logo-container.show .footprint-slogan {
    opacity: 1;
    transform: translateY(0);
}

.footprint-slogan::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        hsla(var(--hsla-raw), 0.8),
        hsla(var(--hsla-raw), 0.4)
    );
    border-radius: 1px;
}

/* 地图控件样式 */
.map-controls {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 8px 10px;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
                inset 0 0 0 1px rgba(255, 255, 255, 0.5),
                inset 0 2px 4px rgba(0, 0, 0, 0.05);
    width: auto;
    min-width: 340px;
    flex-wrap: wrap;
    gap: 6px;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease-out;
}

.map-controls.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

/* 按钮组通用样式 */
.button-group {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(240, 240, 240, 0.85);
    border-radius: 30px;
    padding: 3px;
    margin: 0 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 基础图层按钮 */
.control-btn {
    position: relative;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease-out;
}

.control-btn:hover {
    background: hsla(var(--hsla-raw), 0.1);
}

.control-btn.active {
    background: hsl(var(--hsla-raw));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 卫星图层按钮激活样式 */
.control-btn[data-type="satellite"].active {
    background: hsl(var(--hsla-raw));
    color: white;
    border: none;
    box-shadow: var(--box-shadow);
}

/* 开关按钮样式 */
.control-btn[data-type="road"],
.control-btn[data-type="traffic"] {
    position: relative;
    padding: 6px 12px 6px 42px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 90px;
    text-align: left;
}

.control-btn[data-type="road"]::before,
.control-btn[data-type="traffic"]::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 28px;
    height: 16px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    transform: translateY(-50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.control-btn[data-type="road"]::after,
.control-btn[data-type="traffic"]::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.control-btn[data-type="road"].active,
.control-btn[data-type="traffic"].active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.control-btn[data-type="road"].active::before,
.control-btn[data-type="traffic"].active::before {
    background: hsl(var(--hsla-raw));
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.control-btn[data-type="road"].active::after,
.control-btn[data-type="traffic"].active::after {
    left: 22px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.control-btn[data-type="road"]:hover,
.control-btn[data-type="traffic"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 缩放按钮组样式 */
.zoom-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.zoom-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.7);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border-radius: 50%;
}

.zoom-btn:hover {
    background-color: hsla(var(--hsla-raw), 0.1);
    color: hsl(var(--hsla-raw));
}

.zoom-btn:active, .zoom-btn.zoom-active {
    color: white;
    background: hsl(var(--hsla-raw));
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 完全隐藏比例尺 */
.amap-scale,
.amap-scale-text,
.amap-scale-line {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
    pointer-events: none !important;
}

/* 信息窗口样式 */
.info-window {
    width: 220px;
    height: 280px;
    background: white;
    border-radius: 20px;
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateY(10px);
    animation: infoWindowShow 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    cursor: pointer;
}

.info-window .image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.info-window .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-window .image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    z-index: 10;
}

.info-window .title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.info-window .description {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-window .meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.info-window .meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.info-window .meta svg {
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

.info-window .article-btn {
    --primary-color: rgba(255, 255, 255, 0.9);
    --secondary-color: rgba(0, 0, 0, 0.8);
    --hover-color: #fff;
    --arrow-width: 10px;
    --arrow-stroke: 2px;
    box-sizing: border-box;
    border: 0;
    border-radius: 20px;
    color: var(--secondary-color);
    padding: 8px 16px;
    background: var(--primary-color);
    display: flex;
    transition: 0.2s all;
    align-items: center;
    gap: 0.6em;
    font-weight: 500;
    font-size: 13px;
    backdrop-filter: blur(4px);
    text-decoration: none;
}

.info-window .article-btn .arrow-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-window .article-btn .arrow {
    margin-top: 1px;
    width: 0;
    background: var(--secondary-color);
    height: var(--arrow-stroke);
    position: relative;
    transition: 0.2s;
}

.info-window .article-btn .arrow::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    border: solid var(--secondary-color);
    border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
    display: inline-block;
    top: -3px;
    right: 0;
    transition: 0.2s;
    padding: 3px;
    transform: rotate(-45deg);
}

.info-window .article-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info-window .article-btn:hover .arrow {
    width: var(--arrow-width);
}

.info-window .article-btn:hover .arrow:before {
    right: 0;
}

.info-window .close-btn {
    display: none;
}

@keyframes infoWindowShow {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 隐藏高德地图默认的关闭按钮 */
.amap-info-close {
    display: none !important;
}

/* 隐藏高德地图默认的信息窗体样式 */
.amap-info-content {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.amap-info-outer,
.amap-info-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.amap-info-sharp {
    display: none !important;
}

/* 标记点样式 */
.custom-marker {
    cursor: pointer;
    transition: var(--transition);
}

.marker-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--bg-color);
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: var(--transition);
}

.marker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.custom-marker:hover .marker-image {
    transform: scale(1.15);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* 移除地图 Logo */
.amap-logo {
    display: none !important;
}

.amap-copyright {
    display: none !important;
}

/* 主题控制样式 */
.theme-control {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-label {
    color: rgba(0, 0, 0, 0.7);
    font-size: 13px;
    margin-right: 8px;
}

.theme-select {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 4px;
    padding: 6px 24px 6px 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0, 0, 0, 0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.theme-select:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.9);
}

.theme-select:focus {
    outline: none;
    background-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.9);
}

/* 按钮点击效果 */
.control-btn.btn-clicked {
    transform: scale(0.95) translateZ(0);
    opacity: 0.9;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 加载指示器样式优化 */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid hsla(var(--hsla-raw), 0.1);
    border-top-color: hsl(var(--hsla-raw));
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 动画定义 */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes colorFadeIn {
    0% {
        opacity: 0;
        color: rgba(0, 0, 0, 0.2);
    }
    50% {
        opacity: 1;
        color: rgba(0, 0, 0, 0.5);
    }
    100% {
        opacity: 1;
        color: var(--primary-color);
    }
}

@keyframes controlsFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes buttonColorFadeIn {
    0% {
        background: rgba(0, 0, 0, 0.1);
    }
    100% {
        background: var(--primary-color);
    }
}

/* 控制栏动画 */
.map-controls {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease-out;
}

.map-controls.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.control-btn {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease-out;
}

.control-btn.show {
    opacity: 1;
    transform: scale(1);
}

.control-btn.scale-in {
    animation: scaleIn 0.3s ease-out;
}

.zoom-controls button {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease-out;
}

.zoom-controls button.show {
    opacity: 1;
    transform: translateX(0);
}

.zoom-controls button.slide-in {
    animation: slideIn 0.3s ease-out;
}

/* 按钮点击动画 */
.btn-pulse {
    animation: pulse 0.3s ease-out;
}

/* 动画关键帧 */
@keyframes scaleIn {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* 优化控制栏样式 */
.map-controls {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin: 16px;
}

.control-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.control-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.control-btn:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
}

.control-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#footprint-page {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        height: 100vh;
        width: 100vw;
        overflow: hidden;
        --primary-color: hsl(var(--footprint-hsla, 200, 100%, 50%));
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #f5f5f5;
    }
    
    .footprint-container {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    #footprint-map {
        width: 100%;
        height: 100%;
    }
    
    /* Logo和描述 */
    .logo-container {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 100;
        max-width: 300px;
    }
    
    .footprint-logo {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 8px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    .logo-version {
        font-size: 0.8rem;
        vertical-align: super;
        opacity: 0.7;
    }
    
    .footprint-slogan {
        font-size: 1rem;
        color: #333;
        line-height: 1.4;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }
    
    /* 控制台基础样式 */
    .map-controls {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 8px 16px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 50px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    /* 按钮组样式 */
    .button-group {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px;
    }

    /* 分隔线 */
    .button-group:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 16px;
        margin-right: 8px;
    }

    /* 标准按钮样式 */
    .control-btn {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #fff;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .control-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .control-btn.active {
        background: var(--primary-color, #42b983);
        color: #fff;
    }

    /* 缩放按钮组样式 */
    .zoom-buttons {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .zoom-btn {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .zoom-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* 比例尺文字样式 */
    .amap-scale-text {
        color: #fff;
        font-size: 12px;
        opacity: 0.8;
        margin-left: 8px;
        font-weight: 500;
    }

    /* 飞机开关样式优化 */
    .plane-switch {
        --dot: #fff;
        --street: #6B6D76;
        --street-line: #A8AAB4;
        --street-line-mid: #C0C2C8;
        --sky-1: #60A7FA;
        --sky-2: #2F8EFC;
        --light-1: rgba(255, 233, 0, 1);
        --light-2: rgba(255, 233, 0, .3);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .plane-switch:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .plane-switch .switch-text {
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        user-select: none;
        min-width: 28px;
        text-align: center;
    }

    .plane-switch input {
        display: none;
    }

    .plane-switch input + div {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        position: relative;
        overflow: hidden;
        width: 50px;
        height: 25px;
        padding: 1px;
        border-radius: 13px;
        background: linear-gradient(90deg, var(--street) 0%, var(--street) 25%, var(--sky-1) 75%, var(--sky-2) 100%) left var(--p, 0%) top 0;
        background-position-x: var(--p, 0%);
        background-size: 400% auto;
        transition: background-position 0.6s;
    }

    .plane-switch input + div:before, .plane-switch input + div:after {
        content: "";
        display: block;
        position: absolute;
        transform: translateX(var(--s, 0));
        transition: transform 0.3s;
    }

    .plane-switch input + div:before {
        width: 42px;
        right: 2px;
        top: 4px;
        height: 1px;
        background: var(--street-line);
        box-shadow: 0 16px 0 0 var(--street-line);
    }

    .plane-switch input + div:after {
        width: 2px;
        height: 2px;
        border-radius: 50%;
        left: 23px;
        top: 1px;
        -webkit-animation: lights2 2s linear infinite;
        animation: lights2 2s linear infinite;
        box-shadow: inset 0 0 0 2px var(--light-1), 0 21px 0 var(--light-1), 8px 0 0 var(--light-2), 8px 21px 0 var(--light-2), 16px 0 0 var(--light-2), 16px 21px 0 var(--light-2);
    }

    .plane-switch input + div span {
        display: block;
        position: absolute;
    }

    .plane-switch input + div span.street-middle {
        top: 12px;
        left: 21px;
        width: 3px;
        height: 1px;
        transform: translateX(var(--s, 0));
        background: var(--street-line-mid);
        box-shadow: 5px 0 0 var(--street-line-mid), 10px 0 0 var(--street-line-mid), 15px 0 0 var(--street-line-mid), 20px 0 0 var(--street-line-mid), 25px 0 0 var(--street-line-mid);
        transition: transform 0.3s;
    }

    .plane-switch input + div span.cloud {
        width: 12px;
        height: 4px;
        border-radius: 2px;
        background: #fff;
        position: absolute;
        top: var(--ct, 8px);
        left: 100%;
        opacity: var(--co, 0);
        transition: opacity 0.3s;
        -webkit-animation: clouds2 2s linear infinite var(--cd, 0s);
        animation: clouds2 2s linear infinite var(--cd, 0s);
    }

    .plane-switch input + div span.cloud:before, .plane-switch input + div span.cloud:after {
        content: "";
        position: absolute;
        transform: translateX(var(--cx, 0));
        border-radius: 50%;
        width: var(--cs, 5px);
        height: var(--cs, 5px);
        background: #fff;
        bottom: 1px;
        left: 1px;
    }

    .plane-switch input + div span.cloud:after {
        --cs: 6px;
        --cx: 4px;
    }

    .plane-switch input + div span.cloud.two {
        --ct: 20px;
        --cd: 1s;
        opacity: var(--co-2, 0);
    }

    .plane-switch input + div div {
        display: table;
        position: relative;
        z-index: 1;
        padding: 5px;
        border-radius: 50%;
        background: var(--dot);
        transform: translateX(var(--x, 0));
        transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.35, 1.2);
    }

    .plane-switch input + div div svg {
        width: 13px;
        height: 13px;
        display: block;
        color: var(--c, var(--street));
        transition: color 0.6s;
    }

    .plane-switch input:checked + div {
        --p: 100%;
        --x: 25px;
        --s: -50px;
        --c: var(--sky-2);
        --co: .8;
        --co-2: .6;
    }

    @keyframes lights2 {
        20%, 30% {
            box-shadow: inset 0 0 0 2px var(--light-2), 0 21px 0 var(--light-2), 8px 0 0 var(--light-1), 8px 21px 0 var(--light-1), 16px 0 0 var(--light-2), 16px 21px 0 var(--light-2);
        }

        55%, 65% {
            box-shadow: inset 0 0 0 2px var(--light-2), 0 21px 0 var(--light-2), 8px 0 0 var(--light-2), 8px 21px 0 var(--light-2), 16px 0 0 var(--light-1), 16px 21px 0 var(--light-1);
        }

        90%, 100% {
            box-shadow: inset 0 0 0 2px var(--light-1), 0 21px 0 var(--light-1), 8px 0 0 var(--light-2), 8px 21px 0 var(--light-2), 16px 0 0 var(--light-2), 16px 21px 0 var(--light-2);
        }
    }

    @keyframes clouds2 {
        97% {
            transform: translateX(-72px);
            visibility: visible;
        }

        98%, 100% {
            visibility: hidden;
        }

        99% {
            transform: translateX(-72px);
        }

        100% {
            transform: translateX(0);
        }
    }

    /* 移动端适配 */
    @media screen and (max-width: 768px) {
        /* 足迹信息放到顶部 */
        .logo-container {
            position: fixed;
            top: 16px;
            bottom: auto;
            left: 16px;
            max-width: 80%;
            background: transparent;
            padding: 0;
            z-index: 110;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .footprint-logo {
            font-size: 1.8rem;
            margin-bottom: 6px;
            margin-right: 0;
            color: var(--primary-color);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        .footprint-slogan {
            font-size: 0.9rem;
            line-height: 1.4;
            color: #333;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
            white-space: normal;
            display: block;
        }

        /* 移动端控制台优化 */
        .map-controls {
            width: calc(100% - 24px);
            left: 50%;
            transform: translateX(-50%);
            border-radius: 20px;
            bottom: 12px;
            padding: 10px 0;
            background: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
            grid-gap: 8px;
            justify-items: center;
            position: fixed;
            margin: 0;
        }

        /* 图层按钮行 - 占据整行 */
        .map-controls .button-group:first-child {
            grid-column: 1 / 3;
            grid-row: 1;
            width: 100%;
            display: flex;
            gap: 10px;
            margin: 0;
            border-right: none;
            justify-content: center;
        }

        /* 图层按钮样式 */
        .map-controls .button-group:first-child .control-btn {
            flex: 1;
            max-width: 120px;
            background: rgba(0, 0, 0, 0.05);
            color: #333;
            text-align: center;
            font-weight: bold;
            padding: 10px 0;
        }

        .map-controls .button-group:first-child .control-btn.active {
            background: var(--primary-color);
            color: white;
        }

        /* 路网路况开关行 */
        .map-controls .button-group:nth-child(2) {
            grid-column: 1;
            grid-row: 2;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 15px;
            border-right: none;
            padding: 8px 5px 0;
            margin: 0;
        }

        /* 缩放按钮和比例尺 */
        .map-controls .zoom-buttons,
        .map-controls .amap-scale-text {
            grid-column: 2;
            grid-row: 2;
            margin: 0;
            padding: 8px 15px 0 0;
        }

        /* 缩放按钮样式 */
        .map-controls .zoom-btn {
            width: 36px;
            height: 36px;
            background: rgba(0, 0, 0, 0.05);
            color: #333;
            font-size: 20px;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        /* 路网路况开关样式 */
        .plane-switch {
            padding: 4px;
            background: rgba(0, 0, 0, 0.03);
            border-radius: 20px;
        }

        .plane-switch .switch-text {
            color: #333;
            font-weight: 600;
            text-shadow: none;
        }

        /* 比例尺文字 */
        .amap-scale-text {
            color: #666;
            font-size: 12px;
            padding-left: 10px;
        }
    }