.dashboard-center {
    min-height: calc(100vh - 170px);
    display: grid;
    place-items: center;
    padding: 24px;
}

.orb-network {
    position: relative;
    width: min(920px, 100%);
    height: 620px;
    display: grid;
    place-items: center;
}

.center-orb {
    width: clamp(150px, 12vw, 170px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 5px solid rgba(193, 221, 255, 0.5);
    background: radial-gradient(circle at 36% 30%, rgba(197, 226, 255, 0.96), rgba(13, 35, 64, 1));
    box-shadow:
        inset 0 0 0 1px rgba(232, 245, 255, 0.28),
        0 18px 50px rgba(0, 0, 0, 0.42);
    display: grid;
    place-content: center;
    text-align: center;
    color: #f4faff;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.center-orb > .typing-line {
    display: block;
    line-height: 1.08;
    font-weight: 800;
    font-size: clamp(19px, 1.7vw, 26px);
}

.typing-line {
    display: block;
    white-space: nowrap;
}

.typing-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(2px);
    animation: reveal-char 0.2s ease forwards;
    animation-delay: calc(var(--i) * 0.15s);
}

.satellite-orb {
    --orb-transform-base: translate3d(0, 0, 0);
    --orb-scale: 1.15625;
    --orb-scale-hover: 1.24;
    position: absolute;
    width: 128px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid rgba(193, 221, 255, 0.44);
    background: radial-gradient(circle at 36% 30%, rgba(197, 226, 255, 0.86), rgba(13, 35, 64, 0.97));
    box-shadow:
        inset 0 0 0 1px rgba(232, 245, 255, 0.18),
        0 10px 28px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18em;
    text-align: center;
    color: #f4faff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 12px;
    z-index: 2;
    overflow: hidden;
    transform: var(--orb-transform-base) scale(var(--orb-scale));
    transform-origin: center;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
    cursor: pointer;
}

.satellite-orb:hover,
.satellite-orb:focus-visible {
    transform: var(--orb-transform-base) scale(var(--orb-scale-hover));
    border-color: rgba(234, 246, 255, 0.88);
    background: radial-gradient(circle at 35% 28%, rgba(218, 237, 255, 0.98), rgba(30, 72, 118, 0.96));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        0 0 0 1px rgba(140, 208, 255, 0.52),
        0 14px 34px rgba(0, 0, 0, 0.38);
    filter: brightness(1.08) saturate(1.12);
}

.satellite-orb .typing-line {
    line-height: 1.2;
}

.satellite-orb .orb-count {
    --count-chip-bg: rgba(8, 20, 42, 0.56);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0;
    padding: 3px 8px;
    min-height: 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 34, 66, 0.74), var(--count-chip-bg));
    border: 1px solid rgba(163, 207, 255, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    line-height: 1;
}

.satellite-orb .orb-count-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(172, 214, 255, 0.92);
}

.satellite-orb .orb-count-value {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(239, 247, 255, 0.98);
    font-family: "Avenir Next", "Avenir", "Helvetica Neue", sans-serif;
}

.satellite-orb:hover .orb-count,
.satellite-orb:focus-visible .orb-count {
    border-color: rgba(224, 244, 255, 0.8);
    background: linear-gradient(180deg, rgba(36, 82, 138, 0.8), rgba(15, 42, 81, 0.76));
}

.orb-eternal-road .typing-line {
    line-height: 0.55;
}

.orb-eternal-road {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.62em;
}

.satellite-orb .typing-char {
    animation-delay: calc(var(--typing-delay, 1.6s) + var(--i) * 0.1s);
}

.satellite-orb.contact-orb {
    width: 110px;
    font-size: 17px;
    --orb-scale: 1.181818;
    --orb-scale-hover: 1.27;
}

.orb-unit {
    top: 70px;
    left: 180px;
}

.orb-character {
    top: 70px;
    right: 180px;
}

.orb-character-tag {
    top: 245px;
    right: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
}

.orb-character-tag .typing-line {
    line-height: 0.55;
}

.orb-series {
    top: 26px;
    left: 50%;
    --orb-transform-base: translateX(-50%);
    --typing-delay: 0.8s;
}

.orb-supporter {
    bottom: 84px;
    left: 170px;
}

.orb-unit-tag {
    top: 239px;
    left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
}

.orb-unit-tag .orb-count,
.orb-character-tag .orb-count {
    margin-top: 0;
}

.orb-unit .orb-count,
.orb-character .orb-count,
.orb-supporter .orb-count,
.orb-series .orb-count {
    margin-top: 0;
}

.orb-unit-tag .typing-line {
    line-height: 0.55;
}

.orb-eternal-road {
    bottom: 84px;
    right: 170px;
}

.orb-contact {
    bottom: 18px;
    left: 50%;
    --orb-transform-base: translateX(-50%);
}

.connector {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    transform-origin: 0 50%;
    background: linear-gradient(90deg, rgba(193, 221, 255, 0.62), rgba(193, 221, 255, 0.2));
    z-index: 1;
    border-radius: 999px;
    opacity: 0;
}

