/* =========================================================
   悬赏任务库 - 前台样式（移动端优先，零第三方依赖）
   ========================================================= */
:root {
    /* v2 活力任务平台风：保留品牌橙，补齐色阶/渐变/双层阴影 */
    --brand: #ff5a1f;
    --brand-dark: #e84a00;
    --brand-light: #ff7a45;
    --brand-50: #fff4ed;
    --brand-100: #ffe6d8;
    --brand-gradient: linear-gradient(135deg, #ff8a1f 0%, #ff4d00 100%);
    --text: #1f2328;
    --text-soft: #3d4450;
    --text-muted: #6b7280;
    --border: #eceff3;
    --border-strong: #e2e6ec;
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --bg-tint: #fafbfc;
    --success: #16a34a;
    --success-50: #ecfdf5;
    --warn: #d97706;
    --warn-50: #fffbeb;
    --danger: #dc2626;
    --danger-50: #fef2f2;
    --info: #2563eb;
    --info-50: #eff6ff;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-md: 0 6px 18px -6px rgba(255, 90, 31, .12), 0 4px 10px -4px rgba(16, 24, 40, .08);
    --shadow-card: 0 2px 8px rgba(16, 24, 40, .05);
    --shadow-hover: 0 12px 28px -10px rgba(255, 90, 31, .22), 0 6px 14px -8px rgba(16, 24, 40, .12);
    --maxw: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 14px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff; border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.logo { font-size: 19px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.logo span { color: var(--text); }

.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 36px; margin-left: auto;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px;
    font-size: 18px; cursor: pointer;
}
.main-nav { display: none; flex: 1; }
.main-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-size: 15px; color: var(--text); }
.main-nav a:hover, .main-nav a.active { color: var(--brand); }

.header-search { display: none; }
@media (min-width: 860px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; }
    .header-search { display: block; width: 240px; }
    .header-search input {
        width: 100%; padding: 7px 12px; font-size: 14px;
        border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft);
    }
}
@media (max-width: 859px) {
    .main-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--border); padding: 10px 14px; }
    .main-nav.open ul { flex-direction: column; gap: 10px; }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #fff7f2 0%, #fff 60%);
    border-bottom: 1px solid var(--border);
    padding: 28px 0 26px;
}
.hero h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.35; }
.hero p { margin: 0 0 16px; color: var(--text-muted); font-size: 15px; }
.hero-search { display: flex; gap: 8px; }
.hero-search input {
    flex: 1; padding: 11px 14px; font-size: 15px;
    border: 1px solid var(--border); border-radius: 999px; background: #fff;
}
.btn {
    display: inline-block; padding: 10px 18px; border: none; border-radius: 999px;
    background: var(--brand); color: #fff; font-size: 15px; font-weight: 600;
    cursor: pointer; text-align: center;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 13px 26px; font-size: 17px; }
