/* Tour guiado (js/aion-tour.js). Usa los tokens de la app; no cambia con el modo oscuro a propósito: el globo es una banda azul. */
.aion-tour-spot {
    position: fixed; z-index: 2000; pointer-events: none;
    border-radius: var(--radius-md, 8px);
    /* Capas: aro dorado, pulso (se anima) y atenuado del resto de la pantalla. */
    box-shadow: 0 0 0 2px var(--color-gold), 0 0 0 0 color-mix(in srgb, var(--color-gold) 55%, transparent), 0 0 0 9999px rgba(15, 37, 71, 0.55);
    transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
    animation: aion-tour-pulse 1.8s ease-out infinite;
}
@keyframes aion-tour-pulse {
    0% { box-shadow: 0 0 0 2px var(--color-gold), 0 0 0 0 color-mix(in srgb, var(--color-gold) 55%, transparent), 0 0 0 9999px rgba(15, 37, 71, 0.55); }
    70%, 100% { box-shadow: 0 0 0 2px var(--color-gold), 0 0 0 14px color-mix(in srgb, var(--color-gold) 0%, transparent), 0 0 0 9999px rgba(15, 37, 71, 0.55); }
}
.aion-tour-pop {
    position: fixed; z-index: 2001; width: min(22rem, calc(100vw - 24px));
    padding: 1rem 1.1rem; border-radius: var(--radius-lg, 12px);
    background: var(--color-band); color: #fff; box-shadow: var(--shadow-band);
    font-size: .875rem; line-height: 1.5;
}
.aion-tour-veil { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 37, 71, 0.55); pointer-events: none; }
.aion-tour-wait {
    position: fixed; z-index: 2001; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
    padding: .5rem 1rem; border-radius: 999px; background: var(--color-band); color: #fff;
    box-shadow: var(--shadow-band); font-size: .8125rem; font-weight: 600;
}
.aion-tour-pop.is-centered { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.aion-tour-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.aion-tour-chapter { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--color-band-gold, var(--color-gold)); }
.aion-tour-x { all: unset; cursor: pointer; width: 1.75rem; height: 1.75rem; text-align: center; line-height: 1.75rem; border-radius: 6px; color: rgba(255,255,255,.8); font-size: 1.25rem; }
.aion-tour-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.aion-tour-title { margin-top: .35rem; font-size: 1rem; font-weight: 600; }
.aion-tour-text { margin-top: .35rem; color: rgba(255,255,255,.82); text-wrap: pretty; }
.aion-tour-hint { margin-top: .5rem; font-weight: 600; color: var(--color-band-gold, var(--color-gold)); }
.aion-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .9rem; }
.aion-tour-count { font-size: .8rem; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.7); }
.aion-tour-btn { all: unset; cursor: pointer; box-sizing: border-box; min-height: 2.25rem; padding: 0 .9rem; display: inline-flex; align-items: center; border-radius: var(--radius-lg, 10px); font-weight: 600; }
.aion-tour-btn.is-primary { background: var(--color-gold); color: var(--color-on-gold); }
.aion-tour-btn.is-primary:hover { background: var(--color-gold-hover); }
.aion-tour-btn.is-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.aion-tour-btn.is-ghost:hover:not(:disabled) { border-color: #fff; }
.aion-tour-btn:disabled { opacity: .4; cursor: default; }
.aion-tour-btn:focus-visible, .aion-tour-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .aion-tour-spot { transition: none; animation: none; } }
.aion-tour-chain { width: 100%; justify-content: center; margin-top: .6rem; text-align: center; }
