/* Network instrument card: illustrations, not live telemetry. */
html body.rx-home #network-preview.net-command-card{isolation:isolate;grid-template-columns:.95fr 1.05fr!important;gap:36px;padding:52px 42px 38px!important;background:#edf4ff!important;border-top:3px solid #2450ff!important;overflow:hidden;align-items:center!important}
.net-card-art{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
.net-card-art:before{content:'';position:absolute;inset:0 0 0 48%;background:#1748df;clip-path:polygon(28% 0,100% 0,100% 100%,0 100%,14% 60%,0 60%)}
.net-card-brush{position:absolute;inset:0 -12% 0 40%;background:linear-gradient(120deg,#07c9ff,#147bff 45%,#2339bd);mask:url('../images/esports-home/paint-sweep.svg') center/100% 100% no-repeat;opacity:.85;transform:rotate(-12deg)}
.net-card-grid{position:absolute;inset:0 0 0 50%;background:radial-gradient(#89d9ff 1px,transparent 1.5px) 0 0/12px 12px;mask:radial-gradient(ellipse at 90% 20%,#0008,transparent 65%)}
.net-card-circuit{position:absolute;inset:0;width:100%;height:100%;stroke:#a5deff;stroke-width:1.5;opacity:.45}.net-card-circuit circle{fill:#ccf3ff;stroke:none}
.net-circuit-flow{stroke:white;stroke-width:3;stroke-dasharray:5 95;animation:net-circuit-travel 9s linear infinite paused}
.net-card-art>span{position:absolute;right:25px;top:20px;font:11px monospace;letter-spacing:.18em;color:#d9f1ff}
#network-preview .net-launch-copy p{max-width:520px;font-size:clamp(17px,1.25vw,22px);line-height:1.55}
html body.rx-home #network-preview h2{font-size:clamp(34px,3.2vw,58px)!important;letter-spacing:-.035em!important}
#network-preview .router-guide{font-size:16px}#network-preview .net-launch-copy>a:not(.router-guide){border-radius:3px}
.net-card-console{position:relative;min-width:0;align-self:center}
.net-hardware-stage{position:relative;width:92%;margin:0 auto -15px;aspect-ratio:1.5;transform:translate(35px,15px);opacity:.35;transition:transform 1.2s cubic-bezier(.16,1,.3,1),opacity .9s}
.net-hardware-stage img{display:block;width:100%;height:auto;filter:drop-shadow(0 20px 14px #00165550)}
.net-card-ready .net-hardware-stage{transform:none;opacity:1}
.net-instruments{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#739fff66;border:1px solid #7da7ff88;box-shadow:0 18px 25px #00134a30}
.net-instrument{background:linear-gradient(140deg,#0d2348,#0d1831);padding:12px 8px 17px;text-align:center;color:white;transform:translateY(35px);opacity:0;transition:transform .8s cubic-bezier(.16,1,.3,1),opacity .6s;transition-delay:calc(var(--instrument)*120ms + 150ms)}
.net-card-ready .net-instrument{transform:none;opacity:1}
.net-instrument svg{display:block;width:100%;max-height:108px;overflow:visible;fill:none}
.net-dial-base{stroke:#28426a;stroke-width:9}.net-dial-ticks{stroke:#8fb5eb;stroke-width:13;stroke-dasharray:.5 7.83}.net-dial-fill{stroke:#36c3ff;stroke-width:4;stroke-dasharray:55 100;animation:net-dial-sweep 8s ease-in-out infinite paused;animation-delay:calc(var(--instrument)*-2s)}
.net-needle{transform-origin:90px 90px;animation:net-needle-sweep 8s ease-in-out infinite paused;animation-delay:calc(var(--instrument)*-2s)}.net-needle path{stroke:#e4f8ff;stroke-width:2.5}.net-needle circle{fill:#39c3ff;stroke:#b4edff;stroke-width:2}
.net-instrument strong{display:block;font:400 clamp(14px,1.2vw,20px)/1.2 RadiantArena,sans-serif;margin-top:3px}.net-instrument span{display:block;font-size:11px;color:#9eb7db;margin-top:6px}
.net-instrument-note{text-align:center!important;color:#e0ebff!important;font-size:11px!important;line-height:1.5!important;margin:12px 0 0!important}
#network-preview[data-router-playing=true] :is(.net-circuit-flow,.net-dial-fill,.net-needle){animation-play-state:running}
@keyframes net-circuit-travel{to{stroke-dashoffset:-100}}
@keyframes net-dial-sweep{0%,100%{stroke-dasharray:38 100}50%{stroke-dasharray:65 100}}
@keyframes net-needle-sweep{0%,100%{transform:rotate(22deg)}50%{transform:rotate(72deg)}}
@media(max-width:900px){html body.rx-home #network-preview.net-command-card{grid-template-columns:1fr!important;padding:35px 24px!important;gap:35px}.net-card-art:before{inset:46% 0 0;clip-path:polygon(0 12%,100% 0,100% 100%,0 100%)}.net-card-brush{inset:40% -20% -10%}.net-card-circuit{top:45%;height:55%}.net-card-art>span{display:none}.net-card-console{width:min(100%,600px);margin:auto}.net-hardware-stage{max-width:480px}.net-instrument strong{font-size:16px}.net-instrument span{font-size:10px}}
@media(prefers-reduced-motion:reduce){html:not(.rx-motion-enabled) #network-preview *{animation:none!important;transition:none!important}}

.net-card-brush{mask-image:url(../images/esports-home/paint-sweep.svg),radial-gradient(ellipse,#000 28%,transparent 72%);mask-size:100% 100%;mask-position:center;mask-repeat:no-repeat;mask-composite:intersect}

@media(max-width:900px){.net-card-art:before,.net-card-brush,.net-card-grid,.net-card-circuit{display:none}.net-card-console{isolation:isolate;padding-top:22px}.net-card-console:before{content:'';position:absolute;z-index:-1;inset:0 -24px -50px;background:linear-gradient(145deg,#146df6,#2439bd);clip-path:polygon(0 20px,100% 0,100% 100%,0 100%)}.net-card-console:after{content:'';position:absolute;z-index:-1;inset:0 -24px;background:radial-gradient(#9de4ff55 1px,transparent 1.5px) 0 0/12px 12px;mask:radial-gradient(ellipse,#000,transparent 70%)}}

/* Distinct miniature illustrations replace repeated gauge dials. */
#network-preview .net-instruments{gap:12px;background:transparent;border:0;box-shadow:none}
#network-preview .net-instrument{position:relative;overflow:hidden;border:1px solid #90caff55;border-radius:13px;padding:10px 8px 18px;background:radial-gradient(ellipse at 50% 0,#254f83,#102044 70%);box-shadow:0 10px 18px #00174030,inset 0 1px 0 #d1f5ff22}
#network-preview .net-instrument:before{content:'';position:absolute;top:0;left:20%;right:20%;height:1px;background:linear-gradient(90deg,transparent,#8adeff,transparent)}
#network-preview .net-mini-art{height:auto;max-height:125px;width:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.net-mini-floor{fill:#060f2c;opacity:.45}.net-mini-wire{stroke:#4a84b7;stroke-width:1.5;stroke-dasharray:3 5}
.net-ping-dot{stroke:#a0f2ff;stroke-width:5;stroke-dasharray:2 98;filter:drop-shadow(0 0 4px #2db7ff);animation:net-mini-signal 3.8s ease-in-out infinite paused}
.net-mini-node{fill:#24598b;stroke:#7cdcff;stroke-width:1.5;animation:net-mini-hover 5s ease-in-out infinite paused}.net-mini-node-right{animation-delay:-2.5s}
.net-wave-grid{stroke:#547fa6;stroke-width:1;opacity:.25}.net-wave-shadow{stroke:#29b7ff;stroke-width:10;opacity:.1}.net-wave-main{stroke:#83e8ff;stroke-width:3;stroke-dasharray:30 3 6 3 58;animation:net-mini-signal 6s linear infinite paused}.net-wave-point{fill:#d7fbff;stroke:#359ee5;stroke-width:3}
.net-packet-track{stroke:#5987b9;stroke-width:1;stroke-dasharray:2 5}.net-packet-block{fill:#1e6095;stroke:#8ce3ff;stroke-width:1.5;animation:net-mini-hover 5s ease-in-out infinite paused}.net-packet-block:nth-of-type(2){animation-delay:-1.6s}.net-packet-gap{fill:transparent;stroke-dasharray:3 3;animation:net-mini-gap 5s ease-in-out infinite paused}
#network-preview[data-router-playing=true] :is(.net-ping-dot,.net-mini-node,.net-wave-main,.net-packet-block){animation-play-state:running}
@keyframes net-mini-signal{to{stroke-dashoffset:-100}}
@keyframes net-mini-hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes net-mini-gap{0%,100%{opacity:.4}50%{opacity:1}}
@media(max-width:600px){#network-preview .net-instruments{gap:6px}#network-preview .net-instrument{padding:8px 3px 13px;border-radius:8px}#network-preview .net-instrument strong{font-size:13px}#network-preview .net-instrument span{font-size:9px}}

/* A single connected illustration, replacing the three metric tiles. */
.net-link-scene{position:relative;margin-top:8px;border-block:1px solid #afd8ff50;background:linear-gradient(110deg,#0b33a82b,#14359555,#0b33a82b);padding:14px 0 6px;transform:translateY(20px);opacity:0;transition:transform .9s cubic-bezier(.16,1,.3,1),opacity .9s}
.net-card-ready .net-link-scene{transform:none;opacity:1}.net-link-scene svg{display:block;width:100%;height:auto;overflow:visible}
.link-travel path{stroke-dasharray:1 103;stroke-dashoffset:2;filter:drop-shadow(0 0 5px #53d7ff);animation-play-state:paused!important}
.link-ping{animation:link-roundtrip 4s ease-in-out infinite}
.link-jitter{animation:link-burst 4.7s linear infinite}.link-jitter-b{animation-delay:-.32s!important}.link-jitter-c{animation-delay:-1.6s!important}
.link-loss-good{animation:link-burst 5s linear infinite}.link-loss-drop{animation:link-lost 5s linear infinite;animation-delay:-2.5s}
.link-drop-mark{animation:link-drop-mark 5s linear infinite paused;opacity:0}
.link-server-lights circle{animation:link-led 3s steps(2,end) infinite paused}.link-server-lights circle:nth-child(2){animation-delay:-.7s}.link-server-lights circle:nth-child(3){animation-delay:-1.9s}
#network-preview[data-router-playing=true] :is(.link-travel path,.link-drop-mark,.link-server-lights circle){animation-play-state:running!important}
@keyframes link-roundtrip{0%,10%{stroke-dashoffset:2;opacity:0}15%{opacity:1}45%,55%{stroke-dashoffset:-98;opacity:1}90%{stroke-dashoffset:2;opacity:1}100%{stroke-dashoffset:2;opacity:0}}
@keyframes link-burst{0%,10%{stroke-dashoffset:2;opacity:0}15%{opacity:1}75%{stroke-dashoffset:-100;opacity:1}80%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes link-lost{0%{stroke-dashoffset:2;opacity:0}10%{opacity:1}45%{stroke-dashoffset:-48;opacity:1}52%,100%{stroke-dashoffset:-48;opacity:0}}
@keyframes link-drop-mark{0%,90%,100%{opacity:0}92%,97%{opacity:.8}}
@keyframes link-led{0%,100%{opacity:.45}50%{opacity:1}}
@media(max-width:600px){.net-link-scene{margin-inline:-12px;padding-block:15px}.net-link-scene .link-labels{font-size:18px}}
@media(prefers-reduced-motion:reduce){html:not(.rx-motion-enabled) #network-preview .net-link-scene *{animation:none!important}html:not(.rx-motion-enabled) #network-preview .link-travel path{stroke-dasharray:2 18;stroke-dashoffset:0;opacity:.8}}

/* Refined signal choreography, synchronized on a six-second loop. */
.net-link-polished{border:0;padding:12px 0 0;background:radial-gradient(ellipse at center,#0b245d45,transparent 72%)}
.link-polished-packets path{animation-duration:6s;animation-iteration-count:infinite;animation-timing-function:linear;animation-play-state:paused;stroke-dashoffset:4;opacity:0}
.link-tail{stroke:#42cfff;stroke-width:7;stroke-dasharray:6 110;filter:blur(2px)}
.link-core{stroke:#e2fbff;stroke-width:3.5;stroke-dasharray:1 110;filter:drop-shadow(0 0 3px #7fe5ff)}
.link-polish-ping{animation-name:net-polish-ping}.link-polish-jitter{animation-name:net-polish-jitter}.link-jitter-second{animation-delay:.24s}.link-jitter-third{animation-delay:1.15s}.link-polish-delivered{animation-name:net-polish-delivered}.link-polish-lost{animation-name:net-polish-lost}
.link-arrival{animation:net-polish-arrival 6s linear infinite paused;opacity:0;stroke-width:1.5}
.link-loss-burst{animation:net-polish-break 6s linear infinite paused;opacity:0}.link-loss-sparks{transform-origin:330px 206px;animation:net-polish-sparks 6s linear infinite paused}
.link-server-status{animation:net-polish-server 6s linear infinite paused;opacity:.5}
#network-preview[data-router-playing=true] :is(.link-polished-packets path,.link-arrival,.link-loss-burst,.link-loss-sparks,.link-server-status){animation-play-state:running}
@keyframes net-polish-ping{0%,5%{stroke-dashoffset:4;opacity:0}7%{opacity:1}32%,40%{stroke-dashoffset:-98;opacity:1}67%{stroke-dashoffset:0;opacity:1}70%,100%{stroke-dashoffset:4;opacity:0}}
@keyframes net-polish-jitter{0%,12%{stroke-dashoffset:4;opacity:0}14%{opacity:1}57%{stroke-dashoffset:-100;opacity:1}59%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes net-polish-delivered{0%,5%{stroke-dashoffset:4;opacity:0}7%{opacity:1}44%{stroke-dashoffset:-100;opacity:1}46%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes net-polish-lost{0%,45%{stroke-dashoffset:4;opacity:0}47%{opacity:1}66%{stroke-dashoffset:-49;opacity:1}69%,100%{stroke-dashoffset:-49;opacity:0}}
@keyframes net-polish-arrival{0%,31%,43%,100%{opacity:0}33%,38%{opacity:1}}
@keyframes net-polish-break{0%,66%,85%,100%{opacity:0}69%,76%{opacity:1}}
@keyframes net-polish-sparks{0%,66%{transform:scale(.5);opacity:0}69%{opacity:1}83%,100%{transform:scale(1.7);opacity:0}}
@keyframes net-polish-server{0%,30%,70%,100%{opacity:.45}33%,40%,57%,64%{opacity:1}}
@media(prefers-reduced-motion:reduce){html:not(.rx-motion-enabled) #network-preview .link-polished-packets path{animation:none!important;opacity:.8;stroke-dasharray:1 20;stroke-dashoffset:0}}

.net-card-circuit{mask:linear-gradient(#000 0%,#000 45%,transparent 62%)}
