:root {
    --space: #030712;
    --space-soft: #07101f;
    --panel: rgba(8, 18, 34, 0.82);
    --panel-solid: #0a1425;
    --panel-hover: #0d1b31;

    --line: rgba(112, 211, 255, 0.16);
    --line-strong: rgba(112, 211, 255, 0.38);

    --cyan: #70dfff;
    --cyan-bright: #b6f2ff;
    --cyan-soft: rgba(112, 223, 255, 0.12);

    --violet: #9d8cff;
    --green: #72f1b8;
    --warning: #ffc978;
    --danger: #ff7892;

    --text: #e6f5ff;
    --text-soft: #89a4b8;
    --text-dim: #52697c;

    --radius-large: 22px;
    --radius-medium: 14px;
    --radius-small: 8px;

    --shadow:
        0 24px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px rgba(255, 255, 255, 0.025);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--space);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

    color: var(--text);
    background:
        radial-gradient(
            circle at 18% 14%,
            rgba(41, 112, 161, 0.2),
            transparent 30rem
        ),
        radial-gradient(
            circle at 86% 30%,
            rgba(96, 69, 170, 0.13),
            transparent 28rem
        ),
        linear-gradient(
            180deg,
            #050b17 0%,
            var(--space) 58%,
            #02050c 100%
        );

    font-family:
        "Cascadia Code",
        "SFMono-Regular",
        Consolas,
        "Noto Sans SC",
        "Microsoft YaHei",
        monospace;

    line-height: 1.6;
}

/* 星点 */
body::before {
    position: fixed;
    inset: 0;
    z-index: -2;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.7) 0 1px,
            transparent 1.4px
        ),
        radial-gradient(
            circle,
            rgba(112, 223, 255, 0.5) 0 1px,
            transparent 1.3px
        );

    background-position:
        0 0,
        37px 61px;

    background-size:
        97px 97px,
        151px 151px;

    content: "";
    opacity: 0.28;
}

/* 遥测网格 */
body::after {
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(112, 223, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(112, 223, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    content: "";
    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 82%
        );
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    color: var(--cyan-bright);
}

button,
input {
    font: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0 48px;
}

/* 顶部导航 */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-height: 70px;
    padding: 12px 18px;

    background: rgba(5, 14, 27, 0.76);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);

    backdrop-filter: blur(20px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--text);
}

.brand:hover {
    color: var(--text);
}

.brand-mark {
    position: relative;

    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;

    border: 1px solid var(--line-strong);
    border-radius: 50%;

    color: var(--cyan);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* 轨道环 */
.brand-mark::before {
    position: absolute;
    inset: 8px -5px;

    border: 1px solid rgba(112, 223, 255, 0.55);
    border-radius: 50%;

    content: "";
    transform: rotate(-28deg);
}

/* 轨道卫星点 */
.brand-mark::after {
    position: absolute;
    top: 8px;
    right: 1px;

    width: 5px;
    height: 5px;

    background: var(--cyan-bright);
    border-radius: 50%;
    box-shadow:
        0 0 8px var(--cyan),
        0 0 18px rgba(112, 223, 255, 0.7);

    content: "";
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-title {
    color: var(--text);
    font-size: 15px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.brand-subtitle {
    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 按钮 */

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 9px 16px;

    color: #021018;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: var(--radius-small);

    font-weight: 750;
    line-height: 1;
    letter-spacing: 0.02em;

    cursor: pointer;
    transition:
        150ms ease background,
        150ms ease border-color,
        150ms ease box-shadow,
        150ms ease transform;
}

.button:hover,
button:hover {
    color: #01090e;
    background: var(--cyan-bright);
    border-color: var(--cyan-bright);
    box-shadow:
        0 0 16px rgba(112, 223, 255, 0.25),
        0 0 42px rgba(112, 223, 255, 0.1);

    transform: translateY(-1px);
}

.button-secondary {
    color: var(--cyan);
    background: var(--cyan-soft);
    border-color: var(--line-strong);
}

.button-secondary:hover {
    color: var(--cyan-bright);
    background: rgba(112, 223, 255, 0.17);
}

.button-quiet {
    min-height: 38px;
    padding: 8px 12px;

    color: var(--text-soft);
    background: transparent;
    border-color: transparent;
}

.button-quiet:hover {
    color: var(--cyan-bright);
    background: var(--cyan-soft);
    border-color: var(--line);
    box-shadow: none;
}

/* 当前导航页面 */

.button.button-quiet.is-active {
    color: var(--cyan);
    background: rgba(46, 181, 224, 0.12);
    border-color: rgba(46, 181, 224, 0.45);
}

.button.button-quiet.is-active:hover {
    color: var(--cyan);
    background: rgba(46, 181, 224, 0.18);
    border-color: var(--cyan);
}

html[data-theme="light"]
.button.button-quiet.is-active {
    color: #06779d;
    background: rgba(21, 157, 201, 0.11);
    border-color: rgba(21, 157, 201, 0.38);
}

/* 首页主体 */

.mission-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(280px, 0.65fr);
    gap: 20px;

    margin-top: 22px;
}

.panel {
    position: relative;
    overflow: hidden;

    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);

    backdrop-filter: blur(18px);
}

.panel::before {
    position: absolute;
    top: 0;
    left: 22px;

    width: 78px;
    height: 1px;

    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);

    content: "";
}

