.world-lab { --world-blue:#286bbd; --world-ink:#1b385c; color:var(--world-ink); border:1px solid #d5e3ef; border-radius:24px; background:#fcfeff; overflow:hidden; box-shadow:0 26px 70px #456d9c0c; }
.world-lab [hidden] { display:none !important; }
.world-lab__header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:26px 32px 0; }
.world-eyebrow { display:flex; align-items:center; gap:8px; margin:0 0 8px; font:10px/1.5 monospace; letter-spacing:1.9px; color:#6082a5; }
.world-eyebrow i { width:5px; height:5px; background:#2b9da9; border-radius:50%; box-shadow:0 0 0 4px #2b9da913; }
.world-lab h2 { margin:0; color:var(--world-ink); font-size:clamp(20px,2.2vw,28px); font-weight:580; letter-spacing:-.5px; }
.world-lab__tag { font-size:11px; color:#64809e; border:1px solid #dbe6ef; border-radius:30px; padding:6px 12px; white-space:nowrap; }
.world-viewport { position:relative; isolation:isolate; background:radial-gradient(ellipse at 50% 60%,#e6f4ff95,transparent 65%); }
.world-viewport::before { content:''; position:absolute; inset:25px 0 0; z-index:-1; background-image:radial-gradient(#638eb22b .6px,transparent .8px); background-size:12px 12px; mask-image:radial-gradient(ellipse,#000,transparent 69%); }
.world-space { display:block; width:100%; height:auto; max-height:530px; cursor:crosshair; overflow:visible; }
.world-telemetry { position:absolute; top:30px; left:32px; display:grid; gap:8px; font:10px/1.4 monospace; color:#6b87a4; letter-spacing:1.6px; pointer-events:none; }
.world-telemetry__sub { font-size:12px; letter-spacing:2px; color:#8c9fb5; }
.world-legend { position:absolute; top:30px; right:32px; display:flex; gap:18px; color:#63809d; font-size:11px; }
.world-legend > span { display:flex; align-items:center; gap:6px; }
.world-key { width:6px; height:6px; border-radius:50%; background:#3978ca; }.world-key--goal { background:#15a496; }.world-key--memory { width:13px; height:0; border-top:1px dashed #8e88c4; background:none; border-radius:0; }
.world-scan path { stroke:#43bcd4; stroke-width:1.5; opacity:0; animation:world-sweep 5s ease-in-out infinite; }.world-scan path:nth-child(2) { animation-delay:.7s; }.world-scan path:nth-child(3) { animation-delay:1.4s; }.world-scan path:nth-child(4) { animation-delay:2.1s; }
@keyframes world-sweep { 0%,65%,100% { opacity:0; } 25% { opacity:.55; } }
.world-route { fill:none; stroke:#3989d6; stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round; stroke-dasharray:7 6; animation:world-flow 2s linear infinite; }
@keyframes world-flow { to { stroke-dashoffset:-26; } }
.world-memory-path { fill:none; stroke:#9b8bc3; stroke-width:1.4; stroke-dasharray:3 5; opacity:.65; }
.world-agent-sensor { transform-origin:0 0; animation:world-sense 3.6s ease-out infinite; }
@keyframes world-sense { 0% { transform:scale(.78); opacity:.15; } 50% { opacity:.65; } 100% { transform:scale(1.25); opacity:0; } }
.world-goal-beam { animation:world-beacon 3s ease-in-out infinite; }@keyframes world-beacon { 50% { opacity:.35; } }
.world-space__hint { position:absolute; bottom:3px; left:0; right:0; text-align:center; margin:0; color:#738ba5; font-size:12px; pointer-events:none; }.world-space__hint span { margin-right:6px; font-size:17px; color:#438cbf; }
.world-controls { display:flex; align-items:center; justify-content:center; gap:10px; padding:20px 30px 26px; }
.world-control { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:10px 17px; border:1px solid #dbe6f0; border-radius:8px; color:#44617e; background:#fff; cursor:pointer; font:inherit; font-size:13px; line-height:1.35; transition:background .18s,border-color .18s,box-shadow .18s,transform .18s; }
.world-control svg { flex:0 0 16px; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.world-control--primary { background:#2867af; border-color:#2867af; color:#fff; box-shadow:0 4px 12px #2266ae20; min-width:132px; }.world-control--primary svg { fill:currentColor; stroke:none; }.world-control--reset { border-color:transparent; background:transparent; padding-inline:10px; }
.world-control:hover { transform:translateY(-2px); background:#edf5fc; border-color:#a8c7e4; box-shadow:0 4px 12px #2867af12; }.world-control--primary:hover { background:#205894; border-color:#205894; }.world-control[aria-pressed="true"] { color:#895e26; background:#fff7e9; border-color:#e6cb9c; }.world-control:focus-visible { outline:2px solid #367dc4; outline-offset:3px; }.world-control:active { transform:translateY(0); }
.world-feedback { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:23px 32px; border-top:1px solid #e4edf4; background:#f3f8fc9c; min-height:100px; }.world-feedback__copy { min-width:0; }.world-feedback__copy p { margin:0; display:grid; gap:6px; }.world-feedback__copy strong { color:#2d4d70; font-size:15px; font-weight:570; }.world-feedback__copy span { color:#6a819a; font-size:12px; line-height:1.8; }
.world-metrics { display:flex; flex:0 0 auto; gap:30px; margin:0; text-align:right; }.world-metrics dt { color:#738aa1; font-size:11px; }.world-metrics dd { margin:4px 0 0; font:23px/1.2 monospace; color:#3a6c9d; }
.world-cycle { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin:0; padding:0 32px; list-style:none; border-top:1px solid #e4edf4; }.world-cycle li { position:relative; display:flex; gap:10px; align-items:center; padding:18px 0; font-size:12px; color:#8a9cb0; transition:color .2s; }.world-cycle li > span { font:10px/1 monospace; opacity:.65; }.world-cycle li > i { font-style:normal; margin-left:auto; margin-right:20px; color:#a6bbcf; }.world-cycle li:last-child > i { margin-right:0; }.world-cycle li::before { content:''; position:absolute; inset:-1px 20px auto 0; height:2px; background:transparent; transition:background .2s; }.world-cycle .is-active { color:#246cb1; }.world-cycle .is-active::before { background:#65a9da; }
.world-noscript { padding:0 24px 20px; font-size:13px; color:#63809d; text-align:center; }
@media (max-width:760px) {
.world-lab { border-radius:18px; }.world-lab__header { padding:20px 18px 0; gap:10px; }.world-eyebrow { font-size:8px; letter-spacing:1px; }.world-lab__tag { font-size:10px; padding:5px 8px; }
.world-telemetry { top:21px; left:18px; font-size:8px; letter-spacing:1px; }.world-telemetry__sub { display:none; }.world-legend { position:static; padding:18px 18px 0; justify-content:flex-end; gap:12px; font-size:10px; }
.world-space { margin-top:8px; }.world-space__hint { position:static; padding:3px 12px 0; font-size:11px; }
.world-controls { padding:18px 16px 20px; gap:8px; flex-wrap:wrap; }.world-control { font-size:12px; min-height:44px; padding:10px 12px; }.world-control--primary { min-width:0; }
.world-feedback { display:block; padding:20px; }.world-feedback__copy { min-height:74px; }.world-feedback__copy strong { font-size:14px; }.world-metrics { margin-top:14px; gap:30px; text-align:left; }.world-metrics > div { display:flex; align-items:center; gap:12px; }.world-metrics dd { font-size:19px; margin:0; }
.world-cycle { padding:0 16px; }.world-cycle li { flex-direction:column; align-items:flex-start; font-size:11px; line-height:1.4; gap:7px; padding:14px 8px; }.world-cycle li > i { display:none; }.world-cycle li::before { right:8px; left:8px; }

}
@media (max-width:420px) { .world-controls { display:grid; grid-template-columns:1fr 1fr; }.world-control--reset { border-color:#e0e9f1; }.world-lab__tag { max-width:82px; white-space:normal; text-align:center; }.world-telemetry { display:none; }.world-legend { justify-content:center; } }
@media (prefers-reduced-motion:reduce) { .world-lab *, .world-lab *::before { animation:none !important; transition:none !important; }.world-scan path { opacity:.12; } }
.world-lab:not(.is-interactive) .world-feedback { display:none; }
.world-space:focus-visible { outline:2px solid #74acd7; outline-offset:-4px; }
.world-space:focus:not(:focus-visible) { outline:none; }
.world-space { -webkit-tap-highlight-color:transparent; }
.world-avatar-orbits { pointer-events:none; }
.world-avatar-orbit__track { fill:none; stroke:#83a9ca; stroke-width:.7; stroke-linecap:round; }
.world-avatar-orbits--rear { opacity:.32; }
.world-avatar-orbits--front { opacity:.7; }
.world-avatar-orbit:nth-child(2) .world-avatar-orbit__track { stroke:#9baed0; }
.world-avatar-orbit:nth-child(3) .world-avatar-orbit__track { stroke:#a7bfd8; }
.world-avatar-orbit__trail { fill:none; stroke:#6caccf; stroke-width:1; stroke-linecap:round; }
.world-avatar-orbit__point { fill:#609dc7; stroke:#f5fcff; stroke-width:.4; }
.world-avatar-orbit__glow { fill:#7fbbe1; opacity:.2; }
