:root {
    color-scheme: only light;
    --qj-bg: #f5f9ff;
    --qj-surface: #ffffff;
    --qj-surface-soft: #f7faff;
    --qj-line: #dce7f4;
    --qj-line-strong: #c8d8eb;
    --qj-text: #0d2a54;
    --qj-muted: #667c9b;
    --qj-blue: #1677ff;
    --qj-upload: #008e6d;
    --qj-blue-soft: #eaf3ff;
    --qj-mint: #16c79a;
    --qj-mint-soft: #e8fbf5;
    --qj-amber: #f2a93b;
    --qj-amber-text: #9a5b00;
    --qj-amber-soft: #fff5e5;
    --qj-coral: #f04f5f;
    --qj-coral-soft: #fff0f2;
    --qj-shadow: 0 18px 54px rgba(50, 92, 145, .10);
    --qj-radius: 20px;
}

body[theme="dark"] {
    color-scheme: dark;
    --qj-bg: #101b31;
    --qj-surface: #16243e;
    --qj-surface-soft: #1a2a47;
    --qj-line: #2b3d5d;
    --qj-line-strong: #3a5075;
    --qj-text: #eff6ff;
    --qj-muted: #9fb2ce;
    --qj-blue: #6aa9ff;
    --qj-upload: #38d5ad;
    --qj-blue-soft: #213a60;
    --qj-mint: #38d5ad;
    --qj-mint-soft: #193e3b;
    --qj-amber: #ffc568;
    --qj-amber-text: #ffd27d;
    --qj-amber-soft: #49391f;
    --qj-coral: #ff7180;
    --qj-coral-soft: #492832;
    --qj-shadow: 0 20px 55px rgba(0, 8, 25, .28);
}

body[theme="light"] {
    color-scheme: only light;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--qj-bg);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--qj-bg);
    color: var(--qj-text);
    font-family: Inter, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

[v-cloak] {
    display: none;
}

.qj-shell {
    width: min(100% - 64px, 1460px);
    margin-inline: auto;
}

.qj-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    border-bottom: 1px solid var(--qj-line);
    background: var(--qj-surface);
    background: color-mix(in srgb, var(--qj-surface) 94%, transparent);
    backdrop-filter: blur(18px);
}

.qj-header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, .75fr) minmax(280px, .9fr) auto minmax(190px, .75fr);
    align-items: center;
    height: 100%;
    gap: 28px;
}

.qj-header-inner:not(:has(.qj-header-traffic)) {
    grid-template-columns: minmax(210px, 1fr) auto minmax(290px, 1fr);
}

.qj-header-traffic {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    gap: 2px;
    width: min(100%, 320px);
    min-width: 0;
    padding: 7px 12px;
    border: 1px solid var(--qj-line);
    border-radius: 12px;
    background: var(--qj-surface-soft);
    font-variant-numeric: tabular-nums;
}

.qj-header-traffic-rank {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    min-width: 0;
    width: 100%;
    padding: 2px 4px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 10px;
}

.qj-header-traffic-rank > b {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--qj-blue) 16%, transparent);
    color: var(--qj-blue);
    font-size: 9px;
}

.qj-header-traffic-rank > em {
    min-width: 0;
    overflow: hidden;
    color: var(--qj-text);
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qj-header-traffic-rank > strong {
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.qj-header-traffic-empty {
    grid-column: 2 / -1;
    color: var(--qj-muted);
    font-size: 11px;
}

.qj-brand,
.qj-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    text-decoration: none;
}

.qj-brand-logo {
    width: 34px;
    height: 34px;
}

.qj-brand-copy {
    display: grid;
    line-height: 1.15;
}

.qj-brand-copy strong {
    font-size: 22px;
    letter-spacing: -.035em;
}

.qj-brand-copy small {
    margin-top: 4px;
    color: var(--qj-muted);
    font-size: 11px;
    letter-spacing: .02em;
}

.qj-navigation.collapse {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.qj-nav-link,
.qj-nav-button,
.qj-account-button,
.qj-icon-button,
.qj-mobile-menu {
    border: 0;
    background: transparent;
    color: var(--qj-muted);
    cursor: pointer;
    text-decoration: none;
}

.qj-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.qj-nav-link:hover,
.qj-nav-link:focus-visible,
.qj-nav-link.pc-active,
.qj-nav-link.m-active {
    background: var(--qj-blue-soft);
    color: var(--qj-blue);
    outline: none;
    text-decoration: none;
}

.qj-nav-link:active {
    transform: translateY(1px);
}

.qj-nav-button {
    appearance: none;
}

.qj-caret {
    font-size: 10px;
}

.qj-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.qj-live-stamp {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding-right: 14px;
    border-right: 1px solid var(--qj-line);
    color: var(--qj-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.qj-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qj-mint);
    box-shadow: 0 0 0 4px var(--qj-mint-soft);
}

.qj-icon-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 17px;
}

.qj-icon-button:hover,
.qj-icon-button:focus-visible {
    background: var(--qj-surface-soft);
    color: var(--qj-blue);
    outline: 2px solid var(--qj-blue-soft);
}

.qj-account-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 9px;
}

