/* 合并文章专用样式（源自 blog.a766.com 的 a766-tech 主题）
   所有选择器已加 .a766-article 作用域，避免污染 www 全局样式 */

.a766-article {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --ink-2: #454545;
  --muted: #767676;
  --line: #e2e2e2;
  --brand: #8a3a0c;
  --brand-2: #b45309;
  --brand-soft: #fdf2e4;
  --accent: #e8890c;
  --header: #ffffff;      
  --header-ink: #2b2b2b;   
  --header-muted: #858585;
  --footer: #24211c;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28,26,23,.05), 0 10px 26px -18px rgba(28,26,23,.30);
  --max: 1000px;
}.a766-article *, .a766-article *::before, .a766-article *::after { box-sizing: border-box; }.a766-article { -webkit-text-size-adjust: 100%; }.a766-article {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}.a766-article img { max-width: 100%; height: auto; }.a766-article a { color: var(--brand-2); text-decoration: none; }.a766-article a:hover { color: var(--brand); text-decoration: underline; }.a766-article h1, .a766-article h2, .a766-article h3, .a766-article h4 { line-height: 1.45; letter-spacing: -.01em; }.a766-article .wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }.a766-article .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}.a766-article .site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(28,26,23,.04), 0 8px 20px -16px rgba(28,26,23,.30);
}.a766-article .header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 16px; height: 54px;
}.a766-article .brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--header-ink); font-size: 19px; font-weight: 800; letter-spacing: .02em;
  white-space: nowrap; text-decoration: none;
}.a766-article .brand:hover { color: #000; text-decoration: none; }.a766-article .brand-logo { display: block; height: 23px; width: auto; max-width: 170px; }.a766-article .brand-sub { font-size: 12px; font-weight: 500; color: var(--header-muted); margin-left: 2px; }.a766-article .header-search { margin-left: auto; flex: 0 0 auto; }.a766-article .search-form { display: flex; align-items: center; }.a766-article .search-form input[type="search"] {
  width: 190px; height: 31px; padding: 0 12px;
  border: 1px solid #e4e4e4; border-right: 0;
  border-radius: 6px 0 0 6px; background: #f7f7f7;
  color: var(--ink); font-size: 13.5px; outline: none;
}.a766-article .search-form input[type="search"]::placeholder { color: #9e9e9e; }.a766-article .search-form input[type="search"]:focus { border-color: var(--accent); }.a766-article .search-form button {
  height: 31px; padding: 0 13px; border: 0; border-radius: 0 6px 6px 0;
  background: #2563eb; color: #ffffff; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .14s;
}.a766-article .search-form button:hover { background: #1d4ed8; }.a766-article .nav-main {
  display: flex; align-items: center; gap: 1px;
  min-width: 0; overflow: visible;   
}.a766-article .nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15.5px; font-weight: 500; letter-spacing: .01em;
  color: #4a4a4a; padding: 9px 13px; border-radius: 9px;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}.a766-article .nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--brand-2);
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}.a766-article .nav-item:hover > .nav-link::after, .a766-article .nav-item:focus-within > .nav-link::after { transform: scaleX(1); opacity: 1; }.a766-article .nav-link.is-active {
  background: var(--brand-soft); color: var(--brand); font-weight: 600;
}.a766-article .nav-link.is-active::after { transform: scaleX(1); opacity: .5; }.a766-article .nav-link:hover { background: rgba(60,44,20,.07); color: var(--header-ink); text-decoration: none; }.a766-article .nav-item { position: relative; display: inline-block; vertical-align: middle; }.a766-article .nav-item:hover > .nav-link, .a766-article .nav-item:focus-within > .nav-link { background: rgba(60,44,20,.08); color: var(--header-ink); }.a766-article .nav-item .caret { font-size: 10px; opacity: .5; line-height: 1; transition: transform .15s; }.a766-article .nav-item:hover .caret, .a766-article .nav-item:focus-within .caret { transform: rotate(180deg); }.a766-article .nav-drop {
  display: none;
  position: absolute; left: 0; top: 100%; z-index: 80;
  margin-top: 6px; padding: 9px;
  min-width: 254px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 2px 6px rgba(28,26,23,.05), 0 20px 44px -24px rgba(28,26,23,.45);
}.a766-article .nav-item:hover .nav-drop, .a766-article .nav-item:focus-within .nav-drop { display: grid; }.a766-article .nav-drop-all {
  grid-column: 1 / -1;
  margin-bottom: 4px !important;
  padding: 7px 9px !important;
  border-radius: 6px !important;
  background: var(--brand-soft);
  color: var(--brand) !important;
  font-weight: 600;
}.a766-article .nav-drop-all:hover { background: #fbe7cf; text-decoration: none; }.a766-article .nav-drop a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 9px; border-radius: 6px;
  font-size: 13px; color: var(--ink-2); white-space: nowrap;
}.a766-article .nav-drop a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }.a766-article .nav-drop .n { font-size: 11px; color: #b0b0b0; font-variant-numeric: tabular-nums; }.a766-article .subcat-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  margin: 0 0 16px;
}.a766-article .subcat-label { font-size: 13px; color: var(--muted); margin-right: 2px; }.a766-article .subcat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; padding: 5px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}.a766-article .subcat:hover { border-color: #e5b98a; background: var(--brand-soft); color: var(--brand); text-decoration: none; }.a766-article .subcat .n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }.a766-article .crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1px;
  width: auto; max-width: none;
  margin: 2px 0 16px;
  padding: 7px 14px;
  font-size: 13px; line-height: 1.6; color: var(--muted);
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(28,26,23,.02);
}.a766-article .crumbs a { color: var(--muted); }.a766-article .crumbs a:hover { color: var(--brand-2); }.a766-article .crumbs .sep { margin: 0 5px; color: #c6c6c6; }.a766-article .crumbs > span:last-child { color: var(--ink-2); }.a766-article .site-main { padding: 18px 0 20px; }.a766-article .layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; }
@media (min-width: 1000px) {.a766-article .layout { grid-template-columns: minmax(0,1fr) 260px; }
}.a766-article .card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}.a766-article .hero {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: var(--radius);
  padding: 18px 30px 22px;   
  color: var(--ink);
  margin-bottom: 22px;
  box-shadow:
    0 1px 2px rgba(28,26,23,.05),
    0 6px 14px -8px rgba(28,26,23,.10),
    0 20px 40px -24px rgba(28,26,23,.38);
}.a766-article .hero h1 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.02em; color: var(--ink); }.a766-article .hero p { margin: 0 0 15px; color: var(--muted); font-size: 14px; max-width: 720px; line-height: 1.6; }.a766-article .hero .search-form input[type="search"] {
  width: min(420px, 58vw); height: 38px;
  background: transparent; color: var(--ink);
  border: 1px solid #dedede; border-right: 0;
  border-radius: 8px 0 0 8px; font-size: 15px;
  transition: border-color .15s, background .15s;
}.a766-article .hero .search-form input[type="search"]::placeholder { color: #9e9e9e; }.a766-article .hero .search-form input[type="search"]:focus {
  border-color: var(--accent);
  background: #fcfcfc;
}.a766-article .hero .search-form button { height: 38px; border-radius: 0 8px 8px 0; font-size: 14.5px; padding: 0 20px; }.a766-article .hero-stats { margin-top: 12px; font-size: 12.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }.a766-article .hero-stats b { color: var(--brand); font-variant-numeric: tabular-nums; }.a766-article .home-sections { display: block; }.a766-article .home-block { margin-bottom: 18px; overflow: hidden; }.a766-article .home-block-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 22px; border-bottom: 1px solid var(--line);
}.a766-article .home-block-head h2 { margin: 0; font-size: 17.5px; }.a766-article .home-block-head h2 a { color: var(--ink); }.a766-article .home-block-head h2 a:hover { color: var(--brand-2); text-decoration: none; }.a766-article .home-block-head .cnt { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }.a766-article .home-block-head .more { margin-left: auto; font-size: 13px; color: var(--brand-2); white-space: nowrap; }.a766-article .home-list {
  list-style: none; margin: 0; padding: 8px 22px 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px;
}.a766-article .home-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 7px 0; border-bottom: 1px dashed #e8e8e8;
}.a766-article .home-list li a {
  font-size: 14px; line-height: 1.6; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}.a766-article .home-list li a:hover { color: var(--brand-2); }.a766-article .home-list time { flex: 0 0 auto; font-size: 11.5px; color: #b0b0b0; font-variant-numeric: tabular-nums; }.a766-article .home-subs { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 22px 18px; }.a766-article .home-subs a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: #fafafa; border: 1px solid var(--line); color: var(--ink-2);
}.a766-article .home-subs a:hover { border-color: #e5b98a; background: var(--brand-soft); color: var(--brand); text-decoration: none; }.a766-article .home-subs .n { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }.a766-article .section { margin-bottom: 26px; }.a766-article .section:last-child { margin-bottom: 0; }.a766-article .section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin: 0 0 14px;
}.a766-article .section-head h2 {
  margin: 0; font-size: 19px; display: flex; align-items: center; gap: 9px;
}.a766-article .section-head h2::before, .a766-article .section-head h1.page-title::before {
  content: ""; width: 4px; height: 17px; background: var(--accent); border-radius: 2px;
}.a766-article .section-head h1.page-title {
  margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 9px; color: var(--ink);
}.a766-article .section-head .more { font-size: 13.5px; color: var(--muted); }.a766-article .cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 10px;
}.a766-article .cat-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 15px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); font-size: 14.5px; font-weight: 600;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}.a766-article .cat-card:hover {
  border-color: #e5b98a; background: var(--brand-soft);
  color: var(--brand); text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 8px 20px -14px rgba(138,58,12,.5);
}.a766-article .cat-card .count {
  font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f2f2f2; border-radius: 999px; padding: 2px 8px; flex: 0 0 auto;
}.a766-article .cat-card:hover .count { background: #fff; color: var(--brand-2); }.a766-article .post-list { list-style: none; margin: 0; padding: 0; }.a766-article .post-item { padding: 19px 20px; border-bottom: 1px solid var(--line); transition: background .15s; }.a766-article .post-item:hover { background: #fcfcfc; }.a766-article .post-item:last-child { border-bottom: 0; }.a766-article .post-item h2, .a766-article .post-item h3 { margin: 0 0 7px; font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; }.a766-article .post-item h2 a, .a766-article .post-item h3 a { color: var(--ink); }.a766-article .post-item h2 a:hover, .a766-article .post-item h3 a:hover { color: var(--brand-2); text-decoration: none; }.a766-article .post-meta {
  font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap;
  align-items: center; gap: 10px;
}.a766-article .post-meta a { color: var(--brand-2); }.a766-article .post-meta .dot { color: #cfcfcf; }.a766-article .related-list { padding: 4px 20px 10px; }.a766-article .related-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px dashed #e8e8e8;
}.a766-article .related-list li:last-child { border-bottom: 0; }.a766-article .related-list li > a { font-size: 14px; color: var(--ink-2); line-height: 1.6; }.a766-article .related-list li > a:hover { color: var(--brand-2); }.a766-article .related-list li time {
  flex: 0 0 auto; font-size: 12px; color: #b0b0b0;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}.a766-article .post-excerpt {
  margin: 8px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2);
}.a766-article .pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 22px 0 4px; }.a766-article .pager a, .a766-article .pager span {
  min-width: 36px; height: 36px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--ink-2); font-size: 14px;
  font-variant-numeric: tabular-nums;
}.a766-article .pager a:hover { border-color: #e5b98a; color: var(--brand-2); text-decoration: none; background: var(--brand-soft); }.a766-article .pager .current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }.a766-article .pager .dots { border: 0; background: transparent; color: var(--muted); }.a766-article .article-head { padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }.a766-article .article-head h1 { margin: 0 0 12px; font-size: 27px; line-height: 1.42; letter-spacing: -.02em; }.a766-article .entry-content { padding: 24px 26px 30px; font-size: 17.5px; line-height: 2.05; color: #232323; }.a766-article .entry-content > *:first-child { margin-top: 0; }.a766-article .entry-content p { margin: 0 0 1.15em; }.a766-article .entry-content img {
  max-width: 100%; height: auto; display: block; margin: 20px auto;
  padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
}.a766-article .entry-content a { text-decoration: underline; text-underline-offset: 3px; }.a766-article .entry-content h2 {
  font-size: 20px; margin: 1.7em 0 .7em; padding-left: 12px;
  border-left: 4px solid var(--accent);
}.a766-article .entry-content h3 { font-size: 17.5px; margin: 1.5em 0 .6em; color: var(--brand); }.a766-article .entry-content h4 { font-size: 16px; margin: 1.3em 0 .5em; }.a766-article .entry-content ul, .a766-article .entry-content ol { margin: 0 0 1.05em; padding-left: 1.5em; }.a766-article .entry-content li { margin: .3em 0; }.a766-article .entry-content blockquote {
  margin: 1.2em 0; padding: 12px 16px; border-left: 4px solid var(--accent);
  background: #f5f5f5; color: #3a3a3a; border-radius: 0 8px 8px 0;
}.a766-article .entry-content table {
  width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px;
  display: block; overflow-x: auto;
}.a766-article .entry-content th, .a766-article .entry-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }.a766-article .entry-content th { background: #f5f5f5; font-weight: 700; }.a766-article .entry-content pre {
  background: #1c1a17; color: #e6dfd3; padding: 14px 16px; border-radius: 8px;
  overflow-x: auto; font-size: 13.5px; line-height: 1.7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}.a766-article .entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }.a766-article .entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }.a766-article .entry-content iframe { max-width: 100%; }.a766-article .article-foot { padding: 18px 26px 22px; border-top: 1px solid var(--line); }.a766-article .nav-links-post { display: grid; gap: 10px; }
