:root {
  --ink: #1a1a1a;
  --sub: #6b7280;
  --line: #e5e7eb;
  --accent: #c2410c;
  --accent-soft: #fff7ed;
  --bg: #ffffff;
  --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 { 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 { 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; }
}
