/* tips.css — first-day hints (src/tips.js). Only the card takes taps; the rest of the screen stays usable. */
#tips { position: absolute; inset: 0; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .2s ease; }
#tips.on { opacity: 1; }
#tips.over { z-index: 9; } /* above the map's area sheet while step 1 points into it */
.tip-head { display: flex; align-items: center; gap: 6px; margin: -2px -6px 2px 0; }
.tip-head .tip-next { flex: 1; margin: 0; text-align: center; }
.tip-step { font: 900 13px/1 var(--font); color: #fff; background: var(--rose); padding: 6px 10px; border-radius: 999px;
  box-shadow: 0 2px 0 var(--rose-deep); }
.tip-skip { flex: none; min-width: 64px; min-height: 50px; padding: 0 12px; border: 2px solid var(--rose); border-radius: 12px; cursor: pointer;
  background: #fff; color: var(--rose-deep); font: 800 14px/1 var(--font); }
.tip-skip:active { transform: scale(.94); }
.tip-ring { position: absolute; box-sizing: border-box; border: 3px solid var(--rose); border-radius: 18px;
  box-shadow: 0 0 0 3px rgba(255, 246, 238, .85), 0 0 14px 4px rgba(255, 143, 177, .75); animation: tipPulse 1.1s ease-in-out infinite; }
@keyframes tipPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .65; } }
.tip-card { position: absolute; box-sizing: border-box; pointer-events: auto; cursor: pointer; padding: 8px 12px 8px; min-height: 64px;
  background: rgba(255, 246, 238, .96); border: 3px solid var(--rose); border-radius: 18px;
  box-shadow: 0 6px 16px rgba(122, 47, 85, .28); color: var(--ink); text-align: center; }
#tips.on .tip-card { animation: tipPop .28s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes tipPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.tip-text { font: 800 14px/1.42 var(--font); color: var(--ink); text-align: left;
  text-shadow: 0 0 2px #fff, 0 0 2px #fff, 1px 1px 0 #fff; }
.tip-next { margin-top: 4px; font: 700 12px/1.3 var(--font); color: var(--rose-deep); animation: tipBlink 1.4s ease-in-out infinite; }
@keyframes tipBlink { 50% { opacity: .45; } }
.tip-arrow { position: absolute; width: 16px; height: 16px; margin-left: -8px; background: rgba(255, 246, 238, .96);
  border: 3px solid var(--rose); border-width: 0 3px 3px 0; transform: rotate(45deg); bottom: -10px; }
.tip-card.below .tip-arrow { bottom: auto; top: -10px; transform: rotate(-135deg); }