.qj-account-button:hover,
.qj-account-button:focus-visible {
    color: var(--qj-blue);
    text-decoration: none;
}

.qj-mobile-menu {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 24px;
}

.qj-template-menu {
    min-width: 220px;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid var(--qj-line);
    border-radius: 12px;
    background: var(--qj-surface);
    box-shadow: var(--qj-shadow);
}

.qj-template-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--qj-text);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.qj-template-option:hover,
.qj-template-option:focus-visible {
    background: var(--qj-blue-soft);
    color: var(--qj-blue);
    outline: none;
    text-decoration: none;
}

.qj-main {
    min-height: calc(100vh - 142px);
    padding: 36px 0 28px;
    background: var(--qj-bg);
}

body[theme="light"] .qj-main {
    background: #f5f9ff;
}

.qj-hero {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(230px, .65fr) minmax(600px, 1.45fr);
    align-items: stretch;
    gap: 22px;
    min-height: 184px;
    margin-bottom: 26px;
}

.qj-hero-copy {
    align-self: center;
    padding: 10px 2px;
}

.qj-eyebrow {
    margin: 0 0 10px;
    color: var(--qj-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.qj-hero h1 {
    margin: 0;
    color: var(--qj-text);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.045em;
}

.qj-hero-copy > p:not(.qj-eyebrow) {
    margin: 12px 0 4px;
    color: var(--qj-muted);
    font-size: 16px;
}

.qj-hero-copy time {
    color: var(--qj-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.qj-world {
    position: relative;
    min-height: 170px;
    background-image: url("/static/theme-quiet-status-journal/img/world-map.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .86;
}

body[theme="dark"] .qj-world {
    filter: brightness(1.25) saturate(.75);
}

.qj-region-list {
    position: absolute;
    inset: auto 8px 8px 8px;
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.qj-region-list span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border: 1px solid var(--qj-line);
    border-radius: 999px;
    background: var(--qj-surface);
    color: var(--qj-muted);
    font-size: 10px;
}

.qj-region-list b {
    color: var(--qj-text);
}

.qj-map-button {
    position: absolute;
    right: 12px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #d5e6fc;
    border-radius: 999px;
    background: var(--qj-blue-soft);
    color: var(--qj-blue);
    font-weight: 700;
    cursor: pointer;
}

.qj-map-button:hover,
.qj-map-button:focus-visible {
    border-color: var(--qj-blue);
    outline: none;
}

.qj-live-speed {
    display: flex;
    flex-direction: column;
    align-self: center;
    min-width: 0;
    min-height: 232px;
    padding: 18px 22px 16px;
    overflow: hidden;
    border: 1px solid var(--qj-line);
    border-radius: 18px;
    background: var(--qj-surface);
    box-shadow: var(--qj-shadow);
}

.qj-live-speed-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(132px, 176px);
    align-items: center;
    gap: 12px 18px;
}

.qj-live-speed-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--qj-muted);
    font-size: 13px;
    font-weight: 700;
}

.qj-live-speed-heading i {
    color: var(--qj-blue);
    font-size: 15px;
}

.qj-live-speed-picker {
    position: relative;
    width: 100%;
    max-width: 176px;
    min-width: 132px;
}

.qj-live-speed-picker select {
    width: 100%;
    height: 34px;
    padding: 0 28px 0 11px;
    appearance: none;
    border: 1px solid var(--qj-line-strong);
    border-radius: 9px;
    outline: none;
    background: var(--qj-surface-soft);
    color: var(--qj-text);
    font: inherit;
    font-size: 12px;
    text-overflow: ellipsis;
    cursor: pointer;
}

.qj-live-speed-picker select:hover,
.qj-live-speed-picker select:focus-visible {
    border-color: var(--qj-blue);
}

.qj-live-speed-picker select:focus-visible {
    box-shadow: 0 0 0 3px var(--qj-blue-soft);
}

.qj-live-speed-picker i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--qj-muted);
    font-size: 11px;
}

