.s365-ob-panel {
    position: fixed;
    z-index: 200000;
    background: rgba(20, 22, 26, 0.42);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: all 0.22s ease;
}

/* Swallows clicks over the target on "Next"-advanced steps so the user
   can't accidentally navigate away. Removed for click-to-advance steps. */
.s365-ob-holeguard {
    position: fixed;
    z-index: 200001;
    background: transparent;
    cursor: not-allowed;
}

/* Glowing ring drawn around the highlighted element. */
.s365-ob-ring {
    position: fixed;
    z-index: 200002;
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(80, 175, 176, 0.95),
                0 0 0 6px rgba(80, 175, 176, 0.25),
                0 0 26px 4px rgba(80, 175, 176, 0.45);
    pointer-events: none;
    transition: all 0.22s ease;
}

/* The instruction card. */
.s365-ob-pop {
    position: fixed;
    z-index: 200003;
    width: 330px;
    max-width: calc(100vw - 24px);
    background: #ffffff;
    color: #24272a;
    border-radius: 12px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
    padding: 18px 18px 14px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    transition: top 0.22s ease, left 0.22s ease;
}

/* Always-visible exit button (top-right of the card). */
.s365-ob-close {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #9aa0a6;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.s365-ob-close:hover { background: #f0f2f4; color: #24272a; }

.s365-ob-pop__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #50afb0;
    margin-bottom: 6px;
}

.s365-ob-pop__title {
    margin: 0 0 6px;
    padding-right: 20px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.25;
}

.s365-ob-pop__body {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444a4f;
}

.s365-ob-pop__body b { color: #24272a; }

.s365-ob-pop__foot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s365-ob-pop__count {
    font-size: 0.78rem;
    color: #8a9198;
    margin-right: auto;
}

.s365-ob-btn {
    border: 0;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.s365-ob-btn--primary { background: #50afb0; color: #fff; }
.s365-ob-btn--primary:hover { background: #429597; }

.s365-ob-btn--ghost { background: transparent; color: #6b7177; padding: 7px 8px; }
.s365-ob-btn--ghost:hover { color: #24272a; }

.s365-ob-btn--link {
    background: transparent;
    color: #8a9198;
    padding: 7px 4px;
    font-weight: 500;
}
.s365-ob-btn--link:hover { color: #24272a; text-decoration: underline; }

/* Little arrow pointing from the card toward the target. */
.s365-ob-pop__arrow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffffff;
    transform: rotate(45deg);
}

/* A pulsing hint shown on click-to-advance steps. */
.s365-ob-pop__hint {
    font-size: 0.8rem;
    color: #50afb0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}
.s365-ob-pop__hint::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #50afb0;
    animation: s365-ob-pulse 1.1s ease-in-out infinite;
}
@keyframes s365-ob-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.8); opacity: 0.4; }
}

/* Floating launcher (bottom-right) — demo trigger. */
.s365-ob-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 199000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #50afb0;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.s365-ob-launcher:hover { background: #429597; transform: translateY(-1px); }
.s365-ob-launcher__icon { font-size: 1rem; line-height: 1; }
