/* Terminal tour — classic site_tour.css, beta accent. 1.0.0 */
.tour-root { position: fixed; inset: 0; z-index: 100000; font-family: inherit; }
.tour-root, .tour-root * { box-sizing: border-box; }
.tour-mask { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tour-mask .tour-dim { fill: rgba(3, 8, 16, 0.74); }
.tour-mask .tour-cut { fill: #000; }

.tour-ring {
    position: absolute; pointer-events: none; border-radius: 8px;
    border: 1.5px solid rgba(61, 220, 239, 0.9);
    box-shadow: 0 0 0 4px rgba(61, 220, 239, 0.16), 0 0 26px rgba(61, 220, 239, 0.35);
    transition: top .22s ease, left .22s ease, width .22s ease, height .22s ease, opacity .2s;
}
.tour-ring.tour-hidden { opacity: 0; }

.tour-card {
    position: absolute; width: 360px; max-width: calc(100vw - 32px);
    background: linear-gradient(180deg, #0f1722 0%, #0b1119 100%);
    border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(61, 220, 239, 0.08);
    color: #dbe4ee; overflow: hidden;
    transition: top .22s ease, left .22s ease;
}
.tour-card.tour-center { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 420px; }
.tour-progress { height: 3px; background: rgba(148, 163, 184, 0.12); }
.tour-progress > i { display: block; height: 100%; background: linear-gradient(90deg, #3DDCEF, #22d3ee); transition: width .25s ease; }

.tour-illus { background: #0a0f16; border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.tour-illus svg { display: block; width: 100%; height: auto; }
.tour-body { padding: 14px 18px 10px; }
.tour-eyebrow { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: #3DDCEF; font-weight: 700; margin-bottom: 6px; }
.tour-title { font-size: 16px; font-weight: 700; color: #f1f5f9; margin: 0 0 8px; line-height: 1.25; letter-spacing: .1px; }
.tour-text { font-size: 12.5px; line-height: 1.55; color: #b8c4d2; margin: 0; }
.tour-text b { color: #e2e8f0; font-weight: 600; }
.tour-text .tour-kbd { display: inline-block; padding: 0 5px; border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 3px; font-size: 11px; color: #cbd5e1; background: rgba(148, 163, 184, 0.08); }
.tour-note { margin: 8px 0 0; font-size: 11px; color: #7b8794; line-height: 1.45; }

.tour-foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid rgba(148, 163, 184, 0.1); }
.tour-count { font-size: 11px; color: #7b8794; font-variant-numeric: tabular-nums; margin-left: auto; }
.tour-btn {
    appearance: none; border: 1px solid rgba(148, 163, 184, 0.22); background: rgba(148, 163, 184, 0.06);
    color: #cbd5e1; font: inherit; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 6px; cursor: pointer;
    letter-spacing: .2px;
}
.tour-btn:hover { background: rgba(148, 163, 184, 0.14); }
.tour-btn:focus-visible { outline: 2px solid #3DDCEF; outline-offset: 1px; }
.tour-btn.tour-skip { color: #8b98a8; border-color: transparent; background: transparent; padding-left: 6px; }
.tour-btn.tour-skip:hover { color: #e2e8f0; background: rgba(148, 163, 184, 0.08); }
.tour-btn.tour-next { background: #3DDCEF; border-color: #3DDCEF; color: #06131f; }
.tour-btn.tour-next:hover { background: #6ce4f4; }
.tour-btn.tour-finish { background: #22c55e; border-color: #22c55e; color: #04130a; }
.tour-btn.tour-finish:hover { background: #3fd374; }
.tour-btn[disabled] { opacity: .35; cursor: default; }

.tour-welcome-logo { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tour-chip { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(61, 220, 239, 0.3); color: #a9ecf7; background: rgba(61, 220, 239, 0.06); }

@media (prefers-reduced-motion: reduce) {
    .tour-ring, .tour-card, .tour-progress > i { transition: none; }
}