@media (min-width: 720px) {.a766-article .nav-links-post { grid-template-columns: 1fr 1fr; } }.a766-article .nav-links-post a {
  display: block; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; background: #fafafa; font-size: 14px; color: var(--ink-2);
  transition: border-color .15s, background .15s;
}.a766-article .nav-links-post a:hover { border-color: #e5b98a; color: var(--brand-2); text-decoration: none; background: var(--brand-soft); }.a766-article .nav-links-post .label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }.a766-article .nav-links-post .next { text-align: right; }.a766-article .tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }.a766-article .tag-list a {
  font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
  background: #f2f2f2; color: var(--ink-2);
}.a766-article .tag-list a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }.a766-article .sidebar { min-width: 0; }
@media (min-width: 1000px) {.a766-article .sidebar-inner { position: sticky; top: 84px; } }.a766-article .widget { padding: 14px 15px; margin-bottom: 14px; }.a766-article .widget h3 {
  margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px;
}.a766-article .widget h3::before { content: ""; width: 3px; height: 14px; background: var(--accent); border-radius: 2px; }.a766-article .widget ul { list-style: none; margin: 0; padding: 0; }.a766-article .widget li { padding: 7px 0; border-bottom: 1px dashed #e8e8e8; font-size: 14px; }.a766-article .widget li:last-child { border-bottom: 0; }.a766-article .widget li a { color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }.a766-article .widget li a:hover { color: var(--brand-2); }.a766-article .widget li .n { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }.a766-article .hot-list { list-style: none; margin: 0 0 10px; padding: 0; counter-reset: hot; }.a766-article .hot-list li {
  counter-increment: hot;
  display: flex; gap: 8px; align-items: baseline;
  padding: 6px 0; border-bottom: 1px dashed #e8e8e8; font-size: 13.5px;
}.a766-article .hot-list li:last-child { border-bottom: 0; }.a766-article .hot-list li::before {
  content: counter(hot);
  flex: 0 0 18px; font-size: 11px; color: #b8b8b8;
  font-variant-numeric: tabular-nums; text-align: right;
}.a766-article .hot-list li a { color: var(--ink-2); line-height: 1.55; }.a766-article .hot-list li a:hover { color: var(--brand-2); }.a766-article .hot-list li:nth-child(-n+3)::before { color: var(--accent); font-weight: 700; }.a766-article .widget-more {
  display: block; text-align: center; font-size: 12.5px;
  padding: 8px 0 1px; border-top: 1px solid var(--line);
  color: var(--brand-2);
}.a766-article .widget-more:hover { color: var(--brand); text-decoration: none; }.a766-article .empty { padding: 40px 24px; text-align: center; color: var(--muted); }.a766-article .site-footer {
  background: transparent;   
  color: var(--ink-2);
  border-top: 0;
  margin-top: 0; padding: 16px 0 0; font-size: 13.5px;
}.a766-article .footer-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 26px;
}.a766-article .footer-cats a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 13px;
  transition: border-color .12s, background .12s, color .12s;
}.a766-article .footer-cats a:hover { border-color: #e5b98a; background: var(--brand-soft); color: var(--brand); text-decoration: none; }.a766-article .footer-cats .n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }.a766-article .footer-cats a:hover .n { color: var(--brand-2); }.a766-article .footer-bottom {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}.a766-article .footer-bottom-inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted);
}.a766-article .footer-bottom a { color: var(--muted); }.a766-article .footer-bottom a:hover { color: var(--brand); }.a766-article .footer-bottom .sep { margin: 0 8px; color: #c6c6c6; }.a766-article .footer-bottom .beian-sep { margin: 0 6px; color: #c6c6c6; }.a766-article .footer-bottom .icp { white-space: nowrap; }.a766-article .footer-bottom .icp:hover { color: var(--brand-2); }


@media (max-width: 1080px) {.a766-article .nav-link { font-size: 15px; padding: 8px 9px; }
}
@media (max-width: 900px) {.a766-article .nav-main {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }.a766-article .nav-main::-webkit-scrollbar { display: none; }.a766-article .nav-link { font-size: 13px; padding: 7px 7px; }.a766-article .nav-drop {
    position: fixed; left: 10px; right: 10px; top: 66px;
    min-width: 0; width: auto; max-height: 64vh; overflow: auto;
  }
}
@media (max-width: 760px) {.a766-article .home-list { grid-template-columns: 1fr; padding: 6px 16px 12px; }.a766-article .home-block-head { padding: 13px 16px; }.a766-article .home-subs { padding: 0 16px 16px; }
}
@media (max-width: 640px) {.a766-article .header-inner { height: 50px; padding: 0 14px; }.a766-article .brand-logo { height: 20px; }.a766-article .brand { font-size: 16.5px; }.a766-article .brand-sub { display: none; }.a766-article .header-search { display: none; }.a766-article .hero { padding: 20px 16px 18px; }.a766-article .hero h1 { font-size: 21px; }.a766-article .hero .search-form input[type="search"] { width: 62vw; }.a766-article .post-item { padding: 16px 15px; }.a766-article .post-item h2, .a766-article .post-item h3 { font-size: 17px; }.a766-article .article-head { padding: 18px 16px 14px; }.a766-article .article-head h1 { font-size: 21px; }.a766-article .entry-content { padding: 18px 16px 22px; font-size: 16px; line-height: 1.9; }.a766-article .article-foot { padding: 16px; }.a766-article .pager a, .a766-article .pager span { min-width: 32px; height: 32px; font-size: 13px; }
}.a766-article .post-item {
  display: flex; gap: 16px; align-items: flex-start;
}.a766-article .post-thumb {
  flex: 0 0 180px; width: 180px; height: 122px;
  display: block; position: relative;
  border-radius: 9px; overflow: hidden;
  background: #f4f4f4;
  border: 1px solid var(--line);
}.a766-article .post-thumb img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
  transition: transform .25s ease;
}.a766-article .post-item:hover .post-thumb img { transform: scale(1.045); }.a766-article .post-thumb--none {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #eeeeee 100%);
  color: #b9b9b9;
}.a766-article .post-thumb--none svg { width: 34px; height: 34px; }.a766-article .post-body { flex: 1 1 auto; min-width: 0; }.a766-article .post-body h2 { margin: 0 0 6px; }

