
.cmd{position:relative;background:transparent;color:#fff;max-width:540px;margin-left:auto}
.cmd,.cmd .cmd-log,.cmd .cmd-ev{min-width:0}
@media(max-width:999px){.cmd{margin:0;max-width:none}}
.cmd .cmd-top{display:flex;justify-content:space-between;align-items:center}
.cmd .cmd-title{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#fff}
.cmd .cmd-right{display:inline-flex;align-items:center;gap:8px}
.cmd .cmd-replay{width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.06);color:#DCE6F7;display:grid;place-items:center;cursor:pointer}
.cmd .cmd-replay:hover{color:#fff;border-color:#fff}
.cmd .cmd-replay .ic{width:14px;height:14px}
.cmd .live-dot{width:8px;height:8px;border-radius:50%;background:#4FD69C;animation:livepulse 1.8s infinite}
@keyframes livepulse{0%{box-shadow:0 0 0 0 rgba(79,214,156,.55)}70%{box-shadow:0 0 0 8px rgba(79,214,156,0)}100%{box-shadow:0 0 0 0 rgba(79,214,156,0)}}
.cmd .cmd-stage{position:relative;aspect-ratio:480/430}
.cmd .cmd-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cmd .cmd-svg .ic{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cmd .ring-track{fill:none;stroke:rgba(255,255,255,.1);stroke-width:12}
.cmd .ring-run{fill:none;stroke:url(#cmdG);stroke-width:3;stroke-dasharray:5 9;animation:ringrun 1.1s linear infinite}
@keyframes ringrun{to{stroke-dashoffset:-28}}
.cmd .spoke{stroke:rgba(255,255,255,.2);stroke-width:1.5;stroke-dasharray:2 5}
.cmd .spoke.zap{stroke:#7FB2FF;stroke-width:2.2;stroke-dasharray:none;animation:zap .7s ease-out forwards}
@keyframes zap{from{opacity:1}to{opacity:.2}}
.cmd .branch{fill:none;stroke:rgba(79,214,156,.65);stroke-width:2;stroke-dasharray:4 5}
.cmd .branch.ref{stroke:rgba(255,130,130,.7)}
.cmd .st .st-c{fill:#fff;stroke:rgba(127,178,255,.6);stroke-width:2;transition:fill .3s,stroke .3s}
.cmd .st .st-i{color:var(--blue);transition:color .3s}
.cmd .st.hit .st-c{fill:var(--blue);stroke:#7FB2FF}
.cmd .st.hit .st-i{color:#fff}
.cmd .st .rip{fill:none;stroke:#7FB2FF;stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.cmd .st.hit .rip{animation:rip .7s ease-out}
@keyframes rip{from{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(1.8)}}
.cmd .st-l{font:700 12.5px var(--text);fill:#fff;text-anchor:middle;paint-order:stroke;stroke:rgba(6,26,64,.55);stroke-width:3px}
.cmd .st-t{font:600 10px var(--text);fill:#B9CBEA;text-anchor:middle;paint-order:stroke;stroke:rgba(6,26,64,.55);stroke-width:3px}
.cmd .cnt circle{fill:var(--red);stroke:#0A2559;stroke-width:2}
.cmd .cnt text{font:700 9.5px var(--text);fill:#fff;text-anchor:middle;dominant-baseline:central}
.cmd .br rect{fill:rgba(17,138,90,.22);stroke:rgba(79,214,156,.7);stroke-width:1.5;transition:fill .3s,stroke .3s}
.cmd .br.ref rect{fill:rgba(194,34,34,.25);stroke:rgba(255,130,130,.75)}
.cmd .br .br-i{color:#4FD69C}.br.ref .br-i{color:#FF9B9B}
.cmd .br text{font:700 11px var(--text);fill:#fff;dominant-baseline:central}
.cmd .br.hit rect{fill:var(--green);stroke:#4FD69C}.br.ref.hit rect{fill:var(--red);stroke:#FF9B9B}
.cmd .br.hit .br-i{color:#fff}
.cmd .hub-c{fill:url(#hubG);stroke:rgba(127,178,255,.55);stroke-width:2}
.cmd .hub-halo{fill:none;stroke:rgba(127,178,255,.25);stroke-width:8;transform-box:fill-box;transform-origin:center}
.cmd.on .hub-halo{animation:halo 2.6s ease-in-out infinite}
@keyframes halo{50%{stroke-width:16;stroke:rgba(127,178,255,.1)}}
.cmd .hub-t1{font:800 11.5px var(--display);fill:#fff;text-anchor:middle;letter-spacing:.06em}
.cmd .hub-t2{font:600 9.5px var(--text);fill:#BFD3FF;text-anchor:middle}
.cmd .tok{stroke:#fff;stroke-width:2}
.cmd .life{opacity:0;transition:opacity .8s ease}
.cmd.on .life{opacity:1}
.cmd .cmd-cloud{position:absolute;inset:0;pointer-events:none}
.cmd .tchip{position:absolute;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:5px;background:#fff;border-radius:999px;padding:4px 9px;font-size:11.5px;font-weight:700;color:var(--ink);white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.25);transition:left .9s cubic-bezier(.6,0,.3,1),top .9s cubic-bezier(.6,0,.3,1),opacity .5s ease .5s,transform .9s cubic-bezier(.6,0,.3,1)}
.cmd .tchip .ic{width:13px;height:13px;color:var(--blue)}
.cmd .tchip.in{left:52.08%!important;top:48.84%!important;opacity:0;transform:translate(-50%,-50%) scale(.4)}
.cmd .cmd-log{height:44px;overflow:hidden;margin-top:2px}
.cmd .cmd-ev{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:12px;font-size:13.5px;background:rgba(255,255,255,.08);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff}
.cmd .cmd-ev.in{animation:evin .45s var(--ease)}
@keyframes evin{from{opacity:0;transform:translateY(10px)}}
.cmd .cmd-ev i{width:26px;height:26px;border-radius:8px;background:rgba(127,178,255,.2);color:#BFD3FF;display:grid;place-items:center;flex:none}
.cmd .cmd-ev i .ic{width:15px;height:15px}
.cmd .cmd-ev span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmd .cmd-ev em{font-style:normal;font-size:11px;font-weight:700;color:#0A2559;background:#4FD69C;border-radius:999px;padding:2px 8px;white-space:nowrap}
@media(max-width:420px){.tchip{font-size:10px;padding:3px 7px}.tchip .ic{display:none}}


.cmd{display:block;width:100%;min-width:0}.cmd .cmd-svg{overflow:hidden}.cmd .cmd-log{height:auto;min-height:48px}.cmd .cmd-ev span{white-space:normal;overflow-wrap:anywhere}.cmd .cmd-ev{min-height:48px}.cmd[data-paused] *{animation-play-state:paused!important;transition:none!important}.cmd.cmd-reduced *{animation:none!important;transition:none!important}.cmd .tchip{max-width:100%}

.cmd .tchip{transition:none}