.qj-live-speed-values {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px 14px;
    min-width: 0;
}

.qj-live-speed-values > div {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.qj-live-speed-values span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--qj-muted);
    font-size: 11px;
}

.qj-live-speed-values strong {
    font-size: clamp(16px, 1.3vw, 20px);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.qj-live-speed-values .is-upload strong,
.qj-live-speed-values .is-upload i {
    color: var(--qj-upload);
}

.qj-live-speed-values .is-download strong,
.qj-live-speed-values .is-download i {
    color: var(--qj-blue);
}

.qj-live-speed-plot {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 130px;
    margin-top: 9px;
}

.qj-live-speed-chart-frame {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    flex: 1 1 auto;
    gap: 8px;
    min-height: 0;
}

.qj-live-speed-y-axis {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 1px 0 2px;
    color: var(--qj-muted);
    font-size: 9px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.qj-live-speed-y-axis .qj-live-speed-axis-title,
.qj-live-speed-x-axis .qj-live-speed-axis-title {
    color: var(--qj-muted);
    font-size: 9px;
    letter-spacing: .04em;
}

.qj-live-speed-y-axis .qj-live-speed-axis-title {
    position: absolute;
    top: -13px;
    right: 0;
}

.qj-live-speed-chart-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.qj-live-speed-chart {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 86px;
    height: 98px;
    overflow: visible;
}

.qj-live-speed-chart .qj-live-speed-grid,
.qj-live-speed-chart .qj-live-speed-axis-line {
    fill: none;
    stroke: var(--qj-line);
    stroke-width: .7;
    vector-effect: non-scaling-stroke;
}

.qj-live-speed-chart .qj-live-speed-grid {
    stroke-dasharray: 1.5 2.6;
    opacity: .85;
}

.qj-live-speed-chart .qj-live-speed-axis-line {
    stroke: var(--qj-line-strong);
    stroke-width: 1;
}

.qj-live-speed-chart path {
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.qj-live-speed-chart .is-upload {
    stroke: var(--qj-upload);
}

.qj-live-speed-chart .is-download {
    stroke: var(--qj-blue);
}

.qj-live-speed-x-axis {
    display: flex;
    align-items: center;
    min-height: 14px;
    color: var(--qj-muted);
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.qj-live-speed-empty {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 116px;
    margin: 12px 0 0;
    color: var(--qj-muted);
    font-size: 12px;
}

.qj-directory {
    overflow: hidden;
    border: 1px solid var(--qj-line);
    border-radius: var(--qj-radius);
    background: var(--qj-surface);
    box-shadow: var(--qj-shadow);
}

.qj-directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 66px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--qj-line);
}

.qj-view-tabs {
    display: flex;
    align-self: stretch;
    gap: 4px;
}

.qj-view-tabs button {
    position: relative;
    min-width: 142px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--qj-muted);
    font-weight: 700;
    cursor: pointer;
}

.qj-view-tabs button::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: -11px;
    left: 16px;
    height: 2px;
    border-radius: 2px;
    background: transparent;
}

.qj-view-tabs button.active {
    color: var(--qj-blue);
}

.qj-view-tabs button.active::after {
    background: var(--qj-blue);
}

.qj-view-tabs b {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    margin-left: 5px;
    border-radius: 999px;
    background: var(--qj-blue-soft);
    font-size: 11px;
}

.qj-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 300px);
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--qj-line-strong);
    border-radius: 11px;
    background: var(--qj-surface);
    color: var(--qj-muted);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.qj-search:focus-within {
    border-color: var(--qj-blue);
    box-shadow: 0 0 0 3px var(--qj-blue-soft);
}

.qj-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--qj-text);
}

.qj-search button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--qj-surface-soft);
    color: var(--qj-muted);
}

.qj-column-guide {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) minmax(180px, .9fr) minmax(300px, 1.25fr) minmax(340px, 1.9fr) minmax(70px, .4fr) 36px;
    align-items: center;
    gap: 18px;
    min-height: 42px;
    padding: 0 18px;
    border-bottom: 1px solid var(--qj-line);
    color: var(--qj-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.qj-group + .qj-group {
    border-top: 10px solid var(--qj-bg);
}

.qj-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 18px;
    border-bottom: 1px solid var(--qj-line);
    background: var(--qj-surface-soft);
    color: var(--qj-text);
    font-size: 12px;
    font-weight: 800;
}

.qj-group-heading small {
    color: var(--qj-muted);
    font-weight: 600;
}

