/* 新新JAR资源网 (www.xxjar.com) — 2026 现代端云与软件评测样式表 */
:root {
    --brand-blue: #1668c1;
    --brand-blue-dark: #0f4f96;
    --brand-blue-soft: #eaf3fc;
    --brand-orange: #ea6a0a;
    --brand-orange-soft: #fff2e6;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --surface: #ffffff;
    --bg: #f5f8fc;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
    color: var(--brand-blue-dark);
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-link {
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
}

.nav-link.is-active {
    color: var(--brand-blue);
    background: var(--brand-blue-soft);
    font-weight: 600;
}

.nav-link-accent {
    color: var(--brand-orange);
    font-weight: 600;
}

.nav-link-accent:hover,
.nav-link-accent.is-active {
    color: #c55300;
    background: var(--brand-orange-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 4px 2px 12px;
    width: 205px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(22, 104, 193, 0.12);
    background: #fff;
}

.header-search input {
    border: 0;
    background: transparent;
    font-size: 13px;
    color: var(--ink);
    width: 100%;
    min-width: 0;
    outline: none;
    padding: 5px 0;
}

.header-search button {
    border: 0;
    background: var(--brand-blue);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.header-search button:hover {
    background: var(--brand-blue-dark);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

.mobile-drawer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.mobile-drawer-inner {
    padding: 16px 20px 20px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-size: 14px;
}

.mobile-search button {
    border: 0;
    background: var(--brand-blue);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-nav-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.mobile-nav-item.is-active {
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    font-weight: 600;
}

/* Announcement Banner (Homepage top full-width below nav) */
.announce-bar {
    background: linear-gradient(90deg, #0f4f96 0%, #1668c1 55%, #1d7ed6 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.announce-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.announce-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.announce-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    flex: 1;
    min-width: 0;
}

.announce-link {
    color: #ffe3cc;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.announce-link:hover {
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #eef5fd 100%);
    border-bottom: 1px solid var(--line);
    padding: 44px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
    gap: 32px;
    align-items: center;
}

.hero-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.28;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--brand-orange);
}

.hero-subtitle {
    margin: 0 0 24px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.75;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 104, 193, 0.24);
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.btn-block {
    width: 100%;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.metric-item strong {
    display: block;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 2px;
}

.metric-item span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.45;
}

.quick-finder {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-md);
}

.quick-finder-head h2 {
    margin: 0 0 4px;
    font-size: 18px;
    color: var(--ink);
}

.quick-finder-head p {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--muted);
}

.quick-finder-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qf-card {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg);
}

.qf-card:hover {
    border-color: var(--brand-blue);
    background: #fff;
    transform: translateY(-1px);
}

.qf-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 5px;
}

.qf-blue { background: #e3f0fd; color: #1258a5; }
.qf-orange { background: #fff0e3; color: #c75300; }
.qf-teal { background: #e2f7f5; color: #0b756b; }
.qf-purple { background: #f1e9fe; color: #6732b5; }

.qf-card strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 2px;
}

.qf-card small {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.45;
}

/* Sections */
.section-block {
    padding: 44px 0;
}

.section-tinted {
    background: #edf3fb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-title {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
}

.section-sub {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.section-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-blue);
    white-space: nowrap;
}

/* Categories Grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cat-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cat-card:hover {
    border-color: var(--cat-accent, var(--brand-blue));
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg);
    color: var(--cat-accent, var(--brand-blue));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-icon svg {
    width: 24px;
    height: 24px;
}

.cat-body {
    flex: 1;
    min-width: 0;
}

.cat-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.cat-title-row h3 {
    margin: 0;
    font-size: 16.5px;
    color: var(--ink);
}

.cat-count {
    font-size: 12px;
    color: var(--muted);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.cat-body p {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.featured-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.featured-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.badge-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-blue-soft);
    color: var(--cat-accent, var(--brand-blue));
}

.badge-highlight {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
}

.badge-soft {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--ink-2);
}

.featured-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.featured-title a {
    color: var(--ink);
}

.featured-title a:hover {
    color: var(--brand-blue);
}

.featured-summary {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

/* Main + Sidebar Layout */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 12.5px;
    color: var(--muted);
}

.article-card-title {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.4;
}

.article-card-title a {
    color: var(--ink);
}

.article-card-title a:hover {
    color: var(--brand-blue);
}

.article-card-summary {
    margin: 0 0 14px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.65;
    flex: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.tag-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tag-chip {
    display: inline-block;
    font-size: 12px;
    color: var(--ink-2);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 2px 9px;
    border-radius: 999px;
}

.tag-chip:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.read-more-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-blue);
    white-space: nowrap;
}

.muted-meta {
    font-size: 12.5px;
    color: var(--muted);
}

/* Sidebar */
.sidebar-column,
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    margin: 0 0 14px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.tool-promo-box {
    background: linear-gradient(160deg, #ffffff 0%, #eff6ff 100%);
    border-color: #c8def8;
}

.promo-kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand-orange);
    background: var(--brand-orange-soft);
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.tool-promo-box h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--ink);
}

.tool-promo-box p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.6;
}

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rank-num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rank-num.rank-top {
    background: var(--brand-orange);
    color: #fff;
}

.rank-body {
    flex: 1;
    min-width: 0;
}

.rank-body a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.45;
    margin-bottom: 2px;
}

.rank-body a:hover {
    color: var(--brand-blue);
}

.rank-body small {
    font-size: 12px;
    color: var(--muted);
}

.safety-list {
    margin: 0 0 12px;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.65;
}

.safety-list li {
    margin-bottom: 6px;
}

