.jz-stage {
    --jz-t: 10s;
    --z: 1;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0b0b0c;
    container-type: size;
}

.jz-stage__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.6) saturate(.7);
}

.jz-stage__area {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.jz-fill { fill: rgba(61, 107, 255, .16); }

.jz-line {
    fill: none;
    stroke: #5aa2ff;
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    vector-effect: non-scaling-stroke;
}

.jz-corners circle { fill: #fff; stroke: #2a5bd7; stroke-width: 2; vector-effect: non-scaling-stroke; }

.jz-tag {
    position: absolute;
    bottom: 5%;
    left: 4%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(90, 162, 255, .35);
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(9, 12, 16, .85);
    color: #e6ecf5;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    zoom: var(--z);
}

.jz-tag i { width: 10px; height: 10px; border: 1.5px solid #5aa2ff; border-radius: 3px; background: rgba(61, 107, 255, .3); }
.jz-tag small { color: #8b93a1; font-size: 12px; font-weight: 500; }

.jz-unit {
    position: absolute;
    top: 67.9%;
    left: 23.2%;
    display: flex;
    align-items: center;
    gap: 6px;
    translate: -7px -50%;
    transform: translateX(29.5cqw);
}

.jz-unit i {
    flex: none;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #8b93a1;
    box-shadow: 0 0 0 4px rgba(139, 147, 161, .28);
}

.jz-unit b {
    border-radius: 6px;
    padding: 2px 7px;
    background: rgba(9, 12, 16, .9);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    zoom: var(--z);
}

.jz-lea {
    position: absolute;
    top: 5%;
    left: 4%;
    display: flex;
    gap: 12px;
    overflow: hidden;
    border-radius: 4px;
    padding-right: 16px;
    background: rgba(9, 12, 16, .95);
    color: #edf1f6;
    font-family: Satoshi, "Inter", system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    text-align: left;
    zoom: var(--z);
}

.jz-lea__bar { flex: none; width: 3px; background: #8b93a1; }
.jz-lea__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 13px 0; }
.jz-lea__top { display: flex; align-items: center; gap: 7px; }
.jz-lea__top svg { width: 16px; height: 16px; color: #8b93a1; }
.jz-lea__top b { color: #c3c8d0; font-size: 14px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; }
.jz-lea__rows { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 3px 6px; }
.jz-lea__rows i { color: rgba(237, 241, 246, .38); font-size: 12px; font-style: normal; font-weight: 500; }
.jz-lea__rows span { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.jz-lea__rows .is-dim { color: rgba(237, 241, 246, .78); font-weight: 500; }
.jz-lea__hint { margin-top: 3px; color: rgba(237, 241, 246, .34); font-size: 11px; font-weight: 500; white-space: nowrap; }

@container (max-width: 640px) {
    .jz-stage > * { --z: .84; }
}

@container (max-width: 460px) {
    .jz-stage > * { --z: .7; }
}

@container (max-width: 340px) {
    .jz-stage > * { --z: .6; }
}

@media (prefers-reduced-motion: no-preference) {
    .js :is(.fx-view, .fp-screen, .st).is-on .jz-line { animation: jz-line var(--jz-t) infinite both; }
    .js :is(.fx-view, .fp-screen, .st).is-on .jz-fill { animation: jz-fill var(--jz-t) infinite both; }
    .js :is(.fx-view, .fp-screen, .st).is-on .jz-corners circle { animation: jz-corner var(--jz-t) calc(var(--k) * 110ms) infinite both; }
    .js :is(.fx-view, .fp-screen, .st).is-on .jz-unit { animation: jz-drive var(--jz-t) infinite both; }
    .js :is(.fx-view, .fp-screen, .st).is-on .jz-unit i { animation: jz-dot var(--jz-t) infinite both; }
    .js :is(.fx-view, .fp-screen, .st).is-on .jz-lea { animation: jz-lea var(--jz-t) infinite both; }
}

@keyframes jz-line {
    0% { opacity: 1; stroke-dashoffset: 100; animation-timing-function: cubic-bezier(.45, .05, .25, 1); }
    14%, 92% { opacity: 1; stroke-dashoffset: 0; }
    97%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes jz-fill {
    0%, 12% { opacity: 0; }
    18%, 92% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

@keyframes jz-corner {
    0% { opacity: 0; }
    2%, 90% { opacity: 1; }
    95%, 100% { opacity: 0; }
}

@keyframes jz-drive {
    0%, 19% { opacity: 0; transform: none; }
    22% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    62%, 92% { opacity: 1; transform: translateX(29.5cqw); }
    97%, 100% { opacity: 0; transform: translateX(29.5cqw); }
}

@keyframes jz-dot {
    0%, 41% { background: #3d7bff; box-shadow: 0 0 0 4px rgba(61, 123, 255, .3); }
    43%, 100% { background: #8b93a1; box-shadow: 0 0 0 4px rgba(139, 147, 161, .28); }
}

@keyframes jz-lea {
    0%, 50% { opacity: 0; transform: translateX(-14px); animation-timing-function: ease-out; }
    53%, 90% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: none; }
}