.mission-hero {
    min-height: 520px;
    padding: clamp(34px, 6vw, 68px);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 巨型轨道图 */
.orbit-visual {
    position: absolute;
    right: -95px;
    bottom: -125px;

    width: 410px;
    height: 410px;

    border: 1px solid rgba(112, 223, 255, 0.18);
    border-radius: 50%;
}

.orbit-visual::before,
.orbit-visual::after {
    position: absolute;
    border: 1px solid rgba(112, 223, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.orbit-visual::before {
    inset: 58px;
}

.orbit-visual::after {
    inset: 126px;
    background:
        radial-gradient(
            circle,
            rgba(112, 223, 255, 0.18),
            rgba(77, 104, 161, 0.04) 48%,
            transparent 70%
        );

    box-shadow:
        0 0 70px rgba(112, 223, 255, 0.08);
}

.orbit-node {
    position: absolute;
    top: 68px;
    left: 54px;

    width: 10px;
    height: 10px;

    background: var(--cyan-bright);
    border-radius: 50%;

    box-shadow:
        0 0 10px var(--cyan),
        0 0 30px var(--cyan);

    animation: signal-pulse 2.8s ease-in-out infinite;
}

@keyframes signal-pulse {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.mission-code {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 20px;

    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.status-light {
    width: 7px;
    height: 7px;

    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
}

.mission-title {
    position: relative;
    z-index: 1;

    max-width: 660px;
    margin: 0;

    font-size: clamp(48px, 8vw, 88px);
    font-weight: 780;
    line-height: 0.98;
    letter-spacing: -0.065em;

    text-shadow:
        0 0 30px rgba(112, 223, 255, 0.08);
}

.mission-description {
    position: relative;
    z-index: 1;

    max-width: 680px;
    margin: 28px 0 0;

    color: var(--text-soft);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 17px;
    line-height: 1.9;
}

.mission-actions {
    position: relative;
    z-index: 1;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

/* 右侧遥测面板 */

.telemetry-panel {
    min-height: 520px;
    padding: 28px;

    display: flex;
    flex-direction: column;
}

.panel-label {
    margin: 0 0 24px;

    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.telemetry-list {
    display: grid;
    gap: 1px;

    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    overflow: hidden;
}

.telemetry-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;

    padding: 16px;

    background: rgba(4, 13, 26, 0.92);
}

.telemetry-name {
    color: var(--text-soft);
    font-size: 12px;
}

.telemetry-value {
    color: var(--cyan-bright);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.telemetry-value.online {
    color: var(--green);
}

.operator {
    margin-top: auto;
    padding-top: 30px;
}

.operator-label {
    margin: 0;

    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.operator-name {
    margin: 6px 0 0;

    color: var(--text);
    font-size: 21px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.operator-note {
    margin: 10px 0 0;

    color: var(--text-soft);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 13px;
}

.footer {
    margin-top: 20px;

    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: center;
}

@media (max-width: 820px) {
    .site-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 10px;
    }

    .topbar {
        border-radius: 12px;
    }

    .brand-subtitle {
        display: none;
    }

    .mission-layout {
        grid-template-columns: 1fr;
        margin-top: 12px;
    }

    .mission-hero {
        min-height: 470px;
        padding: 38px 24px;
    }

    .mission-title {
        font-size: clamp(48px, 17vw, 72px);
    }

    .mission-description {
        font-size: 15px;
    }

    .orbit-visual {
        right: -210px;
        bottom: -155px;
    }

    .telemetry-panel {
        min-height: auto;
    }

    .topbar-actions .button-quiet {
        padding-inline: 8px;
    }
}

/* =========================================================
   主题切换
   ========================================================= */

html {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;

    --space: #eaf3f7;
    --space-soft: #d8e9f0;

    --panel: rgba(247, 252, 253, 0.82);
    --panel-solid: #f8fcfd;
    --panel-hover: #edf7fa;

    --line: rgba(25, 91, 118, 0.16);
    --line-strong: rgba(16, 111, 148, 0.34);

    --cyan: #087fa6;
    --cyan-bright: #045f80;
    --cyan-soft: rgba(8, 127, 166, 0.1);

    --violet: #6558c4;
    --green: #167f61;
    --warning: #9a6500;
    --danger: #c34861;

    --text: #102b3a;
    --text-soft: #466675;
    --text-dim: #748c97;

    --shadow:
        0 24px 70px rgba(43, 85, 102, 0.13),
        inset 0 1px rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] body {
    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(74, 178, 218, 0.24),
            transparent 31rem
        ),
        radial-gradient(
            circle at 87% 24%,
            rgba(112, 97, 195, 0.13),
            transparent 29rem
        ),
        linear-gradient(
            180deg,
            #f0f9fc 0%,
            #e2f0f5 55%,
            #d7e8ef 100%
        );
}

/*
 * 浅色模式下不是星空，
 * 更像高空遥测图上的散点和目标标记。
 */
html[data-theme="light"] body::before {
    background-image:
        radial-gradient(
            circle,
            rgba(16, 81, 108, 0.42) 0 1px,
            transparent 1.4px
        ),
        radial-gradient(
            circle,
            rgba(8, 127, 166, 0.34) 0 1px,
            transparent 1.3px
        );

    opacity: 0.2;
}

html[data-theme="light"] body::after {
    background-image:
        linear-gradient(
            rgba(18, 98, 130, 0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(18, 98, 130, 0.055) 1px,
            transparent 1px
        );
}

html[data-theme="light"] .topbar {
    background: rgba(245, 251, 253, 0.78);
}

html[data-theme="light"] .panel {
    background: rgba(247, 252, 253, 0.8);
}

html[data-theme="light"] .telemetry-item {
    background: rgba(246, 251, 252, 0.94);
}

html[data-theme="light"] .button,
html[data-theme="light"] button {
    color: #f7fdff;
}

html[data-theme="light"] .button:hover,
html[data-theme="light"] button:hover {
    color: #ffffff;
}

html[data-theme="light"] .button-secondary {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .button-secondary:hover {
    color: var(--cyan-bright);
    background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .button-quiet {
    color: var(--text-soft);
    background: transparent;
}

html[data-theme="light"] .button-quiet:hover {
    color: var(--cyan-bright);
    background: var(--cyan-soft);
}

html[data-theme="light"] .orbit-visual,
html[data-theme="light"] .orbit-visual::before,
html[data-theme="light"] .orbit-visual::after {
    border-color: rgba(8, 127, 166, 0.2);
}

html[data-theme="light"] .orbit-visual::after {
    background:
        radial-gradient(
            circle,
            rgba(8, 127, 166, 0.14),
            rgba(78, 143, 170, 0.04) 48%,
            transparent 70%
        );

    box-shadow:
        0 0 70px rgba(8, 127, 166, 0.09);
}

html[data-theme="light"] .mission-title {
    text-shadow:
        0 0 30px rgba(8, 127, 166, 0.08);
}

/* 切换按钮 */

.theme-toggle {
    min-width: 112px;
}

.theme-toggle [data-theme-icon] {
    display: inline-grid;
    width: 18px;
    place-items: center;

    font-size: 16px;
    line-height: 1;
}

@media (max-width: 560px) {
    .theme-toggle {
        min-width: 42px;
        padding-inline: 10px;
    }

    .theme-toggle [data-theme-label] {
        display: none;
    }
}

/* =========================================================
   任务控制台
   ========================================================= */

.page-heading {
    margin: 34px 0 22px;
}

.page-code {
    margin: 0 0 8px;

    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.page-title {
    margin: 0;

    color: var(--text);
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.page-description {
    max-width: 680px;
    margin: 14px 0 0;

    color: var(--text-soft);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;
}

.console-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.console-panel {
    padding: 26px;
}

.console-panel-title {
    margin: 0;

    color: var(--text);
    font-size: 17px;
    letter-spacing: 0.03em;
}

.console-panel-note {
    margin: 7px 0 22px;

    color: var(--text-dim);
    font-size: 12px;
}

.target-list {
    display: grid;
    gap: 12px;
}

.target-card {
    position: relative;

    padding: 20px;

    background: rgba(4, 13, 26, 0.54);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease;
}

.target-card:hover {
    background: var(--panel-hover);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.target-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.target-name {
    min-width: 0;
}

.target-name h2 {
    margin: 0;

    color: var(--text);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 18px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.target-id {
    margin-top: 5px;

    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.status-pill {
    flex: 0 0 auto;

    padding: 5px 9px;

    color: var(--green);
    background: rgba(114, 241, 184, 0.08);
    border: 1px solid rgba(114, 241, 184, 0.22);
    border-radius: 999px;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.06em;
}

.status-pill.pending {
    color: var(--warning);
    background: rgba(255, 201, 120, 0.08);
    border-color: rgba(255, 201, 120, 0.24);
}

.status-pill.error {
    color: var(--danger);
    background: rgba(255, 120, 146, 0.08);
    border-color: rgba(255, 120, 146, 0.24);
}

.target-url {
    display: block;

    margin-top: 16px;
    padding: 10px 12px;

    color: var(--text-soft);
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);

    font-size: 11px;
    overflow-wrap: anywhere;
}

.target-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-top: 14px;

    color: var(--text-dim);
    font-size: 11px;
}

.target-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 18px;
}

.target-actions form {
    margin: 0;
}

.target-actions .button,
.target-actions button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
}

.form-stack {
    display: grid;
    gap: 14px;
}

.field-label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-soft);
    font-size: 12px;
}

.text-input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;

    color: var(--text);
    background: rgba(2, 9, 18, 0.48);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);

    outline: none;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.text-input::placeholder {
    color: var(--text-dim);
}

.text-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-soft);
}

.form-help {
    margin: 0;

    color: var(--text-dim);
    font-size: 11px;
}

.notice {
    margin: 0 0 18px;
    padding: 12px 14px;

    border: 1px solid var(--line);
    border-radius: var(--radius-small);

    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 13px;
}

.notice.success {
    color: var(--green);
    background: rgba(114, 241, 184, 0.07);
    border-color: rgba(114, 241, 184, 0.2);
}

.notice.error {
    color: var(--danger);
    background: rgba(255, 120, 146, 0.07);
    border-color: rgba(255, 120, 146, 0.2);
}

.empty-state {
    padding: 44px 20px;

    color: var(--text-dim);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-medium);

    text-align: center;
}

html[data-theme="light"] .target-card {
    background: rgba(248, 252, 253, 0.62);
}

html[data-theme="light"] .target-url,
html[data-theme="light"] .text-input {
    background: rgba(255, 255, 255, 0.58);
}

@media (max-width: 860px) {
    .console-layout {
        grid-template-columns: 1fr;
    }

    .add-target-panel {
        order: -1;
    }
}

@media (max-width: 560px) {
    .console-panel {
        padding: 20px;
    }

    .target-header {
        flex-direction: column;
    }

    .target-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .target-actions .button,
    .target-actions button {
        width: 100%;
    }
}

/* =========================================================
   任务归档
   ========================================================= */

.archive-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;

    margin: 34px 0 22px;
}

.archive-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    max-width: 100%;
    margin-top: 14px;

    color: var(--text-soft);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.archive-source::before {
    width: 6px;
    height: 6px;

    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);

    content: "";
    flex: 0 0 auto;
}

.archive-summary {
    min-width: 150px;
    padding: 16px 18px;

    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);

    text-align: right;
}

.archive-summary-label {
    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.archive-summary-value {
    margin-top: 3px;

    color: var(--cyan-bright);
    font-size: 28px;
    font-weight: 750;
    line-height: 1.1;
}

.archive-panel {
    padding: 30px;
}

.archive-timeline {
    position: relative;

    display: grid;
    gap: 18px;

    margin-top: 26px;
    padding-left: 34px;
}

.archive-timeline::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 10px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            var(--cyan),
            var(--line-strong) 28%,
            var(--line) 85%,
            transparent
        );

    box-shadow: 0 0 10px rgba(112, 223, 255, 0.16);

    content: "";
}

.archive-entry {
    position: relative;
}

.archive-node {
    position: absolute;
    top: 22px;
    left: -29px;

    width: 11px;
    height: 11px;

    background: var(--panel-solid);
    border: 2px solid var(--cyan);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px var(--cyan-soft),
        0 0 12px rgba(112, 223, 255, 0.36);
}

.archive-entry:first-child .archive-node {
    background: var(--cyan-bright);
}

.archive-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;

    padding: 20px;

    background: rgba(4, 13, 26, 0.52);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease;
}

