/* Animated tutorial overlay (js/demo-tour.js). Never blocks clicks: the real page stays usable. */
.dt-root { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; font-family: inherit; }

/* Shown as a manual popover (top layer) so it stays above Fluent dialogs; undo the UA popover box. */
.dt-root[popover] { width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; color: inherit; }

.dt-cursor {
    position: fixed;
    top: 0;
    left: 0;
    margin: -3px 0 0 -3px;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.45, .05, .25, 1);
    filter: drop-shadow(0 2px 3px rgb(0 0 0 / 35%));
}

.dt-spot {
    position: fixed;
    border: 3px solid #0f6cbd;
    border-radius: 10px;
    box-shadow: 0 0 0 6px rgb(15 108 189 / 18%);
    opacity: 0;
    transition: all .45s ease;
    animation: dt-pulse 1.4s ease-in-out infinite;
}

@keyframes dt-pulse { 50% { box-shadow: 0 0 0 12px rgb(15 108 189 / 6%); } }

.dt-bubble {
    position: fixed;
    padding: 12px 16px;
    border-radius: 12px;
    background: #102a43;
    box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease, top .45s ease, left .45s ease;
}

.dt-bubble.is-center { padding: 18px 22px; font-size: 18px; text-align: center; }

.dt-ripple {
    position: fixed;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: rgb(15 108 189 / 45%);
    animation: dt-ripple .7s ease-out forwards;
}

@keyframes dt-ripple { to { transform: scale(5); opacity: 0; } }

.dt-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 24px rgb(0 0 0 / 20%);
    transform: translateX(-50%);
    pointer-events: auto;
    font-size: 13px;
}

.dt-track { width: 120px; height: 6px; overflow: hidden; border-radius: 999px; background: #e5e7eb; }

.dt-progress { width: 0; height: 100%; background: #0f6cbd; transition: width .4s ease; }

.dt-counter { min-width: 86px; color: #424242; white-space: nowrap; }

.dt-btn {
    padding: 4px 12px;
    border: 1px solid #d1d1d1;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.dt-btn--exit { border-color: #0f6cbd; background: #0f6cbd; color: #fff; }

/* Record mode: clean frame for the screen recorder. */
.dt-root.is-record .dt-bar { display: none; }

.dt-countdown {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(16 42 67 / 80%);
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    text-align: center;
}

/* Click-to-start gate (browsers only allow sound after a click) */
.dt-gate {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: rgb(16 42 67 / 70%);
    font: inherit;
    font-size: 15px;
    color: #fff;
    pointer-events: auto;
    cursor: pointer;
}

.dt-gate strong { font-size: 24px; }

.dt-gate-play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #0f6cbd; font-size: 34px; box-shadow: 0 0 0 14px rgb(255 255 255 / 15%); }

/* While a tour plays the page ignores real input (see lock() in demo-tour.js); show it isn't clickable. */
html.dt-locked,
html.dt-locked * { cursor: default !important; user-select: none !important; }

html.dt-locked .dt-bar,
html.dt-locked .dt-bar *,
html.dt-locked .dt-gate { cursor: pointer !important; }
