/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
            color: #e0e0e0;
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            margin: 0 auto;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            transition: all 0.8s ease;
        }

        .header.compact {
            text-align: left;
            margin-bottom: 20px;
            background: rgba(0, 0, 0, 0.8);
            padding: 10px 20px;
            border-radius: 8px;
            backdrop-filter: blur(10px);
            border: 1px solid #333;
        }

        .title {
            font-size: 3rem;
            font-weight: 700;
            background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
            margin-bottom: 10px;
            transition: all 0.8s ease;
        }

        .header.compact .title {
            font-size: 1.5rem;
            margin-bottom: 0;
        }

        .subtitle {
            font-size: 1.2rem;
            color: #888;
            font-weight: 300;
            opacity: 1;
            transition: opacity 0.5s ease;
        }

        .subtitle.hiding {
            opacity: 0;
        }

        .header.compact .subtitle {
            display: none;
        }

        .control-section {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin-bottom: 40px;
            flex-wrap: wrap;
            transition: all 0.8s ease;
        }

        .generate-btn {
            padding: 15px 40px;
            background: linear-gradient(45deg, #ff6b35, #f7931e);
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
            position: relative;
            overflow: hidden;
        }

        .generate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
        }

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

        .generate-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .options-container {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .option-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
        }

        .checkbox-container {
            display: flex;
            align-items: center;
            cursor: pointer;
            font-size: 0.9rem;
            color: #e0e0e0;
            font-weight: 500;
            user-select: none;
        }

        .checkbox-container input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .checkmark {
            position: relative;
            height: 18px;
            width: 18px;
            background: #333;
            border: 2px solid #555;
            border-radius: 4px;
            margin-right: 8px;
            transition: all 0.3s ease;
        }

        .checkbox-container:hover .checkmark {
            border-color: #ff6b35;
            box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
        }

        .checkbox-container input:checked ~ .checkmark {
            background: linear-gradient(45deg, #ff6b35, #f7931e);
            border-color: #ff6b35;
        }

        .checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }

        .checkbox-container input:checked ~ .checkmark:after {
            display: block;
        }

        .checkbox-container .checkmark:after {
            left: 6px;
            top: 2px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .option-description {
            font-size: 0.7rem;
            color: #888;
            text-align: center;
            max-width: 100px;
        }

        .loading {
            display: none;
            text-align: center;
            margin: 20px 0;
        }

        .spinner {
            border: 3px solid #333;
            border-top: 3px solid #ff6b35;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 全屏加载和版本更新样式 */
        .fullscreen-loading,
        .version-update-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease;
        }
        
        .fullscreen-loading.show,
        .version-update-overlay.show {
            opacity: 1;
            pointer-events: auto;
        }

        .fullscreen-loading.hidden,
        .version-update-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .fullscreen-loading-content,
        .version-update-content {
            text-align: center;
            color: #e0e0e0;
        }

        .loading-spinner {
            border: 4px solid #333;
            border-top: 4px solid #ff6b35;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        .loading-text {
            font-size: 1.2rem;
            font-weight: 500;
            color: #ff6b35;
            margin: 0;
        }

        .loadout-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 30px;
            justify-content: center;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .main-content {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .top-section {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .loadout-item {
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 12px;
            padding: 13px;
            border: 1px solid #333;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .loadout-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700);
        }

        .loadout-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border-color: #ff6b35;
        }

        .item-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            justify-content: center;
        }

        .item-icon {
            width: 50px;
            height: 50px;
            margin-right: 15px;
            border-radius: 8px;
            background: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .item-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: #ff6b35;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .item-content {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .item-image {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 8px;
            background: #333;
            padding: 5px;
        }

        .item-details {
            flex: 1;
        }

        .item-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: #e0e0e0;
            margin-bottom: 10px;
        }

        .equipment-note {
            font-size: 0.85rem;
            color: #888;
            font-weight: normal;
            margin-top: 4px;
            margin-bottom: 6px;
        }

        .item-stats {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            color: #aaa;
        }

        .stat-value {
            color: #ffd700;
            font-weight: 600;
        }

        .protect-level {
            display: inline-block;
            color: #e0e0e0;
            font-size: 0.9rem;
            font-weight: 600;
            border-bottom: 4px solid;
            border-radius: 4px;
            padding: 2px 6px;
            margin-bottom: 2px;
        }

        .protect-level-0 {
            border-color: #666;
        }

        .protect-level-1 {
            border-color: #666;
        }

        .protect-level-2 {
            border-color: #006f2d;
        }

        .protect-level-3 {
            border-color: #1b576d;
        }

        .protect-level-4 {
            border-color: #4D1894;
        }

        .protect-level-5 {
            border-color: #d3621c;
        }

        .protect-level-6 {
            border-color: #972529;
        }

        .armor-item-image {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 8px;
            padding: 5px;
        }

        .armor-item-image-0 {
            background: #333;
        }

        .armor-item-image-1 {
            background: #666;
        }

        .armor-item-image-2 {
            background: #006f2d;
        }

        .armor-item-image-3 {
            background: #1b576d;
        }

        .armor-item-image-4 {
            background: #4D1894;
        }

        .armor-item-image-5 {
            background: #D3621C;
        }

        .armor-item-image-6 {
            background: #972529;
        }

        .special-task {
            grid-column: 1 / -1;
            background: linear-gradient(145deg, #2a1a1a, #3a2a2a);
            border-color: #ff6b35;
        }

        .special-task .item-title {
            color: #ffd700;
        }

        .task-description {
            font-size: 1.1rem;
            color: #e0e0e0;
            text-align: center;
            padding: 15px;
            background: rgba(255, 107, 53, 0.1);
            border-radius: 8px;
            border-left: 4px solid #ff6b35;
            margin-bottom: 10px;
        }

        .task-description:last-child {
            margin-bottom: 0;
        }

        .task-title {
            color: #ffd700;
            font-weight: 600;
        }

        .task-content {
            color: #e0e0e0;
            font-weight: 400;
        }

        .error {
            background: linear-gradient(145deg, #3a1a1a, #4a2a2a);
            border: 1px solid #dc3545;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            color: #fff;
            margin: 20px 0;
        }

        .error-title {
            color: #dc3545;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .password-error {
            background: linear-gradient(145deg, #3a1a1a, #4a2a2a);
            border: 1px solid #dc3545;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            color: #fff;
            margin: 20px 0;
        }

        .password-error-icon {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .password-error h3 {
            color: #dc3545;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .password-error p {
            color: #ccc;
            margin-bottom: 8px;
        }

        .retry-btn {
            background: linear-gradient(45deg, #ff6b35, #f7931e);
            border: none;
            border-radius: 6px;
            color: white;
            padding: 8px 16px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            margin-top: 10px;
            transition: all 0.3s ease;
        }

        .retry-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
        }

        .stats-container {
            margin-top: 40px;
            text-align: center;
            padding: 20px;
            border-top: 1px solid #333;
        }

        .stats-text {
            color: #888;
            font-size: 0.9rem;
            font-weight: 400;
            margin: 0;
        }

        .author-link {
            color: #a0a0a0;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .author-link:hover {
            color: #d0d0d0;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            body {
                padding: 0; /* 移除 body 的 padding，改为在 .container 中设置 */
            }
            
            .header.compact {
                text-align: center;
                background: none;
                padding: 0;
                border: none;
                backdrop-filter: none;
            }
            
            .header.compact .title {
                font-size: 2rem;
                display: block;
                margin-right: 0;
                margin-bottom: 0;
            }
            
            .header.compact .subtitle {
                display: none;
            }
            
            .control-section {
                flex-direction: column;
                gap: 20px;
            }
            
            .options-container {
                gap: 15px;
                justify-content: center;
            }
            
            /* 地图选择独占一行 */
            .option-group:has(.dropdown-container) {
                flex-basis: 100%;
                order: -1;
            }
            
            /* 移动端下拉选项最大高度限制 */
            .dropdown-options {
                max-height: 200px;
            }
            
            .loadout-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .loadout-item {
                padding: 15px;
            }
            
            /* 移动端隐藏装备类型标题 */
            .item-header {
                display: none;
            }
            
            .item-content {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            /* 移动端顶部区域布局 */
            .top-section {
                position: relative;
                gap: 0;
                flex-direction: column;
                align-items: center;
                margin-bottom: 20px;
            }
            
            /* 地图容器 - 与PC端保持一致 */
            .map-container {
                position: relative;
                display: inline-block;
                margin: 20px 0;
                z-index: 1;
            }
            
            .map-container-inner {
                position: relative;
                display: inline-block;
            }
            
            .map-image {
                width: 320px;
                height: 180px;
                object-fit: cover;
                border-radius: 12px;
                border: 2px solid #333;
                transition: filter 0.3s ease;
                display: block;
            }
            
            
            .map-overlay-filter {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 12px;
                pointer-events: none;
                transition: all 0.3s ease;
            }
            
            .map-title {
                position: absolute;
                top: 0;
                left: 0;
                background: rgba(0, 0, 0, 0.8);
                color: #ffd700;
                padding: 6px 10px;
                border-radius: 12px 0 8px 0;
                font-size: 0.9rem;
                font-weight: 600;
                backdrop-filter: blur(5px);
                border-bottom: 2px solid #ff6b35;
                border-right: 2px solid #ff6b35;
                z-index: 2;
            }
            
            /* 移动端干员浮动布局 */
            .operator-container.mobile-floating {
                position: absolute;
                top: 15px;
                right: 15px;
                margin: 0;
                z-index: 10;
                display: flex;
                flex-direction: column;
                align-items: center;
                pointer-events: none; /* 允许点击穿透到地图 */
            }
            
            .operator-container.mobile-floating .operator-container-inner {
                display: flex;
                flex-direction: column;
                align-items: center;
                pointer-events: auto; /* 干员区域可以交互 */
            }
            
            .operator-container.mobile-floating .operator-image {
                width: 60px;
                height: 60px;
                border: 2px solid #ff6b35;
                box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
                border-radius: 50%;
                object-fit: cover;
            }
            
            .operator-container.mobile-floating .operator-name {
                font-size: 0.8rem;
                margin-top: 6px;
                background: rgba(0, 0, 0, 0.9);
                padding: 3px 6px;
                border-radius: 4px;
                border: 1px solid #ff6b35;
                white-space: nowrap;
                backdrop-filter: blur(10px);
                max-width: 100px;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #ffd700;
                font-weight: 600;
                text-align: center;
            }
            
            /* PC端干员样式保持不变 */
            .operator-container:not(.mobile-floating) {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin: 20px;
            }
            
            .operator-container:not(.mobile-floating) .operator-image {
                width: 120px;
                height: 120px;
                border: 3px solid #ff6b35;
            }
            
            .operator-container:not(.mobile-floating) .operator-name {
                font-size: 1.4rem;
                margin-top: 15px;
                color: #ffd700;
                font-weight: 600;
                text-align: center;
            }
            
            /* 主武器独占一行，图片和信息左右排列 */
            .weapon-item .item-content {
                flex-direction: row;
                text-align: left;
                align-items: flex-start;
                gap: 15px;
            }
            
            .weapon-item .item-image {
                width: 100px;
                height: 100px;
                flex-shrink: 0;
            }
            
            .weapon-item .item-details {
                flex: 1;
                min-width: 0;
            }
            
            .weapon-item .item-name {
                font-size: 1rem;
                margin-bottom: 8px;
            }
            
            .weapon-item .ammo-info {
                margin-top: 8px;
                padding: 8px;
                gap: 8px;
            }
            
            .weapon-item .ammo-image {
                width: 24px;
                height: 24px;
            }
            
            .weapon-item .stat-item {
                font-size: 0.8rem;
                gap: 3px;
            }
            
            /* 头盔和护甲横向布局 */
            .loadout-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            /* 创建头盔护甲横向容器 */
            .helmet-armor-row {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            
            .helmet-armor-row .loadout-item {
                padding: 15px;
            }
            
            .helmet-armor-row .loadout-item .item-header {
                display: none;
            }
            
            .helmet-armor-row .loadout-item .item-content {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
            
            .helmet-armor-row .loadout-item .item-image,
            .helmet-armor-row .loadout-item .armor-item-image {
                width: 60px;
                height: 60px;
                margin: 0 auto;
            }
            
            .helmet-armor-row .loadout-item .item-name {
                font-size: 0.95rem;
                margin-bottom: 8px;
                line-height: 1.2;
            }
            
            .helmet-armor-row .loadout-item .stat-item {
                font-size: 0.8rem;
                justify-content: center;
            }
            
            /* 特殊任务卡片保持全宽 */
            .special-task {
                grid-column: 1 / -1;
            }
            
            .task-description {
                font-size: 1rem;
                padding: 12px;
                line-height: 1.4;
            }
            
            /* 统计信息优化 */
            .stats-container {
                margin-top: 30px;
                padding: 15px;
            }
            
            .stats-text {
                font-size: 0.8rem;
                line-height: 1.3;
            }
            
            /* 移动端骨架屏调整 */
            .skeleton-map {
                position: relative;
                display: inline-block;
                margin: 20px;
            }
            
            .skeleton-map-image {
                width: 320px;
                height: 180px;
                border-radius: 12px;
                border: 2px solid #333;
            }
            
            .skeleton-map-title {
                position: absolute;
                top: 0;
                left: 0;
                width: 120px;
                height: 20px;
                border-radius: 12px 0 8px 0;
                background: rgba(0, 0, 0, 0.8);
                backdrop-filter: blur(5px);
                border-bottom: 2px solid #ff6b35;
                border-right: 2px solid #ff6b35;
            }
            
            .operator-container.mobile-floating .skeleton-operator-image {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                border: 2px solid #ff6b35;
            }
            
            .operator-container.mobile-floating .skeleton-operator-name {
                width: 60px;
                height: 14px;
                border-radius: 4px;
                margin-top: 6px;
            }
        }

        .ammo-info {
            display: flex;
            align-items: center;
            gap: 10px;
                /* margin-top: 10px;
                padding: 10px; */
            border-radius: 6px 0 0 6px;
            position: relative;
        }

        .vertical-label {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            background: rgba(255, 107, 53, 0.8);
            color: white;
            padding: 8px 4px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            margin-right: 8px;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
        }

        .ammo-info-0 {
            background: rgba(102, 102, 102, 0.1);
        }

        .ammo-info-1 {
            background: rgba(102, 102, 102, 0.1);
        }

        .ammo-info-2 {
            background: rgba(0, 111, 45, 0.1);
        }

        .ammo-info-3 {
            background: rgba(27, 87, 109, 0.1);
        }

        .ammo-info-4 {
            background: rgba(77, 24, 148, 0.1);
        }

        .ammo-info-5 {
            background: rgba(211, 98, 28, 0.1);
            position: relative;
            width: 90%;
        }

        /* 版本切换容器 */
        .version-toggle-container {
            margin-bottom: 0px;
        }

        .vertical-label {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-size: 12px;
            color: #888;
            padding: 2px 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        /* 当新版激活时隐藏二选一标签 */
        .ammo-info-5:has(.new-version.active) .vertical-label {
            opacity: 0;
            pointer-events: none;
            position: absolute;
            visibility: hidden;
        }

        /* 弹药信息容器 - 包含ammo-info和版本切换按钮 */
        .ammo-info-container {
            display: flex;
            align-items: stretch;
            gap: 0;
        }

        /* 版本切换按钮容器 - 位于ammo-info外部右侧 */
        .version-toggle-buttons {
            display: flex;
            flex-direction: column;
            gap: 0;
            min-width: 30px;
            /* margin-top: 10px; */ 
        }

        .version-toggle-buttons .version-btn {
            flex: 1;
            min-height: 0;
        }

        .version-btn {
            padding: 4px 8px;
            border: 1px solid #555;
            background: rgba(0, 0, 0, 0.6);
            color: #ccc;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .version-btn-first {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            border-bottom: none;
        }

        .version-btn-last {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

        .version-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: #777;
        }

        .version-btn.active {
            background: #ff6b35;
            border-color: #ff6b35;
            color: white;
        }

        /* 版本内容 */
        .version-content {
            display: none;
        }

        .version-content.active {
            display: block;
        }

        /* 新版布局样式 */
        .new-version-normal {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .new-stat-row {
            display: flex;
            gap: 16px;
        }

        .new-stat-card {
            flex: 1;
        }

        .new-stat-card .stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }

        .new-stat-card .stat-item span:first-child {
            color: #ccc;
            font-size: 14px;
        }

        .new-stat-card .stat-item .stat-value {
            color: #fff;
            font-weight: bold;
            font-size: 14px;
        }

        .new-quality-range .stat-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 5px;
        }

        .new-quality-range .stat-item span:first-child {
            color: #ccc;
            font-size: 14px;
        }

        .quality-bar {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .quality-min, .quality-max {
            font-size: 14px;
            font-weight: bold;
        }

        .quality-separator {
            color: #666;
            font-weight: bold;
        }

        /* 无限制模式样式 */
        .new-version-unlimited {
            text-align: center;
            padding: 16px 8px;
        }

        .unlimited-title {
            font-size: 16px;
            font-weight: bold;
            color: #FFD700;
            margin-bottom: 8px;
        }

        .unlimited-subtitle {
            font-size: 13px;
            color: #ccc;
            margin-bottom: 6px;
        }

        .unlimited-blessing {
            font-size: 12px;
            color: #4CAF50;
            font-style: italic;
        }

        /* 配件品质颜色 */
        .quality-绿色 {
            color: #4CAF50 !important;
            font-weight: 600;
        }

        .quality-蓝色 {
            color: #2196F3 !important;
            font-weight: 600;
        }

        .quality-紫色 {
            color: #9C27B0 !important;
            font-weight: 600;
        }

        .quality-橙色 {
            color: #FF9800 !important;
            font-weight: 600;
        }

        .quality-红色 {
            color: #F44336 !important;
            font-weight: 600;
        }

        /* 无限制提示样式 */
        .unlimited-message {
            text-align: center;
            padding: 10px;
            background: linear-gradient(45deg, #ff6b6b, #ffd93d);
            border-radius: 8px;
            color: #333;
            font-weight: bold;
        }

        .unlimited-line1 {
            font-size: 14px;
            margin-bottom: 4px;
        }

        .unlimited-line2 {
            font-size: 12px;
            opacity: 0.8;
        }

        .ammo-info-6 {
            background: rgba(151, 37, 41, 0.1);
        }

        .ammo-image {
            width: 30px;
            height: 30px;
            object-fit: contain;
        }

        .difficulty-badge {
            display: inline-block;
            padding: 4px 12px;
            background: linear-gradient(45deg, #dc3545, #c82333);
            border-radius: 20px;
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        /* 地图和干员的特殊样式 */
        .map-container {
            position: relative;
            display: inline-block;
            margin: 20px;
        }

        .map-image {
            width: 320px;
            height: 180px; /* 16:9 比例 */
            object-fit: cover;
            border-radius: 12px;
            border: 2px solid #333;
            transition: filter 0.3s ease;
        }

        .map-overlay-filter {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 12px;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .map-title {
            position: absolute;
            top: 0;
            left: 0;
            background: rgba(0, 0, 0, 0.8);
            color: #ffd700;
            padding: 8px 12px;
            border-radius: 12px 0 8px 0;
            font-size: 1rem;
            font-weight: 600;
            backdrop-filter: blur(5px);
            border-bottom: 2px solid #ff6b35;
            border-right: 2px solid #ff6b35;
            z-index: 2;
        }

        .operator-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 20px;
        }

        .operator-image {
            width: 120px;
            height: 120px; /* 1:1 比例 */
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #ff6b35;
        }

        .operator-name {
            font-size: 1.4rem;
            margin-top: 15px;
            color: #ffd700;
            font-weight: 600;
            text-align: center;
        }

        /* 骨架屏样式 */
        .skeleton {
            background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
        }

        @keyframes skeleton-loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

        .skeleton-item {
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid #333;
            position: relative;
            overflow: hidden;
        }

        .skeleton-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700);
        }

        .skeleton-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            justify-content: center;
        }

        .skeleton-title {
            width: 80px;
            height: 20px;
            border-radius: 4px;
        }

        .skeleton-content {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .skeleton-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
        }

        .skeleton-details {
            flex: 1;
        }

        .skeleton-name {
            width: 120px;
            height: 18px;
            border-radius: 4px;
            margin-bottom: 15px;
        }

        .skeleton-stat {
            width: 100%;
            height: 14px;
            border-radius: 4px;
            margin-bottom: 8px;
        }

        .skeleton-stat:last-child {
            width: 80%;
        }

        .skeleton-map {
            position: relative;
            display: inline-block;
            margin: 20px;
        }

        .skeleton-map-image {
            width: 320px;
            height: 180px;
            border-radius: 12px;
            border: 2px solid #333;
        }

        .skeleton-map-title {
            position: absolute;
            top: 0;
            left: 0;
            width: 120px;
            height: 20px;
            border-radius: 12px 0 8px 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            border-bottom: 2px solid #ff6b35;
            border-right: 2px solid #ff6b35;
        }

        .skeleton-operator {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 20px;
        }

        .skeleton-operator-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 3px solid #ff6b35;
        }

        .skeleton-operator-name {
            width: 100px;
            height: 20px;
            border-radius: 4px;
            margin-top: 15px;
        }

        .skeleton-task {
            grid-column: 1 / -1;
            background: linear-gradient(145deg, #2a1a1a, #3a2a2a);
            border-color: #ff6b35;
        }

        .skeleton-task-description {
            width: 100%;
            height: 30px;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .skeleton-task-description:last-child {
            margin-bottom: 0;
        }

        /* 公告框样式 */
        .announcement-box {
            position: fixed;
            top: 20px;
            right: -380px;
            width: 430px;
            z-index: 1000;
            transition: right 0.3s ease;
        }

        .announcement-box.show {
            right: 0;
        }

        .announcement-trigger {
            position: absolute;
            top: 0;
            left: 0;
            width: 50px;
            height: 40px;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            border-radius: 25px 0 0 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
            z-index: 2;
        }

        .announcement-trigger:hover {
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
            background: linear-gradient(135deg, #f7931e, #ffd700);
        }

        .announcement-content {
            position: absolute;
            top: 0;
            left: 50px;
            width: 380px;
            max-height: 500px;
            background: rgba(0, 0, 0, 0.95);
            border-radius: 0 15px 15px 15px;
            backdrop-filter: blur(20px);
            border: 1px solid #333;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }

        .announcement-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            border-radius: 0 15px 0 0;
        }

        .announcement-header h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            color: white;
        }

        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s ease;
        }

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

        .announcement-list {
            max-height: 420px;
            overflow-y: auto;
            padding: 0;
        }

        .announcement-item {
            padding: 15px 20px;
            border-bottom: 1px solid #333;
            transition: background-color 0.2s ease;
        }

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

        .announcement-item:hover {
            background-color: rgba(255, 107, 53, 0.05);
        }

        .announcement-date {
            font-size: 12px;
            color: #ff6b35;
            margin-bottom: 5px;
            font-weight: 500;
        }

        .announcement-text {
            font-size: 14px;
            line-height: 1.5;
            color: #e0e0e0;
        }

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

        .announcement-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }

        .announcement-list::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            border-radius: 3px;
        }

        .announcement-list::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #f7931e, #ffd700);
        }

        /* 公告加载状态样式 */
        .announcement-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            color: #888;
        }

        .loading-spinner-small {
            border: 2px solid #333;
            border-top: 2px solid #ff6b35;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            margin-bottom: 10px;
        }

        .announcement-error {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            color: #dc3545;
            text-align: center;
        }

        .announcement-error-icon {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .announcement-error-text {
            font-size: 14px;
            line-height: 1.4;
        }

        .announcement-retry-btn {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            margin-top: 10px;
            transition: all 0.2s ease;
        }

        .announcement-retry-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
        }

        /* 公告偏好设置样式 */
        .announcement-preference {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px 20px;
            text-align: center;
        }

        .preference-icon {
            font-size: 32px;
            margin-bottom: 15px;
        }

        .preference-title {
            font-size: 16px;
            font-weight: 600;
            color: #ff6b35;
            margin-bottom: 15px;
        }

        .preference-description {
            font-size: 14px;
            line-height: 1.5;
            color: #ccc;
            margin-bottom: 25px;
            max-width: 280px;
        }

        .preference-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .preference-btn {
            background: transparent;
            border: 2px solid;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            min-width: 100px;
        }

        .preference-btn-yes {
            border-color: #ff6b35;
            color: #ff6b35;
        }

        .preference-btn-yes:hover {
            background: #ff6b35;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
        }

        .preference-btn-no {
            border-color: #666;
            color: #666;
        }

        .preference-btn-no:hover {
            background: #666;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 102, 102, 0.3);
        }

        /* 公告控制按钮样式 */
        .announcement-control {
            border-top: 1px solid #333;
            padding: 15px 20px;
            text-align: center;
            background: rgba(255, 107, 53, 0.05);
        }

        .announcement-control-btn {
            background: transparent;
            border: 2px solid #666;
            color: #666;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-bottom: 8px;
        }

        .announcement-control-btn:hover {
            background: #666;
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(102, 102, 102, 0.3);
        }

        .announcement-control-desc {
            font-size: 11px;
            color: #888;
            line-height: 1.3;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .announcement-box {
                top: 10px;
                right: calc(-100vw + 40px);
                width: 100vw;
            }

            .announcement-box.show {
                right: 0;
            }

            .announcement-trigger {
                width: 40px;
                height: 35px;
                font-size: 16px;
            }

            .announcement-content {
                width: calc(100vw - 40px);
                left: 40px;
                border-radius: 0 15px 15px 15px;
                max-height: 70vh;
            }

            .announcement-header {
                border-radius: 0 15px 0 0;
            }

            .announcement-list {
                max-height: calc(70vh - 60px);
            }
        }

        /* 侧边栏样式 */
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 260px;
            height: 100vh;
            background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
            border-right: 1px solid #333;
            z-index: 1000;
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
            overflow-y: auto;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }

        .sidebar::-webkit-scrollbar {
            display: none; /* Chrome, Safari and Opera */
        }

        .sidebar.collapsed {
            transform: translateX(-200px);
        }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            border-bottom: 1px solid #333;
            background: rgba(255, 107, 53, 0.1);
        }

        .sidebar-header h3 {
            color: #ff6b35;
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
        }

        .sidebar-toggle {
            background: rgba(255, 107, 53, 0.2);
            border: 1px solid #ff6b35;
            color: #ff6b35;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .sidebar-toggle:hover {
            background: #ff6b35;
            color: white;
            transform: scale(1.1);
        }

        .toggle-icon {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .sidebar-nav {
            flex: 1;
            padding: 20px 0;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            text-decoration: none;
            color: #ccc;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            position: relative;
        }

        .nav-item:hover {
            background: rgba(255, 107, 53, 0.1);
            color: #ff6b35;
            border-left-color: #ff6b35;
            transform: translateX(5px);
        }

        .nav-item.active {
            background: rgba(255, 107, 53, 0.15);
            color: #ff6b35;
            border-left-color: #ff6b35;
            font-weight: 600;
        }

        .nav-item.active::before {
            content: '';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background: #ff6b35;
            border-radius: 50%;
        }

        .nav-icon {
            font-size: 1.2rem;
            margin-right: 15px;
            min-width: 20px;
            text-align: center;
        }

        .nav-text {
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .sidebar.collapsed .nav-text {
            opacity: 0;
        }

        /* 侧边栏图片展示区域样式 */
        .sidebar-gallery {
            padding: 10px 6px;
            border-top: 1px solid #333;
        }

        .gallery-image-container {
            width: 100%;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }

        .gallery-image-container:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
        }

        .gallery-image {
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-image:hover {
            transform: scale(1.02);
        }

        /* 侧边栏收起时隐藏图片 */
        .sidebar.collapsed .sidebar-gallery {
            display: none;
        }
        
        /* 装备页面图片展示区域样式 */
        .loadout-gallery {
            grid-column: 1 / -1;
            width: 100%;
            margin-top: 15px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border: 1px solid rgba(255, 107, 53, 0.2);
            transition: all 0.3s ease;
        }
        
        .loadout-gallery:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 107, 53, 0.4);
        }
        
        .loadout-gallery .gallery-image-container {
            width: 100%;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }
        
        .loadout-gallery .gallery-image-container:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
        }
        
        .loadout-gallery .gallery-image {
            width: 100%;
            height: auto;
            max-height: 150px;
            object-fit: cover;
            display: block;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .loadout-gallery .gallery-image:hover {
            transform: scale(1.02);
        }

        .sidebar-footer {
            padding: 0 0 10px 0;
            border-top: 1px solid #333;
            text-align: center;
        }

        .version-info {
            font-size: 0.8rem;
            color: #666;
            font-weight: 500;
        }

        /* 又拍云赞助商样式 */
        .upyun-sponsor {
            margin-bottom: 6px 0 0 0;
        }

        .upyun-link {
            display: block;
            text-decoration: none;
            color: #ccc;
            font-size: 0.75rem;
            transition: color 0.3s ease;
            text-align: center;
        }

        .upyun-link:hover {
            color: #fff;
        }

        .upyun-logo {
            width: 52px;
            vertical-align: middle;
            margin: 0 2px 3px;
        }

        .upyun-text {
            line-height: 1.2;
            display: inline;
        }

        /* 侧边栏收起时的又拍云样式 */
        .sidebar.collapsed .upyun-text {
            display: none;
        }

        .sidebar.collapsed .upyun-link {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .sidebar.collapsed .upyun-logo {
            margin: 0;
        }

        /* 主内容区域样式 */
        .has-sidebar {
            margin-left: 260px;
            transition: margin-left 0.3s ease;
        }

        .has-sidebar.sidebar-collapsed {
            margin-left: 60px;
        }

        .main-content {
            min-height: 100vh;
            background: inherit;
        }

        .page-content {
            opacity: 1;
            transition: opacity 0.2s ease;
        }

        /* 页面特定样式 */
        .quiz-page,
        .stats-page,
        .settings-page,
        .announcements-page {
            padding: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .quiz-header,
        .stats-header,
        .settings-header,
        .announcements-header,
        .tools-header-like,
        .minigames-header-like {
            text-align: center;
            margin-bottom: 40px;
        }

        .quiz-header h2,
        .stats-header h2,
        .settings-header h2,
        .announcements-header h2,
        .tools-header-like h2,
        .minigames-header-like h2 {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
        }

        .quiz-header p,
        .stats-header p,
        .settings-header p,
        .announcements-header p,
        .tools-header-like p,
        .minigames-header-like p {
            font-size: 1.1rem;
            color: #aaa;
        }

        .quiz-content,
        .stats-content,
        .settings-content {
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 12px;
            padding: 30px;
            border: 1px solid #333;
            text-align: center;
            color: #ccc;
            font-size: 1.1rem;
        }

        /* 公告页面特殊样式 */
        .announcements-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .announcements-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .announcement-card {
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid #333;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .announcement-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700);
        }

        .announcement-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
            border-color: #ff6b35;
        }

        .announcement-card-date {
            font-size: 0.9rem;
            color: #ff6b35;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .announcement-card-date::before {
            content: '📅';
            margin-right: 8px;
        }

        .announcement-card-content {
            font-size: 1rem;
            line-height: 1.6;
            color: #e0e0e0;
        }

        .no-announcements {
            text-align: center;
            padding: 60px 20px;
            color: #888;
        }

        .no-announcements-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.6;
        }

        .no-announcements p {
            font-size: 1.2rem;
            margin: 0;
        }

        .announcements-error {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(145deg, #2a1a1a, #3a2a2a);
            border-radius: 12px;
            border: 1px solid #dc3545;
        }

        .announcements-error-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #dc3545;
        }

        .announcements-error h3 {
            color: #dc3545;
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .announcements-error p {
            color: #ccc;
            font-size: 1rem;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .retry-btn {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .retry-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(255, 107, 53, 0.4);
        }

        /* 历史记录页面样式 */
        .history-page {
            padding: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .history-header {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 2px solid #333;
        }

        .history-header h2 {
            color: #ff6b35;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .history-header p {
            color: #ccc;
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .history-actions {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .clear-history-btn {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .clear-history-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
        }

        .history-content {
            width: 100%;
        }

        .history-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .history-record {
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 12px;
            padding: 15px;
            border: 1px solid #333;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .history-record::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700);
        }

        .history-record:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
            border-color: #ff6b35;
        }

        .record-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .record-time {
            display: flex;
            align-items: center;
            color: #ff6b35;
            font-weight: 600;
            font-size: 1rem;
        }

        .time-icon {
            margin-right: 8px;
            font-size: 1.1rem;
        }

        .record-number {
            background: rgba(255, 107, 53, 0.2);
            color: #ff6b35;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .record-options {
            margin-bottom: 20px;
        }

        .options-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .option-tag {
            background: linear-gradient(135deg, #333, #444);
            color: #ffd700;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid #555;
        }

        .no-options {
            color: #888;
            font-size: 0.9rem;
            font-style: italic;
        }

        .accessory-limit {
            padding: 6px 12px;
            background: linear-gradient(135deg, #1a4d3a, #2d5a3d);
            color: #90ee90;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid #4a7c59;
            display: inline-block;
        }

        /* 手机版配件限制换行显示 */
        @media (max-width: 768px) {
            .accessory-limit {
                margin-top: 8px;
                display: block;
                width: fit-content;
            }
        }

        .loadout-display {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            padding: 20px;
            border: 1px solid #444;
        }

        /* 紧凑布局样式 */
        .loadout-display.compact {
            padding: 15px;
        }

        .loadout-display.compact .loadout-section {
            margin-bottom: 15px;
        }

        /* 基本信息区域（地图、干员、难度） */
        .basic-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
        }

        .basic-info-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 12px;
            border-radius: 6px;
            color: #e0e0e0;
            font-size: 0.85rem;
            text-align: center;
        }

        /* 主要装备区域（武器、头盔、护甲横向排列） */
        .equipment-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 12px;
        }

        .equipment-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            transition: all 0.2s ease;
        }

        .equipment-card:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .equipment-header {
            color: #ffd700;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .equipment-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .equipment-img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            padding: 2px;
        }

        .equipment-name {
            color: #e0e0e0;
            font-weight: 600;
            font-size: 0.85rem;
            line-height: 1.2;
            text-align: center;
        }

        .equipment-sub {
            color: #ccc;
            font-size: 0.75rem;
        }

        /* 其他装备区域 */
        .other-equipment-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 6px;
        }

        .other-equipment-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 6px 10px;
            border-radius: 4px;
            color: #e0e0e0;
            font-size: 0.8rem;
            text-align: center;
        }

        /* 简化的历史记录布局样式 */
        .loadout-display-simple {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            padding: 12px;
            border: 1px solid #333;
        }

        .loadout-display-simple .loadout-section {
            margin-bottom: 10px;
        }

        .loadout-display-simple .loadout-section:last-child {
            margin-bottom: 0;
        }

        /* 基本信息（地图-难度，干员）简化样式 */
        .basic-info-simple {
            margin-bottom: 8px !important;
        }

        .basic-info-text {
            color: #ccc;
            font-size: 0.85rem;
            text-align: center;
            padding: 4px 0;
        }

        /* 主要装备简化样式 */
        .equipment-grid-simple {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            justify-content: center;
        }

        .equipment-card-simple {
            text-align: center;
            padding: 8px 4px;
        }

        .equipment-img-simple {
            width: 70px;
            height: 70px;
            object-fit: contain;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.1);
            padding: 3px;
            margin-bottom: 6px;
        }

        .equipment-name-simple {
            color: #e0e0e0;
            font-size: 0.75rem;
            line-height: 1.1;
            margin-bottom: 2px;
        }

        .equipment-level-simple {
            color: #ffd700;
            font-size: 0.7rem;
            font-weight: 600;
        }

        /* 其他装备简化样式 */
        .other-equipment-simple {
            margin-top: 8px;
        }

        .other-equipment-text {
            color: #ccc;
            font-size: 0.75rem;
            text-align: center;
            padding: 4px 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
            line-height: 1.3;
        }

        .loadout-section {
            margin-bottom: 20px;
        }

        .loadout-section:last-child {
            margin-bottom: 0;
        }

        .loadout-section h4 {
            color: #ffd700;
            font-size: 1.1rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .weapon-info,
        .equipment-info {
            display: flex;
            align-items: center;
            gap: 15px;
            background: rgba(255, 255, 255, 0.05);
            padding: 12px;
            border-radius: 8px;
        }

        .weapon-image,
        .equipment-image {
            width: 50px;
            height: 50px;
            object-fit: contain;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.1);
            padding: 4px;
        }

        .weapon-details,
        .equipment-details {
            flex: 1;
        }

        .weapon-name,
        .equipment-name {
            color: #e0e0e0;
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .weapon-type,
        .equipment-level {
            color: #ccc;
            font-size: 0.85rem;
        }

        .other-equipment {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 8px;
        }

        .equipment-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 12px;
            border-radius: 6px;
            color: #e0e0e0;
            font-size: 0.9rem;
        }

        .no-history,
        .history-error {
            text-align: center;
            padding: 80px 20px;
            background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
            border-radius: 15px;
            border: 1px solid #333;
        }

        .no-history-icon,
        .history-error-icon {
            font-size: 4rem;
            margin-bottom: 25px;
            opacity: 0.6;
        }

        .history-error-icon {
            color: #dc3545;
            opacity: 1;
        }

        .no-history h3,
        .history-error h3 {
            color: #ff6b35;
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        .history-error h3 {
            color: #dc3545;
        }

        .no-history p,
        .history-error p {
            color: #ccc;
            font-size: 1.1rem;
            line-height: 1.5;
        }

        /* 设置页面特殊样式 */
        .settings-content {
            text-align: left;
        }

        .setting-group {
            margin-bottom: 30px;
        }

        .setting-group h3 {
            color: #ff6b35;
            font-size: 1.2rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .setting-item {
            display: flex;
            align-items: center;
            padding: 10px 0;
            cursor: pointer;
            font-size: 1rem;
            color: #e0e0e0;
            user-select: none;
            transition: color 0.3s ease;
        }

        .setting-item:hover {
            color: #ff6b35;
        }

        .setting-item input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .setting-item input[type="checkbox"] + span::before {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            background: #333;
            border: 2px solid #555;
            border-radius: 4px;
            margin-right: 12px;
            transition: all 0.3s ease;
            vertical-align: middle;
        }

        .setting-item:hover input[type="checkbox"] + span::before {
            border-color: #ff6b35;
        }

        .setting-item input[type="checkbox"]:checked + span::before {
            background: linear-gradient(45deg, #ff6b35, #f7931e);
            border-color: #ff6b35;
        }

        .setting-item input[type="checkbox"]:checked + span::after {
            content: '✓';
            position: absolute;
            left: 6px;
            color: white;
            font-size: 14px;
            font-weight: bold;
            margin-left: -18px;
            margin-top: 1px;
        }

        /* 移动端侧边栏适配 */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                transform: translateX(-100%);
                z-index: 1001;
            }

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

            .sidebar:not(.collapsed) {
                transform: translateX(0);
            }

            .has-sidebar {
                margin-left: 0;
            }

            .has-sidebar.sidebar-collapsed {
                margin-left: 0;
            }

            .quiz-page,
            .stats-page,
            .settings-page,
            .announcements-page,
            .history-page {
                padding: 20px;
            }

            /* 工具面板全局遮罩 */
            #toolsGlobalBackdrop {
                position: fixed;
                inset: 0;
                background: rgba(0,0,0,0.45);
                z-index: 98;
                display: none;
            }
            #toolsGlobalBackdrop.show { display: block; }

            .quiz-header h2,
            .stats-header h2,
            .settings-header h2,
            .announcements-header h2,
            .tools-header-like h2 {
                font-size: 2rem;
            }

            .quiz-content,
            .stats-content,
            .settings-content {
                padding: 20px;
            }

            /* 移动端公告页面适配 */
            .announcement-card {
                padding: 20px;
            }

            .announcement-card-date {
                font-size: 0.85rem;
                margin-bottom: 12px;
            }

            .announcement-card-content {
                font-size: 0.95rem;
                line-height: 1.5;
            }

            .no-announcements {
                padding: 40px 20px;
            }

            .no-announcements-icon {
                font-size: 3rem;
                margin-bottom: 15px;
            }

            .no-announcements p {
                font-size: 1.1rem;
            }

            .announcements-error {
                padding: 40px 20px;
            }

            .announcements-error-icon {
                font-size: 2.5rem;
            }

            .announcements-error h3 {
                font-size: 1.3rem;
            }

            .announcements-error p {
                font-size: 0.95rem;
            }

            /* 移动端侧边栏遮罩 */
            .sidebar-overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1000;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease;
            }

            .sidebar-overlay.show {
                opacity: 1;
                pointer-events: auto;
            }
        }

        /* 移动端头部区域 */
        .mobile-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            border-bottom: 2px solid #333;
            display: none;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .mobile-title {
            flex: 1;
            text-align: center;
            font-size: 1.2rem;
            font-weight: 600;
            background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
        }

        .mobile-header-spacer {
            width: 50px; /* 与菜单按钮宽度一致，保持居中 */
        }

        /* 移动端菜单按钮 */
        .mobile-menu-btn {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            border: none;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .mobile-menu-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .hamburger span {
            width: 18px;
            height: 2px;
            background: white;
            transition: all 0.3s ease;
            border-radius: 1px;
        }

        @media (max-width: 768px) {
            .mobile-header {
                display: flex;
            }

            /* 历史记录页面移动端样式 */
            .history-header h2 {
                font-size: 2rem;
            }

            .history-header p {
                font-size: 1rem;
            }

            .history-record {
                padding: 12px;
            }

            .record-number {
                position: absolute;
                top: 8px;
                right: 12px;
            }

            .record-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            /* 紧凑布局移动端样式 */
            .loadout-display.compact {
                padding: 12px;
            }

            .basic-info-grid {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .basic-info-item {
                font-size: 0.8rem;
                padding: 6px 10px;
            }

            .equipment-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
                gap: 8px;
            }

            .equipment-card {
                padding: 8px;
            }

            .equipment-img {
                width: 35px;
                height: 35px;
                object-fit: contain;
            }

            .equipment-name {
                font-size: 0.8rem;
            }

            .equipment-sub {
                font-size: 0.7rem;
            }

            .other-equipment-grid {
                grid-template-columns: 1fr;
                gap: 4px;
            }

            .other-equipment-item {
                font-size: 0.75rem;
                padding: 5px 8px;
            }

            /* 简化布局移动端样式 */
            .loadout-display-simple {
                padding: 8px;
            }

            .basic-info-text {
                font-size: 0.8rem;
            }

            .equipment-grid-simple {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            }

            .equipment-img-simple {
                width: 60px;
                height: 60px;
                object-fit: contain;
            }

            .equipment-name-simple {
                font-size: 0.7rem;
            }

            .equipment-level-simple {
                font-size: 0.65rem;
            }

            .other-equipment-text {
                font-size: 0.7rem;
                padding: 3px 6px;
            }

            .no-history,
            .history-error {
                padding: 60px 20px;
            }

            .no-history-icon,
            .history-error-icon {
                font-size: 3rem;
            }

            .no-history h3,
            .history-error h3 {
                font-size: 1.5rem;
            }

            .no-history p,
            .history-error p {
                font-size: 1rem;
            }
            
            /* 为移动端内容添加顶部间距，避免被头部遮挡 */
            .container {
                padding: 80px 0 15px 0;
            }
        }

        /* 每日密码页面样式 */
        .daily-password-page {
            padding: 40px 20px;
            min-height: auto;
            height: auto;
        }

        /* 确保每日密码页面的主容器能够正确调整高度 */
        .daily-password-active .main-content {
            min-height: auto !important;
            height: auto;
        }

        .daily-password-active .page-content {
            min-height: auto;
            height: auto;
        }

        .password-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .password-header h2 {
            color: #ff6b35;
            font-size: 2.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .update-time {
            color: #ccc;
            font-size: 1.1rem;
            margin: 0;
        }

        .maps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .map-card {
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border-radius: 15px;
            border: 1px solid #444;
            overflow: hidden;
            transition: all 0.3s ease;
            opacity: 0;
            position: relative;
            animation: fadeInUp 0.6s ease forwards;
        }

        .map-name {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
            padding: 12px 15px;
            margin: 0;
            letter-spacing: 1px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .map-password-overlay {
            position: absolute;
            top: 56%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 3.3rem;
            font-weight: 900;
            font-family: 'Arial Black', Arial, sans-serif;
            letter-spacing: 4px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
            z-index: 10;
        }

        /* 使用animation关键帧而不是初始transform来避免影响容器高度 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .map-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
            border-color: #ff6b35;
        }

        .map-image {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            overflow: hidden;
        }

        .map-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .map-card:hover .map-image img {
            transform: scale(1.1);
        }

        /* 每日密码页面移动端适配 */
        @media (max-width: 768px) {
            .daily-password-active .main-content {
                min-height: auto !important;
            }
            
            .password-header h2 {
                font-size: 2rem;
                margin-bottom: 10px;
            }

            .update-time {
                font-size: 1rem;
            }

            .maps-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                margin-bottom: 30px;
            }

            .map-name {
                font-size: 1rem;
                padding: 8px 10px;
                letter-spacing: 0.5px;
            }

            .map-password-overlay {
                font-size: 2.5rem;
                letter-spacing: 2px;
            }

            .map-image {
                aspect-ratio: 16/9;
            }

            .notice {
                flex-direction: column;
                gap: 8px;
                padding: 15px;
            }

            .notice p {
                font-size: 1rem;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .map-name {
                font-size: 0.9rem;
                padding: 6px 8px;
            }

            .map-password-overlay {
                font-size: 1.5rem;
                letter-spacing: 1px;
            }

            .map-image {
                aspect-ratio: 16/9;
            }

            .maps-grid {
                gap: 12px;
            }

            .password-header h2 {
                font-size: 2.8rem;
            }
        }

        /* iframe容器样式 */
        .iframe-container {
            width: 100%;
            height: auto;
            min-height: auto;
            position: relative;
            border-radius: 10px;
            overflow: visible;
            box-shadow: none;
            background: transparent;
        }

        .iframe-container iframe {
            width: 100%;
            height: auto;
            min-height: 600px;
            border: none;
            border-radius: 10px;
            transition: opacity 0.3s ease;
            background: transparent;
            overflow: hidden;
        }

        /* 移动端iframe适配 */
        @media (max-width: 768px) {
            .iframe-container {
                height: auto;
                min-height: auto;
                border-radius: 8px;
            }
            
            .iframe-container iframe {
                min-height: 500px;
                height: auto;
            }
        }

        /* 为iframe页面添加加载动画 */
        .iframe-container::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            z-index: 1;
        }

        .iframe-container.loaded::before {
            display: none;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* 关注弹窗样式 */
        .follow-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        /* Lightbox2 样式修复 - 确保正确的层级和居中显示 */
        .lightbox {
            z-index: 10001 !important;
        }
        
        .lightbox .lb-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background: rgba(0, 0, 0, 0.8) !important;
            z-index: 10001 !important;
        }
        
        .lightbox .lb-outerContainer {
            position: fixed !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) !important;
            z-index: 10002 !important;
        }
        
        .lightbox .lb-container {
            position: relative !important;
        }
        
        .lightbox .lb-image {
            max-width: 90vw !important;
            max-height: 90vh !important;
            width: auto !important;
            height: auto !important;
        }

        .follow-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .follow-modal-content {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            padding: 30px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.8) translateY(20px);
            transition: all 0.3s ease;
        }

        .follow-modal-overlay.show .follow-modal-content {
            transform: scale(1) translateY(0);
        }

        .follow-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            color: white;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .follow-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .follow-modal-image {
            margin-bottom: 20px;
        }

        .cute-gif {
            width: 150px;
            height: 150px;
            border-radius: 15px;
            object-fit: cover;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: cuteBounce 2s ease-in-out infinite;
        }

        @keyframes cuteBounce {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .follow-modal-text h3 {
            color: white;
            font-size: 1.5em;
            margin: 0 0 25px 0;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            animation: textGlow 2s ease-in-out infinite;
        }

        @keyframes textGlow {
            0%, 100% {
                text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            }
            50% {
                text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
            }
        }

        .follow-modal-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .follow-modal-btn {
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: none;
            letter-spacing: 0;
        }

        .later-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .later-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .follow-btn {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
        }

        .follow-btn:hover {
            background: linear-gradient(45deg, #ee5a24, #ff6b6b);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
        }

        /* 移动端弹窗适配 */
        @media (max-width: 768px) {
            .follow-modal-content {
                padding: 25px 20px;
                max-width: 350px;
            }

            .cute-gif {
                width: 120px;
                height: 120px;
            }

            .follow-modal-text h3 {
                font-size: 1.3em;
            }

            .follow-modal-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .follow-modal-btn {
                width: 100%;
                padding: 15px 20px;
            }
        }

        /* 地图选择下拉框样式 */
        .dropdown-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
        }

        .custom-dropdown {
            position: relative;
            min-width: 120px;
        }

        .dropdown-selected {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background: #333;
            border: 2px solid #555;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            color: #e0e0e0;
            transition: all 0.3s ease;
            user-select: none;
        }

        .dropdown-selected:hover {
            border-color: #ff6b35;
            box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
        }

        .dropdown-arrow {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
            margin-left: 8px;
        }

        .custom-dropdown.open .dropdown-arrow {
            transform: rotate(180deg);
        }

        .dropdown-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #2a2a2a;
            border: 2px solid #555;
            border-top: none;
            border-radius: 0 0 4px 4px;
            overflow-y: auto;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

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

        .dropdown-option {
            padding: 10px 12px;
            cursor: pointer;
            font-size: 0.9rem;
            color: #e0e0e0;
            transition: all 0.2s ease;
            border-bottom: 1px solid #444;
        }

        .dropdown-option:last-child {
            border-bottom: none;
        }

        .dropdown-option:hover {
            background: #ff6b35;
            color: white;
        }

        .dropdown-option.selected {
            background: linear-gradient(45deg, #ff6b35, #f7931e);
            color: white;
        }

        /* 互斥提示样式 */
        .mutual-exclusive-warning {
            color: #ff4444;
            font-size: 0.7rem;
            margin-top: 2px;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mutual-exclusive-warning.show {
            opacity: 1;
        }

        /* 自定义下拉列表滚动条样式 */
        .dropdown-options::-webkit-scrollbar {
            width: 4px;
        }

        .dropdown-options::-webkit-scrollbar-track {
            background: #1a1a1a;
            border-radius: 2px;
        }

        .dropdown-options::-webkit-scrollbar-thumb {
            background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .dropdown-options::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(45deg, #ff8c5a, #ffa43e, #ffe033);
            box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
        }

        .dropdown-options::-webkit-scrollbar-thumb:active {
            background: linear-gradient(45deg, #e55a2b, #e6821a, #e6c200);
        }