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

html, body, #cesiumContainer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

#cesiumContainer canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00d4ff;
    font-size: 18px;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 40px;
    border-radius: 4px;
    font-family: "Microsoft YaHei", sans-serif;
    letter-spacing: 2px;
}

.control-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 18, 35, 0.95);
    border: 1px solid #00d4ff;
    border-radius: 10px;
    padding: 16px;
    color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
    z-index: 1500;
    width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.control-panel h3 {
    color: #00d4ff;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.4);
}

.control-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
}

.control-item label {
    min-width: 70px;
    color: #9ddcff;
}

.control-item select,
.control-item input[type="range"] {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #fff;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 12px;
    outline: none;
}

.control-item input[type="range"] {
    padding: 0;
}

.control-item span {
    min-width: 50px;
    text-align: right;
    color: #00d4ff;
    font-family: "Consolas", monospace;
    font-size: 12px;
}

.control-hint {
    font-size: 11px;
    color: #9bb4c8;
    line-height: 1.5;
}

.flight-info {
    position: absolute;
    background: rgba(0, 20, 40, 0.95);
    border: 2px solid #00d4ff;
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
    z-index: 3000;
    display: none;
    min-width: 220px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    pointer-events: none;
    transform: translate(-50%, -120%);
}

.flight-info.show {
    display: block;
}

.flight-info h3 {
    color: #00d4ff;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #00d4ff;
    padding-bottom: 8px;
}

.flight-info .info-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 13px;
}

.flight-info .label {
    color: #aaa;
}

.flight-info .value {
    color: #00d4ff;
    font-weight: bold;
    font-family: "Consolas", monospace;
}

.camera-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #00d4ff;
    font-size: 14px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: "Microsoft YaHei", sans-serif;
    display: none;
}

.camera-hint.show {
    display: block;
}

.scene-mode-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1400;
    background: rgba(0, 18, 35, 0.95);
    border: 1px solid #00d4ff;
    color: #00d4ff;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 12px;
    font-family: "Microsoft YaHei", sans-serif;
    transition: all 0.2s;
}

.scene-mode-btn:hover {
    background: rgba(0, 35, 65, 0.95);
}
