/* ===== Base styles & layout ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e1a;
    color: #e0e6f0;
    overflow-x: hidden;
}

/* Disclaimer bar */
.disclaimer-bar {
    background: #2a1a1a;
    color: #cc9966;
    text-align: center;
    padding: 6px 16px;
    font-size: 0.82rem;
    border-bottom: 1px solid #4a3a2a;
}

/* View toggle bar */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 6px 20px;
    background: linear-gradient(135deg, #1a1f35, #2a1f3d);
    border-bottom: 2px solid #3a4a6a;
}

.view-toggle-btn {
    background: #1a2238;
    border: 1px solid #2a3a5a;
    color: #8899bb;
    padding: 10px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.25s;
}

.view-toggle-btn:hover {
    background: #222e4a;
    color: #a0bbdd;
}

.view-toggle-btn.active {
    background: #2a3a6a;
    color: #7eb8ff;
    border-color: #4a6a9a;
    box-shadow: 0 0 12px rgba(126, 184, 255, 0.15);
}

/* App layout: content + info panel side by side */
.app-layout {
    display: flex;
    height: calc(100vh - 88px);
}

.content-area {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* View panels - toggle visibility */
.view-panel {
    display: none;
    height: 100%;
}

.view-panel.active {
    display: flex;
    flex-direction: column;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb { background: #2a3a5a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a5a7a; }

/* Responsive */
@media (max-width: 900px) {
    .app-layout {
        flex-direction: column;
        height: auto;
    }
    .content-area {
        min-height: 60vh;
    }
    .info-panel {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid #2a3a5a;
        max-height: 400px;
    }
    .modal-content { flex-direction: column; }
    .heart-3d-panel { min-width: auto; }
    .heart-info-panel { flex: 0 0 auto; }
}