/* 小白指引 · 分步高亮教练 */
.xb-guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    pointer-events: none;
}

.xb-guide-overlay[hidden] {
    display: none !important;
}

.xb-guide-hole {
    position: fixed;
    border-radius: 14px;
    box-shadow:
        0 0 0 9999px rgba(28, 22, 14, 0.55),
        0 0 0 3px #e8b86a,
        0 12px 28px rgba(196, 146, 62, 0.35);
    pointer-events: none;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.xb-guide-target {
    position: relative;
    z-index: 12001;
    pointer-events: auto !important;
}

.xb-guide-tip {
    position: fixed;
    z-index: 12002;
    width: min(300px, calc(100vw - 24px));
    padding: 0.75rem 0.85rem 0.7rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffaf0 0%, #f7ecd8 100%);
    border: 1px solid rgba(196, 146, 62, 0.45);
    box-shadow: 0 14px 32px rgba(40, 28, 12, 0.18);
    pointer-events: auto;
    color: #3a2c1a;
}

.xb-guide-tip__label {
    margin: 0 0 0.28rem;
    font-size: 0.78rem;
}

.xb-guide-tip__label strong {
    display: inline-block;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: #e8b86a;
    color: #3a2c1a;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.xb-guide-tip__text {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.xb-guide-tip__actions {
    display: flex;
    gap: 0.45rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.xb-guide-tip__btn {
    appearance: none;
    border-radius: 999px;
    padding: 0.38rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 650;
    cursor: pointer;
}

.xb-guide-tip__btn--ghost {
    border: 1px solid rgba(120, 90, 40, 0.35);
    background: rgba(255, 255, 255, 0.65);
    color: #5a4630;
}

.xb-guide-tip__btn--primary {
    border: 1px solid rgba(180, 120, 40, 0.55);
    background: linear-gradient(180deg, #f3c57a 0%, #e0a84a 100%);
    color: #3a2c1a;
}

body.xb-guide-active {
    /* 保留页面滚动以便高亮目标进视口 */
}