@media (max-width: 640px) {.a766-article .post-item { gap: 12px; padding: 14px 15px; }.a766-article .post-thumb { flex: 0 0 104px; width: 104px; height: 76px; border-radius: 8px; }.a766-article .post-thumb--none svg { width: 24px; height: 24px; }.a766-article .post-body h2 { font-size: 15.5px; line-height: 1.5; }.a766-article .post-excerpt { display: none; }
}.a766-article .home-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 12px; padding: 18px 20px 20px;
}.a766-article .home-card {
  display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .18s, transform .18s;
}.a766-article .home-card:hover {
  border-color: #e5b98a;
  box-shadow: 0 10px 24px -16px rgba(28,26,23,.55);
  transform: translateY(-2px);
  text-decoration: none;
}.a766-article .home-card-pic {
  display: block; overflow: hidden; background: #f4f4f4;
  height: 90px;
}.a766-article .home-card-pic img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
  transition: transform .32s ease;
}.a766-article .home-card:hover .home-card-pic img { transform: scale(1.05); }.a766-article .home-card-body { display: block; padding: 8px 10px 10px; }.a766-article .home-card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px; font-weight: 600; line-height: 1.5; min-height: 36px;
  color: var(--ink);
}.a766-article .home-card-date {
  display: block; margin-top: 6px;
  font-size: 11.5px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {.a766-article .home-cards { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 12px 14px 16px; }.a766-article .home-card-body { padding: 8px 10px 10px; }.a766-article .home-card-title { font-size: 12.5px; min-height: 36px; }.a766-article .home-card-pic { height: 72px; }
}.a766-article .home-feat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px 20px 4px;
}.a766-article .home-feat-card {
  display: flex; gap: 12px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .18s, transform .18s;
}.a766-article .home-feat-card:hover {
  border-color: #e5b98a;
  box-shadow: 0 8px 20px -15px rgba(28,26,23,.5);
  transform: translateY(-1px);
  text-decoration: none;
}.a766-article .home-feat-pic {
  flex: 0 0 132px; width: 132px; height: 88px;
  border-radius: 7px; overflow: hidden; background: #f4f4f4;
}.a766-article .home-feat-pic img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center top;
  transition: transform .3s ease;
}.a766-article .home-feat-card:hover .home-feat-pic img { transform: scale(1.05); }.a766-article .home-feat-body { min-width: 0; flex: 1 1 auto; }.a766-article .home-feat-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink);
}.a766-article .home-feat-date {
  display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {.a766-article .home-feat { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px 2px; }.a766-article .home-feat-pic { flex: 0 0 104px; width: 104px; height: 72px; }.a766-article .home-feat-title { font-size: 13.5px; }
}.a766-article .post-thumb--txt {
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}.a766-article .post-thumb--txt .pt-big {
  position: absolute; right: 8px; bottom: -16px;
  font-size: 76px; font-weight: 700; line-height: 1; opacity: .10;
  pointer-events: none;
}.a766-article .post-thumb--txt .pt-name {
  position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
}
@media (max-width: 640px) {.a766-article .post-thumb--txt .pt-big { font-size: 54px; bottom: -12px; right: 4px; }.a766-article .post-thumb--txt .pt-name { font-size: 11.5px; }
}.a766-article .entry-content > p:first-of-type::first-letter {
  float: left; font-size: 3.05em; line-height: .92; font-weight: 700;
  color: var(--brand); margin: .06em .12em 0 0;
}.a766-article .entry-content .kv {
  position: relative; padding-left: 17px;
}.a766-article .entry-content .kv::before {
  content: ""; position: absolute; left: 1px; top: .78em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2);
}.a766-article .entry-content .tip {
  background: #fdf6ee; border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 12px 16px;
  color: #5b4a36;
}.a766-article .entry-content h2 { scroll-margin-top: 80px; }.a766-article .entry-content .kv-h {
  font-weight: 600; color: #1c1c1c; padding-left: 0; margin-top: 1.5em;
}.a766-article .entry-content .kv-h::before { display: none; }.a766-article .entry-content .kv-h:first-of-type { margin-top: 0; }.a766-article .hero h1, .a766-article h1.page-title, .a766-article .article-head h1 { font-size: 24px; }.a766-article .home-block-head h2, .a766-article .widget h3, .a766-article .entry-content h2 { font-size: 20px; }.a766-article .entry-content h3, .a766-article .entry-content h4 { font-size: 16px; font-weight: 600; }.a766-article { font-size: 16px; }.a766-article .entry-content { font-size: 16px; line-height: 2; }.a766-article .post-item h2, .a766-article .post-item h3, .a766-article .post-item h2 a, .a766-article .post-body h2, .a766-article .post-body h2 a { font-size: 16px; }.a766-article .post-excerpt, .a766-article .home-list li a, .a766-article .related-list li > a, .a766-article .widget li, .a766-article .widget li a, .a766-article .hot-list li a, .a766-article .nav-links-post a, .a766-article .nav-links-post .label, .a766-article .search-form input[type="search"], .a766-article .pager a, .a766-article .pager span, .a766-article .footer-cats a, .a766-article .home-feat-title { font-size: 16px; }.a766-article .post-meta, .a766-article .post-meta a, .a766-article .post-meta time, .a766-article .crumbs, .a766-article .crumbs a, .a766-article .crumbs span, .a766-article .home-list time, .a766-article .related-list li time, .a766-article .subcat, .a766-article .subcat .n, .a766-article .subcat-label, .a766-article .tag-list a, .a766-article .post-tags a, .a766-article .section-head .more, .a766-article .widget-more, .a766-article .footer-bottom, .a766-article .footer-bottom a, .a766-article .home-subs a, .a766-article .home-feat-date, .a766-article .nav-drop a, .a766-article .cat-card .count, .a766-article .home-block-head .cnt { font-size: 14px; }.a766-article .home-subs .n, .a766-article .footer-cats .n, .a766-article .nav-drop .n { font-size: 12px; }

