/* FAT Kassia guided tour (js/fat-tour.js) and the FAT Kassia menu in the page header.
   The dim layer and the highlight never take pointer input, so the page (and Disengage) stays usable;
   only the tour's own box takes clicks. */

.fat-menu { margin-left: auto; align-self: center; }
.fat-menu-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; }
.fat-menu .dropdown-item .bi { margin-right: .35rem; }
/* Above the tour's dim layer, so the menu stays usable while the tour runs. */
.fat-menu .dropdown-menu { z-index: 1090; }
@media (max-width: 575.98px) { .fat-menu-label { display: none; } }

.fat-tour-hole {
    position: fixed;
    z-index: 1085;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: 0 0 0 200vmax rgba(8, 8, 6, .62);
    outline: 2px solid #f5c11e;
    outline-offset: 2px;
    transition: top .35s ease, left .35s ease, width .35s ease, height .35s ease;
}
.fat-tour-hole.is-empty { outline: 0; }

.fat-tour-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1087;
    width: 28px;
    height: 28px;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
    transition: transform .65s cubic-bezier(.22, .8, .3, 1);
}
.fat-tour-cursor svg { display: block; width: 100%; height: 100%; }
.fat-tour-cursor.is-pressed svg { transform: scale(.85); transform-origin: 3px 3px; }

.fat-tour-ripple {
    position: fixed;
    z-index: 1086;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    border: 3px solid #ffd23f;
    pointer-events: none;
    animation: fat-tour-ripple .6s ease-out forwards;
}
@keyframes fat-tour-ripple {
    from { transform: scale(.2); opacity: 1; }
    to { transform: scale(1.6); opacity: 0; }
}

.fat-tour-pop {
    position: fixed;
    z-index: 1088;
    width: min(340px, calc(100vw - 24px));
    padding: 1rem 1.1rem .85rem;
    border-radius: 14px;
    border: 1px solid rgba(245, 193, 30, .55);
    background: #1c1c18;
    color: #f5f3ea;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
    font-size: .9rem;
    line-height: 1.45;
}
.fat-tour-pop:focus { outline: none; }
.fat-tour-step { margin: 0 0 .25rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #f5c11e; }
.fat-tour-title { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 800; }
.fat-tour-body { margin: 0 0 .85rem; color: #cbc8ba; }
/* Setup tour: a step waiting for the member's own click, then Done once the page shows it. */
.fat-tour-wait { margin: -.45rem 0 .85rem; font-size: .8rem; font-weight: 700; color: #f5c11e; }
.fat-tour-wait.is-done { color: #7fd18b; }
.fat-tour-actions { display: flex; align-items: center; gap: .5rem; }
.fat-tour-actions .fat-tour-skip { margin-right: auto; }
.fat-tour-btn {
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #f5f3ea;
    border-radius: 10px;
    padding: .35rem .85rem;
    font-weight: 700;
    font-size: .85rem;
}
.fat-tour-btn:disabled { opacity: .35; }
.fat-tour-btn-go { background: #f5c11e; border-color: #f5c11e; color: #171408; }
.fat-tour-skip { border-color: transparent; color: #93907f; padding-left: 0; }
.fat-tour-btn:focus-visible { outline: 2px solid #f5c11e; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .fat-tour-hole, .fat-tour-cursor { transition: none; }
    .fat-tour-ripple { display: none; }
}
