* { margin: 0; padding: 0; box-sizing: border-box; }

body { background: #0d0d14; overflow: hidden; cursor: pointer; }

#info {
    position: fixed;
    bottom: 16px;
    left: 0; right: 0;
    text-align: center;
    font-family: sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    pointer-events: none;
}

/* ── Right panel ── */
#panel {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
    background: rgba(10, 10, 20, 0.55);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

#panel-label {
    font-family: sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    text-align: center;
    padding: 4px 8px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 4px;
}

.panel-btn {
    width: 130px;
    padding: 9px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(255,255,255,0.5);
    font-family: sans-serif;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-btn .icon {
    font-size: 15px;
    line-height: 1;
    opacity: 0.7;
}

.panel-btn:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}

.panel-btn.active {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}

.panel-btn.active .icon {
    opacity: 1;
}