.qj-node {
    position: relative;
    border-bottom: 1px solid var(--qj-line);
    background: var(--qj-surface);
}

.qj-node:last-child {
    border-bottom: 0;
}

.qj-node::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: transparent;
}

.qj-node.is-offline::before {
    background: var(--qj-coral);
}

.qj-node-summary {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) minmax(180px, .9fr) minmax(300px, 1.25fr) minmax(340px, 1.9fr) minmax(70px, .4fr) 36px;
    align-items: center;
    gap: 18px;
    min-height: 62px;
    padding: 10px 18px;
    cursor: pointer;
    outline: none;
    transition: background .18s ease;
}

.qj-node-summary:hover,
.qj-node-summary:focus-visible,
.qj-node.is-expanded .qj-node-summary {
    background: var(--qj-surface-soft);
}

.qj-node-summary:focus-visible {
    box-shadow: inset 0 0 0 2px var(--qj-blue);
}

.qj-node-identity {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.qj-status-dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.qj-status-dot.is-online {
    background: var(--qj-mint);
    box-shadow: 0 0 0 4px var(--qj-mint-soft);
}

.qj-status-dot.is-offline {
    background: var(--qj-coral);
    box-shadow: 0 0 0 4px var(--qj-coral-soft);
}

.qj-node-title {
    display: grid;
    min-width: 0;
    line-height: 1.25;
}

.qj-node-title strong {
    overflow: hidden;
    color: var(--qj-text);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qj-node-title small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: var(--qj-muted);
    font-size: 10px;
    font-weight: 600;
}

.qj-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

.qj-location .fi {
    width: 14px;
    border-radius: 2px;
}

.qj-node-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.qj-meta-block,
.qj-expiry {
    display: grid;
    min-width: 0;
    line-height: 1.2;
}

.qj-meta-block small,
.qj-expiry small,
.qj-resource small,
.qj-traffic-copy small {
    margin-bottom: 5px;
    color: var(--qj-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .025em;
}

.qj-meta-block strong,
.qj-expiry strong {
    overflow: hidden;
    color: var(--qj-text);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qj-resource-meters {
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    gap: 12px;
}

.qj-resource {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 3px 7px;
}

.qj-resource small {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.qj-resource strong {
    grid-column: 1;
    grid-row: 2;
    color: var(--qj-text);
    font-size: 9px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.qj-meter {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--qj-blue-soft);
}

.qj-meter-fill {
    display: block;
    min-width: 2px;
    height: 100%;
    border-radius: inherit;
    background: var(--qj-mint);
    transition: width .35s ease;
}

.qj-meter-fill.progress-bar-warning {
    background: var(--qj-amber);
}

.qj-meter-fill.progress-bar-danger,
.qj-node.is-offline .qj-meter-fill {
    background: var(--qj-coral);
}

.qj-traffic {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid var(--qj-line);
    border-radius: 10px;
    background: var(--qj-surface-soft);
}

.qj-traffic-panels {
    display: grid;
    grid-template-columns: minmax(104px, .9fr) minmax(178px, 1.65fr);
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.qj-live-traffic {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--qj-line);
    border-radius: 10px;
    background: var(--qj-surface-soft);
}

.qj-live-traffic > span {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 4px 6px;
    border: 1px solid var(--qj-line);
    border-radius: 8px;
    background: var(--qj-surface-soft);
    font-variant-numeric: tabular-nums;
}

.qj-live-traffic i {
    font-size: 10px;
}

.qj-live-traffic small {
    color: var(--qj-muted);
    font-size: 8px;
    font-weight: 700;
}

.qj-live-traffic strong {
    grid-column: 3;
    overflow: visible;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
}

.qj-total-traffic .is-idle,
.qj-total-traffic .is-offline,
.qj-header-traffic .is-idle strong,
.qj-header-traffic .is-offline strong,
.qj-live-traffic .is-idle strong,
.qj-live-traffic .is-offline strong {
    color: var(--qj-muted);
}

.qj-total-traffic .is-normal,
.qj-header-traffic .is-normal strong,
.qj-live-traffic .is-normal strong {
    color: var(--qj-mint);
}

.qj-total-traffic .is-fast,
.qj-header-traffic .is-fast strong,
.qj-live-traffic .is-fast strong {
    color: #007c9e;
    text-shadow: 0 0 10px rgba(0, 192, 224, .38);
}

.qj-header-traffic .is-fast,
.qj-live-traffic > .is-fast {
    border-color: rgba(0, 190, 225, .72);
    background: rgba(0, 210, 240, .16);
    box-shadow: inset 0 0 0 1px rgba(0, 190, 225, .16), 0 0 12px rgba(0, 190, 225, .18);
}

body[theme="dark"] .qj-total-traffic .is-fast,
body[theme="dark"] .qj-header-traffic .is-fast strong,
body[theme="dark"] .qj-live-traffic .is-fast strong {
    color: #35f2ff;
    text-shadow: 0 0 12px rgba(53, 242, 255, .72);
}

body[theme="dark"] .qj-header-traffic .is-fast,
body[theme="dark"] .qj-live-traffic > .is-fast {
    border-color: rgba(53, 242, 255, .82);
    background: rgba(0, 220, 255, .2);
    box-shadow: inset 0 0 0 1px rgba(53, 242, 255, .18), 0 0 14px rgba(0, 220, 255, .26);
}

.qj-traffic-quota,
.qj-traffic-copy {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.qj-traffic-copy strong {
    color: var(--qj-text);
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.qj-traffic-track {
    display: block;
    height: 5px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--qj-blue-soft);
}

.qj-traffic-track > span {
    display: block;
    min-width: 2px;
    height: 100%;
    border-radius: inherit;
    background: var(--qj-mint);
    transition: width .35s ease;
}

.qj-traffic-quota.is-warning .qj-traffic-track > span {
    background: var(--qj-amber);
}

.qj-traffic-quota.is-danger .qj-traffic-track > span {
    background: var(--qj-coral);
}

.qj-traffic-quota.is-warning .qj-traffic-copy strong {
    color: var(--qj-amber-text);
}

.qj-traffic-quota.is-danger .qj-traffic-copy strong {
    color: var(--qj-coral);
}

.qj-expiry {
    justify-items: start;
}

.qj-expiry.is-warning strong,
.qj-expiry.is-danger strong {
    padding: 5px 8px;
    border-radius: 8px;
}

.qj-expiry.is-warning strong {
    background: var(--qj-amber-soft);
    color: var(--qj-amber-text);
}

.qj-expiry.is-danger strong {
    background: var(--qj-coral-soft);
    color: var(--qj-coral);
}

.qj-expand-icon {
    justify-self: end;
    color: var(--qj-muted);
    transition: transform .18s ease, color .18s ease;
}

.qj-node-summary[aria-expanded="true"] .qj-expand-icon {
    transform: rotate(180deg);
    color: var(--qj-blue);
}

.qj-node-detail {
    border-top: 1px solid var(--qj-line);
    background: var(--qj-surface-soft);
}

.qj-detail-grid {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.55fr);
    gap: 0;
    margin: 10px 12px 12px;
    overflow: hidden;
    border: 1px solid var(--qj-line);
    border-radius: 14px;
    background: var(--qj-surface);
}

.qj-system-panel,
.qj-chart-panel {
    min-width: 0;
    padding: 20px;
}

.qj-system-panel {
    border-right: 1px solid var(--qj-line);
    background: var(--qj-surface-soft);
}

.qj-system-panel header,
.qj-chart-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px;
    margin-bottom: 15px;
    color: var(--qj-text);
    font-size: 12px;
    font-weight: 800;
}

.qj-system-panel header span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.qj-system-panel header em {
    color: var(--qj-mint);
    font-size: 9px;
    font-style: normal;
    letter-spacing: .1em;
}

.qj-node.is-offline .qj-system-panel header em {
    color: var(--qj-coral);
}

.qj-system-panel dl {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 6px 12px;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
}

.qj-system-panel dt {
    color: var(--qj-muted);
    font-weight: 600;
}

.qj-system-panel dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--qj-text);
    font-variant-numeric: tabular-nums;
}

.qj-network-now {
    color: var(--qj-muted);
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.qj-chart-panel .chartbox {
    width: 100% !important;
    min-height: 300px;
}

.qj-transfer-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--qj-line);
}