@media (max-width: 640px) {.a766-article .hero h1, .a766-article h1.page-title, .a766-article .article-head h1 { font-size: 22px; }.a766-article .post-item h2, .a766-article .post-item h3, .a766-article .post-body h2, .a766-article .post-body h2 a { font-size: 16px; }.a766-article .entry-content { font-size: 16px; }
}.a766-article .section-head h1.page-title, .a766-article .section-head h2, .a766-article .article-head h1 { font-size: 24px; }.a766-article .hero p, .a766-article .cat-card, .a766-article .hot-list li, .a766-article .entry-content table, .a766-article .entry-content td, .a766-article .entry-content th { font-size: 16px; }.a766-article .site-footer { font-size: 14px; }.a766-article .home-block-head .more { font-size: 14px; }.a766-article .cat-card .count { font-size: 14px; }.a766-article .widget li .n { font-size: 12px; }

@media (max-width: 640px) {.a766-article .section-head h1.page-title, .a766-article .article-head h1 { font-size: 22px; }.a766-article .hero p { font-size: 16px; }
}.a766-article .widget li a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; min-width: 0;
}.a766-article .widget li a .t, .a766-article .widget li a > span:first-child {
  flex: 1 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}.a766-article .hot-list li { min-width: 0; }.a766-article .hot-list li a {
  flex: 1 1 auto; min-width: 0; display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}.a766-article .post-thumb img { object-position: center center; }.a766-article .nav-item::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px;
  top: 100%;
  height: 7px;           
  display: none;
}.a766-article .nav-item:hover::after, .a766-article .nav-item:focus-within::after { display: block; }.a766-article .nav-drop {
  z-index: 90;
  pointer-events: auto;
}.a766-article .nav-drop {
  display: grid !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .1s ease, visibility 0s linear .25s;
}.a766-article .nav-item:hover .nav-drop, .a766-article .nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transition: opacity .1s ease, visibility 0s linear 0s;
}.a766-article .nav-drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}.a766-article .nav-item.is-open .nav-drop {
  opacity: 1;
  visibility: visible;
  transition: opacity .1s ease, visibility 0s linear 0s;
}.a766-article .nav-item.is-open > .nav-link { background: rgba(60,44,20,.08); color: var(--header-ink); }.a766-article .nav-item.is-open .caret { transform: rotate(180deg); }.a766-article .post-thumb {
  flex: 0 0 180px;
  width: 180px;
  height: auto;
  border-radius: 9px;
  overflow: hidden;
  background: #f4f4f4;
  border: 1px solid var(--line);
}.a766-article .post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  object-position: center;
}.a766-article .post-item:hover .post-thumb img { transform: none; }.a766-article .post-thumb--txt { height: 122px; }

