/* Interactive sweets sit outside the decorative strip's aria-hidden subtree. */
.sweet-treats { position: fixed; inset: auto 0 0; height: var(--candy-stage-height, 160px); pointer-events: none; z-index: 9001; overflow: hidden; }
.sweet-treats[hidden] { display: none; }
.sweet-candy { position: absolute; bottom: 12px; padding: 0; width: 106px; height: 64px; border: 0; background: none; cursor: pointer; pointer-events: auto; border-radius: 50%; }
.sweet-candy svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 4px #9d6c2326); }
.sweet-candy:focus-visible { outline: 3px solid #935238; outline-offset: 3px; }
.sweet-candy-golden { left: 0; animation: sweet-golden-pass 28s linear forwards; }
.sweet-candy-golden:hover { animation-play-state: paused; }
.sweet-candy-golden:focus { animation-play-state: paused; }
.sweet-candy-golden:focus-visible, .sweet-candy-golden.is-parked { left: auto; right: 18px; animation: none; transform: none; }
.sweet-candy-keepsake { left: 18px; bottom: 22px; width: 92px; animation: sweet-keepsake-bob 3s ease-in-out infinite; }
.sweet-candy-keepsake:hover, .sweet-candy-keepsake:focus { animation-play-state: paused; }
.sweet-treats.is-paused .sweet-candy { animation-play-state: paused; }
@keyframes sweet-golden-pass { from { transform: translateX(calc(100vw + 12px)) rotate(5deg); } to { transform: translateX(-120px) rotate(-5deg); } }
@keyframes sweet-keepsake-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.sweet-ticket-backdrop { position: fixed; inset: 0; z-index: 10002; display: grid; place-items: center; padding: 24px; background: #29112580; overflow-y: auto; backdrop-filter: blur(5px); }
.sweet-ticket { position: relative; width: min(100%, 440px); margin: auto; color: #60351d; background: repeating-linear-gradient(135deg, #fae4aa 0, #fae4aa 8px, #fce9b8 8px, #fce9b8 16px); border: 2px solid #c2933c; border-radius: 18px; box-shadow: 0 20px 70px #29112550, inset 0 0 0 7px #fceab3, inset 0 0 0 9px #c2933c; text-align: center; font-family: Georgia, 'Times New Roman', serif; }
.sweet-ticket-copy { padding: 48px 30px 36px; }
.sweet-ticket-kicker { margin: 0 0 24px; font: 600 10px/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .18em; }
.sweet-ticket h2 { margin: 0; font-size: clamp(35px, 9vw, 58px); line-height: 1.05; font-weight: normal; }
.sweet-ticket-subtitle { margin: 18px 0; font-size: 17px; line-height: 1.5; }
.sweet-ticket-note { margin: 20px auto 0; max-width: 290px; font: 13px/1.7 system-ui, sans-serif; }
.sweet-ticket-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 1px solid #c2933c; background: #fff9e5; color: #60351d; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.sweet-ticket-enter { margin-top: 28px; padding: 14px 23px; border: 1px solid #60351d; border-radius: 7px; background: #60351d; color: #fff9e5; font: 600 14px/1.4 system-ui, sans-serif; cursor: pointer; }
.sweet-ticket button:focus-visible { outline: 3px solid #935238; outline-offset: 4px; }
.sweet-ticket-enter:hover { background: #815132; }
.sweet-ticket-souvenir { background: #fbf1dc; }
.sweet-ticket-souvenir h2 { font-size: clamp(32px, 8vw, 48px); }
.sweet-ticket-count { font-size: 22px; padding: 15px 0; margin: 12px 0 18px; border-top: 1px dashed #c2933c; border-bottom: 1px dashed #c2933c; }
.sweet-ticket-stamps { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.sweet-ticket-stamps li { display: grid; place-items: center; width: 88px; min-height: 76px; padding: 8px 3px; box-sizing: border-box; border: 1px solid #af8b5c; border-radius: 9px; color: #785638; font: 10px/1.4 system-ui, sans-serif; }
.sweet-ticket-stamps li:nth-child(2n) { color: #986886; border-color: #bc94ab; }
.sweet-ticket-stamps li span { display: block; margin-bottom: 4px; font-size: 25px; line-height: 1; }
@media (max-height: 680px) { .sweet-ticket-copy { padding: 40px 22px 24px; } .sweet-ticket-kicker { margin-bottom: 16px; } .sweet-ticket-stamps li { min-height: 62px; } }
@media (prefers-reduced-motion: reduce) { .sweet-candy { animation: none !important; } .sweet-candy-golden { left: auto; right: 18px; } }