.qj-transfer-strip > span {
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 8px;
    min-width: 0;
    padding: 0 14px;
    border-right: 1px solid var(--qj-line);
}

.qj-transfer-strip > span:last-child {
    border-right: 0;
}

.qj-transfer-strip i {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--qj-blue-soft);
    color: var(--qj-blue);
}

.qj-transfer-strip small {
    color: var(--qj-muted);
    font-size: 9px;
}

.qj-transfer-strip strong {
    overflow: hidden;
    color: var(--qj-text);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qj-empty-state {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 70px 20px;
    color: var(--qj-muted);
    text-align: center;
}

.qj-empty-state i {
    font-size: 28px;
    color: var(--qj-blue);
}

.qj-empty-state strong {
    color: var(--qj-text);
}

.qj-empty-state p {
    margin: 0;
}

.qj-map-modal .modal-dialog {
    width: min(94vw, 1080px);
    margin: 5vh auto;
}

.qj-map-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--qj-line);
    border-radius: 18px;
    background: var(--qj-surface);
    box-shadow: var(--qj-shadow);
}

.qj-map-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--qj-line);
}

.qj-map-modal .modal-title {
    color: var(--qj-text);
    font-size: 16px;
}

.qj-modal-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--qj-surface-soft);
    color: var(--qj-muted);
}