@media (max-width: 640px) {.a766-article .post-thumb { flex: 0 0 104px; width: 104px; height: auto; }.a766-article .post-thumb--txt { height: 76px; }
}.a766-article .header-search .search-form input[type="search"] {
  width: 200px;
  height: 33px;
  padding: 0 14px;
}.a766-article .header-search .search-form button {
  height: 33px;
  padding: 0 16px;
}

@media (max-width: 1100px) {.a766-article .header-search .search-form input[type="search"] { width: 150px; }
}
@media (max-width: 960px) {.a766-article .header-search .search-form input[type="search"] { width: 180px; }
}.a766-article .brand-logo {
  height: 32px;
  max-width: 220px;
}.a766-article .brand { gap: 12px; }

@media (max-width: 640px) {.a766-article .brand-logo { height: 27px; max-width: 170px; }
}.a766-article .brand {
  margin-right: 18px;
}
@media (max-width: 640px) {.a766-article .brand { margin-right: 10px; }
}.a766-article { font-size: 14px; }.a766-article .entry-content { font-size: 14px; }.a766-article .hero h1, .a766-article h1.page-title, .a766-article .section-head h1.page-title, .a766-article .article-head h1 { font-size: 20px; }.a766-article .home-block-head h2, .a766-article .widget h3, .a766-article .entry-content h2 { font-size: 17px; }.a766-article .entry-content h3, .a766-article .entry-content h4 { font-size: 14px; }.a766-article .post-item h2, .a766-article .post-item h3, .a766-article .post-item h2 a, .a766-article .post-body h2, .a766-article .post-body h2 a, .a766-article .post-excerpt, .a766-article .home-list li a, .a766-article .related-list li > a, .a766-article .widget li, .a766-article .widget li a, .a766-article .hot-list li, .a766-article .hot-list li a, .a766-article .nav-links-post a, .a766-article .nav-links-post .label, .a766-article .pager a, .a766-article .pager span, .a766-article .footer-cats a, .a766-article .home-feat-title, .a766-article .cat-card, .a766-article .entry-content table, .a766-article .entry-content td, .a766-article .entry-content th, .a766-article .search-form input[type="search"] { font-size: 14px; }.a766-article .post-meta, .a766-article .post-meta a, .a766-article .post-meta time, .a766-article .crumbs, .a766-article .crumbs a, .a766-article .crumbs span, .a766-article .home-list time, .a766-article .related-list li time, .a766-article .subcat, .a766-article .subcat .n, .a766-article .subcat-label, .a766-article .tag-list a, .a766-article .post-tags a, .a766-article .section-head .more, .a766-article .widget-more, .a766-article .footer-bottom, .a766-article .footer-bottom a, .a766-article .home-subs a, .a766-article .home-feat-date, .a766-article .cat-card .count, .a766-article .home-block-head .cnt { font-size: 12px; }.a766-article .nav-link { font-size: 14.5px; }.a766-article .nav-drop a { font-size: 13px; }.a766-article .nav-drop .n, .a766-article .footer-cats .n, .a766-article .home-subs .n { font-size: 12px; }.a766-article .header-search .search-form input[type="search"] { font-size: 16px; }.a766-article .header-search .search-form button { font-size: 13px; }

