/* One DOM spotlight; the 3D world sleeps throughout the tour. */
#tutorial-overlay{position:fixed;inset:0;z-index:2000;overflow:hidden;isolation:isolate;touch-action:none}
#tutorial-overlay.tour-no-target{background:#081e2bd9}
#tutorial-overlay [hidden]{display:none!important}
#tutorial-overlay .tour-spot{position:fixed;border:2px solid #ffe4a1;border-radius:5px;box-shadow:0 0 0 100vmax #081e2bd9;pointer-events:none}
#tutorial-overlay .tour-arrow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
#tutorial-overlay .tour-card{position:fixed;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto;padding:16px 18px;background:#f6eedb;color:#244a52;border:1px solid #b18b4b;border-top:4px solid #b18b4b;box-shadow:inset 0 0 0 4px #e8dabc,0 8px 24px #081e2b40;animation:tour-arrive .18s ease-out;font-family:Nunito,sans-serif;touch-action:pan-y}
#tutorial-overlay .tour-heading,#tutorial-overlay .tour-controls,#tutorial-overlay .tour-controls>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
#tutorial-overlay .tour-counter{font-size:11px;font-weight:800;color:#596d68}
#tutorial-overlay .tour-pacing{font-size:10px;line-height:1.35;color:#596d68;max-width:90px}
#tutorial-overlay h2{font:800 25px/1.15 'Baloo 2',Nunito,sans-serif;color:#244a52;margin:12px 0 8px}
#tutorial-overlay p{font-size:15px;line-height:1.45;color:#31565c;margin:0 0 16px;min-height:44px}
#tutorial-overlay button{font:800 13px/1.2 Nunito,sans-serif;color:#31565c;border:0;border-radius:3px;background:transparent;padding:10px 8px;min-height:40px;cursor:pointer;transition:transform .15s,background .15s}
#tutorial-overlay button:hover{background:#e7dcc4}
#tutorial-overlay button:active{transform:translateY(2px)}
#tutorial-overlay button:focus-visible{outline:3px solid #14849a;outline-offset:2px}
#tutorial-overlay button:disabled{opacity:.4;cursor:default}
#tutorial-overlay [data-tour=next]{background:#215967;color:#fff4d9;padding-inline:18px;box-shadow:0 3px 0 #123c48}
#tutorial-overlay .tour-progress{height:3px;background:#ddd0b2;margin:0 0 12px}
#tutorial-overlay .tour-progress span{display:block;height:100%;background:#a08040}
body.tour-open{overflow:hidden}
@keyframes tour-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#tutorial-overlay .tour-card{animation:none}#tutorial-overlay button{transition:none;transform:none}}
html[data-graphics=low] #tutorial-overlay .tour-card{animation:none}
