/* Fest T-shirt reminder. The round button opens this banner. */
.tee-banner{position:fixed;z-index:90;inset:0;display:grid;place-items:end center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#05030899;animation:teeScrim .35s ease both}
.tee-banner[hidden]{display:none!important}
.tee-banner-card{position:relative;width:min(460px,100%);max-height:min(92dvh,720px);overflow:auto;border:1px solid #8a6eaa;border-radius:22px;background:linear-gradient(165deg,#2a1c3c 0%,#120d18 42%,#0c0a10 100%);box-shadow:0 30px 90px #000c,0 0 0 1px #ffffff10 inset;animation:teeIn .55s cubic-bezier(.16,.84,.28,1) both}
.tee-banner-card:before{content:'';position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 30%,#e7d4ff55 48%,transparent 62%);background-size:220% 100%;animation:teeSheen 3.8s ease-in-out infinite}
.tee-roll{position:relative;overflow:hidden;border-bottom:1px solid #6d587f88;background:#160f20;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.tee-roll-track{display:flex;width:max-content;animation:teeRoll 22s linear infinite}
.tee-roll-set{display:flex;margin:0;padding:0}
.tee-roll-set span{display:inline-flex;align-items:center;gap:14px;padding:11px 0 11px 22px;font:10px/1 var(--mono);letter-spacing:1.35px;text-transform:uppercase;color:#e6d7f6;white-space:nowrap}
.tee-roll-set span:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--violet);box-shadow:0 0 10px #b296ff}
.tee-body{position:relative;padding:22px 22px 20px}
.tee-banner-close{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid #6d587f;border-radius:50%;color:#eadff6;font-size:26px;line-height:1;background:#1a1324cc}
.tee-banner-close:active{transform:scale(.94)}
.tee-mark{display:grid;place-items:center;width:62px;height:62px;margin-bottom:14px;border-radius:50%;color:#241433;background:radial-gradient(circle at 35% 30%,#f4e9ff,#b296ff 55%,#7d57d2);box-shadow:0 10px 28px #6d4ab155;animation:teeFloat 3.4s ease-in-out infinite}
.tee-kicker{font:9px/1.6 var(--mono);letter-spacing:1.7px;color:var(--violet);margin-bottom:8px;animation:teeRise .6s .08s ease both}
.tee-banner-card h2{max-width:16ch;padding-right:36px;font-size:clamp(28px,7vw,40px);line-height:1.02;letter-spacing:-1.3px;font-weight:500;animation:teeRise .65s .14s ease both}
.tee-body>p:not(.tee-kicker){margin-top:12px;max-width:36ch;font-size:15px;line-height:1.65;color:#d5c8e4;animation:teeRise .65s .22s ease both}
.tee-cta{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;margin-top:20px;padding:14px 18px;border-radius:999px;background:linear-gradient(100deg,#d8c2ff,#b296ff 45%,#9a78e8);color:#160c24;font-size:15px;font-weight:600;animation:teeRise .65s .3s ease both}
.tee-cta span{font-size:18px;font-weight:500;animation:teeNudge 1.6s ease-in-out infinite}
.tee-cta:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent, #fff8 40%, transparent 60%);transform:translateX(-120%);animation:teeSheen 2.4s ease-in-out infinite}
.tee-cta:active{transform:scale(.985)}
.tee-fab{position:fixed;z-index:78;right:max(18px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:72px;height:72px;border-radius:50%;color:#1a1028;background:radial-gradient(circle at 35% 30%,#eadcff,#b296ff 46%,#8d6ad8);box-shadow:0 12px 34px #0008,0 0 0 1px #e6d7ff55;isolation:isolate;animation:teeBob 3s ease-in-out infinite}
.tee-fab-ring{position:absolute;inset:-8px;border:1px solid #b296ff99;border-radius:50%;animation:teePulse 2.6s ease-out infinite;pointer-events:none}
.tee-fab-ring-spin{inset:-14px;border-style:dashed;border-color:#cbb4f277;animation:teeSpin 10s linear infinite}
.tee-fab svg{display:block}
.tee-fab-caption{font:8px/1 var(--mono);letter-spacing:.4px;color:#2a1840}
.tee-fab:active{transform:scale(.96)}
#tee-banner:not([hidden])~.tee-fab{visibility:hidden;pointer-events:none}
@keyframes teeScrim{from{opacity:0}to{opacity:1}}
@keyframes teeIn{from{opacity:0;transform:translateY(28px) scale(.96)}to{opacity:1;transform:none}}
@keyframes teeRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes teeRoll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes teeFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(-6deg)}}
@keyframes teeSheen{0%{transform:translateX(-120%)}55%,100%{transform:translateX(120%)}}
@keyframes teeNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}
@keyframes teePulse{0%{transform:scale(.92);opacity:.75}70%{transform:scale(1.14);opacity:0}100%{opacity:0}}
@keyframes teeSpin{to{transform:rotate(360deg)}}
@keyframes teeBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(min-width:781px){.tee-banner{place-items:center}}
@media(max-width:780px){
  .tee-banner{background:#050308cc}
  .tee-banner-card{width:100%;border-radius:22px 22px 16px 16px}
  .tee-body{padding:18px 16px max(16px,env(safe-area-inset-bottom))}
  .tee-banner-card h2{font-size:clamp(26px,8vw,34px)}
  .tee-fab{bottom:calc(78px + env(safe-area-inset-bottom));width:64px;height:64px}
  .tee-fab svg{width:20px;height:20px}
}
@media(max-width:360px){
  .tee-body{padding-top:16px}
  .tee-mark{width:52px;height:52px;margin-bottom:10px}
  .tee-banner-card h2{font-size:25px;letter-spacing:-.8px}
  .tee-body>p:not(.tee-kicker){font-size:14px}
  .tee-cta{min-height:50px;font-size:14px}
  .tee-fab{width:58px;height:58px;right:12px}
}
@media(max-height:520px){
  .tee-banner{place-items:center}
  .tee-mark{width:44px;height:44px;margin-bottom:8px}
  .tee-banner-card h2{font-size:24px}
  .tee-body>p:not(.tee-kicker){margin-top:8px;font-size:13px}
  .tee-cta{margin-top:12px;min-height:48px}
  .tee-roll-set span{padding-top:8px;padding-bottom:8px}
}
@media(hover:hover) and (pointer:fine){
  .tee-cta:hover{filter:brightness(1.06)}
  .tee-fab:hover{animation-play-state:paused;transform:translateY(-3px) scale(1.04)}
  .tee-banner-close:hover{background:#b296ff22}
  .tee-banner-card:hover .tee-roll-track{animation-play-state:paused}
}
body:has(dialog[open]) .tee-fab,body.portal-active .tee-fab,body.event-dialog-open .tee-fab,body.faculty-dialog-open .tee-fab{visibility:hidden;pointer-events:none}
.motion-paused .tee-banner,.motion-paused .tee-banner-card,.motion-paused .tee-banner-card:before,.motion-paused .tee-roll-track,.motion-paused .tee-mark,.motion-paused .tee-kicker,.motion-paused .tee-banner-card h2,.motion-paused .tee-body>p,.motion-paused .tee-cta,.motion-paused .tee-cta span,.motion-paused .tee-cta:after,.motion-paused .tee-fab,.motion-paused .tee-fab-ring,.motion-paused .tee-banner-close{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){
  .tee-banner{background:#050308f2}
  .tee-banner,.tee-banner-card,.tee-banner-card:before,.tee-roll-track,.tee-mark,.tee-kicker,.tee-banner-card h2,.tee-body>p,.tee-cta,.tee-cta span,.tee-cta:after,.tee-fab,.tee-fab-ring,.tee-banner-close{animation:none!important;transition:none!important}
  .tee-fab-ring{display:none}
  .tee-roll{mask-image:none}
  .tee-roll-track{width:auto;flex-wrap:wrap}
  .tee-roll-set:last-child{display:none}
  .tee-roll-set{flex-wrap:wrap;padding:8px 12px 4px}
  .tee-roll-set span{padding:6px 10px 6px 0}
}
