/* INTERACTIVE TUTORIALS (public/player/tour.js): the kids' look (cream bubble, thick brown outline, candy buttons, Baloo 2). */
@font-face{font-family:"Baloo 2";font-style:normal;font-weight:800;font-display:swap;src:url(/games-fonts/baloo2-latin-800.woff2) format("woff2")}
.tourRoot{position:fixed;inset:0;z-index:2147483200;pointer-events:none;font-family:"Baloo 2","Arial Rounded MT Bold",ui-rounded,system-ui,sans-serif;color:#4a2712}
.tourRoot.tourHidden{display:none}
.tourShade{position:fixed;background:rgba(14,32,58,.62);pointer-events:auto;transition:all .25s ease}
.tourShade[hidden]{display:none}
.tourRing{position:fixed;border:4px solid #ffd23f;border-radius:20px;box-shadow:0 0 0 4px #4a2712,0 0 22px 6px rgba(255,210,63,.75);pointer-events:none;transition:all .25s ease;animation:tourGlow 1.2s ease-in-out infinite}
.tourRing.tourRound{border-radius:50%}
.tourRing[hidden]{display:none}
/* a "tap" step: nothing covers the target, so the person taps the real thing */
@keyframes tourGlow{0%,100%{box-shadow:0 0 0 4px #4a2712,0 0 14px 3px rgba(255,210,63,.6)}50%{box-shadow:0 0 0 4px #4a2712,0 0 28px 10px rgba(255,210,63,.95)}}
.tourHand{position:fixed;width:40px;height:44px;font-size:38px;line-height:44px;text-align:center;pointer-events:none;filter:drop-shadow(0 3px 0 rgba(74,39,18,.45));animation:tourPoint .9s ease-in-out infinite}
.tourHand.tourHandDown{transform:rotate(180deg);animation-name:tourPointDown}
.tourHand[hidden]{display:none}
@keyframes tourPoint{0%,100%{translate:0 0}50%{translate:0 -8px}}
@keyframes tourPointDown{0%,100%{translate:0 0}50%{translate:0 8px}}
.tourBubble{position:fixed;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:4px solid #4a2712;border-radius:24px;background:linear-gradient(#fff9e6,#ffeab0);
  box-shadow:0 7px 0 #4a2712;pointer-events:auto;transition:top .25s ease,left .25s ease}
.tourCount{font-weight:900;font-size:12px;line-height:1;letter-spacing:.8px;opacity:.75}
.tourTitle{margin:0;font-weight:900;font-size:23px;line-height:1.1;color:#fff;-webkit-text-stroke:5px #4a2712;paint-order:stroke fill}
.tourText{margin:0;font-weight:800;font-size:16px;line-height:1.35}
.tourAgain{display:flex;align-items:center;gap:8px;font-weight:800;font-size:14px;line-height:1.2}
.tourAgain[hidden]{display:none}
.tourAgain input{width:22px;height:22px;accent-color:#59d13a}
.tourRow{display:flex;gap:10px;margin-top:4px}
.tourBtn{font-family:inherit;flex:1;min-height:46px;border:3px solid #4a2712;border-radius:16px;cursor:pointer;font-weight:900;font-size:18px;line-height:1;color:#fff;-webkit-text-stroke:4px #4a2712;paint-order:stroke fill}
.tourBtn[hidden]{display:none}
.tourNext{background:linear-gradient(#b2f77a,#59d13a 55%,#3fb126);box-shadow:0 4px 0 #24851a,0 4px 0 3px #4a2712}
.tourSkip{flex:.6;background:linear-gradient(#f3f0e6,#cfc8b6);color:#4a2712;-webkit-text-stroke:0;box-shadow:0 4px 0 #9b927d,0 4px 0 3px #4a2712;font-size:15px}
@media (prefers-reduced-motion:reduce){.tourRing,.tourHand{animation:none}.tourShade,.tourRing,.tourBubble{transition:none}}
