/* Self-running demo tours (lib/mc/demo-player.js), full screen over Public/Demo.aspx. */
html.dp-open, html.dp-open body { overflow: hidden; }
.dp {
    position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column;
    background: #0b1220; color: #e8edf5; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.dp[hidden] { display: none; }
.dp-top { display: flex; align-items: center; gap: 8px; padding: 8px 12px; flex: 0 0 auto; }
.dp-title { flex: 1 1 auto; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-btn {
    background: transparent; color: #c9d4e3; border: 1px solid rgba(201, 212, 227, .35); border-radius: 999px;
    font-size: .8rem; padding: 3px 12px; cursor: pointer;
}
.dp-btn:hover, .dp-btn:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.dp-x { background: transparent; border: 0; color: #c9d4e3; font-size: 1.8rem; line-height: 1; padding: 0 6px; cursor: pointer; }
.dp-x:hover, .dp-x:focus-visible { color: #fff; }
.dp-view { position: relative; flex: 1 1 auto; overflow: hidden; margin: 0 12px; border-radius: 10px; background: #111a2b; }
.dp-cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform 1.2s cubic-bezier(.4, 0, .2, 1); }
.dp-img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; display: block; }
.dp-img.on { opacity: 1; }
.dp-ring {
    position: absolute; box-sizing: border-box; border: 3px solid #f08c00; border-radius: 12px; pointer-events: none;
    box-shadow: 0 0 0 4px rgba(240, 140, 0, .25), 0 0 0 4000px rgba(11, 18, 32, .28);
    opacity: 0; transition: opacity .4s ease, left .9s ease, top .9s ease, width .9s ease, height .9s ease;
}
.dp-ring.on { opacity: 1; }
.dp-cap {
    flex: 0 0 auto; min-height: 4.2em; padding: 10px 16px 8px; text-align: center; font-size: 1.05rem; line-height: 1.4;
    max-width: 62rem; margin: 0 auto; width: 100%;
}
.dp-bar { flex: 0 0 auto; height: 3px; background: rgba(255, 255, 255, .1); }
.dp-fill { height: 100%; width: 0; background: #f08c00; transition: width .6s ease; }
.dp-start, .dp-end {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    background: rgba(11, 18, 32, .72); text-align: center; padding: 16px;
}
.dp-start[hidden], .dp-end[hidden] { display: none; }
.dp-end-t { font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.dp-play {
    background: #f08c00; color: #111; border: 0; border-radius: 999px; font-weight: 600; font-size: 1.05rem;
    padding: 10px 24px; cursor: pointer; text-decoration: none; display: inline-block;
}
.dp-play:hover, .dp-play:focus-visible { background: #ffa41b; color: #111; }
.dp-link { background: transparent; border: 0; color: #c9d4e3; text-decoration: underline; cursor: pointer; font-size: .95rem; }
.dp-link:hover { color: #fff; }
@media (max-width: 575.98px) {
    .dp-view { margin: 0; border-radius: 0; }
    .dp-cap { font-size: .95rem; min-height: 5.6em; }
    .dp-btn { padding: 3px 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .dp-cam, .dp-ring, .dp-img { transition: none; }
}
/* a phone held upright: suggest turning it */
.dp-turn { display: none; }
@media (max-width: 575.98px) and (orientation: portrait) {
    .dp-turn {
        display: block; position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2;
        background: rgba(11, 18, 32, .8); color: #c9d4e3; font-size: .8rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
    }
}
