.tour-page-trigger {
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(36, 89, 195, 0.16);
    border-radius: 999px;
    background: #FFD230; /*rgba(255, 255, 255, 0.96);*/
    color: #2459c3;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(29, 41, 61, 0.14);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tour-page-trigger-fallback {
    position: fixed;
    right: 24px;
    top: 96px;
}

.tour-page-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.tour-page-trigger.is-inline {
    position: sticky;
    top: 92px;
    margin-left: auto;
}

.tour-page-trigger:hover {
    background: #2459c3;
    color: #ffffff;
    transform: translateY(-1px);
}

.tour-entry-prompt {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1190;
    width: min(340px, calc(100vw - 32px));
    padding: 1.05rem 1.05rem 1rem;
    border: 1px solid rgba(205, 218, 236, 0.95);
    border-radius: 24px;
    background: #FFD230;
    box-shadow: 0 26px 54px rgba(29, 41, 61, 0.16);
    display: none;
}

.tour-entry-prompt.is-visible {
    display: block;
}

.tour-entry-prompt::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.tour-entry-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: #f2f5f9;
    color: #1d293d;
    font-weight: 800;
    cursor: pointer;
}

.tour-entry-close:hover {
    background: #e7edf5;
}

.tour-entry-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7f8ea3;
    margin-bottom: 0.45rem;
}

.tour-entry-title {
    margin: 0 2.4rem 0.45rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1d293d;
    line-height: 1.25;
}

.tour-entry-text {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.65;
    color: #5b6b7f;
}

.tour-entry-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.05rem;
}

.tour-entry-btn {
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 0.78rem 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tour-entry-btn.is-primary {
    background: #1f2f4f;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(31, 47, 79, 0.18);
}

.tour-entry-btn.is-ghost {
    background: #f4f7fb;
    border-color: #d9e3f0;
    color: #50627a;
}

.tour-entry-btn:hover {
    transform: translateY(-1px);
}

.tour-entry-btn.is-primary:hover {
    background: #24395f;
}

.tour-entry-btn.is-ghost:hover {
    background: #eef3f8;
    border-color: #cad8ea;
    color: #31455f;
}

.tour-page-trigger:focus-visible,
.tour-entry-close:focus-visible,
.tour-entry-btn:focus-visible,
.tour-nav-btn:focus-visible,
.tour-close-btn:focus-visible {
    outline: 3px solid rgba(57, 224, 200, 0.4);
    outline-offset: 3px;
}

.tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.tour-overlay.is-visible {
    display: block;
}

.tour-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 18, 28, 0.48);
}

.tour-highlight {
    position: fixed;
    border-radius: 18px;
    border: 2px solid rgba(57, 224, 200, 0.9);
    box-shadow: 0 0 0 9999px rgba(13, 18, 28, 0.50);
    background: transparent;
    pointer-events: none;
    transition: all 0.2s ease;
}

.tour-card {
    position: fixed;
    width: min(360px, calc(100vw - 32px));
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 44px rgba(14, 24, 43, 0.22);
    overflow: hidden;
}

.tour-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.55rem;
}

.tour-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7b8898;
}

.tour-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: #1d293d;
}

.tour-close-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: rgba(29, 41, 61, 0.08);
    color: #1d293d;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
}

.tour-body {
    padding: 0 1rem 1rem;
}

.tour-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5b6b7f;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem 1rem;
    border-top: 1px solid #edf2f7;
}

.tour-progress {
    font-size: 0.85rem;
    color: #7b8898;
    font-weight: 700;
}

.tour-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.tour-nav-btn {
    border: none;
    border-radius: 14px;
    padding: 0.66rem 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

.tour-nav-btn.is-ghost {
    background: rgba(47, 111, 237, 0.08);
    color: #2459c3;
}

.tour-nav-btn.is-primary {
    background: #1D293D;
    color: #ffffff;
}

.tour-nav-btn[disabled] {
    opacity: 0.45;
    cursor: default;
}

@media (max-width: 767.98px) {
    .tour-page-trigger-fallback {
        right: 16px;
        top: 88px;
        min-height: 44px;
        padding: 0.6rem 0.9rem;
    }

    .tour-page-trigger.is-inline {
        top: 84px;
        min-height: 44px;
        padding: 0.6rem 0.9rem;
    }

    .tour-entry-prompt {
        width: calc(100vw - 24px);
    }

    .tour-entry-actions {
        flex-direction: column;
    }

    .tour-card {
        width: calc(100vw - 24px);
    }

    .tour-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .tour-actions {
        width: 100%;
        justify-content: space-between;
    }
}
