/* ============================================================
   飞爪社区 - 桌面端现代化主题
   视觉语言同手机版：蓝渐变 + 玻璃拟态 + 卡片化
   色系: #7b9df0(淡蓝) → #8dabf4 → #a0bdf8
   桌面交互适配：hover / 宽布局 / 侧边栏 / 弹窗
   ============================================================ */

/* ===== 基础字体 & 平滑 ===== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif !important;
  background: #f1f5f9 !important;
}

/* ===== 全局过渡 ===== */
a, button, .pn, .pnc, .pgsbtn, input,
.bm, .dz_bm, .fl.bm, .block, .frame-tab {
  transition: all .25s cubic-bezier(.4,0,.2,1) !important;
}

/* ============================================================
   顶部导航栏 —— 蓝渐变玻璃拟态（同手机版）
   ============================================================ */
.dz_layer_top {
  background: linear-gradient(135deg, #7b9df0 0%, #8dabf4 50%, #a0bdf8 100%) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 4px 24px rgba(140,170,245,.18), 0 1px 4px rgba(140,170,245,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  height: 64px;
  display: flex;
  align-items: center;
}

.dz_btm_layer {
  width: 1200px !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  height: 64px;
}

/* Logo */
.dz_nav_logo {
  float: none !important;
  height: auto !important;
  margin-right: 30px !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.dz_nav_logo img {
  width: auto !important;
  height: 32px !important;
}

/* 主导航 */
.dz_btm_layer .dz_layer_nav {
  width: auto !important;
  flex: 1;
  height: 64px;
}
.dz_layer_nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 64px;
}
.dz_layer_nav ul li {
  float: none !important;
  height: 64px;
  display: flex;
  align-items: center;
}
.dz_layer_nav ul li a {
  color: rgba(255,255,255,.8) !important;
  font-weight: 500 !important;
  letter-spacing: .5px !important;
  font-size: 14px !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all .25s !important;
  line-height: 1 !important;
  height: auto !important;
}
.dz_layer_nav ul li a:hover {
  color: #fff !important;
  background: rgba(255,255,255,.12);
}
.dz_layer_nav ul li.a a {
  color: #fff !important;
  background: rgba(255,255,255,.18);
  font-weight: 600;
}
/* 去掉默认下划线 */
.dz_layer_nav ul li a::before,
.dz_layer_nav ul li a::after {
  display: none !important;
}

/* 右侧操作区 */
.dz_layer_dl {
  float: none !important;
  margin-left: auto;
  flex-shrink: 0;
}
.header-right {
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px;
}

/* 搜索框 */
.header-searcher .search-input {
  width: 200px !important;
  height: 36px !important;
  padding: 0 16px !important;
  background: rgba(255,255,255,.12) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15) !important;
  color: #fff !important;
  border-radius: 24px !important;
  font-size: 13px !important;
  transition: all .3s !important;
  outline: none;
}
.header-searcher .search-input::placeholder {
  color: rgba(255,255,255,.45) !important;
}
.header-searcher .search-input:focus {
  background: rgba(255,255,255,.95) !important;
  color: #334155 !important;
  border-color: rgba(255,255,255,.4) !important;
  box-shadow: 0 0 0 3px rgba(140,170,245,.25) !important;
  width: 260px !important;
}

/* 登录按钮 */
.header-user-login .login_btn a,
.header-user-login .login_btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 20px !important;
  background: linear-gradient(135deg, #8dabf4, #a0bdf8) !important;
  border-radius: 20px !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  box-shadow: 0 2px 8px rgba(140,170,245,.35) !important;
}
.header-user-login .login_btn a:hover,
.header-user-login .login_btn:hover {
  background: linear-gradient(135deg, #a0bdf8, #8dabf4) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(140,170,245,.4) !important;
  text-decoration: none;
}

/* 用户头像 */
.header-user-avatar img {
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
  width: 36px !important;
  height: 36px !important;
}
.header-user-avatar:hover img {
  transform: scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(140,170,245,.25) !important;
}

/* 语言切换图标 */
.header-i18n .i18n-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,.7);
}
.header-i18n .i18n-icon:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}

