/* Spotlight is a real transparent hole, so the target keeps its original colors. */
body[data-tour]:not([data-tour=""]) .tutorial-backdrop{background:transparent!important;backdrop-filter:none!important;display:block!important;inset:0;padding:16px!important;z-index:1200}.tour-spotlight{position:fixed;inset:0;width:100vw;height:100dvh;pointer-events:none;overflow:visible;z-index:0}.tour-shade{fill:#292333a6}.tour-focus-ring{fill:none;stroke:#a2e4cf;stroke-width:4;filter:drop-shadow(0 0 7px #c8fff0)}.tour-pointer{fill:none;stroke:#a064b8;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 1px 2px #fff)}.tutorial-backdrop .tutorial-modal{position:fixed;z-index:2;width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:0;box-shadow:0 18px 80px #35233c55}.tutorial-modal:not([data-positioned]){left:50%;top:50%;transform:translate(-50%,-50%)}body[data-tour]:not([data-tour=""]) #app .profile,body[data-tour]:not([data-tour=""]) #app .build-side,body[data-tour]:not([data-tour=""]) #app .conditions,body[data-tour]:not([data-tour=""]) #app .goals,body[data-tour]:not([data-tour=""]) #app .practice,body[data-tour]:not([data-tour=""]) #app .funds,body[data-tour]:not([data-tour=""]) #app .controls{z-index:auto!important;outline:none!important;box-shadow:none!important}.tutorial-modal h2{font-size:1.5rem;line-height:1.5}.tutorial-modal p{font-size:1.0625rem;line-height:1.85}.tutorial-modal button{min-height:46px}
/* A square rotating element puts the axis through the centered planet. */
.earth.earth-v28{position:relative;width:210px;height:210px;display:block;line-height:0;font-size:0;margin:34px auto;animation:none;transform:none;aspect-ratio:1/1;isolation:isolate}.earth-v28>img{display:block;width:100%;height:100%;object-fit:contain;transform-origin:50% 50%;animation:planet-turn-v28 4s linear infinite}.earth-v28 .earth-magnifier{position:absolute;right:-12px;bottom:5px;width:64px;height:64px;line-height:64px;font-size:48px;filter:drop-shadow(0 4px 4px #9b79b533);transform:rotate(-12deg)}.earth-v28 .earth-sparkle{position:absolute;top:4px;left:-4px;font-size:24px;line-height:1;color:#c58eb7}.earth-v28 .earth-sparkle:last-child{left:auto;right:1px;top:16px;font-size:17px;color:#96c9ba}@keyframes planet-turn-v28{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.earth-v28>img{animation:none}}

body[data-tour]:not([data-tour=""]) .goals,body[data-tour]:not([data-tour=""]) .practice,body[data-tour]:not([data-tour=""]) .stats,body[data-tour]:not([data-tour=""]) .trait,body[data-tour]:not([data-tour=""]) .funds,body[data-tour]:not([data-tour=""]) .conditions,body[data-tour]:not([data-tour=""]) .controls{scroll-margin-top:24px;scroll-margin-bottom:24px}

@media(max-width:740px){.tutorial-modal p{font-size:1rem}}

/* A tutorial target must never sit behind the normally sticky HUD.
   Restore normal sticky behavior as soon as the tour closes. */
body.tour-inspecting .studio-game .game-top,body.tour-inspecting .studio-game .profile,body.tour-inspecting .studio-game .build-side{position:relative!important;top:auto!important;z-index:auto!important}
body.tour-inspecting .goals,body.tour-inspecting .controls{scroll-margin-top:24px!important;scroll-margin-bottom:24px!important}
