/* Distort decorative layers, never the clock, live video or input targets. */
#roomScreen.aa-countdown-active{position:relative;isolation:isolate;--launch-shift:9px;--launch-opacity:.35;}
#roomScreen[data-launch-intensity="2"]{--launch-shift:23px;--launch-opacity:.6;}
#roomScreen[data-launch-intensity="3"]{--launch-shift:44px;--launch-opacity:.85;}
body.aa-terminal #roomScreen.aa-countdown-active .game-room-page{animation:none;}
body.aa-terminal #roomScreen.aa-countdown-active .game-room-footer{z-index:60;background:#0a0c18!important;border-color:#d29bff;box-shadow:0 0 0 3px #080a13,0 0 28px #9e50ed40;}
body.aa-terminal #roomScreen.aa-countdown-active #roomLaunchValue{color:#fff;text-shadow:0 0 20px #ff941966;}
.aa-countdown-signal,.aa-drive-entry-signal{position:absolute;inset:0;overflow:hidden;contain:paint;}
.aa-countdown-signal,.aa-countdown-signal *,.aa-drive-entry-signal,.aa-drive-entry-signal *{pointer-events:none!important;user-select:none;box-sizing:border-box;}
.aa-countdown-signal{z-index:35;opacity:var(--launch-opacity);transition:opacity .3s linear;}
.aa-countdown-tear{position:absolute;inset:0;animation:aa-launch-tear-a 1s steps(1,end) infinite;}
.aa-countdown-tear-one{clip-path:inset(13% 0 75%);}
.aa-countdown-tear-two{clip-path:inset(43% 0 39%);animation-name:aa-launch-tear-b;}
.aa-countdown-tear-three{clip-path:inset(72% 0 17%);animation-name:aa-launch-tear-c;}
.aa-countdown-art{position:absolute;inset:-48px;background:linear-gradient(#04071055,#070a1670),url('glass-arena.png') center/cover fixed;filter:contrast(1.15) saturate(1.25);border-top:2px solid #b766e6;}
.aa-countdown-tear-two .aa-countdown-art{filter:contrast(1.3) saturate(.6);}
.aa-countdown-rail{position:absolute;inset:3px;border:2px solid;animation:aa-launch-edge 1s steps(1,end) infinite;}
.aa-countdown-rail-orange{border-color:#ff9419;clip-path:polygon(0 0,35% 0,35% 1%,1% 1%,1% 60%,0 60%);}
.aa-countdown-rail-purple{border-color:#c86aff;clip-path:polygon(100% 0,100% 100%,60% 100%,60% 99%,99% 99%,99% 0);animation-direction:reverse;}
.aa-countdown-scan{position:absolute;left:0;right:0;top:19%;height:3px;background:linear-gradient(90deg,transparent,#bc79e5 25%,#ff9d4c 65%,transparent);box-shadow:0 3px 0 #08071099;animation:aa-launch-scan 1s steps(1,end) infinite;}
.aa-countdown-blocks{position:absolute;inset:0;background:linear-gradient(90deg,#ff9e2733 0 20%,#090914dd 20% 65%,#b465ee66 65%);clip-path:polygon(0 28%,37% 28%,37% 30%,0 30%,0 62%,72% 62%,72% 64%,100% 64%,100% 66%,0 66%);animation:aa-launch-tear-b 1s steps(1,end) infinite;}
@keyframes aa-launch-tear-a{0%,100%{transform:translateX(calc(-1 * var(--launch-shift)));}35%{transform:translateX(var(--launch-shift));}72%{transform:translateX(calc(-.35 * var(--launch-shift)));}}
@keyframes aa-launch-tear-b{0%,100%{transform:translateX(var(--launch-shift));}42%{transform:translateX(calc(-.7 * var(--launch-shift)));}80%{transform:translateX(calc(.3 * var(--launch-shift)));}}
@keyframes aa-launch-tear-c{0%,100%{transform:translateX(calc(-.5 * var(--launch-shift)));}30%{transform:translateX(calc(.8 * var(--launch-shift)));}67%{transform:translateX(calc(-.2 * var(--launch-shift)));}}
@keyframes aa-launch-edge{0%,100%{transform:translateX(-2px);}40%{transform:translateX(3px);}75%{transform:translateX(0);}}
@keyframes aa-launch-scan{0%,100%{top:19%;}34%{top:58%;}68%{top:37%;}}
#driveScreen.aa-drive-entry-host{position:relative;isolation:isolate;}
.aa-drive-entry-signal{z-index:45;animation:aa-drive-signal-fade .7s ease-out forwards;}
.aa-drive-entry-tear{position:absolute;left:-3%;width:106%;top:16%;height:10%;border-top:1px solid #ce8bf5;background:linear-gradient(90deg,#0a0715aa,#9b46ca66 45%,#ff922940 70%,#08091499);animation:aa-drive-signal-tear .7s steps(3,end) forwards;}
.aa-drive-entry-tear-two{top:47%;height:6%;animation-direction:reverse;border-color:#ffab58;}
.aa-drive-entry-tear-three{top:78%;height:7%;}
.aa-drive-entry-edge{position:absolute;inset:2px;border:2px solid #bc79e5;box-shadow:inset 0 0 14px #ff941933;clip-path:polygon(0 0,24% 0,24% 1%,1% 1%,1% 78%,0 78%,0 100%,100% 100%,100% 22%,99% 22%,99% 99%,75% 99%,75% 100%,0 100%);}
@keyframes aa-drive-signal-fade{0%{opacity:.85;}35%{opacity:.5;}100%{opacity:0;}}
@keyframes aa-drive-signal-tear{0%{transform:translateX(-42px);}30%{transform:translateX(25px);}62%{transform:translateX(-9px);}100%{transform:translateX(0);}}
@media(prefers-reduced-motion:reduce){.aa-countdown-signal,.aa-drive-entry-signal{display:none!important;}}
