:root {
  --primary: #236de9;
  --primary-dark: #1d61d5;
  --primary-soft: rgba(35, 109, 233, .1);
  --accent: #82dd2d;
  --accent-soft: rgba(130, 221, 45, .14);
  --ink: #101418;
  --muted: #596368;
  --soft: #7e888c;
  --line: rgba(46, 58, 62, .085);
  --line-strong: rgba(46, 58, 62, .11);
  --surface: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(249, 252, 251, .93));
  --surface-solid: #fbfcfc;
  --background: #f6f8f7;
  --danger: #e34c43;
  --warning: #b87816;
  --success: #539b24;
  --shadow: 0 1px 3px rgba(46, 58, 62, .06), 0 12px 30px rgba(46, 58, 62, .055);
  --shadow-soft: 0 1px 2px rgba(46, 58, 62, .05), 0 5px 14px rgba(46, 58, 62, .04);
  --accent-shadow: 0 1px 2px rgba(20, 66, 148, .28), 0 8px 18px rgba(35, 109, 233, .24);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(55% 38% at 92% 0%, rgba(130, 221, 45, .07), transparent 72%),
    radial-gradient(48% 36% at 4% 32%, rgba(35, 109, 233, .055), transparent 72%),
    var(--background);
  font: 14px/1.65 "SF Pro Display", "SF Pro Text", "PingFang SC", -apple-system, BlinkMacSystemFont, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body, input, select, button, textarea { font-family: inherit; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }
button, input, select, textarea { font-size: 14px; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(35, 109, 233, .16); }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 8px 14px; color: #fff; background: var(--primary-dark); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { color: #fff; transform: translateY(0); }
:focus-visible { outline: 2px solid rgba(35, 109, 233, .8); outline-offset: 3px; }