/* 通知红点 */
.header-notice .notice-icon .dot {
  background: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239,68,68,.3) !important;
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
  50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* ============================================================
   主内容区
   ============================================================ */
.wp {
  width: 1200px !important;
  margin: 20px auto !important;
}

/* ============================================================
   卡片化内容 —— 所有 .bm 模块
   ============================================================ */
.ct2_a .mn, #nv_userapp .ct2_a .mn, .ct2_a_r .mn,
.ct3_a .mn, .ct3_a .sd,
.dz_bm, .ct2 .mn .bm, .ct2 .sd .bm,
.block, .frame-tab, .dz_zuhe_box .block,
.fl.bm {
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.06) !important;
  border: 1px solid rgba(148,163,184,.12) !important;
  background: #fff !important;
  overflow: hidden;
}

/* 模块标题栏 */
.bm_h {
  border-bottom: 1px solid #e2e8f0 !important;
  height: 54px !important;
  line-height: 54px !important;
  padding: 0 20px !important;
}
.bm_h h2, .bm_h h3 {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

/* ============================================================
   论坛分类列表
   ============================================================ */
.fl.bm {
  margin-bottom: 20px !important;
  padding: 0 !important;
}
.fl_tb {
  width: 100%;
}
.fl_tb tr {
  transition: background .2s;
}
.fl_tb tr:hover {
  background: rgba(140,170,245,.04);
}
.fl_tb td {
  padding: 16px 20px !important;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.fl_tb tr:last-child td {
  border-bottom: none;
}

/* 分类图标 */
.fl_icn {
  width: 48px;
}
.fl_icn img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

/* 分类名 */
.fl_tb h2 a {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}
.fl_tb h2 a:hover {
  color: #7b9df0;
}

/* 统计 */
.fl_i .xi2 {
  color: #7b9df0 !important;
  font-weight: 600;
}
.fl_i .xg1 {
  color: #94a3b8 !important;
}

/* ============================================================
   帖子列表 / 导读
   ============================================================ */
.forumportal_listc li {
  border-radius: 12px;
  margin: 6px 0;
  padding: 16px 0;
  border-top: none;
  background: transparent;
}
.forumportal_listc li:hover {
  background: rgba(140,170,245,.04);
  padding-left: 8px;
  padding-right: 8px;
}
.forumportal_listc .kmtit {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}
.forumportal_listc .kmtit a {
  color: #1e293b !important;
}
.forumportal_listc .kmtit a:hover {
  color: #7b9df0 !important;
}

/* 帖子内卡片 */
#postlist .pl {
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.06) !important;
  border: 1px solid rgba(148,163,184,.12) !important;
  background: #fff !important;
  margin-bottom: 16px !important;
  animation: fadeInUp .35s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInUp {
  from { opacity: .5; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 帖子置顶/精华标记 */
.threadstick { border-left: 3px solid #f59e0b !important; }
.threaddigest { border-left: 3px solid #10b981 !important; }

.dt tbody tr:hover td { background: rgba(140,170,245,.06) !important; }

/* ============================================================
   侧边栏
   ============================================================ */
.ct2 .sd {
  width: 295px !important;
}
.ct2 .mn {
  width: 885px !important;
}
.ct2 .sd .bm {
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.06) !important;
  border: 1px solid rgba(148,163,184,.12) !important;
  background: #fff !important;
  margin-bottom: 16px;
}

/* ============================================================
   头像
   ============================================================ */
.avt img, .e-avatar img {
  border-radius: 50% !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
  border: 2px solid #fff !important;
  object-fit: cover !important;
}

/* ============================================================
   按钮
   ============================================================ */
.pn, .pnc, a.pnc, .pgsbtn {
  border-radius: 10px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all .3s cubic-bezier(.4,0,.2,1) !important;
  cursor: pointer;
}
.pn:hover, .pnc:hover, a.pnc:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(140,170,245,.2) !important;
}
.pn:active, .pnc:active {
  transform: translateY(0) !important;
}
.pnc, a.pnc {
  background: linear-gradient(135deg, #7b9df0, #8dabf4) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(140,170,245,.25) !important;
}
.pnc:hover, a.pnc:hover {
  background: linear-gradient(135deg, #7b9df0, #8dabf4) !important;
  box-shadow: 0 4px 16px rgba(140,170,245,.35) !important;
}

.pgsbtn {
  background: linear-gradient(135deg, #7b9df0, #8dabf4) !important;
  border-radius: 12px !important;
  padding: 12px 28px !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(140,170,245,.3) !important;
  color: #fff !important;
}
.pgsbtn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(140,170,245,.4) !important;
}

/* ============================================================
   输入框
   ============================================================ */
.px, .pt, textarea, .tedt, select {
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  transition: all .25s !important;
}
.px:focus, textarea:focus, select:focus {
  border-color: #8dabf4 !important;
  box-shadow: 0 0 0 3px rgba(140,170,245,.12) !important;
  outline: none !important;
}

.tedt {
  border-radius: 12px !important;
  border-color: #e2e8f0 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(15,23,42,.04) !important;
}
.tedt .bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 12px 12px 0 0 !important;
}

/* ============================================================
   分页
   ============================================================ */
.pg a, .pg strong, .pgb a {
  border-radius: 8px !important;
  font-weight: 500 !important;
  margin-left: 4px !important;
  transition: all .2s !important;
}
.pg strong {
  background: linear-gradient(135deg, #7b9df0, #8dabf4) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(140,170,245,.3) !important;
}
.pg a:hover {
  background: #eff6ff !important;
  border-color: #8dabf4 !important;
  color: #7b9df0 !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   链接 & 图标颜色
   ============================================================ */
.xi2, .xi2 a, .xi3 a { color: #7b9df0 !important; }
.xg1 a:hover { color: #7b9df0 !important; }
a { color: #7b9df0; }
a:hover { color: #8dabf4; }

/* ============================================================
   面包屑
   ============================================================ */
#pt {
  margin: 8px 0 16px !important;
}
#pt .z, #pt .z a {
  color: #64748b !important;
  font-size: 13px !important;
}
#pt .z a:hover { color: #7b9df0 !important; }

/* ============================================================
   右侧悬浮栏
   ============================================================ */
#dz_rnav {
  position: fixed;
  right: 20px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 150;
}
#dz_rnav a {
  width: 44px;
  height: 44px;
  border-radius: 14px !important;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,.08) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s !important;
  position: relative;
  color: #64748b;
}
#dz_rnav a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(140,170,245,.2) !important;
  background: linear-gradient(135deg, #7b9df0, #8dabf4) !important;
  color: #fff;
}
#dz_rnav .dz_tip_text {
  display: none;
  position: absolute;
  right: 56px;
  background: #1e293b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}
#dz_rnav a:hover .dz_tip_text {
  display: block;
}

/* ============================================================
   页脚 —— 蓝渐变（同手机版）
   ============================================================ */
.dz_footc {
  background: linear-gradient(180deg, #7b9df0 0%, #8dabf4 100%) !important;
  color: rgba(255,255,255,.85) !important;
  margin-top: 40px !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 32px 0 !important;
}
.dz_footc a { color: #93c5fd !important; }
.dz_footc a:hover { color: #fff !important; }
.dz_footc_nav { border-bottom-color: rgba(255,255,255,.1) !important; }
.dz_footc_copy { color: rgba(255,255,255,.55) !important; }

/* ============================================================
   弹窗/对话框
   ============================================================ */
.p_pop, .p_pof, .sllt,
.fwinmask .fwin {
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(15,23,42,.12) !important;
  border: 1px solid rgba(148,163,184,.12) !important;
}

/* ============================================================
   个人空间/主页
   ============================================================ */
#uhd {
  background: linear-gradient(135deg, #7b9df0 0%, #8dabf4 60%, #a0bdf8 100%) !important;
  border: none !important;
  border-radius: 16px 16px 0 0 !important;
  overflow: hidden !important;
  box-shadow: 0 2px 16px rgba(140,170,245,.15) !important;
}
#uhd .h {
  padding: 30px 30px 20px !important;
  display: flex !important;
  align-items: center !important;
}
#uhd .h .icn img {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  border: 4px solid rgba(255,255,255,.4) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
  object-fit: cover !important;
}
#uhd .h h2 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
}
#uhd .h h2 a { color: #fff !important; }
#uhd .tb a {
  color: rgba(255,255,255,.7) !important;
  border-radius: 8px 8px 0 0 !important;
  transition: all .25s !important;
}
#uhd .tb .a a,
#uhd .tb .current a,
#uhd .tb a:hover {
  color: #7b9df0 !important;
  background: #fff !important;
}
#uhd .mn li a {
  padding: 8px 18px !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.15) !important;
  backdrop-filter: blur(8px) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: 1px solid rgba(255,255,255,.2) !important;
}
#uhd .mn li a:hover {
  background: rgba(255,255,255,.25) !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   排行标记
   ============================================================ */