@media (max-width: 640px) {.a766-article { font-size: 14px; }.a766-article .entry-content { font-size: 14px; }.a766-article .hero h1, .a766-article h1.page-title, .a766-article .section-head h1.page-title, .a766-article .article-head h1 { font-size: 18px; }.a766-article .post-item h2, .a766-article .post-item h3, .a766-article .post-body h2, .a766-article .post-body h2 a { font-size: 14px; }
}.a766-article .header-search .search-form input[type="search"] {
  width: 150px;
}.a766-article .header-inner {
  gap: 10px;
}.a766-article .brand {
  margin-right: 12px;
}.a766-article .nav-link {
  padding: 9px 10px;
}.a766-article .nav-main {
  gap: 0;
}
@media (max-width: 1100px) {.a766-article .header-search .search-form input[type="search"] { width: 130px; }
}.a766-article .nav-link.is-active {
  background: transparent;
  color: var(--brand);
  font-weight: 600;
}.a766-article .nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}.a766-article .nav-item:hover > .nav-link, .a766-article .nav-item:focus-within > .nav-link {
  background: transparent;
  color: var(--brand);
}.a766-article .nav-link:hover {
  background: transparent;
  color: var(--brand);
}.a766-article .hero p {
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 640px) {.a766-article .hero p { font-size: 13px; }
}

