/* FoxTour guided-tour overlay, spotlight and tooltip. */
.foxtour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 20000;
    display: none;
}

.foxtour-spotlight {
    position: fixed;
    z-index: 20001;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55);
    pointer-events: none;
    transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
    display: none;
}

.foxtour-tip {
    position: fixed;
    z-index: 20002;
    max-width: 340px;
    width: calc(100vw - 24px);
    box-sizing: border-box;
    background: #fff;
    color: #1f2937;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
    padding: 14px 16px;
    font-size: .9rem;
}

.foxtour-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}

.foxtour-text {
    color: #4b5563;
    line-height: 1.45;
}

.foxtour-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    gap: 8px;
}

.foxtour-progress {
    font-size: .72rem;
    color: #9ca3af;
}

.foxtour-btns button {
    border: none;
    border-radius: 8px;
    padding: .38rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
}

.foxtour-next {
    background: #EA7A34;
    color: #fff;
}

.foxtour-prev {
    background: #EFEDE8;
    color: #333;
}

.foxtour-skip {
    background: transparent;
    color: #9ca3af;
}

@media (prefers-color-scheme: dark) {
    .foxtour-tip { background: #1f2530; color: #e5e7eb; }
    .foxtour-title { color: #f9fafb; }
    .foxtour-text { color: #cbd5e1; }
    .foxtour-prev { background: #374151; color: #e5e7eb; }
}
