/* ============================================================
   前端控制台样式（配合 layui 2.6.8 使用）
   ============================================================ */
:root {
    --primary: #1e6fdb;
    --primary-2: #4f93f2;
    --primary-dark: #1454ae;
    --ink: #0f1f38;
    --ink-2: #23334d;
    --muted: #64748b;
    --line: #e3eaf4;
    --bg: #f4f7fc;
    --card: #ffffff;
    --ok: #10b981;
    --warn: #f59e0b;
    --bad: #ef4444;
    --radius: 14px;
    --shadow: 0 12px 34px rgba(15, 44, 90, 0.08);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

.pc-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部 ---------------- */
.pc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.pc-header-top { display: flex; align-items: center; gap: 22px; height: 96px; }

.pc-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; min-width: 0; }
.pc-brand-mark {
    width: 44px; height: 44px; border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), #16b6b0);
    color: #fff; font-weight: 700; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(30, 111, 219, 0.28);
}
.pc-brand-logo { width: 250px; height: 80px; object-fit: contain; border-radius: 10px; display: block; }
.pc-brand-text { display: none; }

/* 页头广告位：跟随容器宽度自动缩放，裁剪不变形 */
.pc-banner {
    flex: 1 1 auto; min-width: 0; height: 56px;
    display: block; position: relative; overflow: hidden;
    border-radius: 10px; border: 1px solid var(--line);
    background: #f6f9fe;
}
.pc-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pc-banner:hover img { transform: scale(1.03); }
.pc-banner-empty {
    display: flex; flex-direction: column; justify-content: center; gap: 3px;
    padding: 0 18px;
    background: linear-gradient(120deg, rgba(30,111,219,.10), rgba(22,182,176,.10));
}
.pc-banner-empty span { font-size: 13px; font-weight: 600; color: var(--primary-dark); }
.pc-banner-empty em { font-style: normal; font-size: 11.5px; color: var(--muted); }