.btn-outline { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover { background: #fff5f0; color: var(--brand-dark); }
.btn-disabled, .btn:disabled { background: #d1d5db; color: #fff; cursor: not-allowed; }

/* ---------- 列表式任务（首页一行一条） ---------- */
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-row {
    display: grid; grid-template-columns: 64px 1fr auto; gap: 14px;
    align-items: center;                /* 图标与右侧内容垂直居中对齐 */
    padding: 12px 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow);
}
.task-row:hover { border-color: #ffd9c7; }
.tr-icon {
    width: 64px; height: 64px; flex: none;   /* 固定正方形，避免被拉伸变形 */
    border-radius: 14px; object-fit: cover;
    background: var(--bg-soft);
}
.tr-icon-text {
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 700; color: var(--brand);
}
.tr-main {
    min-width: 0;
    display: flex; flex-direction: column; justify-content: center;
}
.tr-main h3 { margin: 0 0 3px; font-size: 17px; line-height: 1.4; }
.tr-intro {
    margin: 0 0 6px; font-size: 13px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tr-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tr-stars { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.tr-side {
    display: flex; flex-direction: column; align-items: flex-end;
    justify-content: center; gap: 5px; text-align: right;
}
.tr-reward { color: var(--brand); font-weight: 700; font-size: 17px; white-space: nowrap; }
.tr-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.tr-side .btn { white-space: nowrap; }

@media (max-width: 720px) {
    .task-row { grid-template-columns: 56px 1fr; gap: 10px; }
    .tr-icon { width: 56px; height: 56px; border-radius: 12px; }
    .tr-icon-text { font-size: 22px; }
    .tr-side {
        grid-column: 1 / -1; flex-direction: row; align-items: center;
        justify-content: space-between;
        border-top: 1px dashed var(--border); padding-top: 8px;
    }
}

/* ---------- Section ---------- */
.section { padding: 24px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.section-head h2 { margin: 0; font-size: 19px; }
.section-head .more { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.section-note { font-size: 13px; color: var(--text-muted); margin: -4px 0 12px; line-height: 1.6; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.task-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; background: #fff; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 8px;
    height: 100%;                 /* 同一行卡片等高 */
}
/* 按钮始终贴底，保证多行对齐 */
.task-card .btn { margin-top: auto; }
/* 固定标题与简介高度，避免行数不同造成按钮错位 */
.task-card h3 { min-height: 46px; }
.tc-stars { min-height: 22px; }
/* 卡片头部：图标 + 标题 */
.tc-head { display: flex; align-items: center; gap: 10px; }
.tc-icon {
    width: 44px; height: 44px; flex: none; border-radius: 12px;
    object-fit: cover; background: var(--bg-soft);
}
.tc-icon-text {
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 700; color: var(--brand);
}
.tc-head-main { min-width: 0; flex: 1; }
.task-card h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.tc-app { font-size: 12px; color: var(--text-muted); }
.tc-app a { color: var(--text-muted); }

/* 类型简介 */
.tc-intro {
    margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.55;
    min-height: 40px;             /* 固定两行高度，卡片更整齐 */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 标签行 */
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tc-tag {
    font-size: 12px; line-height: 20px; padding: 1px 8px;
    border-radius: 6px; background: var(--bg-soft); color: var(--text-muted);
}
.tc-tag-limit { background: #fff7f2; color: var(--brand); font-weight: 600; }

/* 新手友好指数 */
.tc-stars { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 15px; }
.tc-stars-tip { font-size: 12px; color: var(--text-muted); }
.tc-stars-na { font-size: 12px; color: #cbd5e1; letter-spacing: normal; }
.task-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted); }
.task-card .reward { color: var(--brand); font-weight: 700; font-size: 17px; }
.badge {
    display: inline-block; padding: 1px 8px; border-radius: 999px;
    font-size: 12px; line-height: 20px; border: 1px solid transparent;
}
.badge-active { background: #ecfdf5; color: var(--success); border-color: #a7f3d0; }
.badge-paused { background: #fffbeb; color: var(--warn); border-color: #fde68a; }
.badge-expired { background: #f3f4f6; color: var(--text-muted); border-color: #e5e7eb; }
.badge-cat { background: var(--bg-soft); color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
    font-size: 14px; background: #fff;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }

.app-list { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .app-list { grid-template-columns: repeat(4, 1fr); } }
/* 首页热门APP：两行 × 每行 3 个 */
.app-list-3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .app-list-3 { grid-template-columns: repeat(3, 1fr); } }
.app-item {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 12px;
    text-align: center; background: #fff;
    min-height: 128px; display: flex; flex-direction: column; justify-content: center;
}
.app-item .app-logo {
    width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 12px;
    background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: var(--brand);
}
.app-item .app-item-name { font-size: 15px; font-weight: 600; }
.app-item .app-item-desc { font-size: 12px; color: var(--text-muted); }

/* ---------- Detail ---------- */
.breadcrumb { font-size: 13px; color: var(--text-muted); padding: 12px 0 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 6px; }

.detail-head { padding: 8px 0 16px; border-bottom: 1px solid var(--border); }
.detail-head h1 { margin: 6px 0 10px; font-size: 23px; line-height: 1.4; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--bg-soft); border-radius: var(--radius); padding: 10px 12px; }
.fact .k { font-size: 12px; color: var(--text-muted); }
.fact .v { font-size: 17px; font-weight: 700; }
.fact .v.highlight { color: var(--brand); }

.content-block { margin: 20px 0; }
.content-block h2 { font-size: 18px; margin: 0 0 10px; padding-left: 10px; border-left: 3px solid var(--brand); }
.content-block p { margin: 0 0 10px; }
.content-block ol, .content-block ul { padding-left: 22px; margin: 0 0 10px; }
.content-block li { margin-bottom: 6px; }

.cta-box {
    margin: 22px 0; padding: 18px; border-radius: var(--radius);
    background: #fff7f2; border: 1px solid #ffe0cf; text-align: center;
}
.cta-box .tip { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

.notice {
    padding: 12px 14px; border-radius: var(--radius); background: var(--bg-soft);
    color: var(--text-muted); font-size: 14px; margin: 14px 0;
}

.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.link-list li:last-child { border-bottom: none; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 22px 0; }
.pagination a, .pagination span {
    padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px;
}
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .disabled { color: #cbd5e1; }

/* ---------- Article ---------- */
.article-body { font-size: 16px; }
.article-body h2 { font-size: 19px; margin: 22px 0 10px; }
.article-body h3 { font-size: 17px; margin: 18px 0 8px; }
.article-body img { border-radius: 8px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 30px; padding: 24px 0; background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.footer-copy { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ---------- Misc ---------- */
.empty { padding: 40px 0; text-align: center; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.search-tip { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }

/* =========================================================
   v2 活力任务平台风（主题层：只做外观覆盖，不改布局语义）
   ========================================================= */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
}

/* ---------- Header：毛玻璃 + 轻阴影 ---------- */
.site-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(16, 24, 40, .04);
}
.logo {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 19px;
}
.logo::before {
    content: ""; width: 26px; height: 26px; border-radius: 8px;
    background: var(--brand-gradient);
    box-shadow: 0 3px 8px -2px rgba(255, 90, 31, .5);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 2l2.4 5.3 5.6.6-4.2 3.8 1.2 5.5L12 14.9 7 17.2l1.2-5.5L4 7.9l5.6-.6z'/></svg>") center/18px no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 2l2.4 5.3 5.6.6-4.2 3.8 1.2 5.5L12 14.9 7 17.2l1.2-5.5L4 7.9l5.6-.6z'/></svg>") center/18px no-repeat;
}
.main-nav a {
    position: relative; font-weight: 500; padding: 4px 0;
    transition: color .18s ease;
}
.main-nav a.active { font-weight: 700; }
.main-nav a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 3px; border-radius: 3px; background: var(--brand-gradient);
}
.nav-toggle { transition: background .18s ease, border-color .18s ease; }
.nav-toggle:hover { background: var(--brand-50); border-color: var(--brand-100); }
.nav-toggle svg { display: block; }

/* 平板/小笔记本断点（覆盖原 860px 规则） */
@media (max-width: 979px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; }
    .header-search { display: none !important; }
    .main-nav.open {
        display: block; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md); padding: 12px 16px;
    }
    .main-nav.open ul { flex-direction: column; gap: 4px; }
    .main-nav.open a { display: block; padding: 10px 8px; border-radius: 10px; }
    .main-nav.open a:hover, .main-nav.open a.active { background: var(--brand-50); }
    .main-nav.open a.active::after { display: none; }
}
@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; }
    .header-search { display: block; width: 220px; }
}

/* ---------- Hero：暖色渐变 + 装饰光斑 ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(520px 220px at 88% -30%, rgba(255, 138, 31, .16), transparent 70%),
        radial-gradient(420px 200px at 4% 0%, rgba(255, 77, 0, .08), transparent 70%),
        linear-gradient(180deg, #fff8f3 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
    padding: 40px 0 36px;
}
.hero h1 {
    font-size: 30px; letter-spacing: .5px;
    background: linear-gradient(90deg, #1f2328 55%, var(--brand) 100%);
    -webkit-background-clip: text; background-clip: text;
}
.hero-kicker {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0 0 10px; padding: 4px 12px; font-size: 13px; font-weight: 600;
    color: var(--brand-dark); background: var(--brand-50);
    border: 1px solid var(--brand-100); border-radius: 999px;
}
.hero-search { max-width: 640px; }
.hero-search input {
    height: 48px; border-color: var(--border-strong);
    box-shadow: 0 4px 14px -8px rgba(16, 24, 40, .15);
}
.hero-search input:focus {
    outline: none; border-color: var(--brand-light);
    box-shadow: 0 0 0 4px rgba(255, 90, 31, .12);
}
.hero-search .btn { height: 48px; padding: 0 28px; }

/* ---------- 按钮：渐变主按钮 + 按压感 ---------- */
.btn {
    background: var(--brand-gradient);
    box-shadow: 0 6px 14px -6px rgba(255, 90, 31, .55);
    transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { background: var(--brand-gradient); filter: brightness(1.03); box-shadow: 0 9px 20px -6px rgba(255, 90, 31, .6); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-outline {
    background: #fff; color: var(--brand); border: 1px solid var(--brand-100);
    box-shadow: none;
}
.btn-outline:hover { background: var(--brand-50); filter: none; }
.btn-loading { position: relative; pointer-events: none; opacity: .85; }

/* ---------- Section 标题装饰 ---------- */
.section { padding: 28px 0; }
.section-head h2 {
    position: relative; padding-left: 13px; font-size: 20px;
}
.section-head h2::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 5px; height: 18px; border-radius: 5px;
    background: var(--brand-gradient);
}

/* ---------- 任务行 / 任务卡片 ---------- */
.task-row {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.task-row:hover {
    transform: translateY(-2px);
    border-color: var(--brand-100);
    box-shadow: var(--shadow-hover);
}
.tr-icon, .tc-icon {
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px -2px rgba(16, 24, 40, .12);
}
.tr-icon-text, .tc-icon-text {
    background: var(--brand-50);
}
.tr-main h3 a, .task-card h3 a { transition: color .15s ease; }
.tr-main h3 a:hover, .task-card h3 a:hover { color: var(--brand); }

.task-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.task-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-100);
    box-shadow: var(--shadow-hover);
}

/* 奖励：有值高亮、无值克制灰 */
.tr-reward, .task-card .reward {
    background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reward-na {
    color: var(--text-muted) !important;
    -webkit-text-fill-color: var(--text-muted) !important;
    font-weight: 600 !important; font-size: 13px !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
}

/* 标签 / 徽章 */
.tc-tag { border-radius: 999px; padding: 2px 10px; background: var(--bg-soft); }
.tc-tag-limit { background: var(--brand-50); color: var(--brand-dark); }
.stars { filter: saturate(1.1); }

/* ---------- 筛选 chips ---------- */
.chip {
    border-radius: 999px; background: #fff;
    transition: all .16s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); transform: translateY(-1px); }
.chip-active, .chip.chip-active {
    background: var(--brand-gradient); color: #fff; border-color: transparent;
    box-shadow: 0 5px 12px -5px rgba(255, 90, 31, .55);
}

/* ---------- APP 网格 ---------- */
.app-item {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.app-item:hover {
    transform: translateY(-3px);
    border-color: var(--brand-100);
    box-shadow: var(--shadow-hover);
}
.app-item .app-logo {
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-50), #ffe9dc);
    box-shadow: inset 0 0 0 1px var(--brand-100);
}

/* ---------- 详情页 ---------- */
.fact {
    border: 1px solid var(--border);
    background: var(--bg-tint);
    border-radius: var(--radius-sm);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.fact:hover { border-color: var(--brand-100); box-shadow: var(--shadow-card); }
.fact .v.highlight { color: var(--brand); }
.fact .v.highlight.reward-na { color: var(--text-muted); }

.cta-box {
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fff6f0 0%, #ffefe6 100%);
    border: 1px solid var(--brand-100);
    box-shadow: var(--shadow-card);
}

.content-block h2 {
    border-left: none; padding-left: 0;
    display: flex; align-items: center; gap: 9px;
}
.content-block h2::before {
    content: ""; width: 6px; height: 18px; border-radius: 6px;
    background: var(--brand-gradient);
}
.notice {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-soft);
}

/* ---------- 分页 ---------- */
.pagination a, .pagination span {
    border-radius: 999px; min-width: 36px; text-align: center;
    transition: all .15s ease;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.pagination .current { background: var(--brand-gradient); border-color: transparent; box-shadow: 0 4px 10px -4px rgba(255, 90, 31, .55); }

/* ---------- 面包屑 / 页脚 ---------- */
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { vertical-align: -2px; }
.site-footer {
    margin-top: 40px;
    background: linear-gradient(180deg, #fbfcfd 0%, #f5f6f8 100%);
}
.footer-links a { transition: color .15s ease; }
.footer-links a:hover { color: var(--brand); }

/* ---------- 空状态 ---------- */
.empty {
    padding: 56px 16px; border: 1px dashed var(--border-strong);
    border-radius: var(--radius); background: var(--bg-tint);
}

/* ---------- 文章页 ---------- */
.article-body { line-height: 1.85; }
.article-body h2 { margin-top: 28px; }
