/* ========== 微丽良品 · 网红主题魔改 v2 ========== */

/* --- 全局背景 --- */
.wrapper, .main, .maincon {
  background: #f5f5f7 !important;
}

/* --- Header 网红渐变 --- */
.header {
  background: linear-gradient(90deg, #FF2D55 0%, #FF6B35 40%, #AF52DE 100%) !important;
  box-shadow: 0 2px 20px rgba(255,45,85,0.25) !important;
  border-bottom: none !important;
}

/* Header 菜单文字变白 */
.header .menu li a {
  color: rgba(255,255,255,0.92) !important;
}

.header .menu li a:hover,
.header .menu li.on a {
  color: #FFD60A !important;
}

/* 菜单下划线变金色 */
.header .menu li::before {
  background: #FFD60A !important;
}

.header .schico a::after {
  color: rgba(255,255,255,0.85) !important;
}

/* 登录按钮 */
.sign span a {
  color: #fff !important;
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.15) !important;
}

.sign span a:hover {
  color: #FF2D55 !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* --- 卡片圆角 --- */
.block, .sidebox, .post.istop, .shuo, .friendlink, .pagebar {
  border-radius: 12px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06) !important;
  border: none !important;
  background: #fff !important;
}

/* --- 文章卡片hover --- */
.block .post {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.block .post:hover {
  transform: translateY(-2px);
}

/* --- 文章图片圆角 --- */
.postimg, .postimg a, .postimg a img {
  border-radius: 8px !important;
}

/* --- 文章标题黑色加粗 --- */
.post h2 a {
  color: #222 !important;
  font-weight: 700;
  transition: color 0.15s ease;
}

.post h2 a:hover {
  color: #FF2D55 !important;
}

/* --- 页面链接保持深色 --- */
a {
  color: #333;
}

a:hover {
  color: #FF2D55;
}

/* --- 标签云 --- */
#divTags ul li a {
  border-radius: 20px !important;
  transition: all 0.2s ease;
  color: #555 !important;
}

#divTags ul li a:hover {
  background: #FF2D55 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,45,85,0.3);
}

/* --- 分页按钮 --- */
.pagebar a, .cmtpagebar a,
.pagebar .now-page, .cmtpagebar .now-page {
  border-radius: 20px !important;
}

.pagebar .now-page, .cmtpagebar .now-page {
  background: #FF2D55 !important;
  color: #fff !important;
  border-color: #FF2D55 !important;
}

.pagebar a:hover, .cmtpagebar a:hover {
  background: #FF2D55 !important;
  color: #fff !important;
  border-color: #FF2D55 !important;
}

/* --- 侧边栏标题修饰 --- */
.sidetitle {
  font-weight: 700;
  position: relative;
  padding-left: 14px;
}

.sidetitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #FF2D55, #FF6B35);
  border-radius: 2px;
}

/* --- 侧边栏分类颜色 --- */
#divCatalog li::before,
#divPrevious li::before,
#divLinkage li::before,
#divNavBar li::before,
#divComments li::before,
#divAuthors li::before {
  color: #FF6B35 !important;
}

/* --- 页脚 --- */
.footer {
  background: #1c1c1e !important;
  color: #999 !important;
  border-top: none !important;
}

.footer a {
  color: #ccc !important;
}

.footer a:hover {
  color: #FFD60A !important;
}

/* --- 移动端汉堡菜单 --- */
.menuico span {
  background-color: #fff !important;
}

/* --- 滚动条 --- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF2D55, #AF52DE) !important;
}

/* --- 子导航 --- */
.menu li.subcate>a::after {
  color: rgba(255,255,255,0.7) !important;
}

.header .menu li.subcate .subnav a {
  color: #333 !important;
}

.header .menu li.subcate .subnav a:hover {
  color: #FF2D55 !important;
}

/* --- 回到顶部 --- */
a.backtotop:hover,
.edgebar a:hover {
  background: #FF2D55 !important;
}

/* --- 标签云动画 --- */
.tagscloud li {
  border-radius: 20px !important;
  margin: 3px !important;
  transition: all 0.2s ease;
}

.tagscloud li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,45,85,0.35);
  background: #FF2D55 !important;
  color: #fff !important;
}

/* --- 单页标题左色条 --- */
.single h1, .single h2, .single h3 {
  border-left: 4px solid #FF2D55;
  padding-left: 12px;
}

/* --- 引用块 --- */
.single blockquote {
  border-left: 4px solid #FF2D55;
  background: rgba(255,45,85,0.03);
  border-radius: 0 8px 8px 0;
}

/* --- Lazy线 --- */
.lazyline {
  background: linear-gradient(90deg, #FF2D55, #FF6B35, #AF52DE) !important;
}

/* --- 文章置顶标识 --- */
.post h2 em, .post h2 .istop::before {
  background: linear-gradient(135deg, #FF2D55, #FF6B35) !important;
  color: #fff !important;
}

/* --- 阅读更多 --- */
.post .readmore:hover {
  color: #FF2D55 !important;
  border-color: #FF2D55 !important;
}

/* --- 搜索框聚焦 --- */
.sch-m input:focus, .schfixed input:focus, .schform input:focus {
  border-color: #FF2D55 !important;
}

/* --- 评论提交按钮 --- */
.cmtsubmit button:hover {
  background: #FF2D55 !important;
  border-color: #FF2D55 !important;
  color: #fff !important;
}

/* --- 分类/归档选中 --- */
.archivedate.on {
  color: #FF2D55 !important;
}

.archivelist h3 a:hover {
  color: #FF2D55 !important;
}

/* --- 相关文章hover --- */
.relateinfo h3 a:hover {
  color: #FF2D55 !important;
}

/* --- 分类筛选激活 --- */
.filternav li.active, .filternav li.active i::before {
  color: #FF2D55 !important;
}

.filternav li.active::after {
  background: #FF2D55 !important;
}

/* --- Logo区域 --- */
.logo a img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  height: 42px !important;
}

/* --- Logo SVG --- */
.logo a svg {
  height: 42px;
  width: auto;
  vertical-align: middle;
}
.logo a {
  display: flex;
  align-items: center;
  height: 60px;
}
