/* Onboarding overlay (tour.js): tap catcher, spotlight hole, card. Matches style.css tokens. */
.fpt-root { position: fixed; inset: 0; z-index: 1000; }
/* Full-screen catcher: taps outside the card never reach the app (the tour cannot be skipped). */
.fpt-catch { position: absolute; inset: 0; background: transparent; }
.fpt-root.no-hole .fpt-catch { background: rgba(5, 7, 14, .78); }
.fpt-root.picker .fpt-catch { background: radial-gradient(900px 500px at 50% 0%, #1d2452 0%, rgba(8, 10, 18, .96) 60%); }
/* The dim is the hole's shadow, so the target stays bright; the hole itself takes no taps. */
.fpt-hole {
  position: fixed; border-radius: 16px; pointer-events: none;
  box-shadow: 0 0 0 200vmax rgba(5, 7, 14, .72), 0 0 0 2px rgba(155, 107, 255, .9), 0 0 24px rgba(155, 107, 255, .55);
  transition: left .28s ease, top .28s ease, width .28s ease, height .28s ease;
}
.fpt-root.no-hole .fpt-hole { display: none; }

.fpt-card {
  position: fixed; box-sizing: border-box; padding: 16px 16px 14px;
  border-radius: 18px; background: #161a2e; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); color: var(--text);
  transition: top .25s ease;
}
.fpt-card.hidden { display: none; }
.fpt-card.enter { animation: fpt-in .22s ease-out; }
@keyframes fpt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fpt-counter { font-size: 12px; font-weight: 800; letter-spacing: .6px; color: var(--purple); margin-bottom: 4px; }
.fpt-title { font-size: 18px; font-weight: 900; line-height: 1.25; }
.fpt-text { margin-top: 6px; font-size: 15px; line-height: 1.45; color: #c9cee8; }
.fpt-row { display: flex; gap: 10px; margin-top: 14px; }
/* Legend lines (emoji + text): a wrapped line stays under its text, not under the emoji. */
.fpt-li { display: flex; gap: 8px; }
.fpt-li i { font-style: normal; flex: none; }
.fpt-row .fpt-btn { flex: 1; min-height: 46px; font-size: 15px; letter-spacing: .2px; }
/* The picker: two equal language buttons under a bilingual title. */
.fpt-root.picker .fpt-title, .fpt-root.picker .fpt-text { text-align: center; }
.fpt-root.picker .fpt-text { margin-top: 2px; font-size: 18px; font-weight: 900; color: var(--text); }
.fpt-root.picker .fpt-row .fpt-btn { font-size: 16px; min-height: 54px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
/* The bonus card: a gold title. */
.fpt-root.confetti .fpt-title { font-size: 30px; color: var(--gold); text-align: center; }
.fpt-root.confetti .fpt-text { text-align: center; }

/* Language switch in the Fair tab. */
.lang-seg { margin-top: 6px; }
