@charset "utf-8";
/* ==========================================================================
   蔚蓝 azure · 按源站蓝白目录风格重做
   深色导航 + 浅灰底 + 白卡片 + 蓝色标题线 + 三列站点按钮
   ========================================================================== */

:root{
  --az: #2fadf8;
  --az-dark: #2fadf8;
  --az-deep: #1f4977;
  --az-blue: #5298ff;
  --az-navy: #343a40;
  --az-bg: #dee2e6;
  --az-card: #f8f9fa;
  --az-line: #dee2e6;
  --az-line-soft: #eaeaea;
  --az-ink: #212529;
  --az-mut: #6c757d;
  --az-gold: #c1950e;
  --az-red: #f00;
  --az-green: #28a745;
  --az-orange: #fd7e14;
  --az-radius: 4px;
  --az-shadow: 2px 2px 3px rgba(173, 181, 189, .25);
  --az-max: 1150px;
  --az-sans: "Helvetica Neue", Helvetica, "Microsoft Yahei", "Hiragino Sans GB", "WenQuanYi Micro Hei", 微软雅黑, sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--az-bg);color:var(--az-ink);
  font-family:var(--az-sans);font-size:14px;line-height:1.5;
}
a{color:#337ab7;text-decoration:none}
a:hover{color:var(--az-deep);text-decoration:none}
img{max-width:100%;height:auto;display:inline-block;vertical-align:middle}
h1,h2,h3,h4,p,dl,dd,ol,ul,figure{margin:0}
ol,ul{padding:0;list-style:none}
button,input,select,textarea{font-family:inherit;font-size:inherit}
.container{max-width:var(--az-max);margin:0 auto;padding:0 15px;width:100%}
.row{display:flex;flex-wrap:wrap;margin:0 -5px;align-items:flex-start}
.main-col,.col-8{width:75%;padding:0 5px}
.aside-col,.col-4{width:25%;padding:0 5px}
.col-6{width:50%;padding:0 5px}
.col-12{width:100%;padding:0 5px}

/* ---------------- 顶部导航 ---------------- */
.nav{
  background:var(--az-navy);border-bottom:2px solid var(--az);
  position:relative;z-index:50;
}
.nav-in{display:flex;align-items:center;min-height:53px;gap:8px}
.logo{
  display:flex;align-items:center;gap:8px;flex:0 0 auto;
  color:#ffc107;font-size:16px;font-weight:700;letter-spacing:.5px;
  padding:7px 0;
}
.logo .dot{
  width:28px;height:28px;border-radius:5px;flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#ffd75e,#d99b00);
  color:#3a2a00;font-size:16px;font-weight:800;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.12);
}
.logo img{width:auto;height:28px;max-width:180px;object-fit:contain}
.logo:hover{color:#ffd75e}
.menu{display:flex;align-items:center;flex-wrap:wrap;gap:2px;margin-left:10px}
.menu>a{
  display:block;padding:7px 9px;color:rgba(255,255,255,.5);
  font-size:14px;line-height:21px;white-space:nowrap;
}
.menu>a:hover{color:#fff}
.menu>a.on{color:#fff;font-weight:600}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:14px;flex:0 0 auto}
.nav-right a{color:rgba(255,255,255,.65);font-size:14px}
.nav-right a:hover{color:#fff}
.nav-right .btn-nav{
  border:1px solid rgba(255,255,255,.35);border-radius:3px;
  padding:5px 12px;color:#fff;
}
.nav-right .btn-nav:hover{background:var(--az);border-color:var(--az)}
.nav-toggle{
  display:none;background:none;border:1px solid rgba(255,255,255,.35);
  color:#fff;border-radius:3px;padding:3px 9px;font-size:18px;line-height:1.2;
  margin-left:auto;cursor:pointer;
}

/* ---------------- 卡片 ---------------- */
.card{
  background:var(--az-card);border:1px solid rgba(0,0,0,.125);
  border-radius:var(--az-radius);box-shadow:var(--az-shadow);
  margin-bottom:11px;
}
.sec-title{
  position:relative;display:flex;align-items:center;gap:6px;
  min-height:34px;padding:0 14px 0 20px;
  font-size:15px;font-weight:700;color:#333;
  line-height:32px;border-bottom:2px solid var(--az);
}
.sec-title .ico-sq{
  width:8px;height:8px;border-radius:2px;background:var(--az-blue);
  display:inline-block;flex:0 0 auto;
}
.sec-title a{color:#333}
.sec-title a:hover{color:var(--az-deep)}
.sec-title .sec-more{margin-left:auto;font-size:13px;font-weight:400;color:var(--az-mut)}
.sec-title .sec-more:hover{color:var(--az-deep)}
.sec-title .sec-hot{
  margin-left:auto;font-size:13px;font-weight:400;color:var(--az-red);
  max-width:40%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.sec-title.center{justify-content:center;padding-left:14px}
.sec-title.sec-sub{border-top:1px solid rgba(0,0,0,.1);margin-top:2px}
.card-bd{padding:10px 14px}
.card-bd.tight{padding:0}
.card .empty{padding:28px 16px;text-align:center;color:var(--az-mut)}
.home-top{padding-top:16px}

/* ---------------- 搜索 ---------------- */
.search-card{background:rgba(255,255,255,.48)}
.search-card .card-bd{padding:18px 16px 14px}
.search-box{
  display:flex;max-width:430px;margin:0 auto;
  border:1px solid #ced4da;border-radius:3px;overflow:hidden;background:#fff;
}
.search-box input{
  flex:1;min-width:0;border:0;outline:none;padding:8px 12px;
  font-size:14px;color:var(--az-ink);background:#fff;
}
.search-box input::placeholder{color:#999}
.search-box button{
  flex:0 0 auto;width:104px;border:0;cursor:pointer;
  background:var(--az);color:#fff;font-size:14px;
}
.search-box button:hover{background:#1b9ce6}
.hot-word{max-width:640px;margin:10px auto 0;text-align:center;font-size:13px;color:var(--az-mut);line-height:2}
.hot-word b{color:#495057;font-weight:400}
.hot-word a{margin:0 5px;color:#337ab7}

/* ---------------- 站点链接网格（横排） ---------------- */
.link-grid{display:flex;flex-wrap:wrap}
.link-grid .link-item{
  position:relative;display:flex;align-items:center;gap:5px;
  width:12.5%;height:40px;padding:3px 6px;overflow:hidden;
  border-bottom:1px solid var(--az-line-soft);
  color:#333;font-size:14px;white-space:nowrap;
}
.link-grid .link-item:nth-child(8n){border-right:0}
.link-grid img,.link-grid .ico-txt{
  width:20px;height:20px;flex:0 0 auto;border-radius:2px;object-fit:contain;
}
.link-grid .ico-txt{
  display:inline-flex;align-items:center;justify-content:center;
  background:#e9ecef;color:var(--az-deep);font-size:11px;font-weight:700;
}
.link-grid .link-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.link-grid .link-item:hover{background:#fff;color:var(--az-deep)}
.link-grid.or .link-item span{color:var(--az-gold)}
.link-grid.rd .link-item span{color:var(--az-red)}

/* ---------------- 三列站点按钮 ---------------- */
.site-btns{display:flex;flex-wrap:wrap}
.site-btns .site-btn{
  display:flex;align-items:center;gap:4px;width:33.333%;height:40px;
  padding:3px 5px;overflow:hidden;border-right:1px solid var(--az-line-soft);
  border-bottom:1px solid var(--az-line-soft);color:#333;font-size:13px;
  white-space:nowrap;
}
.site-btns .site-btn:nth-child(3n){border-right:0}
.site-btns .site-btn img,.site-btns .site-btn .ico-txt{
  width:20px;height:20px;flex:0 0 auto;border-radius:2px;object-fit:contain;
}
.site-btns .site-btn .ico-txt{
  display:inline-flex;align-items:center;justify-content:center;
  background:#e9ecef;color:var(--az-deep);font-size:11px;font-weight:700;
}
.site-btns .site-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-btns .site-btn:hover{background:#fff;color:var(--az-deep)}

/* ---------------- 公告轮播 / 随机推荐 ---------------- */
.notice-box{
  height:22px;margin:8px 12px 12px;border-radius:4px;overflow:hidden;
  background:linear-gradient(90deg,#f00,#ff7f00,#ff0,#0f0,#00f,#4b0082,#8b00ff,#f00);
  background-size:150% 100%;animation:rainbow 2s linear infinite;
}
.notice-track{animation:noticeSlide 15s infinite}
.notice-item{
  height:22px;line-height:22px;padding:0 10px;color:#fff;font-size:13px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 0 3px rgba(0,0,0,.7);
}
@keyframes rainbow{0%{background-position:0 50%}100%{background-position:200% 50%}}
@keyframes noticeSlide{
  0%,18%{transform:translateY(0)}
  20%,38%{transform:translateY(-22px)}
  40%,58%{transform:translateY(-44px)}
  60%,78%{transform:translateY(-66px)}
  80%,98%{transform:translateY(-88px)}
  100%{transform:translateY(-110px)}
}
.marquee{overflow:hidden;white-space:nowrap;padding:10px 4px 2px}
.marquee-in{display:inline-flex;animation:marquee 32s linear infinite}
.marquee:hover .marquee-in{animation-play-state:paused}
.marquee-in a{
  display:inline-flex;align-items:center;gap:4px;margin-right:22px;
  color:#333;font-size:14px;
}
.marquee-in a img{width:20px;height:20px;border-radius:2px}
.marquee-in a .ico-txt{
  display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;border-radius:2px;background:#e9ecef;
  color:var(--az-deep);font-size:11px;font-weight:700;flex:0 0 auto;
}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ---------------- 分类卡片区 ---------------- */
.cat-card{width:calc(33.333% - 10px);margin-right:10px;background:var(--az-card)}
.cat-row{display:flex;flex-wrap:wrap;align-items:stretch}
.cat-row .cat-card{margin-bottom:11px}
.cat-row .cat-card:nth-child(3n){margin-right:0}
.cat-card .site-btns .site-btn{height:38px;font-size:13px}
.cat-card .site-btns .site-btn:nth-child(3n){border-right:0}

/* ---------------- 文章双栏 ---------------- */
.duo{display:flex;flex-wrap:wrap;margin:0 -5px}
.duo>.card{width:calc(50% - 10px);margin:0 5px 11px}
.art-lines{padding:4px 14px 8px}
.art-lines li{
  display:flex;align-items:center;gap:5px;
  border-bottom:1px solid var(--az-line-soft);
  line-height:2.5rem;font-size:15px;overflow:hidden;
}
.art-lines li:last-child{border-bottom:0}
.art-lines li a{flex:1;min-width:0;display:block;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.art-lines li a:hover{color:var(--az-deep)}
.art-lines .dot{
  display:inline-block;width:8px;height:8px;flex:0 0 auto;border-radius:2px;
  background:var(--az-blue);margin-right:0;vertical-align:0;
}

/* ---------------- 面包屑 ---------------- */
.breadcrumb{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  min-height:44px;margin:14px 0 11px;padding:10px 14px;
  background:rgba(248,249,250,.8);border:1px solid var(--az-line);
  border-radius:var(--az-radius);box-shadow:1px 1px 2px rgba(233,236,239,.25);
  font-size:14px;color:#495057;
}
.breadcrumb a{color:#333}
.breadcrumb a:hover{color:var(--az-deep)}
.breadcrumb .bc-more{margin-left:auto;font-size:13px;color:var(--az-mut)}
.breadcrumb .bc-ico{
  width:14px;height:14px;border-radius:2px;background:var(--az-blue);
  display:inline-block;flex:0 0 auto;
}

/* ---------------- 分类 / 站点列表行 ---------------- */
.site-rows{display:flex;flex-wrap:wrap}
.site-rows .site-row{
  display:flex;align-items:center;gap:6px;width:50%;height:52px;
  padding:5px 10px;border-right:1px solid var(--az-line-soft);
  border-bottom:1px solid var(--az-line-soft);overflow:hidden;
}
.site-rows .site-row:nth-child(2n){border-right:0}
.site-rows .site-row img,.site-rows .site-row .ico-txt{
  width:20px;height:20px;flex:0 0 auto;border-radius:2px;object-fit:contain;
}
.site-rows .site-row .ico-txt{
  display:inline-flex;align-items:center;justify-content:center;
  background:#e9ecef;color:var(--az-deep);font-size:11px;font-weight:700;
}
.site-rows .site-row .r-body{min-width:0;flex:1;line-height:1.4}
.site-rows .site-row .r-name{
  display:block;color:#333;font-size:14px;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap;
}
.site-rows .site-row .r-name:hover{color:var(--az-deep)}
.site-rows .site-row .r-meta{
  display:block;font-size:12px;color:#8a8f95;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap;
}
.site-rows .site-row .r-date{flex:0 0 auto;font-size:12px;color:#8a8f95}
.site-rows .site-row .btn{flex:0 0 auto}
.site-rows .site-row:hover{background:#fff}

/* ---------------- 侧栏 ---------------- */
.big-submit{
  display:block;margin-bottom:11px;padding:8px 10px;text-align:center;
  background:var(--az-blue);border:1px solid var(--az-deep);border-radius:3px;
  color:#fff;font-size:14px;
}
.big-submit:hover{background:#3f8bf5;color:#fff}
.side-list{padding:4px 12px 8px}
.side-list li{
  display:flex;align-items:center;gap:7px;line-height:2.5;
  border-bottom:1px solid var(--az-line-soft);overflow:hidden;
}
.side-list li:last-child{border-bottom:0}
.side-list .num{
  flex:0 0 auto;min-width:18px;height:18px;line-height:18px;text-align:center;
  border-radius:2px;background:#e9ecef;color:#6c757d;font-size:11px;
}
.side-list li:nth-child(1) .num{background:#ffc107;color:#5a3d00}
.side-list li:nth-child(2) .num{background:#ced4da;color:#343a40}
.side-list li:nth-child(3) .num{background:#e0a06a;color:#fff}
.side-list .t{flex:1;min-width:0;color:#333;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-list .t:hover{color:var(--az-deep)}
.side-list .v{flex:0 0 auto;color:#8a8f95;font-size:12px}
.side-list img{width:20px;height:20px;flex:0 0 auto;border-radius:2px;object-fit:contain}
.side-list .ico-txt{
  display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;flex:0 0 auto;border-radius:2px;
  background:#e9ecef;color:var(--az-deep);font-size:11px;font-weight:700;
}
.side-list .dot{width:8px;height:8px;border-radius:2px;background:var(--az-blue);flex:0 0 auto}
.side-list .plus{color:var(--az-green);font-weight:700}
.side-tags{padding:10px 12px 12px;display:flex;flex-wrap:wrap;gap:6px}
.side-tags a{
  padding:2px 9px;border:1px solid var(--az-line);border-radius:3px;
  background:#fff;color:#495057;font-size:13px;
}
.side-tags a:hover{border-color:var(--az);color:var(--az-deep)}
.side-note{padding:10px 14px;font-size:13px;color:#6c757d;line-height:2}
.side-note p{margin:0 0 4px}
.side-note p:last-child{margin-bottom:0}

/* ---------------- 排行榜 ---------------- */
.rank-head{margin-bottom:11px}
.rank-title{font-size:24px;font-weight:700;color:var(--az-ink);line-height:1.3}
.rank-sub{margin-top:4px;font-size:13px;color:#6c757d}
.rank-stats{
  display:flex;flex-wrap:wrap;background:var(--az-card);
  border:1px solid rgba(0,0,0,.125);border-radius:var(--az-radius);
  box-shadow:var(--az-shadow);margin-bottom:11px;
}
.rank-stats .rs{flex:1;min-width:120px;padding:12px 16px;border-right:1px solid var(--az-line)}
.rank-stats .rs:last-child{border-right:0}
.rank-stats b{display:block;font-size:20px;color:var(--az-deep);line-height:1.2}
.rank-stats span{font-size:12px;color:#6c757d}
.rank-grid{display:flex;flex-wrap:wrap;align-items:flex-start;margin:0 -5px}
.rank-card{width:calc(50% - 10px);margin:0 5px 11px}
.rank-list{padding:2px 12px 6px}
.rank-list li{
  display:flex;align-items:center;gap:8px;line-height:2.7;
  border-bottom:1px solid var(--az-line-soft);overflow:hidden;
}
.rank-list li:last-child{border-bottom:0}
.rank-no{
  flex:0 0 auto;width:22px;height:22px;line-height:22px;text-align:center;
  border-radius:50%;background:#e9ecef;color:#6c757d;font-size:12px;font-weight:700;
}
.rank-list li:nth-child(1) .rank-no{background:#ffc107;color:#5a3d00}
.rank-list li:nth-child(2) .rank-no{background:#c8ced4;color:#343a40}
.rank-list li:nth-child(3) .rank-no{background:#e0a06a;color:#fff}
.rank-ico{flex:0 0 auto;width:20px;height:20px;border-radius:2px;overflow:hidden}
.rank-list img{width:20px;height:20px;flex:0 0 auto;border-radius:2px;object-fit:contain}
.rank-ico img{width:20px;height:20px;object-fit:contain}
.rank-ico.txt{
  display:inline-flex;align-items:center;justify-content:center;
  background:#e9ecef;color:var(--az-deep);font-size:11px;font-weight:700;
}
.rank-body{flex:1;min-width:0;line-height:1.35}
.rank-name{display:block;color:#333;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-name:hover{color:var(--az-deep)}
.rank-meta{display:block;font-size:11px;color:#8a8f95;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-val{flex:0 0 auto;text-align:right;color:#8a8f95;font-size:12px}
.rank-val b{display:block;color:var(--az-deep);font-size:14px;line-height:1.2}
.rank-val i{font-style:normal;font-size:11px}
.rank-more{display:block;text-align:right;font-size:13px;padding:0 14px 10px;color:#337ab7}
.rank-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:11px}
.rank-tabs a{
  padding:6px 14px;background:var(--az-card);border:1px solid rgba(0,0,0,.125);
  border-radius:3px;color:#495057;font-size:13px;
}
.rank-tabs a.on{background:var(--az);border-color:var(--az);color:#fff}
.rank-list-full li{line-height:3.1}
.rank-list-full .rank-name{font-size:15px}
.rank-list.two-col{display:flex;flex-wrap:wrap}
.rank-list.two-col li{width:50%;padding-right:14px}
.rank-list.two-col li:nth-child(2n){padding-right:0;padding-left:14px;border-left:1px solid var(--az-line-soft)}
.rank-grid.three .rank-card{width:calc(33.333% - 10px)}
.rank-count{font-size:13px;color:#6c757d;font-weight:400;margin-left:auto}
.rank-empty{padding:26px 16px;text-align:center;color:#6c757d}

/* ---------------- 分页 ---------------- */
.pager{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:14px 12px 16px;border-top:1px solid var(--az-line-soft)}
.pager a,.pager span{
  display:inline-block;min-width:30px;padding:4px 9px;text-align:center;
  border:1px solid var(--az-line);border-radius:3px;background:#fff;
  color:#495057;font-size:13px;
}
.pager a:hover{border-color:var(--az);color:var(--az-deep)}
.pager .cur{background:var(--az);border-color:var(--az);color:#fff}
.pager .dis{color:#adb5bd;background:#f8f9fa}

/* ---------------- 站点详情 ---------------- */
.detail-head{
  display:flex;gap:14px;flex-wrap:wrap;padding:16px 14px 12px;
}
.detail-head .site-name{
  flex:0 0 100%;width:100%;min-width:0;margin-bottom:2px;
  padding-left:9px;border-left:4px solid var(--az);
  font-size:19px;font-weight:700;color:#333;line-height:1.5;
}
.detail-head .site-name .badge{margin-left:6px;vertical-align:middle;font-weight:400}
.detail-shot a{display:block;width:100%;height:100%}
.detail-shot{
  flex:0 0 250px;width:250px;height:170px;border:1px solid var(--az-line);
  background:#e9ecef;border-radius:2px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.detail-shot img{width:100%;height:100%;object-fit:cover}
.detail-shot .ph{
  text-align:center;color:#868e96;font-size:12px;line-height:1.8;
}
.detail-shot .ph b{
  display:block;width:52px;height:52px;line-height:52px;margin:0 auto 6px;
  border-radius:8px;background:var(--az-blue);color:#fff;font-size:24px;
}
.detail-info{flex:1;min-width:300px}
.detail-info .site-name{
  font-size:20px;font-weight:700;color:var(--az-deep);line-height:1.4;
  margin-bottom:8px;
}
.detail-info .site-name .badge{font-size:12px;font-weight:400;margin-left:6px}
.site-meta{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px 24px;font-size:13px;line-height:2;color:#495057;
}
.site-meta dt{color:#8a8f95;display:inline;font-weight:400}
.site-meta dd{display:inline;margin-left:4px;color:#333}
.site-meta .full{grid-column:1/-1}
.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:0;padding:0 14px 16px}
.detail-actions .btn{flex:1}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  padding:7px 18px;border:1px solid transparent;border-radius:3px;
  font-size:14px;line-height:1.4;cursor:pointer;background:#e9ecef;color:#333;
}
.btn:hover{color:#333;text-decoration:none;filter:brightness(.96)}
.btn-primary{background:var(--az);border-color:var(--az);color:#fff}
.btn-primary:hover{color:#fff;background:#1b9ce6}
.btn-green{background:var(--az-green);border-color:var(--az-green);color:#fff}
.btn-green:hover{color:#fff;background:#218838}
.btn-orange{background:var(--az-orange);border-color:var(--az-orange);color:#fff}
.btn-orange:hover{color:#fff;background:#e8690b}
.btn-blue{background:var(--az);border-color:var(--az);color:#fff}
.btn-blue:hover{color:#fff;background:#1b9ce6}
.btn-ghost{background:#fff;border-color:#ced4da;color:#495057}
.btn-ghost:hover{background:#f1f3f5;color:#333}
.btn-sm{padding:4px 10px;font-size:12px}
.btn-block{display:flex;width:100%}
.badge{display:inline-block;padding:1px 6px;border-radius:2px;font-size:12px;line-height:18px;color:#fff;background:#adb5bd;font-style:normal}
.badge-ok{background:var(--az-green)}
.badge-no{background:#dc3545}
.badge-wait{background:#ffc107;color:#4d3800}
.site-body{padding:6px 14px 14px;font-size:14px;line-height:1.9;color:#333}
.site-body h3,.subhead{
  font-size:15px;font-weight:700;color:#333;margin:16px 0 8px;
  padding-left:9px;border-left:3px solid var(--az);
}
.site-body p{margin:0 0 8px}
.site-body .desc-box{
  border:1px solid var(--az-line);background:#fff;border-radius:3px;
  padding:10px 12px;margin-bottom:10px;line-height:2;
}
.site-body .warn{color:var(--az-red);font-size:13px;line-height:1.9}
.site-body .kv{line-height:2;font-size:14px;color:#495057}
.site-body .kv b{color:#333}
.site-body .query-links a{margin-right:10px;font-size:13px;color:#337ab7}

/* ---------------- 文章 ---------------- */
/* 核心文章功能块不带本模板的内缩，这里补齐，避免贴卡片左边缘 */
.article-card>[class^="dtr-art-"]{padding-left:18px;padding-right:18px}
.article-card .article-title{
  font-size:23px;font-weight:700;color:#212529;line-height:1.5;
  padding:16px 18px 8px;
}
.article-card .article-title .badge{margin-left:6px;vertical-align:middle;font-weight:400}
.article-meta{
  padding:0 18px 12px;font-size:13px;color:#8a8f95;
  border-bottom:1px solid var(--az-line-soft);
}
.article-meta a{color:#337ab7}
.article-body{
  padding:14px 18px 18px;font-size:15px;line-height:2;color:#333;
  word-break:break-word;
}
.article-body img{max-width:100%;height:auto;margin:8px 0}
.article-body h1,.article-body h2,.article-body h3{line-height:1.5;margin:18px 0 10px;color:#222}
.article-body p{margin:0 0 12px}
.article-body a{color:#337ab7}
.article-foot{
  margin:0 18px 18px;padding-top:12px;border-top:1px solid var(--az-line-soft);
  font-size:13px;color:#8a8f95;line-height:1.9;
}
.post{display:flex;gap:12px;padding:12px 14px;border-bottom:1px solid var(--az-line-soft)}
.post:last-child{border-bottom:0}
.post .p-date{
  flex:0 0 54px;height:54px;border-radius:3px;background:#e9ecef;
  text-align:center;padding-top:6px;color:#495057;
}
.post .p-date b{display:block;font-size:19px;line-height:1.2;color:var(--az-deep)}
.post .p-date span{font-size:11px}
.post .p-body{flex:1;min-width:0}
.post .p-title{font-size:16px;color:#333;font-weight:600;line-height:1.6}
.post .p-title:hover{color:var(--az-deep)}
.post .badge{margin-left:6px;vertical-align:middle;font-weight:400}
.post .p-desc{
  margin-top:3px;font-size:13px;color:#6c757d;line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.post .p-meta{font-size:12px;color:#8a8f95;margin-top:3px}
.art-cat-item{
  display:flex;align-items:center;gap:8px;line-height:2.6;
  border-bottom:1px solid var(--az-line-soft);overflow:hidden;
}
.art-cat-list{padding:4px 14px 8px}
.art-cat-item:last-child{border-bottom:0}
.art-cat-item .dot{width:8px;height:8px;border-radius:2px;background:var(--az-blue);flex:0 0 auto}
.art-cat-item .art-cat-title{flex:1;min-width:0;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.art-cat-item .art-cat-meta{flex:0 0 auto;color:#8a8f95;font-size:12px}

/* ---------------- 表单 / 认证 ---------------- */
.form-row{margin-bottom:14px}
.form-row label{display:block;margin-bottom:5px;color:#495057;font-size:13px}
.form-row .req{color:#dc3545}
.input,.select,.textarea{
  display:block;width:100%;padding:7px 10px;border:1px solid #ced4da;
  border-radius:3px;background:#fff;color:#333;font-size:14px;outline:none;
}
.input:focus,.select:focus,.textarea:focus{border-color:var(--az);box-shadow:0 0 0 2px rgba(47,173,248,.15)}
.textarea{min-height:120px;resize:vertical;line-height:1.7}
.form-row .tip{font-size:12px;color:#8a8f95;margin-top:4px}
.auth-box{
  max-width:440px;margin:26px auto 40px;background:var(--az-card);
  border:1px solid rgba(0,0,0,.125);border-radius:var(--az-radius);
  box-shadow:var(--az-shadow);padding:26px 30px 22px;
}
.auth-box h2{font-size:20px;color:#333;text-align:center}
.auth-box .sub{text-align:center;font-size:13px;color:#8a8f95;margin:4px 0 18px}
.auth-box .btn{width:100%;height:38px}
.auth-foot{text-align:center;font-size:13px;color:#6c757d;margin-top:14px}
.alert{padding:9px 12px;border:1px solid transparent;border-radius:3px;font-size:13px;margin-bottom:12px;line-height:1.8}
.alert-info{background:#e8f4fd;border-color:#b6e2fb;color:#0b588c}
.alert-error{background:#fdecec;border-color:#f5c2c7;color:#b02a37}
.alert-ok{background:#e9f7ee;border-color:#b7e4c7;color:#146c43}

/* ---------------- 表格 ---------------- */
.table{width:100%;border-collapse:collapse;font-size:13px}
.table th,.table td{padding:8px 10px;border-bottom:1px solid var(--az-line-soft);text-align:left;vertical-align:middle}
.table th{background:#eef1f3;color:#495057;font-weight:600;white-space:nowrap}
.table tr:last-child td{border-bottom:0}
.table tr:hover td{background:#fff}
.table a{color:#337ab7}

/* ---------------- 关于 / 统计 ---------------- */
.stat-cards{display:flex;flex-wrap:wrap;margin:0 -5px 11px}
.stat-cards .sc{
  flex:1;min-width:120px;margin:0 5px 10px;padding:14px 16px;
  background:var(--az-card);border:1px solid rgba(0,0,0,.125);
  border-radius:var(--az-radius);box-shadow:var(--az-shadow);
}
.stat-cards .sc b{display:block;font-size:22px;color:var(--az-deep);line-height:1.2}
.stat-cards .sc span{font-size:12px;color:#6c757d}
.about-box{
  border:1px solid var(--az-line);background:#fff;border-radius:3px;
  padding:14px 16px;line-height:2.1;font-size:14px;color:#333;
}
.about-box p{margin:0 0 6px}
.bar-wrap{height:10px;background:#e9ecef;border-radius:2px;overflow:hidden}
.bar-in{height:10px;background:var(--az);border-radius:2px}
.contact-line{line-height:2.2;font-size:14px;color:#495057}
.contact-line b{color:#333}
.red-note{
  background:#fff5f5;border:1px solid #f3c2c2;border-left:3px solid #e03131;
  color:#c92a2a;padding:10px 12px;border-radius:3px;font-size:13px;line-height:1.9;
}

/* ---------------- 用户中心 ---------------- */
.user-wrap{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.user-side{width:230px;flex:0 0 230px}
.user-main{flex:1;min-width:0}
.user-card{padding:18px 16px;text-align:center}
.avatar{
  width:56px;height:56px;line-height:56px;margin:0 auto 8px;
  border-radius:50%;background:var(--az-blue);color:#fff;
  font-size:22px;font-weight:700;
}
.user-name{font-size:15px;font-weight:700;color:#333;line-height:1.8}
.user-sub{font-size:12px;color:#8a8f95}
.user-nav{display:flex;flex-direction:column;padding:6px 0}
.user-nav a{padding:8px 16px;color:#495057;font-size:14px;border-left:3px solid transparent}
.user-nav a:hover{background:#fff;color:var(--az-deep)}
.user-nav a.on{border-left-color:var(--az);background:#fff;color:var(--az-deep);font-weight:600}

/* ---------------- 页脚 ---------------- */
.foot{
  margin-top:18px;background:#fff;border-top:2px solid var(--az);
  text-align:center;color:#333;font-size:14px;
}
.foot .container{padding:12px 15px 16px}
.flinks{padding:4px 0 8px;line-height:2}
.flinks a{margin:0 7px;color:#333}
.flinks a:hover{color:var(--az-deep);text-decoration:underline}
.copy{color:#495057;font-size:13px;line-height:2}
.copy a{color:#337ab7}
.disclaimer{margin-top:4px;font-size:12px;color:#6c757d;line-height:1.9}
.foot .ad{margin:8px 0}

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px){
  .nav-in{flex-wrap:wrap;padding-top:4px;padding-bottom:4px}
  .nav-toggle{display:block}
  .menu{
    display:none;width:100%;margin:0;padding:6px 0;flex-direction:column;
    align-items:stretch;border-top:1px solid rgba(255,255,255,.12);
  }
  .menu.open{display:flex}
  .menu>a{padding:8px 4px;border-bottom:1px solid rgba(255,255,255,.06)}
  .nav-right{display:none}
  .main-col,.col-8,.aside-col,.col-4{width:100%}
  .aside-col{margin-top:0}
  .link-grid .link-item{width:25%}
  .cat-card{width:calc(50% - 10px)}
  .cat-row .cat-card:nth-child(3n){margin-right:10px}
  .cat-row .cat-card:nth-child(2n){margin-right:0}
  .detail-shot{flex-basis:200px;width:200px;height:140px}
  .rank-card{width:calc(50% - 10px)}
  .rank-grid.three .rank-card{width:calc(50% - 10px)}
  .user-side{width:100%;flex:0 0 100%}
}
@media (max-width: 680px){
  .link-grid .link-item{width:50%}
  .link-grid .link-item:nth-child(8n){border-right:1px solid var(--az-line-soft)}
  .link-grid .link-item:nth-child(2n){border-right:0}
  .site-btns .site-btn{width:50%}
  .cat-card{width:100%;margin-right:0}
  .cat-row .cat-card:nth-child(2n){margin-right:0}
  .duo>.card{width:calc(100% - 10px)}
  .site-rows .site-row{width:100%;border-right:0}
  .site-meta{grid-template-columns:1fr}
  .detail-shot{flex-basis:100%;width:100%;height:180px}
  .detail-head{padding:12px}
  .rank-card{width:calc(100% - 10px)}
  .rank-grid.three .rank-card{width:calc(100% - 10px)}
  .rank-list.two-col li{width:100%;padding:0;border-left:0}
  .rank-stats .rs{min-width:50%;border-bottom:1px solid var(--az-line)}
  .rank-stats .rs:nth-child(2n){border-right:0}
  .rank-stats .rs:last-child{min-width:100%;border-bottom:0}
  .detail-actions .btn{flex:1 1 calc(50% - 4px)}
  .auth-box{margin:16px auto;padding:20px}
}

/* ---------------- 评论插件（贴合蔚蓝卡片） ---------------- */
body .dtr-comment{padding:0;margin:0 0 16px;font-size:14px;color:#333}
body .dtr-comment .cm-in{
  max-width:none;padding:14px 16px 16px;background:var(--az-card);
  border:1px solid rgba(0,0,0,.125);border-radius:var(--az-radius);
  box-shadow:var(--az-shadow);
}
body .dtr-comment .cm-hd{
  margin:0 -16px 10px;padding:0 16px 8px;
  border-bottom:2px solid var(--az);
}
body .dtr-comment .cm-t{font-size:15px;font-weight:700;color:#333;line-height:32px}
body .dtr-comment .cm-t::before{content:none}
body .dtr-comment .cm-n{
  background:var(--az);color:#fff;border-radius:2px;font-weight:400;
}
body .dtr-comment .cm-msg{background:#fff;border:1px solid var(--az-line);border-radius:3px;color:#495057}
body .dtr-comment .cm-empty{padding:22px 10px;text-align:center;color:#8a8f95;border:0;background:none}
body .dtr-comment .cm-item{border-top:1px solid var(--az-line-soft);padding:12px 0}
body .dtr-comment .cm-face{
  background:var(--az-blue);color:#fff;border-radius:50%;font-weight:600;
}
body .dtr-comment .cm-meta{color:#8a8f95}
body .dtr-comment .cm-nk{color:var(--az-deep);font-weight:700}
body .dtr-comment .cm-morebtn{
  color:var(--az-deep);border:1px solid var(--az-line);background:#fff;
  border-radius:3px;
}
body .dtr-comment .cm-morebtn:hover{background:#fff;border-color:var(--az)}
body .dtr-comment .cm-form{border-top:1px solid var(--az-line-soft);padding-top:12px}
body .dtr-comment .cm-input{
  background:#fff;border:1px solid #ced4da;border-radius:3px;color:#333;
}
body .dtr-comment .cm-input:focus{border-color:var(--az);box-shadow:0 0 0 2px rgba(47,173,248,.15)}
body .dtr-comment .cm-note{color:#8a8f95}
body .dtr-comment .cm-btn{
  background:var(--az);border-radius:3px;color:#fff;box-shadow:none;
}
body .dtr-comment .cm-btn:hover{background:#1b9ce6}
body .dtr-comment .cm-login{border-top:1px solid var(--az-line-soft);color:#6c757d}
body .dtr-comment .cm-login a{color:#337ab7}

/* ---------- 核心文章块（本月热文 / 相关文章）跟随本模板卡片观感 ---------- */
:root{
  --dtr-art-surface:var(--az-card); --dtr-art-card-bd:1px solid rgba(0,0,0,.125);
  --dtr-art-line:var(--az-line); --dtr-art-line-soft:var(--az-line-soft);
  --dtr-art-radius:var(--az-radius); --dtr-art-shadow:var(--az-shadow); --dtr-art-gap:0 0 11px;
  --dtr-art-ink:#333; --dtr-art-muted:var(--az-mut); --dtr-art-muted-o:1;
  --dtr-art-soft:#e9ecef; --dtr-art-accent:var(--az); --dtr-art-accent-ink:#fff;
  --dtr-art-hd-pad:6px 14px 6px 20px; --dtr-art-hd-fs:15px; --dtr-art-hd-jc:center;
  --dtr-art-hd-bg:transparent; --dtr-art-hd-bd-w:2px; --dtr-art-hd-bd-c:var(--az);
  --dtr-art-hd-bar:""; --dtr-art-hd-bar-w:8px; --dtr-art-hd-bar-h:8px; --dtr-art-hd-bar-c:var(--az-blue);
  --dtr-art-in-pad:6px 12px 10px;
  --dtr-art-row-bd:1px solid var(--az-line-soft); --dtr-art-row-pad:5px 0; --dtr-art-row-fs:14px;
  --dtr-art-num-bg:#e9ecef; --dtr-art-num-c:#6c757d; --dtr-art-num-r:2px; --dtr-art-num-o:1;
  --dtr-art-num-fs:11px; --dtr-art-num-w:18px; --dtr-art-num-lh:18px;
}
body .dtr-art-num li:nth-child(1) .i{background:#ffc107;color:#5a3d00}
body .dtr-art-num li:nth-child(2) .i{background:#ced4da;color:#343a40}
body .dtr-art-num li:nth-child(3) .i{background:#e0a06a;color:#fff}