.qj-map-modal #mapChart {
    width: 100% !important;
    min-height: 68vh;
}

.qj-footer {
    border-top: 1px solid var(--qj-line);
    background: var(--qj-surface);
}

.qj-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 70px;
    gap: 24px;
    color: var(--qj-muted);
    font-size: 11px;
}

.qj-footer-brand img {
    width: 22px;
    height: 22px;
}

.qj-footer-brand {
    gap: 8px;
}

.qj-footer-brand strong {
    color: var(--qj-text);
    font-size: 13px;
}

.qj-footer p {
    margin: 0;
}

.qj-footer nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.qj-footer-control {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.qj-footer a:hover,
.qj-footer-control:hover,
.qj-footer-control:focus-visible,
.qj-footer-control[aria-pressed="true"] {
    color: var(--qj-blue);
    text-decoration: none;
}

.qj-plan-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.qj-plan-detail > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border: 1px solid var(--qj-line);
    border-radius: 999px;
    background: var(--qj-surface);
}

.qj-temperature-detail {
    cursor: pointer;
}

.qj-temperature-detail:focus-visible {
    border-radius: 6px;
    outline: 2px solid var(--qj-blue-soft);
    outline-offset: 2px;
}

.qj-go-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--qj-line);
    border-radius: 50%;
    background: var(--qj-surface);
    color: var(--qj-blue);
    box-shadow: var(--qj-shadow);
}

/* 服务页与网络页沿用原有数据与交互，只替换为同一视觉语言。 */
.qj-main > .container-fluid,
.qj-main > .content {
    width: min(100% - 64px, 1460px);
    margin: 0 auto 24px;
    padding: 20px;
    border: 1px solid var(--qj-line);
    border-radius: var(--qj-radius);
    background: var(--qj-surface);
    box-shadow: var(--qj-shadow);
}

.qj-main table {
    width: 100%;
    margin: 0;
    color: var(--qj-text);
    background: transparent;
}

.qj-main .table > thead > tr > th,
.qj-main .table > tbody > tr > td {
    padding: 12px 10px;
    border-color: var(--qj-line);
    vertical-align: middle;
}

.qj-main .table-striped > tbody > tr:nth-of-type(odd) {
    background: var(--qj-surface-soft);
}

.qj-main .chartTitle,
.qj-main .networkMonitor {
    color: var(--qj-text);
}

.qj-main #chartbox {
    width: 100% !important;
    min-height: 520px;
}

@media (max-width: 1360px) {
    .qj-shell,
    .qj-main > .container-fluid,
    .qj-main > .content {
        width: min(100% - 40px, 1460px);
    }

    .qj-header-inner {
        grid-template-columns: minmax(150px, .65fr) minmax(280px, .9fr) auto minmax(150px, .65fr);
        gap: 14px;
    }

    .qj-header-inner:not(:has(.qj-header-traffic)) {
        grid-template-columns: minmax(190px, .8fr) auto minmax(220px, .8fr);
    }

    .qj-live-label {
        display: none;
    }

    .qj-hero {
        grid-template-columns: minmax(280px, .8fr) minmax(220px, .6fr) minmax(560px, 1.3fr);
    }

    .qj-column-guide,
    .qj-node-summary {
        grid-template-columns: minmax(190px, 1.2fr) minmax(160px, .9fr) minmax(250px, 1.2fr) minmax(310px, 1.7fr) minmax(60px, .4fr) 30px;
        gap: 12px;
    }

    .qj-resource-meters {
        gap: 7px;
    }
}

