﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #0a1a3a;
    color: #e0e9ff;
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* 导航栏 */
.navbar {
    background: linear-gradient(90deg, #0d2347, #1a3a8f, #2a5caa);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(58, 124, 197, 0.4);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 70px; /* 添加这行 */
}

.nav-logo {
    height: 50px;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0);
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3a7cc5, #4ca1ff);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.user-avatar:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主容器 */
.container {
    display: flex;
    height: calc(100vh - 80px);
    position: relative;
}

/* 左侧标记面板 */
.marker-panel {
    width: 280px;
    background-color: #0d2347;
    border-right: 1px solid rgba(58, 124, 197, 0.2);
    overflow-y: auto;
    padding: 15px;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.panel-toggle {
    position: absolute;
    left: 280px;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: #0d2347;
    border-radius: 0 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.panel-toggle i {
    color: #e0e9ff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.marker-panel.collapsed {
    transform: translateX(-100%);
}

.marker-panel.collapsed + .panel-toggle {
    left: 0;
}

.marker-panel.collapsed + .panel-toggle i {
    transform: rotate(180deg);
}

.marker-category {
    margin-bottom: 30px;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(58, 124, 197, 0.5);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-toggle {
    cursor: pointer;
    font-size: 14px;
    color: rgba(224, 233, 255, 0.7);
}

.marker-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.marker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: rgba(26, 58, 143, 0.3);
    border: 1px solid rgba(58, 124, 197, 0.2);
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.marker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 124, 197, 0.1), transparent);
    z-index: 1;
}

.marker-item.active {
    background-color: rgba(58, 124, 197, 0.5);
    border: 1px solid rgba(58, 124, 197, 0.8);
    box-shadow: 0 0 15px rgba(58, 124, 197, 0.6);
    transform: translateY(-2px);
}

.marker-item:hover {
    background-color: rgba(58, 124, 197, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.marker-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.marker-name {
    font-size: 13px;
    color: #c0d4f0";
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

/* 地图容器 */
.map-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #0a1a3a;
    touch-action: none;
}

.map-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    touch-action: none;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

/* 地图统计面板 - 恢复初始状态 */
.map-stats {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(13, 35, 71, 0.9);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 50;
    border: 1px solid rgba(58, 124, 197, 0.4);
    backdrop-filter: blur(5px);
    max-width: 260px;
}

.map-stats-title {
    font-size: 18px;
    font-weight: bold;
    color: #3a7cc5;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(58, 124, 197, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(58, 124, 197, 0.1);
}

.stats-item:last-child {
    border-bottom: none;
}

.stats-icon {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.stats-name {
    font-size: 14px;
    color: #c0d4f0;
    flex: 1;
}

.stats-count {
    font-size: 14px;
    font-weight: bold;
    color: #e0e9ff;
    min-width: 50px;
    text-align: right;
}

.stats-found {
    color: #4CAF50;
}

.stats-total {
    color: rgba(224, 233, 255, 0.7);
}

/* 更新日志按钮 - 恢复初始状态 */
.changelog-btn {
    background: linear-gradient(145deg, #2a5caa, #1a3a8f);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.changelog-btn:hover {
    background: linear-gradient(145deg, #3a7cc5, #2a5caa);
    transform: translateY(-2px);
}

.changelog-btn:active {
    transform: translateY(0);
}

/* 重置标记按钮 - 保持红色样式 */
.reset-markers-btn {
    background: linear-gradient(145deg, #aa2a2a, #8f1a1a);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.reset-markers-btn:hover {
    background: linear-gradient(145deg, #c53a3a, #aa2a2a);
    transform: translateY(-2px);
}

.reset-markers-btn:active {
    transform: translateY(0);
}

.map-marker {
    position: absolute;
    width: 35px;
    height: 35px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 1));
    will-change: transform;
    touch-action: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.25);
    z-index: 15;
}

.map-marker.found {
    filter: brightness(0.6) sepia(1) hue-rotate(180deg) saturate(3) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.map-marker.found::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 4px black;
}

/* 弹出窗口 */
.marker-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px; /* 修改为800px宽度 */
    max-height: 90vh;
    background-color: #0d2347;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    border: 1px solid rgba(58, 124, 197, 0.5);
    overflow: hidden;
}

.popup-header {
    background: linear-gradient(90deg, #1a3a8f, #2a5caa);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(58, 124, 197, 0.5);
}

.popup-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.popup-content {
    padding: 15px;
    max-height: calc(90vh - 60px);
    overflow-y: auto;
}

/* 更新日志弹窗 */
.changelog-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background-color: #0d2347;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    border: 1px solid rgba(58, 124, 197, 0.5);
    overflow: hidden;
}

.changelog-header {
    background: linear-gradient(90deg, #1a3a8f, #2a5caa);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(58, 124, 197, 0.5);
}

.changelog-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.changelog-close {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.changelog-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.changelog-content {
    padding: 15px;
    max-height: calc(80vh - 60px);
    overflow-y: auto;
}

.changelog-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(58, 124, 197, 0.3);
}

.changelog-date {
    font-size: 16px;
    font-weight: bold;
    color: #3a7cc5";
    margin-bottom: 10px;
}

.changelog-text {
    font-size: 14px;
    line-height: 1.6;
    color: #e0e9ff";
    margin-bottom: 10px;
}

.changelog-media {
    margin-top: 10px;
    border-radius: 5px;
    overflow: hidden;
    max-width: 100%;
}

.changelog-media img {
    max-width: 100%;
    border-radius: 5px;
    display: block;
}

/* 媒体容器样式 */
.popup-media-container {
    position: relative;
    width: 100%;
    height: 450px; /* 固定高度为450px */
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid rgba(58, 124, 197, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.popup-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 修改为cover以保持比例 */
    display: block;
}

.popup-video {
    width: 100%;
    height: 450px; /* 视频也设置为450px高度 */
    max-height: 450px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 8px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.popup-media-container:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: rgba(58, 124, 197, 0.8);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.video-progress {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.3);
    margin: 0 8px;
    position: relative;
    cursor: pointer;
}

.video-progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #3a7cc5";
}

.video-time {
    color: white;
    font-size: 11px;
    min-width: 70px;
    text-align: center;
}

.popup-text {
    line-height: 1.6;
    color: #e0e9ff";
    font-size: 14px;
    margin-bottom: 15px;
}

/* 新增的已找到按钮样式 */
.popup-found {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(58, 124, 197, 0.3);
}

.found-btn {
    background: linear-gradient(145deg, #2a5caa, #1a3a8f);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.found-btn:hover {
    background: linear-gradient(145deg, #3a7cc5, #2a5caa);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.found-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.found-btn.checked {
    background: linear-gradient(145deg, #4CAF50, #2E7D32);
}

.found-btn.checked::before {
    content: "✓";
    font-weight: bold;
}

/* 地图控制栏 */
.map-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background-color: rgba(13, 35, 71, 0.95);
    border-radius: 30px;
    padding: 10px 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 50;
    border: 1px solid rgba(58, 124, 197, 0.5);
    backdrop-filter: blur(8px);
    min-width: 300px;
    max-width: 95%;
    justify-content: center;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    margin: 10px;
    position: relative;
}

.control-group::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    background: rgba(58, 124, 197, 0.3);
}

.control-group:last-child::after {
    display: none;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(145deg, #2a5caa, #1a3a8f);
    color: white;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
    background: linear-gradient(145deg, #3a7cc5, #2a5caa);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.control-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.map-selector {
    padding: 0 15px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(145deg, #2a5caa, #1a3a8f);
    color: white;
    font-weight: bold;
    margin: 0 8px;
    cursor: pointer;
    height: 40px;
    appearance: none;
    outline: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 180px;
    font-size: 16px;
    text-align: center;
    position: relative;
}

.map-selector-container {
    position: relative;
    display: inline-block;
}

.map-selector-container::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: white;
    font-size: 10px;
    pointer-events: none;
}

.map-selector:hover {
    background: linear-gradient(145deg, #3a7cc5, #2a5caa);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.map-selector option {
    background-color: #0d2347;
    color: #e0e9ff";
    padding: 10px;
}

.zoom-display {
    min-width: 50px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin: 0 8px;
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    backdrop-filter: blur(3px);
}

/* 登录/注册弹窗 */
.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #0d2347;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    border: 1px solid rgba(58, 124, 197, 0.5);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(90deg, #1a3a8f, #2a5caa);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(58, 124, 197, 0.5);
}

.auth-title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(58, 124, 197, 0.3);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    background-color: rgba(26, 58, 143, 0.3);
    color: rgba(224, 233, 255, 0.7);
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background-color: rgba(58, 124, 197, 0.5);
    color: white;
}

.auth-content {
    padding: 20px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.auth-label {
    font-size: 14px;
    color: #c0d4f0";
}

.auth-input {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgba(58, 124, 197, 0.5);
    background-color: rgba(13, 35, 71, 0.8);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #3a7cc5";
    box-shadow: 0 0 0 2px rgba(58, 124, 197, 0.3);
}

.auth-btn {
    background: linear-gradient(145deg, #2a5caa, #1a3a8f);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background: linear-gradient(145deg, #3a7cc5, #2a5caa);
}

.auth-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: rgba(224, 233, 255, 0.7);
}

.auth-switch {
    color: #3a7cc5";
    cursor: pointer;
    text-decoration: underline;
}

.auth-error {
    color: #ff6b6b";
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

/* 加载指示器 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 26, 58, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(58, 124, 197, 0.3);
    border-radius: 50%;
    border-top-color: #3a7cc5";
    animation: spin 1s ease-in-out infinite;
}

.loader-text {
    margin-top: 15px;
    color: #e0e9ff";
    font-size: 16px;
}

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

/* 用户菜单 */
.user-menu {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #0d2347;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(58, 124, 197, 0.5);
    min-width: 200px;
}

.user-menu-header {
    padding: 15px;
    border-bottom: 1px solid rgba(58, 124, 197, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.user-menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-menu-info {
    flex: 1;
}

.user-menu-name {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 2px;
}

.user-menu-email {
    font-size: 12px;
    color: rgba(224, 233, 255, 0.7);
}

.user-menu-items {
    padding: 5px 0;
}

.user-menu-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #e0e9ff";
}

.user-menu-item:hover {
    background-color: rgba(58, 124, 197, 0.3);
}

.user-menu-item i {
    width: 20px;
    text-align: center;
}

.user-menu-divider {
    height: 1px;
    background-color: rgba(58, 124, 197, 0.3);
    margin: 5px 0;
}

/* 移动端优化 */
@media (max-width: 1024px) {
    /* 平板设备优化 */
    .navbar {
        height: 70px;
        padding: 0 15px;
    }
    
    .nav-logo {
        height: 45px;
    }
    
    .nav-title {
        font-size: 18px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .user-avatar {
        width: 38px;
        height: 38px;
    }
    
    .container {
        height: calc(100vh - 70px);
    }
    
    .marker-panel {
        width: 250px;
        padding: 12px;
    }
    
    .marker-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .marker-item {
        padding: 10px;
        font-size: 13px;
    }
    
    .marker-icon {
        width: 30px;
        height: 30px;
    }
    
    .marker-name {
        font-size: 13px;
    }
    
    .map-controls {
        bottom: 15px;
        padding: 10px 15px;
        min-width: 280px;
    }
    
    .control-btn {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
    
    .map-selector {
        height: 38px;
        font-size: 13px;
        min-width: 140px;
        padding: 0 12px;
    }
    
    .zoom-display {
        min-width: 45px;
        font-size: 13px;
    }
    
    .popup-title {
        font-size: 17px;
    }
    
    .popup-text {
        font-size: 14px;
    }
    
    .found-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
    
    .map-stats {
        max-width: 200px;
        padding: 10px;
    }
    
    .changelog-btn {
        font-size: 11px;
        padding: 7px 12px;
    }
    
    .reset-markers-btn {
        font-size: 11px;
        padding: 7px 12px;
    }
}

@media (max-width: 768px) {
    /* 手机设备优化 */
    .navbar {
        height: 60px;
        padding: 0 10px;
    }
    
    .nav-logo {
        height: 40px;
    }
    
    .nav-title {
        font-size: 16px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .user-avatar {
        width: 36px;
        height: 36px;
    }
    
    .container {
        height: calc(100vh - 60px);
    }
    
    .marker-panel {
        width: 220px;
        padding: 10px;
    }
    
    .marker-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .marker-item {
        padding: 8px;
        font-size: 12px;
    }
    
    .marker-icon {
        width: 28px;
        height: 28px;
    }
    
    .marker-name {
        font-size: 12px;
    }
    
    .map-controls {
        bottom: 10px;
        padding: 8px 12px;
        min-width: 260px;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .map-selector {
        height: 36px;
        font-size: 12px;
        min-width: 120px;
        padding: 0 10px;
    }
    
    .zoom-display {
        min-width: 40px;
        font-size: 12px;
    }
    
    .popup-title {
        font-size: 16px;
    }
    
    .popup-text {
        font-size: 13px;
    }
    
    .found-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .map-stats {
        max-width: 180px;
        padding: 8px;
    }
    
    .changelog-btn {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .reset-markers-btn {
        font-size: 10px;
        padding: 6px 10px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(58, 124, 197, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(58, 124, 197, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(58, 124, 197, 0.6);
}


.map-image-container {
    transform: translateZ(0);
}