.archive-card:hover {
    background: var(--panel-hover);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.archive-time {
    margin: 0;

    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-top: 9px;

    color: var(--text-dim);
    font-size: 11px;
}

.archive-badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    color: var(--cyan);
    background: var(--cyan-soft);
    border: 1px solid var(--line-strong);
    border-radius: 999px;

    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.archive-badge.latest {
    color: var(--green);
    background: rgba(114, 241, 184, 0.08);
    border-color: rgba(114, 241, 184, 0.22);
}

.archive-card .button {
    min-height: 38px;
    padding: 8px 13px;

    font-size: 11px;
    white-space: nowrap;
}

html[data-theme="light"] .archive-card {
    background: rgba(248, 252, 253, 0.64);
}

html[data-theme="light"] .archive-node {
    background: var(--panel-solid);
}

html[data-theme="light"] .archive-entry:first-child .archive-node {
    background: var(--cyan);
}

@media (max-width: 700px) {
    .archive-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .archive-summary {
        width: 100%;
        text-align: left;
    }

    .archive-card {
        grid-template-columns: 1fr;
    }

    .archive-card .button {
        width: 100%;
    }

    .archive-panel {
        padding: 22px 18px;
    }

    .archive-timeline {
        padding-left: 27px;
    }

    .archive-timeline::before {
        left: 7px;
    }

    .archive-node {
        left: -25px;
    }
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 18px;

    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;

    transition:
        color 150ms ease,
        transform 150ms ease;
}

.page-back:hover {
    color: var(--cyan);
    transform: translateX(-3px);
}

/* =========================================================
   数据集读取页
   ========================================================= */

.dataset-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;

    margin: 34px 0 24px;
}

