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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    background: #000;
}

/* 全景容器 - 全屏 */
#panorama {
    width: 100vw;
    height: 100vh;
}

/* 场景导航 */
#nav-container {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    z-index: 1000;
    max-width: 200px;
}

.nav-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#scene-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scene-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    text-align: left;
}

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

.scene-btn.active {
    background: #007AFF;
    border-color: #007AFF;
}

/* 控制提示 */
#controls-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    gap: 20px;
    z-index: 1000;
}

#controls-hint span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    #nav-container {
        top: auto;
        bottom: 80px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    #scene-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .scene-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
        text-align: center;
        padding: 8px 10px;
        font-size: 12px;
    }

    #controls-hint {
        bottom: 20px;
        padding: 8px 15px;
        gap: 15px;
    }
}

/* 隐藏Pannellum默认控件（可选） */
.pnlm-controls-container {
    display: none;
}
