#volume-panel {
    position: absolute;
    top: 88px;
    right: 15px;
    width: 260px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    z-index: 150;
}

#volume-panel.hidden {
    display: none;
}

#volume-panel h3 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ffd700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.volume-row {
    display: grid;
    grid-template-columns: 78px 1fr 40px;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.volume-row:last-child {
    margin-bottom: 0;
}

.volume-row label {
    font-size: 13px;
}

.volume-row input[type="range"] {
    width: 100%;
}

.volume-row span {
    font-size: 12px;
    text-align: right;
    color: #ddd;
}

#help-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 200;
    cursor: pointer;
}

#help-overlay.hidden {
    display: none;
}

.help-content {
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px 40px;
    max-width: 500px;
    color: white;
    cursor: default;
}

.help-content h2 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
}

.help-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.help-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.help-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.help-content li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ffd700;
}

.help-close {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-top: 20px;
    font-style: italic;
}

#confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 250;
}

#confirm-overlay.hidden {
    display: none;
}

.confirm-content {
    background: rgba(30, 30, 30, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.confirm-content p {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}