@media (max-width: 1160px) {
    .qj-header {
        height: auto;
        min-height: 68px;
    }

    .qj-header-inner {
        grid-template-columns: minmax(130px, 1fr) minmax(260px, auto) auto auto;
        min-height: 68px;
    }

    .qj-header-inner:not(:has(.qj-header-traffic)) {
        grid-template-columns: 1fr auto auto;
    }

    .qj-mobile-menu {
        display: grid;
        place-items: center;
        grid-column: 3;
    }

    .qj-header-actions {
        grid-column: 4;
    }

    .qj-header-inner:not(:has(.qj-header-traffic)) .qj-mobile-menu {
        grid-column: 2;
    }

    .qj-header-inner:not(:has(.qj-header-traffic)) .qj-header-actions {
        grid-column: 3;
    }

    .qj-navigation.collapse {
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        display: none !important;
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
        border: 1px solid var(--qj-line);
        border-radius: 14px;
        background: var(--qj-surface);
        box-shadow: var(--qj-shadow);
    }

    .qj-navigation.collapse.in {
        display: flex !important;
    }

    .qj-navigation .qj-nav-link {
        justify-content: flex-start;
        width: 100%;
    }

    .qj-template-switch {
        width: 100%;
    }

    .qj-template-menu {
        position: static;
        width: 100%;
        float: none;
        box-shadow: none;
    }

    .qj-live-stamp {
        display: none;
    }

    .qj-hero {
        grid-template-columns: 1fr 1fr;
    }

    .qj-hero-copy {
        grid-column: 1;
    }

    .qj-world {
        grid-column: 2;
    }

    .qj-live-speed {
        grid-column: 1 / -1;
    }

    .qj-column-guide {
        display: none;
    }

    .qj-node-summary {
        grid-template-columns: minmax(200px, 1fr) minmax(180px, .8fr) 32px;
        gap: 14px;
        padding: 15px 18px;
    }

    .qj-node-identity {
        grid-column: 1;
    }

    .qj-node-meta {
        grid-column: 2;
    }

    .qj-resource-meters {
        grid-column: 1;
    }

    .qj-traffic-panels {
        grid-column: 2;
    }

    .qj-expiry {
        grid-column: 1 / span 2;
        grid-row: 3;
        justify-self: end;
    }

    .qj-expand-icon {
        grid-column: 3;
        grid-row: 1 / span 3;
    }
}