.topbar { position: relative; z-index: 101; display: flex; align-items: center; height: 50px; background: #121418; border-bottom: 1px solid #121418; }
.topbar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; height: 100%; min-width: 0; }
.topbar-brand { display: inline-flex; align-items: center; justify-self: start; min-width: 0; height: 50px; padding-left: 0; }
.topbar-logo { display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 1px; line-height: 1; text-decoration: none; }
.topbar-logo:hover { color: #7fb6ff; }
.topbar-logo img { display: block; width: auto; height: 39px; max-width: none; object-fit: contain; }
.topbar-ad { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: min(480px, 100%); overflow: hidden; justify-content: center; justify-self: center; }
.topbar-ad-item { position: relative; display: inline-flex; align-items: center; height: 32px; overflow: hidden; border-radius: 6px; }
.topbar-ad-item img { display: block; height: 32px; width: auto; }
.topbar-ad-text { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; color: rgba(255, 255, 255, .86); font-size: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; }
.topbar-ad-tag { position: absolute; right: 0; bottom: 0; padding: 0 4px; color: #fff; font-size: 10px; line-height: 14px; background: rgba(0, 0, 0, .45); border-top-left-radius: 4px; }
.topbar-ad-empty { padding: 3px 10px; color: rgba(255, 255, 255, .5); font-size: 12px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 6px; }
.topbar-ip { display: inline-flex; align-items: center; justify-self: end; gap: 6px; flex: 0 0 auto; max-width: 380px; padding-left: 0; padding-right: 0; font-size: 12px; color: rgba(255, 255, 255, .68); white-space: nowrap; }
.topbar-ip:hover { color: #fff; }
.topbar-ip:hover b { color: #7fb6ff; }
.topbar-ip b { color: #fff; font-weight: 620; }
.topbar-ip .ip-place { color: inherit; }
.topbar-ip .ip-family { padding: 1px 5px; color: #fff; font-size: 10.5px; font-weight: 650; letter-spacing: .2px; border-radius: 4px; }
.topbar-ip .ip-family.ipv4 { background: #23ab5e; }
.topbar-ip .ip-family.ipv6 { background: #1677ff; }
.topbar-ip .ip-place { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.site-header { position: sticky; z-index: 100; top: 0; height: 55px; background: #2d3139; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 150px; height: 50px; object-fit: contain; }
body.has-topbar .site-header .brand { display: none; }
body.has-topbar .site-header .site-nav { margin-inline-end: auto; }
body.has-topbar .site-header .nav-toggle { margin-left: auto; }

@font-face {
  font-family: "NotoTagline";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/tagline-500.woff2") format("woff2");
}
.topbar-tag { display: inline-flex; align-items: center; flex: 0 0 auto; margin-left: 12px; padding-left: 12px; color: rgba(255, 255, 255, .7); font-family: "NotoTagline", "Noto Sans SC", "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13.5px; font-weight: 500; letter-spacing: .6px; line-height: 1; border-left: 1px solid rgba(255, 255, 255, .22); }
@media (max-width: 1100px) {
  .topbar-tag { display: none; }
}
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0; color: rgba(255, 255, 255, .72); background: transparent; border: 0; border-radius: 0; font-size: 13px; font-weight: 520; white-space: nowrap; transition: color .18s; }
.site-nav a:hover { color: #fff; background: transparent; }
.site-nav .nav-admin { margin-left: 8px; color: rgba(255, 255, 255, .72); background: transparent; border-color: transparent; }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 9px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; }
.nav-toggle svg { display: block; width: 20px; height: 20px; margin: auto; }

main { min-height: calc(100vh - 260px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.breadcrumb-bar { width: min(1160px, calc(100% - 40px)); max-width: 1160px; margin: 16px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.bc-home { display: block; flex: 0 0 auto; width: 16px; height: 16px; margin-right: 6px; color: #5b6b73; }
.breadcrumb-inner { display: flex; align-items: center; width: 100%; max-width: none; min-height: 48px; margin: 0; padding: 0 16px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; color: var(--soft); font-size: 13px; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { margin: 0 10px; color: #a4adae; content: "/"; }
.breadcrumb a { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 66px 0 36px; }
.hero::before { position: absolute; z-index: -1; top: -190px; left: 50%; width: 920px; height: 520px; content: ""; background: radial-gradient(circle at 35% 50%, rgba(35, 109, 233, .075), transparent 55%), radial-gradient(circle at 68% 45%, rgba(130, 221, 45, .09), transparent 52%); transform: translateX(-50%); pointer-events: none; }
.hero-center { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--muted); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 6px; height: 6px; content: ""; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(32px, 4.4vw, 48px); font-weight: 720; line-height: 1.22; letter-spacing: -.04em; }
h1 span { color: var(--primary); }
h2 { margin-bottom: 12px; font-size: 26px; font-weight: 680; line-height: 1.35; letter-spacing: -.025em; }
h3 { margin-bottom: 8px; font-size: 18px; font-weight: 650; line-height: 1.45; letter-spacing: -.015em; }
.hero-description { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 24px 0 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { width: 6px; height: 6px; content: ""; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); }
.section { padding: 48px 0; }
.section-sm { padding: 28px 0 48px; }
.section-head { max-width: 660px; margin-bottom: 26px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-bottom: 0; color: var(--muted); }
.surface-section { background: rgba(251, 252, 252, .56); border-block: 1px solid var(--line); }

.check-panel, .tool-panel { padding: 26px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .82); backdrop-filter: blur(18px); }
.check-tabs { display: inline-flex; max-width: 100%; gap: 4px; margin: -4px 0 24px; padding: 5px; background: rgba(46, 58, 62, .035); border: 1px solid var(--line); border-radius: 8px; }
.check-tab { min-height: 38px; padding: 7px 20px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 13px; font-weight: 600; transition: color .18s, background .18s, box-shadow .18s; }
.check-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .46); }
.check-tab.is-active { color: var(--primary-dark); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-soft); }
.check-form { display: grid; grid-template-columns: minmax(0, 1fr) 132px 142px; gap: 12px; }
.check-form.no-nodes { grid-template-columns: minmax(0, 1fr) 142px; }
.check-form > .button { align-self: end; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 620; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 10px 13px; color: var(--ink); background: rgba(255, 255, 255, .78); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: inset 0 1px 2px rgba(46, 58, 62, .025), 0 1px 0 rgba(255, 255, 255, .8); outline: none; transition: border-color .18s, box-shadow .18s, background .18s; }
.input::placeholder, .textarea::placeholder { color: #99a2a5; }
.input:hover, .select:hover, .textarea:hover { background: rgba(255, 255, 255, .94); }
.input:focus, .select:focus, .textarea:focus { background: #fff; border-color: transparent; outline: 2px solid rgba(35, 109, 233, .58); outline-offset: 2px; box-shadow: none; }
.select { appearance: auto; }
.textarea { min-height: 110px; resize: vertical; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; color: var(--muted); background: rgba(255, 255, 255, .72); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 1px 2px rgba(46, 58, 62, .035); font-size: 13px; font-weight: 650; line-height: 1.4; transition: color .18s, background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button:hover { color: var(--primary-dark); background: #fff; border-color: rgba(35, 109, 233, .2); box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: var(--accent-shadow); }
.button-primary:hover { color: #fff; background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 1px 2px rgba(20, 66, 148, .3), 0 10px 22px rgba(35, 109, 233, .28); }
.button:not(:disabled):active { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.button svg { width: 18px; height: 18px; }
.form-note { margin: 12px 0 0; color: var(--soft); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.alert { margin: 16px 0 0; padding: 11px 14px; color: #9c3832; background: rgba(255, 90, 80, .07); border: 1px solid rgba(227, 76, 67, .18); border-radius: 8px; }
.alert:empty { display: none; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.check-results { margin-top: 26px; }
.result-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.result-overview h2 { margin-bottom: 4px; font-size: 21px; }
.result-target { max-width: 720px; margin: 0; overflow-wrap: anywhere; color: var(--muted); }
.result-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 10px; }
.result-actions .button { min-height: 38px; padding: 7px 13px; }
.text-link { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; white-space: nowrap; }
.status-line { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.status-dot { width: 7px; height: 7px; background: var(--warning); border-radius: 50%; box-shadow: 0 0 0 4px rgba(184, 120, 22, .1); }
.status-line.complete .status-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.status-line.failed .status-dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(227, 76, 67, .1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat-card { position: relative; overflow: hidden; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.stat-card::after { position: absolute; right: -28px; bottom: -42px; width: 110px; height: 110px; content: ""; background: radial-gradient(circle, var(--accent-soft), transparent 68%); border-radius: 50%; pointer-events: none; }
.stat-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.stat-value { position: relative; z-index: 1; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.35; letter-spacing: -.03em; }
.stat-value small { margin-left: 3px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.stat-sub { display: block; color: var(--soft); font-size: 12px; }
.result-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; align-items: start; }
.result-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.result-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding: 14px 18px; background: rgba(255, 255, 255, .28); border-bottom: 1px solid var(--line); }
.result-card-head h3 { margin: 0; font-size: 15px; }
.result-card-head span { color: var(--muted); font-size: 12px; }
.china-map { width: 100%; height: 375px; }
.map-empty { padding: 0 18px 16px; color: var(--muted); font-size: 12px; text-align: center; }
.table-wrap { max-width: 100%; max-height: 430px; overflow: auto; }
.table-wrap::-webkit-scrollbar, .raw-data::-webkit-scrollbar { width: 8px; height: 8px; }
.table-wrap::-webkit-scrollbar-thumb, .raw-data::-webkit-scrollbar-thumb { background: rgba(46, 58, 62, .16); border: 2px solid transparent; border-radius: 8px; background-clip: padding-box; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.check-table { min-width: 640px; }
.table th { position: sticky; z-index: 2; top: 0; padding: 11px 14px; color: var(--muted); background: #f5f7f6; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 650; letter-spacing: .025em; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(35, 109, 233, .025); }
.table .cell-main { display: block; color: var(--ink); font-weight: 600; white-space: nowrap; }
.table .cell-sub { display: block; max-width: 190px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.table .number { font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; color: var(--muted); background: rgba(46, 58, 62, .05); border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-success { color: #477f20; background: var(--accent-soft); border-color: rgba(130, 221, 45, .12); }
.badge-failed { color: #a44039; background: rgba(255, 90, 80, .09); border-color: rgba(227, 76, 67, .08); }
.badge-pending { color: #916014; background: rgba(184, 120, 22, .09); border-color: rgba(184, 120, 22, .08); }
.node-flag { margin-right: 5px; font-size: 11px; text-transform: uppercase; }
.empty-state { padding: 42px 22px; color: var(--muted); text-align: center; }
.empty-state svg { width: 38px; height: 38px; margin-bottom: 10px; color: #99a2a5; }
.empty-state p { margin-bottom: 5px; }

.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card { position: relative; display: flex; flex-direction: column; min-height: 205px; padding: 23px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); transition: border-color .18s, box-shadow .18s, transform .18s; }
.tool-card:hover { color: var(--ink); border-color: rgba(35, 109, 233, .2); box-shadow: var(--shadow); transform: translateY(-3px); }
.tool-icon { display: grid; width: 44px; height: 44px; margin-bottom: 17px; color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(35, 109, 233, .05); border-radius: 12px; place-items: center; }
.tool-card:nth-child(3n + 2) .tool-icon { color: #568e25; background: var(--accent-soft); border-color: rgba(130, 221, 45, .08); }
.tool-icon svg { width: 23px; height: 23px; }
.tool-card h3 { margin-bottom: 7px; }
.tool-card p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.tool-card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--primary-dark); font-size: 13px; font-weight: 650; }
.tool-card-link::after { content: "→"; transition: transform .18s; }
.tool-card:hover .tool-card-link::after { transform: translateX(3px); }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 5px 4px; }
.feature-number { display: block; margin-bottom: 12px; color: rgba(35, 109, 233, .24); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.feature p { margin: 0; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.info-card h3 { font-size: 16px; }
.info-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.tool-result { min-width: 0; }
.result-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.detail-item { min-width: 0; padding: 16px 18px; background: rgba(251, 252, 252, .96); }
.detail-item.full { grid-column: 1 / -1; }
.detail-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; letter-spacing: .025em; }
.detail-value { display: block; overflow-wrap: anywhere; color: var(--ink); font-weight: 520; }
.detail-value.success { color: var(--success); }
.detail-value.danger { color: var(--danger); }
.raw-data { max-height: 430px; margin: 16px 0 0; padding: 18px; overflow: auto; color: var(--muted); background: rgba(243, 246, 245, .9); border: 1px solid var(--line); border-radius: 8px; font: 12px/1.65 "SFMono-Regular", Consolas, Monaco, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { padding: 4px 9px; color: var(--primary-dark); background: var(--primary-soft); border: 1px solid rgba(35, 109, 233, .05); border-radius: 8px; font-size: 12px; overflow-wrap: anywhere; }
.ip-address { color: var(--primary-dark); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }

.site-footer { margin-top: 48px; color: var(--soft); background: rgba(251, 252, 252, .72); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding: 38px 0 30px; }
.footer-brand img { display: block; width: 170px; height: 45px; margin-bottom: 10px; }
.footer-brand p { max-width: 390px; margin: 0; font-size: 13px; }
.footer-title { margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 650; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: var(--soft); font-size: 13px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0 20px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-bottom a { color: var(--soft); }
.noscript { padding: 12px; color: #9c3832; background: rgba(255, 90, 80, .07); text-align: center; }

@media (max-width: 960px) {
  .result-grid { grid-template-columns: 1fr; }
  .china-map { height: 400px; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { gap: 32px; }
}

@media (max-width: 800px) {
  .site-header { height: 55px; }
  .topbar-ad { display: none; }
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .topbar-ip { justify-self: end; justify-content: flex-end; max-width: none; overflow: hidden; border-left: 0; padding-left: 0; }
  .header-inner { gap: 16px; }
  .brand img { width: 135px; height: 45px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 54px; right: 0; left: 0; display: none; align-items: stretch; padding: 10px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
  .site-nav.is-open { display: grid; }
  .site-nav a { justify-content: center; color: var(--ink); }
  .site-nav a:hover { color: var(--primary-dark); }
  .site-nav .nav-admin { margin: 4px 0 0; }
  .hero { padding-top: 42px; }
  .check-form, .check-form.no-nodes { grid-template-columns: minmax(0, 1fr) 132px; }
  .check-form .form-field:first-child { grid-column: 1 / -1; }
  .features-grid, .info-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  .hero { padding: 34px 0 24px; }
  .hero-description { font-size: 15px; }
  .hero-points { gap: 8px 14px; font-size: 13px; }
  .section { padding: 36px 0; }
  .check-panel, .tool-panel { padding: 18px; border-radius: 8px; }
  .check-tabs { display: flex; width: 100%; }
  .check-tab { flex: 1; padding-inline: 12px; }
  .check-form, .check-form.no-nodes { grid-template-columns: 1fr; }
  .check-form .form-field:first-child { grid-column: auto; }
  .check-form > .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .form-actions .button { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 15px; }
  .stat-value { font-size: 22px; }
  .result-overview { flex-direction: column; gap: 8px; }
  .result-actions { width: 100%; justify-content: space-between; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; }
  .china-map { height: 330px; }
  .result-details { grid-template-columns: 1fr; }
  .detail-item.full { grid-column: auto; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

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

/* 导航图标（细线风格，跟随文字颜色） */
.site-nav a::before {
  content: "";
  flex: 0 0 auto;
  display: block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-color: currentColor;
  opacity: 1;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}
@media (max-width: 760px) {
  .site-nav a::before { width: 17px; height: 17px; -webkit-mask-size: 17px 17px; mask-size: 17px 17px; margin-right: 7px; }
}
.site-nav a[data-nav="home"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.6 12 4l8 6.6V20a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z'/%3E%3Cpath d='M9.6 20.6v-6h4.8v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.6 12 4l8 6.6V20a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z'/%3E%3Cpath d='M9.6 20.6v-6h4.8v6'/%3E%3C/svg%3E"); }
.site-nav a[data-nav="ping"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.4'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 1.9v3.1M12 19v3.1M1.9 12h3.1M19 12h3.1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.4'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 1.9v3.1M12 19v3.1M1.9 12h3.1M19 12h3.1'/%3E%3C/svg%3E"); }
.site-nav a[data-nav="speed"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 16.8a8.7 8.7 0 1 1 17.2 0'/%3E%3Cpath d='M12 13.1 16.1 8.9'/%3E%3Ccircle cx='12' cy='13.4' r='1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 16.8a8.7 8.7 0 1 1 17.2 0'/%3E%3Cpath d='M12 13.1 16.1 8.9'/%3E%3Ccircle cx='12' cy='13.4' r='1.4'/%3E%3C/svg%3E"); }
.site-nav a[data-nav="route"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.8' cy='6.2' r='2.3'/%3E%3Ccircle cx='18.2' cy='6.2' r='2.3'/%3E%3Ccircle cx='12' cy='17.9' r='2.3'/%3E%3Cpath d='M7.9 7.4 10.3 15.6M16.1 7.4 13.7 15.6M8.1 6.2h7.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.8' cy='6.2' r='2.3'/%3E%3Ccircle cx='18.2' cy='6.2' r='2.3'/%3E%3Ccircle cx='12' cy='17.9' r='2.3'/%3E%3Cpath d='M7.9 7.4 10.3 15.6M16.1 7.4 13.7 15.6M8.1 6.2h7.8'/%3E%3C/svg%3E"); }
.site-nav a[data-nav="tools"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='7' height='7' rx='1.7'/%3E%3Crect x='13.4' y='3.6' width='7' height='7' rx='1.7'/%3E%3Crect x='3.6' y='13.4' width='7' height='7' rx='1.7'/%3E%3Crect x='13.4' y='13.4' width='7' height='7' rx='1.7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='7' height='7' rx='1.7'/%3E%3Crect x='13.4' y='3.6' width='7' height='7' rx='1.7'/%3E%3Crect x='3.6' y='13.4' width='7' height='7' rx='1.7'/%3E%3Crect x='13.4' y='13.4' width='7' height='7' rx='1.7'/%3E%3C/svg%3E"); }
.site-nav a[data-nav="my-ip"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.3'/%3E%3Cellipse cx='12' cy='12' rx='3.6' ry='8.3'/%3E%3Cpath d='M3.7 12h16.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.3'/%3E%3Cellipse cx='12' cy='12' rx='3.6' ry='8.3'/%3E%3Cpath d='M3.7 12h16.6'/%3E%3C/svg%3E"); }
.site-nav a[data-nav="admin"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 19 6v6.1c0 4.3-3 7.1-7 8.5-4-1.4-7-4.2-7-8.5V6z'/%3E%3Cpath d='M9 12.1 11.2 14.3 15.2 10.3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 19 6v6.1c0 4.3-3 7.1-7 8.5-4-1.4-7-4.2-7-8.5V6z'/%3E%3Cpath d='M9 12.1 11.2 14.3 15.2 10.3'/%3E%3C/svg%3E"); }

/* ===== 导航栏：对齐 chahu.com 风格（黑色横条 + 圆角胶囊） ===== */
.site-header {
  height: 52px;
  background: #121212;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(255, 255, 255, .06);
}

.header-inner {
  gap: 4px;
  padding: 0;
}

body.has-topbar .site-header .site-nav {
  margin-inline-end: auto;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color .18s ease, color .18s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: #111315;
  background: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.site-nav a.is-active:hover,
.site-nav a[aria-current="page"]:hover {
  color: #111315;
  background: #fff;
}

.site-nav .nav-admin {
  margin-left: 8px;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
}

.site-nav .nav-admin:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

@media (max-width: 800px) {
  .site-header {
    height: 52px;
  }

  .site-nav {
    top: 52px;
    background: #fff;
  }

  .site-nav a {
    justify-content: center;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    font-weight: 500;
  }

  .site-nav a:hover {
    color: var(--primary-dark);
    background: rgba(0, 0, 0, .04);
  }

  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    color: var(--primary-dark);
    background: rgba(35, 109, 233, .08);
    box-shadow: none;
  }
}

/* ===== 字体：本地化 Geist / Geist Mono（与 chahu.com 一致） ===== */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
}

.mono,
.ck-table .mono,
.ck-ip-value,
.ck-ip-list,
.ck-dns-meta,
.eyebrow,
.tb-textarea,
.tb-out {
  font-family: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, Monaco, monospace;
}

/* ===== 等宽字体统一 Geist Mono ===== */
body .mono,
body .ck-table td.mono,
body .ck-table .mono,
body .ck-ip-value,
body .ck-ip-list,
body .ck-dns-meta,
body .eyebrow,
body .tb-textarea,
body .tb-out {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, Monaco, monospace !important;
}

/* ===== 主题：黑色 + 绿色（替换蓝色系） ===== */
:root {
  --primary: #16a34a;
  --primary-dark: #0f7a2b;
  --primary-soft: rgba(35, 171, 94, .12);
  --accent-shadow: 0 1px 2px rgba(15, 122, 43, .22), 0 8px 18px rgba(35, 171, 94, .2);
}

::selection { background: rgba(35, 171, 94, .18); }

:focus-visible { outline: 2px solid rgba(22, 163, 74, .75); outline-offset: 3px; }

.topbar-ip .ip-family.ipv6 { background: #111315; }

.input:focus, .select:focus, .textarea:focus { outline: 2px solid rgba(22, 163, 74, .5); }

.button:hover { color: var(--primary-dark); border-color: rgba(35, 171, 94, .22); }

.tool-card:hover { border-color: rgba(35, 171, 94, .22); }

.tool-icon { color: var(--primary-dark); background: var(--primary-soft); border-color: rgba(35, 171, 94, .06); }

.feature-number { color: rgba(35, 171, 94, .3); }

.tag-list span { color: var(--primary-dark); background: var(--primary-soft); border-color: rgba(35, 171, 94, .06); }

/* 激活态：黑底白字 */
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.site-nav a.is-active:hover,
.site-nav a[aria-current="page"]:hover {
  color: #fff;
  background: #000;
}

@media (max-width: 800px) {
  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    color: #fff;
    background: #111315;
  }
}

/* ===== 激活态 hover 保持黑底白字 ===== */
.site-nav a.is-active:hover,
.site-nav a[aria-current="page"]:hover {
  color: #fff !important;
  background: #000 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

/* ===== 导航白色激活态 / hover 不改色 / 字体对齐 chahu ===== */
/* 导航激活态：白色胶囊 + 深色字（与 chahu 一致） */
.site-nav a.is-active,
.site-nav a[aria-current="page"],
.site-nav a.is-active:hover,
.site-nav a[aria-current="page"]:hover {
  color: #101418 !important;
  background: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 800px) {
  .site-nav a.is-active,
.site-nav a[aria-current="page"] {
    color: #101418 !important;
    background: #fff !important;
  }
}

/* hover 不改色：保持默认外观 */
.button:hover {
  color: var(--muted);
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(46, 58, 62, .035);
  transform: none;
}

.tool-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  transform: none;
}

/* chahu 同款字体：Geist + Geist Fallback（Arial 指标对齐） */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

@font-face {
  font-family: "Geist Mono Fallback";
  src: local("Arial");
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}

body {
  font-family: "Geist", "Geist Fallback", "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif !important;
}

body .topbar-tag {
  font-family: "Geist", "Geist Fallback", "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif !important;
}

body .mono,
body .ck-table td.mono,
body .ck-table .mono,
body .ck-ip-value,
body .ck-ip-list,
body .ck-dns-meta,
body .eyebrow,
body .tb-textarea,
body .tb-out {
  font-family: "Geist Mono", "Geist Mono Fallback", ui-monospace, SFMono-Regular, Consolas, Monaco, monospace !important;
}
/* ===== 残留蓝色清理 ===== */
.topbar-logo:hover { color: inherit; }
.topbar-ip:hover b { color: #23ab5e; }
.button-primary:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 1px 2px rgba(15, 122, 43, .2);
  transform: none;
}
.table tbody tr:hover { background: rgba(16, 20, 24, .02); }

/* ===== DNS测速导航图标 ===== */
.site-nav a[data-nav="dns-speed"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='4' width='16.8' height='5.4' rx='1.8'/%3E%3Crect x='3.6' y='14.6' width='16.8' height='5.4' rx='1.8'/%3E%3Ccircle cx='7.2' cy='6.7' r='.9'/%3E%3Ccircle cx='7.2' cy='17.3' r='.9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='4' width='16.8' height='5.4' rx='1.8'/%3E%3Crect x='3.6' y='14.6' width='16.8' height='5.4' rx='1.8'/%3E%3Ccircle cx='7.2' cy='6.7' r='.9'/%3E%3Ccircle cx='7.2' cy='17.3' r='.9'/%3E%3C/svg%3E"); }


/* 20261121 深色页脚 + 品牌绿 */
.site-footer{margin-top:48px;color:#fff;background:#121418;border-top:1px solid rgba(255,255,255,.08);backdrop-filter:none;-webkit-backdrop-filter:none;}
.site-footer .footer-brand p{color:rgba(255,255,255,.86);}
.site-footer .footer-title{color:#fff;}
.site-footer .footer-links a{color:rgba(255,255,255,.8);}
.site-footer .footer-links a:hover{color:#24b362;}
.site-footer .footer-bottom{color:rgba(255,255,255,.72);border-top-color:rgba(255,255,255,.1);}
.site-footer .footer-bottom a{color:rgba(255,255,255,.72);}
.site-footer .footer-bottom a:hover{color:#24b362;}

/* 网络测速导航图标（上下行双向箭头） */
.site-nav a[data-nav="speedtest"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8.6%204.6v15'/%3E%3Cpath%20d='M5.3%2016.4%208.6%2019.7%2011.9%2016.4'/%3E%3Cpath%20d='M15.4%2019.4v-15'/%3E%3Cpath%20d='M12.1%207.6%2015.4%204.3%2018.7%207.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8.6%204.6v15'/%3E%3Cpath%20d='M5.3%2016.4%208.6%2019.7%2011.9%2016.4'/%3E%3Cpath%20d='M15.4%2019.4v-15'/%3E%3Cpath%20d='M12.1%207.6%2015.4%204.3%2018.7%207.6'/%3E%3C/svg%3E"); }

/* ============ 服务器之家 · 内容站布局 ============ */
.brand{display:inline-flex;align-items:center;gap:10px;}
.brand-text{color:#fff;font-size:16px;font-weight:700;letter-spacing:.5px;}
.home-section{margin-top:32px;}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}
.section-title{font-size:20px;font-weight:700;color:var(--ink);position:relative;padding-left:12px;}
.section-title::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:18px;border-radius:4px;background:var(--primary);}
.section-more{font-size:13px;color:var(--muted);}
.section-more:hover{color:var(--primary);}

/* 列表条目 */
.list-block{display:flex;flex-direction:column;gap:14px;}
.list-item{display:flex;gap:18px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);}
.list-item-main{flex:1;min-width:0;}
.list-item-title{font-size:17px;font-weight:600;line-height:1.4;margin-bottom:6px;}
.list-item-title a{color:var(--ink);}
.list-item-title a:hover{color:var(--primary);}
.list-item-excerpt{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:8px;}
.list-item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:12px;color:var(--soft);}
.meta-cat{color:var(--primary);}
.list-item-cover{flex:none;width:180px;}
.list-item-cover img{width:100%;height:110px;object-fit:cover;border-radius:10px;}

/* 网格卡片（电脑 4 / 手机 2） */
.grid-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.grid-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;}
.grid-card-cover{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--background);}
.grid-card-cover img{width:100%;height:100%;object-fit:cover;}
.cover-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:30px;color:#c4ccd0;}
.cover-placeholder.lg{font-size:44px;}
.grid-card-body{padding:14px;display:flex;flex-direction:column;gap:6px;}
.grid-card-title{font-size:15px;font-weight:600;line-height:1.4;}
.grid-card-title a{color:var(--ink);}
.grid-card-title a:hover{color:var(--primary);}
.grid-card-excerpt{font-size:12px;color:var(--muted);line-height:1.6;}

/* 软件卡片（电脑 8 / 手机 3，图上文下） */
.soft-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:14px;}
.soft-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-soft);}
.soft-card-cover{display:block;aspect-ratio:1/1;overflow:hidden;background:var(--background);}
.soft-card-cover img{width:100%;height:100%;object-fit:cover;}
.soft-card-body{padding:8px 10px 10px;text-align:center;}
.soft-card-title{font-size:13px;font-weight:600;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.soft-card-title a{color:var(--ink);}
.soft-card-title a:hover{color:var(--primary);}
.soft-card-size{font-size:11px;color:var(--soft);}

/* 三栏列表 */
.home-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.col-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;}
.col-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.col-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:14px;}
.col-list li:last-child{border-bottom:0;}
.col-list a{color:var(--ink);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.col-list a:hover{color:var(--primary);}
.col-date{font-size:12px;color:var(--soft);flex:none;}

/* 友链 */
.friend-links{display:flex;flex-wrap:wrap;gap:10px 18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;}
.friend-links a{font-size:13px;color:var(--muted);}
.friend-links a:hover{color:var(--primary);}

/* 分类头 / 文章页 */
.cat-head{margin:24px 0 18px;}
.cat-title{font-size:24px;font-weight:700;}
.cat-desc{margin-top:8px;color:var(--muted);font-size:14px;}
.article-page{margin:24px auto 0;padding-bottom:20px;}
.article-head{margin-bottom:20px;}
.article-title{font-size:26px;font-weight:700;line-height:1.4;margin-bottom:10px;}
.article-content{font-size:15px;line-height:1.9;color:#26303a;}
.article-content img{max-width:100%;border-radius:10px;}
.article-content video{max-width:100%;border-radius:10px;}
.article-content h2,.article-content h3{margin:22px 0 10px;}
.article-content pre{background:#1f242c;color:#e6edf3;padding:14px;border-radius:10px;overflow:auto;font-size:13px;}
.article-tags{margin-top:26px;display:flex;flex-wrap:wrap;gap:10px;}
.tag-chip{font-size:12px;color:var(--muted);background:var(--background);border:1px solid var(--line);border-radius:20px;padding:5px 12px;}
.tag-chip:hover{color:var(--primary);border-color:var(--primary);}

/* 软件信息卡片 */
.soft-info-card{display:flex;gap:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:24px;}
.soft-info-cover{flex:none;width:120px;}
.soft-info-cover img{width:120px;height:120px;object-fit:cover;border-radius:14px;}
.soft-info-body{flex:1;min-width:0;}
.soft-info-title{font-size:20px;font-weight:700;line-height:1.4;margin-bottom:14px;}
.soft-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 24px;}
.soft-info-field{font-size:13px;}
.soft-info-label{color:var(--soft);}
.soft-info-value{color:var(--ink);}

/* 下载区 */
.download-box{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0;padding:18px 22px;background:linear-gradient(135deg,rgba(35,109,233,.08),rgba(130,221,45,.1));border:1px solid var(--line);border-radius:var(--radius);}
.download-box-head{display:flex;align-items:center;gap:14px;}
.download-icon{font-size:26px;}
.download-title{font-size:15px;font-weight:600;}
.download-size{font-size:12px;color:var(--muted);margin-top:2px;}
.download-btn{flex:none;background:var(--primary);color:#fff;padding:11px 26px;border-radius:22px;font-size:14px;font-weight:600;}
.download-btn:hover{background:var(--primary-dark);color:#fff;}

/* 分页 / 搜索 */
.pager{display:flex;gap:8px;margin-top:26px;}
.pager a{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--muted);background:#fff;}
.pager a.is-current{background:var(--primary);color:#fff;border-color:var(--primary);}
.search-form{display:flex;gap:10px;margin:16px 0 22px;}
.search-form input{flex:1;max-width:420px;padding:11px 14px;border:1px solid var(--line);border-radius:10px;font-size:14px;}
.search-form button{padding:11px 22px;background:var(--primary);color:#fff;border-radius:10px;font-size:14px;}
.empty-tip{color:var(--soft);font-size:14px;padding:30px 0;}

/* 响应式 */
@media (max-width: 1080px){
  .soft-grid{grid-template-columns:repeat(4,1fr);}
  .grid-grid{grid-template-columns:repeat(3,1fr);}
  .home-cols{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 720px){
  .soft-grid{grid-template-columns:repeat(3,1fr);}
  .grid-grid{grid-template-columns:repeat(2,1fr);}
  .home-cols{grid-template-columns:1fr;}
  .list-item{flex-direction:column;gap:12px;}
  .list-item-cover{width:100%;}
  .list-item-cover img{height:160px;}
  .soft-info-card{flex-direction:column;gap:14px;}
  .soft-info-grid{grid-template-columns:repeat(2,1fr);}
  .article-title{font-size:21px;}
  .brand-text{display:none;}
}

/* 清除主站遗留的导航 mask 图标方块（新站导航不带图标） */
.site-nav a::before { display: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
