/* The December 2026 giveaway: the rules page (/rules/) and the iPhone entry page (/giveaway/).
   Boo, the ghost from the app, peeks over the prize ticket and waves from the closer.
   Motion only runs when motion-boot.js sets .tv-motion (the visitor hasn't asked to reduce motion). */

.gv-boo { display: block; height: auto; pointer-events: none; }
.gv-boo-hero { position: absolute; z-index: 1; width: 136px; right: 34px; top: -98px; }
/* Boo peeks over the top edge from behind the ticket. */
.tv-ticket-col .tv-drop { position: relative; z-index: 2; }
.gv-boo-closer { width: 220px; flex: none; }
.gv-boo-done { width: 140px; margin: 0 auto; }

.tv-motion .gv-boo-hero { animation: gv-peek .9s cubic-bezier(.34, 1.45, .64, 1) 1.15s both, gv-bob 3.4s ease-in-out 2.1s infinite; }
.tv-motion .gv-boo-closer { animation: gv-bob 3.8s ease-in-out infinite; }
.tv-motion .gv-boo-done { animation: gv-peek .8s cubic-bezier(.34, 1.45, .64, 1) both, gv-bob 3.4s ease-in-out .9s infinite; }
@keyframes gv-peek { from { opacity: 0; transform: translateY(70px) scale(.55) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes gv-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* "Everyone, on Instagram": the 3 steps every entry needs. */
.gv-ig { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gv-ig li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; line-height: 1.3; }
.gv-ig b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--sun); font-size: 16px; }
.gv-optional { font-weight: 500; opacity: .8; }

/* The two gift cards on the iPhone entry page. */
.gv-prizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gv-prize { position: relative; display: block; cursor: pointer; }
.gv-prize input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gv-prize > span { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px; border: 2px solid #E8EEF5; background: #F6F9FC; color: var(--ink); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.gv-prize:hover > span { border-color: var(--ink); }
.gv-prize input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.gv-prize input:checked + span { border: 3px solid var(--coral); background: #FFE6E0; transform: scale(1.02); }
.gv-card { display: flex; align-items: flex-end; height: 64px; padding: 10px 14px; border-radius: 12px; font: 800 26px/1 var(--display, "Unbounded", sans-serif); letter-spacing: -0.03em; box-shadow: 0 8px 16px rgba(10, 42, 94, .16); }
.gv-card-sephora { background: var(--ink); color: #FFFFFF; transform: rotate(-4deg); }
.gv-card-tims { background: var(--sun); color: var(--ink); transform: rotate(4deg); }
.gv-prize strong { font-size: 18px; }
.gv-prize small { font-size: 14px; color: #4A5B78; }
.gv-checks { display: grid; gap: 4px; }
.beta-help a { color: inherit; font-weight: 700; }

@media (max-width: 720px) {
  .gv-boo-hero { width: 100px; right: 24px; top: -70px; }
  .gv-boo-closer { width: 150px; }
  .gv-prizes { grid-template-columns: 1fr; }
}
