/* ===== 临床文库 · 全站样式 ===== */
:root {
  --blue: #3580e6;
  --blue-d: #0d2685;
  --blue-l: #eaf2fe;
  --blue-b: #cfe0fb;
  --red: #e63a3a;
  --green: #1ca472;
  --gold: #e1b47b;
  --gold-l: #fff3d5;
  --t1: #333;
  --t2: #666;
  --t3: #999;
  --line: #eee;
  --line2: #f5f5f5;
  --bg: #f5f7fa;
  --w: 1240px;
  --r: 8px;
  --sh: 0 2px 12px rgba(21, 47, 96, .06);
  --sh2: 0 8px 28px rgba(21, 47, 96, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "microsoft yahei", "PingFang SC", "Hiragino Sans GB", SimSun, Tahoma, Arial, sans-serif;
  font-size: 14px;
  color: var(--t1);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--t1); text-decoration: none; transition: color .18s; }
a:hover { color: var(--blue); }
ul, ol, h1, h2, h3, h4, p, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img { max-width: 100%; border: 0; vertical-align: middle; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: 0; }
.clearfix::after { content: ""; display: block; clear: both; }

.wrap { width: var(--w); margin: 0 auto; }
.mt20 { margin-top: 20px; }
.mt25 { margin-top: 25px; }
.fl { float: left; }
.fr { float: right; }

