#stage1-guide{position:fixed;z-index:1200;left:50%;bottom:8px;transform:translateX(-50%);max-width:min(660px,94vw);box-sizing:border-box;display:flex;gap:12px;align-items:center;padding:10px 14px;border:2px solid #ffe37b;border-radius:10px;background:#132f3df2;color:#fff;font:700 14px/1.45 sans-serif;box-shadow:0 3px 18px #0009}
#stage1-guide[hidden],#stage1-guide-pointer[hidden],#stage1-guide-replay[hidden]{display:none!important}
#stage1-guide strong{color:#ffe37b;white-space:nowrap}#stage1-guide button,#stage1-guide-replay{font:700 12px sans-serif;padding:8px;border-radius:6px;white-space:nowrap;color:#172f38;background:#fff5ce;border:1px solid #d2b976;cursor:pointer}
#stage1-guide-pointer{position:fixed;z-index:1199;pointer-events:none;width:0;height:0;filter:drop-shadow(0 1px 2px #000)}
#stage1-guide-pointer span{position:absolute;left:-15px;bottom:calc(var(--guide-h)/2 + 4px);font:bold 32px/1 sans-serif;color:#ffe150;animation:guide-blink 1.2s steps(1,end) infinite}
#stage1-guide-pointer i{position:absolute;width:var(--guide-w);height:var(--guide-h);transform:translate(-50%,-50%);border:3px solid #ffe150;border-radius:12px;box-sizing:border-box}
@keyframes guide-blink{0%,100%{opacity:1}50%{opacity:0}}@media(prefers-reduced-motion:reduce){#stage1-guide-pointer span{animation:none}}
@media(max-height:500px){#stage1-guide{bottom:3px;padding:5px 8px;font-size:12px;gap:7px}#stage1-guide strong{display:none}}

/* Replay belongs beside Hint, never in the narrow header or floating on the map. */
#stage1-guide-replay{position:static;transform:none;min-height:44px;flex:0 0 auto;margin:0}
body.mobile-game #presentation-tools #stage1-guide-replay{font-size:12px;padding:4px 8px;min-height:44px}