@media (max-width: 720px) {
    .qj-shell,
    .qj-main > .container-fluid,
    .qj-main > .content {
        width: min(100% - 24px, 1460px);
    }

    .qj-header-inner {
        grid-template-columns: minmax(0, 1fr) 156px 34px auto;
        gap: 5px;
    }

    .qj-header-inner:not(:has(.qj-header-traffic)) {
        grid-template-columns: 1fr auto auto;
    }

    .qj-header-traffic {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        width: 156px;
        padding: 4px 5px;
    }

    .qj-header-traffic-rank {
        display: grid;
        grid-template-columns: 14px minmax(0, 1fr) auto;
        gap: 4px;
        width: 100%;
        padding: 2px 4px;
    }

    .qj-header-traffic-rank > b {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    .qj-header-traffic-rank > strong {
        font-size: 11px;
    }

    .qj-brand-logo {
        width: 30px;
        height: 30px;
    }

    .qj-brand-copy strong {
        font-size: 17px;
    }

    .qj-brand-copy small,
    .qj-account-button span {
        display: none;
    }

    .qj-header-actions {
        gap: 2px;
    }

    .qj-mobile-menu,
    .qj-account-button,
    .qj-icon-button {
        width: 34px;
        height: 38px;
        justify-content: center;
        padding: 0;
    }

    .qj-main {
        padding-top: 24px;
    }

    .qj-hero {
        display: block;
        margin-bottom: 18px;
    }

    .qj-hero-copy {
        padding: 4px 2px 20px;
    }

    .qj-hero h1 {
        font-size: 31px;
    }

    .qj-hero-copy > p:not(.qj-eyebrow) {
        font-size: 14px;
    }

    .qj-world {
        min-height: 190px;
        margin-bottom: 14px;
    }

    .qj-live-speed {
        min-height: 218px;
        padding: 17px;
    }

    .qj-live-speed-top {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "heading picker"
            "values values";
        gap: 10px 12px;
    }

    .qj-live-speed-heading {
        grid-area: heading;
    }

    .qj-live-speed-values {
        grid-area: values;
        gap: 8px 14px;
    }

    .qj-live-speed-picker {
        grid-area: picker;
        min-width: 132px;
        max-width: 176px;
    }

    .qj-live-speed-values strong {
        font-size: 20px;
    }

    .qj-directory {
        border-radius: 16px;
    }

    .qj-directory-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .qj-view-tabs {
        min-height: 42px;
    }

    .qj-view-tabs button {
        flex: 1;
        min-width: 0;
    }

    .qj-view-tabs button::after {
        bottom: -12px;
    }

    .qj-search {
        width: 100%;
    }

    .qj-group-heading {
        padding: 0 14px;
    }

    .qj-node-summary {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px 10px;
        padding: 16px 14px;
    }

    .qj-node-identity {
        grid-column: 1;
    }

    .qj-node-title strong {
        font-size: 15px;
    }

    .qj-expand-icon {
        grid-column: 2;
        grid-row: 1;
    }

    .qj-node-meta {
        grid-column: 1 / -1;
        grid-row: 2;
        gap: 8px;
        padding: 10px 0;
        border-block: 1px solid var(--qj-line);
    }

    .qj-meta-block strong {
        font-size: 12px;
    }

    .qj-resource-meters {
        grid-column: 1 / -1;
        grid-row: 3;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .qj-resource {
        grid-template-columns: 30px 1fr;
    }

    .qj-resource strong {
        font-size: 10px;
    }

    .qj-traffic-panels {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .qj-traffic-copy strong {
        font-size: 12px;
    }

    .qj-live-traffic strong {
        font-size: 13px;
    }

    .qj-expiry {
        grid-column: 1 / -1;
        grid-row: 5;
        justify-self: stretch;
    }

    .qj-expiry {
        grid-template-columns: 54px 1fr;
        align-items: center;
    }

    .qj-expiry small {
        margin: 0;
    }

    .qj-expiry strong {
        width: max-content;
    }

    .qj-detail-grid {
        grid-template-columns: 1fr;
        margin: 8px;
    }

    .qj-system-panel {
        border-right: 0;
        border-bottom: 1px solid var(--qj-line);
    }

    .qj-system-panel,
    .qj-chart-panel {
        padding: 16px;
    }

    .qj-chart-panel .chartbox {
        min-height: 260px;
    }

    .qj-network-now {
        display: block;
        white-space: normal;
        font-size: 12px;
    }

    .qj-transfer-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qj-transfer-strip > span {
        padding: 8px 0;
        border-right: 0;
        border-bottom: 1px solid var(--qj-line);
    }

    .qj-transfer-strip > span:last-child {
        border-bottom: 0;
    }

    .qj-footer-inner {
        grid-template-columns: 1fr auto;
        min-height: 78px;
    }

    .qj-footer p {
        display: none;
    }

    .qj-footer nav {
        gap: 10px;
    }

    .qj-footer nav a:nth-last-child(1),
    .qj-footer nav a:nth-last-child(2) {
        display: none;
    }

    .qj-map-modal .modal-dialog {
        width: calc(100vw - 20px);
        margin: 10px auto;
    }

    .qj-map-modal #mapChart {
        min-height: calc(100vh - 110px);
    }

    .qj-main > .container-fluid,
    .qj-main > .content {
        padding: 12px;
        overflow-x: auto;
    }

    .qj-main .network-box {
        min-width: 0;
        overflow-x: hidden;
    }

    .qj-main #chartbox {
        min-height: 430px;
        min-width: 0;
    }
}

@media (max-width: 390px) {
    .qj-shell,
    .qj-main > .container-fluid,
    .qj-main > .content {
        width: min(100% - 18px, 1460px);
    }

    .qj-header-inner {
        grid-template-columns: auto 156px 34px auto;
    }

    .qj-brand-copy {
        display: none;
    }

    .qj-header-traffic {
        min-width: 156px;
    }

    .qj-header-traffic-rank {
        gap: 4px;
        padding-inline: 4px;
        font-size: 9px;
    }

    .qj-header-traffic-rank > strong {
        font-size: 10px;
    }

    .qj-live-speed {
        padding: 14px;
    }

    .qj-live-speed-values {
        gap: 8px 14px;
    }

    .qj-live-speed-values strong {
        font-size: 18px;
    }

    .qj-view-tabs button {
        padding-inline: 8px;
        font-size: 12px;
    }

    .qj-node-summary {
        padding-inline: 12px;
    }

    .qj-resource-meters {
        gap: 8px;
    }

    .qj-system-panel dl {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .qj-footer nav a:nth-child(2) {
        display: none;
    }
}

.qj-meta-block small,
.qj-expiry small,
.qj-resource small,
.qj-traffic-copy small,
.qj-transfer-strip small {
    font-size: 11px;
}

.qj-meta-block strong,
.qj-expiry strong,
.qj-resource strong,
.qj-traffic-copy strong,
.qj-transfer-strip strong,
.qj-system-panel dl {
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
