.help-tour-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9500;
}
.help-tour-overlay.open { display: block; }

.help-tour-exit-pill {
    display: none;
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9600;
    background: #ffbf00;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.help-tour-exit-pill.open { display: block; }

.help-tour-box {
    position: fixed;
    border: 2px solid #ffbf00;
    border-radius: 8px;
    box-shadow: 0 0 0 4px rgba(255,191,0,0.15);
    z-index: 9500;
    pointer-events: none;
}

.help-tour-badge {
    position: fixed;
    z-index: 9550;
    background: #ffbf00;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
.help-tour-badge:hover { background: #ffd54f; }

.help-tour-panel {
    display: none;
    position: fixed;
    z-index: 9600;
    max-width: 280px;
    background: #1a1a1a;
    color: #eee;
    border: 1px solid #ffbf00;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    font-size: 13px;
    line-height: 1.5;
}
.help-tour-panel.open { display: block; }
.help-tour-panel h4 {
    color: #ffbf00;
    margin: 0 0 8px;
    font-size: 14px;
}
.help-tour-panel-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
}

.help-tour-panel strong {
    font-weight: 700;
    color: #fff;
}

@media (max-width: 600px) {
    .help-tour-panel { max-width: 85vw; }
}

/* Top bar while the tour is on: Exit Help + Full guide side by side */
.help-tour-bar {
    display: none;
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9600;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}
.help-tour-bar.open { display: flex; }
.help-tour-bar .help-tour-exit-pill { position: static; transform: none; }
.help-tour-guide-pill {
    background: #1a1a1a;
    color: #ffbf00;
    border: 2px solid #ffbf00;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.help-tour-guide-pill:hover { background: #ffbf00; color: #1a1a1a; }

/* "Read more in the guide" at the foot of each explanation box */
.help-tour-panel-guide {
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #333;
    color: #ffbf00;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}
.help-tour-panel-guide:hover { text-decoration: underline; }