/* ---------- 头部 ---------- */
.hdr {
  position: relative;
  z-index: 90;
  background: linear-gradient(180deg, #12306f 0%, #22499a 55%, #2a5ad0 100%);
}
.hdr-bar { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hdr-barin { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 50px; }

.nav { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}
.nav > li > a:hover, .nav > li > a.on { color: #fff; background: rgba(255, 255, 255, .16); }
.caret {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 5px;
  vertical-align: 1px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

/* 文档分类 mega 菜单 */
.dd-trigger .drop-down {
  display: none;
  position: absolute;
  top: 50px; left: 0;
  width: 720px;
  padding: 18px 22px 6px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--sh2);
  z-index: 120;
}
.dd-trigger:hover .drop-down { display: block; }
.dd-trigger .drop-down::before {
  content: "";
  position: absolute;
  top: -6px; left: 44px;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
}
.dd-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 26px;
  max-height: 420px;
  overflow-y: auto;
}
.dd-group { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px dashed #e2e6ee; }
.dd-group dt { font-size: 15px; font-weight: 700; color: var(--blue-d); margin-bottom: 4px; }
.dd-group dt a:hover { color: var(--blue); }
.dd-group dd { display: flex; flex-wrap: wrap; }
.dd-group dd a {
  padding: 0 14px 0 0;
  line-height: 28px;
  font-size: 13px;
  color: var(--t2);
}

/* 右侧菜单 */
.menu { display: flex; align-items: center; flex: 0 0 auto; }
.menu > li { position: relative; display: flex; align-items: center; height: 50px; }
.menu > li > a {
  display: block;
  padding: 0 12px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 14px;
}
.menu > li > a:hover { color: #fff; opacity: .82; }
.menu .joinv > a { color: #f0c74c; font-weight: 700; }
.menu .reg {
  margin-left: 4px;
  padding: 0 14px;
  height: 28px;
  line-height: 28px;
  margin-top: 0;
  border-radius: 15px;
  background: #fff;
  color: var(--blue) !important;
  font-weight: 700;
}
.menu .reg:hover { background: #f0f6ff; color: var(--blue); opacity: 1; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 34px;
  line-height: 1;
  padding: 0 12px 0 3px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  color: var(--blue) !important;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 190px;
}
.user-chip .avatar {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: #fff;
  font-size: 13px;
  line-height: 28px;
  text-align: center;
}
.user-chip .uname {
  flex: 0 1 auto;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip .vip-tag {
  padding: 0 5px;
  border-radius: 3px;
  background: linear-gradient(135deg, #f5d08a, #e1b47b);
  color: #6b4413;
  font-size: 10px;
  line-height: 15px;
  font-weight: 700;
}
.member .drop-down {
  display: none;
  position: absolute;
  right: 0; top: 50px;
  width: 148px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--sh2);
  overflow: hidden;
}
.member:hover .drop-down { display: block; }
.udd { display: block; }
.udd a {
  display: block;
  padding: 0 16px;
  line-height: 38px;
  font-size: 13px;
  color: var(--t2);
  border-bottom: 1px solid var(--line2);
}
.udd a:hover { background: var(--blue-l); color: var(--blue); }
.udd a.out { color: var(--t3); }
.udd a.admin-entry { color: var(--blue); font-weight: 700; background: #f4f9ff; }

/* 主搜索行 */
.hdr-main {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 0 0;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #fff, #dbe9ff);
  color: var(--blue-d);
  font-size: 23px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}
.logo-txt { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 1px; line-height: 1.15; }
.logo-txt em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .4px;
  opacity: .72;
  margin-top: 1px;
}

.hdr-search { flex: 1 1 auto; min-width: 0; }
.searchbox {
  display: flex;
  align-items: center;
  height: 46px;
  background: #fff;
  border-radius: 23px;
  padding: 0 4px 0 6px;
  box-shadow: 0 6px 20px rgba(6, 21, 60, .16);
}
.searchbox .switch {
  position: relative;
  flex: 0 0 auto;
  width: 74px;
  height: 34px;
  line-height: 34px;
  padding-left: 12px;
  border-right: 1px solid var(--line);
  color: var(--t2);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.searchbox .switch .caret { border-top-color: var(--t3); }
.searchbox .sw-list {
  display: none;
  position: absolute;
  top: 40px; left: 0;
  width: 84px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--sh2);
  overflow: hidden;
  z-index: 30;
}
.searchbox .switch.open .sw-list { display: block; }
.searchbox .sw-list a { display: block; padding: 0 12px; line-height: 34px; font-size: 13px; }
.searchbox .sw-list a:hover { background: var(--blue-l); color: var(--blue); }
.searchbox input[type=text] {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 14px;
  font-size: 14px;
  color: var(--t1);
  background: transparent;
}
.searchbox input[type=text]::placeholder { color: #a8b0bd; }
.searchbox button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 26px;
  border: 0;
  border-radius: 19px;
  background: linear-gradient(135deg, #4a8ff0, var(--blue));
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: filter .18s;
}
.searchbox button:hover { filter: brightness(1.08); }
.hotwords { display: flex; gap: 12px; align-items: center; padding: 9px 4px 0; font-size: 12px; color: rgba(255, 255, 255, .72); }
.hotwords a { color: rgba(255, 255, 255, .9); }
.hotwords a:hover { color: #fff; text-decoration: underline; }

.hdr-stat { flex: 0 0 auto; text-align: right; color: #fff; }
.hdr-stat .stat-num { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: .5px; }
.hdr-stat .stat-txt { font-size: 12px; opacity: .78; margin-top: 4px; }

/* ---------- Banner ---------- */
.hero {
  position: relative;
  height: 208px;
  overflow: hidden;
  background: linear-gradient(180deg, #2a5ad0 0%, #2a5ad0 10%, #1e4ec4 55%, #1259e5 100%);
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px; top: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18), transparent 62%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .16));
}
.hero-in { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.hero-l { max-width: 620px; color: #fff; }
.hero-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .18);
  font-size: 12px;
  letter-spacing: .4px;
  margin-bottom: 10px;
}
.hero-l h1 { font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: .5px; }
.hero-l h1 em { font-style: normal; color: #ffe08a; }
.hero-l p { margin-top: 9px; font-size: 14px; color: rgba(255, 255, 255, .86); line-height: 1.75; }
.hero-btns { display: flex; gap: 12px; margin-top: 16px; }
.hero-btns .b1, .hero-btns .b2 {
  display: inline-block;
  height: 38px;
  line-height: 38px;
  padding: 0 22px;
  border-radius: 19px;
  font-size: 14px;
  font-weight: 700;
}
.hero-btns .b1 { background: #fff; color: var(--blue-d); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.hero-btns .b1:hover { background: #f4f8ff; color: var(--blue-d); }
.hero-btns .b2 { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.hero-btns .b2:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-r { display: flex; gap: 12px; }
.hero-card {
  width: 116px;
  padding: 15px 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hero-card b { display: block; font-size: 23px; line-height: 1.15; letter-spacing: .5px; }
.hero-card span { font-size: 12px; opacity: .82; }

/* ---------- 公告条 ---------- */
.notice {
  display: flex;
  align-items: center;
  margin-top: 20px;
  padding: 0 16px 0 0;
  height: 46px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
}
.notice .lab {
  flex: 0 0 auto;
  padding: 0 16px;
  height: 46px;
  line-height: 46px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-l);
}
.notice .nt-list { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.notice .nt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  font-size: 13px;
  color: var(--t2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.notice .nt-item b { color: var(--red); font-weight: 400; }
.notice .more { flex: 0 0 auto; font-size: 13px; color: var(--t3); }

/* ---------- 常用栏目四宫格 ---------- */
.quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
}
.qbox h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line2);
}
.qbox h3 i {
  display: inline-block;
  width: 3px; height: 13px;
  margin-right: 7px;
  vertical-align: -1px;
  border-radius: 2px;
  background: var(--blue);
}
.qbox ul { display: flex; flex-wrap: wrap; }
.qbox li { width: 50%; }
.qbox li a {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  color: var(--t2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qbox li a:hover { color: var(--blue); }
.qbox li a em {
  font-style: normal;
  margin-left: 3px;
  padding: 0 3px;
  border-radius: 3px;
  font-size: 10px;
  color: #fff;
  background: #ff8a00;
  vertical-align: 1px;
}
.qbox li a em.hot { background: #ff5454; }

/* ---------- 通用面板 ---------- */
.panel {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
}
.ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 52px;
  border-bottom: 1px solid var(--line2);
}
.ph h2 { font-size: 17px; font-weight: 700; color: var(--t1); display: flex; align-items: center; }
.ph h2 i {
  display: inline-block;
  width: 4px; height: 16px;
  margin-right: 9px;
  border-radius: 2px;
  background: var(--blue);
}
.ph .more { font-size: 13px; color: var(--t3); }
.ph .more:hover { color: var(--blue); }

/* ---------- 首页主内容 ---------- */
.home-main {
  display: grid;
  grid-template-columns: 910px minmax(0, 1fr);
  gap: 30px;
  margin-top: 20px;
  align-items: start;
}

/* 文档卡片列表 */
.dgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 20px 15px;
  padding: 18px;
}
.dcard { width: auto; min-width: 0; }
.dcard .cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.dcard:hover .cover { box-shadow: 0 8px 22px rgba(21, 47, 96, .14); transform: translateY(-2px); }
.thumb {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}
.thumb.has-img {
  padding: 0;
  display: block;
  background: #eef2f8;
}
.thumb.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.thumb-ch {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .96;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.thumb-line {
  width: 40px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .62);
}
.thumb-sub {
  position: absolute;
  left: 9px; right: 34px;
  bottom: 8px;
  text-align: left;
  font-size: 11px;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thumb::after {
  content: "";
  position: absolute;
  right: -22px; bottom: -22px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.dcard .title {
  height: 44px;
  max-height: 44px;
  margin-top: 8px;
  overflow: hidden;
}
.dcard .title span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--t2);
}
.dcard:hover .title { color: var(--blue); }
.dcard .meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 12px;
  color: var(--t3);
}
.dcard .meta .view::before {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 3px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5C6.5 5 2 12 2 12s4.5 7 10 7 10-7 10-7-4.5-7-10-7zm0 11a4 4 0 110-8 4 4 0 010 8z'/></svg>") no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5C6.5 5 2 12 2 12s4.5 7 10 7 10-7 10-7-4.5-7-10-7zm0 11a4 4 0 110-8 4 4 0 010 8z'/></svg>") no-repeat center/contain;
}
.viponly {
  position: absolute;
  top: 6px; left: 6px;
  z-index: 2;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 17px;
  color: #a5711c;
  background: rgba(255, 232, 178, .94);
  font-weight: 700;
}
.origin {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 2;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 17px;
  color: #fff;
  background: rgba(28, 164, 114, .92);
}
.fext {
  position: absolute;
  right: 6px; bottom: 6px;
  z-index: 2;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 15px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  font-family: Arial, sans-serif;
}

/* 右侧登录 / 会员卡 */
.aside-col { display: flex; flex-direction: column; gap: 18px; }
.authcard { padding: 18px; }
.authcard .guest { text-align: center; }
.authcard .gavatar {
  width: 62px; height: 62px;
  margin: 4px auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3d5, #f7e2b8);
  color: #c79a55;
  font-size: 28px;
  display: grid;
  place-items: center;
}
.authcard .guest h3 { font-size: 15px; font-weight: 700; }
.authcard .guest p { margin-top: 4px; font-size: 12px; color: var(--t3); }
.enjoy {
  margin-top: 14px;
  padding: 14px 16px 10px;
  border-radius: var(--r);
  background: var(--gold-l);
}
.enjoy h4 { font-size: 13px; font-weight: 700; color: #8a6220; margin-bottom: 8px; text-align: center; }
.enjoy ul { display: flex; flex-wrap: wrap; }
.enjoy li { width: 50%; font-size: 12px; color: #8a6220; line-height: 24px; }
.enjoy li::before { content: "·"; margin-right: 4px; font-weight: 700; }
.btn-gold {
  display: block;
  margin-top: 12px;
  height: 38px;
  line-height: 38px;
  border-radius: 19px;
  background: linear-gradient(135deg, #f0cb8a, #e1b47b);
  color: #6b4413;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.btn-gold:hover { color: #5a3810; filter: brightness(1.05); }

/* 用户动态 */
.feedbox { padding: 0 0 6px; }
.feed { padding: 4px 18px 10px; }
.feed li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 12px;
  color: var(--t2);
  border-bottom: 1px dashed var(--line2);
}
.feed li:last-child { border-bottom: 0; }
.feed li .who { color: var(--blue); flex: 0 0 auto; }
.feed li .t { flex: 0 0 auto; color: var(--t3); }
.feed li .what { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--t2); }
.feed li .when { flex: 0 0 auto; color: #bbb; }

.mid-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
@media (max-width: 1100px) {
  .mid-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 榜单 ---------- */
.tabs { display: flex; gap: 4px; }
.tabs a {
  padding: 3px 12px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--t2);
}
.tabs a.on { background: var(--blue-l); color: var(--blue); font-weight: 700; }
.rank { padding: 8px 18px 14px; }
.rank li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line2);
}
.rank li:last-child { border-bottom: 0; }
.rank .no {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background: #c9d1de;
  font-family: Arial, sans-serif;
}
.rank li:nth-child(1) .no { background: #f05a14; }
.rank li:nth-child(2) .no { background: #ff8a00; }
.rank li:nth-child(3) .no { background: #f7b500; }
.rank .rt { flex: 1 1 auto; min-width: 0; }
.rank .rt a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.55;
  color: var(--t1);
}
.rank .rt a:hover { color: var(--blue); }
.rank .rm { margin-top: 3px; font-size: 11px; color: var(--t3); display: flex; gap: 10px; }
.rank .hot { flex: 0 0 auto; text-align: right; font-size: 11px; color: var(--t3); white-space: nowrap; padding-top: 1px; }
.rank .hot b { font-size: 13px; color: var(--red); font-family: Arial, sans-serif; font-weight: 400; margin-right: 2px; }

/* ---------- 列表行（搜索/分类页） ---------- */
.dlist { padding: 4px 18px 18px; }
.drow {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line2);
}
.drow:last-child { border-bottom: 0; }
.drow .front {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  height: 156px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.drow .mane { flex: 1 1 auto; min-width: 0; }
.drow .rtitle {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.5;
  margin-bottom: 6px;
}
.drow .rtitle:hover { color: var(--blue); }
.drow .intros {
  font-size: 13px;
  color: var(--t3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.drow .infos { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--t3); }
.drow .vipmini {
  padding: 0 6px;
  border-radius: 3px;
  background: var(--gold-l);
  color: #a5711c;
  font-weight: 700;
}
.drow .side {
  flex: 0 0 auto;
  width: 76px;
  text-align: right;
  font-size: 12px;
  color: var(--t3);
}
.drow .side span { font-size: 16px; color: var(--t1); font-family: Arial, sans-serif; margin-right: 3px; }
.drow .side em { font-style: normal; }
.drow .side .dl { color: var(--blue); }

/* ---------- 侧栏通用卡 ---------- */
.sidecard { padding: 0 0 14px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 0; }
.tagcloud a {
  padding: 4px 12px;
  border-radius: 14px;
  background: #f4f6fa;
  color: var(--t2);
  font-size: 12px;
}
.tagcloud a:hover { background: var(--blue-l); color: var(--blue); }
.tagcloud a.hot { background: #fff2f2; color: var(--red); }

/* 真实预览页（PPT 渲染图） */
.prev-real {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 16px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(21, 47, 96, .12);
}
.prev-real img { display: block; width: 100%; height: auto; }
.prev-real .pnum {
  position: absolute;
  right: 12px; bottom: 10px;
  padding: 1px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  font-size: 11px;
}

/* 文档状态提示（作者/管理员可见） */
.status-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
}
.status-notice b {
  flex: 0 0 auto;
  padding: 1px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.sn-pending { background: #fff9ee; border: 1px solid #ffe3b3; color: #8a5a12; }
.sn-pending b { background: #ffb020; color: #fff; }
.sn-rejected { background: #fff2f2; border: 1px solid #ffd6d6; color: #a52a2a; }
.sn-rejected b { background: #e63a3a; color: #fff; }
.sn-offline { background: #f4f6fa; border: 1px solid #e2e8f2; color: #6b7789; }
.sn-offline b { background: #99a6b8; color: #fff; }

.ust {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 11px;
  line-height: 17px;
  vertical-align: 1px;
  font-weight: 400;
}
.u-pending { background: #fff3d9; color: #9a6a10; }
.u-rejected { background: #ffe8e8; color: #b02a2a; }
.u-offline { background: #eef1f6; color: #7a8699; }

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 14px 0 0;
  font-size: 13px;
  color: var(--t3);
}
.crumb a { color: var(--t3); white-space: nowrap; }
.crumb strong { white-space: nowrap; }
.crumb a:hover { color: var(--blue); }
.crumb .sep { color: #ccd; }
.crumb strong { color: var(--t2); font-weight: 400; }

/* ---------- 分类页 ---------- */
.cat-hero {
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: var(--r);
  background: linear-gradient(120deg, #1b3fa8, #3580e6 65%, #4a8ff0);
  color: #fff;
}
.cat-hero h1 { font-size: 24px; font-weight: 700; }
.cat-hero p { margin-top: 6px; font-size: 13px; opacity: .86; }
.cat-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cat-hero .chips a {
  padding: 4px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 13px;
}
.cat-hero .chips a.on, .cat-hero .chips a:hover { background: #fff; color: var(--blue-d); }

.filterbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 0 18px;
  height: 48px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  font-size: 13px;
}
.filterbar .lb { color: var(--t3); }
.filterbar .opts { display: flex; gap: 4px; }
.filterbar .opts a { padding: 2px 12px; border-radius: 13px; color: var(--t2); }
.filterbar .opts a.on { background: var(--blue); color: #fff; }
.filterbar .total { margin-left: auto; color: var(--t3); }
.filterbar .total b { color: var(--red); font-family: Arial, sans-serif; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; padding: 24px 0 8px; }
.pager a, .pager span {
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--t2);
  font-size: 13px;
  text-align: center;
}
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .cur { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .dis { color: #ccc; }

/* ---------- 文档详情 ---------- */
.detail-main {
  display: grid;
  grid-template-columns: 900px minmax(0, 1fr);
  gap: 30px;
  margin-top: 16px;
  align-items: start;
}
.doc-hd { padding: 22px 24px 18px; }
.doc-hd h1 { font-size: 23px; line-height: 1.45; font-weight: 700; color: var(--t1); }
.doc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.doc-badges span {
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  background: #f4f6fa;
  color: var(--t2);
}
.doc-badges .v { background: rgba(241, 180, 76, .18); color: #a5711c; font-weight: 700; }
.doc-badges .o { background: rgba(28, 164, 114, .12); color: var(--green); }

.doc-preview {
  padding: 18px;
  min-height: 420px;
  background: #eef1f6;
  border-radius: 0 0 var(--r) var(--r);
}
.prev-page {
  width: 560px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 16px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(21, 47, 96, .1);
  padding: 26px 32px;
  position: relative;
  overflow: hidden;
}
.prev-page .pnum {
  position: absolute;
  right: 16px; bottom: 10px;
  font-size: 11px;
  color: #c4ccd8;
}
.prev-page .ph-line {
  height: 7px;
  border-radius: 3px;
  background: #eef1f6;
  margin-bottom: 8px;
}
.prev-page .ph-line.s { width: 62%; }
.prev-page .ph-line.m { width: 84%; }
.prev-page .ph-title {
  height: 14px;
  width: 58%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-b), #e8f0fd);
  margin-bottom: 16px;
}
.prev-page .ph-bar {
  position: absolute;
  left: 0; top: 0;
  width: 5px; height: 100%;
  background: linear-gradient(180deg, var(--blue), #7fb0f5);
}
.prev-lock {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 60px 0 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(238, 241, 246, 0), #eef1f6 42%);
}
.prev-lock p { font-size: 14px; color: var(--t2); margin-bottom: 14px; }
.prev-lock .ln { display: flex; justify-content: center; gap: 12px; }

.doc-side .buybox { padding: 20px; text-align: center; }
.doc-side .buybox .pg {
  font-size: 13px;
  color: var(--t3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line2);
  margin-bottom: 16px;
}
.doc-side .buybox .pg b { font-size: 22px; color: var(--t1); font-family: Arial, sans-serif; }
.btn-main {
  display: block;
  width: 100%;
  height: 46px;
  line-height: 46px;
  border: 0;
  border-radius: 23px;
  background: linear-gradient(135deg, #4a8ff0, var(--blue));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.btn-main:hover { color: #fff; filter: brightness(1.06); }
.btn-line {
  display: block;
  width: 100%;
  height: 42px;
  line-height: 40px;
  margin-top: 10px;
  border: 1px solid var(--blue-b);
  border-radius: 21px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}
.btn-line:hover { background: var(--blue-l); color: var(--blue); }
.doc-side .tips { margin-top: 14px; font-size: 12px; color: var(--t3); line-height: 1.9; text-align: left; }

.doc-meta-list { padding: 4px 20px 16px; }
.doc-meta-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--line2);
}
.doc-meta-list li:last-child { border-bottom: 0; }
.doc-meta-list .k { flex: 0 0 auto; color: var(--t3); }
.doc-meta-list .v { flex: 1 1 auto; color: var(--t1); text-align: right; word-break: break-all; }

.statement { padding: 18px 24px; font-size: 13px; color: var(--t3); line-height: 2; }
.statement b { color: var(--t2); }

/* ---------- 资讯 ---------- */
.newsgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; }
.newsitem { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.newsitem:hover { border-color: var(--blue-b); box-shadow: var(--sh); }
.newsitem .nthumb { flex: 0 0 auto; width: 128px; height: 86px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 700; }
.newsitem h3 { font-size: 15px; line-height: 1.55; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newsitem p { margin-top: 5px; font-size: 12px; color: var(--t3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newsitem .nm { margin-top: 6px; font-size: 12px; color: #bbb; }

/* ---------- 表单 / 登录 ---------- */
.authwrap {
  display: flex;
  justify-content: center;
  padding: 48px 0 70px;
  min-height: 560px;
  background: linear-gradient(150deg, #e6eefb, #f5f7fa 55%, #eef2f9);
}
.authbox {
  display: flex;
  width: 880px;
  align-self: flex-start;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 48px rgba(21, 47, 96, .12);
}
.authside {
  flex: 0 0 360px;
  padding: 40px 34px;
  background: linear-gradient(155deg, #16357f 0%, #2a5ad0 58%, #1259e5 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.authside::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -90px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.authside h2 { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: .5px; }
.authside .sd { margin-top: 12px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .82); }
.authside ul { margin-top: 28px; position: relative; z-index: 2; }
.authside li {
  font-size: 13px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .92);
  padding-left: 20px;
  position: relative;
}
.authside li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffe08a;
  font-weight: 700;
}
.authcard2 {
  flex: 1 1 auto;
  min-width: 0;
  padding: 34px 38px 30px;
}
.authcard2 h1 { font-size: 22px; font-weight: 700; text-align: center; }
.authcard2 .sub { margin-top: 6px; font-size: 13px; color: var(--t3); text-align: center; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 13px; color: var(--t2); margin-bottom: 6px; }
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  font-size: 14px;
  background: #fbfcfe;
  transition: border-color .18s, background .18s;
}
.field input:focus { border-color: var(--blue); background: #fff; }
.field .hint { margin-top: 5px; font-size: 12px; color: var(--t3); }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1 1 auto; }
.field-row .field.narrow { flex: 0 0 120px; }
.authcard2 .btn-main { margin-top: 22px; }
.authcard2 .foot { margin-top: 16px; font-size: 13px; color: var(--t3); text-align: center; }
.authcard2 .foot a { color: var(--blue); }
.alert {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: #fff2f2;
  color: #c0392b;
  border: 1px solid #ffd9d9;
}
.alert.ok { background: #eefaf4; color: #127a52; border-color: #cdf0e0; }

/* ---------- VIP 页 ---------- */
.vip-hero {
  padding: 40px 0 46px;
  background: linear-gradient(120deg, #2b2118, #4a3524 55%, #6b4a2c);
  color: #f4e2c4;
  text-align: center;
}
.vip-hero h1 { font-size: 34px; font-weight: 700; color: #f8d99a; letter-spacing: 1px; }
.vip-hero p { margin-top: 10px; font-size: 14px; opacity: .82; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: var(--sh);
  text-align: center;
  position: relative;
}
.plan ul { flex: 1 1 auto; }
.plan form { margin-top: auto; }
.plan.best { border-color: var(--gold); box-shadow: 0 10px 30px rgba(225, 180, 123, .28); }
.plan .best-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 2px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5d08a, #e1b47b);
  color: #6b4413;
  font-size: 12px;
  font-weight: 700;
}
.plan h3 { font-size: 17px; font-weight: 700; }
.plan .price { margin: 14px 0 4px; color: var(--red); }
.plan .price b { font-size: 38px; font-family: Arial, sans-serif; letter-spacing: -1px; }
.plan .price i { font-style: normal; font-size: 16px; }
.plan .old { font-size: 13px; color: #bbb; text-decoration: line-through; }
.plan ul { margin: 16px 0 20px; text-align: left; }
.plan li { font-size: 13px; color: var(--t2); line-height: 2; padding-left: 20px; position: relative; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.rights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.right { padding: 20px; background: #fff; border-radius: var(--r); text-align: center; box-shadow: var(--sh); }
.right .ic { font-size: 26px; }
.right h4 { margin-top: 8px; font-size: 15px; font-weight: 700; }
.right p { margin-top: 4px; font-size: 12px; color: var(--t3); line-height: 1.7; }

/* ---------- 上传页 ---------- */
.uploadwrap { padding: 24px 0 50px; }
.dropzone {
  margin: 20px 24px 24px;
  padding: 46px 20px;
  border: 2px dashed var(--blue-b);
  border-radius: 12px;
  background: #fafcff;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--blue-l); }
.dropzone .ic { font-size: 40px; }
.dropzone h3 { margin-top: 10px; font-size: 16px; font-weight: 700; }
.dropzone p { margin-top: 6px; font-size: 13px; color: var(--t3); }
.filerow {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 24px 20px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--blue-l);
  font-size: 13px;
}
.filerow.show { display: flex; }
.filerow .fn { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0 24px 8px; }
.form-grid .full { grid-column: 1 / -1; }
.field select, .field textarea {
  width: 100%;
  padding: 0 14px;
  height: 46px;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  font-size: 14px;
  background: #fbfcfe;
  color: var(--t1);
}
.field textarea { height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; }
.form-foot { display: flex; gap: 12px; justify-content: center; padding: 8px 24px 26px; }
.form-foot .btn-main { width: 200px; }

/* ---------- 个人中心 ---------- */
.userwrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 20px; align-items: start; }
.usernav { padding: 0 0 12px; position: sticky; top: 16px; }
.usernav .who { padding: 22px 20px 16px; text-align: center; border-bottom: 1px solid var(--line2); }
.usernav .who .av {
  width: 62px; height: 62px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
}
.usernav .who h3 { font-size: 15px; font-weight: 700; }
.usernav .who .u-vip {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  background: var(--gold-l);
  color: #a5711c;
  font-weight: 700;
}
.usernav ul { padding: 8px 0; }
.usernav ul a {
  display: block;
  padding: 0 20px;
  line-height: 42px;
  font-size: 14px;
  color: var(--t2);
  border-left: 3px solid transparent;
}
.usernav ul a:hover { background: #f8fafd; color: var(--blue); }
.usernav ul a.on { background: var(--blue-l); color: var(--blue); border-left-color: var(--blue); font-weight: 700; }
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.statrow .s { text-align: center; padding: 14px 0; background: #f8fafd; border-radius: 8px; }
.statrow .s b { display: block; font-size: 24px; color: var(--blue); font-family: Arial, sans-serif; line-height: 1.2; }
.statrow .s span { font-size: 12px; color: var(--t3); }

/* ---------- 页脚 ---------- */
.ftr { margin-top: 40px; background: #1c2333; color: #a8b0c2; }
.ftr-main { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 30px; padding: 44px 0 34px; }
.ftr-logo { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; color: #fff; }
.ftr-logo .logo-mark { width: 32px; height: 32px; font-size: 17px; border-radius: 8px; background: var(--blue); color: #fff; box-shadow: none; }
.ftr-brand p { margin-top: 12px; font-size: 13px; line-height: 1.9; color: #8994a8; }
.ftr-badges { display: flex; gap: 8px; margin-top: 14px; }
.ftr-badges span {
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .07);
  font-size: 12px;
  color: #a8b0c2;
}
.ftr-col h4 { font-size: 14px; font-weight: 700; color: #e8ecf4; margin-bottom: 14px; }
.ftr-col a { display: block; font-size: 13px; color: #8994a8; line-height: 2.1; }
.ftr-col a:hover { color: #fff; }
.ftr-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 12px; color: #6f7b90; }
.ftr-bottom p { line-height: 1.9; }
.ftr-bottom .tips { color: #5d687c; }
.to-top {
  position: fixed;
  right: 30px; bottom: 40px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(21, 47, 96, .18);
  color: var(--t2);
  font-size: 18px;
  display: none;
  place-items: center;
  z-index: 80;
}
.to-top.show { display: grid; }
.to-top:hover { color: var(--blue); }

/* ---------- 空状态 ---------- */
.empty { padding: 70px 20px; text-align: center; color: var(--t3); }
.empty .ic { font-size: 42px; opacity: .5; }
.empty p { margin-top: 12px; font-size: 14px; }

/* ---------- 提示条 ---------- */
.toast {
  position: fixed;
  left: 50%; top: 26px;
  transform: translate(-50%, -16px);
  padding: 11px 22px;
  border-radius: 8px;
  background: rgba(28, 35, 51, .94);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s, transform .24s;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1300px) {
  .wrap { width: 100%; padding: 0 20px; }
  .home-main, .detail-main { grid-template-columns: minmax(0, 1fr); }
  .dgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); justify-items: stretch; }
  .nav > li:nth-child(n+6) { display: none; }
  .user-chip .uname { max-width: 54px; }
}
@media (max-width: 1120px) {
  .user-chip .uname, .user-chip .vip-tag { display: none; }
  .user-chip { padding: 0 8px 0 3px; }
  .hdr-stat { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .hdr-stat { display: none; }
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-r { display: none; }
  .ftr-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .rights { grid-template-columns: minmax(0, 1fr); }
  .userwrap { grid-template-columns: minmax(0, 1fr); }
  .newsgrid { grid-template-columns: minmax(0, 1fr); }
  .prev-page { width: 100%; height: auto; aspect-ratio: auto; padding: 26px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-l h1 { font-size: 26px; }
  .hero { height: auto; padding: 20px 0 24px; }
  .dgrid { padding: 14px; }
}

/* ---------- 手机端 ---------- */
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .wrap { padding: 0 12px; }

  /* 头两行改竖排 */
  .hdr-barin { height: 44px; gap: 8px; }
  .menu > li > a { padding: 0 7px; font-size: 12px; }
  .menu li.up-item, .menu li.joinv { display: none; }
  .user-chip { height: 28px; padding: 0 8px 0 2px; }
  .user-chip .avatar { width: 24px; height: 24px; line-height: 24px; font-size: 12px; }
  .user-chip .uname { font-size: 12px; max-width: 52px; }

  .hdr-main { flex-wrap: wrap; gap: 10px; padding-top: 12px; }
  .logo { gap: 8px; }
  .logo-mark { width: 34px; height: 34px; font-size: 18px; border-radius: 9px; }
  .logo-txt { font-size: 18px; }
  .logo-txt em { display: none; }
  .hdr-search { flex: 1 1 100%; order: 3; }
  .hotwords { display: none; }
  .searchbox { height: 40px; border-radius: 20px; }
  .searchbox .switch { width: 62px; font-size: 12px; padding-left: 10px; }
  .searchbox input[type=text] { padding: 0 8px; font-size: 13px; }
  .searchbox button { height: 32px; padding: 0 16px; font-size: 14px; }

  .hero { padding: 16px 0 22px; }
  .hero-l h1 { font-size: 21px; line-height: 1.35; }
  .hero-l p { font-size: 12px; line-height: 1.7; }
  .hero-tag { font-size: 11px; }
  .hero-btns { margin-top: 12px; gap: 8px; }
  .hero-btns .b1, .hero-btns .b2 { height: 34px; line-height: 34px; padding: 0 16px; font-size: 13px; }

  .notice { padding-right: 10px; }
  .notice .lab { padding: 0 10px; font-size: 12px; }
  .notice .nt-item { font-size: 12px; }
  .notice .more { display: none; }

  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 14px; }
  .qbox li a { font-size: 12px; }

  .home-main { gap: 16px; }
  .ph { padding: 0 14px; height: 46px; }
  .ph h2 { font-size: 15px; }

  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 12px; }
  .dcard .title { height: 40px; max-height: 40px; }
  .dcard .title span { font-size: 13px; line-height: 20px; }
  .thumb.has-img {
  padding: 0;
  display: block;
  background: #eef2f8;
}
.thumb.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.thumb-ch { font-size: 28px; }
  .thumb-sub { font-size: 10px; bottom: 8px; }

  .aside-col { gap: 14px; }
  .authcard { padding: 14px; }
  .enjoy li { font-size: 11px; }

  .rank { padding: 6px 14px 12px; }
  .rank .rt a { font-size: 12px; }
  .rank .hot { display: none; }

  .dlist { padding: 4px 12px 14px; }
  .drow { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .drow .front { width: 92px; height: 110px; }
  .drow .rtitle { font-size: 14px; }
  .drow .intros { -webkit-line-clamp: 2; font-size: 12px; }
  .drow .side { display: none; }
  .drow .infos { gap: 4px 10px; font-size: 11px; }

  .cat-hero { padding: 16px; }
  .cat-hero h1 { font-size: 19px; }
  .cat-hero .chips { gap: 6px; margin-top: 10px; }
  .cat-hero .chips a { font-size: 12px; padding: 3px 10px; }
  .filterbar { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 8px; }
  .filterbar .total { margin-left: 0; width: 100%; font-size: 12px; }

  .pv-hint { display: none; }
  .doc-hd { padding: 16px 14px 14px; }
  .doc-hd h1 { font-size: 17px; line-height: 1.5; }
  .doc-preview { padding: 12px; }
  .prev-page { padding: 18px; }
  .prev-page .ph-title { height: 10px; margin-bottom: 10px; }
  .prev-page .ph-line { height: 5px; margin-bottom: 6px; }
  .statement { padding: 14px 16px; font-size: 12px; line-height: 1.9; }

  .authwrap { padding: 22px 0 30px; }
  .authbox { flex-direction: column; width: 100%; border-radius: 12px; }
  .authside { flex: 0 0 auto; padding: 24px 20px; }
  .authside h2 { font-size: 20px; }
  .authside ul { margin-top: 16px; }
  .authside li { font-size: 12px; line-height: 1.9; }
  .authcard2 { padding: 22px 18px 20px; }
  .authcard2 h1 { font-size: 19px; }

  .vip-hero { padding: 26px 0 30px; }
  .vip-hero h1 { font-size: 24px; }
  .vip-hero p { font-size: 12px; }
  .plans { gap: 14px; margin-top: 18px; }
  .plan { padding: 20px 16px 18px; }

  .rights { gap: 10px; }
  .userwrap { gap: 14px; }
  .usernav { position: static; }
  .usernav .who { padding: 16px; }
  .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }

  .dropzone { margin: 14px; padding: 30px 14px; }
  .dropzone h3 { font-size: 14px; }
  .form-grid { padding: 0 14px 6px; }
  .form-foot .btn-main { width: 100%; }

  .newsgrid { padding: 12px; gap: 12px; }
  .newsitem { padding: 10px; gap: 10px; }
  .newsitem .nthumb { width: 92px; height: 68px; font-size: 18px; }
  .newsitem h3 { font-size: 13px; }

  .ftr-main { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 0 20px; }
  .ftr-col h4 { margin-bottom: 8px; }
  .ftr-bottom { padding: 14px 0; font-size: 11px; }
  .to-top { right: 14px; bottom: 18px; width: 38px; height: 38px; }

  .pager { gap: 5px; padding: 18px 0 6px; }
  .pager a, .pager span { min-width: 30px; height: 30px; line-height: 30px; padding: 0 7px; font-size: 12px; }
}
