:root {
  --ink: #1a1a1a;
  --sub: #6b7280;
  --line: #e5e7eb;
  --accent: #c2410c;
  --accent-soft: #fff7ed;
  --bg: #f2f3f5;
  --card: #fafafa;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1; width: 100%; padding-top: 28px; padding-bottom: 56px; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { font-size: 19px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.main-nav { display: flex; gap: 22px; font-size: 15px; }
.main-nav a { color: var(--sub); padding: 4px 2px; }
.main-nav a.active { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); }
.header-search { margin-left: auto; }
.header-search input {
  width: 180px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 0;
  font-size: 14px; outline: none; background: var(--card);
}
.header-search input:focus { border-color: var(--accent); background: #fff; width: 220px; transition: width .2s; }

/* ---------- hero ---------- */
.hero { padding: 34px 0 8px; }
.hero h1 { font-size: 34px; margin: 0 0 8px; letter-spacing: 1px; }
.hero p { color: var(--sub); margin: 0; max-width: 640px; font-size: 16px; }
.hero-stats { display: flex; gap: 26px; margin-top: 16px; color: var(--sub); font-size: 14px; }
.hero-stats b { color: var(--ink); font-size: 18px; margin-right: 4px; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; margin-top: 18px; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } .header-search input { width: 120px; } }
.section-title { font-size: 17px; font-weight: 700; margin: 22px 0 6px; display: flex; align-items: center; gap: 10px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- article list ---------- */
.article-card { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.article-card:hover h3 { color: var(--accent); }
.article-card h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.45; }
.article-card p { margin: 0 0 8px; color: var(--sub); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: #9ca3af; font-size: 13px; align-items: center; }
.tag { background: var(--accent-soft); color: var(--accent); border-radius: 0; padding: 1px 8px; font-size: 12.5px; }
.pin { color: #b45309; font-size: 12.5px; border: 1px solid #f59e0b; border-radius: 0; padding: 0 6px; }
.rank-num { font-weight: 800; color: var(--accent); width: 26px; font-size: 18px; }
.rank-row { display: flex; align-items: baseline; }
.rank-row .article-card { flex: 1; }
.empty { color: var(--sub); padding: 36px 0; text-align: center; }

/* ---------- sidebar ---------- */
.side-card { border: 1px solid var(--line); border-radius: 0; padding: 18px; margin-bottom: 20px; background: #fff; }
.side-card h4 { margin: 0 0 10px; font-size: 15px; }
.side-card p { margin: 0; color: var(--sub); font-size: 14px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-list li:last-child { border-bottom: none; }
.side-list .views { color: #9ca3af; font-size: 12.5px; margin-left: 6px; }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip { border: 1px solid var(--line); border-radius: 0; padding: 3px 12px; font-size: 13.5px; cursor: pointer; background: #fff; }
.cat-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- article page ---------- */
.article-body { max-width: 740px; margin: 0 auto; }
.article-body h1 { font-size: 30px; line-height: 1.4; margin: 10px 0 12px; }
.article-content { font-size: 16.5px; margin-top: 22px; }
.article-content h2 { font-size: 22px; margin: 30px 0 10px; }
.article-content h3 { font-size: 18px; margin: 24px 0 8px; }
.article-content p { margin: 12px 0; }
.article-content ul, .article-content ol { padding-left: 22px; }
.article-content li { margin: 5px 0; }
.article-content blockquote { border-left: 3px solid var(--accent); margin: 16px 0; padding: 4px 14px; color: var(--sub); background: var(--accent-soft); }
.article-content code { background: #f3f4f6; padding: 1px 6px; border-radius: 0; font-size: 14px; }
.article-content pre { background: #111827; color: #e5e7eb; padding: 14px 16px; border-radius: 0; overflow-x: auto; }
.article-content pre code { background: none; color: inherit; padding: 0; }
.article-content img { max-width: 100%; border-radius: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 14.5px; }
.back-link { color: var(--sub); font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--sub); font-size: 14px; }
.site-footer p { margin: 3px 0; }
.footer-sub { font-size: 13px; color: #9ca3af; }
.footer-sub a { margin-left: 10px; }

/* ---------- admin ---------- */
.admin-shell { display: grid; grid-template-columns: 210px 1fr; min-height: 100vh; }
@media (max-width: 760px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side { border-right: 1px solid var(--line); padding: 22px 16px; background: var(--card); }
.admin-side h2 { font-size: 16px; margin: 0 0 18px; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side nav a { padding: 8px 10px; border-radius: 0; font-size: 14.5px; color: var(--sub); }
.admin-side nav a.active { background: var(--ink); color: #fff; }
.admin-side .logout { margin-top: 18px; }
.admin-main { padding: 26px 30px; max-width: 960px; width: 100%; }
.admin-main h1 { font-size: 22px; margin: 0 0 18px; }
.btn { display: inline-block; border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 0; padding: 7px 16px; font-size: 14px; cursor: pointer; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.danger { background: #b91c1c; border-color: #b91c1c; }
.btn:disabled { opacity: .5; cursor: default; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.admin-table th, table.admin-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
table.admin-table th { color: var(--sub); font-weight: 600; font-size: 13px; }
.row-actions { display: flex; gap: 8px; white-space: nowrap; }
.row-actions button { border: none; background: none; color: var(--accent); cursor: pointer; font-size: 14px; padding: 0; }
.row-actions button.del { color: #b91c1c; }
.form label { display: block; font-size: 14px; color: var(--sub); margin: 16px 0 6px; }
.form input[type="text"], .form input[type="date"], .form input[type="password"], .form select, .form textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 0; font-size: 15px; font-family: inherit; outline: none;
}
.form textarea { min-height: 320px; line-height: 1.7; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent); }
.form .inline { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .form .inline { grid-template-columns: 1fr; } }
.form .check { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14.5px; margin-top: 16px; }
.form-actions { margin-top: 22px; display: flex; gap: 10px; }
.error { color: #b91c1c; font-size: 14px; margin-top: 10px; }
.ok-note { color: #047857; font-size: 14px; margin-top: 10px; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--card); }
.login-box { width: 340px; max-width: 92vw; background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 30px 28px; }
.login-box h1 { font-size: 20px; margin: 0 0 6px; }
.login-box p { color: var(--sub); font-size: 14px; margin: 0 0 10px; }
.badge-draft { color: #92400e; background: #fef3c7; border-radius: 0; padding: 0 7px; font-size: 12.5px; }

/* ---------- v2 三栏布局与新组件 ---------- */
.container { width: min(1360px, calc(100% - 32px)); }
.layout3 { display: grid; grid-template-columns: 232px minmax(0, 1fr) 296px; gap: 22px; align-items: start; }
.col-main { min-width: 0; }
.hero.slim { padding: 20px 26px; margin-bottom: 18px; }
.hero.slim h1 { font-size: 26px; }
.flash-note { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; border-radius: 0; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }

/* 轮播 */
.carousel { position: relative; border-radius: 0; overflow: hidden; margin-bottom: 22px; box-shadow: 0 10px 28px rgba(15, 23, 42, .14); }
.carousel-track { position: relative; aspect-ratio: 21 / 9; background: #0f172a; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 26px 18px; background: linear-gradient(transparent, rgba(2, 6, 23, .78)); color: #fff; display: block; }
.slide-caption b { display: block; font-size: clamp(19px, 2.6vw, 29px); }
.slide-caption i { font-style: normal; opacity: .88; font-size: clamp(12px, 1.4vw, 15px); }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 22px; line-height: 1; cursor: pointer; z-index: 3; }
.car-btn.prev { left: 12px; } .car-btn.next { right: 12px; }
.car-dots { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 7px; z-index: 3; }
.car-dots .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.car-dots .dot.on { background: #fff; }

/* 侧栏块 */
.side-block { background: #fff; border: 1px solid #e5e7eb; border-radius: 0; padding: 16px; margin-bottom: 18px; }
.side-block h4 { font-size: 15px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 2px solid #eef2ff; }
.block-note { color: #6b7280; font-size: 13px; margin-bottom: 10px; }
.cat-list { list-style: none; }
.cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 0; color: #374151; font-size: 14px; }
.cat-list li a:hover { background: #f3f4f6; text-decoration: none; }
.cat-list li a.on { background: #eef2ff; color: #1d4ed8; font-weight: 600; }
.cat-list li a span { background: #eef2ff; color: #3730a3; border-radius: 0; font-size: 12px; padding: 0 8px; }
.ad-slot { display: block; margin-bottom: 18px; border-radius: 0; overflow: hidden; border: 1px solid #e5e7eb; }
.ad-slot img, .ad-slot video { width: 100%; display: block; }
.hot-list { list-style: none; }
.hot-list li { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px dashed #eef0f3; font-size: 13.5px; }
.hot-list li:last-child { border-bottom: 0; }
.hot-list a { color: #374151; }
.hot-rank { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 0; background: #eef2ff; color: #3730a3; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.hot-list li:nth-child(-n+3) .hot-rank { background: #2563eb; color: #fff; }

/* 作者卡片 / 标签 / 小表单 */
.author-card { background: linear-gradient(160deg, #ffffff, #eef2ff); border: 1px solid #e0e7ff; border-radius: 0; padding: 20px 16px; margin-bottom: 18px; text-align: center; }
.author-avatar { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .25); }
.author-card h4 { font-size: 17px; margin-top: 10px; }
.author-title { color: #2563eb; font-size: 12.5px; margin-top: 3px; }
.author-bio { color: #4b5563; font-size: 13.5px; margin-top: 9px; text-align: left; }
.author-contact { color: #374151; font-size: 13px; margin-top: 6px; text-align: left; }
.btn.mini { padding: 6px 16px; font-size: 13px; margin-top: 12px; display: inline-block; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: #f3f4f6; border-radius: 0; padding: 4px 11px; font-size: 13px; color: #374151; }
.tag-cloud a:hover { background: #e0e7ff; text-decoration: none; }
.tag-cloud small { color: #2563eb; margin-left: 4px; font-weight: 700; }
.mini-form { display: grid; gap: 9px; }
.mini-form input, .mini-form textarea { border: 1px solid #d1d5db; border-radius: 0; padding: 9px 11px; font: inherit; font-size: 14px; width: 100%; background: #fff; }
.mini-form textarea { min-height: 74px; resize: vertical; }
.btn.ghost-dark { background: #fff; color: #1f2937; border: 1px solid #d1d5db; }

/* 文章卡片 v2（带封面） */
.article-card.v2 { display: flex; gap: 16px; align-items: stretch; }
.card-cover { flex: 0 0 188px; border-radius: 0; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; min-height: 104px; object-fit: cover; display: block; }
.card-body { display: flex; flex-direction: column; min-width: 0; }
.card-body h3 { font-size: 17.5px; }
.card-body p { flex: 1; }
.article-cover { width: 100%; border-radius: 0; margin: 14px 0 6px; display: block; }
.article-body.in-col { max-width: none; }
.article-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.article-tags a { background: #eef2ff; color: #3730a3; border-radius: 0; padding: 4px 12px; font-size: 13px; }

/* 分页 */
.pager { display: flex; gap: 7px; align-items: center; margin: 22px 0 6px; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 13px; border: 1px solid #e5e7eb; border-radius: 0; background: #fff; color: #374151; font-size: 14px; }
.pager span.on { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 700; }
.pager a:hover { text-decoration: none; border-color: #2563eb; color: #2563eb; }

/* 页脚友链 */
.footer-links { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; justify-content: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #e5e7eb; }
.footer-links .fl-title { color: #6b7280; font-size: 13px; }
.footer-links a { color: #374151; font-size: 13.5px; }

/* 后台补充 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 0; padding: 18px; }
.stat-card b { font-size: 27px; display: block; }
.stat-card span { color: #6b7280; font-size: 13px; }
.thumb-cell img { width: 86px; height: 48px; object-fit: cover; border-radius: 0; display: block; }
.cover-preview { max-width: 320px; border-radius: 0; display: block; margin: 6px 0 4px; border: 1px solid #e5e7eb; }
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #dc2626; margin-right: 6px; vertical-align: middle; }

@media (max-width: 1120px) {
  .layout3 { grid-template-columns: 210px minmax(0, 1fr); }
  .col-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
  .col-right .side-block, .col-right .author-card { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .layout3 { grid-template-columns: minmax(0, 1fr); }
  .col-left { order: 2; } .col-main { order: 1; } .col-right { order: 3; }
  .article-card.v2 { flex-direction: column; }
  .card-cover { flex: none; }
  .card-cover img { height: 170px; }
  .carousel-track { aspect-ratio: 16 / 10; }
}

/* ---------- v3：中栏定宽 800 + 两级分类树 ---------- */
.layout3 { grid-template-columns: 228px minmax(0, 800px) 288px; justify-content: center; }
.carousel { margin-bottom: 18px; }
.cat-tree { list-style: none; }
.cat-node { border-bottom: 1px dashed #eef0f3; }
.cat-node:last-child { border-bottom: 0; }
.cat-row { display: flex; align-items: center; gap: 4px; }
.cat-link { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 0; color: #374151; font-size: 14px; }
.cat-link:hover { background: #f3f4f6; text-decoration: none; }
.cat-link.on { background: #eef2ff; color: #1d4ed8; font-weight: 600; }
.cat-link .cnt, .sub-list .cnt { background: #eef2ff; color: #3730a3; border-radius: 0; font-size: 12px; padding: 0 8px; }
.cat-toggle { flex: 0 0 auto; width: 26px; height: 26px; border: 0; border-radius: 0; background: #f3f4f6; color: #4b5563; cursor: pointer; font-size: 13px; transition: transform .25s ease; }
.cat-toggle:hover { background: #e0e7ff; }
.cat-node.open .cat-toggle { transform: rotate(180deg); }
.sub-list { list-style: none; display: none; padding: 2px 0 8px 14px; }
.cat-node.open .sub-list { display: block; }
.sub-list li a { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 0; color: #4b5563; font-size: 13.5px; }
.sub-list li a:hover { background: #f3f4f6; text-decoration: none; }
.sub-list li a.on { background: #eef2ff; color: #1d4ed8; font-weight: 600; }
@media (max-width: 1120px) {
  .layout3 { grid-template-columns: 210px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .layout3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- v3.1：封面图尺寸优化（列表小图定高、文章页限高，不再裁字） ---------- */
.article-card.v2 { align-items: flex-start; }
.card-cover { flex: 0 0 168px; aspect-ratio: 16 / 9; align-self: flex-start; }
.card-cover img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.article-cover { width: 100%; height: auto; max-height: 272px; object-fit: cover; }
@media (max-width: 760px) {
  .card-cover { flex: none; width: 100%; }
  .card-cover img { height: 100%; }
  .article-cover { max-height: 200px; }
}

/* ---------- v3.1：正文表格 ---------- */
.md-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.md-table th, .md-table td { border: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; }
.md-table th { background: #f5f6f8; font-weight: 600; }
.md-table tr:nth-child(even) td { background: #fafbfc; }

/* ---------- v3.2：栏宽（左窄 / 右 280 / 中栏加宽） ---------- */
.container { width: min(1440px, calc(100% - 32px)); }
.layout3 { grid-template-columns: 200px minmax(0, 1fr) 280px; justify-content: stretch; }
.article-content img { max-width: 100%; height: auto; border-radius: 0; }
@media (max-width: 1120px) {
  .layout3 { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .layout3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- v3.5：首页精选区（填补中栏下方空白） ---------- */
.home-extra { margin-top: 30px; }
.picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pick-card { display: block; background: #fff; border: 1px solid #ececf1; border-radius: 0; overflow: hidden; color: inherit; }
.pick-card:hover { text-decoration: none; border-color: #c7d2fe; box-shadow: 0 6px 18px rgba(31,41,55,.07); }
.pick-cover { display: block; aspect-ratio: 16/9; overflow: hidden; background: #eef1f5; }
.pick-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.45; margin: 10px 12px 4px; color: #1f2430; }
.pick-meta { display: block; font-size: 12.5px; color: #9ca3af; margin: 0 12px 12px; }
.cat-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cat-block { background: #fff; border: 1px solid #ececf1; border-radius: 0; padding: 16px 18px 10px; }
.cat-block-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eef2ff; padding-bottom: 9px; margin-bottom: 6px; }
.cat-block-head h3 { font-size: 16px; margin: 0; }
.cat-block-head a { font-size: 13px; color: #2563eb; }
.cat-block ul { list-style: none; }
.cat-block li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #eef0f3; }
.cat-block li:last-child { border-bottom: 0; }
.cat-block li a { color: #374151; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-block li a:hover { color: #2563eb; }
.cat-block li time { color: #9ca3af; font-size: 12.5px; flex: 0 0 auto; }
@media (max-width: 1120px) {
  .picks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .picks-grid, .cat-blocks { grid-template-columns: 1fr; }
}

/* ---------- v3.6：图片 Logo ---------- */
.brand-logo { height: 36px; width: auto; max-width: 220px; display: block; object-fit: contain; }
.brand { display: inline-flex; align-items: center; }

/* ---------- v3.7：分类左对齐（与「文章分类」标题齐平） + 栏宽定版 ---------- */
.layout3 { grid-template-columns: 200px minmax(0, 1fr) 280px; }
.cat-link { padding: 8px 8px 8px 0; }
.sub-list { padding: 2px 0 8px 12px; }
.sub-list li a { padding: 6px 8px 6px 0; }

/* ---------- v3.8：左右侧栏粘性固定（长文章滚动时不留白） ---------- */
.col-left, .col-right { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7cede transparent; }
.col-left::-webkit-scrollbar, .col-right::-webkit-scrollbar { width: 5px; }
.col-left::-webkit-scrollbar-thumb, .col-right::-webkit-scrollbar-thumb { background: #c7cede; border-radius: 0; }
@media (max-width: 1120px) {
  .col-left, .col-right { position: static; max-height: none; overflow: visible; }
}

/* ---------- v3.9：文章评论区 ---------- */
.comments { margin-top: 34px; }
.comment-item { background: #fff; border: 1px solid #ececf1; border-radius: 0; padding: 13px 16px; margin-bottom: 10px; }
.comment-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.comment-name { font-weight: 600; color: #1f2430; font-size: 14.5px; }
.comment-head time { color: #9ca3af; font-size: 12.5px; }
.comment-body { color: #374151; font-size: 14.5px; line-height: 1.7; word-break: break-word; }
.comment-form { background: #fff; border: 1px solid #ececf1; border-radius: 0; padding: 16px; margin-top: 14px; display: grid; gap: 10px; }
.comment-form input[type="text"], .comment-form textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 0; padding: 10px 12px; font: inherit; font-size: 14.5px; }
.comment-form button { justify-self: start; }

/* ---------- v3.9.1：右栏取消粘性固定（左栏保留），避免与中栏叠压 ---------- */
.col-right { position: static; max-height: none; overflow: visible; }

/* ---------- v4.1：页脚二维码位 ---------- */
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-qrs { display: flex; gap: 18px; }
.footer-qr { margin: 0; text-align: center; }
.footer-qr img { width: 96px; height: 96px; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: 0; display: block; }
.footer-qr figcaption { font-size: 12.5px; color: #6b7280; margin-top: 6px; }
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- v4.2：悬浮分享工具栏 + 分享面板 + 海报 ---------- */
.float-tools { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 8px; }
.ft-btn { width: 44px; height: 44px; border-radius: 0; border: 1px solid #e5e7eb; background: #fff; color: #4b5563; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(31,41,55,.10); }
.ft-btn:hover { border-color: #c7d2fe; color: #2563eb; }
.ft-share { background: #1e88c7; border-color: #1e88c7; color: #fff; }
.ft-share:hover { background: #1976ae; color: #fff; }
.share-panel { position: fixed; right: 72px; top: 50%; transform: translateY(-50%); z-index: 40; width: 304px; background: #fff; border: 1px solid #e5e7eb; border-radius: 0; box-shadow: 0 16px 44px rgba(31,41,55,.18); padding: 16px; }
.share-panel[hidden], .poster-modal[hidden] { display: none !important; }
.share-title { background: #1e88c7; color: #fff; font-weight: 600; font-size: 15px; border-radius: 0; padding: 9px 12px; margin-bottom: 12px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.share-item { display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 7px 6px; border-radius: 0; cursor: pointer; font-size: 14px; color: #374151; text-align: left; }
.share-item:hover { background: #f3f4f6; }
.share-item .ic { width: 30px; height: 30px; border-radius: 0; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.poster-modal { position: fixed; inset: 0; z-index: 60; background: rgba(17,24,39,.62); display: flex; align-items: center; justify-content: center; padding: 18px; }
.poster-box { background: #fff; border-radius: 0; padding: 18px; max-width: 400px; width: 100%; text-align: center; max-height: 92vh; overflow-y: auto; }
.poster-box canvas { width: 100%; height: auto; border: 1px solid #e5e7eb; border-radius: 0; }
.poster-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.poster-hint { color: #9ca3af; font-size: 12.5px; margin-top: 10px; }
@media (max-width: 760px) {
  .float-tools { right: 10px; }
  .share-panel { right: 62px; width: min(304px, calc(100vw - 84px)); }
}

/* ---------- v4.3：图4 页眉 / 图1 分类树 / 排行榜 / 点赞 / 工具页 ---------- */
.header-inner { height: auto; min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-avatar { width: 42px; height: 42px; border-radius: 0; object-fit: cover; flex: 0 0 auto; }
.brand-texts { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-size: 17.5px; font-weight: 800; color: #111827; letter-spacing: .5px; }
.brand-tag { font-size: 11.5px; color: #8a919c; letter-spacing: 1.5px; font-weight: 400; }
.main-nav { flex: 1; justify-content: center; gap: 34px; }
.main-nav a { position: relative; padding: 8px 2px; font-size: 15.5px; }
.main-nav a.active { border-bottom: 0; }
.main-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 0; background: #0ea47a; }
.header-search { display: flex; align-items: center; background: #f1f3f5; border-radius: 0; padding: 4px; margin-left: auto; }
.header-search input { border: 0; background: transparent; padding: 7px 6px 7px 14px; width: 208px; outline: none; font-size: 14px; border-radius: 0; }
.header-search input:focus { width: 208px; background: transparent; }
.header-search button { border: 0; background: #20303f; color: #fff; border-radius: 0; padding: 8px 20px; font-size: 14px; cursor: pointer; flex: 0 0 auto; }
.header-search button:hover { background: #141f29; }
@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .header-search { display: none; }
}

/* 图1 分类树 */
.cat-side-title { font-size: 13px; color: #9aa1ab; font-weight: 500; letter-spacing: 3px; border-bottom: 0; padding-bottom: 0; margin-bottom: 8px; }
.cat-tree .cat-node { border-bottom: 0; }
.cat-link.parent-link { display: flex; align-items: center; gap: 8px; justify-content: flex-start; padding: 9px 8px; font-size: 15px; font-weight: 600; color: #1f2430; }
.trend-ic { flex: 0 0 auto; }
.cat-toggle { background: none; color: #9aa1ab; font-size: 15px; width: 28px; height: 28px; }
.cat-link:hover, .sub-link:hover { background: #f2f8f5; text-decoration: none; }
.cat-link.on, .sub-list li a.on, a.sub-link.on { background: #e7f6ef; color: #0b7a55; font-weight: 600; }
.cat-link.sub-link { display: block; padding: 8px 10px 8px 33px; font-size: 14.5px; color: #3c4450; border-radius: 0; font-weight: 400; }
.sub-list { padding: 2px 0 6px 25px; }
.sub-list li a { display: block; padding: 8px 10px; font-size: 14.5px; color: #3c4450; border-radius: 0; }

/* 排行榜 */
.rank-tabs { display: flex; gap: 22px; border-bottom: 2px solid #eef2f0; margin-bottom: 10px; }
.rank-tab { border: 0; background: none; font-size: 16px; font-weight: 700; color: #9aa1ab; padding: 4px 2px 10px; cursor: pointer; position: relative; font-family: inherit; }
.rank-tab.on { color: #1f2430; }
.rank-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: #0ea47a; border-radius: 0; }
.rank-ranges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.rank-range { border: 0; background: #f1f5f3; color: #5b6470; font-size: 12.5px; padding: 5px 11px; border-radius: 0; cursor: pointer; font-family: inherit; }
.rank-range.on { background: #dff5ea; color: #0b7a55; font-weight: 600; }
.rank-list { list-style: none; display: grid; gap: 13px; }
.rank-list li { display: flex; gap: 10px; align-items: flex-start; }
.rk { flex: 0 0 auto; width: 21px; height: 21px; border-radius: 0; background: #eef0f3; color: #8a919c; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.rk1 { background: #f04438; color: #fff; }
.rk2 { background: #f79009; color: #fff; }
.rk3 { background: #fdb022; color: #fff; }
.rk-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rk-main a { color: #1f2430; font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rk-main a:hover { color: #0b7a55; text-decoration: none; }
.rk-count { color: #9aa1ab; font-size: 12.5px; }
.rank-empty { color: #9aa1ab; font-size: 13.5px; }

/* 点赞 */
.like-bar { text-align: center; margin: 26px 0 8px; }
.like-btn { border: 1.5px solid #f3b8c6; background: #fff5f7; color: #d6336c; font-size: 15.5px; font-weight: 600; padding: 10px 30px; border-radius: 0; cursor: pointer; font-family: inherit; }
.like-btn:hover { background: #ffeef3; }
.like-btn.liked { background: #d6336c; border-color: #d6336c; color: #fff; cursor: default; }

/* 工具导航页 */
.tools-note { color: #6b7280; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card { background: #fff; border: 1px solid #ececf1; border-radius: 0; overflow: hidden; color: #1f2430; font-weight: 600; font-size: 14.5px; }
.tool-card:hover { text-decoration: none; border-color: #c7d2fe; }
.tool-card img { width: 100%; aspect-ratio: 2/1; object-fit: cover; display: block; }
.tool-card span { display: block; padding: 10px 12px; }
.tools-links { display: flex; flex-wrap: wrap; gap: 10px; }
.tools-links a { background: #fff; border: 1px solid #e5e7eb; padding: 9px 16px; border-radius: 0; color: #374151; font-size: 14px; }
.tools-links a:hover { text-decoration: none; border-color: #0ea47a; color: #0b7a55; }
@media (max-width: 760px) { .tools-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- v4.4：文章阅读页（无左右栏 + 目录卡 + 右侧按钮列） ---------- */
.article-wrap { display: grid; grid-template-columns: 236px minmax(0, 880px) 64px; gap: 26px; justify-content: center; align-items: start; }
.article-col { min-width: 0; }
.article-col .comments { background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 24px 28px; }
.toc-card { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 16px 14px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
.toc-card h4 { font-size: 15px; margin: 0 0 10px; padding: 0 6px; }
.toc-list { list-style: none; display: grid; gap: 2px; }
.toc-list a { display: block; padding: 7px 9px; border-radius: 0; color: #5b6470; font-size: 13.5px; line-height: 1.5; }
.toc-list a:hover { background: #f6f7f9; text-decoration: none; }
.toc-list a.on { background: #f1f3f5; color: #1f2430; font-weight: 600; }
.toc-num { color: #9aa1ab; font-weight: 600; }
.toc-l3 a { padding-left: 26px; font-size: 13px; }
.article-content h2[id], .article-content h3[id] { scroll-margin-top: 92px; }
.action-rail { position: sticky; top: 128px; display: flex; flex-direction: column; gap: 12px; }
.rail-btn { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 14px rgba(31,41,55,.08); color: #5b6470; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; font-size: 11px; font-family: inherit; text-decoration: none; }
.rail-btn:hover { color: #2563eb; border-color: #c7d2fe; text-decoration: none; }
.rail-btn.liked { color: #d6336c; border-color: #f3b8c6; background: #fff5f7; }
.rail-btn.faved { color: #b45309; border-color: #f5cf8f; background: #fffbeb; }
.rail-btn span { line-height: 1; }
@media (max-width: 1280px) { .action-rail { display: none; } .article-wrap { grid-template-columns: 236px minmax(0, 880px); } }
@media (max-width: 1060px) {
  .toc-card, .toc-empty { display: none; }
  .article-wrap { grid-template-columns: minmax(0, 880px); }
}
.toc-d1 a { padding-left: 26px; font-size: 13px; }
.toc-d2 a { padding-left: 40px; font-size: 13px; }
.article-content h4 { font-size: 17px; margin: 22px 0 10px; }
.article-content h2[id], .article-content h4[id] { scroll-margin-top: 92px; }

/* ---------- v4.5：全屏通栏 + 无目录文章居中 ---------- */
.container { max-width: none; width: 100%; padding-left: 36px; padding-right: 36px; }
@media (max-width: 760px) {
  .container { padding-left: 14px; padding-right: 14px; }
}
.article-wrap.no-toc { grid-template-columns: minmax(0, 880px) 64px; }
@media (max-width: 1280px) {
  .article-wrap.no-toc { grid-template-columns: minmax(0, 880px); }
}

/* ---------- v4.6：布局定版（通栏左对齐 / 列表零缩进 / 响应式收尾——布局规则到此为止，勿再追加） ---------- */
.container { max-width: none; width: 100%; margin: 0; padding-left: 24px; padding-right: 24px; }
.layout3 { grid-template-columns: 200px minmax(0, 1fr) 280px; justify-content: stretch; }
ul.cat-tree, ul.hot-list, ul.cat-list, ol.rank-list, ul.toc-list { padding-left: 0; }
@media (max-width: 1120px) {
  .layout3 { grid-template-columns: 190px minmax(0, 1fr); }
  .col-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
  .col-right .side-block { margin-bottom: 0; }
  .col-left, .col-right { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 760px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .layout3 { grid-template-columns: minmax(0, 1fr); }
  .col-left { order: 2; }
  .col-main { order: 1; }
  .col-right { order: 3; display: block; }
  .article-card.v2 { flex-direction: column; }
  .card-cover { flex: none; }
  .card-cover img { height: 170px; }
  .carousel-track { aspect-ratio: 16 / 10; }
}

/* ---------- v4.8：图片 Logo 放大（与导航同高 / 宽≤280 / 手机自适应） ---------- */
.brand-logo { height: 68px; width: auto; max-width: 280px; }
.header-inner { min-height: 84px; }
.col-left { top: 93px; max-height: calc(100vh - 109px); }
.toc-card { top: 101px; }
.action-rail { top: 137px; }
@media (max-width: 760px) {
  .brand-logo { height: 46px; max-width: 168px; }
  .header-inner { min-height: 62px; }
}
@media (max-width: 420px) {
  .brand-logo { height: 40px; max-width: 132px; }
}

/* v5.4 跨境快讯（右栏顶部，时间线 + 自动上滚，悬停暂停） */
.flash-block { overflow: hidden; }
.flash-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.flash-title { position: relative; font-size: 19px; font-weight: 800; color: #ea580c; margin: 0; letter-spacing: .5px; }
.flash-title::after { content: "讯"; position: absolute; left: 30px; top: -20px; font-size: 54px; font-weight: 900; color: rgba(234, 88, 12, .07); z-index: 0; pointer-events: none; }
.flash-more { font-size: 13px; color: #9aa1ab; text-decoration: none; white-space: nowrap; }
.flash-more:hover { color: #ea580c; }
.flash-refresh { display: inline-block; font-size: 14px; }
.flash-viewport { overflow: hidden; }
.flash-viewport.scrolling { height: 286px; }
.flash-track.scroll { animation-name: flashScroll; animation-timing-function: linear; animation-iteration-count: infinite; }
.flash-viewport:hover .flash-track.scroll { animation-play-state: paused; }
@keyframes flashScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .flash-track.scroll { animation: none; } }
.flash-list { position: relative; padding: 2px 0 2px 16px; }
.flash-list::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; border-left: 1px dashed #f3c19b; }
.flash-item { position: relative; padding: 0 0 14px; }
.flash-item:last-child { padding-bottom: 4px; }
.flash-dot { position: absolute; left: -16px; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #f97316; background: #fff; box-sizing: border-box; }
.flash-date { color: #f97316; font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
.flash-text { color: #374151; font-size: 14.5px; line-height: 1.55; }
.flash-text a { color: inherit; text-decoration: none; }
.flash-text a:hover { color: #ea580c; }
.flash-page-list { max-width: 760px; }

/* v5.6 文字滚动广告（Banner 下方，一行 3 条，多的横向逐个滚动） */
.tad-bar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #f3d9c8; border-radius: 0; padding: 0 12px; height: 42px; margin: 12px 0 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.tad-icon { font-size: 15px; flex: 0 0 auto; }
.tad-label { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: #fff; background: #dc2626; border-radius: 0; padding: 2px 5px; letter-spacing: 1px; }
.tad-viewport { flex: 1; height: 42px; overflow: hidden; min-width: 0; }
.tad-track { display: flex; will-change: transform; }
.tad-item { flex: 0 0 33.3333%; max-width: 33.3333%; box-sizing: border-box; height: 42px; line-height: 42px; padding: 0 8px; font-size: 13px; color: #374151; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
a.tad-item:hover { color: #dc2626; text-decoration: underline; }
@media (max-width: 760px) { .tad-item { font-size: 12px; padding: 0 5px; } }

/* v5.9 正文破图兜底隐藏 */
.article-body img.img-dead { display: none !important; }

/* v6.0 品牌 emoji 图标（顶栏） */
.brand-emoji { width: 42px; height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-size: 25px; line-height: 1; background: linear-gradient(135deg, #2563eb, #7c3aed); }

/* v6.1 文字广告：滚动模式 + 闪动（务必保持在文件末尾） */
.tad-mode-marquee .tad-item { flex: 0 0 auto; max-width: none; padding: 0 30px 0 10px; }
.tad-track.tad-running { animation-name: tadMarquee; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes tadMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tad-item.is-blink { color: #dc2626; font-weight: 700; }
.tad-bar[data-blink-style="flash"] .tad-item.is-blink { animation: tadBlinkFlash var(--tad-blink-dur, 1s) ease-in-out infinite; }
.tad-bar[data-blink-style="pulse"] .tad-item.is-blink { animation: tadBlinkPulse var(--tad-blink-dur, 1s) ease-in-out infinite; }
.tad-bar[data-blink-style="bg"] .tad-item.is-blink { animation: tadBlinkBg var(--tad-blink-dur, 1s) ease-in-out infinite; }
@keyframes tadBlinkFlash { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes tadBlinkPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes tadBlinkBg { 0%, 100% { background: transparent; } 50% { background: #fef08a; } }
@media (prefers-reduced-motion: reduce) {
  .tad-track.tad-running { animation: none; }
  .tad-item.is-blink { animation: none !important; }
}

/* v6.2 友情链接：图标网格（页脚 20 个 + /links 分类页）；保持在文件末尾 */
.footer-links { display: block; text-align: left; }
.fl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.footer-links .fl-title { color: #6b7280; font-size: 13.5px; font-weight: 600; }
.fl-more { color: #c2410c; font-size: 13.5px; }
.fl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 14px; }
.fl-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; background: #fff; border: 1px solid #eef0f3; min-width: 0; }
.fl-item:hover { border-color: #c2410c; text-decoration: none; }
.fl-ic { flex: 0 0 auto; display: inline-flex; }
.fl-ic img { width: 26px; height: 26px; object-fit: contain; display: block; }
.fl-letter { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.fl-name { font-size: 13.5px; color: #374151; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.links-cat-title { font-size: 17px; margin: 28px 0 12px; display: flex; align-items: baseline; gap: 10px; }
.links-cat-title:first-of-type { margin-top: 10px; }
.links-cat-count { font-size: 12.5px; color: #9ca3af; font-weight: 400; }
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.links-item { padding: 11px 12px; }
.tools-links a { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 1120px) {
  .fl-grid { grid-template-columns: repeat(4, 1fr); }
  .links-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .fl-grid { grid-template-columns: repeat(2, 1fr); }
  .links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* v6.3 友情链接手机端加固（务必保持在文件末尾）：单列/定高/防溢出 */
.fl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.links-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fl-item { overflow: hidden; }
.fl-name { min-width: 0; }
@media (max-width: 1120px) {
  .fl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .article-wrap.no-toc { grid-template-columns: minmax(0, 1fr); }
  .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fl-grid .fl-item { height: 44px; padding: 6px 8px; }
  .links-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .links-grid .fl-item { height: 48px; padding: 8px 12px; }
  .links-cat-title { margin: 22px 0 10px; font-size: 16px; }
}

/* v6.4 iOS Safari 底部重叠修复（务必保持在文件末尾）：页脚实底+独立层、手机端停无限动画、顶栏单行 */
.site-footer { position: relative; z-index: 5; background: var(--bg); clear: both; }
.footer-links, .fl-grid, .links-grid { background: transparent; }
@media (max-width: 760px) {
  .flash-track.scroll { animation: none; }
  .tad-track.tad-running { animation: none; }
  .tad-item.is-blink { animation: none !important; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-inner { gap: 10px; flex-wrap: nowrap; }
  .brand { gap: 6px; min-width: 0; }
  .brand-logo { height: 34px; max-width: 110px; }
  .brand-emoji { width: 34px; height: 34px; font-size: 19px; }
  .brand-name { font-size: 15px; white-space: nowrap; }
  .brand-tag { display: none; }
  .main-nav { gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
  .main-nav a { font-size: 14px; white-space: nowrap; padding: 8px 0; }
}

/* v6.5 手机端右侧空白根治：横向溢出封顶（务必保持在文件末尾） */
html, body { overflow-x: clip; }
img, video, iframe, embed, object { max-width: 100%; }
.layout3 > * { min-width: 0; }
.article-card p, .article-card h3, .pick-title, .flash-text { overflow-wrap: anywhere; }
.tad-bar { overflow: hidden; }

/* v6.7 手机端文章卡片改为左图右文小图版（务必保持在文件末尾） */
@media (max-width: 760px) {
  .article-card.v2 { flex-direction: row; gap: 12px; align-items: flex-start; }
  .card-cover { flex: 0 0 118px; width: 118px; aspect-ratio: 4 / 3; align-self: flex-start; }
  .card-cover img { width: 100%; height: 100%; min-height: 0; }
  .card-body h3 { font-size: 15.5px; line-height: 1.4; }
  .card-body p { font-size: 13px; }
  .card-body .meta { font-size: 12px; }
}

/* v6.8 手机端首页编辑精选改为左图右文小图版（务必保持在文件末尾） */
@media (max-width: 760px) {
  .picks-grid { gap: 10px; }
  .pick-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); grid-template-areas: "cover title" "cover meta"; column-gap: 12px; align-items: start; padding: 10px; }
  .pick-cover { grid-area: cover; aspect-ratio: 4 / 3; }
  .pick-title { grid-area: title; margin: 0 0 4px; font-size: 14.5px; }
  .pick-meta { grid-area: meta; margin: 0; }
}

/* v6.10 手机端隐藏侧栏广告位（务必保持在文件末尾） */
@media (max-width: 760px) {
  .ad-slot { display: none; }
}

/* v6.12 悬浮工具栏：合作咨询/社群二维码按钮（务必保持在文件末尾） */
.ft-item { position: relative; }
.ft-qr-btn { width: 52px; height: auto; flex-direction: column; gap: 3px; padding: 8px 2px 7px; }
.ft-qr-btn span { font-size: 11px; line-height: 1.15; color: #374151; text-align: center; }
.ft-consult { color: #f97316; }
.ft-group { color: #6b7280; }
.ft-qr-pop { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(6px); width: 148px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 10px 30px rgba(31,41,55,.16); padding: 10px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 31; }
.ft-qr-pop::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left-color: #fff; }
.ft-qr-pop img { width: 100%; display: block; }
.ft-qr-pop span { display: block; margin-top: 7px; font-size: 12.5px; color: #374151; }
.ft-item:hover .ft-qr-pop, .ft-item.open .ft-qr-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* v6.14 悬浮工具栏四按钮尺寸统一（务必保持在文件末尾） */
.float-tools .ft-btn { width: 52px; height: auto; flex-direction: column; gap: 3px; padding: 8px 2px 7px; }
.float-tools .ft-btn svg { width: 22px; height: 22px; }
.float-tools .ft-btn > span { font-size: 11px; line-height: 1.15; color: #374151; text-align: center; }
.float-tools .ft-share > span { color: #fff; }

/* v6.16 前台留言/评论验证码行（务必保持在文件末尾） */
.cap-row { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.cap-row input { flex: 1; min-width: 0; }
.cap-row img { height: 40px; width: auto; border: 1px solid #e5e7eb; cursor: pointer; background: #f3f6f5; }

/* ===== v6.33 文末转化：订阅+社群引导卡 ===== */
.join-cta { display: flex; gap: 20px; align-items: center; background: linear-gradient(120deg, #eef4fd, #e3edfb); border: 1px solid #cfdff5; border-radius: 14px; padding: 20px 22px; margin: 26px 0 6px; }
.join-cta-main { flex: 1; min-width: 0; }
.join-cta-title { font-size: 17px; font-weight: 800; color: #12263f; }
.join-cta-main p { color: #5b7292; font-size: 13.5px; line-height: 1.7; margin: 6px 0 12px; }
.join-sub { display: flex; gap: 8px; max-width: 430px; }
.join-sub input { flex: 1; min-width: 0; border: 1px solid #c3d4ea; border-radius: 9px; padding: 9px 13px; font-size: 14px; background: #fff; }
.join-sub input:focus { border-color: #2f6fed; outline: none; box-shadow: 0 0 0 3px rgba(47,111,237,.15); }
.join-sub button { background: linear-gradient(135deg, #2f6fed, #1d4ed8); color: #fff; border: 0; border-radius: 9px; padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.join-note { display: block; color: #8fa3bd; font-size: 12px; margin-top: 8px; }
.join-qr { text-align: center; flex: 0 0 auto; }
.join-qr img { width: 96px; height: 96px; border-radius: 10px; border: 1px solid #cfdff5; background: #fff; object-fit: cover; display: block; }
.join-qr span { display: block; font-size: 12px; color: #5b7292; margin-top: 6px; line-height: 1.5; }
.comment-hook { color: #5b7292; font-size: 13.5px; margin: 4px 0 12px; }
@media (max-width: 640px) { .join-cta { flex-direction: column; align-items: stretch; text-align: left; } .join-qr { margin: 0 auto; } }

/* ===== v6.34 页面收窄 + 文章顶部横幅广告位 ===== */
.container { max-width: 1240px; margin-left: auto; margin-right: auto; width: 100%; }
@media (min-width: 1121px) {
  .layout3 { grid-template-columns: 206px minmax(0, 690px) 252px; gap: 18px; }
}
.article-top-ads { max-width: 760px; margin: 0 auto 16px; display: grid; gap: 10px; }
.article-top-ads .at-ad { display: block; height: 60px; overflow: hidden; background: #e8edf3; }
.article-top-ads .at-ad img, .article-top-ads .at-ad video { width: 100%; height: 60px; object-fit: cover; display: block; }
.article-top-ads .at-ad.ph { border: 1.5px dashed #bfcede; background: #eef2f7; color: #8496ad; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 3px; box-sizing: border-box; }
@media (max-width: 760px) { .article-top-ads { max-width: 100%; } }

/* ===== v6.35 文章内容区：白底 + 浅边框 ===== */
.article-col .article-body { background: #fff; border: 1px solid var(--line); max-width: 800px; padding: 28px 30px; }
@media (max-width: 760px) { .article-col .article-body { padding: 18px 16px; } }

/* ===== v6.36 全站内容区统一：白底 + 浅边框 ===== */
.col-main { background: #fff; border: 1px solid var(--line); padding: 20px 22px; }
.article-wrap .article-card { background: #fff; border: 1px solid var(--line); padding: 24px 28px; }
.related-box { background: #fff; border: 1px solid var(--line); padding: 16px 22px 10px; margin-top: 26px; }
@media (max-width: 760px) {
  .col-main { padding: 14px 13px; }
  .article-wrap .article-card { padding: 18px 16px; }
  .related-box { padding: 12px 14px 8px; }
}

/* ===== v6.37 横幅广告手机端自适应（等比缩放，不裁切） ===== */
@media (max-width: 760px) {
  .article-top-ads .at-ad { height: auto; }
  .article-top-ads .at-ad img, .article-top-ads .at-ad video { width: 100%; height: auto; object-fit: contain; }
  .article-top-ads .at-ad.ph { height: auto; aspect-ratio: 760 / 60; }
}

/* ===== v6.38 修复：分类精选长标题撑破中栏、文字滑到右栏下方 ===== */
.cat-blocks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cat-block { min-width: 0; }
.cat-block li a { min-width: 0; }
.picks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1120px) { .picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .picks-grid, .cat-blocks { grid-template-columns: minmax(0, 1fr); } }

/* ===== v6.39 页面宽度缩到九成 ===== */
.container { max-width: 1116px; }
@media (min-width: 1121px) {
  .layout3 { grid-template-columns: 190px minmax(0, 610px) 230px; gap: 18px; }
}

/* ===== v6.40 利润计算器 ===== */
.tool-feature { display: flex; align-items: center; gap: 14px; background: linear-gradient(120deg, #eef4fd, #e0ebfb); border: 1px solid #c9dcf6; padding: 16px 18px; margin: 0 0 20px; color: inherit; }
.tool-feature:hover { text-decoration: none; border-color: #2f6fed; }
.tf-ic { font-size: 30px; line-height: 1; }
.tf-main { flex: 1; min-width: 0; }
.tf-main b { display: block; font-size: 16.5px; color: #12263f; }
.tf-main i { font-style: normal; font-size: 13px; color: #5b7292; }
.tf-go { color: #2f6fed; font-weight: 700; font-size: 14px; white-space: nowrap; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; margin-top: 18px; }
.calc-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.calc-form label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: #374151; }
.calc-form input { width: 130px; border: 1px solid #d3dde9; border-radius: 8px; padding: 8px 10px; font-size: 15px; text-align: right; }
.calc-form input:focus { border-color: #2f6fed; outline: none; box-shadow: 0 0 0 3px rgba(47,111,237,.14); }
.calc-result { background: #f6f9fd; border: 1px solid #dde7f2; padding: 18px 20px; }
.calc-profit-lab { font-size: 13px; color: #7d8aa5; letter-spacing: 1px; }
.calc-profit { font-size: 34px; font-weight: 800; color: #0ea47a; line-height: 1.2; font-variant-numeric: tabular-nums; }
.calc-profit-usd { color: #7d8aa5; font-size: 13.5px; margin-bottom: 12px; }
.calc-kpis { display: flex; gap: 10px; margin-bottom: 14px; }
.calc-kpis > div { flex: 1; background: #fff; border: 1px solid #e3ebf4; padding: 9px 10px; text-align: center; }
.calc-kpis span { display: block; font-size: 11.5px; color: #8fa3bd; margin-bottom: 3px; }
.calc-kpis b { font-size: 15.5px; color: #12263f; font-variant-numeric: tabular-nums; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.calc-table td { padding: 6px 2px; border-bottom: 1px dashed #e0e8f0; color: #475569; }
.calc-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: #1f2937; }
.calc-note { font-size: 12px; color: #94a7bd; line-height: 1.7; margin: 12px 0 0; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } .calc-profit { font-size: 29px; } }

/* ===== v6.41 计算器月度指标换行 ===== */
.calc-kpis { flex-wrap: wrap; }
.calc-kpis > div { flex: 1 1 30%; }

/* ===== v6.44 文章来源标注 ===== */
.meta .a-source { background: #fef3c7; color: #92400e; padding: 1px 8px; font-size: 12px; }

/* ===== v6.46 服务商资源 + 手机端汉堡导航 ===== */
.nav-toggle { display: none; }
.m-nav-search { display: none; }
.pv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.pv-tab { border: 1px solid #d3dde9; background: #fff; color: #374151; padding: 7px 15px; font-size: 14px; cursor: pointer; }
.pv-tab span { font-size: 12px; opacity: .7; }
.pv-tab.on { background: #2f6fed; border-color: #2f6fed; color: #fff; }
.pv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pv-card { border: 1px solid var(--line); background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pv-card:hover { border-color: #b9cdf2; box-shadow: 0 6px 18px rgba(31, 78, 160, .08); }
.pv-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pv-logo { width: 52px; height: 52px; object-fit: contain; border: 1px solid #eef1f4; background: #fff; flex: 0 0 auto; }
.pv-letter { display: inline-flex; align-items: center; justify-content: center; background: #eef4fd; color: #2f6fed; font-size: 22px; font-weight: 800; border: 0; }
.pv-name { font-size: 16px; color: #12263f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-desc { margin: 0; color: var(--sub); font-size: 13.5px; line-height: 1.65; flex: 1; }
.pv-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pv-site { color: #2f6fed; font-size: 13.5px; }
.pv-contact { background: #2f6fed; color: #fff; border: 0; padding: 8px 14px; font-size: 13.5px; cursor: pointer; }
.pv-contact:hover { background: #2059cc; }
.pv-modal { position: fixed; inset: 0; z-index: 60; }
.pv-modal[hidden] { display: none; }
.pv-modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .52); }
.pv-modal-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(320px, 86vw); background: #fff; padding: 26px 22px 20px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.pv-modal-x { position: absolute; top: 4px; right: 10px; background: none; border: 0; font-size: 24px; line-height: 1; color: #94a3b8; cursor: pointer; }
.pv-modal-name { display: block; font-size: 17px; color: #12263f; margin-bottom: 14px; }
.pv-modal-qr { width: 210px; height: 210px; object-fit: contain; }
.pv-modal-tip { margin: 12px 0 0; color: var(--sub); font-size: 13px; }
@media (max-width: 1000px) { .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: auto; background: #fff; border: 1px solid var(--line); cursor: pointer; flex: 0 0 auto; }
  .nav-toggle span { display: block; width: 19px; height: 2px; background: #20303f; transition: transform .18s, opacity .18s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 14px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px rgba(15, 23, 42, .12); z-index: 30; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .main-nav a { display: block; padding: 12px 2px; font-size: 15.5px; white-space: normal; border-bottom: 1px dashed #edf0f3; }
  .main-nav a.active::after { display: none; }
  .m-nav-search { display: flex; gap: 8px; margin-top: 12px; }
  .m-nav-search input { flex: 1; min-width: 0; border: 1px solid #d3dde9; padding: 9px 10px; font-size: 14px; }
  .m-nav-search button { background: #20303f; color: #fff; border: 0; padding: 9px 16px; font-size: 14px; cursor: pointer; }
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== v6.47 请作者喝咖啡 ===== */
.cf-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 16px; align-items: start; }
.cf-price-row { display: flex; align-items: baseline; gap: 8px; }
.cf-price { font-size: 42px; font-weight: 800; color: #b45309; line-height: 1; }
.cf-price-note { color: #a08c6d; font-size: 14px; }
.cf-h { font-size: 17px; color: #12263f; margin: 22px 0 10px; }
.cf-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cf-perks li { background: #fffbeb; border: 1px solid #fde9c0; padding: 13px 15px; font-size: 14.5px; line-height: 1.7; color: #4b3a22; }
.cf-perks b { display: block; color: #92400e; margin-bottom: 2px; }
.cf-steps { margin: 0; padding-left: 20px; color: #374151; font-size: 14.5px; line-height: 1.9; }
.cf-note { margin-top: 16px; background: #f6f9fd; border: 1px solid #dde7f2; padding: 12px 15px; font-size: 13.5px; color: #475569; line-height: 1.8; }
.cf-pay { background: #fffbeb; border: 1px solid #fde68a; padding: 20px 18px; text-align: center; }
.cf-pay-title { display: block; font-size: 16px; color: #92400e; margin-bottom: 14px; }
.cf-qr { width: 210px; height: 210px; object-fit: contain; background: #fff; }
.cf-qr-empty { display: flex; align-items: center; justify-content: center; color: #a08c6d; font-size: 13.5px; line-height: 1.8; border: 1px dashed #e7d3a1; margin: 0 auto; }
.cf-account { margin: 12px 0 0; font-size: 14px; color: #374151; word-break: break-all; }
.cf-pay-tip { margin: 8px 0 0; font-size: 12.5px; color: #a08c6d; }
.cf-form { display: grid; gap: 13px; margin-top: 6px; }
.cf-form label { display: grid; gap: 6px; font-size: 13.5px; color: #374151; }
.cf-form input[type="text"], .cf-form textarea { border: 1px solid #d3dde9; padding: 10px 12px; font-size: 14.5px; width: 100%; box-sizing: border-box; background: #fff; }
.cf-form textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.cf-form input:focus, .cf-form textarea:focus { border-color: #b45309; outline: none; box-shadow: 0 0 0 3px rgba(180, 83, 9, .13); }
.cf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; }
.cf-cap-row { align-items: end; }
.cf-cap { height: 42px; border: 1px solid #d3dde9; cursor: pointer; }
.cf-submit { background: #b45309; color: #fff; border: 0; padding: 12px 20px; font-size: 15.5px; cursor: pointer; justify-self: start; }
.cf-submit:hover { background: #92400e; }
@media (max-width: 760px) { .cf-wrap { grid-template-columns: minmax(0, 1fr); } .cf-row { grid-template-columns: minmax(0, 1fr); } .cf-price { font-size: 34px; } }

/* ===== v6.48 顶栏导航防挤压：不换行 + 间距收紧 + 窄窗口转汉堡 ===== */
.brand { flex: 0 0 auto; }
.main-nav { flex-wrap: nowrap; gap: 24px; min-width: 0; }
.main-nav a { white-space: nowrap; flex: 0 0 auto; }
.header-inner { gap: 20px; }
.header-search { flex: 0 1 auto; min-width: 0; }
.header-search input { width: 168px; }
.header-search input:focus { width: 168px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: auto; background: #fff; border: 1px solid var(--line); cursor: pointer; flex: 0 0 auto; }
  .nav-toggle span { display: block; width: 19px; height: 2px; background: #20303f; transition: transform .18s, opacity .18s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-search { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 14px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 26px rgba(15, 23, 42, .12); z-index: 30; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .main-nav a { display: block; padding: 12px 2px; font-size: 15.5px; white-space: normal; border-bottom: 1px dashed #edf0f3; }
  .main-nav a.active::after { display: none; }
  .m-nav-search { display: flex; gap: 8px; margin-top: 12px; }
  .m-nav-search input { flex: 1; min-width: 0; border: 1px solid #d3dde9; padding: 9px 10px; font-size: 14px; }
  .m-nav-search button { background: #20303f; color: #fff; border: 0; padding: 9px 16px; font-size: 14px; cursor: pointer; }
}

/* ===== v6.49 链接预览卡 ===== */
.article-body a.link-card, a.link-card { display: flex; gap: 12px; align-items: stretch; border: 1px solid var(--line); background: #fbfcfe; padding: 12px; margin: 14px 0; text-decoration: none; color: inherit; }
.article-body a.link-card:hover, a.link-card:hover { border-color: #b9c9dd; background: #f5f9ff; color: inherit; }
.link-card .lc-media { flex: 0 0 104px; width: 104px; height: 78px; overflow: hidden; background: #e8eef5; display: flex; align-items: center; justify-content: center; }
.link-card .lc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-card .lc-tile { font-size: 26px; font-weight: 700; color: #31517a; text-transform: uppercase; }
.link-card .lc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.link-card .lc-title { font-size: 15px; font-weight: 600; color: #20303f; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.link-card .lc-desc { font-size: 12.5px; color: #6b7a89; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.link-card .lc-host { margin-top: auto; font-size: 11.5px; color: #93a3b1; }
@media (max-width: 760px) {
  .link-card .lc-media { flex-basis: 84px; width: 84px; height: 64px; }
  .link-card .lc-title { font-size: 14px; }
}

/* 前台商品采集工具 */
.pk-points { margin: 10px 0; padding-left: 20px; color: #43536a; font-size: 14.5px; line-height: 1.9; }
.pk-form { margin-top: 18px; }
.pk-form label { display: block; font-size: 13.5px; font-weight: 600; color: #334155; margin: 12px 0 6px; }
.pk-form input[type="url"], .pk-form input[type="number"], .pk-form input[type="text"] { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; color: #1e293b; }
.pk-form .pk-url { width: 100%; font-size: 15px; padding: 13px 15px; }
.pk-row { display: flex; gap: 22px; flex-wrap: wrap; }
.pk-row input[type="number"] { width: 180px; }
.pk-cap-row { display: inline-flex; gap: 10px; align-items: center; }
.pk-cap-row input[type="text"] { width: 130px; }
.pk-cap { height: 42px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.pk-btns { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.pk-probe { display: none; margin-top: 14px; font-size: 14px; color: #334155; }
.pk-probe.show { display: block; }
.pk-probe .pill { background: #eaf1fe; border: 1px solid #c7d9fb; border-radius: 999px; padding: 3px 12px; font-weight: 600; color: #1d4ed8; }
.pk-wrap { display: none; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fcfdfe; }
.pk-wrap.show { display: block; }
.pk-plat { display: none; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: #1d4ed8; }
.pk-plat.show { display: block; }
.pk-plat span { background: #eaf1fe; border: 1px solid #c7d9fb; border-radius: 999px; padding: 3px 12px; }
.pk-bar { height: 12px; background: #edf1f7; border-radius: 999px; overflow: hidden; }
.pk-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #2563eb, #38bdf8); border-radius: 999px; transition: width .35s ease; }
.pk-status-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13.5px; color: #334155; }
.pk-pct { font-weight: 700; color: #1d4ed8; white-space: nowrap; }
.pk-detail { margin-top: 4px; font-size: 12.5px; color: #7c8aa0; word-break: break-all; }
.pk-result { display: none; margin-top: 12px; font-size: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 12px 14px; }
.pk-result.show { display: block; }
.pk-dl-note { font-size: 12.5px; color: #4b6b5d; }
.pk-error { display: none; margin-top: 12px; font-size: 14px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 12px 14px; }
.pk-error.show { display: block; }
.pk-fails { display: none; margin-top: 10px; font-size: 12.5px; color: #8a5a00; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 14px; max-height: 220px; overflow: auto; }
.pk-fails.show { display: block; }
.pk-fails div { padding: 2px 0; border-bottom: 1px dashed #fde9b8; word-break: break-all; }
.pk-fails div:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  .pk-row { flex-direction: column; gap: 2px; }
  .pk-row input[type="number"] { width: 100%; }
}

/* v6.74 阅读进度条 + 手机端文章目录 */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #2563eb, #f59e0b); z-index: 1200; }
.toc-inline { display: none; }
@media (max-width: 1060px) {
  .toc-inline { display: block; background: #f8fafc; border: 1px solid var(--line); padding: 10px 14px; margin: 0 0 16px; }
  .toc-inline summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: #1f2430; padding: 2px 0; }
  .toc-inline .toc-list { margin-top: 8px; }
  .toc-inline .toc-list a { background: transparent; }
}

/* v6.80 国外节假日 · 大促日历滚动条 */
.hol-viewport { overflow: hidden; max-height: 184px; }
.hol-page .hol-viewport { max-height: 230px; }
.hol-list { padding: 2px 0; }
.hol-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #eef1f4; }
.hol-item:last-child { border-bottom: none; }
.hol-date { flex: 0 0 auto; background: #eef4ff; color: #2563eb; border-radius: 6px; padding: 3px 7px; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.3; }
.hol-date small { display: block; font-weight: 400; color: #7c93b8; font-size: 11px; }
.hol-main { flex: 1; min-width: 0; }
.hol-name { display: block; font-size: 13.5px; color: #1f2937; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hol-approx { font-style: normal; font-size: 10.5px; color: #b45309; background: #fef3c7; border-radius: 4px; padding: 0 4px; margin-left: 5px; }
.hol-meta { display: block; font-size: 11.5px; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hol-cd { flex: 0 0 auto; font-size: 12px; color: #6b7280; }
.hol-cd.soon { color: #dc2626; font-weight: 700; }
.hol-note { margin: 6px 0 0; font-size: 11.5px; color: #9ca3af; }
.hol-page { border: 1px solid #e8ebef; background: #fbfcfe; padding: 10px 12px; margin: 0 0 14px; }
@media (max-width: 760px) { .hol-name { font-size: 13px; } .hol-viewport { max-height: 184px; } }