.text-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-blue);
}

/* Page Banner & Breadcrumb */
.page-banner,
.article-header-band {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 28px 0 32px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--brand-blue);
}

.banner-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-blue-soft);
    color: var(--cat-accent, var(--brand-blue));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 28px;
    height: 28px;
}

.page-banner-title {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.3;
    color: var(--ink);
}

.page-banner-desc {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
}

/* Article Page */
.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.article-title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.32;
    font-weight: 800;
    color: var(--ink);
}

.article-lead {
    margin: 0 0 18px;
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.7;
    max-width: 860px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.article-prose-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.takeaway-box {
    background: #f0f7ff;
    border: 1px solid #c5dff9;
    border-left: 4px solid var(--brand-blue);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 26px;
}

.takeaway-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 6px;
}

.takeaway-box p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.65;
}

.prose h2 {
    margin: 30px 0 12px;
    font-size: 21px;
    line-height: 1.4;
    color: var(--ink);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 86px;
}

.prose h3 {
    margin: 22px 0 8px;
    font-size: 17px;
    color: var(--ink);
}

.prose p {
    margin: 0 0 16px;
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 1.82;
}

.prose ul,
.prose ol {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.8;
}

.prose li {
    margin-bottom: 6px;
}

.prose strong {
    color: var(--ink);
}

.prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--brand-blue-dark);
    padding: 1px 6px;
    border-radius: 5px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.prose p,
.prose li,
.article-title,
.hero-title {
    overflow-wrap: break-word;
}

.prose .table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 18px 0 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--bg);
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}

.prose tr:last-child td {
    border-bottom: 0;
}

.prose .tip-box {
    background: #fff8f1;
    border: 1px solid #fdd8b5;
    border-left: 4px solid var(--brand-orange);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin: 18px 0;
    font-size: 14.5px;
    color: var(--ink-2);
}

.article-tags-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.tags-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.article-notice {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

.toc-box {
    position: sticky;
    top: 86px;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-list a {
    display: block;
    font-size: 13.5px;
    color: var(--ink-2);
    padding: 4px 0 4px 10px;
    border-left: 2px solid var(--line);
    line-height: 1.45;
}

.toc-list a:hover {
    color: var(--brand-blue);
    border-left-color: var(--brand-blue);
}

.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-list a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.45;
    margin-bottom: 2px;
}

.related-list a:hover {
    color: var(--brand-blue);
}

.related-list small {
    font-size: 12px;
    color: var(--muted);
}

/* Tools Page */
.tools-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
}

.tool-card-head h2 {
    margin: 8px 0 6px;
    font-size: 22px;
    color: var(--ink);
}

.tool-card-head p {
    margin: 0 0 20px;
    font-size: 14.5px;
    color: var(--muted);
}

.tool-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.tool-form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.field-group select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.tool-result-box {
    background: #f0f7ff;
    border: 1px solid #c5dff9;
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.tool-result-box h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--brand-blue-dark);
}

.tool-result-box p {
    margin: 0 0 12px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--ink-2);
    cursor: pointer;
    line-height: 1.55;
}

.check-item input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.audit-meter {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.audit-bar-track {
    height: 10px;
    background: #dbe6f3;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.audit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange) 0%, #16a34a 100%);
    transition: width 0.25s ease;
}

.audit-meter p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-2);
}

/* Search, Pagination, About, 404 */
.search-page-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-top: 14px;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    font-size: 15px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
}

.search-count {
    margin: 0 0 18px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.hot-keywords {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--muted);
}

.empty-state {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.page-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.page-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.page-info {
    font-size: 14px;
    color: var(--muted);
}

.about-container {
    max-width: 880px;
}

.error-404-box {
    max-width: 720px;
    margin: 24px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
}

.error-code {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.error-404-box h1 {
    margin: 0 0 10px;
    font-size: 24px;
}

.error-404-box p {
    margin: 0 0 22px;
    color: var(--ink-2);
}

.error-popular {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    text-align: left;
}

.error-popular h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.error-popular ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.error-popular li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
}

.error-popular li span {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

/* Footer */
.site-footer {
    background: #0f1c2e;
    color: #cbd5e1;
    margin-top: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.footer-logo-wrap {
    display: inline-flex;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.footer-desc {
    margin: 0;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 420px;
}

.footer-heading {
    margin: 0 0 12px;
    font-size: 15px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13.5px;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94a3b8;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-beian a {
    color: #cbd5e1;
}

.footer-beian a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 1060px) {
    .main-nav {
        display: none;
    }
    .header-search {
        display: none;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .cat-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .content-with-sidebar,
    .article-layout {
        grid-template-columns: 1fr;
    }
    .toc-box {
        position: static;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 14px;
    }
    .header-inner {
        min-height: 60px;
    }
    .brand-logo img {
        height: 36px;
    }
    .announce-inner {
        padding-top: 9px;
        padding-bottom: 9px;
        gap: 8px;
    }
    .announce-text {
        font-size: 13px;
    }
    .announce-link {
        width: 100%;
        font-size: 12.5px;
    }
    .hero-section {
        padding: 28px 0 32px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-subtitle {
        font-size: 14.5px;
    }
    .hero-metrics,
    .cat-grid,
    .featured-grid,
    .category-article-grid,
    .tool-form-grid,
    .tool-form-grid-3,
    .checklist-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-block {
        padding: 32px 0;
    }
    .section-title {
        font-size: 20px;
    }
    .article-title {
        font-size: 23px;
    }
    .article-prose-card,
    .tool-card {
        padding: 20px 16px;
    }
    .search-page-form {
        flex-direction: column;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
