/* Motion vocabulary shared by every reading surface. */
body{isolation:isolate;background:#090b15}
#atlas-cosmos{position:fixed;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}
.atlas-aurora{position:fixed;inset:-30% -20% 30%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 25% 40%,#8546e627,transparent 48%),radial-gradient(ellipse at 80% 60%,#2872c91c,transparent 42%);filter:blur(45px);animation:atlas-drift 24s ease-in-out infinite alternate}
body>main{position:relative}
.atlas-hero{position:relative;min-height:210px;padding:28px 0 32px;margin-bottom:30px;border-bottom:1px solid #ae9bff24;isolation:isolate}
.atlas-hero:before{content:"";position:absolute;inset:-45px -30px -10px;z-index:-1;background:radial-gradient(ellipse at 65% 20%,#8055ef20,transparent 65%);pointer-events:none}
.atlas-hero h1{font-size:clamp(34px,3.6vw,54px);line-height:1.35;letter-spacing:-.04em;color:#f0edff;margin:14px 0 22px;max-width:18em}
.atlas-hero h1:after{content:"";display:block;width:72px;height:3px;margin-top:28px;border-radius:5px;background:linear-gradient(90deg,#b18bff,#74d9ff);box-shadow:0 0 20px #a774ff77;animation:atlas-line 1.1s cubic-bezier(.2,.8,.2,1) both}
.atlas-hero-label{font:10px/1.8 ui-monospace,monospace;letter-spacing:.18em;color:#ab98d9;display:flex;gap:10px;align-items:center}
.atlas-hero-label:before{content:"";height:6px;width:6px;background:#a894ff;border-radius:50%;box-shadow:0 0 14px #ac83ff;animation:atlas-beacon 3s ease-in-out infinite}
.atlas-signal{display:flex;gap:4px;align-items:center;height:28px;position:absolute;right:12px;bottom:36px;opacity:.65}
.atlas-signal i{display:block;width:3px;height:var(--h);border-radius:2px;background:linear-gradient(#a48dff,#63b7de);animation:atlas-wave 2s ease-in-out infinite alternate;animation-delay:var(--delay)}

.lab{position:relative;border:1px solid #9e88db2b;background:linear-gradient(135deg,#15182cdd,#0d1423ee);transition:border-color .35s,box-shadow .35s}
.lab:hover{border-color:#ae8ef25e;box-shadow:0 18px 65px #0003,0 0 45px #7752e611}
.lab:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(420px circle at var(--glow-x,50%) var(--glow-y,0%),#a080ff10,transparent 70%)}
.lab svg path[stroke]:not([stroke="none"]){stroke-dasharray:10 6;animation:atlas-stream 4s linear infinite}
.lab svg rect{transition:fill .35s,stroke .35s;filter:drop-shadow(0 2px 8px #7b54df10)}
.lab.atlas-responding{animation:atlas-response .65s ease-out}
.lab button:active{transform:scale(.97)}
.lab button:disabled{opacity:.5;transform:none;cursor:default}
.generation-tokens span:last-child{animation:atlas-token .55s cubic-bezier(.2,.8,.2,1) both}
.atlas-particle{position:absolute;width:7px;height:7px;background:#c6b2ff;border-radius:50%;pointer-events:none;box-shadow:0 0 13px #a68cff;animation:atlas-particle .65s ease-out forwards;z-index:4}
@keyframes atlas-drift{to{transform:translate3d(5%,8%,0) rotate(8deg)}}
@keyframes atlas-line{from{width:0;opacity:0}to{width:72px;opacity:1}}
@keyframes atlas-beacon{50%{box-shadow:0 0 22px #b99aff;opacity:.5}}
@keyframes atlas-wave{to{transform:scaleY(.3);opacity:.35}}
@keyframes atlas-stream{to{stroke-dashoffset:-64}}
@keyframes atlas-response{0%{box-shadow:0 0 0 1px #ae8cff99,0 0 55px #9868ed44}100%{box-shadow:0 0 0 0 #ae8cff00,0 0 0 #9868ed00}}
@keyframes atlas-token{from{opacity:0;transform:translateY(12px) scale(.9);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
@keyframes atlas-particle{to{transform:translate(var(--dx),var(--dy));opacity:0}}
@media(max-width:760px){.atlas-hero{min-height:180px;padding-top:12px}.atlas-hero h1{font-size:34px}.atlas-signal{right:0;bottom:28px;opacity:.35}.atlas-aurora{filter:blur(30px)}}
@media(prefers-reduced-motion:reduce){.atlas-aurora,.atlas-signal,#atlas-cosmos{display:none}.atlas-particle{display:none}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep the animated glow inside the viewport without hiding content overflow. */
.atlas-aurora{inset:0;overflow:hidden;background:none;filter:none;animation:none}
.atlas-aurora::before{content:"";position:absolute;inset:-30% -20% 30%;background:radial-gradient(ellipse at 25% 40%,#8546e627,transparent 48%),radial-gradient(ellipse at 80% 60%,#2872c91c,transparent 42%);filter:blur(45px);animation:atlas-drift 24s ease-in-out infinite alternate}
@media(max-width:760px){.atlas-hero::before{left:0;right:0}.atlas-aurora::before{filter:blur(30px)}}
@media(max-width:760px){main table{display:block;max-width:100%;overflow-x:auto}}