.dataset-heading {
    min-width: 0;
}

.dataset-title {
    max-width: 900px;
    margin: 0;

    color: var(--text);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.dataset-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-top: 18px;

    color: var(--text-dim);
    font-size: 11px;
}

.dataset-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dataset-meta span::before {
    width: 5px;
    height: 5px;

    background: var(--cyan);
    border-radius: 50%;

    content: "";
}

.dataset-summary {
    min-width: 166px;
    padding: 17px 20px;

    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);

    text-align: right;
}

.dataset-summary-label {
    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.dataset-summary-value {
    margin-top: 4px;

    color: var(--cyan-bright);
    font-size: 30px;
    font-weight: 750;
    line-height: 1;
}

.dataset-summary-unit {
    margin-top: 5px;

    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.dataset-panel {
    padding: 30px;
}

.observation-list {
    display: grid;
    gap: 22px;
}

.observation-card {
    overflow: hidden;

    background: rgba(4, 13, 26, 0.52);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease;
}

.observation-card:hover {
    background: var(--panel-hover);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.observation-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: start;

    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.observation-code {
    margin: 0 0 8px;

    color: var(--cyan);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.observation-title {
    margin: 0;

    color: var(--text);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.observation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;

    margin-top: 13px;

    color: var(--text-dim);
    font-size: 11px;
}

.observation-meta span {
    overflow-wrap: anywhere;
}

.observation-header .button {
    min-height: 38px;
    padding: 8px 13px;

    font-size: 11px;
    white-space: nowrap;
}

.observation-content {
    padding: 26px 24px 30px;
}

.feed-content {
    color: var(--text-soft);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.feed-content > :first-child {
    margin-top: 0;
}

.feed-content > :last-child {
    margin-bottom: 0;
}

.feed-content p {
    margin: 0 0 1.15em;
}

.feed-content h1,
.feed-content h2,
.feed-content h3,
.feed-content h4,
.feed-content h5,
.feed-content h6 {
    margin: 1.6em 0 0.7em;

    color: var(--text);
    line-height: 1.45;
}

.feed-content a {
    color: var(--cyan);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.feed-content img {
    display: block;

    max-width: 100%;
    height: auto;
    margin: 1.4em auto;

    border: 1px solid var(--line);
    border-radius: var(--radius-small);
}

.feed-content blockquote {
    margin: 1.3em 0;
    padding: 12px 18px;

    color: var(--text-soft);
    background: var(--cyan-soft);
    border-left: 3px solid var(--cyan);
}

.feed-content pre {
    max-width: 100%;
    padding: 16px;

    color: var(--text-soft);
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);

    overflow-x: auto;
    white-space: pre-wrap;
}

.feed-content code {
    padding: 0.12em 0.35em;

    background: rgba(0, 0, 0, 0.18);
    border-radius: 4px;

    font-size: 0.92em;
}

.feed-content pre code {
    padding: 0;
    background: transparent;
}

.feed-content table {
    display: block;

    max-width: 100%;
    margin: 1.3em 0;

    overflow-x: auto;
    border-collapse: collapse;
}

.feed-content td,
.feed-content th {
    padding: 8px 11px;

    border: 1px solid var(--line);
    text-align: left;
}

.feed-content th {
    color: var(--text);
    background: var(--cyan-soft);
}

.content-unavailable {
    margin: 0;

    color: var(--text-dim);
    font-size: 12px;
}

.raw-data-panel {
    margin-top: 24px;

    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);
}

.raw-data-panel summary {
    padding: 18px 22px;

    color: var(--text-soft);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.raw-data-panel[open] summary {
    border-bottom: 1px solid var(--line);
}

.raw-data-panel pre {
    max-height: 560px;
    margin: 0;
    padding: 22px;

    color: var(--text-dim);
    background: rgba(0, 0, 0, 0.18);

    font-size: 11px;
    line-height: 1.7;
    overflow: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

html[data-theme="light"] .observation-card {
    background: rgba(248, 252, 253, 0.66);
}

html[data-theme="light"] .feed-content pre,
html[data-theme="light"] .feed-content code,
html[data-theme="light"] .raw-data-panel pre {
    background: rgba(222, 237, 242, 0.48);
}

@media (max-width: 760px) {
    .dataset-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .dataset-summary {
        width: 100%;
        text-align: left;
    }

    .dataset-panel {
        padding: 21px 17px;
    }

    .observation-header {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .observation-header .button {
        width: 100%;
    }

    .observation-content {
        padding: 22px 20px 25px;
    }
}

/* =========================================================
   双栏数据集阅读器
   ========================================================= */

.dataset-reader {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: stretch;

    height: calc(100vh - 340px);
    min-height: 520px;
    max-height: 900px;
    padding: 0;

    overflow: hidden;
}

.record-index {
    display: flex;
    min-width: 0;
    min-height: 0;
    height: 100%;
    flex-direction: column;

    background: rgba(3, 12, 24, 0.2);
    border-right: 1px solid var(--line);
}

.record-index-header {
    flex: 0 0 auto;
    padding: 24px;

    border-bottom: 1px solid var(--line);
}

.record-index-heading {
    margin: 0;

    color: var(--text);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 18px;
}

.record-index-note {
    margin: 7px 0 0;

    color: var(--text-dim);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.record-index-list {
    flex: 1 1 auto;
    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.record-index-item {
    position: relative;

    display: block;
    width: 100%;
    min-height: 0;
    padding: 19px 21px 18px 24px;

    color: var(--text-soft);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;

    font: inherit;
    text-align: left;
    cursor: pointer;

    transition:
        color 150ms ease,
        background-color 150ms ease;
}

.record-index-item::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 3px;

    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);

    content: "";
    opacity: 0;
    transform: scaleY(0.35);

    transition:
        opacity 150ms ease,
        transform 150ms ease;
}

.record-index-item:hover {
    color: var(--text);
    background: var(--panel-hover);
}

.record-index-item:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -3px;
}

.record-index-item.is-active {
    color: var(--text);
    background: var(--cyan-soft);
}

.record-index-item.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.record-index-code,
.record-index-title,
.record-index-meta,
.record-index-preview {
    display: block;
}

.record-index-code {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.record-index-title {
    margin-top: 8px;

    color: var(--text);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-index-meta {
    margin-top: 7px;

    color: var(--text-dim);
    font-size: 10px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-index-preview {
    margin-top: 11px;

    color: var(--text-soft);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 12px;
    line-height: 1.55;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-index-empty {
    padding: 36px 24px;

    color: var(--text-dim);
    font-size: 12px;
    text-align: center;
}

.record-detail {
    min-width: 0;
    min-height: 0;
    height: 100%;

    overflow: hidden;
}

.record-detail-panel {
    display: flex;
    min-width: 0;
    min-height: 0;
    height: 100%;
    flex-direction: column;
}

.record-detail-panel[hidden] {
    display: none;
}

.record-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;

    flex: 0 0 auto;
    padding: 27px 31px;

    background: var(--panel-solid);
    border-bottom: 1px solid var(--line);
}

.record-detail-heading {
    min-width: 0;
}

.record-detail-code {
    margin: 0 0 9px;

    color: var(--cyan);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.record-detail-title {
    margin: 0;

    color: var(--text);
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.record-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 20px;

    margin-top: 14px;

    color: var(--text-dim);
    font-size: 11px;
}

.record-detail-header .button {
    min-height: 40px;
    padding: 9px 14px;

    font-size: 11px;
    white-space: nowrap;
}

.record-detail-body {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.record-detail-body > .feed-content,
.record-detail-body > .content-unavailable {
    width: calc(100% - 72px);
    max-width: 920px;
    margin: 0 auto;
}

.record-detail-body > .feed-content {
    padding: 33px 0 56px;
}

.record-detail-body > .content-unavailable {
    padding: 33px 0 56px;
}

html[data-theme="light"] .record-index {
    background: rgba(230, 242, 246, 0.3);
}

html[data-theme="light"] .record-detail-header {
    background: rgba(244, 250, 252, 0.97);
}

@media (max-width: 900px) {
    .dataset-reader {
        grid-template-columns: 310px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .dataset-reader {
        display: block;

        height: auto;
        min-height: 0;
        max-height: none;
    }

    .record-index {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .record-index-list {
        display: grid;
        grid-auto-columns: minmax(270px, 82vw);
        grid-auto-flow: column;

        overflow-x: auto;
        overflow-y: hidden;
    }

    .record-index-item {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .record-detail {
        overflow: visible;
    }

    .record-detail-header {
        position: static;
        grid-template-columns: 1fr;

        padding: 23px 21px;
    }

    .record-detail-header .button {
        width: 100%;
    }

    .record-detail-body {
        padding: 25px 21px 42px;
    }
}

/* =========================================================
   三维轨道图
   ========================================================= */

.orbit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}

.orbit-scene-panel {
    padding: 0;
    overflow: hidden;
}

.orbit-scene {
    width: 100%;
    height: 720px;
    min-height: 540px;
}

/* 右侧独立卡片栏 */

.orbit-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.orbit-info-panel {
    padding: 26px;
}

.orbit-legend {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.orbit-legend-item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.orbit-legend-item strong {
    display: block;
    color: var(--text);
    font-size: 14px;
}

.orbit-legend-item p {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.7;
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;
}

.orbit-swatch {
    display: block;
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
}

.orbit-geo {
    color: #56d7ff;
    background: #56d7ff;
}

.orbit-leo {
    color: #87ff99;
    background: #87ff99;
}
.orbit-sso {
    color: #ff28d7;
    background: #ff28d7;
}

.orbit-polar {
    color: #ffc86a;
    background: #ffc86a;
}

.orbit-meo {
    color: #c39aff;
    background: #c39aff;
}

.orbit-note-box {
    margin-top: 26px;
    padding: 16px 18px;

    background: rgba(4, 13, 26, 0.42);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
}

.orbit-note-title {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.orbit-note-text {
    margin: 0 0 10px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.75;
    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;
}

.orbit-note-text:last-child {
    margin-bottom: 0;
}

html[data-theme="light"] .orbit-note-box {
    background: rgba(248, 252, 253, 0.68);
}

@media (max-width: 980px) {
    .orbit-layout {
        grid-template-columns: 1fr;
    }

    .orbit-scene {
        height: 620px;
    }
}

@media (max-width: 640px) {
    .orbit-scene {
        height: 500px;
        min-height: 420px;
    }

    .orbit-info-panel {
        padding: 22px;
    }
}

/* 恢复三维轨道默认视角 */

.orbit-scene {
    position: relative;
}

.orbit-scene canvas {
    position: relative;
    z-index: 1;

    display: block;
}

.orbit-reset-view {
    position: absolute;
    z-index: 20;
    top: 18px;
    right: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 9px 14px;

    color: #c9efff;
    background: rgba(5, 20, 34, 0.86);
    border: 1px solid rgba(105, 211, 255, 0.58);
    border-radius: 11px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);

    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;

    opacity: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);

    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.orbit-reset-icon {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orbit-reset-view:hover {
    color: #ffffff;
    background: rgba(8, 38, 58, 0.96);
    border-color: #67d8ff;
    transform: translateY(-1px);
}

.orbit-reset-view:active {
    transform: translateY(0);
}

.orbit-reset-view:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

html[data-theme="light"] .orbit-reset-view {
    color: #075f7e;
    background: rgba(247, 252, 254, 0.94);
    border-color: rgba(22, 142, 183, 0.52);
    box-shadow:
        0 8px 24px rgba(35, 91, 111, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .orbit-reset-view:hover {
    color: #03465f;
    background: #ffffff;
    border-color: #078db9;
}

/* 卫星名字标签 */

.orbit-label-layer {
    z-index: 6;
}

.satellite-label {
    padding: 5px 9px;

    color: #d8f5ff;
    background: rgba(5, 18, 31, 0.88);
    border: 1px solid rgba(105, 211, 255, 0.42);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);

    font-family:
        "Noto Sans SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    transform: translate(-50%, -140%);
    backdrop-filter: blur(10px);
}

.satellite-label.is-hovered {
    color: #f4fdff;
    border-color: rgba(124, 227, 255, 0.72);
}

.satellite-label.is-selected {
    color: #ffffff;
    background: rgba(7, 32, 49, 0.96);
    border-color: #7ce3ff;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.24),
        0 0 16px rgba(124, 227, 255, 0.22);
}

html[data-theme="light"] .satellite-label {
    color: #0a5872;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(18, 138, 181, 0.34);
}

html[data-theme="light"] .satellite-label.is-hovered {
    color: #064963;
    border-color: rgba(18, 138, 181, 0.58);
}

html[data-theme="light"] .satellite-label.is-selected {
    color: #04374c;
    border-color: #078db9;
}

/* =========================================================
   选中卫星信息卡
   ========================================================= */

.orbit-selection-card {
    margin: 0;
    padding: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(235, 246, 249, 0.91)
        );

    border: 1px solid rgba(21, 137, 178, 0.32);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .orbit-sidebar {
        width: 100%;
    }
}

.orbit-selection-card[hidden] {
    display: none;
}

.orbit-selection-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.orbit-selection-code {
    margin: 0 0 6px;

    color: var(--cyan);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.orbit-selection-name {
    margin: 0;

    color: var(--text);
    font-size: 19px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.orbit-selection-type {
    margin: 5px 0 0;

    color: var(--text-dim);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.orbit-selection-close {
    display: grid;
    flex: 0 0 auto;

    width: 34px;
    height: 34px;
    padding: 0;

    place-items: center;

    color: #8edfff;
    background: rgba(5, 23, 38, 0.68);
    border: 1px solid rgba(105, 211, 255, 0.45);
    border-radius: 9px;

    cursor: pointer;

    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

.orbit-selection-close svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.orbit-selection-close:hover {
    color: #ffffff;
    background: rgba(10, 48, 70, 0.92);
    border-color: #67d8ff;
    transform: translateY(-1px);
}

.orbit-selection-close:active {
    transform: translateY(0);
}

.orbit-selection-close:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

html[data-theme="light"]
.orbit-selection-close {
    color: #08698b;
    background: rgba(246, 252, 254, 0.92);
    border-color: rgba(20, 135, 176, 0.42);
}

html[data-theme="light"]
.orbit-selection-close:hover {
    color: #03465f;
    background: #ffffff;
    border-color: #078db9;
}

.orbit-selection-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;
    margin: 17px 0 0;
}

.orbit-selection-grid > div {
    min-width: 0;
    padding: 11px 12px;

    background:
        rgba(0, 0, 0, 0.14);

    border:
        1px solid
        var(--line);

    border-radius: 10px;
}

.orbit-selection-grid dt {
    margin: 0;

    color: var(--text-dim);
    font-size: 9px;
    letter-spacing: 0.07em;
}

.orbit-selection-grid dd {
    margin: 5px 0 0;

    color: var(--cyan-bright);
    font-size: 14px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

html[data-theme="light"]
.orbit-selection-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(235, 246, 249, 0.91)
        );

    border-color:
        rgba(21, 137, 178, 0.28);
}

html[data-theme="light"]
.orbit-selection-grid > div {
    background:
        rgba(221, 239, 244, 0.48);
}

@media (max-width: 420px) {
    .orbit-selection-grid {
        grid-template-columns: 1fr;
    }
}

.feed-flash {
    margin: 0 0 24px;
    padding: 14px 17px;

    color: var(--text);
    background: rgba(37, 184, 132, 0.09);
    border: 1px solid rgba(37, 184, 132, 0.35);
    border-radius: 12px;

    font-size: 14px;
    line-height: 1.65;
}

.feed-flash--error {
    background: rgba(222, 82, 82, 0.09);
    border-color: rgba(222, 82, 82, 0.38);
}

html[data-theme="light"] .feed-flash {
    background: rgba(26, 170, 120, 0.08);
}

.feed-flash {
    transition:
        opacity 350ms ease,
        transform 350ms ease;
}

.feed-flash.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.target-status-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.target-update-badge {
    display: grid;

    width: 34px;
    height: 34px;

    place-items: center;

    color: #0788b3;
    background: rgba(55, 200, 246, 0.14);
    border: 1px solid rgba(38, 175, 219, 0.48);
    border-radius: 999px;

    box-shadow:
        0 0 0 6px rgba(55, 200, 246, 0.06),
        0 0 18px rgba(40, 181, 226, 0.24);

    animation:
        target-update-pulse
        2.4s ease-in-out
        infinite;
}

.target-update-badge svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes target-update-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.84;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

html[data-theme="light"]
.target-update-badge {
    color: #08799e;
    background: rgba(54, 194, 235, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .target-update-badge {
        animation: none;
    }
}