/* Same A-diamond atlas as the website, behind the existing support UI.
   Base #0b1713 / panel #15251e / ink #edf3e8 remain Mini App tokens;
   routes #91b878 / lime #c7f36a / reflected light #7caf97 match the site.
   Existing Segoe UI typography and opaque message/form surfaces stay intact.
   [A / identity] [tabs] [messages / quiet margins with routes] [reply] [pause] */
body{position:relative;isolation:isolate}
.ambient{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none;contain:strict;background:radial-gradient(ellipse at 92% 10%,#23352180,transparent 60%),radial-gradient(ellipse at 8% 90%,#173b2e66,transparent 55%);--atlas-x:0px;--atlas-y:0px}
.atlas-light{position:absolute;inset:-18%;background:radial-gradient(ellipse at 80% 16%,rgba(157,197,87,.28),transparent 36%),radial-gradient(ellipse at 95% 80%,rgba(91,167,134,.18),transparent 38%),radial-gradient(ellipse at 12% 70%,rgba(106,152,70,.19),transparent 34%);animation:atlas-light-drift 16s ease-in-out infinite alternate}
.atlas-parallax{position:absolute;inset:-5%;transform:translate3d(var(--atlas-x),var(--atlas-y),0);transition:transform 1s cubic-bezier(.16,.75,.25,1)}
.atlas-contours{display:block;width:100%;height:100%;overflow:visible;animation:atlas-contour-drift 26s ease-in-out infinite alternate}
.atlas-route{fill:none;stroke:#91b878;stroke-opacity:.18;stroke-width:1;vector-effect:non-scaling-stroke}
.atlas-trace{fill:none;stroke:#c7f36a;stroke-opacity:.48;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:65 935;vector-effect:non-scaling-stroke;animation:atlas-route-travel var(--route-duration,18s) linear infinite;animation-delay:var(--route-delay,0s)}
.atlas-trace:nth-of-type(4n){stroke:#7caf97;stroke-opacity:.6;animation-direction:reverse}
.atlas-cursor{position:absolute;left:0;top:0;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,#c7f36a18,rgba(124,175,151,.035) 42%,transparent 68%);opacity:0;transition:opacity .5s;transform:translate3d(-600px,-600px,0)}
.ambient[data-pointer=true] .atlas-cursor{opacity:1}
.atlas-ripple{position:absolute;left:0;top:0;width:100px;height:100px;border:1px solid #c7f36a80;border-radius:3px;animation:atlas-ripple 1.8s cubic-bezier(.16,.65,.35,1) forwards}
.ambient:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,14,12,.12),transparent 60%),linear-gradient(0deg,rgba(9,14,12,.25),transparent 32%)}
.ambient[data-running=false] *{animation-play-state:paused!important;transition:none!important}
.ambient[data-running=true] .atlas-light,.ambient[data-running=true] .atlas-parallax{will-change:transform}
.ambient-toggle{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:14px;border:1px solid #3c4c36;border-radius:6px;padding:10px 12px;background:#101b13;color:#bccbb0;font-size:12px;line-height:1.4}
.ambient-toggle:before{content:'';width:7px;height:7px;border-radius:50%;background:#798574}
.ambient-toggle[aria-pressed=true]:before{background:#c7f36a;box-shadow:0 0 8px #c7f36a30}
.ambient-toggle:not(:disabled):hover{border-color:#8aa56a;color:#eef2e8}
.ambient-toggle:disabled{opacity:1;cursor:default;color:var(--muted)}
@keyframes atlas-light-drift{from{transform:translate(-7%,5%) scale(1)}to{transform:translate(8%,-6%) scale(1.12)}}
@keyframes atlas-contour-drift{from{transform:translateY(-2%) rotate(-4deg)}to{transform:translateY(3%) rotate(4deg)}}
@keyframes atlas-route-travel{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}
@keyframes atlas-ripple{from{transform:translate(-50%,-50%) rotate(45deg) scale(.25);opacity:.7}to{transform:translate(-50%,-50%) rotate(45deg) scale(4);opacity:0}}
@media(max-width:720px){.atlas-light{inset:-12%;opacity:.85}.atlas-route{stroke-opacity:.14}.atlas-trace{stroke-opacity:.38}.atlas-cursor{display:none}}
@media(prefers-reduced-motion:reduce){.ambient *{animation:none!important;transition:none!important}}
