/* Base tokens, reset, typography and cross-page elements. */

:root {
color-scheme: light;
    --ink: #17283a;
    --ink-soft: #43596e;
    --muted: #718396;
    --paper: #ffffff;
    --paper-soft: #f7fafc;
    --page: #f1f6fa;
    --line: #d9e4ee;
    --line-strong: #c7d6e3;
    --brand: #2d73cd;
    --brand-deep: #195bac;
    --brand-pale: #e8f1fc;
    --brand-soft: #f3f8fe;
    --accent: #e4935d;
    --success: #2e8a69;
    --success-bg: #e5f5ed;
    --warning: #a87325;
    --warning-bg: #fcf1dc;
    --danger: #b95d5d;
    --danger-bg: #fbecec;
    --shadow-sm: 0 5px 16px rgba(30, 62, 95, 0.045);
    --shadow-md: 0 12px 34px rgba(30, 62, 95, 0.075);
    --shadow-lg: 0 22px 60px rgba(30, 62, 95, 0.13);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --content: 1280px;
    --sidebar: 244px;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

html {
min-width: 320px;
    min-height: 100%;
    background: var(--page);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
html {
overflow-y: scroll;
}
}

body {
min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
font-family: inherit;
}

button,
input,
textarea,
select {
font-size: inherit;
}

select {
max-width: 100%;
}

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

button {
color: inherit;
}

a {
color: var(--brand-deep);
    text-underline-offset: 3px;
}

img,
svg {
display: block;
}

img {
max-width: 100%;
}

[hidden] {
display: none !important;
}

::selection {
color: var(--brand-deep);
    background: #dbeafe;
}

:focus-visible {
outline: 3px solid rgba(45, 115, 205, 0.28);
    outline-offset: 2px;
}

@keyframes skeleton-shimmer {
to { background-position: -200% 0; }
}

.server-detail-main {
width: min(calc(100% - 48px), var(--content));
    margin: 0 auto;
    padding: 26px 0 58px;
}

.tip-mark {
display: grid;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--brand-deep);
    background: #dcebfa;
    font-size: 10px;
    font-weight: 800;
}

.admin-content {
width: min(calc(100% - 48px), 1360px);
    margin: 0 auto;
    padding: 30px 0 46px;
    flex: 1;
}

.is-online,
.is-good {
color: #2b7b5d;
    background: var(--success-bg);
}

.is-offline {
color: #8a7167;
    background: #f5ece8;
}

.is-unknown,
.pending {
color: #977025;
    background: var(--warning-bg);
}

code {
padding: 1px 4px;
    border-radius: 4px;
    background: #eef3f7;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
}

.server-row {
min-width: 0;
}

.server-address {
max-width: min(260px, 38vw);
    overflow: hidden;
    text-overflow: ellipsis;
}

.is-error {
display: inline-flex;
    min-height: 23px;
    padding: 0 7px;
    align-items: center;
    border-radius: 999px;
    color: var(--danger);
    background: var(--danger-bg);
    font-size: 8px;
    font-weight: 650;
}

@media (max-width: 760px) {
.server-detail-main {
width: calc(100% - 24px);
}

.admin-content {
width: calc(100% - 24px);
        padding: 22px 0 36px;
}
}

@media (max-width: 520px) {
.server-detail-main {
width: calc(100% - 20px);
        padding-top: 16px;
}
}

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