.pc-navbar { border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
.pc-navbar-inner { display: flex; align-items: center; height: 48px; gap: 12px; }
.pc-nav { display: flex; gap: 2px; margin: 0; overflow-x: auto; scrollbar-width: none; }
.pc-nav::-webkit-scrollbar { display: none; }
.pc-nav a {
    color: var(--ink-2); font-size: 14px; padding: 7px 14px; border-radius: 8px;
    white-space: nowrap; transition: background .2s, color .2s;
}
.pc-nav a:hover { background: #eef4ff; color: var(--primary); }
.pc-nav a.on { color: var(--primary); font-weight: 600; background: #eef4ff; }
.pc-navbar-note { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------------- 按钮 ---------------- */
.pc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid transparent; border-radius: 9px;
    padding: 8px 16px; font-size: 13.5px; cursor: pointer;
    transition: all .2s ease; white-space: nowrap;
    background: #fff; color: var(--ink-2);
}
.pc-btn:active { transform: translateY(1px); }
.pc-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff; box-shadow: 0 8px 18px rgba(30, 111, 219, .26);
}
.pc-btn-primary:hover { box-shadow: 0 10px 24px rgba(30, 111, 219, .34); }
.pc-btn-lg { padding: 11px 26px; font-size: 14.5px; border-radius: 10px; }
.pc-btn-ghost { border-color: var(--line); background: #fff; color: var(--ink-2); }
.pc-btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.pc-btn-soft {
    background: #eef4ff; color: var(--primary-dark); border-color: rgba(30, 111, 219, .16);
}
.pc-btn-soft:hover { background: #e3edff; }
.pc-btn-link { background: none; border: none; color: var(--primary); padding: 6px 6px; font-size: 13px; }
.pc-btn-link:hover { text-decoration: underline; }
.pc-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------------- 公告 ---------------- */
.pc-notice { background: #fff8e6; border-bottom: 1px solid #ffe8a8; }
.pc-notice .pc-container { font-size: 13px; color: #8a6100; padding-top: 8px; padding-bottom: 8px; }
.pc-notice i { font-style: normal; background: #f0b400; color: #fff; border-radius: 4px; padding: 1px 7px; font-size: 11px; margin-right: 8px; }

/* ---------------- Hero ---------------- */
.pc-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, #061a33 0%, #0b2b52 45%, #103f74 100%);
    color: #fff; padding: 42px 0 96px;
}
.pc-hero-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 78% 12%, rgba(22, 182, 176, .28), transparent 65%),
        radial-gradient(760px 420px at 8% 100%, rgba(30, 111, 219, .40), transparent 60%);
}
.pc-hero::after {
    content: ""; position: absolute; inset: 0; opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
}
.pc-hero-inner { position: relative; z-index: 2; }
.pc-hero-copy { max-width: 760px; }
.pc-eyebrow {
    display: inline-block; font-size: 12px; letter-spacing: 1px;
    color: #bfe3ff; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.pc-hero h1 { font-size: 34px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; letter-spacing: .3px; }
.pc-hero p { color: #c6d8f0; font-size: 14.5px; margin: 0 0 24px; max-width: 680px; }
.pc-hero-points { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.pc-hero-points li { display: flex; flex-direction: column; }
.pc-hero-points b { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.2; }
.pc-hero-points span { font-size: 12px; color: #9fb8d8; }

/* ---------------- 主区 ---------------- */
.pc-main { margin-top: -72px; position: relative; z-index: 3; padding-bottom: 30px; }
.pc-card {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid rgba(228, 236, 248, .8);
    margin-bottom: 22px; overflow: hidden;
}

/* 检测控制台 */
.pc-console { padding: 8px 24px 20px; }
.pc-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 0 16px; border-bottom: 1px dashed var(--line); }
.pc-tab {
    display: inline-flex; align-items: center; gap: 8px;
    background: #f6f9fe; border: 1px solid var(--line); border-radius: 10px;
    padding: 9px 14px; cursor: pointer; color: var(--ink-2); font-size: 13.5px;
    transition: all .2s;
}
.pc-tab:hover { border-color: rgba(30, 111, 219, .4); color: var(--primary); }
.pc-tab.on { background: linear-gradient(135deg, rgba(30,111,219,.1), rgba(22,182,176,.09)); border-color: rgba(30,111,219,.3); color: var(--primary-dark); font-weight: 600; }
.pc-tab-tag {
    font-size: 10px; letter-spacing: .5px; background: #fff; border: 1px solid var(--line);
    color: var(--primary); padding: 2px 6px; border-radius: 5px; font-weight: 600;
}
.pc-tab.on .pc-tab-tag { background: var(--primary); border-color: var(--primary); color: #fff; }

.pc-console-body { padding-top: 18px; }
.pc-field-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.pc-field { display: flex; flex-direction: column; gap: 6px; }
.pc-field-grow { flex: 1 1 420px; min-width: 260px; }
.pc-field-port, .pc-field-record { flex: 0 0 130px; }
.pc-field > .pc-field-label { font-size: 12px; color: var(--muted); letter-spacing: .3px; }
.pc-input {
    height: 42px; border: 1px solid var(--line); border-radius: 9px;
    padding: 0 13px; font-size: 14px; color: var(--ink);
    background: #fbfdff; transition: border-color .2s, box-shadow .2s;
    width: 100%; font-family: inherit;
}
.pc-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 111, 219, .12); background: #fff; }
.pc-select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%2364748b' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 28px; }

.pc-carrier-box {
    margin-top: 14px; padding: 14px 16px 12px;
    background: #f8fbfe; border: 1px solid var(--line); border-radius: 12px;
}
.pc-carrier-box.off { display: none; }
.pc-carrier-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pc-carrier-head .pc-field-label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.pc-carrier-tip { font-size: 11.5px; color: var(--muted); }
.pc-carrier-tip b { color: var(--primary); }
.pc-carrier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-carrier {
    position: relative; display: flex; flex-direction: column; gap: 3px;
    padding: 12px 14px; text-align: left; cursor: pointer;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    font-family: inherit; transition: border-color .2s, box-shadow .2s, background .2s;
}
.pc-carrier:hover { border-color: rgba(30,111,219,.4); }
.pc-carrier-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.pc-carrier-count { font-size: 11.5px; color: var(--muted); }
.pc-carrier-check {
    position: absolute; right: 12px; top: 12px;
    font-size: 11px; color: var(--muted);
    border: 1px solid var(--line); border-radius: 12px; padding: 1px 8px;
}
.pc-carrier.on { border-color: var(--primary); background: #eef4ff; box-shadow: 0 6px 16px rgba(30,111,219,.12); }
.pc-carrier.on .pc-carrier-name { color: var(--primary-dark); }
.pc-carrier.on .pc-carrier-check { background: var(--primary); color: #fff; border-color: var(--primary); }
.pc-carrier.disabled { opacity: .55; cursor: not-allowed; }
.pc-carrier-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pc-carrier-sum b { color: var(--primary); }
.pc-console-hint { margin: 12px 2px 0; color: var(--muted); font-size: 12.5px; }

/* ---------------- 结果 ---------------- */
.pc-result { padding: 20px 24px 24px; }
.pc-result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.pc-result-head h2 { font-size: 18px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.pc-result-sub { color: var(--muted); font-size: 12.5px; margin: 0; }
.pc-result-actions { display: flex; gap: 8px; }
.pc-badge {
    display: inline-block; font-size: 11.5px; color: var(--primary-dark);
    background: #eaf2ff; border: 1px solid rgba(30, 111, 219, .18);
    padding: 2px 9px; border-radius: 20px; font-weight: 500;
}
.pc-badge-channel { background: #e8f7f4; color: #0f766e; border-color: rgba(16, 185, 129, .22); }

.pc-progress { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; }
.pc-progress-track { flex: 1; height: 6px; background: #eef2f8; border-radius: 6px; overflow: hidden; }
.pc-progress-track i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--primary), #16b6b0); transition: width .5s ease; }
.pc-progress-text { font-size: 12.5px; color: var(--muted); min-width: 130px; text-align: right; }

.pc-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0 18px; }
.pc-stat {
    background: linear-gradient(180deg, #fbfdff, #f6faff);
    border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
    display: flex; flex-direction: column; gap: 2px;
}
.pc-stat em { font-style: normal; font-size: 12px; color: var(--muted); }
.pc-stat b { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.pc-stat span { font-size: 12px; color: var(--muted); }

.pc-table-wrap { width: 100%; overflow: auto; max-height: 560px; border: 1px solid var(--line); border-radius: 12px; }
.pc-table thead th { position: sticky; top: 0; z-index: 2; background: #f7fafe; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.pc-table th, .pc-table td { padding: 10px 12px; border-bottom: 1px solid #eef2f8; text-align: left; vertical-align: middle; }
.pc-table th { background: #f8fbff; color: var(--muted); font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.pc-table tr:last-child td { border-bottom: none; }
.pc-table tbody tr:hover { background: #f9fcff; }
.pc-table td code, .pc-doc-path { font-family: Consolas, "SF Mono", monospace; font-size: 12.5px; }

.pc-latency { display: flex; align-items: center; gap: 8px; }
.pc-latency .bar { flex: 1; height: 6px; background: #eef2f8; border-radius: 4px; overflow: hidden; min-width: 60px; }
.pc-latency .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #10b981, #84cc16); }
.pc-latency .val { font-weight: 600; min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.pc-latency.warn .val { color: var(--warn); }
.pc-latency.bad .val { color: var(--bad); }

.pc-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; }
.pc-status .dot { width: 7px; height: 7px; border-radius: 50%; }
.pc-status.ok { color: var(--ok); } .pc-status.ok .dot { background: var(--ok); }
.pc-status.fail { color: var(--bad); } .pc-status.fail .dot { background: var(--bad); }
.pc-status.timeout { color: var(--warn); } .pc-status.timeout .dot { background: var(--warn); }

.pc-isp { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; background: #f2f5fa; color: var(--ink-2); }
.pc-isp.电信 { background: #e8f1ff; color: #1e5fb8; }
.pc-isp.联通 { background: #f1eaff; color: #6b46c1; }
.pc-isp.移动 { background: #e9f8f1; color: #0f766e; }

.pc-special { margin-top: 16px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: #f9fcff; }
.pc-special h4 { margin: 0 0 10px; font-size: 14px; }
.pc-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 18px; }
.pc-kv div { display: flex; gap: 8px; font-size: 12.5px; }
.pc-kv label { color: var(--muted); min-width: 86px; flex: 0 0 auto; }
.pc-kv span { color: var(--ink); word-break: break-all; }
.pc-dns-list { margin: 0; padding: 0; list-style: none; }
.pc-dns-list li { font-family: Consolas, monospace; font-size: 12.5px; padding: 5px 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 6px; word-break: break-all; }

/* ---------------- 区块头 ---------------- */
.pc-block-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 24px 14px; flex-wrap: wrap; }
.pc-block-head h2 { margin: 0 0 4px; font-size: 18px; }
.pc-block-head p { margin: 0; color: var(--muted); font-size: 12.5px; max-width: 720px; }

/* ---------------- 地图 ---------------- */
.pc-map-card { padding-bottom: 18px; }
.pc-map-tools { display: flex; align-items: center; gap: 8px; }
.pc-map-body { display: flex; gap: 18px; padding: 0 24px; align-items: stretch; }
.pc-map-canvas { flex: 1; min-width: 0; height: clamp(320px, 48vh, 540px); border-radius: 12px; background: #fbfdff; border: 1px solid var(--line); }
.pc-map-side {
    width: 300px; flex: 0 0 300px; border-left: 1px solid var(--line);
    padding-left: 18px; display: flex; flex-direction: column;
}
.pc-map-side h4 { margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); }
.pc-map-list { flex: 1; overflow-y: auto; max-height: 400px; }
.pc-map-tip, .pc-map-empty { color: var(--muted); font-size: 12.5px; }
.pc-map-item { border-bottom: 1px dashed var(--line); padding: 8px 0; }
.pc-map-item .top { display: flex; justify-content: space-between; font-size: 13px; }
.pc-map-item .top b { font-weight: 600; }
.pc-map-item .top span { font-variant-numeric: tabular-nums; }
.pc-map-item .sub { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.pc-map-legend { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.lg-title { font-size: 11.5px; color: var(--muted); }
.lg-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 6px 0 4px; }
.lg-bar i { flex: 1; }
.lg-ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }

/* ---------------- API 文档 ---------------- */
.pc-docs { padding-bottom: 6px; }
.pc-docs-body { display: flex; gap: 0; border-top: 1px solid var(--line); }
.pc-docs-nav {
    width: 240px; flex: 0 0 240px; padding: 16px 10px 16px 24px;
    border-right: 1px solid var(--line); max-height: 720px; overflow-y: auto;
}
.pc-docs-group { font-size: 11.5px; color: var(--muted); letter-spacing: .5px; margin: 14px 0 6px; }
.pc-docs-group:first-child { margin-top: 0; }
.pc-docs-link {
    display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px;
    color: var(--ink-2); font-size: 13px; margin-bottom: 2px;
}
.pc-docs-link:hover { background: #f5f9ff; color: var(--primary); }
.pc-docs-link.on { background: #eef4ff; color: var(--primary-dark); font-weight: 600; }
.pc-docs-link .m { font-size: 9.5px; padding: 1px 5px; border-radius: 4px; font-family: Consolas, monospace; }
.m-get { background: #e9f7ef; color: #0f766e; }
.m-post { background: #fff1e8; color: #b45309; }

.pc-docs-main { flex: 1; padding: 22px 26px 26px; min-width: 0; }
.pc-doc { display: none; }
.pc-doc.on { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pc-doc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc-doc-head .m { font-family: Consolas, monospace; font-size: 11px; padding: 2px 8px; border-radius: 5px; font-weight: 600; }
.pc-doc-path { background: #f4f7fc; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; color: var(--ink-2); }
.pc-doc h3 { font-size: 19px; margin: 12px 0 6px; }
.pc-doc-desc { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.pc-doc-sub { font-size: 13.5px; margin: 18px 0 8px; color: var(--ink-2); }
.pc-table-doc { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pc-table-doc td { font-size: 12.5px; color: var(--ink-2); }
.pc-doc-result { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; background: #fbfdff; }
.pc-doc-result p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.pc-doc-alt { margin-top: 14px; border-left: 3px solid #14b8a6; background: #f2fbfa; padding: 10px 14px; border-radius: 0 10px 10px 0; }
.pc-alt-tag { font-size: 11px; background: #14b8a6; color: #fff; border-radius: 4px; padding: 1px 7px; margin-right: 8px; }
.pc-doc-alt code { font-family: Consolas, monospace; font-size: 12.5px; color: #0f766e; }
.pc-doc-alt p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

.pc-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.pc-code { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0e1b2e; }
.pc-code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #14253d; color: #cfe0f5; font-size: 12px; }
.pc-code-head span { opacity: .85; }
.pc-copy { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #dbeafe; font-size: 11.5px; padding: 2px 9px; border-radius: 5px; cursor: pointer; }
.pc-copy:hover { background: rgba(255,255,255,.16); }
.pc-code pre { margin: 0; padding: 14px; color: #c8d8ee; font-family: Consolas, "SF Mono", monospace; font-size: 12px; line-height: 1.75; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.pc-doc-actions { display: flex; gap: 8px; margin-top: 18px; }

/* ---------------- 最近检测 ---------------- */
.pc-recent { padding: 0 24px 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pc-recent-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fbfdff; }
.pc-recent-item .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.pc-recent-item .host { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 4px 0 6px; word-break: break-all; }
.pc-recent-item .bottom { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.pc-recent-item .bottom b { color: var(--primary); font-weight: 600; }
.pc-empty { color: var(--muted); font-size: 13px; padding: 10px 0; }

/* ---------------- 弹层（节点选择器） ---------------- */
.pc-picker { padding: 0; }
.pc-picker-toolbar { display: flex; gap: 8px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pc-picker-search { flex: 1; min-width: 160px; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font-size: 13px; }
.pc-picker-search:focus { outline: none; border-color: var(--primary); }
.pc-picker-filter { display: flex; gap: 4px; }
.pc-chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 3px 11px; font-size: 12px; cursor: pointer; color: var(--ink-2); }
.pc-chip-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pc-picker-body { max-height: 380px; overflow-y: auto; padding: 12px 18px; }
.pc-picker-group { margin-bottom: 14px; }
.pc-picker-group h5 { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.pc-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.pc-node-option {
    display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px;
    padding: 7px 10px; font-size: 12.5px; cursor: pointer; background: #fff; user-select: none;
}
.pc-node-option:hover { border-color: rgba(30,111,219,.4); background: #f8fbff; }
.pc-node-option.on { border-color: var(--primary); background: #eef4ff; color: var(--primary-dark); }
.pc-node-option input { accent-color: var(--primary); }
.pc-node-option i { font-style: normal; color: var(--muted); font-size: 11px; margin-left: auto; }
.pc-picker-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); background: #fbfdff; }
.pc-picker-foot .info { font-size: 12.5px; color: var(--muted); }
.pc-picker-foot .info b { color: var(--primary); }

/* ---------------- 页脚 ---------------- */
.pc-footer { background: #071a33; color: #cddcf0; margin-top: 30px; }
.pc-footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 34px 20px 20px; flex-wrap: wrap; }
.pc-footer strong { font-size: 15px; color: #fff; }
.pc-footer p { margin: 6px 0 0; font-size: 12.5px; color: #8fa6c4; max-width: 560px; }
.pc-footer-links { display: flex; gap: 18px; font-size: 13px; align-items: center; }
.pc-footer-links a { color: #cddcf0; }
.pc-footer-links a:hover { color: #fff; }
.pc-footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); padding: 14px 20px 24px; font-size: 12px; color: #7f96b4; flex-wrap: wrap; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
    .pc-header-top { gap: 16px; height: 92px; }
    .pc-banner { height: 46px; }
    .pc-brand-text em { display: none; }
    .pc-navbar-note { display: none; }
    .pc-map-body { flex-direction: column; }
    .pc-map-side { width: auto; flex: none; border-left: none; border-top: 1px solid var(--line); padding: 14px 0 0; }
    .pc-map-list { max-height: 220px; }
    .pc-docs-body { flex-direction: column; }
    .pc-docs-nav { width: auto; flex: none; border-right: none; border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; padding: 12px 18px; max-height: none; }
    .pc-docs-group { display: none; }
    .pc-docs-link { white-space: nowrap; }
    .pc-doc-grid { grid-template-columns: 1fr; }
    .pc-hero h1 { font-size: 27px; }
}
@media (max-width: 680px) {
    .pc-header-top { flex-wrap: wrap; height: auto; padding: 10px 0 12px; gap: 10px; }
    .pc-brand { flex: 1 1 100%; }
    .pc-banner { flex: 1 1 100%; height: 44px; }
    .pc-navbar-inner { height: 44px; }
    .pc-main { margin-top: -56px; }
    .pc-console { padding: 6px 16px 16px; }
    .pc-summary { grid-template-columns: repeat(2, 1fr); }
    .pc-field-row { gap: 10px; }
    .pc-field-grow { flex: 1 1 100%; }
    .pc-field-port, .pc-field-record { flex: 1 1 40%; }
    .pc-btn-lg { width: 100%; }
    .pc-carrier-grid { grid-template-columns: 1fr; }
    .pc-hero { padding: 30px 0 88px; }
    .pc-hero-points { gap: 18px; flex-wrap: wrap; }
    .pc-hero-points b { font-size: 19px; }
    .pc-block-head, .pc-docs-main { padding-left: 16px; padding-right: 16px; }
    .pc-map-body { padding: 0 16px; }
    .pc-map-canvas { height: 360px; }
    .pc-result { padding: 16px; }
}

/* layui layer 内嵌样式适配 */
.layui-layer-title { font-weight: 600 !important; }
.pc-layer-title { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ============================================================
   v1.2 改版：广告位 / 固定地图 / 节点广告表 / 弹层验证码 / 文章
   ============================================================ */
.pc-main { margin-top: 18px; padding-bottom: 30px; }

.pc-ad-mark {
    position: absolute; right: 8px; bottom: 8px;
    font-size: 10px; line-height: 1; color: #fff;
    background: rgba(15, 31, 56, .55); border-radius: 4px; padding: 3px 6px;
    letter-spacing: 1px;
}

/* 顶部广告区（替代原黑色 Hero） */
.pc-adzone { padding: 18px 0 4px; background: #f4f7fc; }
.pc-adzone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: 12.5px; }
.pc-adzone-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #fff; background: #94a3b8; border-radius: 4px; padding: 2px 6px; }
.pc-adzone-head b { color: var(--ink-2); font-size: 13px; }
.pc-adzone-head em { font-style: normal; }
.pc-ad-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 10px; }
.pc-ad-main, .pc-ad-sub {
    position: relative; display: block; overflow: hidden; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; min-width: 0;
}
.pc-ad-main { height: 196px; }
.pc-ad-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.pc-ad-sub { height: auto; min-height: 82px; }
.pc-ad-main img, .pc-ad-sub img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pc-ad-main:hover img, .pc-ad-sub:hover img { transform: scale(1.03); }
.pc-ad-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background:
        linear-gradient(135deg, rgba(30,111,219,.10), rgba(22,182,176,.10) 60%, rgba(30,111,219,.06)),
        repeating-linear-gradient(45deg, #fbfdff, #fbfdff 10px, #f7fbff 10px, #f7fbff 20px);
    color: var(--primary-dark); text-align: center;
}
.pc-ad-empty span { font-size: 14px; font-weight: 600; }
.pc-ad-empty em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.pc-ad-main.pc-ad-empty span { font-size: 17px; }

/* 检测进度卡 */
.pc-live { padding: 20px 24px 22px; }
.pc-summary-4 { grid-template-columns: repeat(4, 1fr); }

/* 固定地图，不允许滚轮缩放 */
.pc-map-canvas.pc-map-fixed { height: 460px; }
.pc-map-fixed { cursor: default; }
.pc-node-block { padding: 8px 24px 20px; }
.pc-node-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 10px; flex-wrap: wrap; }
.pc-node-head h3 { margin: 0; font-size: 15.5px; }
.pc-node-head span { font-size: 12px; color: var(--muted); }
.pc-node-wrap { max-height: 420px; }
.pc-node-table th:nth-child(1), .pc-node-table td:nth-child(1) { padding-left: 16px; }
.pc-node-table .pc-node-empty { text-align: center; color: #94a3b8; padding: 26px 0; }
.pc-node-region { font-weight: 600; color: var(--ink-2); }
.pc-node-delay { font-variant-numeric: tabular-nums; font-weight: 600; }
.pc-node-delay.ok { color: var(--ok); }
.pc-node-delay.warn { color: var(--warn); }
.pc-node-delay.bad { color: var(--bad); }
.pc-node-delay.none { color: #94a3b8; font-weight: 400; }
.pc-text-ad {
    display: inline-block; max-width: 100%; color: var(--primary-dark);
    font-size: 12.5px; line-height: 1.5; text-decoration: none;
    border-bottom: 1px dashed rgba(30,111,219,.35);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
}
.pc-text-ad:hover { color: var(--primary); border-bottom-style: solid; }
.pc-node-ad-empty { color: #c0c9d6; }

/* 检测弹层 */
.pc-testbox { padding: 18px 22px 20px; background: #fff; }
.pc-test-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.pc-test-field { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pc-test-field .test-host { flex: 1 1 280px; }
.pc-test-field .test-port { flex: 0 0 150px; display: none; }
.pc-test-field .test-record { flex: 0 0 120px; display: none; }
.pc-testbox .pc-carrier-box { margin-top: 14px; }
.pc-testbox .pc-carrier-tip { font-size: 11.5px; }
.pc-testbox .pc-carrier-sum { justify-content: flex-start; }

/* 滑动验证码 */
.pc-captcha { margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.cap-stage { position: relative; width: 320px; max-width: 100%; height: 140px; border-radius: 8px; overflow: hidden; background: #eef4fb; user-select: none; }
.cap-stage .cap-bg { display: block; width: 100%; height: 100%; object-fit: cover; }
.cap-piece { position: absolute; left: 0; top: 47px; width: 46px; height: 46px; cursor: grab; box-shadow: 0 2px 8px rgba(15,31,56,.18); }
.cap-refresh { position: absolute; right: 8px; top: 8px; font-size: 11px; color: #fff; background: rgba(15,31,56,.45); border-radius: 4px; padding: 2px 7px; cursor: pointer; }
.cap-refresh:hover { background: rgba(15,31,56,.65); }
.cap-track { position: relative; width: 320px; max-width: 100%; height: 38px; margin-top: 10px; border-radius: 8px; background: #eef2f8; border: 1px solid var(--line); overflow: hidden; }
.cap-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(30,111,219,.18), rgba(22,182,176,.22)); }
.cap-handle {
    position: absolute; left: 0; top: 0; width: 42px; height: 38px; margin-left: -1px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    color: var(--primary); font-weight: 700; cursor: grab; box-shadow: 0 2px 8px rgba(15,44,90,.10);
}
.cap-handle.dragging { cursor: grabbing; }
.cap-status { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.cap-status.ok { color: var(--ok); }
.cap-status.bad { color: var(--bad); }
.cap-loading { display: flex; align-items: center; justify-content: center; width: 320px; max-width: 100%; height: 140px; color: var(--muted); font-size: 12.5px; background: #eef4fb; border-radius: 8px; }

.pc-test-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pc-test-foot .pc-console-hint { margin: 0; flex: 1 1 220px; }
.pc-test-foot .pc-btn-lg { min-width: 140px; }

/* 文章 */
.pc-articles { padding-bottom: 6px; }
.pc-article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 24px 22px; }
.pc-article-card, .pc-article-row { display: flex; gap: 12px; color: inherit; }
.pc-article-card { flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.pc-article-card:hover { box-shadow: 0 10px 26px rgba(15,44,90,.10); transform: translateY(-2px); }
.pc-article-cover {
    height: 112px; flex: 0 0 auto; background: linear-gradient(135deg, #e8f2ff, #e6faf7 60%, #eef4ff);
    background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center;
    color: var(--primary-dark); font-weight: 600; font-size: 15px; letter-spacing: .5px;
}
.pc-article-body { padding: 12px 14px 14px; min-width: 0; }
.pc-article-card .pc-article-body { padding: 12px 14px 16px; }
.pc-article-body h3 { margin: 0 0 6px; font-size: 14.5px; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-article-body p { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-article-meta { font-size: 11.5px; color: #94a3b8; }
.pc-articles-page, .pc-article-detail { max-width: 1000px; }
.pc-page-title { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 14px; }
.pc-page-title h1 { margin: 0; font-size: 22px; }
.pc-page-title p { margin: 0; color: var(--muted); font-size: 12.5px; }
.pc-article-list { display: flex; flex-direction: column; gap: 12px; }
.pc-article-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pc-article-row .pc-article-cover { width: 190px; height: 118px; flex: 0 0 190px; }
.pc-article-row .pc-article-body { flex: 1; padding: 14px 18px; }
.pc-article-row:hover { border-color: rgba(30,111,219,.35); }
.pc-empty-card { padding: 50px 24px; text-align: center; color: var(--muted); }
.pc-crumb { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; }
.pc-crumb a { color: var(--primary); }
.pc-article-full { padding: 26px 30px 30px; }
.pc-article-full h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.4; }
.pc-article-summary { margin: 14px 0; padding: 12px 14px; background: #f6faff; border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: 13.5px; }
.pc-article-hero { margin: 16px 0; border-radius: 12px; overflow: hidden; }
.pc-article-hero img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.pc-article-content { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); word-break: break-word; }
.pc-article-back { margin-top: 26px; }
.pc-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; font-size: 13px; }
.pc-pager a { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 14px; color: var(--ink-2); }
.pc-pager a:hover { border-color: var(--primary); color: var(--primary); }
.pc-pager span { color: var(--muted); }

@media (max-width: 980px) {
    .pc-ad-grid { grid-template-columns: 1fr; }
    .pc-ad-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .pc-ad-main { height: 180px; }
    .pc-ad-sub { height: 120px; }
    .pc-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-map-canvas.pc-map-fixed { height: 420px; }
}
@media (max-width: 680px) {
    .pc-adzone { padding-top: 12px; }
    .pc-ad-main { height: 150px; }
    .pc-ad-side { grid-template-columns: 1fr; }
    .pc-ad-sub { height: 96px; }
    .pc-article-grid { grid-template-columns: 1fr; padding: 0 16px 18px; }
    .pc-article-row { flex-direction: column; }
    .pc-article-row .pc-article-cover { width: 100%; flex: none; height: 150px; }
    .pc-node-block { padding: 6px 12px 16px; }
    .pc-node-wrap { max-height: 460px; }
    .pc-node-table { min-width: 620px; }
    .pc-map-canvas.pc-map-fixed { height: 360px; }
    .pc-summary-4 { grid-template-columns: repeat(2, 1fr); }
    .pc-testbox { padding: 14px 14px 16px; }
    .pc-test-field .test-host { flex: 1 1 100%; }
    .pc-test-field .test-port, .pc-test-field .test-record { flex: 1 1 40%; }
    .pc-captcha .cap-stage { width: 100%; height: auto; aspect-ratio: 320 / 140; }
    .cap-piece { width: 14.375%; height: auto; aspect-ratio: 1; top: 33.6%; }
    .cap-track, .cap-loading { width: 100%; }
    .pc-article-full { padding: 18px 16px 22px; }
    .pc-article-full h1 { font-size: 21px; }
}
/* ================= v1.3 首页 / 内联检测 / 概览仪表盘 ================= */
.pc-home, .pc-result-page { margin-top: 20px; }

/* 页头多横幅轮播 */
.pc-hbanner {
    flex: 1 1 auto; min-width: 0; height: 56px; position: relative;
    border-radius: 10px; border: 1px solid var(--line);
    background: #f6f9fe; overflow: hidden;
}
.pc-hbanner-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
}
.pc-hbanner-slide.on { opacity: 1; visibility: visible; }
.pc-hbanner-slide a, .pc-hbanner-slide img { display: block; width: 100%; height: 100%; }
.pc-hbanner-slide img { object-fit: cover; }
.pc-hbanner-slide .pc-ad-mark { position: absolute; right: 8px; top: 6px; }
.pc-hbanner-dots { position: absolute; right: 10px; bottom: 7px; z-index: 3; display: flex; gap: 4px; }
.pc-hbanner-dots button {
    width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.6); cursor: pointer;
}
.pc-hbanner-dots button.on { background: #fff; width: 14px; border-radius: 4px; }

/* 固定在横幅下方、结果上方的检测表单 */
.pc-search-card { overflow: visible; }
.pc-search-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; padding: 20px 24px 0; flex-wrap: wrap;
}
.pc-search-head h2 { margin: 0 0 4px; font-size: 19px; }
.pc-search-head p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.pc-search-badge {
    flex: none; border-radius: 20px; padding: 4px 11px;
    background: #e8f7f4; color: #0f766e; border: 1px solid rgba(16,185,129,.22);
    font-size: 11.5px; font-weight: 600;
}
.pc-testbox { padding: 16px 24px 22px; background: #fff; }
.pc-search-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: stretch; }
.pc-search-left { min-width: 0; }
.pc-search-left .pc-test-tabs { padding: 0 0 14px; }
.pc-test-field { display: flex; gap: 10px; align-items: stretch; margin: 14px 0 0; }
.pc-test-field .test-host { flex: 1 1 auto; min-width: 0; }
.pc-test-field .test-port { flex: 0 0 132px; display: none; }
.pc-test-field .test-record { flex: 0 0 108px; display: none; }
.pc-test-field .pc-input { height: 46px; font-size: 14.5px; }
.pc-search-left .pc-carrier-box { margin-top: 13px; }
.pc-search-right {
    border-left: 1px dashed var(--line); padding-left: 20px;
    display: flex; flex-direction: column; min-width: 0;
}
.pc-search-right .pc-captcha { margin: 0; }
.pc-search-right .pc-console-hint { margin: 10px 0 0; min-height: 38px; line-height: 1.55; }
.pc-search-btn { width: 100%; margin-top: auto; }
.pc-search-card .pc-console-hint { font-size: 12px; }

/* 首页快捷入口 */
.pc-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.pc-quick-item {
    display: flex; flex-direction: column; gap: 2px; padding: 13px 15px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pc-quick-item:hover { transform: translateY(-2px); border-color: rgba(30,111,219,.35); box-shadow: 0 10px 24px rgba(15,44,90,.09); }
.pc-quick-tag { font-size: 10px; font-weight: 700; letter-spacing: .6px; color: var(--primary); }
.pc-quick-item b { font-size: 14px; }
.pc-quick-item em { font-style: normal; color: var(--muted); font-size: 11.5px; }

/* 首页概览仪表盘 */
.pc-dashboard { padding-bottom: 18px; }
.pc-dash-head { padding: 20px 24px 0; }
.pc-dash-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 304px;
    gap: 16px; padding: 14px 24px 0; align-items: stretch;
}
.pc-dash-map {
    position: relative; min-width: 0; border-radius: 14px;
    border: 1px solid var(--line); overflow: hidden;
    background: radial-gradient(circle at 42% 42%, #ffffff 0%, #f4f9ff 62%, #edf4fd 100%);
}
.pc-map-count {
    position: absolute; left: 14px; top: 13px; z-index: 2; pointer-events: none;
    min-width: 116px; padding: 8px 12px; border-radius: 10px;
    background: rgba(255,255,255,.92); border: 1px solid rgba(228,236,248,.9);
    box-shadow: 0 6px 18px rgba(15,44,90,.08);
    display: flex; flex-direction: column; line-height: 1.2;
}
.pc-map-count span { font-size: 11px; color: var(--muted); }
.pc-map-count b { font-size: 25px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-map-count small { font-size: 10.5px; color: #94a3b8; }
.pc-dashboard .pc-map-canvas { border: 0; border-radius: 0; background: transparent; }
.pc-dashboard .pc-map-canvas.pc-map-fixed { height: 458px; }
.pc-dash-side {
    border: 1px solid var(--line); border-radius: 14px; background: #fbfdff;
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
}
.pc-dash-side-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px 10px; border-bottom: 1px solid var(--line);
}
.pc-dash-side-head h3 { margin: 0; font-size: 13.5px; }
.pc-dash-side-head span { font-size: 11.5px; color: var(--muted); }
.pc-region-list { flex: 1 1 auto; overflow-y: auto; max-height: 396px; padding: 4px 6px 8px; }
.pc-region-row {
    display: grid; grid-template-columns: 48px minmax(30px, 1fr) 58px 42px;
    align-items: center; gap: 6px; width: 100%;
    border: 0; background: transparent; text-align: left; cursor: pointer;
    padding: 7px 8px; border-radius: 8px; font-family: inherit;
}
.pc-region-row:hover { background: #eef4ff; }
.pc-region-name { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.pc-region-bar { height: 6px; border-radius: 6px; background: #e8eff8; overflow: hidden; }
.pc-region-bar i { display: block; height: 100%; border-radius: 6px; background: #10b981; }
.pc-region-bar i.ok { background: #10b981; }
.pc-region-bar i.warn { background: #f59e0b; }
.pc-region-bar i.bad { background: #ef4444; }
.pc-region-delay { font-size: 12px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pc-region-delay em { font-style: normal; font-size: 9.5px; color: var(--muted); margin-left: 1px; }
.pc-region-delay.ok { color: #0f9f74; }
.pc-region-delay.warn { color: #c07a00; }
.pc-region-delay.bad { color: #d92d20; }
.pc-region-row small { font-size: 10px; color: #94a3b8; text-align: right; }

.pc-dash-stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px; padding: 16px 24px 0;
}
.pc-dash-stat {
    background: linear-gradient(180deg, #fbfdff, #f5faff);
    border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px;
}
.pc-dash-stat em { flex: 1 1 100%; font-style: normal; font-size: 11.5px; color: var(--muted); }
.pc-dash-stat b { font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pc-dash-stat > span { font-size: 11.5px; color: var(--muted); }
.pc-dash-stat small { flex: 1 1 100%; color: #94a3b8; font-size: 11px; }

.pc-dash-strip-wrap { padding: 14px 24px 4px; }
.pc-dash-strip-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; }
.pc-dash-strip-head b { font-size: 13px; }
.pc-dash-strip-head span { font-size: 11px; color: var(--muted); }
.pc-dash-strip { display: flex; flex-wrap: wrap; gap: 7px; max-height: none; overflow: visible; }
.pc-region-chip {
    display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px;
    border-radius: 8px; background: #f5f9ff; border: 1px solid var(--line);
    font-size: 12px; color: var(--ink-2); cursor: pointer;
}
.pc-region-chip:hover { border-color: rgba(30,111,219,.35); background: #eef4ff; }
.pc-region-chip b { font-weight: 600; }
.pc-region-chip em { font-style: normal; color: var(--primary); font-size: 11px; }
.pc-empty-inline { font-size: 12px; color: var(--muted); padding: 4px 0; }

/* 结果页 */
.pc-result-page .pc-search-card { margin-bottom: 18px; }
.pc-result-card { padding: 20px 24px 22px; }
.pc-result-page .pc-node-card { padding-top: 2px; }
.pc-summary-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc-node-isp { display: block; font-style: normal; font-size: 10.5px; color: #94a3b8; margin-top: 2px; }
.pc-node-card .pc-node-block { padding: 18px 24px 22px; }
.pc-node-card .pc-node-wrap { max-height: 520px; }
.pc-result-page .pc-empty-card h2 { margin: 0 0 8px; font-size: 19px; }
.pc-result-page .pc-empty-card p { margin: 0 auto 16px; max-width: 520px; line-height: 1.7; font-size: 13px; }

/* 最近检测：链接入口 */
.pc-recent-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: #fbfdff; color: inherit; font-size: 12.5px;
    transition: border-color .2s, background .2s;
}
.pc-recent-item:hover { border-color: rgba(30,111,219,.35); background: #f3f8ff; }
.pc-recent-type {
    flex: none; font-size: 10px; font-weight: 700; letter-spacing: .4px;
    color: var(--primary); background: #eaf2ff; border-radius: 4px; padding: 2px 6px;
}
.pc-recent-host { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-recent-time { flex: none; color: var(--muted); font-size: 11.5px; }
.pc-recent-status { flex: none; font-size: 11.5px; }
.pc-recent-status.ok { color: var(--ok); }
.pc-recent-status.warn { color: var(--warn); }
.pc-recent-go { flex: none; color: var(--primary); font-size: 11.5px; }

/* 表格空状态 */
.pc-node-empty { text-align: center; color: #94a3b8; padding: 26px 0; }

@media (max-width: 1020px) {
    .pc-search-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
    .pc-dash-layout { grid-template-columns: minmax(0, 1fr) 270px; }
    .pc-captcha .cap-stage, .pc-captcha .cap-track { width: 100%; }
    .pc-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .pc-search-grid { grid-template-columns: 1fr; }
    .pc-search-right { border-left: 0; border-top: 1px dashed var(--line); padding: 16px 0 0; }
    .pc-search-btn { margin-top: 12px; }
    .pc-dash-layout { grid-template-columns: 1fr; }
    .pc-dashboard .pc-map-canvas.pc-map-fixed { height: 390px; }
    .pc-dash-side { max-height: 300px; }
    .pc-region-list { max-height: 240px; }
    .pc-dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pc-hbanner { flex: 1 1 100%; height: 46px; }
    .pc-header-top { flex-wrap: wrap; height: auto; padding: 10px 0 12px; gap: 10px; }
    .pc-summary, .pc-summary-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .pc-home, .pc-result-page { margin-top: 12px; }
    .pc-search-head, .pc-testbox, .pc-dash-head { padding-left: 16px; padding-right: 16px; }
    .pc-search-head h2 { font-size: 17px; }
    .pc-test-field { flex-wrap: wrap; }
    .pc-test-field .test-host { flex: 1 1 100%; }
    .pc-test-field .test-port, .pc-test-field .test-record { flex: 0 0 48%; }
    .pc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-dash-layout { padding-left: 16px; padding-right: 16px; }
    .pc-dashboard .pc-map-canvas.pc-map-fixed { height: 340px; }
    .pc-map-count { left: 9px; top: 9px; min-width: 98px; padding: 6px 10px; }
    .pc-map-count b { font-size: 21px; }
    .pc-dash-stats { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
    .pc-dash-strip-wrap { padding-left: 16px; padding-right: 16px; }
    .pc-region-row { grid-template-columns: 45px minmax(24px, 1fr) 54px 38px; }
    .pc-recent-item { flex-wrap: wrap; }
    .pc-recent-host { flex-basis: calc(100% - 80px); }
    .pc-node-card .pc-node-block { padding-left: 16px; padding-right: 16px; }
}
.pc-anchor { display: block; height: 0; position: relative; top: -96px; visibility: hidden; }
.pc-recent { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }

/* ============================================================
   v1.4：首页静态地图 / 查询工具页 / 验证码弹层 / 延迟分档
   ============================================================ */
.pc-home-map-card .pc-dash-head { padding: 20px 24px 6px; }
.pc-home-map-card .pc-block-head p { margin: 4px 0 0; }
.pc-home-search { display: flex; gap: 10px; padding: 10px 24px 4px; max-width: 780px; }
.pc-home-search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid #dbe6f6; border-radius: 9px;
    background: #fff; color: var(--ink); font-size: 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.pc-home-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,111,219,.1); }
.pc-home-search .pc-btn { height: 46px; padding: 0 24px; flex: none; }
.pc-home-map-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 226px; gap: 14px; align-items: stretch; padding: 8px 24px 0; }
.pc-home-map-wrap .pc-map-canvas.pc-map-fixed { height: 330px; width: 100%; min-width: 0; }
.pc-home-map-wrap .pc-map-count { top: 18px; left: 34px; }
.pc-home-map-side {
    display: flex; flex-direction: column; justify-content: center; padding: 22px 20px;
    border: 1px solid #e8eff8; border-radius: 10px; background: #fbfdff;
}
.pc-home-map-side-kicker { color: var(--primary); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.pc-home-map-side h3 { margin: 8px 0 10px; color: var(--ink); font-size: 17px; line-height: 1.45; }
.pc-home-map-side p { margin: 0; color: #5a6a85; font-size: 12px; line-height: 1.85; }
.pc-home-map-side-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.pc-home-map-side-tags span { padding: 5px 8px; border-radius: 5px; background: #eef5ff; color: var(--primary); font-size: 10.5px; }
.pc-home-map-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 24px 20px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap;
}
.pc-home-map-foot a { color: var(--primary); text-decoration: none; }
.pc-home-map-foot a:hover { text-decoration: underline; }
.pc-home-articles { margin-top: 0; }

/* 首页近期查询三块 */
.pc-recent-queries .pc-block-head { align-items: center; }
.pc-recent-queries-note { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.pc-recent-query-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 2px 24px 22px; }
.pc-recent-query-block { min-width: 0; border: 1px solid #e8eff8; border-radius: 10px; background: #fbfdff; overflow: hidden; }
.pc-recent-query-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px 10px; border-bottom: 1px solid #edf3fa;
}
.pc-recent-query-head h3 { margin: 0; font-size: 14px; color: var(--ink); }
.pc-recent-query-head a { color: var(--primary); font-size: 11px; text-decoration: none; white-space: nowrap; }
.pc-recent-query-head a:hover { text-decoration: underline; }
.pc-recent-query-list { display: flex; flex-direction: column; }
.pc-recent-query-row {
    display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 7px 14px;
    border-top: 1px solid #f0f5fb; color: inherit; text-decoration: none;
}
.pc-recent-query-row:first-child { border-top: 0; }
.pc-recent-query-row:hover { background: #f4f9ff; }
.pc-recent-query-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.pc-recent-query-dot.ok { background: #22c55e; }
.pc-recent-query-dot.warn { background: #f59e0b; }
.pc-recent-query-dot.run { background: #3b82f6; }
.pc-recent-query-main { flex: 1; min-width: 0; }
.pc-recent-query-main b {
    display: block; color: var(--ink); font-size: 12px; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-recent-query-main small { display: block; margin-top: 2px; color: #94a3b8; font-size: 10px; }
.pc-recent-query-row em { flex: none; color: #9aabc0; font-size: 10px; font-style: normal; white-space: nowrap; }
.pc-recent-query-empty {
    display: flex; align-items: center; min-height: 118px; padding: 16px; color: var(--primary);
    font-size: 11.5px; text-decoration: none;
}
.pc-recent-query-empty:hover { background: #f4f9ff; }
@media (max-width: 820px) {
    .pc-recent-query-grid { grid-template-columns: 1fr; gap: 10px; padding-left: 14px; padding-right: 14px; }
    .pc-recent-queries-note { display: none; }
}
.pc-sponsors .pc-sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, 112px); gap: 12px; padding: 4px 24px 22px; }
.pc-sponsor-item {
    display: flex; align-items: center; justify-content: center; width: 112px; height: 96px; padding: 12px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pc-sponsor-item:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(30,111,219,.1); transform: translateY(-1px); }
.pc-sponsor-item img { width: auto; max-width: 86px; height: auto; max-height: 64px; object-fit: contain; }

.pc-tools-intro { padding: 8px 0 14px; }
.pc-tools-intro h1 { margin: 0 0 6px; font-size: 24px; color: var(--ink); }
.pc-tools-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.pc-tools-page .pc-search-card { margin-top: 0; }
.pc-tools-help { margin-top: 18px; }
.pc-tool-help-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 0 24px 22px; }
.pc-tool-help-grid div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbff; }
.pc-tool-help-grid b { display: block; font-size: 13px; color: var(--primary); margin-bottom: 5px; }
.pc-tool-help-grid span { display: block; font-size: 12px; line-height: 1.65; color: var(--muted); }

.pc-form-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 0 2px; flex-wrap: wrap;
}
.pc-form-foot .pc-console-hint { margin: 0; flex: 1 1 300px; }
.pc-form-foot .pc-search-btn { flex: 0 0 220px; }

/* 线路折叠 */
.pc-carrier-fold { overflow: hidden; }
.pc-carrier-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; padding: 12px 14px; border: 0; background: #f7faff; cursor: pointer;
    text-align: left; color: var(--ink-2); font: inherit;
}
.pc-carrier-toggle > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pc-carrier-toggle b { font-size: 13px; }
.pc-carrier-toggle em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.pc-carrier-toggle-right { justify-content: flex-end; }
.pc-carrier-toggle-right b { font-weight: 600; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
.pc-carrier-toggle-right i { font-style: normal; font-size: 11.5px; color: var(--primary); white-space: nowrap; }
.pc-carrier-body { display: none; padding: 0 14px 14px; }
.pc-carrier-box.open .pc-carrier-body { display: block; }
.pc-carrier-fold.off { opacity: .7; }

/* 验证码弹层 */
.pc-modal {
    position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center;
    padding: 20px; background: rgba(9, 24, 48, .5); backdrop-filter: blur(3px);
}
.pc-modal.on { display: flex; }
.pc-modal-open { overflow: hidden; }
.pc-modal-card {
    position: relative; width: min(430px, 100%); background: #fff; border-radius: 14px;
    padding: 22px 24px 24px; box-shadow: 0 24px 70px rgba(7, 27, 58, .22);
}
.pc-modal-close {
    position: absolute; right: 12px; top: 8px; width: 30px; height: 30px; border: 0;
    background: transparent; color: #8aa0bd; font-size: 22px; line-height: 1; cursor: pointer;
}
.pc-modal-card h3 { margin: 0 0 4px; font-size: 18px; color: var(--ink); }
.pc-modal-sub { margin: 0 0 16px; color: var(--muted); font-size: 12.5px; }
.pc-modal-card .pc-captcha { width: 100%; }

/* 延迟分档 */
.pc-delay-badge {
    display: inline-flex; align-items: baseline; gap: 2px; font-size: 13px; font-weight: 600;
    line-height: 1; padding: 4px 7px; border-radius: 5px; white-space: nowrap;
}
.pc-delay-badge b { font-size: 15px; font-weight: 700; }
.pc-delay-badge em { font-style: normal; font-size: 10px; font-weight: 500; opacity: .8; }
.pc-delay-badge.plain { color: var(--primary); background: #eef5ff; }
.pc-delay-badge.timeout { color: #64748b; background: #f0f3f8; }
.pc-stat-num { font-size: 32px; line-height: 1; }
.pc-stat-unit { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.pc-delay-legend {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 24px 0;
    font-size: 11.5px; color: var(--muted);
}
.pc-delay-legend span { font-weight: 600; color: var(--ink-2); }
.pc-delay-legend i { font-style: normal; padding: 3px 7px; border-radius: 5px; }
.pc-delay-legend .tier-fast { color: #047857; background: #e8f8f0; }
.pc-delay-legend .tier-good { color: #15803d; background: #effaf1; }
.pc-delay-legend .tier-normal { color: #b45309; background: #fff7e6; }
.pc-delay-legend .tier-slow { color: #c2410c; background: #fff1e8; }
.pc-delay-legend .tier-bad { color: #b91c1c; background: #fdecec; }
.pc-delay-legend .tier-timeout { color: #64748b; background: #f0f3f8; }

@media (max-width: 1020px) {
    .pc-tool-help-grid { grid-template-columns: repeat(3, 1fr); }
    .pc-home-map-wrap { grid-template-columns: minmax(0, 1fr) 206px; }
    .pc-home-map-wrap .pc-map-canvas.pc-map-fixed { height: 318px; }
    .pc-carrier-toggle-right b { max-width: 44vw; }
}
@media (max-width: 820px) {
    .pc-form-foot .pc-search-btn { flex: 1 1 100%; width: 100%; }
    .pc-home-map-wrap { grid-template-columns: 1fr; }
    .pc-home-map-wrap .pc-map-canvas.pc-map-fixed { height: 310px; }
    .pc-home-map-wrap { padding-left: 14px; padding-right: 14px; }
    .pc-home-map-side { display: none; }
    .pc-home-search { padding-left: 14px; padding-right: 14px; flex-wrap: wrap; }
    .pc-home-search input { flex: 1 1 100%; width: 100%; }
    .pc-home-search .pc-btn { width: 100%; }
    .pc-home-map-foot { padding-left: 16px; padding-right: 16px; }
    .pc-home-map-wrap .pc-map-count { left: 24px; top: 14px; }
}
@media (max-width: 560px) {
    .pc-tools-intro h1 { font-size: 21px; }
    .pc-tool-help-grid { grid-template-columns: 1fr 1fr; padding-left: 16px; padding-right: 16px; }
    .pc-home-map-wrap .pc-map-canvas.pc-map-fixed { height: 270px; }
    .pc-home-map-wrap .pc-map-count { left: 16px; top: 12px; transform: scale(.92); transform-origin: left top; }
    .pc-sponsors .pc-sponsor-grid { grid-template-columns: repeat(3, 1fr); padding-left: 16px; padding-right: 16px; }
    .pc-sponsor-item { width: 100%; height: 88px; }
    .pc-carrier-toggle { align-items: flex-start; flex-direction: column; gap: 7px; }
    .pc-carrier-toggle-right { width: 100%; justify-content: space-between; }
    .pc-carrier-toggle-right b { max-width: 64vw; }
    .pc-modal-card { padding: 20px 16px 20px; }
    .pc-delay-legend { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   v1.5：独立站长工具页 / 纯图标赞助商
   ============================================================ */
.pc-tool-page { padding-top: 18px; }
.pc-tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 20px; align-items: start; }
.pc-tool-form-card { padding: 24px 26px 20px; }
.pc-tool-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pc-tool-form-kicker { display: block; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pc-tool-form-head h2 { margin: 5px 0 0; font-size: 21px; color: var(--ink); }
.pc-tool-type { flex: none; padding: 5px 9px; border-radius: 6px; background: #edf5ff; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.pc-tool-searchline { display: flex; align-items: flex-end; gap: 10px; }
.pc-tool-field { flex: 1; min-width: 0; }
.pc-tool-field label { display: block; margin-bottom: 7px; color: #5a6a85; font-size: 12px; }
.pc-tool-field .pc-input { width: 100%; height: 54px; font-size: 15px; border-radius: 9px; }
.pc-tool-field-port { flex: 0 0 118px; }
.pc-tool-field-record { flex: 0 0 126px; }
.pc-tool-submit { flex: none; height: 54px; padding: 0 28px; border-radius: 9px; font-size: 15px; font-weight: 600; }
.pc-tool-form-tip { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 9px; color: #93a3b8; font-size: 11.5px; }
.pc-tool-form-tip span::before { content: "·"; margin-right: 5px; color: var(--primary); }
.pc-tool-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.pc-tool-form-foot .pc-console-hint { margin: 0; }
.pc-tool-safe { color: #9aa8bb; font-size: 11.5px; }
.pc-tool-side { display: grid; gap: 16px; }
.pc-tool-side-card { padding: 20px 20px 18px; }
.pc-tool-side-kicker { color: var(--primary); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pc-tool-side-card h3 { margin: 6px 0 12px; font-size: 16px; color: var(--ink); }
.pc-tool-side-card ul { margin: 0; padding: 0; list-style: none; }
.pc-tool-side-card li { position: relative; padding-left: 15px; margin: 9px 0; color: #5a6a85; font-size: 12.5px; line-height: 1.8; }
.pc-tool-side-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #16b6b0; }
.pc-tool-side-note p { margin: 8px 0 0; color: #5a6a85; font-size: 12.5px; line-height: 1.85; }
@media (max-width: 960px) {
    .pc-tool-layout { grid-template-columns: 1fr; }
    .pc-tool-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .pc-tool-form-card { padding: 18px 16px 16px; }
    .pc-tool-searchline { flex-wrap: wrap; align-items: stretch; }
    .pc-tool-field, .pc-tool-field-port, .pc-tool-field-record { flex: 1 1 100%; }
    .pc-tool-submit { width: 100%; }
    .pc-tool-side { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.6：首页标题文章 / 工具页结果地图 / 固定说明文章
   ============================================================ */
.pc-article-title-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; padding: 0 24px 22px; }
.pc-article-title-item {
    height: 52px; display: flex; align-items: center; gap: 12px;
    border-top: 1px solid var(--line); color: var(--ink-2);
    transition: color .18s, background .18s;
}
.pc-article-title-item:hover { color: var(--primary); background: #f8fbff; }
.pc-article-title-no { flex: none; width: 24px; color: #9aabc0; font-size: 11px; font-variant-numeric: tabular-nums; }
.pc-article-title-item b { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-article-title-item i { flex: none; color: #a9b6c8; font-style: normal; font-size: 13px; }

.pc-result-map-card { padding: 16px 22px 18px; }
.pc-result-map-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.pc-result-map-head h3 { margin: 0 0 4px; font-size: 15px; }
.pc-result-map-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.pc-result-map-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pc-result-map-tools span { color: #64748b; font-size: 11.5px; }
.pc-map-reset { border: 1px solid #cfe0f5; border-radius: 6px; background: #f4f9ff; color: var(--primary); padding: 5px 9px; font-size: 11.5px; cursor: pointer; }
.pc-map-reset:hover { background: #eaf3ff; }
.pc-result-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 14px; align-items: stretch; }
.pc-result-map { width: 100%; height: 360px; min-width: 0; }
.pc-map-rank { display: flex; flex-direction: column; min-width: 0; padding: 15px 14px; border: 1px solid #e8eff8; border-radius: 10px; background: #fbfdff; }
.pc-map-rank-kicker { color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.pc-map-rank h4 { margin: 5px 0 10px; color: var(--ink); font-size: 14px; }
.pc-map-rank-list { display: flex; flex-direction: column; gap: 3px; }
.pc-map-rank-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 6px 7px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.pc-map-rank-row:hover { background: #f0f7ff; }
.pc-map-rank-row b { min-width: 0; color: var(--ink-2); font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-map-rank-row em { flex: none; color: var(--primary); font-size: 11px; font-style: normal; font-variant-numeric: tabular-nums; }
.pc-map-rank p { margin: 11px 0 0; color: #94a3b8; font-size: 10.5px; line-height: 1.65; }
.pc-map-rank-empty { color: #94a3b8; font-size: 11px; }
.pc-map-side { display: flex; flex-direction: column; justify-content: center; padding: 16px 14px; border: 1px solid #e8eff8; border-radius: 10px; background: #fbfdff; }
.pc-map-side-title { margin-bottom: 10px; color: var(--ink); font-size: 12px; font-weight: 700; }
.pc-map-legend { display: flex; flex-direction: column; gap: 9px; color: #64748b; font-size: 11px; }
.pc-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pc-map-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; }
.pc-map-side-note { margin: 12px 0 0; color: #94a3b8; font-size: 10.5px; line-height: 1.7; }
.pc-map-fail { display: flex; align-items: center; justify-content: center; height: 100%; color: #94a3b8; font-size: 12.5px; }

.pc-tool-articles { margin-top: 20px; padding: 22px 24px 24px; background: #fff; border: 1px solid rgba(227,234,244,.9); border-radius: 14px; box-shadow: 0 6px 18px rgba(15,44,90,.04); }
.pc-tool-articles .pc-block-head { padding: 0; margin-bottom: 14px; }
.pc-tool-articles .pc-block-head h2 { margin: 0 0 5px; font-size: 18px; }
.pc-tool-articles .pc-block-head p { margin: 0; color: var(--muted); font-size: 12px; }
.pc-tool-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pc-tool-article { min-height: 172px; padding: 16px 16px 14px; border: 1px solid #e8eff8; border-radius: 10px; background: #fbfdff; }
.pc-tool-article > span { color: #9ab0c9; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.pc-tool-article h3 { margin: 6px 0 8px; font-size: 14px; color: var(--ink); }
.pc-tool-article p { margin: 0; color: #5a6a85; font-size: 12px; line-height: 1.8; }

@media (max-width: 960px) {
    .pc-result-map-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 12px; }
    .pc-result-map { height: 330px; }
}
@media (max-width: 760px) {
    .pc-article-title-list { grid-template-columns: 1fr; padding: 0 16px 18px; }
    .pc-article-title-item { height: 48px; }
    .pc-result-map-card { padding-left: 16px; padding-right: 16px; }
    .pc-result-map-head { flex-direction: column; }
    .pc-result-map-tools { justify-content: flex-start; }
    .pc-result-map-layout { grid-template-columns: 1fr; }
    .pc-result-map { height: 300px; }
    .pc-map-rank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; }
    .pc-map-rank p { margin-top: 8px; }
    .pc-map-side { justify-content: flex-start; padding: 12px 14px; }
    .pc-map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
    .pc-map-side-note { margin-top: 8px; }
    .pc-tool-articles { padding: 18px 16px; }
    .pc-tool-article-grid { grid-template-columns: 1fr; }
    .pc-tool-article { min-height: 0; }
}

@media (max-width: 560px) {
    .pc-sponsors .pc-sponsor-grid { grid-template-columns: repeat(3, 1fr); }
    .pc-sponsors .pc-sponsor-item { width: 100%; height: 88px; }
}

@media (max-width: 560px) {
    .pc-navbar-inner { height: auto; min-height: 44px; padding: 5px 0; }
    .pc-nav { flex-wrap: wrap; overflow: visible; width: 100%; row-gap: 2px; }
}

/* ============================================================
   v1.7：服务器测速 / TDK / IP 归属地
   ============================================================ */
.pc-speed-toolbar { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.pc-speed-size { flex: 1; min-width: 200px; }
.pc-speed-size label { display: block; margin-bottom: 6px; color: #52627a; font-size: 11.5px; }
.pc-speed-size select { width: 100%; }
.pc-speed-start { min-width: 160px; height: 42px; }
.pc-speed-note { margin: 12px 0 0; color: #7c8ba1; font-size: 11.5px; line-height: 1.7; }
.pc-speed-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; color: #46617f; font-size: 12px; }
.pc-speed-state b { color: var(--primary); font-size: 12px; font-variant-numeric: tabular-nums; }
.pc-speed-progress { height: 8px; margin-top: 8px; background: #e9f1fb; border-radius: 999px; overflow: hidden; }
.pc-speed-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--primary-2)); border-radius: 999px; transition: width .18s ease; }
.pc-speed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pc-speed-result { padding: 14px 14px 12px; border: 1px solid #e6eff9; border-radius: 10px; background: #f8fbff; min-width: 0; }
.pc-speed-result span { display: block; color: #64748b; font-size: 11px; margin-bottom: 6px; }
.pc-speed-result b { display: inline-block; color: var(--ink); font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pc-speed-result em { margin-left: 4px; color: #7b8da5; font-size: 11px; font-style: normal; }
.pc-speed-result small { display: block; margin-top: 5px; color: #93a2b7; font-size: 10.5px; }
.pc-speed-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e4ecf7; }
.pc-speed-foot p { margin: 0; color: #6b7c94; font-size: 11.5px; line-height: 1.7; }
.pc-speed-foot p.is-bad { color: #b91c1c; }
.pc-speed-foot span { flex: none; color: #97a6b9; font-size: 10.5px; }
.pc-download-card { margin-top: 18px; }
.pc-download-node { font-size: 18px !important; letter-spacing: -.02em; }

.pc-seo-card .pc-tool-searchline { margin-top: 4px; }
.pc-seo-empty { margin-top: 22px; padding: 24px 20px; border: 1px dashed #dce8f6; border-radius: 10px; background: #fbfdff; text-align: center; }
.pc-seo-empty b { display: block; color: #3f5673; font-size: 14px; }
.pc-seo-empty p { margin: 6px 0 0; color: #8b9bb0; font-size: 11.5px; line-height: 1.7; }
.pc-seo-error { margin-top: 18px; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 8px; background: #fff7f7; color: #b91c1c; font-size: 12px; line-height: 1.65; }
.pc-seo-url { display: flex; align-items: center; gap: 10px; margin: 12px 0 16px; min-width: 0; }
.pc-seo-url span { flex: none; color: #8494a9; font-size: 11px; }
.pc-seo-url a { min-width: 0; color: #35658f; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-seo-item { padding: 14px 14px 12px; border: 1px solid #e6eff9; border-radius: 10px; background: #fbfdff; min-width: 0; }
.pc-seo-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-seo-item-head > span { color: #64748b; font-size: 10.5px; }
.pc-seo-item-head em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.pc-seo-item h3 { margin: 10px 0 10px; color: #203754; font-size: 13px; line-height: 1.65; word-break: break-word; min-height: 42px; }
.pc-seo-item-foot { display: flex; justify-content: space-between; gap: 8px; color: #93a2b7; font-size: 10px; border-top: 1px dashed #e6eff9; padding-top: 8px; }
.pc-seo-item-foot span:first-child { color: #566b85; font-variant-numeric: tabular-nums; }
.pc-seo-item.ok { border-color: #cdeedd; background: #f7fdf9; }
.pc-seo-item.warn { border-color: #fde7b7; background: #fffbf0; }
.pc-seo-item.bad { border-color: #fecaca; background: #fff8f8; }
.pc-seo-badge.ok { color: #047857; background: #dcfce7; }
.pc-seo-badge.warn { color: #b45309; background: #fef3c7; }
.pc-seo-badge.bad { color: #b91c1c; background: #fee2e2; }
.pc-seo-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed #e4ecf7; }
.pc-seo-extra > div { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; min-width: 0; }
.pc-seo-extra span { flex: none; width: 68px; color: #8494a9; font-size: 10.5px; }
.pc-seo-extra b { min-width: 0; color: #344e6d; font-size: 11.5px; font-weight: 500; word-break: break-all; }
.pc-seo-tip { margin: 12px 0 0; padding: 8px 10px; border-radius: 7px; background: #f5f9ff; color: #63758c; font-size: 11px; line-height: 1.65; }

.pc-ip-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pc-ip-actions span { color: #8b9bb0; font-size: 11px; }
.pc-ip-main { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 18px; border: 1px solid #dbe9f7; border-radius: 10px; background: linear-gradient(135deg, #f4f9ff, #fbfdff); }
.pc-ip-main h3 { margin: 8px 0 4px; color: #132a45; font-size: 30px; line-height: 1.15; font-variant-numeric: tabular-nums; word-break: break-all; }
.pc-ip-main p { margin: 0; color: #566b85; font-size: 13px; }
.pc-ip-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #dcfce7; color: #047857; font-size: 10px; font-weight: 700; }
.pc-ip-badge.local { background: #e2e8f0; color: #475569; }
.pc-ip-provider { flex: none; text-align: right; }
.pc-ip-provider span { display: block; color: #93a2b7; font-size: 10px; }
.pc-ip-provider b { color: #46617f; font-size: 11.5px; }
.pc-ip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pc-ip-grid > div { padding: 11px 12px; border: 1px solid #e6eff9; border-radius: 8px; background: #fbfdff; min-width: 0; }
.pc-ip-grid span { display: block; color: #8b9bb0; font-size: 10px; margin-bottom: 3px; }
.pc-ip-grid b { color: #2f4765; font-size: 12px; font-weight: 500; word-break: break-word; }
.pc-ip-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e4ecf7; color: #8b9bb0; font-size: 10.5px; }
.pc-ip-foot b { color: #35658f; font-weight: 500; }

@media (max-width: 980px) {
    .pc-speed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-seo-grid { grid-template-columns: 1fr; }
    .pc-ip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .pc-speed-grid, .pc-ip-grid { grid-template-columns: 1fr; }
    .pc-speed-size { min-width: 0; width: 100%; }
    .pc-speed-start { width: 100%; }
    .pc-speed-foot, .pc-ip-main { flex-direction: column; align-items: flex-start; }
    .pc-seo-extra { grid-template-columns: 1fr; }
    .pc-ip-main h3 { font-size: 23px; }
    .pc-ip-provider { text-align: left; }
}

