@charset "UTF-8";
/* ============================================================
   DTR自动收录导航 · 经典蓝白模板（复刻原站 DTR 收录网风格）
   配色取原站实际值：导航深蓝 #1f4977、高亮蓝 #2fadf8、链接蓝 #337ab7
   自包含实现，不依赖 Bootstrap CDN，无外链字体与图标字体
   作者：老李  QQ:1735737677  群:1023163759
   ============================================================ */

:root {
  --blue: #337ab7;          /* 主蓝：链接 / 按钮 / 分页 */
  --blue-dark: #286090;     /* 主蓝按下加深 */
  --nav: #1f4977;           /* 导航条深蓝 */
  --nav-dark: #173659;      /* 导航条按下加深 */
  --acc: #2fadf8;           /* 原站高亮蓝：标题条下划线 */
  --bg: #eceeef;            /* 页面底色（原站 body #dee2e6） */
  --line: #dddddd;
  --txt: #333333;
  --mut: #999999;
}

* { box-sizing: border-box; }

html { font-size: 14px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  line-height: 1.6;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--blue); text-decoration: none; }
a:hover, a:focus { color: var(--blue-dark); text-decoration: underline; }

img { max-width: 100%; border: 0; vertical-align: middle; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 10px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- 背景点阵（后台开启 dot_bg 时才有 canvas） ---------- */
.dots-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

main#body { position: relative; z-index: 1; padding: 15px 0 25px; }
.page-wrap { position: relative; z-index: 1; }

/* ---------- 顶部深蓝导航条 ---------- */
.navbar {
  background: var(--nav);
  border-bottom: 3px solid var(--acc);
  min-height: 52px;
  position: relative;
  z-index: 20;
}
.navbar > .container { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-header { display: flex; align-items: center; flex: 0 0 auto; }
.navbar-brand {
  display: inline-block;
  padding: 12px 14px 12px 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}
.navbar-brand:hover, .navbar-brand:focus { color: #ffffff; text-decoration: none; }

.navbar-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 3px;
  cursor: pointer;
}
.navbar-toggle:hover { background: rgba(255, 255, 255, .1); }
.navbar-toggle .icon-bar {
  display: block;
  width: 20px; height: 2px;
  margin: 3px 0;
  background: #ffffff;
  border-radius: 1px;
}

.navbar-collapse {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  margin-left: 10px;
}
.nav { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-nav { flex: 0 0 auto; }
.navbar-right { margin-left: auto; }
.navbar-nav > li > a {
  display: block;
  padding: 15px 13px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  white-space: nowrap;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: #ffffff;
  background: var(--nav-dark);
  text-decoration: none;
}
.navbar-nav > li.active > a {
  color: #ffffff;
  background: var(--nav-dark);
  border-bottom-color: var(--acc);
}
.navbar-nav .nav-cta { padding: 0 4px; }
.navbar-nav > li > .btn { margin: 11px 0; }
.navbar-nav > li > .btn:hover, .navbar-nav > li > .btn:focus { text-decoration: none; }

/* ---------- 搜索表单 ---------- */
.search-form { display: flex; flex: 1 1 420px; max-width: 620px; }
.search-form .form-control { border-radius: 3px 0 0 3px; border-right: 0; flex: 1 1 auto; }
.search-form .btn { border-radius: 0 3px 3px 0; }
/* 搜索结果页里的独立表单：不受导航条限宽影响 */
.search-form-page { display: block; max-width: 700px; margin: 0 auto 18px; }
.search-form-page .form-control { display: inline-block; width: auto; vertical-align: middle; }
.search-form-page .btn { vertical-align: middle; }
.search-hot { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--mut); }
.search-hot a { color: #777; }
.search-hot a:hover { color: var(--blue); }

/* ---------- 通用控件（Bootstrap 3 观感） ---------- */
.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 3px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
textarea.form-control { height: auto; }
select.form-control { height: 34px; }
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: 0 0 6px rgba(102, 175, 233, .5);
}
.form-control[disabled] { background: #eeeeee; cursor: not-allowed; }

.btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 3px;
  user-select: none;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-xs { padding: 2px 7px; font-size: 12px; border-radius: 2px; }
.btn-block { display: block; width: 100%; }

.btn-primary { color: #ffffff; background: var(--blue); border-color: #2e6da4; }
.btn-primary:hover, .btn-primary:focus { color: #ffffff; background: var(--blue-dark); border-color: #204d74; }

.btn-default { color: #333333; background: #ffffff; border-color: #cccccc; }
.btn-default:hover, .btn-default:focus { color: #333333; background: #e6e6e6; border-color: #adadad; }

.btn-outline { color: var(--blue); background: #ffffff; border-color: var(--blue); }
.btn-outline:hover, .btn-outline:focus { color: #ffffff; background: var(--blue); border-color: var(--blue); }

.navbar-right .btn-primary { color: #ffffff; }
.navbar-right .btn-default { color: #333333; }

/* ---------- 首页横幅（复刻原站白底 jumbotron） ---------- */
.jumbotron {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 26px 24px;
  margin: 0 0 15px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.jumb-kicker {
  display: inline-block;
  padding: 2px 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 2px;
}
.jumbotron h1 { font-size: 26px; color: #222; margin-bottom: 8px; }
.jumb-desc { color: #666; font-size: 14px; margin-bottom: 16px; }
.jumb-search { display: flex; max-width: 640px; }
.jumb-search .form-control { border-radius: 3px 0 0 3px; border-right: 0; flex: 1 1 auto; }
.jumb-search .btn { border-radius: 0 3px 3px 0; white-space: nowrap; }
.jumb-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- 公告条 ---------- */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fcf8e3;
  border: 1px solid #faebcc;
  color: #8a6d3b;
  border-radius: 3px;
  padding: 8px 12px;
  margin-bottom: 15px;
  font-size: 13px;
}
.notice-bar b { flex: 0 0 auto; }
.notice-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-bar .more { margin-left: auto; color: var(--blue); flex: 0 0 auto; }

/* ---------- 两栏布局 ---------- */
.cols { display: flex; align-items: flex-start; gap: 15px; }
.col-main { flex: 1 1 auto; min-width: 0; }
.col-side { flex: 0 0 300px; width: 300px; }

/* ---------- panel-default 卡片 ---------- */
.panel { margin-bottom: 15px; word-break: break-all; }
.panel-default {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.panel-heading {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-bottom: 1px solid var(--line);
  border-radius: 3px 3px 0 0;
  padding: 0 15px;
  min-height: 40px;
}
.panel-title {
  position: relative;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 40px;
}
.panel-title::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 3px; height: 16px;
  background: var(--acc);
  border-radius: 1px;
}
.panel-title-plain { font-size: 16px; }
.hd-right { margin-left: auto; font-size: 12px; color: var(--mut); white-space: nowrap; }
.hd-right a, a.hd-right { color: var(--blue); }
.panel-body { padding: 15px; }
.panel-body-flat { padding: 0; }

/* ---------- 行式站点条目 ---------- */
.site-list { border-radius: 3px; }
.site-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid #eeeeee;
  transition: background .15s;
}
.site-row:last-child { border-bottom: 0; }
.site-row:hover { background: #f6fafd; }
.row-ico {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
}
.row-ico img { width: 100%; height: 100%; object-fit: cover; }
.row-ico-text {
  font-size: 20px; font-weight: 700; color: var(--blue);
}
.row-ico-text:hover, .row-ico-text:focus { text-decoration: none; }
.row-body { flex: 1 1 auto; min-width: 0; }
.row-name { font-size: 15px; font-weight: 700; color: #333; display: inline-block; vertical-align: bottom; max-width: calc(100% - 56px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-row:hover .row-name, .row-name:hover { color: var(--blue); text-decoration: none; }
.row-desc {
  color: #888; font-size: 13px; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.row-meta {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  margin-top: 5px; font-size: 12px; color: var(--mut);
}
.row-op { flex: 0 0 auto; display: flex; gap: 6px; }
.site-row-slim { padding: 11px 15px; }

/* ---------- 分类横向标签条（nav-tabs） ---------- */
.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0 15px;
}
.nav-tabs-page { background: #ffffff; padding-top: 8px; border-radius: 4px 4px 0 0; }
.nav-tabs > li { margin-bottom: -1px; }
.nav-tabs > li > a {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 3px 3px 0 0;
  margin-bottom: 8px;
  white-space: nowrap;
}
.nav-tabs > li > a:hover {
  color: var(--blue-dark);
  background: #eef5fa;
  text-decoration: none;
  border-color: #d5e5f2;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
  color: #555;
  background: #ffffff;
  border-bottom-color: #ffffff;
  font-weight: 700;
  cursor: default;
}

/* ---------- 推荐站点小格 ---------- */
.rec-box { display: flex; flex-wrap: wrap; gap: 8px; }
.rec-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: #f7f9fb;
  border: 1px solid #e5e9ed;
  border-radius: 3px;
  font-size: 13px;
  color: #555;
  max-width: 100%;
}
.rec-item:hover { background: var(--blue); border-color: var(--blue); color: #ffffff; text-decoration: none; }
.rec-item img { width: 18px; height: 18px; object-fit: cover; border-radius: 2px; }
.rec-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 侧栏「标题条 + 列表」小面板 ---------- */
.item-list { padding: 6px 15px 12px; }
.item-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.5;
}
.item-list .li-idx {
  flex: 0 0 18px;
  height: 18px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #999;
  background: #f2f2f2;
  border-radius: 2px;
}
.item-list .li-top { color: #ffffff; background: var(--blue); }
.item-list li:nth-child(1) .li-top { background: #d9534f; }
.item-list li:nth-child(2) .li-top { background: #f0ad4e; }
.item-list li:nth-child(3) .li-top { background: #5bc0de; }
.item-list .li-new { color: #ffffff; background: #5cb85c; }
.item-list .li-date { flex: 0 0 auto; color: var(--mut); font-size: 12px; }
.item-list .li-title {
  flex: 1 1 auto;
  color: #555;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.item-list .li-title:hover { color: var(--blue); }
.item-list .li-num { flex: 0 0 auto; color: var(--mut); font-size: 12px; }
.item-list .li-wrap { color: #666; white-space: normal; word-break: break-all; }
.item-list-plain li { display: block; }

.link-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.link-tags a {
  padding: 3px 8px;
  font-size: 12px;
  color: #666;
  background: #f7f7f7;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
}
.link-tags a:hover { color: var(--blue); border-color: var(--blue); background: #ffffff; text-decoration: none; }

.list-group { margin: 0; padding: 0; list-style: none; }
.list-group-item {
  padding: 9px 15px;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
}
.list-group-item:last-child { border-bottom: 0; }
.list-group-item a { color: #555; display: block; }
.list-group-item a:hover { color: var(--blue); text-decoration: none; }
.list-group-item.active a, .list-group-item.active { color: var(--blue); font-weight: 700; background: #f2f8fd; }

/* ---------- 本站数据 / 统计 ---------- */
.tj-panel .panel-body { padding: 0; }
.tj-body { display: flex; flex-wrap: wrap; }
.tj-cell {
  flex: 1 1 11.11%;
  min-width: 96px;
  padding: 12px 6px;
  text-align: center;
  border-right: 1px dashed #eaeaea;
}
.tj-cell:last-child { border-right: 0; }
.tj-cell b { display: block; font-size: 20px; color: var(--blue); line-height: 1.3; }
.tj-cell span { display: block; margin-top: 2px; font-size: 12px; color: var(--mut); }

.stat-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; }
.stat-grid-4 .stat-cell { flex: 1 1 calc(25% - 12px); }
.stat-grid-3 .stat-cell { flex: 1 1 calc(33.333% - 10px); }
.stat-cell {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 4px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.stat-cell b { display: block; font-size: 26px; color: var(--blue); line-height: 1.2; }
.stat-cell span { display: block; margin-top: 4px; color: #777; font-size: 13px; }

.progress {
  height: 14px;
  background: #f0f0f0;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar {
  display: block;
  height: 100%;
  min-width: 2px;
  background: var(--blue);
  background: linear-gradient(180deg, #4f93cf 0%, var(--blue) 100%);
}

/* ---------- 表格 ---------- */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 10px 15px; border-bottom: 1px solid #eeeeee; text-align: left; vertical-align: middle; }
.table thead th {
  background: #f5f5f5;
  color: #555;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-striped tbody tr:nth-child(even) { background: #fafbfc; }
.table-striped tbody tr:hover, .table tbody tr:hover { background: #f2f8fd; }
.table-info th { width: 110px; color: #777; font-weight: 400; background: #fafafa; }
.table-contact th { width: 120px; color: #777; font-weight: 400; background: #fafafa; }
/* 全边框表格（联系我们等信息表） */
.table-bordered th, .table-bordered td { border: 1px solid #dddddd; }
.col-w70 { width: 70px; } .col-w80 { width: 80px; } .col-w90 { width: 90px; }
.col-w100 { width: 100px; } .col-w110 { width: 110px; } .col-w120 { width: 120px; }
.col-w150 { width: 150px; } .col-w220 { width: 220px; }
.cell-sub { color: var(--mut); font-size: 12px; }

.rank-badge {
  display: inline-block;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 12px;
  color: #888;
  background: #f2f2f2;
  border-radius: 3px;
}
.rank-badge.rank-top { color: #ffffff; background: var(--blue); }
.table tr:first-child .rank-badge.rank-top { background: #d9534f; }
.table tr:nth-child(2) .rank-badge.rank-top { background: #f0ad4e; }
.table tr:nth-child(3) .rank-badge.rank-top { background: #5bc0de; }

/* ---------- 标签 / 提示 ---------- */
.label {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  border-radius: 2px;
  vertical-align: middle;
}
.label-primary { background: var(--blue); }
.label-success { background: #5cb85c; }
.label-warning { background: #f0ad4e; }
.label-danger { background: #d9534f; }
.label-default { background: #777777; }

.alert {
  padding: 10px 15px;
  margin: 0 0 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
}
.alert:last-child { margin-bottom: 0; }
.alert-info { color: #31708f; background: #d9edf7; border-color: #bce8f1; }
.alert-success { color: #3c763d; background: #dff0d8; border-color: #d6e9c6; }
.alert-danger { color: #a94442; background: #f2dede; border-color: #ebccd1; }

.well {
  background: #f7f9fa;
  border: 1px solid #e8ebee;
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 0;
}
.well-title { font-weight: 700; color: #555; margin-bottom: 6px; font-size: 14px; }
.well p:last-child { margin-bottom: 0; }
.well-from { margin-top: 16px; font-size: 12px; color: #777; }

.side-note { font-size: 13px; color: #666; }
.side-note p { margin: 0 0 6px; }
.side-note-op { margin-top: 10px !important; }
.rule-list li { padding: 4px 0; line-height: 1.6; }

/* ---------- 表单 ---------- */
.form .form-group { margin-bottom: 14px; }
.control-label { display: block; margin-bottom: 5px; color: #555; font-weight: 700; font-size: 13px; }
.req, .control-label .req { color: #d9534f; font-style: normal; }
.help-block { margin-top: 4px; font-size: 12px; color: var(--mut); }
.form-foot { text-align: center; margin-top: 12px; }

/* ---------- 首页分类循环 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.cat-item {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  padding: 6px 8px; background: #ffffff; color: #555;
  border: 1px dashed #dcdcdc; border-radius: 3px;
  font-size: 12px; line-height: 1.4;
}
.cat-item:hover { border-color: var(--blue); color: var(--blue); background: #f7fbff; text-decoration: none; }
.cat-ico { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 2px; object-fit: cover; }
.cat-ico-text {
  display: flex; align-items: center; justify-content: center;
  background: #f2f8fd; color: var(--blue); font-size: 11px; font-style: normal;
}
.cat-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 文章分类循环 ---------- */
.art-cat-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px; margin: 0; padding: 0; list-style: none;
}
.art-cat-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-width: 0; padding: 9px 0; border-bottom: 1px dashed #e4e4e4;
}
.art-cat-title {
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #333; font-size: 14px; line-height: 1.5;
}
.art-cat-title:hover { color: var(--blue); text-decoration: none; }
.art-cat-meta { flex: none; color: var(--mut); font-size: 12px; }
@media (max-width: 900px) { .art-cat-list { grid-template-columns: 1fr; } }

/* ---------- 详情页 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 15px;
  margin-bottom: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  color: var(--mut);
}
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #bbb; }
.breadcrumb li:first-child + li::before { display: none; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .active { color: #555; }
.breadcrumb .crumb-right { margin-left: auto; color: var(--mut); }
.breadcrumb .crumb-right::before { display: none; }

.detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.detail-ico {
  flex: 0 0 56px; width: 56px; height: 56px;
  border: 1px solid #e5e5e5; border-radius: 3px;
  object-fit: cover; background: #f7f7f7;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--blue);
}
.detail-main { flex: 1 1 auto; min-width: 0; }
.detail-ico-text { background: #f2f8fd; font-family: inherit; }
.detail-title { font-size: 22px; color: #222; }
.detail-domain { color: var(--mut); font-size: 13px; margin-top: 3px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.detail-body.has-shot { display: flex; align-items: flex-start; gap: 18px; }
.detail-body.has-shot .table-info { flex: 1 1 auto; min-width: 0; }
.detail-shot {
  flex: 0 0 300px;
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.detail-shot img {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
  object-position: top center;
  background: #f7f7f7;
}
.detail-shot span {
  display: block;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  background: #fafafa;
  text-align: center;
  font-size: 12px;
  color: var(--mut);
}
.detail-shot:hover { border-color: var(--blue); text-decoration: none; }
.detail-shot:hover span { color: var(--blue); }
@media (max-width: 760px) {
  .detail-body.has-shot { display: block; }
  .detail-shot { margin-top: 12px; }
  .detail-shot img { height: 170px; }
}

/* ---------- 文章 ---------- */
.post-item { padding: 4px 0 14px; margin-bottom: 14px; border-bottom: 1px dashed #e5e5e5; }
.post-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.post-title { font-size: 17px; margin-bottom: 5px; }
.post-title a { color: #333; }
.post-title a:hover { color: var(--blue); text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--mut); font-size: 12px; margin-bottom: 6px; }
.post-meta-top { padding-bottom: 8px; border-bottom: 1px dashed #eaeaea; }
.post-sum { color: #777; font-size: 13px; margin: 0 0 6px; }
.post-more a { font-size: 13px; }
.post-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 11px 15px; border-bottom: 1px solid #eeeeee; }
.post-row:last-child { border-bottom: 0; }
.post-row-title { flex: 1 1 auto; color: #333; font-size: 15px; font-weight: 700; }
.post-row:hover .post-row-title, .post-row-title:hover { color: var(--blue); text-decoration: none; }
.post-row .post-meta { width: 100%; margin: 0; }
@media (min-width: 761px) { .post-row .post-meta { width: auto; margin-left: auto; } }

.article-text p { margin-bottom: 12px; line-height: 1.8; }
.article-body { padding: 6px 0 4px; font-size: 15px; line-height: 1.85; color: #444; }
.article-body p { margin: 0 0 14px; }
.article-body img { height: auto; margin: 8px 0; }

/* ---------- 分页（Bootstrap ul.pagination） ---------- */
.pager-nav { padding: 12px 15px; border-top: 1px solid #eeeeee; }
.pagination { display: flex; flex-wrap: wrap; gap: 4px; }
.pagination li > a, .pagination li > span {
  display: block;
  min-width: 34px;
  padding: 6px 10px;
  text-align: center;
  font-size: 13px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 3px;
}
.pagination li > a:hover { color: var(--blue-dark); background: #eef5fa; border-color: #d0e2f0; text-decoration: none; }
.pagination li.active > span { color: #ffffff; background: var(--blue); border-color: var(--blue); cursor: default; }
.pagination li.disabled > span { color: #bbbbbb; background: #fbfbfb; cursor: not-allowed; }
.pagination .page-info > span { color: var(--mut); border: 0; background: transparent; }

/* ---------- 登录 / 注册 ---------- */
.auth-panel { max-width: 480px; margin: 20px auto; }
.auth-site { text-align: center; color: var(--mut); font-size: 13px; margin-bottom: 14px; }
.auth-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e5e5e5; text-align: center; font-size: 13px; color: #777; }

/* ---------- 用户中心 ---------- */
.user-layout { display: flex; align-items: flex-start; gap: 15px; }
.user-side { flex: 0 0 240px; width: 240px; }
.user-main { flex: 1 1 auto; min-width: 0; }
.user-card { text-align: center; }
.avatar {
  display: inline-flex;
  width: 58px; height: 58px;
  align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  margin-bottom: 8px;
}
.user-name { font-size: 16px; font-weight: 700; color: #333; }
.user-sub { font-size: 12px; color: var(--mut); margin-top: 2px; }
.nav-tabs-vertical { display: block; padding: 8px 0; border-bottom: 0; }
.nav-tabs-vertical > li { margin: 0; }
.nav-tabs-vertical > li > a {
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  margin: 0;
  padding: 9px 15px;
  color: #555;
  background: transparent;
  white-space: normal;
}
.nav-tabs-vertical > li > a:hover { background: #f2f8fd; color: var(--blue); border-color: transparent; border-left-color: #cfe4f5; }
.nav-tabs-vertical > li.active > a,
.nav-tabs-vertical > li.active > a:hover {
  background: #f2f8fd;
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 700;
  cursor: default;
}

/* ---------- 404 ---------- */
.panel-404 { margin: 30px auto; max-width: 720px; text-align: center; }
.panel-404 .panel-body { padding: 40px 20px; }
.code-404 {
  font-size: 76px; font-weight: 700; line-height: 1;
  color: var(--blue); letter-spacing: 4px;
}
.panel-404 h2 { margin: 12px 0 8px; font-size: 20px; color: #333; }
.tip-404 { color: #888; font-size: 14px; margin-bottom: 18px; }
.ops-404 { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------- 广告位 ---------- */
.ad { margin-bottom: 15px; clear: both; }
.ad-foot { text-align: center; margin: 6px 0 12px; }

/* ---------- 页脚（浅灰底居中） ---------- */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 20px 0 26px;
  background: #f5f5f5;
  border-top: 1px solid var(--line);
  color: #777;
  text-align: center;
  font-size: 13px;
}
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 10px; }
.foot-links a { color: #555; }
.foot-links a:hover { color: var(--blue); }
.foot-copy p { margin: 2px 0; }
.foot-power { color: var(--mut); font-size: 12px; }
.foot-tip {
  max-width: 900px;
  margin: 10px auto 0;
  padding-top: 10px;
  border-top: 1px dashed #dddddd;
  color: #999;
  font-size: 12px;
  line-height: 1.8;
}

/* ---------- 移动端菜单展开态 ---------- */
.navbar-collapse.open { display: block; }

/* ============================================================
   响应式：≥1000px 两栏，≤760px 单列 + 导航折叠
   ============================================================ */
@media (max-width: 999px) {
  .col-side { flex: 0 0 260px; width: 260px; }
  .tj-cell { flex-basis: 20%; }
}

@media (max-width: 760px) {
  .navbar-toggle { display: block; }
  .navbar > .container { flex-wrap: nowrap; }
  .navbar-collapse {
    display: none;
    flex: 0 0 100%;
    order: 3;
    margin: 0;
    padding-bottom: 6px;
  }
  .navbar-collapse.open { display: block; }
  .nav { display: block; }
  .navbar-nav, .navbar-right { flex-direction: column; align-items: stretch; }
  .navbar-right { margin-left: 0; }
  .navbar-nav > li { width: 100%; }
  .navbar-nav > li > a { border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; margin: 0; }
  .navbar-nav > li.active > a { border-bottom-color: rgba(255, 255, 255, .12); background: var(--nav-dark); }
  .navbar-nav .nav-cta { padding: 0; }
  .navbar-nav > li > .btn { display: block; margin: 8px 0; }

  .cols, .user-layout { flex-direction: column; }
  .col-side, .user-side { flex: 0 0 auto; width: 100%; }

  .site-row { flex-wrap: wrap; gap: 10px; }
  .row-ico { flex-basis: 42px; width: 42px; height: 42px; }
  .row-body { flex: 1 1 60%; }
  .row-op { width: 100%; justify-content: flex-end; }

  .stat-grid-4 .stat-cell, .stat-grid-3 .stat-cell { flex-basis: calc(50% - 8px); }
  .tj-cell { flex-basis: 33.333%; border-right: 0; }
  .jumbotron { padding: 20px 16px; }
  .jumbotron h1 { font-size: 21px; }
  .nav-tabs { padding: 0 10px; }
  .pagination li > a, .pagination li > span { min-width: 30px; padding: 5px 7px; }
  .breadcrumb { font-size: 12px; }
  .table th, .table td { padding: 8px 10px; }
}

/* 触屏 / 减弱动效：关闭过渡动画 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* 最近来访（访客最近点开的站点） */
.hit-list{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hit-list a{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;padding:7px 9px;border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--txt)}
.hit-list a:hover{border-color:var(--blue);color:var(--blue-dark)}
.hit-list img,.hit-list i{width:18px;height:18px;border-radius:4px;flex:none;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;color:#fff;background:var(--blue)}
.hit-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:900px){.hit-list{grid-template-columns:repeat(2,1fr)}}

/* 导航首页 / 文章首页：面板内搜索框与热门词之间的间距 */
.panel-body .search-hot{margin-top:10px}

/* 排行榜 */
.rk-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px;flex-wrap:wrap}
.rk-title{display:inline-block;font-size:24px;font-weight:600;color:var(--nav);padding-bottom:8px;border-bottom:2px solid var(--acc)}
.rk-sub{font-size:13px;color:var(--mut);margin-top:6px}
.rk-back{font-size:13px;color:var(--blue);background:#fff;border:1px solid var(--line);padding:7px 14px;border-radius:3px;white-space:nowrap}
.rk-back:hover{background:var(--blue);border-color:var(--blue);color:#fff;text-decoration:none}
.rk-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}
.rk-stat{background:#fff;border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:3px;padding:14px 10px;text-align:center}
.rk-stat b{display:block;font-size:22px;line-height:1.3;color:var(--blue)}
.rk-stat span{font-size:12px;color:var(--mut)}
.rk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.rk-card{background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.05);overflow:hidden}
.rk-card-full{margin-bottom:20px}
.rk-card-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:2px solid var(--acc);background:#f9f9f9}
.rk-card-tt{display:flex;align-items:center;gap:10px;min-width:0}
.rk-card-tt h2{font-size:16px;color:var(--nav)}
.rk-card-tt p{font-size:12px;color:var(--mut);margin-top:2px}
.rk-badge{width:34px;height:34px;border-radius:3px;background:var(--nav);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;flex:none}
.rk-more{font-size:12px;color:var(--blue);white-space:nowrap;flex:none}
.rk-more:hover{color:var(--acc)}
.rk-count{font-size:12px;color:var(--mut);white-space:nowrap}
.rk-list{padding:4px 14px 8px}
.rk-row{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px dashed var(--line)}
.rk-row:last-child{border-bottom:none}
.rk-no{width:22px;height:22px;line-height:22px;text-align:center;border-radius:3px;background:#f2f2f2;color:var(--mut);font-size:12px;font-weight:700;flex:none}
.rk-no-1{background:#f0ad4e;color:#fff}
.rk-no-2{background:#a7b1bd;color:#fff}
.rk-no-3{background:#cd9a6d;color:#fff}
.rk-ico{width:30px;height:30px;border-radius:4px;background:#f4f8fc;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex:none;overflow:hidden}
.rk-ico img{width:100%;height:100%;object-fit:cover}
.rk-body{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.4}
.rk-name{font-size:14px;font-weight:600;color:var(--blue);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-name:hover{color:var(--acc)}
.rk-meta{font-size:11px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-num{flex:none;min-width:60px;text-align:right}
.rk-num b{display:block;font-size:14px;line-height:1.2;color:#d9534f}
.rk-num i{font-size:10px;color:var(--mut);font-style:normal}
.rk-empty{padding:28px 16px;text-align:center;color:var(--mut);font-size:13px}
.rk-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.rk-tabs a{padding:8px 18px;border:1px solid var(--line);border-radius:3px;background:#fff;font-size:14px;color:var(--txt)}
.rk-tabs a:hover{border-color:var(--acc);color:var(--blue);text-decoration:none}
.rk-tabs a.on{background:var(--nav);border-color:var(--nav);color:#fff}
.rk-list-full{padding:6px 20px 12px}
.rk-list-full .rk-row{padding:12px 2px}
.rk-list-full .rk-ico{width:36px;height:36px}
.rk-list-full .rk-name{font-size:15px}
.rk-list-full .rk-num b{font-size:16px}
@media (max-width:980px){.rk-grid{grid-template-columns:1fr}.rk-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:680px){.rk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rk-title{font-size:20px}.rk-list-full{padding:4px 12px 8px}.rk-num{min-width:50px}.rk-tabs a{padding:7px 14px;font-size:13px}}

/* ---------- 评论插件（贴合经典面板） ---------- */
body .dtr-comment{padding:0;margin:0 0 15px;font-size:14px;color:var(--txt)}
body .dtr-comment .cm-in{max-width:none;padding:15px;background:#fff;border:1px solid var(--line);border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05)}
body .dtr-comment .cm-hd{margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid var(--line)}
body .dtr-comment .cm-t{position:relative;padding-left:10px;font-size:15px;color:#333}
body .dtr-comment .cm-t::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:16px;background:var(--acc);border-radius:1px}
body .dtr-comment .cm-n{background:var(--acc)}
body .dtr-comment .cm-msg{background:#f5f5f5;border:1px solid var(--line);color:#333}
body .dtr-comment .cm-empty{color:var(--mut);opacity:1}
body .dtr-comment .cm-item{border-top-color:#eee}
body .dtr-comment .cm-face{background:var(--blue);border-radius:4px}
body .dtr-comment .cm-meta{color:var(--mut);opacity:1}
body .dtr-comment .cm-nk{color:#333}
body .dtr-comment .cm-morebtn{color:var(--blue);border-color:var(--line);border-radius:3px}
body .dtr-comment .cm-morebtn:hover{background:#f6fafd;border-color:var(--blue)}
body .dtr-comment .cm-form{border-top-color:#eee}
body .dtr-comment .cm-input{background:#fff;border-color:#ccc;border-radius:3px;color:#333}
body .dtr-comment .cm-input:focus{border-color:var(--blue);box-shadow:none}
body .dtr-comment .cm-note{color:var(--mut);opacity:1}
body .dtr-comment .cm-btn{background:var(--blue);border:1px solid #2e6da4;border-radius:3px;color:#fff;box-shadow:none}
body .dtr-comment .cm-btn:hover{background:var(--blue-dark);border-color:#204d74;opacity:1}
body .dtr-comment .cm-login{border-top-color:#eee;color:var(--mut)}
body .dtr-comment .cm-login a{color:var(--blue)}

/* ---------- 核心文章块（本月热文 / 相关文章）跟随本模板面板观感 ---------- */
:root{
  --dtr-art-surface:#fff; --dtr-art-card-bd:1px solid var(--line); --dtr-art-line:var(--line);
  --dtr-art-line-soft:var(--line); --dtr-art-radius:4px; --dtr-art-shadow:0 1px 1px rgba(0,0,0,.05);
  --dtr-art-gap:0 0 15px; --dtr-art-ink:var(--txt); --dtr-art-muted:var(--mut); --dtr-art-muted-o:1;
  --dtr-art-soft:#f2f2f2; --dtr-art-accent:var(--blue); --dtr-art-accent-ink:#fff;
  --dtr-art-hd-pad:9px 15px; --dtr-art-hd-fs:15px; --dtr-art-hd-bg:#f5f5f5; --dtr-art-hd-bd-c:var(--line);
  --dtr-art-hd-bar:""; --dtr-art-hd-bar-w:3px; --dtr-art-hd-bar-h:16px; --dtr-art-hd-bar-c:var(--acc);
  --dtr-art-in-pad:15px;
  --dtr-art-row-bd:none; --dtr-art-row-pad:6px 0; --dtr-art-row-fs:13px;
  --dtr-art-num-bg:#f2f2f2; --dtr-art-num-c:#999; --dtr-art-num-r:2px; --dtr-art-num-o:1;
  --dtr-art-num-fs:12px; --dtr-art-num-w:18px; --dtr-art-num-lh:18px;
}
body .dtr-art-num li:nth-child(1) .i{background:#d9534f;color:#fff}
body .dtr-art-num li:nth-child(2) .i{background:#f0ad4e;color:#fff}
body .dtr-art-num li:nth-child(3) .i{background:#5bc0de;color:#fff}

