/* 星际导览:真实星空上的光圈、刘看山宇航员、底部解说卡 */
.kanshan-tour{position:absolute;inset:0;z-index:50;touch-action:none;color:#f0f0fa;font-family:inherit}
.kanshan-tour[hidden]{display:none}
.kanshan-tour__dim{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.kanshan-tour__shade{fill:rgba(2,6,16,.66)}
.kanshan-tour[data-phase=travel] .kanshan-tour__shade{fill:rgba(2,6,16,.28)}
.kanshan-tour__ring{position:absolute;left:0;top:0;box-sizing:border-box;border:1.5px solid rgba(159,232,255,.92);box-shadow:0 0 0 1px rgba(2,6,16,.5),0 0 22px rgba(159,232,255,.45),inset 0 0 18px rgba(159,232,255,.16);pointer-events:none;transition:opacity .25s}
.kanshan-tour__ring[hidden]{display:none}
.kanshan-tour__ring::after{content:'';position:absolute;inset:-9px;border:1px solid rgba(159,232,255,.35);border-radius:inherit;animation:kanshan-tour-breathe 2.6s ease-in-out infinite}
.kanshan-tour__ring.is-pulse{animation:kanshan-tour-pulse .7s ease-out}
.kanshan-tour[data-phase=travel] .kanshan-tour__ring{opacity:0}
.kanshan-tour__astronaut{position:absolute;left:0;top:0;margin:0;width:120px;height:160px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45));pointer-events:none;opacity:0;transition:opacity .4s;will-change:transform}
.kanshan-tour__astronaut img{display:block;width:100%;height:100%;object-fit:contain;animation:kanshan-tour-float 4.2s ease-in-out infinite}
.kanshan-tour[data-phase=station] .kanshan-tour__astronaut[data-ready=true]{opacity:1}
.kanshan-tour[data-phase=station] .kanshan-tour__astronaut[data-crowded=true]{opacity:0}
.kanshan-tour__card{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);width:min(540px,calc(100% - 40px));box-sizing:border-box;padding:16px 22px 18px;border:1px solid rgba(240,240,250,.24);border-radius:16px;background:rgba(9,12,19,.92);box-shadow:0 24px 80px rgba(0,0,0,.55);backdrop-filter:blur(10px);pointer-events:auto;transition:opacity .25s,transform .25s}
.kanshan-tour__card[data-position=top]{bottom:auto;top:calc(88px + env(safe-area-inset-top,0px))}
.kanshan-tour[data-phase=travel] .kanshan-tour__card{opacity:0;pointer-events:none;transform:translateX(-50%) translateY(8px)}
.kanshan-tour__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.kanshan-tour__eyebrow{font-size:11px;letter-spacing:2px;color:#bdd4d2}
.kanshan-tour__skip{border:0;background:none;padding:6px 0;min-height:32px;color:rgba(240,240,250,.6);font:inherit;font-size:12px;cursor:pointer}
.kanshan-tour__skip:hover{color:#fff}
.kanshan-tour__dots{display:flex;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.kanshan-tour__dots li{width:18px;height:3px;border-radius:2px;background:rgba(240,240,250,.18);transition:background .25s}
.kanshan-tour__dots li[data-state=done]{background:rgba(159,232,255,.55)}
.kanshan-tour__dots li[data-state=current]{background:#9fe8ff;box-shadow:0 0 8px rgba(159,232,255,.7)}
.kanshan-tour h2{margin:12px 0 6px;font-size:22px;font-weight:600;line-height:1.35;color:#f0f0fa}
.kanshan-tour p{margin:0;font-size:13px;line-height:1.8;color:rgba(240,240,250,.72)}
.kanshan-tour__actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}
.kanshan-tour__actions button{min-height:44px;border-radius:25px;padding:10px 20px;font:inherit;font-size:13px;cursor:pointer}
#tour-back{border:0;background:none;color:rgba(240,240,250,.7)}
#tour-back:hover{color:#fff}
#tour-back[hidden]{display:none}
#tour-next{border:1px solid rgba(240,240,250,.6);background:#e4edec;color:#11191c;font-weight:600}
#tour-next:hover{background:#fff}
.kanshan-tour__actions button:focus-visible,.kanshan-tour__skip:focus-visible{outline:2px solid #c9e5e3;outline-offset:2px}
.kanshan-tour__hint{margin-top:10px;font-size:11px;color:rgba(240,240,250,.42)}
.kanshan-tour__announce{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.shell[data-tour=true] .toast{opacity:0!important}
@keyframes kanshan-tour-breathe{0%,100%{opacity:.35;transform:scale(1)}50%{opacity:.8;transform:scale(1.03)}}
@keyframes kanshan-tour-pulse{0%{box-shadow:0 0 0 1px rgba(2,6,16,.5),0 0 22px rgba(159,232,255,.45)}40%{box-shadow:0 0 0 6px rgba(159,232,255,.35),0 0 40px rgba(159,232,255,.7)}100%{box-shadow:0 0 0 1px rgba(2,6,16,.5),0 0 22px rgba(159,232,255,.45)}}
@keyframes kanshan-tour-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}
@media (orientation:portrait){
  .kanshan-tour__card{width:calc(100% - 24px);bottom:calc(14px + env(safe-area-inset-bottom,0px));padding:12px 16px 14px;border-radius:14px}
  .kanshan-tour__card[data-position=top]{top:calc(120px + env(safe-area-inset-top,0px))}
  .kanshan-tour h2{font-size:18px;margin:10px 0 4px}
  .kanshan-tour p{font-size:12px;line-height:1.7}
  .kanshan-tour__actions{margin-top:10px}
  .kanshan-tour__actions button{padding:9px 16px;font-size:12px}
  .kanshan-tour__hint{display:none}
}
@media (max-height:480px) and (orientation:landscape){
  .kanshan-tour__card{bottom:10px;padding:10px 16px 12px}
  .kanshan-tour h2{font-size:16px;margin:6px 0 2px}
  .kanshan-tour p{font-size:11px;line-height:1.6}
  .kanshan-tour__dots,.kanshan-tour__hint{display:none}
  .kanshan-tour__actions{margin-top:8px}
  .kanshan-tour__actions button{min-height:36px;padding:6px 14px;font-size:12px}
}
@media (prefers-reduced-motion: reduce){
  .kanshan-tour__astronaut img,.kanshan-tour__ring::after{animation:none}
  .kanshan-tour__card,.kanshan-tour__astronaut,.kanshan-tour__ring{transition:none}
}