/* ==========================================================================
   抵消 www 全局样式对合并文章列表的干扰
   ========================================================================== */

/* www 的 .post-list 是三列网格，这里恢复成单列列表 */
.a766-article .post-list {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

.a766-article .post-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
}

.a766-article .post-thumb {
  flex: 0 0 180px;
  width: 180px;
}

.a766-article .post-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* www 的 .card 有 padding，合并文章里由内部元素控制间距 */
.a766-article .card {
  padding: 0;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.a766-article .card .article-head {
  border-radius: var(--radius) var(--radius) 0 0;
}

/* 侧栏卡片保留内边距 */
.a766-article .sidebar .card {
  padding: 16px 18px;
}

/* 标题区 */
.a766-article .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
}

.a766-article .section-head .page-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* 面包屑/www 外框的内边距归零（由 blog 布局自己控制） */
.a766-article .layout { gap: 26px; }
.a766-article .content { min-width: 0; }

/* 合并文章的外框：与 www 的 1000px 容器对齐（www 的 header 没有 .wrap 包裹） */
.a766-article > .layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 20px 24px;
}

/* ---------- 技术栏目导航（顶部导航栏下方） ---------- */
.a766-article .blog-catnav {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.a766-article .blog-catnav .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.a766-article .blog-catnav .inner::-webkit-scrollbar { display: none; }
.a766-article .blog-catnav a {
  position: relative;
  display: inline-block;
  padding: 12px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
}
.a766-article .blog-catnav a:hover { color: var(--brand-2); text-decoration: none; }
.a766-article .blog-catnav a.is-active { color: var(--brand); font-weight: 600; }
.a766-article .blog-catnav a.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
@media (max-width: 640px) {
  .a766-article .blog-catnav a { padding: 10px 9px; font-size: 13px; }
}

/* ---------- 栏目导航：改为内容宽度，不占满整行，随页面一起滚动 ---------- */
.a766-article .blog-catnav {
  position: static;          /* 不吸顶，随页面滚动 */
  max-width: 1000px;         /* 与内容区同宽，不再全宽 */
  margin: 0 auto;
  padding: 0 20px;
  background: transparent;   /* 去掉整行白底 */
  border-bottom: 0;          /* 分隔线改到内层 */
}
.a766-article .blog-catnav .inner {
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  border-bottom: 1px solid var(--line);   /* 只在内容宽度内画线 */
}
.a766-article .blog-catnav a {
  padding: 11px 13px;
}
.a766-article .blog-catnav a:first-child { padding-left: 0; }
.a766-article .blog-catnav a.is-active::after {
  left: 13px;
  right: 13px;
}
.a766-article .blog-catnav a:first-child.is-active::after { left: 0; }

/* ---------- 栏目导航：与顶部导航一起吸顶固定 ---------- */
.a766-article .blog-catnav {
  position: -webkit-sticky;
  position: sticky;
  top: 58px;                 /* 紧贴顶部导航（.topbar 高 58px）*/
  z-index: 30;               /* 低于 .topbar 的 40 */
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  background: #ffffff;       /* 吸顶时需要不透明底色遮挡下方内容 */
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) {
  .a766-article .blog-catnav { top: 52px; }   /* 移动端 topbar 高 52px */
}

/* ---------- 栏目导航：子分类下拉 ---------- */
.a766-article .blog-catnav .cat-item {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.a766-article .blog-catnav .cat-link .caret {
  font-size: 10px;
  margin-left: 4px;
  opacity: .55;
  display: inline-block;
  transition: transform .15s;
}
.a766-article .blog-catnav .cat-item.is-open .cat-link .caret,
.a766-article .blog-catnav .cat-item:hover .cat-link .caret {
  transform: rotate(180deg);
}
.a766-article .blog-catnav .cat-drop {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 60;
  margin-top: 2px;
  padding: 9px;
  min-width: 240px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(28,26,23,.05), 0 20px 44px -24px rgba(28,26,23,.45);
}
.a766-article .blog-catnav .cat-item.is-open .cat-drop,
.a766-article .blog-catnav .cat-item:hover .cat-drop {
  display: grid;
}
.a766-article .blog-catnav .cat-drop-all {
  grid-column: 1 / -1;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 4px;
}
.a766-article .blog-catnav .cat-drop-all:hover { background: #fbe7cf; text-decoration: none; }
.a766-article .blog-catnav .cat-drop a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.a766-article .blog-catnav .cat-drop a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}
.a766-article .blog-catnav .cat-drop .n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 修复：下拉不能被 overflow 裁剪 ---------- */
.a766-article .blog-catnav .inner {
  overflow: visible;
  flex-wrap: wrap;          /* 窄屏换行，不用横向滚动，避免裁剪下拉 */
}
@media (max-width: 640px) {
  .a766-article .blog-catnav .cat-drop {
    min-width: 210px;
    grid-template-columns: 1fr;
  }
}

/* ---------- 长链接（ed2k 等）不撑破容器 ---------- */
.a766-article .entry-content,
.a766-article .entry-content p,
.a766-article .entry-content li,
.a766-article .entry-content td,
.a766-article .entry-content div,
.a766-article .post-excerpt,
.a766-article .post-item .post-body {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.a766-article .entry-content pre,
.a766-article .entry-content code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* 卡片内不允许横向溢出 */
.a766-article .card {
  overflow: hidden;
}
.a766-article .post-item > .post-body > * {
  max-width: 100%;
}

/* ---------- 栏目导航：背景透明 + 去掉下边线 ---------- */
.a766-article .blog-catnav {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.a766-article .blog-catnav .inner {
  border-bottom: 0;
}

/* ---------- 栏目导航：毛玻璃（透明感 + 内容不穿透） ---------- */
.a766-article .blog-catnav {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 0;
  box-shadow: none;
}
/* 不支持毛玻璃的浏览器回退为接近不透明 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .a766-article .blog-catnav {
    background: rgba(255, 255, 255, .97);
  }
}
/* 深色模式 */
@media (prefers-color-scheme: dark) {
  .a766-article .blog-catnav {
    background: rgba(22, 22, 26, .72);
  }
  .a766-article .blog-catnav .inner {
    border-bottom: 0;
  }
}

/* 首页 blog 风格区块：宽度与 www 内容区对齐 */
.a766-article .wrap { max-width: 1080px; }
.home-block#home-schematic { margin-top: 8px; }
@media (max-width: 720px) {
  .home-block .home-list { grid-template-columns: 1fr; }
}

/* ---------- 首页分类区块：带缩略图（两列） ---------- */
.a766-article .home-list--img {
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
  padding: 14px 22px 18px;
}
.a766-article .home-list--img li {
  border-bottom: 0;
  padding: 0;
  display: block;
}
.a766-article .home-list--img .home-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px;
  border-radius: 10px;
  transition: background .15s;
  text-decoration: none;
}
.a766-article .home-list--img .home-item:hover {
  background: #faf7f2;
  text-decoration: none;
}
.a766-article .home-item-pic {
  flex: 0 0 112px;
  width: 112px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  display: block;
}
.a766-article .home-item-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.a766-article .home-item-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(135deg, #fafafa 0%, #eeeeee 100%);
}
.a766-article .home-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}
.a766-article .home-item-title {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.a766-article .home-item:hover .home-item-title { color: var(--brand-2); }
.a766-article .home-item-body time {
  font-size: 11.5px;
  color: #b0b0b0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .a766-article .home-list--img { grid-template-columns: 1fr; }
}

/* ---------- 首页分类区块：顶部 2 个带图推荐 ---------- */
.a766-article .home-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 26px;
  padding: 16px 22px 6px;
}
.a766-article .home-feat-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s;
}
.a766-article .home-feat-card:hover { background: #faf7f2; text-decoration: none; }
.a766-article .home-feat-pic {
  flex: 0 0 132px;
  width: 132px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  display: block;
}
.a766-article .home-feat-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.a766-article .home-feat-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(135deg, #fafafa 0%, #eeeeee 100%);
}
.a766-article .home-feat-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.a766-article .home-feat-title {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.a766-article .home-feat-card:hover .home-feat-title { color: var(--brand-2); }
.a766-article .home-feat-date {
  font-size: 11.5px;
  color: #b0b0b0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .a766-article .home-feat { grid-template-columns: 1fr; gap: 10px; }
}
