/* Pricing stays visible until billing confirms an active membership. */
html body .topbar .guest-plans{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:0;height:42px;min-width:112px;box-sizing:border-box;padding:0 18px;margin:0 0 10px;border:0;border-radius:15px;background:transparent;color:#f5f4fa;font-size:14px;font-weight:700;line-height:1;overflow:visible;box-shadow:none;cursor:pointer}
/* The face is above the tucked-in ticket; icon and label share one centered row. */
html body .topbar .guest-plans::before{content:'';position:absolute;inset:0;z-index:1;border:1px solid #ffffff12;border-radius:inherit;background:linear-gradient(145deg,#29292e,#19191d);box-shadow:inset 0 1px #ffffff0d;pointer-events:none}
html body .topbar .guest-plans:hover{background:transparent}
html body .topbar .guest-plans:hover::before{background:linear-gradient(145deg,#343439,#202025)}
html body .topbar .guest-plans-face{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;margin:0;padding:0;line-height:1}
html body .topbar .guest-plans-label{display:block;flex:none;margin:0;padding:0;line-height:1}
html body .topbar .guest-pricing-laurel{display:block;width:21px;height:21px;flex:0 0 21px;margin:0;padding:0;color:#7c5cff}
/* Only the blank top of the ticket tucks underneath the button face. */
html body .topbar .guest-plans .guest-plan-discount{position:absolute;left:50%;top:calc(100% - 7px);bottom:auto;transform:translateX(-50%) translateY(0);transform-origin:50% 0;z-index:0;display:inline-flex;align-items:center;justify-content:center;min-height:29px;box-sizing:border-box;padding:11px 10px 5px;border-radius:7px;background:linear-gradient(110deg,#7c5cff 50%,#4dd0ff);color:#fff;font:800 10px/1.2 Arial,sans-serif;letter-spacing:.02em;white-space:nowrap;box-shadow:0 5px 14px #7c5cff30;pointer-events:none;opacity:1;filter:none}
html body [data-topup][hidden]{display:none!important}
@media(max-width:600px){html body .topbar .guest-plans{min-width:80px;padding:0 10px;font-size:12px;height:38px}html body .topbar .guest-plans-face{gap:6px}html body .topbar .guest-plans .guest-plan-discount{font-size:9px;min-height:27px;padding:11px 8px 4px}}

/* The ticket retracts behind the button briefly, then stays exposed between cycles. */
html body .topbar .guest-plans .guest-plan-discount{animation:de-pricing-ticket-peek 12s ease-in-out infinite}
@keyframes de-pricing-ticket-peek{0%,68%,86%,100%{transform:translateX(-50%) translateY(0)}74%,78%{transform:translateX(-50%) translateY(-28px)}}
@media(prefers-reduced-motion:reduce){html body .topbar .guest-plans .guest-plan-discount{animation:none}}

/* v446: aligned controls, clipped ticket reveal and animated pricing outline. */
@property --de-pricing-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
html body .topbar .guest-plans{margin:0;height:42px;align-self:center;flex-shrink:0}
html body .topbar .guest-plans::after{content:'';position:absolute;inset:0;z-index:3;padding:1px;border-radius:inherit;background:conic-gradient(from var(--de-pricing-angle),transparent 65%,#7c5cff 79%,#4dd0ff 88%,transparent 98%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;animation:de-pricing-outline 5s linear infinite}
html body .topbar .guest-plans .guest-plan-ticket-window{position:absolute;left:50%;top:100%;transform:translateX(-50%);z-index:0;height:24px;overflow:hidden;isolation:isolate;pointer-events:none;display:block;line-height:1;padding:0;margin:0}
html body .topbar .guest-plans .guest-plan-discount{position:relative;left:auto;top:auto;bottom:auto;display:flex;min-height:0;height:23px;padding:4px 10px;line-height:1.2;border-radius:0 0 7px 7px;transform:translateY(0);box-shadow:none;animation:de-pricing-ticket-slide 12s ease-in-out infinite}
html body .topbar .top-right{align-items:center}
html body .topbar #profile-toggle.avatar{width:42px;height:42px;min-width:42px;min-height:42px;margin:0;align-self:center}
@keyframes de-pricing-ticket-slide{0%,68%,86%,100%{transform:translateY(0)}74%,78%{transform:translateY(-110%)}}
@keyframes de-pricing-outline{to{--de-pricing-angle:360deg}}
@media(max-width:600px){html body .topbar .guest-plans{height:38px}html body .topbar #profile-toggle.avatar{width:38px;height:38px;min-width:38px;min-height:38px}html body .topbar .guest-plans .guest-plan-discount{font-size:9px;height:21px;padding:4px 8px}html body .topbar .guest-plans .guest-plan-ticket-window{height:22px}}
@media(prefers-reduced-motion:reduce){html body .topbar .guest-plans::after,html body .topbar .guest-plans .guest-plan-discount{animation:none}}