.xl ol li:before, ol.xl li:before {
  background: linear-gradient(135deg, #8dabf4, #7b9df0) !important;
  border-radius: 6px !important;
  color: #fff;
  font-weight: 700;
}
.xl ol li:first-child:before, ol.xl li:first-child:before {
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}
.xl ol li:nth-child(2):before, ol.xl li:nth-child(2):before {
  background: linear-gradient(135deg, #f97316, #ef4444) !important;
}
.xl ol li:nth-child(3):before, ol.xl li:nth-child(3):before {
  background: linear-gradient(135deg, #eab308, #f59e0b) !important;
}

/* ============================================================
   最新图片区
   ============================================================ */
.newimgbox {
  padding: 20px;
}
.newimgbox h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e293b;
}

/* ============================================================
   滚动条
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============================================================
   按钮涟漪效果（桌面专属）
   ============================================================ */
.pn, .pnc, .pgsbtn {
  position: relative;
  overflow: hidden;
}
.pn:after, .pnc:after, .pgsbtn:after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.25) 10%, transparent 10%);
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all .5s;
  transform: scale(10);
}
.pn:active:after, .pnc:active:after, .pgsbtn:active:after {
  transform: scale(0);
  opacity: 1;
  transition: 0s;
}

/* ============================================================
   紧凑调整：去掉旧版多余间距
   ============================================================ */
#ct {
  padding-top: 0;
}
.bm_c {
  padding: 20px !important;
}

/* ============================================================
   快速发帖及其他功能按钮
   ============================================================ */
#category_grid .category_l1 {
  padding: 0 !important;
}
.fl .bm {
  margin-bottom: 20px;
}
#boardlogo{max-height:50px!important;height:auto!important;width:auto!important}
#um .avt img,#um .avt a img,.avt img{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:cover!important;display:block!important}
#um .avt a,#um .avt{display:block!important;width:44px!important;height:44px!important;border-radius:50%!important;overflow:hidden!important;padding:0!important;margin:0!important}
#um ._avt,#um .user_avatar,#um img._avt,#um img.user_avatar{padding:0!important;margin:0!important;border:none!important;background:transparent!important}
#um img._avt,#um img.user_avatar{width:44px!important;height:44px!important;border-radius:50%!important;object-fit:cover!important;display:block!important;padding:0!important;margin:0!important;border:none!important;background:transparent!important;box-sizing:border-box!important}