.line-unit {
    width: 279px;
    transform: rotate(-140.8deg) scaleX(0);
}

.line-character {
    width: 279px;
    transform: rotate(-39.2deg) scaleX(0);
}

.line-center-unit-tag {
    width: 296.1px;
    transform: rotate(-178.6deg) scaleX(0);
}

.line-center-supporter {
    width: 278px;
    transform: rotate(144.4deg) scaleX(0);
}

.line-center-character-tag {
    width: 306px;
    transform: rotate(-0.2deg) scaleX(0);
}

.line-center-series {
    width: 220px;
    transform: rotate(-90deg) scaleX(0);
}

.line-character-tag {
    width: 196.8px;
    left: calc(100% - 244px);
    top: 134px;
    transform: rotate(62.8deg) scaleX(0);
}

.line-series-unit {
    width: 221px;
    left: 50%;
    top: 90px;
    transform: rotate(168.4deg) scaleX(0);
}

.line-series-character {
    width: 221px;
    left: 50%;
    top: 90px;
    transform: rotate(11.6deg) scaleX(0);
}

.line-series-supporter {
    width: 444px;
    left: 50%;
    top: 90px;
    transform: rotate(120.6deg) scaleX(0);
}

.line-unit-tag-unit {
    width: 186.9px;
    left: 164px;
    top: 303px;
    transform: rotate(-64.7deg) scaleX(0);
}

.line-unit-tag-supporter {
    width: 183px;
    left: 164px;
    top: 303px;
    transform: rotate(67.5deg) scaleX(0);
}

.line-eternal-road {
    width: 278px;
    transform: rotate(35.6deg) scaleX(0);
}

.line-character-skill {
    width: 338px;
    left: calc(100% - 244px);
    top: 134px;
    transform: rotate(88.6deg) scaleX(0);
}

.line-contact {
    width: 237px;
    transform: rotate(90deg) scaleX(0);
}

.orb-network.is-lines-visible .connector {
    opacity: 1;
    transition: transform 0.9s ease, opacity 0.15s linear;
}

.orb-network.is-lines-visible .line-unit {
    transform: rotate(-140.8deg) scaleX(1);
}

.orb-network.is-lines-visible .line-character {
    transform: rotate(-39.2deg) scaleX(1);
}

.orb-network.is-lines-visible .line-center-unit-tag {
    transform: rotate(-178.6deg) scaleX(1);
}

.orb-network.is-lines-visible .line-center-supporter {
    transform: rotate(144.4deg) scaleX(1);
}

.orb-network.is-lines-visible .line-center-character-tag {
    transform: rotate(-0.2deg) scaleX(1);
}

.orb-network.is-lines-visible .line-center-series {
    transform: rotate(-90deg) scaleX(1);
}

.orb-network.is-lines-visible .line-character-tag {
    transform: rotate(62.8deg) scaleX(1);
}

.orb-network.is-lines-visible .line-series-unit {
    transform: rotate(168.4deg) scaleX(1);
}

.orb-network.is-lines-visible .line-series-character {
    transform: rotate(11.6deg) scaleX(1);
}

.orb-network.is-lines-visible .line-series-supporter {
    transform: rotate(120.6deg) scaleX(1);
}

.orb-network.is-lines-visible .line-unit-tag-unit {
    transform: rotate(-64.7deg) scaleX(1);
}

.orb-network.is-lines-visible .line-unit-tag-supporter {
    transform: rotate(67.5deg) scaleX(1);
}

.orb-network.is-lines-visible .line-eternal-road {
    transform: rotate(35.6deg) scaleX(1);
}

.orb-network.is-lines-visible .line-character-skill {
    transform: rotate(88.6deg) scaleX(1);
}

.orb-network.is-lines-visible .line-contact {
    transform: rotate(90deg) scaleX(1);
}

@keyframes reveal-char {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .typing-char {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .satellite-orb {
        transition: none;
    }

    .satellite-orb:hover,
    .satellite-orb:focus-visible {
        transform: var(--orb-transform-base) scale(var(--orb-scale));
    }
}

@media (max-width: 980px) {
    .orb-network {
        width: 100%;
        height: 560px;
    }

    .orb-unit {
        left: 70px;
    }

    .orb-character {
        right: 70px;
    }

    .orb-character-tag {
        top: 235px;
        right: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5em;
    }

    .line-character-tag {
        width: 172.4px;
        left: calc(100% - 134px);
        top: 134px;
        transform: rotate(73.1deg) scaleX(0);
    }

    .orb-series {
        top: 26px;
    }

    .orb-supporter {
        left: 60px;
    }

    .orb-unit-tag {
        top: 209px;
        left: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5em;
    }

    .orb-eternal-road {
        right: 60px;
    }

    .line-character-skill {
        width: 278px;
        left: calc(100% - 134px);
        top: 134px;
        transform: rotate(87.9deg) scaleX(0);
    }
}
