.nav-right .nav-login .nav-line { display: none !important; }
.nav-right .nav-login a.signup-loader,
.nav-right .nav-login a.reg {
  background: var(--theme-color);
  color: #fff !important;
  padding: 5px 14px;
  border-radius: 3px;
  margin-left: 14px;
  white-space: nowrap;
}

.nav-vip, .rollbar .vip-li, .user-main a[href*="vip"], .erphpdown .vip, body .modown-vip { display: none !important; }
.totals .item:nth-child(2) h4, .totals .item:nth-child(4) h4 { font-size: 0 !important; line-height: 0; }
.totals .item:nth-child(2) h4::after { content: "资源分类"; font-size: 14px; line-height: 1.4; display: inline-block; }
.totals .item:nth-child(4) h4::after { content: "全天服务"; font-size: 14px; line-height: 1.4; display: inline-block; }

:root { --theme-color: #60A5FA !important; --theme-color2: #BFDBFE !important; }
body { background: #F8FBFF; color: #1E3A5F; }
.header { background: #ffffff !important; border-bottom: 1px solid rgba(96, 165, 250, 0.1); }
/* Active nav underline: match link text width (theme default is a short 20px dash) */
@media (min-width: 1025px) {
  .nav-main > li.current-menu-item > a::after,
  .nav-main > li.current-menu-parent > a::after,
  .nav-main > li.current_page_item > a::after,
  .nav-main > li.current-post-ancestor > a::after,
  .nav-main > li.current-menu-ancestor > a::after,
  .nav-main > li.current-category-ancestor > a::after,
  .nav-main > li.edmmix-nav-tap > a::after {
    width: calc(100% - 22px) !important;
    left: 11px !important;
    right: auto !important;
    margin-left: 0 !important;
  }
}
.nav-main > li > a:hover,
.nav-main > li > a:active,
.nav-main > li > a:focus,
.nav-main > li.current-menu-item > a,
.nav-main > li.current_page_item > a,
.nav-main > li.edmmix-nav-tap > a,
.nav-main .sub-menu > li > a:hover,
.nav-main .sub-menu > li > a:active,
.nav-main .sub-menu > li > a:focus,
.nav-main .sub-menu > li.current-menu-item > a,
.nav-main .sub-menu > li.edmmix-nav-tap > a,
.nav-mobile-show .nav-main > li.edmmix-nav-tap > a,
.nav-mobile-show .nav-main > li.current-menu-item > a,
.header.nav-mobile-show .nav-main > li.edmmix-nav-tap > a,
.header.nav-mobile-show .nav-main > li.current-menu-item > a{
  color: #60A5FA !important;
}
.nav-main > li > a:hover i,
.nav-main > li > a:hover .dripicons,
.nav-main > li > a:active i,
.nav-main > li > a:active .dripicons,
.nav-main > li > a:focus i,
.nav-main > li > a:focus .dripicons,
.nav-main > li > a i:hover,
.nav-main > li > a .dripicons:hover,
.nav-main > li.current-menu-item > a i,
.nav-main > li.current-menu-item > a .dripicons,
.nav-main > li.current_page_item > a i,
.nav-main > li.current_page_item > a .dripicons,
.nav-main > li.edmmix-nav-tap > a i,
.nav-main > li.edmmix-nav-tap > a .dripicons,
.nav-main .sub-menu > li > a:hover i,
.nav-main .sub-menu > li > a:hover .dripicons,
.nav-main .sub-menu > li > a:active i,
.nav-main .sub-menu > li > a:active .dripicons,
.nav-main .sub-menu > li.current-menu-item > a i,
.nav-main .sub-menu > li.current-menu-item > a .dripicons,
.nav-main .sub-menu > li.edmmix-nav-tap > a i,
.nav-main .sub-menu > li.edmmix-nav-tap > a .dripicons,
.nav-mobile-show .nav-main > li.edmmix-nav-tap > a i,
.nav-mobile-show .nav-main > li.edmmix-nav-tap > a .dripicons,
.nav-mobile-show .nav-main > li.current-menu-item > a i,
.nav-mobile-show .nav-main > li.current-menu-item > a .dripicons{
  color: #60A5FA !important;
}
/* Mobile: when another item is pressed/hovered, kill the old current blue */
@media (max-width: 1024px){
  .nav-mobile-show .nav-main:has(> li:hover) > li.current-menu-item:not(:hover) > a,
  .nav-mobile-show .nav-main:has(> li:hover) > li.current-menu-item:not(:hover) > a i,
  .nav-mobile-show .nav-main:has(> li:hover) > li.current-menu-item:not(:hover) > a .dripicons,
  .nav-mobile-show .nav-main:has(> li.edmmix-nav-tap) > li.current-menu-item:not(.edmmix-nav-tap) > a,
  .nav-mobile-show .nav-main:has(> li.edmmix-nav-tap) > li.current-menu-item:not(.edmmix-nav-tap) > a i,
  .nav-mobile-show .nav-main:has(> li.edmmix-nav-tap) > li.current-menu-item:not(.edmmix-nav-tap) > a .dripicons{
    color: #1E3A5F !important;
  }
}

/* 分类页 + 普通页面顶栏：与页脚同色浅灰 */
.banner-archive,
.banner-page {
  background: #F1F5F9 !important;
  min-height: 120px !important;
  height: auto !important;
  padding: 36px 0 32px !important;
  border: 0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  position: relative;
  overflow: hidden;
}
.banner-archive::before,
.banner-page::before { display: none !important; }
.banner-archive .archive-title,
.banner-page .archive-title,
.banner-page h1 {
  color: #334155 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  text-shadow: none !important;
}
.banner-archive .archive-desc,
.banner-page .archive-desc {
  color: #64748B !important;
  font-size: 14px !important;
  margin: 0 !important;
}
.banner-archive .archive-desc:empty,
.banner-page .archive-desc:empty { display: none; }

.content-none { padding: 72px 20px !important; color: #64748B !important; }
.content-none svg { width: 72px !important; height: 72px !important; color: #93C5FD !important; opacity: 0.55; }
.vip-why .item i { box-shadow: 0 12px 28px rgba(96, 165, 250, 0.18); }
.vip-why {
  background: #FFFFFF !important;
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
}
/* 手机端隐藏平台优势 + 统计 */
@media (max-width: 768px){
  .vip-why,
  .totals{
    display:none !important;
  }
  /* 手机分页：上一页 + 精简页码 + 下一页 同一行 */
  .pagination{
    padding:12px 8px 24px !important;
    text-align:center !important;
  }
  .pagination ul{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:center !important;
    align-items:center !important;
    gap:4px 3px !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:0 !important;
    float:none !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
  }
  .pagination ul > li{
    display:block !important;
    float:none !important;
    flex:0 0 auto !important;
  }
  .pagination ul > li > a,
  .pagination ul > li > span{
    float:none !important;
    display:inline-block !important;
    margin:0 !important;
    padding:5px 8px !important;
    white-space:nowrap !important;
  }
  .pagination ul > li.edmmix-pag-hide,
  .pagination ul > li.edmmix-pag-break{
    display:none !important;
  }
}

/* Match /projects: body-tint above footer, then #F1F5F9 footer band */
.totals {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%) !important;
  margin: 0 !important;
  padding-bottom: 50px !important;
  border: 0 !important;
}
.footer {
  background: #F1F5F9 !important;
  margin: 0 !important;
  padding-top: 28px !important;
  padding-bottom: 24px !important;
  border: 0 !important;
  border-top: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
}
/* Sticky footer: keep footer at viewport bottom on short pages */
body{
  min-height:100vh !important;
  display:flex !important;
  flex-direction:column !important;
}
body > .header,
body > header.header,
body > .banner-page,
body > .banner,
body > .mocat{
  flex:0 0 auto !important;
}
/* Fixed overlay: must not reserve flex space / leave a top strip */
body > .search-wrap{
  flex:0 0 0 !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:visible !important;
}
body > .main,
body > .content-wrap{
  flex:1 0 auto !important;
  width:100% !important;
}
body > .footer,
body > footer.footer,
.footer{
  margin-top:auto !important;
  flex:0 0 auto !important;
  width:100% !important;
}
.footer .footer-widgets,
footer.footer .footer-widgets,
.footer-widgets {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
/* Footer copy: same centered layout on home as category/archive pages */
.footer,
.footer .container,
.footer .copyright,
.footer .copyright p {
  text-align: center !important;
}
.footer .copyright {
  padding: 0 !important;
  margin: 0 auto !important;
  line-height: 1.9 !important;
  max-width: 100% !important;
}
.footer .copyright,
.footer .copyright p,
.footer .copyright a { color: #64748B !important; font-size: 13px !important; }
.footer .copyright a:hover { color: #60A5FA !important; }
.footer .copyright p { margin: 0 0 4px !important; }
.footer .copyright img {
  display: inline !important;
  vertical-align: -1px !important;
  margin: 0 2px 0 0 !important;
}
/* Home: kill theme .main{padding-top:25px} gap that shows body #F8FBFF as a strip under banner */
body.home .main {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #FFFFFF !important;
}
/* single resource blocks */
.single .article-title{font-size:26px;font-weight:700;color:#334155!important;line-height:1.35;}
.single .feature-image{margin:18px 0 20px;}
.single .feature-image img{width:100%;height:auto;border-radius:6px;display:block;}

.single .article-content h2:first-of-type{
  background:#f5f5f5;
  padding:10px 14px 10px 16px;
  border-radius:4px;
  border-left:4px solid var(--theme-color);
  font-size:16px;
  margin:8px 0 16px;
  font-weight:700;
  color:#1E293B;
  overflow:hidden;
}
.widget-erphpdown{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:8px;
  padding:22px 18px 18px;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.widget-erphpdown .price{text-align:center;margin-bottom:8px;}
.widget-erphpdown .price span{font-size:32px!important;color:var(--theme-color)!important;font-weight:700;}
.widget-erphpdown .down{
  display:block!important;
  background:var(--theme-color)!important;
  color:#fff!important;
  border-radius:6px!important;
  padding:12px 0!important;
  text-align:center;
  margin-top:12px;
  font-size:0!important;
  line-height:1.4;
}
.widget-erphpdown .down i{display:none!important;}
.widget-erphpdown .down::after{content:"查看下载链接";font-size:16px;font-weight:600;}
.widget-erphpdown.widget-erphpdown-free .down{background:var(--theme-color)!important;}
.widget-erphpdown .resource-specs{
  margin-top:14px;
  background:#f5f5f5;
  border-radius:6px;
  padding:10px 12px;
  overflow:hidden;
  font-size:13px;
  color:#64748B;
}
.widget-erphpdown .resource-specs .spec{float:left;width:50%;padding:4px 0;}
.widget-erphpdown .resource-specs .spec b{color:#475569;font-weight:600;margin-right:4px;}
.sidebar .widget{margin-bottom:22px;}
.sidebar .widget .widget-title,
.sidebar .widget > h3{
  font-size:16px;
  font-weight:700;
  color:#334155;
  margin:0 0 14px;
  padding-left:2px;
}
.widget-hot-posts .hot-post-list{list-style:none;margin:0;padding:0;}
.widget-hot-posts .hot-post-list li{margin:0 0 12px;}
.widget-hot-posts .hot-post-list a{display:flex;gap:10px;align-items:center;color:#334155;text-decoration:none;}
.widget-hot-posts .hot-post-list img{width:64px;height:48px;object-fit:cover;border-radius:4px;flex:0 0 64px;}
.widget-hot-posts .hot-post-list .tit{
  font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;
}
.widget-hot-posts .hot-post-list a:hover .tit{color:var(--theme-color);}
/* keep theme float layout so sticky sidebar works */
.single .content-wrap{display:block!important;}
/* disable sticky on single - prevent download box overlapping on scroll */
.single .sidebar .theiaStickySidebar{
  position:static!important;
  top:auto!important;
  left:auto!important;
  bottom:auto!important;
  width:auto!important;
  transform:none!important;
}
.single .content-wrap{display:block!important;}

/* reduce hot posts flash */
.single .sidebar{min-height:420px;}

.erphpdown-box .erphpdown-price,
.widget-erphpdown .price{display:none!important;}
/* download box */
.erphpdown-box,
.article-content .erphpdown-box{
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  margin: 24px 0 16px !important;
  box-shadow: none !important;
  position: relative;
  overflow: visible;
}
.erphpdown-box::before{display:none!important;content:none!important;}
.erphpdown-box .erphpdown-title{display:none!important;}
.erphpdown-box .erphpdown-con{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  gap:16px;
  flex-wrap:wrap;
}
.erphpdown-box .erphpdown-price{display:none!important;}
.erphpdown-box .erphpdown-cart{margin:0 !important;float:none !important;}
.erphpdown-box .erphpdown-cart .down,
.erphpdown-box a.down{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-width:148px;
  background:var(--theme-color) !important;
  color:#fff !important;
  border-radius:8px !important;
  padding:12px 28px !important;
  font-size:0 !important;
  line-height:1.2 !important;
  border:none !important;
  box-shadow:none !important;
  transition: background .15s ease, transform .15s ease;
}
.erphpdown-box .erphpdown-cart .down:hover,
.erphpdown-box a.down:hover{
  background:#3B82F6 !important;
  transform:translateY(-1px);
}
.erphpdown-box .erphpdown-cart .down i,
.erphpdown-box a.down i{display:none!important;}
.erphpdown-box .erphpdown-cart .down::after,
.erphpdown-box a.down::after{
  content:"查看下载链接";
  font-size:15px;
  font-weight:600;
}
.erphpdown-box .erphpdown-con{
  display:block!important;
  text-align:left!important;
}
.erphpdown-box .erphpdown-cart{
  float:none!important;
  display:block!important;
  margin:0!important;
  text-align:left!important;
}
.erphpdown-box .erphpdown-cart .down,
.erphpdown-box a.down{
  float:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
/* full width single */
.single .content{margin-right:0!important;}
.single .sidebar{display:none!important;}
.single .content-wrap{width:100%!important;}

/* totals color */
.totals,
.totals .item,
.totals .item p,
.totals .item span,
.totals .item h4,
.totals .counter,
.totals .num,
.totals i.icon{
  color:#334155!important;
}
.totals .item h4::after{
  color:#334155!important;
}
/* header desktop only */
@media (min-width: 1025px){
  .header .container{
    display:flex !important;
    align-items:center;
    flex-wrap:nowrap;
    max-width:1400px !important;
    width:100%;
    padding:0 28px !important;
    box-sizing:border-box;
    margin:0 auto;
  }
  .header .logo{flex:0 0 auto;float:none !important;margin-right:18px;}
  .logo a img{width:100px !important;height:auto;max-height:100%;}
  .nav-main{
    float:none !important;
    flex:0 1 auto;
    display:flex !important;
    justify-content:flex-start;
    align-items:center;
    margin-left:0 !important;
    min-width:0;
    white-space:nowrap;
    flex-wrap:nowrap !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    background:transparent !important;
    overflow:visible !important;
    padding:0 !important;
  }
  .nav-main > li{float:none !important;white-space:nowrap;flex:0 0 auto;display:block;}
  .nav-main > li > a{
    padding-left:11px !important;
    padding-right:11px !important;
    font-size:14px;
    white-space:nowrap;
  }
  .nav-main > li > a .dripicons{margin-right:3px;font-size:12px;}
  .header .nav-right{
    flex:0 0 auto;
    float:none !important;
    margin-left:auto !important;
    white-space:nowrap;
  }
  .nav-right a{font-size:14px;}
}

/* mobile nav: restore theme drawer, hide desktop row */
@media (max-width: 1024px){
  .header .container{
    display:block !important;
    max-width:100% !important;
    padding:0 15px !important;
  }
  .header .logo{float:left !important;margin-right:0 !important;}
  .logo a img{width:85px !important;height:auto;max-height:100%;}
  .nav-main{
    display:none !important;
    float:none !important;
    flex:none !important;
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:250px !important;
    max-width:250px !important;
    margin:0 !important;
    padding:8px 0 20px !important;
    background:#fff !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    touch-action:pan-y !important;
    overscroll-behavior-x:none !important;
    white-space:normal !important;
    flex-wrap:unset !important;
    z-index:10002 !important;
  }
  .nav-mobile-show .nav-main,
  .header.nav-mobile-show .nav-main{
    display:block !important;
    float:none !important;
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:250px !important;
    max-width:250px !important;
    margin:0 !important;
    padding:8px 0 20px !important;
    background:#fff !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    touch-action:pan-y !important;
    overscroll-behavior-x:none !important;
    z-index:10002 !important;
  }
  .nav-main > li{
    float:none !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    white-space:normal !important;
    flex:none !important;
  }
  .nav-main > li > a{
    display:flex !important;
    align-items:center !important;
    padding:12px 20px !important;
    font-size:15px !important;
    font-style:normal !important;
    font-weight:400 !important;
    line-height:1.45 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    transform:none !important;
    font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif !important;
  }
  .nav-main > li > a > i.dripicons,
  .nav-main > li > a > .dripicons,
  .nav-mobile-show .nav-main > li > a > i.dripicons,
  .nav-mobile-show .nav-main > li > a > .dripicons{
    display:inline-block !important;
    flex:0 0 auto !important;
    width:1.15em !important;
    min-width:1.15em !important;
    margin:0 8px 0 0 !important;
    padding:0 !important;
    position:relative !important;
    top:0 !important;
    font-size:15px !important;
    line-height:1 !important;
    vertical-align:middle !important;
    overflow:hidden !important;
    text-align:center !important;
  }
  /* Drawer open: lock page sideways rubber-band only (no nested body clips). */
  html.noscroll,
  body.noscroll{
    overflow-x:hidden !important;
    overscroll-behavior-x:none !important;
    touch-action:pan-y !important;
  }
  /* Closed login shell uses scale(1.1) and can drag the whole UI sideways. */
  body:not(.sign-show) .sign,
  body:not(.sign-show) .sign .sign-mask,
  body:not(.sign-show) .sign .sign-box{
    transform:none !important;
    width:100% !important;
    max-width:100% !important;
    left:0 !important;
    right:auto !important;
    margin:0 !important;
    overflow:hidden !important;
  }
  .header .nav-right{
    float:right !important;
    margin-left:0 !important;
  }
  /* 手机顶栏：不显示头像，只显示用户图标（不影响下拉菜单头像 V 标） */
  .header .nav-right .nav-login.yes > a > .avatar,
  .header .nav-right .nav-login.yes > a > .edmmix-avatar-wrap,
  .header .nav-right .nav-login.yes > a > .edmmix-avatar-wrap .avatar,
  .header .nav-right .nav-login.yes > a > .edmmix-v-badge,
  .header .nav-right .nav-login.yes > a > .edmmix-avatar-wrap .edmmix-v-badge{
    display:none !important;
  }
  .header .nav-right .nav-login.yes > a > i{
    display:inline-block !important;
  }
  /* 下拉菜单头像：显示 V 标 */
  .header .nav-right .nav-login.yes .sub-menu .user-info a,
  .header .nav-right .nav-login.yes .sub-menu .user-info .edmmix-avatar-wrap{
    position:relative !important;
    display:inline-block !important;
    overflow:visible !important;
    line-height:0 !important;
  }
  .header .nav-right .nav-login.yes .sub-menu .user-info .avatar,
  .header .nav-right .nav-login.yes .sub-menu .user-info .edmmix-avatar-wrap .avatar{
    display:block !important;
    width:45px !important;
    height:45px !important;
  }
  .header .nav-right .nav-login.yes .sub-menu .user-info .edmmix-v-badge{
    display:inline-flex !important;
    width:16px !important;
    height:16px !important;
    font-size:9px !important;
    right:-2px !important;
    bottom:-2px !important;
  }
}
/* hide post author meta */
.grids .grid-author,
.posts .grid-author,
.grids .grid-meta .author,
.posts .meta .author{
  display:none !important;
}
.single .article-meta .item:has(.icon-user),
.single .article-meta .item:has(a.avatar-link):not(.item-cats){
  display:none !important;
}
/* hide free badge on post cards */
.posts .vip-tag.free-tag,
.grids .vip-tag.free-tag,
.post-card .vip-tag.free-tag,
.posts .price .fee.free-tag,
.grids .price .fee.free-tag,
.posts .meta .price,
.grids .meta .price{
  display:none !important;
}
/* hide empty "暂无标签" placeholders on list cards */
.grids .con > .tag:has(a:not([href])),
.posts .con > .tag:has(a:not([href])),
.grids .con > .tag:has(a[href=""]),
.posts .con > .tag:has(a[href=""]){
  display:none !important;
}
/* card titles: show 2 lines */
.grids .grid h3 a,
.lists .grid h3 a,
.grids .list h3 a{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  line-height:20px !important;
  height:40px !important;
  max-height:40px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:normal !important;
  word-break:break-all !important;
}
/* hide balance / recharge / purchase in user menu */
.nav-right .sub-menu .user-money,
.nav-right .sub-menu .money-left{
  display:none !important;
}
.nav-right .sub-menu li.item:has(.icon-money),
.nav-right .sub-menu li.item:has(.icon-order2),
.nav-right .sub-menu li.item:has(a[href*="user/?action=order"]),
.nav-right .sub-menu li.item:has(a[href$="/user/"]),
.nav-right .sub-menu li.item:has(a[href$="/user"]){
  display:none !important;
}
/* 5-up header user menu when 设置 is present */
.nav-right .nav-login .sub-menu:has(.edmmix-settings-item) > li.item{
  width:20% !important;
  box-sizing:border-box !important;
}
/* user center: hide charge/history menus */
.usermenu-charge,
.usermenu-history{
  display:none !important;
}
/* hide available balance + total recharge cards */
.charge-header > .item:nth-child(1),
.charge-header > .item:nth-child(2){
  display:none !important;
}
/* hide online recharge form */
#charge-form,
.charge .payment-radios{
  display:none !important;
}
/* rename 购买记录 -> 下载记录 (text set by JS; keep size consistent) */
.usermenu-order > a{
  font-size:inherit !important;
}
.usermenu-order > a::after{
  content:none !important;
}
/* edmmix-usermenu-size: icon + text consistent */
.userside .usermenu li a{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  font-size:15px !important;
  line-height:1.45 !important;
  box-sizing:border-box !important;
}
.userside .usermenu li a .icon,
.userside .usermenu li a i{
  font-size:18px !important;
  width:22px !important;
  height:22px !important;
  line-height:22px !important;
  text-align:center !important;
  flex:0 0 22px !important;
  margin:0 !important;
  top:0 !important;
  position:relative !important;
  vertical-align:middle !important;
}
/* login/register modal logo smaller */
.sign .logo-login{
  height:42px !important;
  width:auto !important;
  max-width:160px !important;
  margin:4px auto 0 !important;
  display:block;
}
.sign .form-item:has(.logo-login){
  margin-bottom:8px !important;
}
/* Same tagline as /register/ under modal logo */
.sign .edmmix-login-tagline{
  margin:0 0 16px !important;
  padding:0 !important;
  text-align:center !important;
  color:#64748B !important;
  font-size:13px !important;
  font-weight:500 !important;
  letter-spacing:.03em !important;
  line-height:1.4 !important;
}
/* WeChat login in Modown homepage modal */
.sign #sign-in .edmmix-wx-login{
  margin:16px 0 0 !important;
}
.sign #sign-in .edmmix-wx-login__sep{
  position:relative !important;
  text-align:center !important;
  margin:0 0 12px !important;
  color:#94A3B8 !important;
  font-size:12px !important;
}
.sign #sign-in .edmmix-wx-login__sep::before,
.sign #sign-in .edmmix-wx-login__sep::after{
  content:"" !important;
  position:absolute !important;
  top:50% !important;
  width:22% !important;
  height:1px !important;
  background:#E2E8F0 !important;
}
.sign #sign-in .edmmix-wx-login__sep::before{ left:0 !important; }
.sign #sign-in .edmmix-wx-login__sep::after{ right:0 !important; }
.sign #sign-in .edmmix-wx-login__sep span{
  display:inline-block !important;
  padding:0 10px !important;
  background:#fff !important;
  position:relative !important;
  z-index:1 !important;
}
.sign #sign-in .edmmix-wx-login__btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:100% !important;
  height:42px !important;
  border-radius:7px !important;
  background:#07C160 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
  transition:background .15s ease, opacity .15s ease !important;
}
.sign #sign-in .edmmix-wx-login__btn:hover,
.sign #sign-in .edmmix-wx-login__btn:focus{
  background:#06AD56 !important;
  color:#fff !important;
  opacity:1 !important;
}
.sign #sign-in .edmmix-wx-login__ico{
  display:block !important;
  flex:0 0 auto !important;
  color:#fff !important;
}
.sign #sign-in .sign-submit{
  border-bottom:0 !important;
  padding-bottom:0 !important;
}
.sign #sign-in .sign-trans{
  margin-top:14px !important;
  padding-top:14px !important;
  border-top:1px solid #eaeaea !important;
}
/* Login / download-consent modal: scrollbar width compensated via --edmmix-sbw
   (do NOT use scrollbar gutter stable — it leaves a body-bg strip beside fixed header).
   Without padding-right, hiding the scrollbar makes the whole page shift right. */
body.sign-show,
body:has(.edmmix-legal-modal),
body.edmmix-legal-modal-open{
  padding-right: var(--edmmix-sbw, 0px) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}
html:has(body.sign-show),
html:has(.edmmix-legal-modal),
html.edmmix-legal-modal-open{
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.edmmix-legal-modal{
  overscroll-behavior: none !important;
  touch-action: none !important;
}
.edmmix-legal-modal-box,
body.sign-show .sign .sign-box{
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y !important;
}
/* Theme .header uses transition:all — padding would animate and look like the nav slides. */
.header{
  transition: box-shadow .3s ease 0s, background-color .3s ease 0s !important;
}
body.sign-show .header,
body.sign-show .topbar,
body:has(.edmmix-legal-modal) .header,
body:has(.edmmix-legal-modal) .topbar,
body.edmmix-legal-modal-open .header,
body.edmmix-legal-modal-open .topbar{
  padding-right: var(--edmmix-sbw, 0px) !important;
  box-sizing: border-box !important;
  transition: none !important;
}
body.sign-show .rollbar,
body:has(.edmmix-legal-modal) .rollbar,
body.edmmix-legal-modal-open .rollbar{
  right: calc(10px + var(--edmmix-sbw, 0px)) !important;
}
/* EDMMIX legal compliance UI */
.edmmix-legal-notice{background:#fff8e6;border:1px solid #f0d78c;border-radius:8px;padding:12px 14px;margin:0 0 14px;font-size:13px;line-height:1.75;color:#5c4a12;}
.edmmix-legal-notice a{color:#2563eb;text-decoration:none;}
.edmmix-legal-notice a:hover{text-decoration:underline;}
.edmmix-nonprofit-badge{background:#eef6ff;border:1px solid #bfdbfe;border-radius:8px;padding:10px 12px;margin:0 0 14px;font-size:13px;line-height:1.7;color:#1e3a5f;font-weight:600;}
.edmmix-legal-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px;}
.edmmix-legal-modal-box{background:#fff;border-radius:10px;max-width:520px;width:100%;padding:22px;box-shadow:0 12px 40px rgba(0,0,0,.18);}
.edmmix-legal-modal-box h3{margin:0 0 10px;font-size:18px;color:#0f172a;}
.edmmix-legal-modal-box p,.edmmix-legal-modal-box li{font-size:13px;line-height:1.8;color:#334155;}
.edmmix-checkline{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.7;color:#334155;margin:12px 0;text-align:left;}
.edmmix-checkline input{margin-top:3px;flex-shrink:0;}
.edmmix-legal-modal-btns{display:flex;gap:10px;justify-content:flex-end;margin-top:12px;}
.edmmix-legal-modal-btns button{padding:8px 16px;border-radius:6px;border:none;cursor:pointer;font-size:14px;}
.edmmix-legal-modal-btns .btn-cancel{background:#e2e8f0;color:#334155;}
.edmmix-legal-modal-btns .btn-ok{background:var(--theme-color,#60A5FA);color:#fff;}
.edmmix-legal-modal-btns .btn-ok:disabled{opacity:.45;cursor:not-allowed;}
.edmmix-tos label{display:inline-flex;gap:10px;align-items:center;font-size:12px;line-height:16px;color:#64748b;text-align:left;}
.edmmix-tos input{margin:0;padding:0;flex:0 0 16px;width:16px;height:16px;align-self:center;}
.erphpdown-box.edmmix-dl-locked{position:relative;}
.erphpdown-box.edmmix-dl-locked::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.55);border-radius:inherit;z-index:2;}
.edmmix-cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:100001;background:#F1F5F9;color:#64748B;padding:14px 16px;box-shadow:0 -4px 16px rgba(15,23,42,.08);border-top:1px solid #e2e8f0;}
.edmmix-cookie-inner{max-width:1100px;margin:0 auto;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;}
.edmmix-cookie-text{flex:1;min-width:240px;font-size:13px;line-height:1.7;}
.edmmix-cookie-text strong{display:block;margin-bottom:4px;font-size:14px;color:#334155;}
.edmmix-cookie-text p{margin:0 0 8px;color:#64748B;}
.edmmix-cookie-text label{display:inline-flex;align-items:center;gap:6px;margin-right:14px;color:#64748B;cursor:pointer;}
.edmmix-cookie-btns{display:flex;gap:8px;flex-shrink:0;}
.edmmix-cookie-btns button{border:none;border-radius:6px;padding:8px 14px;cursor:pointer;font-size:13px;}
.edmmix-cookie-btns .btn-reject{background:#e2e8f0;color:#334155;}
.edmmix-cookie-btns .btn-accept{background:var(--theme-color,#60A5FA);color:#fff;}
/* soften high-risk labels */
.totals .item:nth-child(1) h4{font-size:0!important;}
.totals .item:nth-child(1) h4::after{content:"学习链接数";font-size:14px;line-height:1.4;display:inline-block;}
.totals .item:nth-child(2) h4{font-size:0!important;}
.totals .item:nth-child(2) h4::after{content:"交流分类数";font-size:14px;line-height:1.4;display:inline-block;}
.widget-erphpdown .down::after{content:"查看下载链接"!important;}
.erphpdown-box .erphpdown-cart .down::after,
.erphpdown-box a.down::after{content:"查看下载链接"!important;}

/* vip-why: icon above text, centered — align with .totals icons below */
.vip-why .items .item{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  float:left !important;
  position:relative !important;
  box-sizing:border-box !important;
}
.vip-why .items .item span{
  position:static !important;
  top:auto !important;
  left:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-shrink:0 !important;
  margin:0 0 14px !important;
}
.vip-why .items .item > div{
  flex:0 1 auto !important;
  width:100% !important;
  max-width:220px !important;
  min-width:0 !important;
  padding:0 !important;
  margin:0 !important;
}
.vip-why .items .item h4{
  margin:0 0 6px !important;
  line-height:1.3 !important;
  text-align:center !important;
}
.vip-why .items .item p{
  margin:0 !important;
  line-height:1.5 !important;
  text-align:center !important;
}
.totals .item{
  text-align:center !important;
}
.edmmix-checkline>span{flex:1;min-width:0;word-break:break-word;}
.edmmix-checkline a{color:#2563eb;text-decoration:underline;}
.edmmix-tos label{display:inline-flex;gap:10px;align-items:center;}
.edmmix-tos label>span{flex:1;min-width:0;line-height:16px;height:16px;display:inline-flex;align-items:center;margin:0;}
.edmmix-tos label>span a{margin:0;padding:0;white-space:nowrap;}
.sign-tips{background-color:var(--theme-color,#60A5FA)!important;}

/* download page card layout */
.erphpdown-msg{
  max-width:520px;
  margin:0 auto;
  position:relative;
  min-height:118px;
}
.erphpdown-msg p{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:0!important;
  padding:18px 20px!important;
  background:#F8FAFC!important;
  border:1px solid #E2E8F0!important;
  border-radius:12px!important;
  color:#334155!important;
  font-size:14px!important;
  text-align:left!important;
}
/* keep card hidden until layout ready (backup if fullpage loader skipped) */
.erphpdown-msg:not(.edmmix-ready) p,
.main-download .erphpdown-msg:not(.edmmix-ready) p{
  opacity:0!important;
  min-height:118px;
  pointer-events:none;
}
.erphpdown-msg.edmmix-ready p[data-edmmix-layout="1"]{
  opacity:1!important;
  pointer-events:auto;
}
/* full-page download loader (class set in header_code) */
html.edmmix-dl-loading,
html.edmmix-dl-loading body{
  overflow:hidden!important;
  background:#f8fafc!important;
}
html.edmmix-dl-loading body > *{
  visibility:hidden!important;
}
html.edmmix-dl-loading::before{
  content:"";
  position:fixed;
  inset:0;
  background:#f8fafc;
  z-index:2147483000;
  visibility:visible!important;
}
html.edmmix-dl-loading::after{
  content:"";
  position:fixed;
  left:50%;
  top:50%;
  width:40px;
  height:40px;
  margin:-20px 0 0 -20px;
  box-sizing:border-box;
  border:3px solid #E2E8F0;
  border-top-color:var(--theme-color,#60A5FA);
  border-radius:50%;
  animation:edmmix-dl-spin .65s linear infinite;
  z-index:2147483001;
  visibility:visible!important;
}
@keyframes edmmix-dl-spin{to{transform:rotate(360deg)}}
@keyframes edmmix-page-in{
  from{opacity:0}
  to{opacity:1}
}
html.edmmix-page-ready.edmmix-dl-loading::before,
html.edmmix-page-ready.edmmix-dl-loading::after{
  display:none!important;
  animation:none!important;
}
html.edmmix-page-ready,
html.edmmix-page-ready body{
  overflow:auto!important;
}
html.edmmix-page-ready body > *{
  visibility:visible!important;
}
html.edmmix-page-ready body{
  animation:edmmix-page-in .32s ease both;
}
.erphpdown-msg .edmmix-dl-row,
.erphpdown-msg .edmmix-extract-row{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  margin:0;
  padding:0;
  flex:none;
}
.erphpdown-msg .edmmix-extract-row{
  padding-top:14px;
  border-top:1px solid #E2E8F0;
}
.erphpdown-msg .edmmix-dl-row .tit,
.erphpdown-msg .edmmix-extract-row .tit{
  width:72px!important;
  min-width:72px;
  display:inline-block!important;
  margin:0!important;
  font-size:14px;
  font-weight:600;
  color:#64748B!important;
  line-height:1.4;
}
.erphpdown-msg p > .tit{display:none!important;}
.erphpdown-msg p .link,
.erphpdown-msg .edmmix-dl-row .link{
  background:var(--theme-color,#60A5FA)!important;
  color:#fff!important;
  text-decoration:none!important;
  padding:9px 22px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  margin:0!important;
  font-size:14px!important;
  font-weight:600;
  line-height:1.2;
  min-width:108px;
}
/* kill plugin orange dashed FOUC — must not wait for .edmmix-extract-row */
.erphpdown-code,
.erphpdown-msg .erphpdown-code,
.main-download .erphpdown-code,
.erphpdown-msg .edmmix-extract-row .erphpdown-code{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:0 12px!important;
  background:#fff!important;
  border:1px solid #CBD5E1!important;
  border-radius:8px!important;
  color:#0F172A!important;
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:.6px!important;
  line-height:1.4!important;
}
.erphpdown-msg .erphpdown-copy,
.erphpdown-msg .edmmix-extract-row .erphpdown-copy{
  color:var(--theme-color,#60A5FA)!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:600;
  margin-left:4px;
}
.erphpdown-msg .erphpdown-copy:hover,
.erphpdown-msg .edmmix-extract-row .erphpdown-copy:hover{opacity:.85;}
/* edmmix kill download top groove */
.modown-erphpdown-bottom,
.modown-erphpdown-bottom .line,
.mbt-down-top{display:none!important;}
.main-download .single-content,
.main.main-download .single-content,
body .main-download .single-content,
body .main-download article.single-content,
.main-download .content .single-content{
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  background-image:none!important;
}
body.edmmix-dlpage .banner-page{
  border-bottom:none!important;
  box-shadow:none!important;
}
body.edmmix-dlpage .main-download .single-content{
  box-shadow:none!important;
  padding-top:28px!important;
}

/* edmmix-loginbox-logo */
.loginbox h2 img{
  width:140px !important;
  max-width:180px !important;
  height:auto !important;
  border-radius:0 !important;
  object-fit:contain !important;
  display:inline-block !important;
}
.loginbox h2{
  line-height:1 !important;
  overflow:visible !important;
}

/* edmmix-banner-vanta */
body.home .banner{
  position:relative !important;
  overflow:hidden !important;
  background-image:none !important;
  background-color:#FFFFFF !important;
}
body.home .banner canvas{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:0 !important;
  display:block !important;
}
body.home .banner .container{
  position:relative;
  z-index:2;
}
/* Fog pages: activity + all WP pages + all category archives + download */
body.directory.activity .banner-page,
body.activity.directory .banner-page,
body.page .banner-page,
body.category .banner-archive,
body.archive.category .banner-archive,
body.edmmix-dlpage .banner-page,
body:has(.main-download) .banner-page{
  position:relative !important;
  overflow:hidden !important;
  background:none !important;
  background-image:none !important;
  background-color:#FFFFFF !important;
  border-bottom:1px solid rgba(96,165,250,.12) !important;
}
body.directory.activity .banner-page canvas,
body.activity.directory .banner-page canvas,
body.page .banner-page canvas,
body.category .banner-archive canvas,
body.archive.category .banner-archive canvas,
body.edmmix-dlpage .banner-page canvas,
body:has(.main-download) .banner-page canvas{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  z-index:0 !important;
  display:block !important;
  pointer-events:none !important;
}
body.directory.activity .banner-page .container,
body.activity.directory .banner-page .container,
body.page .banner-page .container,
body.category .banner-archive .container,
body.archive.category .banner-archive .container,
body.edmmix-dlpage .banner-page .container,
body:has(.main-download) .banner-page .container{
  position:relative !important;
  z-index:2 !important;
}
body.directory.activity .banner-page .archive-title,
body.activity.directory .banner-page .archive-title,
body.directory.activity .banner-page h1,
body.activity.directory .banner-page h1,
body.page .banner-page .archive-title,
body.page .banner-page h1,
body.category .banner-archive .archive-title,
body.archive.category .banner-archive .archive-title,
body.category .banner-archive h1,
body.archive.category .banner-archive h1{
  color:var(--theme-color,#60A5FA) !important;
  font-style:italic !important;
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif !important;
  font-weight:700 !important;
  letter-spacing:-0.03em !important;
  font-size:36px !important;
  line-height:1.3 !important;
  text-shadow:none !important;
}
@media (max-width: 768px){
  body.directory.activity .banner-page .archive-title,
  body.activity.directory .banner-page .archive-title,
  body.directory.activity .banner-page h1,
  body.activity.directory .banner-page h1,
  body.page .banner-page .archive-title,
  body.page .banner-page h1,
  body.category .banner-archive .archive-title,
  body.archive.category .banner-archive .archive-title,
  body.category .banner-archive h1,
  body.archive.category .banner-archive h1{
    font-size:30px !important;
  }
}
body.directory.activity,
body.activity.directory,
body.category,
body.archive.category{
  background:#F8FBFF !important;
}
/* Static pages (privacy/about/etc.): white page background */
body.page{
  background:#FFFFFF !important;
}
/* Legal pages: same sticky site footer as /copyright-complaint/ */
body.page-id-2,
body.page-id-47,
body.page-id-49,
body.page-id-51,
body.page-id-53,
body.page-id-97{
  min-height:100vh !important;
  display:flex !important;
  flex-direction:column !important;
}
body.page-id-2 > .main,
body.page-id-47 > .main,
body.page-id-49 > .main,
body.page-id-51 > .main,
body.page-id-53 > .main,
body.page-id-97 > .main,
body.page-id-2 > .content-wrap,
body.page-id-47 > .content-wrap,
body.page-id-49 > .content-wrap,
body.page-id-51 > .content-wrap,
body.page-id-53 > .content-wrap,
body.page-id-97 > .content-wrap{
  flex:1 0 auto !important;
}
body.page-id-2 > .footer,
body.page-id-47 > .footer,
body.page-id-49 > .footer,
body.page-id-51 > .footer,
body.page-id-53 > .footer,
body.page-id-97 > .footer,
body.page-id-2 > footer.footer,
body.page-id-47 > footer.footer,
body.page-id-49 > footer.footer,
body.page-id-51 > footer.footer,
body.page-id-53 > footer.footer,
body.page-id-97 > footer.footer{
  margin-top:auto !important;
}
/* Legal pages: hide empty sidebar (same full-width as singles / copyright-complaint feel) */
body.page-id-2 .sidebar,
body.page-id-47 .sidebar,
body.page-id-49 .sidebar,
body.page-id-51 .sidebar,
body.page-id-53 .sidebar,
body.page-id-97 .sidebar{
  display:none !important;
}
body.page-id-2 .content-wrap,
body.page-id-47 .content-wrap,
body.page-id-49 .content-wrap,
body.page-id-51 .content-wrap,
body.page-id-53 .content-wrap,
body.page-id-97 .content-wrap{
  width:100% !important;
  float:none !important;
}
body.directory.activity .main,
body.activity.directory .main,
body.directory.activity .content-wrap,
body.activity.directory .content-wrap,
body.directory.activity .single-content,
body.activity.directory .single-content,
body.directory.activity .article,
body.activity.directory .article{
  background:transparent !important;
}
/* Legal / info pages: content section titles in dark gray */
body.page-id-2 .single-content :is(h2,h3,h4,h5,h6),
body.page-id-2 .article-content :is(h2,h3,h4,h5,h6),
body.page-id-47 .single-content :is(h2,h3,h4,h5,h6),
body.page-id-47 .article-content :is(h2,h3,h4,h5,h6),
body.page-id-49 .single-content :is(h2,h3,h4,h5,h6),
body.page-id-49 .article-content :is(h2,h3,h4,h5,h6),
body.page-id-51 .single-content :is(h2,h3,h4,h5,h6),
body.page-id-51 .article-content :is(h2,h3,h4,h5,h6),
body.page-id-53 .single-content :is(h2,h3,h4,h5,h6),
body.page-id-53 .article-content :is(h2,h3,h4,h5,h6),
body.page-id-97 .single-content :is(h2,h3,h4,h5,h6),
body.page-id-97 .article-content :is(h2,h3,h4,h5,h6){
  color:#334155 !important;
}
body.home .banner h2,
body.home .banner .banner-title{
  font-style:italic !important;
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif !important;
  color:var(--theme-color,#60A5FA) !important;
  font-weight:500 !important;
  letter-spacing:-0.03em !important;
  font-size:58px !important;
  line-height:1.25 !important;
  text-shadow:none !important;
}
/* download page title: same face/style as home hero, keep existing size */
body.edmmix-dlpage .banner-page .archive-title,
body.edmmix-dlpage .banner-page h1,
body:has(.main-download) .banner-page .archive-title,
body:has(.main-download) .banner-page h1{
  font-style:italic !important;
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif !important;
  color:var(--theme-color,#60A5FA) !important;
  font-weight:700 !important;
  letter-spacing:-0.03em !important;
  line-height:1.3 !important;
  text-shadow:none !important;
}
@media (max-width: 768px){
  body.home .banner h2,
  body.home .banner .banner-title{
  font-style:italic !important;
    font-size:34px !important;
  }
}
body.home .banner p,
body.home .banner .desc{
  color:var(--theme-color,#60A5FA) !important;
  text-shadow:none !important;
}
/* edmmix-banner-desc */
body.home .banner p,
body.home .banner .banner-desc,
body.home .banner .desc{
  margin:12px 0 0 !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:22px !important;
  font-weight:400 !important;
  letter-spacing:0.02em !important;
  line-height:1.6 !important;
  text-shadow:none !important;
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif !important;
}
@media (max-width: 768px){
  body.home .banner p,
  body.home .banner .banner-desc,
  body.home .banner .desc{
    font-size:17px !important;
    margin-top:8px !important;
  }
}
/* edmmix-related-mobile-4 */
@media (max-width: 768px){
  .single-related .grids.relateds{
    display:flex !important;
    flex-wrap:wrap !important;
  }
  .single-related .grids.relateds .post.grid{
    width:100% !important;
    float:none !important;
    box-sizing:border-box !important;
  }
  .single-related .grids.relateds .post.grid:nth-child(n+3){
    display:none !important;
  }
}
/* edmmix-feature-image-desktop */
@media (min-width: 1025px){
  .single .feature-image{
    max-width:480px !important;
    margin:0 auto 28px !important;
  }
  .single .feature-image img{
    width:100% !important;
    height:auto !important;
    max-height:480px !important;
    object-fit:contain !important;
    border-radius:8px !important;
  }
}
/* Top row: cover + download together */
/* edmmix-layer-toast */
.layui-layer.layui-layer-hui,
.layui-layer.layui-layer-msg,
.layui-layer-dialog.layui-layer-msg,
.layui-layer-hui {
  background: #60A5FA !important;
  background-color: #60A5FA !important;
  color: #fff !important;
  border: none !important;
}
.layui-layer-hui .layui-layer-content,
.layui-layer-msg .layui-layer-content {
  color: #fff !important;
}
.wppay-toast {
  background: #60A5FA !important;
}
/* edmmix-hide-search-price */
body.search .filters .filter-item:has(a[href*="v=free"]),
body.search .filters .filter-item:has(a[href*="v=fee"]) {
  display: none !important;
}
/* edmmix-mobile-submenu */
@media (max-width: 1024px){
  .nav-main .explose,
  .nav-main .sub-menu .explose,
  .nav-main .sub-menu .sub-menu .explose,
  .nav-mobile-show .nav-main .explose,
  .nav-mobile-show .nav-main .sub-menu .explose,
  .nav-mobile-show .nav-main .sub-menu .sub-menu .explose{
    display:inline-block !important;
    position:absolute !important;
    top:50% !important;
    right:28px !important;
    width:44px !important;
    height:44px !important;
    margin-top:-22px !important;
    line-height:44px !important;
    text-align:center !important;
    z-index:12 !important;
    color:#64748B !important;
  }
  .nav-main .explose .icon,
  .nav-main .explose .autoicon,
  .nav-main .sub-menu .explose .icon,
  .nav-main .sub-menu .explose .autoicon,
  .nav-mobile-show .nav-main .explose .icon,
  .nav-mobile-show .nav-main .explose .autoicon,
  .nav-mobile-show .nav-main .sub-menu .explose .icon,
  .nav-mobile-show .nav-main .sub-menu .explose .autoicon,
  .nav-mobile-show .nav-main > li .autoicon,
  .nav-mobile-show .nav-main .sub-menu .autoicon{
    float:none !important;
    font-size:20px !important;
    line-height:44px !important;
    vertical-align:middle !important;
    width:auto !important;
    height:auto !important;
  }
  .nav-main > li.menu-item-has-children > a,
  .nav-main .sub-menu li.menu-item-has-children > a,
  .nav-mobile-show .nav-main > li.menu-item-has-children > a,
  .nav-mobile-show .nav-main .sub-menu li.menu-item-has-children > a{
    padding-right:64px !important;
    position:relative !important;
  }
  .nav-main > li.menu-item-has-children:after,
  .nav-main .sub-menu li.menu-item-has-children:after,
  .nav-mobile-show .nav-main > li.menu-item-has-children:after,
  .nav-mobile-show .nav-main .sub-menu li.menu-item-has-children:after{
    content:none !important;
  }
  .nav-mobile-show .nav-main .sub-menu{
    position:relative !important;
    top:0 !important;
    left:0 !important;
    right:auto !important;
    box-shadow:none !important;
    min-width:0 !important;
    width:auto !important;
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    margin:0 !important;
    padding:0 0 8px 12px !important;
    background:transparent !important;
    border-radius:0 !important;
  }
  .nav-mobile-show .nav-main .sub-menu:before{
    content:none !important;
  }
  .nav-mobile-show .nav-main .sub-menu.show{
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .nav-mobile-show .nav-main .sub-menu li{
    float:none !important;
    width:100% !important;
    display:block !important;
    position:relative !important;
  }
  .nav-mobile-show .nav-main .sub-menu a{
    display:block !important;
    padding:10px 64px 10px 8px !important;
    margin:0 !important;
    line-height:1.4 !important;
    white-space:normal !important;
    position:relative !important;
    box-sizing:border-box !important;
  }
  .nav-mobile-show .nav-main > li.menu-item{
    margin:0 12px !important;
    position:relative !important;
  }
}

/* edmmix-hide-user-money: hide balance / recharge / purchase on user center */
.user-wap-box2 .item:has(a[href*="action=charge"]),
.user-wap-box2 .item:has(a[href*="action=history"]),
.user-wap-box2 .item:has(a[href*="action=order"]),
.user-wap-box2 .item:has(a[href*="action=aff"]),
.user-wap-box22 li:has(a[href*="action=charge"]),
.user-wap-box4 li:has(a[href*="action=history"]),
.user-wap-box4 li:has(a[href*="action=moneylog"]),
.user-wap-box4 li:has(a[href*="action=withdraw"]),
.user-wap-box4:has(a[href*="action=history"]):not(:has(a[href*="action=info"])):not(:has(a[href*="action=order"])),
.userside .usermenu-charge,
.userside .usermenu-history,
.userside .usermenu-aff,
.userside .usermenu-withdraw,
.userside .usermenu-mycred,
.nav-login .user-money{
  display:none !important;
}

/* edmmix-user-wap-redesign */
.user-wap-wrap{
  padding:12px 14px 28px !important;
  max-width:480px;
  margin:0 auto !important;
}
.user-wap-wrap .user-wap-box1{
  position:relative !important;
  height:auto !important;
  min-height:0 !important;
  padding:28px 20px 22px !important;
  margin-bottom:12px !important;
  border-radius:16px !important;
  box-shadow:0 1px 4px rgba(15,23,42,.06) !important;
  border:1px solid #E2E8F0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  background:#fff !important;
}
.user-wap-wrap .user-wap-box1 .edit-avatar{
  position:relative !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  margin:0 0 14px !important;
  padding:0 !important;
  line-height:0 !important;
  display:inline-block !important;
  overflow:visible !important;
}
.user-wap-wrap .user-wap-box1 .edit-avatar .edmmix-avatar-wrap{
  display:block !important;
  position:relative !important;
  width:72px !important;
  height:72px !important;
  overflow:visible !important;
}
.user-wap-wrap .user-wap-box1 .avatar{
  width:72px !important;
  height:72px !important;
  border-radius:50% !important;
  border:3px solid #EFF6FF !important;
  box-shadow:0 4px 14px rgba(96,165,250,.22) !important;
  display:block !important;
  object-fit:cover !important;
  margin:0 auto !important;
}
.user-wap-wrap .user-wap-box1 .edmmix-v-badge{
  width:20px !important;
  height:20px !important;
  font-size:11px !important;
  right:-2px !important;
  bottom:-2px !important;
}
.user-wap-wrap .user-wap-box1 .user-name{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
  font-size:18px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.3 !important;
  letter-spacing:-0.01em !important;
  text-align:center !important;
}
.user-wap-wrap .user-wap-box1 .edmmix-nick{
  display:block !important;
  font-size:18px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.3 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.user-wap-wrap .edmmix-vip-badge--pretty,
.user-wap-box1 .edmmix-vip-badge--pretty,
.user-name .edmmix-vip-badge--pretty,
.user-wap-wrap .user-wap-box1 .user-name t.edmmix-vip-badge--pretty,
.user-wap-box1 .user-name t.edmmix-vip-badge--pretty,
.nav-right .sub-menu .user-info .name t.edmmix-vip-badge--pretty,
.user-info .name t.edmmix-vip-badge--pretty,
.user-name t.edmmix-vip-badge--pretty{
  background:#EC4899 !important;
  background-color:#EC4899 !important;
  background-image:none !important;
  border-color:#EC4899 !important;
}
.user-wap-wrap .edmmix-vip-badge--admin,
.user-wap-box1 .edmmix-vip-badge--admin,
.user-name .edmmix-vip-badge--admin,
.user-wap-wrap .user-wap-box1 .user-name t.edmmix-vip-badge--admin,
.user-wap-box1 .user-name t.edmmix-vip-badge--admin,
.nav-right .sub-menu .user-info .name t.edmmix-vip-badge--admin,
.user-info .name t.edmmix-vip-badge--admin,
.user-name t.edmmix-vip-badge--admin{
  background:#2563EB !important;
  background-color:#2563EB !important;
  background-image:none !important;
  border-color:#2563EB !important;
}
.user-wap-wrap .edmmix-vip-badge,
.user-wap-wrap .user-wap-box1 .user-name t,
.user-wap-wrap .user-wap-box1 t,
.user-wap-box1 .user-name t,
.user-wap-box1 .edmmix-vip-badge,
.user-name .edmmix-vip-badge,
.nav-right .sub-menu .user-info .name t,
.nav-right .sub-menu .user-info .name d,
.user-info .name t,
.user-info .name d,
.user-name t,
.user-name d{
  display:inline-block !important;
  font-size:11px !important;
  font-weight:600 !important;
  color:#fff !important;
  background:var(--theme-color,#60A5FA) !important;
  background-color:var(--theme-color,#60A5FA) !important;
  background-image:none !important;
  padding:2px 10px !important;
  border-radius:999px !important;
  line-height:1.4 !important;
  letter-spacing:0 !important;
  margin:0 0 0 8px !important;
  border:1px solid var(--theme-color,#60A5FA) !important;
  max-width:min(92vw,280px) !important;
  white-space:nowrap !important;
  text-align:center !important;
  vertical-align:middle !important;
  box-sizing:border-box !important;
}
/* 普通用户：灰色徽章，布局与贵宾相同 */
.nav-right .sub-menu .user-info .name t.edmmix-vip-badge--normal,
.user-info .name t.edmmix-vip-badge--normal,
.user-name t.edmmix-vip-badge--normal,
.nav-right .sub-menu .user-info .name d,
.user-info .name d,
.user-name d{
  background:#94A3B8 !important;
  background-color:#94A3B8 !important;
  border-color:#94A3B8 !important;
}
/* 恢复主题：45px 行高与头像垂直对齐；昵称与徽章同一基线 */
.nav-right .sub-menu .user-info{
  display:block !important;
}
.nav-right .sub-menu .user-info .name{
  display:inline-block !important;
  margin-left:6px !important;
  height:45px !important;
  line-height:45px !important;
  vertical-align:top !important;
  flex:none !important;
  gap:0 !important;
  align-items:unset !important;
  flex-wrap:nowrap !important;
  min-width:0 !important;
}
.nav-right .sub-menu .user-info .name .nickname{
  display:inline-block !important;
  float:none !important;
  height:auto !important;
  max-width:92px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  vertical-align:middle !important;
  line-height:normal !important;
}
.user-wap-wrap .edmmix-vip-badge,
.user-wap-wrap .user-wap-box1 .user-name t,
.user-wap-wrap .user-wap-box1 t{
  margin-top:4px !important;
}
.user-wap-wrap .user-wap-box1 .user-desc{
  display:none !important;
}
.user-wap-wrap .user-wap-box1 .user-desc a{
  font-size:12px !important;
  color:#64748B !important;
}
.user-wap-wrap .user-wap-box2,
.user-wap-wrap .user-wap-box22{
  display:none !important;
}
.user-wap-wrap .user-wap-box4 ul li:has(a[href*="action=vip"]),
.userside .usermenu-vip,
.nav-login .user-vip{
  display:none !important;
}
.user-wap-wrap .user-wap-box4{
  background:#fff !important;
  border-radius:14px !important;
  margin:0 0 12px !important;
  padding:14px 8px 10px !important;
  box-shadow:0 1px 4px rgba(15,23,42,.06) !important;
  border:1px solid #E2E8F0 !important;
}
.user-wap-wrap .user-wap-box4 .tit{
  font-size:15px !important;
  font-weight:600 !important;
  color:#0F172A !important;
  margin:0 8px 10px !important;
  padding:0 !important;
}
.user-wap-wrap .user-wap-box4 ul{
  display:flex !important;
  flex-wrap:wrap !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.user-wap-wrap .user-wap-box4 ul:after,
.user-wap-wrap .user-wap-box4 ul:before{
  display:none !important;
}
.user-wap-wrap .user-wap-box4 ul li{
  float:none !important;
  width:33.333% !important;
  margin:0 !important;
  padding:10px 6px !important;
  text-align:center !important;
  box-sizing:border-box !important;
  list-style:none !important;
}
.user-wap-wrap .user-wap-box4 ul li a{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  text-decoration:none !important;
  color:#334155 !important;
}
.user-wap-wrap .user-wap-box4 ul li .icon{
  font-size:24px !important;
  width:48px !important;
  height:48px !important;
  line-height:48px !important;
  border-radius:14px !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  display:inline-block !important;
  text-align:center !important;
  margin:0 !important;
  top:0 !important;
  position:relative !important;
  box-sizing:border-box !important;
}
.user-wap-wrap .user-wap-box4 ul li .icon-crown{
  color:#F59E0B !important;
  background:#FFFBEB !important;
}
.user-wap-wrap .user-wap-box4 ul li span{
  display:block !important;
  font-size:12px !important;
  color:#64748B !important;
  line-height:1.35 !important;
  font-weight:500 !important;
}
.user-wap-wrap .user-wap-logout{
  margin:4px 0 0 !important;
  text-align:center !important;
}
.user-wap-wrap .user-wap-logout a{
  display:block !important;
  padding:13px 16px !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  color:#94A3B8 !important;
  font-size:14px !important;
  box-shadow:0 1px 4px rgba(15,23,42,.04) !important;
}
.user-wap-wrap .user-wap-logout a:hover{
  color:#64748B !important;
}

/* edmmix-author-home */
a.edmmix-author-link, .comt-author a.edmmix-author-link, .comt-avatar a.edmmix-author-link { color: inherit !important; text-decoration: none !important; }
a.edmmix-author-link:hover, .comt-author a.edmmix-author-link:hover { color: var(--theme-color) !important; }
/* Article comments: author/time on top, body below */
.comment .comt-main,
.commentlist .comt-main,
.article-content .comt-main{
  display:flex !important;
  flex-direction:column !important;
}
.comment .comt-meta,
.commentlist .comt-meta,
.article-content .comt-meta{
  order:-1 !important;
}
/* Article comments: hide clock icon before time */
.comment .comt-meta .icon-time,
.commentlist .comt-meta .icon-time,
.article-content .comt-meta .icon-time,
.comment .comt-meta i.icon-time,
.commentlist .comt-meta i.icon-time,
.article-content .comt-meta i.icon-time{
  display:none !important;
}
.comt-avatar a.edmmix-author-link { display: inline-block; line-height: 0; }
/* 评论区链接/赞数字：去掉 article-content a 的下划线 */
.article-content .comment a,
.article-content .comt-zan,
.article-content .comt-zan span,
.article-content .comt-meta a,
.article-content .comment-reply-link,
.article-content .comment-reply-login,
.comment .comt-zan,
.comment .comt-zan span,
.comment .comt-meta a,
.comment .comment-reply-link,
.comment .comment-reply-login,
.commentlist .comt-zan,
.commentlist .comt-zan span{
  text-decoration:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}
.article-content .comt-zan:hover,
.article-content .comt-zan:hover span,
.comment .comt-zan:hover,
.comment .comt-zan:hover span{
  text-decoration:none !important;
}
/* Comment zan liked: brand blue immediately */
.article-content .comt-zan.active,
.article-content .comt-zan.active span,
.article-content .comt-zan.active i,
.comment .comt-zan.active,
.comment .comt-zan.active span,
.comment .comt-zan.active i,
.commentlist .comt-zan.active,
.commentlist .comt-zan.active span,
.commentlist .comt-zan.active i{
  color:var(--theme-color,#60A5FA) !important;
}
/* 文章评论头像 V 标 */
.comment .comt-avatar,
.comment .comt-avatar a.edmmix-author-link{
  overflow:visible !important;
  position:relative !important;
}
.comment .comt-avatar .edmmix-avatar-wrap{
  display:block !important;
  position:relative !important;
  width:42px !important;
  height:42px !important;
  line-height:0 !important;
}
.comment .comt-avatar .edmmix-avatar-wrap img,
.comment .comt-avatar .edmmix-avatar-wrap .avatar{
  display:block !important;
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
}
.comment .comt-avatar .edmmix-v-badge{
  width:14px !important;
  height:14px !important;
  font-size:9px !important;
  right:-2px !important;
  bottom:-2px !important;
}
.banner-archive .archive-avatar img { border-radius: 50% !important; border: 3px solid #fff !important; box-shadow: 0 4px 14px rgba(15,23,42,.12) !important; }
/* 贵宾用户头像右下角 V 认证（勿用 span，主题会给 span 加黄色皇冠） */
.edmmix-avatar-wrap{
  position:relative !important;
  display:inline-block !important;
  line-height:0 !important;
  vertical-align:middle !important;
  max-width:100% !important;
}
.edmmix-avatar-wrap::before,
.edmmix-avatar-wrap::after{
  content:none !important;
  display:none !important;
}
/* 有 V 标时隐藏主题自带黄色皇冠 */
a:has(> .edmmix-avatar-wrap) > .vip,
a:has(> .edmmix-avatar-wrap) > span.vip,
.nav-login .edmmix-avatar-wrap ~ .vip,
.nav-login a:has(.edmmix-avatar-wrap) > span:not(.edmmix-v-badge),
.user-info a:has(.edmmix-avatar-wrap) > .vip,
.user-wap-box1 a:has(.edmmix-avatar-wrap) > .vip,
.user-wap-box1 a:has(.edmmix-avatar-wrap) > span.vip,
.archive-avatar:has(.edmmix-avatar-wrap) > span:not(.edmmix-avatar-wrap),
.edit-avatar:has(.edmmix-avatar-wrap) > .vip{
  display:none !important;
}
.edmmix-avatar-wrap img,
.edmmix-avatar-wrap .avatar{
  display:block !important;
}
.edmmix-v-badge{
  position:absolute !important;
  right:-2px !important;
  bottom:-2px !important;
  width:18px !important;
  height:18px !important;
  border-radius:50% !important;
  background:linear-gradient(135deg,#60A5FA 0%,#2563EB 100%) !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  font-style:normal !important;
  font-family:Arial,Helvetica,sans-serif !important;
  line-height:1 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:2px solid #fff !important;
  box-shadow:none !important;
  z-index:3 !important;
  box-sizing:border-box !important;
  pointer-events:auto !important;
  cursor:default !important;
  text-decoration:none !important;
  -webkit-text-fill-color:#fff !important;
}
/* 世界上最漂亮可爱的用户：粉色 V（外圈保持白色） */
.edmmix-v-badge.edmmix-v-badge--pretty,
.edmmix-avatar-wrap--pretty .edmmix-v-badge{
  background:linear-gradient(135deg,#F9A8D4 0%,#EC4899 55%,#DB2777 100%) !important;
  border:2px solid #fff !important;
  box-shadow:none !important;
}
/* 官方管理账号：深蓝 V */
.edmmix-v-badge.edmmix-v-badge--admin,
.edmmix-avatar-wrap--admin .edmmix-v-badge{
  background:linear-gradient(135deg,#60A5FA 0%,#2563EB 55%,#1D4ED8 100%) !important;
  border:2px solid #fff !important;
  box-shadow:none !important;
}
/* 悬停显示身份（如「贵宾用户」） */
.edmmix-v-badge[data-edmmix-role]::after{
  content:attr(data-edmmix-role) !important;
  display:none !important;
  position:absolute !important;
  left:50% !important;
  bottom:calc(100% + 6px) !important;
  transform:translateX(-50%) !important;
  white-space:nowrap !important;
  padding:4px 8px !important;
  border-radius:6px !important;
  background:rgba(15,23,42,.92) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:600 !important;
  font-style:normal !important;
  font-family:"Noto Sans SC",Arial,sans-serif !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  border:0 !important;
  box-shadow:0 4px 12px rgba(15,23,42,.18) !important;
  z-index:20 !important;
  pointer-events:none !important;
  -webkit-text-fill-color:#fff !important;
}
.edmmix-v-badge[data-edmmix-role]:hover::after,
.edmmix-v-badge[data-edmmix-role]:focus-visible::after{
  display:block !important;
}
/* 消息中心：悬浮 V 标不显示身份提示 */
body.edmmix-msg-hub-page .edmmix-msg-hub .edmmix-v-badge[data-edmmix-role]:hover::after,
body.edmmix-msg-hub-page .edmmix-msg-hub .edmmix-v-badge[data-edmmix-role]:focus-visible::after,
body.edmmix-msg-hub-page .edmmix-msg-hub .edmmix-v-badge[data-edmmix-role]::after{
  display:none !important;
  content:none !important;
}
/* 头像在 <a> 内时，链接下划线会穿出 V 标（看起来像多一截） */
a:has(.edmmix-avatar-wrap),
a:has(.edmmix-v-badge),
#buddypress #item-header-avatar a,
#buddypress .activity-avatar a,
#buddypress .acomment-avatar a,
#buddypress #whats-new-avatar a,
.edmmix-avatar-wrap,
.nav-login a:has(.edmmix-avatar-wrap),
.comment .comt-avatar a{
  text-decoration:none !important;
}
#buddypress #item-header-avatar a .edmmix-avatar-wrap{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
#buddypress #item-header-avatar .edmmix-v-badge{
  width:22px !important;
  height:22px !important;
  font-size:12px !important;
  right:-2px !important;
  bottom:-2px !important;
}
#buddypress .activity-avatar .edmmix-avatar-wrap,
#buddypress .acomment-avatar .edmmix-avatar-wrap,
#buddypress #whats-new-avatar .edmmix-avatar-wrap{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
#buddypress .activity-avatar .edmmix-v-badge,
#buddypress .acomment-avatar .edmmix-v-badge,
#buddypress #whats-new-avatar .edmmix-v-badge{
  width:16px !important;
  height:16px !important;
  font-size:10px !important;
}
.edmmix-account-avatar .edmmix-avatar-wrap{
  display:block !important;
  width:100% !important;
  height:100% !important;
}
.edmmix-account-avatar .edmmix-v-badge{
  width:20px !important;
  height:20px !important;
  font-size:11px !important;
}
@media (max-width:768px){
  #buddypress #item-header-avatar .edmmix-v-badge{
    width:18px !important;
    height:18px !important;
    font-size:11px !important;
  }
}
.edmmix-author-empty { text-align: center !important; }

/* edmmix-buddypress */
body.buddypress .sidebar,
body.bp-user .sidebar,
body.members .sidebar,
.buddypress .sidebar{
  display:none !important;
}
body.buddypress .content-wrap,
body.bp-user .content-wrap,
body.members .content-wrap,
body.buddypress .content,
body.bp-user .content,
body.members .content{
  width:100% !important;
  float:none !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
body.buddypress .main > .container,
body.bp-user .main > .container,
body.members .main > .container{
  max-width:960px !important;
  margin:0 auto !important;
  padding:0 20px 48px !important;
}
/* hide duplicate Modown page title band on member profile */
body.bp-user .banner-page,
body.bp-user .article-header,
body.bp-user .article-title,
body.bp-user article > header,
body.bp-user .archive-title,
body.bp-user h1.archive-title,
body.members.bp-user .page-header{
  display:none !important;
}
body.bp-user .article,
body.buddypress .article,
body.members .article,
body.bp-user .single-content,
body.buddypress .single-content{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
}
#buddypress.buddypress-wrap{
  max-width:980px !important;
  margin:28px auto 0 !important;
  font-family:inherit !important;
}
/* Profile header — Weibo-style left layout */
#buddypress #item-header,
#buddypress .users-header{
  position:relative !important;
  background:#fff !important;
  margin:0 0 14px !important;
  padding:0 0 14px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:16px !important;
  overflow:visible !important;
  box-shadow:0 4px 18px rgba(15,23,42,.04) !important;
}
#buddypress #item-header::before{
  content:none !important;
  display:none !important;
  height:0 !important;
}
#buddypress #cover-image-container{
  position:relative !important;
  min-height:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  overflow:hidden !important;
}
#buddypress #header-cover-image{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  border:0 !important;
  background:none !important;
  background-color:transparent !important;
}
#buddypress #item-header:has(#header-cover-image)::before{
  display:none !important;
}
#buddypress #item-header-cover-image{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  z-index:1 !important;
  text-align:left !important;
  align-items:stretch !important;
}
/* Avatar left — no cover bar */
#buddypress .edmmix-bp-avatar-col{
  float:left !important;
  display:block !important;
  width:100px !important;
  margin:16px 8px 8px 18px !important;
  padding:0 !important;
  position:relative !important;
  z-index:3 !important;
  overflow:visible !important;
}
#buddypress #item-header > #item-header-avatar,
#buddypress #item-header-avatar{
  float:left !important;
  display:block !important;
  width:84px !important;
  margin:16px 8px 8px 18px !important;
  padding:0 !important;
  position:relative !important;
  z-index:3 !important;
  background:transparent !important;
  box-shadow:none !important;
  justify-content:flex-start !important;
}
#buddypress .edmmix-bp-avatar-col #item-header-avatar{
  float:none !important;
  margin:0 !important;
}
#buddypress #item-header-avatar a{
  display:block !important;
  width:84px !important;
  height:84px !important;
  margin:0 !important;
  padding:0 !important;
  line-height:0 !important;
  border:0 !important;
  border-radius:50% !important;
  overflow:visible !important;
  background:transparent !important;
  box-shadow:none !important;
}
#buddypress #item-header-avatar a .edmmix-avatar-wrap{
  display:block !important;
  width:100% !important;
  height:100% !important;
  border-radius:50% !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
/* 圆形裁切只作用在图片，避免白边在 V 标旁多出一截 */
#buddypress #item-header-avatar a .edmmix-avatar-wrap img,
#buddypress #item-header-avatar a > img{
  border-radius:50% !important;
  border:0 !important;
  background:#fff !important;
  box-shadow:0 2px 10px rgba(15,23,42,.12) !important;
}
/* 有 V 标时去掉阴影，避免角标旁多出一截弧线 */
#buddypress #item-header-avatar a .edmmix-avatar-wrap--verified img{
  box-shadow:none !important;
}
#buddypress #item-header-avatar a::before,
#buddypress #item-header-avatar a::after,
#buddypress #item-header-avatar::before,
#buddypress #item-header-avatar::after{
  content:none !important;
  display:none !important;
}
#buddypress #item-header-avatar img,
#buddypress #item-header-avatar .avatar{
  position:static !important;
  display:block !important;
  width:84px !important;
  height:84px !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:50% !important;
  border:0 !important;
  box-sizing:border-box !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:#fff !important;
  box-shadow:0 2px 10px rgba(15,23,42,.12) !important;
  float:none !important;
  max-width:none !important;
}
#buddypress #item-header-avatar .edmmix-avatar-wrap--verified img,
#buddypress #item-header-avatar .edmmix-avatar-wrap--verified .avatar{
  box-shadow:none !important;
}
/* Content column + action buttons on the right */
#buddypress #item-header > #item-header-content,
#buddypress #item-header-content{
  float:none !important;
  display:block !important;
  overflow:visible !important;
  width:auto !important;
  margin:0 !important;
  padding:26px 100px 4px 0 !important;
  text-align:left !important;
  position:relative !important;
  min-height:84px !important;
}
#buddypress #item-header-content h2.user-nicename,
#buddypress #item-header-content .user-nicename{
  display:none !important;
}
#buddypress .edmmix-bp-name-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:6px !important;
  flex-wrap:nowrap !important;
  max-width:100% !important;
  margin:6px 0 10px !important;
  line-height:1 !important;
  vertical-align:middle !important;
}
#buddypress .edmmix-bp-name{
  display:inline-flex !important;
  align-items:center !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  width:auto !important;
  max-width:none !important;
  font-size:20px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1 !important;
  height:20px !important;
  background:transparent !important;
  vertical-align:middle !important;
}
#buddypress .edmmix-bp-sex{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:20px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  flex:0 0 auto !important;
  align-self:center !important;
  font-size:20px !important;
  font-weight:700 !important;
  line-height:1 !important;
  position:static !important;
  top:auto !important;
  bottom:auto !important;
  transform:none !important;
  vertical-align:middle !important;
  font-family:"Segoe UI Symbol","Apple Symbols","Noto Sans Symbols",sans-serif !important;
}
#buddypress .edmmix-bp-sex--male{
  background:transparent !important;
  color:#3B82F6 !important;
}
#buddypress .edmmix-bp-sex--female{
  background:transparent !important;
  color:#EC4899 !important;
}
#buddypress .edmmix-bp-chip--uid{
  font-variant-numeric:tabular-nums !important;
  user-select:all;
}
#buddypress .edmmix-bp-meta-line{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  margin:6px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  width:max-content !important;
  max-width:none !important;
  overflow:visible !important;
}
#buddypress .edmmix-bp-chip{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:2px 7px !important;
  border:0 !important;
  border-radius:3px !important;
  background:#F2F3F5 !important;
  color:#61666D !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1.4 !important;
  white-space:nowrap !important;
}
#buddypress #item-header-content .activity{
  display:none !important;
}
#buddypress #item-header-content #latest-update,
#buddypress #latest-update{
  display:none !important;
}
#buddypress #item-header-content .item-meta{
  margin:0 !important;
  clear:none !important;
}
/* Action buttons top-right, aligned with avatar */
#buddypress #item-buttons{
  float:none !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
  padding:0 !important;
  position:absolute !important;
  top:28px !important;
  right:18px !important;
  z-index:4 !important;
}
#buddypress #item-buttons .generic-button,
#buddypress #item-buttons .follow-button{
  margin:0 !important;
  float:none !important;
}
#buddypress #item-buttons a.follow,
#buddypress #item-buttons a.unfollow,
#buddypress #item-buttons a.button,
#buddypress #item-buttons a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:72px !important;
  height:32px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  border:1px solid #93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  text-shadow:none !important;
}
#buddypress #item-buttons a.unfollow,
#buddypress #item-buttons a.following{
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  border:1px solid #93C5FD !important;
}
#buddypress #item-buttons a.edmmix-account-link,
#buddypress .edmmix-bp-to-account,
#buddypress .edmmix-bp-to-account a{
  display:none !important;
}
.user-main .usermenus .usermenu-bp-home a,
ul.usermenus .usermenu-bp-home a{
  color:inherit !important;
}
.user-tips .edmmix-bp-home-link,
.user-panel .edmmix-bp-home-link{
  display:block !important;
  padding:6px 12px !important;
  color:#334155 !important;
  text-decoration:none !important;
  font-size:13px !important;
}
#buddypress .bp-wrap,
#buddypress #item-body,
#buddypress #item-nav{
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}
/* Activity feed: no outer card wrapping each strip */
body.activity #buddypress #item-body,
body.bp-user.activity #buddypress #item-body,
body.my-activity #buddypress #item-body,
#buddypress #item-body:has(ul.activity-list){
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
body.directory.activity #buddypress,
body.activity.directory #buddypress{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
#buddypress #item-nav{
  margin:0 0 12px !important;
  padding:0 !important;
}
#buddypress #item-body{
  margin:0 !important;
  padding:16px 18px 20px !important;
  border-radius:16px !important;
}
/* hide noisy secondary navs + Public Message button (keep notifications/messages subnav) */
body.bp-user:not(.notifications):not(.messages) #buddypress #subnav,
body.bp-user #buddypress .user-subnav,
body.bp-user #buddypress .view-profile-screen,
body.bp-user #buddypress #activity-filter-select,
body.bp-user #buddypress .activity-type-navs,
body.buddypress:not(.notifications):not(.messages) #buddypress #subnav,
body.buddypress:not(.notifications):not(.messages) #buddypress div.item-list-tabs#subnav,
/* Activity directory: hide 所有成员/@我 tabs + 加载最新动态 */
body.directory.activity #buddypress .item-list-tabs.activity-type-tabs,
body.activity.directory #buddypress .item-list-tabs.activity-type-tabs,
body.directory.activity #buddypress li.load-newest,
body.activity.directory #buddypress li.load-newest,
#buddypress #public-personal-li,
#buddypress li#public-personal-li,
#buddypress a#public,
#buddypress .profile .bp-widget > h2,
#buddypress .bp-widget > h2,
#buddypress #item-body .bp-widget > h2,
#buddypress .profile h2.profile-group-title,
#buddypress #send-public-message,
#buddypress a.send-public-message,
#buddypress .generic-button:has(#send-public-message),
#buddypress .generic-button:has(a.send-public-message){
  display:none !important;
}
/* Stats: 数字+文字横排 */
#buddypress .edmmix-bp-stats{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:18px !important;
  margin:0 0 8px !important;
  clear:none !important;
}
#buddypress .edmmix-bp-stat{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:baseline !important;
  gap:4px !important;
  text-decoration:none !important;
  color:#0F172A !important;
  min-width:0 !important;
  cursor:pointer !important;
  border-radius:4px !important;
  transition:color .15s ease !important;
}
a.edmmix-bp-stat:hover,
a.edmmix-bp-stat:hover strong{
  color:var(--theme-color,#60A5FA) !important;
}
a.edmmix-bp-stat:hover span{
  color:var(--theme-color,#60A5FA) !important;
}
#buddypress .edmmix-bp-stat strong{
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  color:#0F172A !important;
}
#buddypress .edmmix-bp-stat span{
  font-size:13px !important;
  color:#64748B !important;
  margin-top:0 !important;
  font-weight:400 !important;
}
#buddypress .edmmix-bp-bio{
  display:block !important;
  width:max-content !important;
  max-width:none !important;
  margin:8px 0 0 !important;
  padding:0 !important;
  color:#475569 !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.45 !important;
  text-align:left !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  word-break:normal !important;
}
#buddypress .edmmix-bp-bio--empty,
#buddypress .edmmix-bp-bio--empty a{
  color:#94A3B8 !important;
  text-decoration:none !important;
}
#buddypress .edmmix-bp-bio--empty a:hover{
  color:var(--theme-color,#60A5FA) !important;
}
#buddypress .edmmix-bp-bio a.edmmix-bio-mention,
#buddypress .edmmix-bp-bio a.edmmix-bio-mention:link,
#buddypress .edmmix-bp-bio a.edmmix-bio-mention:visited,
#buddypress .edmmix-bp-bio a.edmmix-bio-mention:hover,
#buddypress .edmmix-bp-bio a.edmmix-bio-mention:focus,
#buddypress .edmmix-bp-bio a.edmmix-bio-mention:focus-visible,
#buddypress .edmmix-bp-bio a.edmmix-bio-mention:active{
  color:var(--theme-color,#60A5FA) !important;
  text-decoration:none !important;
  font-weight:700 !important;
  outline:none !important;
  box-shadow:none !important;
  border-bottom:none !important;
}
.edmmix-bio-mention-list{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:calc(100% + 4px) !important;
  z-index:40 !important;
  max-height:220px !important;
  overflow:auto !important;
  margin:0 !important;
  padding:6px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 8px 24px rgba(15,23,42,.08) !important;
}
.edmmix-bio-mention-item{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  margin:0 !important;
  padding:8px 10px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#334155 !important;
  font-size:13px !important;
  text-align:left !important;
  cursor:pointer !important;
}
.edmmix-bio-mention-item:hover{
  background:#F8FAFC !important;
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-bio-mention-item img{
  width:22px !important;
  height:22px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  flex:0 0 auto !important;
}
#buddypress .follow-button a,
#buddypress .generic-button.follow-button a,
#buddypress #item-header .generic-button a{
  display:inline-flex !important;
  align-items:center !important;
  padding:9px 18px !important;
  border-radius:999px !important;
  border:1px solid #93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:13px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
#buddypress .follow-button a:hover{
  background:#DBEAFE !important;
  color:var(--theme-color,#60A5FA) !important;
}
#buddypress .follow-button.is-mutual a,
#buddypress .follow-button.is-mutual a.unfollow{
  border-color:#BFDBFE !important;
  background:#EFF6FF !important;
}
#buddypress #item-buttons{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
}
#buddypress #item-buttons .edmmix-pm-button,
#buddypress #item-buttons .generic-button.send-message,
#buddypress #item-buttons .send-message{
  display:inline-flex !important;
  margin:0 !important;
}
#buddypress #item-buttons .edmmix-pm-button a,
#buddypress #item-buttons a.send-message,
#buddypress #item-buttons a#send-private-message,
#buddypress #item-buttons a.edmmix-pm-link{
  display:inline-flex !important;
  align-items:center !important;
  padding:9px 18px !important;
  border-radius:999px !important;
  border:1px solid #93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:13px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
#buddypress #item-buttons .edmmix-pm-button a:hover,
#buddypress #item-buttons a.send-message:hover,
#buddypress #item-buttons a#send-private-message:hover{
  background:#DBEAFE !important;
  color:var(--theme-color,#60A5FA) !important;
  text-decoration:none !important;
}
/* Messages inbox / compose */
body.messages #buddypress #subnav,
body.bp-user.messages #buddypress #subnav,
body.messages #buddypress #subnav.item-list-tabs,
body.bp-user.messages #buddypress #subnav.item-list-tabs,
body.messages #buddypress div.item-list-tabs#subnav{
  display:block !important;
  margin:0 0 12px !important;
  padding:0 !important;
  min-height:0 !important;
  height:auto !important;
}
body.messages #buddypress #subnav #notices-personal-li,
body.bp-user.messages #buddypress #subnav #notices-personal-li{
  display:none !important;
}
body.messages #buddypress #message-threads,
body.bp-user.messages #buddypress #message-threads,
body.messages #buddypress table.messages-notices,
body.bp-user.messages #buddypress table.messages-notices{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 8px !important;
}
body.messages #buddypress #send_message_form label,
body.bp-user.messages #buddypress #send_message_form label{
  display:block !important;
  margin:0 0 6px !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:600 !important;
}
body.messages #buddypress #send_message_form input[type="text"],
body.messages #buddypress #send_message_form textarea,
body.bp-user.messages #buddypress #send_message_form input[type="text"],
body.bp-user.messages #buddypress #send_message_form textarea{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  border:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  background:#fff !important;
  color:#0F172A !important;
  box-shadow:none !important;
}
body.messages #buddypress #send_message_form #send,
body.bp-user.messages #buddypress #send_message_form #send,
body.messages #buddypress #send-reply #send,
body.bp-user.messages #buddypress #send-reply #send{
  display:inline-flex !important;
  align-items:center !important;
  padding:9px 18px !important;
  border-radius:999px !important;
  border:1px solid #93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer !important;
}
#buddypress #object-nav #messages-personal-li,
#buddypress #member-primary-nav #messages-personal-li,
#buddypress #object-nav #messages-personal-li a .no-count,
#buddypress #object-nav #notifications-personal-li,
#buddypress #member-primary-nav #notifications-personal-li,
#buddypress a#user-notifications,
#buddypress #object-nav #notifications-personal-li a .count,
#buddypress #object-nav #notifications-personal-li a .no-count{
  display:none !important;
}
/* Standalone message hub page (/xiaoxi/) — Bilibili-style 3-pane */
body.edmmix-msg-hub-page .sidebar,
body.page.edmmix-msg-hub-page .sidebar{
  display:none !important;
}
body.edmmix-msg-hub-page{
  background:#F1F5F9 !important;
}
body.edmmix-msg-hub-page .main,
body.edmmix-msg-hub-page .container.main,
body.page.edmmix-msg-hub-page .main{
  padding-top:0 !important;
  padding-bottom:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}
body.edmmix-msg-hub-page .content-wrap,
body.page.edmmix-msg-hub-page .content-wrap{
  width:100% !important;
  float:none !important;
  margin:0 auto !important;
  max-width:1120px !important;
  padding:8px 12px 10px !important;
}
body.edmmix-msg-hub-page .page-header,
body.edmmix-msg-hub-page .article .title,
body.edmmix-msg-hub-page .article > header,
body.edmmix-msg-hub-page .banner-page{
  display:none !important;
}
body.edmmix-msg-hub-page .article,
body.edmmix-msg-hub-page .single-content,
body.edmmix-msg-hub-page .content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
}
.edmmix-msg-hub--shell{
  display:flex !important;
  align-items:stretch !important;
  /* Fill most of viewport — less empty gray above/below */
  height:calc(100dvh - 128px) !important;
  min-height:520px !important;
  max-height:none !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  box-shadow:0 8px 28px rgba(15,23,42,.06) !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  position:relative !important;
}
.edmmix-msg-hub__flash{
  position:fixed !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:100050 !important;
  padding:10px 18px !important;
  border-radius:999px !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  max-width:min(86vw,320px) !important;
  text-align:center !important;
  pointer-events:none !important;
  box-shadow:0 10px 28px rgba(15,23,42,.18) !important;
  white-space:nowrap !important;
}
.edmmix-msg-hub__flash.is-ok{
  background:#60A5FA !important;
  color:#fff !important;
  border:1px solid #60A5FA !important;
  box-shadow:0 6px 18px rgba(96,165,250,.35) !important;
}
.edmmix-msg-hub__flash.is-err{
  background:#FEF2F2 !important;
  color:#B91C1C !important;
  border:1px solid #FECACA !important;
}
.edmmix-msg-hub__nav{
  flex:0 0 168px !important;
  width:168px !important;
  border-right:1px solid #EEF2F7 !important;
  background:#fff !important;
  display:flex !important;
  flex-direction:column !important;
  padding:14px 0 10px !important;
}
.edmmix-msg-hub__nav-brand{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:4px 16px 16px !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#0F172A !important;
}
.edmmix-msg-hub__nav-brand-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:28px !important;
  height:28px !important;
  border-radius:8px !important;
  background:#EFF6FF !important;
  color:#60A5FA !important;
}
.edmmix-msg-hub__nav-list{
  display:flex !important;
  flex-direction:column !important;
  gap:2px !important;
  padding:0 8px !important;
  flex:1 1 auto !important;
}
.edmmix-msg-hub__nav-item{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  padding:10px 12px !important;
  border-radius:10px !important;
  color:#334155 !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
}
.edmmix-msg-hub__nav-item:hover{
  background:#F8FAFC !important;
  text-decoration:none !important;
  color:#0F172A !important;
}
.edmmix-msg-hub__nav-item.is-active{
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-msg-hub__nav-badge{
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:#EF4444 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:18px !important;
  text-align:center !important;
}
.edmmix-msg-hub__nav-dot{
  width:8px !important;
  height:8px !important;
  border-radius:50% !important;
  background:#60A5FA !important;
  flex:0 0 auto !important;
}
.edmmix-msg-hub__nav-foot{
  margin-top:auto !important;
  padding:12px 16px 4px !important;
  border-top:1px solid #EEF2F7 !important;
}
.edmmix-msg-hub__nav-settings{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  color:#64748B !important;
  font-size:12px !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.edmmix-msg-hub__nav-settings .edmmix-msg-hub__settings-ico{
  flex:0 0 auto !important;
  width:1em !important;
  height:1em !important;
  overflow:visible !important;
  display:block !important;
}
.edmmix-msg-hub__nav-settings:hover{
  color:var(--theme-color,#60A5FA) !important;
  text-decoration:none !important;
}
.edmmix-msg-hub__stage{
  flex:1 1 auto !important;
  min-width:0 !important;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column !important;
  background:#fff !important;
  overflow:hidden !important;
}
.edmmix-msg-hub__topbar{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  min-height:52px !important;
  padding:0 16px !important;
  border-bottom:1px solid #EEF2F7 !important;
  background:#fff !important;
}
body.edmmix-msg-hub-view .edmmix-msg-hub__topbar{
  justify-content:flex-start !important;
}
.edmmix-msg-hub__top-title{
  margin:0 !important;
  padding:0 !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  border:0 !important;
  border-left:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
body.edmmix-msg-hub-view .edmmix-msg-hub__top-title{
  text-align:left !important;
  width:auto !important;
}
.edmmix-msg-hub__top-title::before,
.edmmix-msg-hub__top-title::after,
.edmmix-msg-hub__topbar h1::before,
.edmmix-msg-hub__topbar h1::after{
  content:none !important;
  display:none !important;
  border:0 !important;
  width:0 !important;
  height:0 !important;
  background:none !important;
}
.edmmix-msg-hub__stage,
.edmmix-msg-hub__topbar{
  border-left:0 !important;
}
.edmmix-msg-hub__compose{
  display:inline-flex !important;
  align-items:center !important;
  padding:6px 12px !important;
  border-radius:999px !important;
  border:1px solid #93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:12px !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.edmmix-msg-hub__compose:hover{
  background:#DBEAFE !important;
  text-decoration:none !important;
}
.edmmix-msg-hub__cols{
  display:flex !important;
  flex:1 1 auto !important;
  min-height:0 !important;
}
.edmmix-msg-hub__mid{
  flex:0 0 260px !important;
  width:260px !important;
  border-right:1px solid #EEF2F7 !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  background:#fff !important;
}
.edmmix-msg-hub--notif .edmmix-msg-hub__mid,
.edmmix-msg-hub--settings .edmmix-msg-hub__mid{
  display:none !important;
}
.edmmix-msg-hub--settings .edmmix-msg-hub__main{
  background:#fff !important;
  padding:18px 20px 24px !important;
  overflow:auto !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.edmmix-msg-hub__nav-settings.is-active{
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-msg-hub__settings .edmmix-email-notif{
  margin:0 !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  background:transparent !important;
  width:100% !important;
  max-width:none !important;
}
.edmmix-msg-hub__settings .edmmix-email-notif__head{
  margin:0 0 14px !important;
  font-size:15px !important;
}
.edmmix-msg-hub__mid-head{
  padding:12px 14px 8px !important;
  font-size:12px !important;
  font-weight:700 !important;
  color:#94A3B8 !important;
  letter-spacing:.02em !important;
}
.edmmix-msg-hub__mid-head--crumb{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:6px !important;
}
.edmmix-msg-hub__crumb-link{
  color:#94A3B8 !important;
  text-decoration:none !important;
  font-weight:700 !important;
}
.edmmix-msg-hub__crumb-link:hover{
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-msg-hub__crumb-sep{
  color:#CBD5E1 !important;
  font-weight:700 !important;
}
.edmmix-msg-hub__crumb-cur{
  color:#64748B !important;
  font-weight:700 !important;
}
/* 电脑版陌生人：左侧中栏显示面包屑列表；主栏隐藏手机那套返回头/列表 */
.edmmix-msg-hub__mid--strangers{
  display:none !important;
}
.edmmix-msg-hub__idle--strangers-desk{
  display:none !important;
}
@media (min-width:721px){
  .edmmix-msg-hub--strangers.edmmix-msg-hub--notif .edmmix-msg-hub__mid--strangers{
    display:flex !important;
  }
  .edmmix-msg-hub--strangers.edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__notif-head,
  .edmmix-msg-hub--strangers.edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__convos--strangers,
  .edmmix-msg-hub--strangers.edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__empty{
    display:none !important;
  }
  .edmmix-msg-hub--strangers.edmmix-msg-hub--notif .edmmix-msg-hub__idle--strangers-desk{
    display:flex !important;
  }
}
.edmmix-msg-hub__convos,
.edmmix-msg-hub__list{
  list-style:none !important;
  margin:0 !important;
  padding:0 0 8px !important;
  overflow:auto !important;
  flex:1 1 auto !important;
  scrollbar-width:none !important; /* Firefox */
  -ms-overflow-style:none !important; /* old Edge */
}
.edmmix-msg-hub__convos::-webkit-scrollbar,
.edmmix-msg-hub__list::-webkit-scrollbar,
.edmmix-msg-hub__thread::-webkit-scrollbar,
.edmmix-msg-hub--settings .edmmix-msg-hub__main::-webkit-scrollbar,
.edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__list::-webkit-scrollbar,
.edmmix-msg-hub--settings .edmmix-msg-hub__main > .edmmix-msg-hub__settings::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}
.edmmix-msg-hub__convo{
  margin:0 !important;
  padding:0 !important;
}
.edmmix-msg-hub__convo-row,
.edmmix-msg-hub__row-inner{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:12px 14px !important;
  width:100% !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__convo-link,
.edmmix-msg-hub__row-link{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  padding:0 !important;
  border:0 !important;
  border-left:0 !important;
  box-shadow:none !important;
  outline:none !important;
  text-decoration:none !important;
  color:inherit !important;
}
.edmmix-msg-hub__convo-link:hover{
  background:transparent !important;
  text-decoration:none !important;
}
.edmmix-msg-hub__convo-row:hover{
  background:#F8FAFC !important;
}
.edmmix-msg-hub__convo.is-active .edmmix-msg-hub__convo-row{
  background:#F1F5F9 !important;
}
.edmmix-msg-hub__row-link:hover{
  background:transparent !important;
  text-decoration:none !important;
}
.edmmix-msg-hub__row:hover,
.edmmix-msg-hub__row:focus-within{
  background:#F8FAFC !important;
}
.edmmix-msg-hub__convo.is-active .edmmix-msg-hub__convo-link{
  background:transparent !important;
  border:0 !important;
  border-left:0 !important;
  box-shadow:none !important;
}
.edmmix-msg-hub__avatar,
a.edmmix-msg-hub__avatar{
  flex:0 0 auto !important;
  width:40px !important;
  height:40px !important;
  display:block !important;
  position:relative !important;
  overflow:visible !important;
  text-decoration:none !important;
  color:inherit !important;
}
a.edmmix-msg-hub__avatar:hover,
a.edmmix-msg-hub__bubble-avatar:hover{
  opacity:.88 !important;
}
a.edmmix-msg-hub__chat-peer{
  text-decoration:none !important;
  color:inherit !important;
}
a.edmmix-msg-hub__chat-peer:hover{
  color:#60A5FA !important;
}
.edmmix-msg-hub__avatar img,
.edmmix-msg-hub__avatar .avatar{
  width:40px !important;
  height:40px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  display:block !important;
}
.edmmix-msg-hub__avatar .edmmix-avatar-wrap{
  position:relative !important;
  display:block !important;
  width:40px !important;
  height:40px !important;
  line-height:0 !important;
}
.edmmix-msg-hub__avatar .edmmix-v-badge{
  display:inline-flex !important;
  z-index:2 !important;
}
/* 手机互动列表：去掉类型彩点；保留 V 认证标 */
.edmmix-msg-hub__row-badge{
  display:none !important;
}
.edmmix-msg-hub__avatar > .vip,
.edmmix-msg-hub__avatar > span.vip,
.edmmix-msg-hub a.edmmix-msg-hub__avatar > .vip{
  display:none !important;
}
.edmmix-msg-hub__convo-main,
.edmmix-msg-hub__main-text{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
}
.edmmix-msg-hub__name{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  font-size:13px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
}
.edmmix-msg-hub__excerpt,
.edmmix-msg-hub__text{
  font-size:12px !important;
  color:#94A3B8 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  line-height:1.4 !important;
}
.edmmix-msg-hub__text{
  white-space:normal !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  color:#475569 !important;
  font-size:13px !important;
}
.edmmix-msg-hub__excerpt{
  display:block !important;
  max-width:100% !important;
}
.edmmix-msg-hub__time{
  font-size:11px !important;
  color:#94A3B8 !important;
}
/* 微信式未读角标：叠在头像/图标右上角，1–99 / 99+ */
.edmmix-msg-hub__unread-badge{
  position:absolute !important;
  top:-5px !important;
  right:-6px !important;
  z-index:4 !important;
  box-sizing:border-box !important;
  min-width:16px !important;
  height:16px !important;
  padding:0 4px !important;
  border-radius:999px !important;
  background:#FA5151 !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:16px !important;
  text-align:center !important;
  white-space:nowrap !important;
  pointer-events:none !important;
  box-shadow:0 0 0 1.5px #fff !important;
}
.edmmix-msg-hub__inbox-ico,
.edmmix-msg-hub__stranger-ico{
  position:relative !important;
  overflow:visible !important;
}
.edmmix-msg-hub__dot{
  display:inline-block !important;
  flex:0 0 auto !important;
  width:8px !important;
  height:8px !important;
  margin-left:auto !important;
  border-radius:50% !important;
  background:#FA5151 !important;
  box-shadow:0 0 0 1.5px #fff !important;
  align-self:center !important;
}
.edmmix-msg-hub__inbox-badge,
.edmmix-msg-hub__stranger-badge{
  display:none !important;
}
.edmmix-msg-hub__main{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  background:#F8FAFC !important;
  min-height:0 !important;
  overflow:hidden !important;
}
.edmmix-msg-hub--notif .edmmix-msg-hub__main{
  background:#fff !important;
}
.edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__list,
.edmmix-msg-hub--settings .edmmix-msg-hub__main > .edmmix-msg-hub__settings{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow:auto !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__empty{
  margin:auto !important;
}
.edmmix-msg-hub__chat-head{
  position:relative !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  padding:8px 40px !important;
  border-bottom:1px solid #EEF2F7 !important;
  background:#fff !important;
}
.edmmix-msg-hub__chat-back{
  position:absolute !important;
  left:6px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:5 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:32px !important;
  height:32px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#64748B !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
  cursor:pointer !important;
}
.edmmix-msg-hub__chat-back:hover{
  background:#F1F5F9 !important;
  color:#0F172A !important;
}
.edmmix-msg-hub__chat-back svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
}
.edmmix-msg-hub__chat-peer{
  font-size:15px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.3 !important;
  max-width:calc(100% - 24px) !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.edmmix-msg-hub__chat-more{
  position:absolute !important;
  right:6px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:5 !important;
}
.edmmix-msg-hub__chat-more-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:32px !important;
  height:32px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#64748B !important;
  font-size:20px !important;
  line-height:1 !important;
  cursor:pointer !important;
}
.edmmix-msg-hub__chat-more-btn:hover{
  background:#F1F5F9 !important;
  color:#0F172A !important;
}
.edmmix-msg-hub__chat-menu{
  position:absolute !important;
  right:0 !important;
  top:calc(100% + 4px) !important;
  min-width:148px !important;
  padding:6px !important;
  border-radius:10px !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  box-shadow:0 10px 28px rgba(15,23,42,.12) !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__chat-menu[hidden]{ display:none !important; }
.edmmix-msg-hub__chat-menu-item{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:9px 12px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#0F172A !important;
  font-size:14px !important;
  text-align:left !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__chat-menu-item:hover{
  background:#F1F5F9 !important;
}
.edmmix-msg-hub__chat-menu-item.is-danger{
  color:#DC2626 !important;
}
.edmmix-msg-hub__chat-menu-item.is-danger:hover{
  background:#FEF2F2 !important;
}
.edmmix-msg-hub__draft-tag{
  color:#FA5151 !important;
  font-weight:400 !important;
  margin:0 !important;
  padding:0 !important;
}
.edmmix-msg-hub__draft-media,
.edmmix-msg-hub__draft-text{
  color:#888888 !important;
  font-weight:400 !important;
}
.edmmix-msg-hub__convo.has-text-draft .edmmix-msg-hub__excerpt{
  color:#888888 !important;
  display:block !important;
  max-width:100% !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
}
.edmmix-msg-hub__convo.is-pinned{
  background:#F8FAFC !important;
}
.edmmix-msg-hub__idle{
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  padding:32px 16px !important;
  color:#94A3B8 !important;
}
.edmmix-msg-hub__thread > .edmmix-msg-hub__idle--thread{
  min-height:180px !important;
  width:100% !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__idle-art{
  position:relative !important;
  width:120px !important;
  height:72px !important;
}
.edmmix-msg-hub__idle-blob{
  position:absolute !important;
  width:56px !important;
  height:56px !important;
  border-radius:50% !important;
  background:linear-gradient(145deg,#DBEAFE,#BFDBFE) !important;
  box-shadow:0 8px 18px rgba(96,165,250,.25) !important;
}
.edmmix-msg-hub__idle-blob--a{ left:8px; top:10px; }
.edmmix-msg-hub__idle-blob--b{
  right:8px; top:0;
  background:linear-gradient(145deg,#FCE7F3,#FBCFE8) !important;
  box-shadow:0 8px 18px rgba(244,114,182,.2) !important;
}
.edmmix-msg-hub__idle-text{
  margin:0 !important;
  font-size:14px !important;
  color:#94A3B8 !important;
}
.edmmix-msg-hub__empty,
.edmmix-msg-hub__empty--mid{
  margin:24px 12px !important;
  color:#94A3B8 !important;
  font-size:13px !important;
  text-align:center !important;
}
.edmmix-msg-hub__thread{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  flex:1 1 auto !important;
  overflow:auto !important;
  padding:16px 16px 8px !important;
  min-height:0 !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.edmmix-msg-hub__item{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:8px !important;
  width:100% !important;
  margin:0 0 14px !important;
}
.edmmix-msg-hub__row-msg{
  display:flex !important;
  align-items:flex-start !important;
  gap:8px !important;
  width:100% !important;
}
.edmmix-msg-hub__item[data-mine="1"] .edmmix-msg-hub__row-msg{
  flex-direction:row-reverse !important;
}
.edmmix-msg-hub__pick{
  display:none !important;
  flex:0 0 40px !important;
  width:40px !important;
  height:40px !important;
  align-self:flex-start !important;
  margin:0 !important;
  padding:0 !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub.is-selecting .edmmix-msg-hub__pick{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.edmmix-msg-hub__check{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  border:1.5px solid #CBD5E1 !important;
  border-radius:50% !important;
  background:#fff !important;
  cursor:pointer !important;
  flex:0 0 18px !important;
  display:block !important;
  box-shadow:none !important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease !important;
}
.edmmix-msg-hub__check:hover{
  border-color:#60A5FA !important;
}
.edmmix-msg-hub__check:checked{
  border-color:#60A5FA !important;
  background:#60A5FA !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E") !important;
  background-size:12px 12px !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  box-shadow:none !important;
}
.edmmix-msg-hub__check:focus{
  outline:none !important;
}
.edmmix-msg-hub__check:focus-visible{
  box-shadow:none !important;
}
.edmmix-msg-hub__item.is-reminded .edmmix-msg-hub__bubble-main::after{
  content:"" !important;
  display:inline-block !important;
  width:8px !important;
  height:8px !important;
  border-radius:50% !important;
  background:#F59E0B !important;
  margin-top:2px !important;
}
.edmmix-msg-hub__item.is-flash .edmmix-msg-hub__bubble-body{
  animation:edmmixMsgFlash 1.2s ease 2 !important;
}
@keyframes edmmixMsgFlash{
  0%,100%{ box-shadow:none; }
  50%{ box-shadow:0 0 0 3px rgba(245,158,11,.35); }
}
.edmmix-msg-hub__time-line{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin:0 !important;
  padding:2px 0 !important;
  text-align:center !important;
  font-size:12px !important;
  line-height:1.3 !important;
  color:#94A3B8 !important;
  font-weight:500 !important;
}
.edmmix-msg-hub__time-line > span{
  display:inline-block !important;
}
.edmmix-msg-hub__bubble{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-start !important;
  gap:8px !important;
  width:fit-content !important;
  max-width:78% !important;
  align-self:flex-start !important;
  cursor:default !important;
  user-select:text !important;
}
@media (max-width:720px){
  .edmmix-msg-hub__bubble,
  .edmmix-msg-hub__bubble-text,
  .edmmix-msg-hub__bubble-body{
    -webkit-touch-callout:none !important;
    -webkit-user-select:none !important;
    user-select:none !important;
  }
}
.edmmix-msg-hub__bubble.is-pending,
.edmmix-msg-hub__item.is-pending .edmmix-msg-hub__bubble,
.edmmix-msg-hub__item.is-pending .edmmix-msg-hub__bubble-avatar,
.edmmix-msg-hub__item.is-pending .edmmix-msg-hub__bubble-avatar img,
.edmmix-msg-hub__item.is-pending .edmmix-msg-hub__bubble-avatar .avatar{
  opacity:1 !important;
  filter:none !important;
}
.edmmix-msg-hub__send-status{
  display:none !important;
  flex:0 0 14px !important;
  width:14px !important;
  height:14px !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  border:2px solid rgba(0,0,0,.14) !important;
  border-top-color:#7a7a7a !important;
  border-radius:50% !important;
  background:transparent !important;
  align-self:center !important;
  opacity:1 !important;
}
.edmmix-msg-hub__item.is-pending .edmmix-msg-hub__send-status{
  display:block !important;
  animation:edmmix-msg-send-spin .7s linear infinite !important;
}
/* 转圈放在 bubble 内（row-reverse），紧贴气泡正文左侧 */
.edmmix-msg-hub__bubble.is-mine .edmmix-msg-hub__send-status{
  margin:0 -2px 0 0 !important;
}
@keyframes edmmix-msg-send-spin{
  to{ transform:rotate(360deg); }
}
.edmmix-msg-hub__item.is-failed .edmmix-msg-hub__send-status,
.edmmix-msg-hub__send-status.is-fail{
  display:block !important;
  animation:none !important;
  border:none !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
  border-radius:50% !important;
  background:#FA5151 !important;
  position:relative !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
}
.edmmix-msg-hub__send-status.is-fail::before{
  content:"!" !important;
  position:absolute !important;
  left:0 !important;right:0 !important;top:0 !important;bottom:0 !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:18px !important;
  text-align:center !important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}
.edmmix-msg-hub__bubble.is-mine .edmmix-msg-hub__send-status.is-fail{
  margin:0 2px 0 0 !important;
}
.edmmix-msg-hub__bubble.is-mine{
  align-self:flex-end !important;
  flex-direction:row-reverse !important;
  margin-left:auto !important;
}
.edmmix-msg-hub__item[data-mine="1"] .edmmix-msg-hub__bubble{
  margin-left:auto !important;
}
.edmmix-msg-hub__item:not([data-mine="1"]) .edmmix-msg-hub__bubble{
  margin-right:auto !important;
}
.edmmix-msg-hub__bubble-main{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  flex:0 1 auto !important;
  width:fit-content !important;
  min-width:0 !important;
  max-width:100% !important;
}
.edmmix-msg-hub__bubble.is-mine .edmmix-msg-hub__bubble-main{
  align-items:flex-end !important;
}
.edmmix-msg-hub__bubble-meta{ display:none !important; }
.edmmix-msg-hub__bubble-avatar,
a.edmmix-msg-hub__bubble-avatar{
  flex:0 0 auto !important;
  width:40px !important;
  height:40px !important;
  display:block !important;
  text-decoration:none !important;
  color:inherit !important;
}
.edmmix-msg-hub__bubble-avatar img,
.edmmix-msg-hub__bubble-avatar .avatar{
  width:40px !important;
  height:40px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  display:block !important;
}
.edmmix-msg-hub__bubble-name{ display:none !important; }
.edmmix-msg-hub__bubble-time{ display:none !important; }
.edmmix-msg-hub__bubble-body{
  display:inline-block !important;
  width:fit-content !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  padding:10px 12px !important;
  border-radius:14px !important;
  background:#fff !important;
  color:#0F172A !important;
  font-size:14px !important;
  line-height:1.55 !important;
  white-space:pre-wrap !important;
  word-break:break-word !important;
  border:1px solid #E2E8F0 !important;
}
.edmmix-msg-hub__bubble.is-mine .edmmix-msg-hub__bubble-body{
  background:#DBEAFE !important;
  color:#1E3A8A !important;
  border-color:#BFDBFE !important;
}
.edmmix-msg-hub__bubble-text{
  display:inline !important;
  width:auto !important;
  max-width:100% !important;
  white-space:pre-wrap !important;
  word-break:break-word !important;
}
.edmmix-msg-hub__smile{
  width:22px !important;
  height:22px !important;
  vertical-align:-4px !important;
  margin:0 1px !important;
  display:inline !important;
}
.edmmix-msg-hub__excerpt .edmmix-msg-hub__smile,
.edmmix-msg-hub__smile--excerpt{
  width:16px !important;
  height:16px !important;
  vertical-align:-3px !important;
  margin:0 1px !important;
  display:inline !important;
}

.edmmix-msg-hub__bubble-body .edmmix-r2-media{
  margin:8px 0 0 !important;
  max-width:220px !important;
  width:100% !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media:first-child{ margin-top:0 !important; }
/* Media sits outside text bubble — rounded only, no chat bubble chrome */
.edmmix-msg-hub__bubble-media{
  max-width:220px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media{
  margin:0 !important;
  max-width:100% !important;
  width:100% !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-image-link,
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap,
.edmmix-msg-hub__bubble-body .edmmix-r2-image-link,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap{
  border-radius:12px !important;
  overflow:hidden !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-image-link),
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-image-link.is-landscape),
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-video-wrap.is-landscape){
  max-width:220px !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-image-link.is-portrait),
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-video-wrap.is-portrait){
  max-width:160px !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="2"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="4"]{
  max-width:200px !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="3"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="5"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="6"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="7"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="8"],
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="9"]{
  max-width:220px !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"] > .edmmix-r2-image-link,
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"] > .edmmix-r2-video-wrap{
  max-width:220px !important;
  max-height:240px !important;
  width:100% !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"] > .edmmix-r2-image-link.is-portrait,
.edmmix-msg-hub__bubble-media .edmmix-r2-media[data-count="1"] > .edmmix-r2-video-wrap.is-portrait{
  width:160px !important;
  max-width:160px !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-media .edmmix-r2-image,
.edmmix-msg-hub__bubble-media .edmmix-r2-media img{
  max-width:100% !important;
  max-height:240px !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  display:block !important;
  border-radius:12px !important;
}
/* PM images/videos: compact chat size (override activity 480px rules) */
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-image-link),
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-image-link.is-landscape),
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-video-wrap.is-landscape){
  max-width:220px !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-image-link.is-portrait),
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"]:has(> .edmmix-r2-video-wrap.is-portrait){
  max-width:160px !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="2"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="4"]{
  max-width:200px !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="3"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="5"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="6"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="7"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="8"],
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="9"]{
  max-width:220px !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"] > .edmmix-r2-image-link,
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"] > .edmmix-r2-video-wrap{
  max-width:220px !important;
  max-height:240px !important;
  width:100% !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"] > .edmmix-r2-image-link.is-portrait,
.edmmix-msg-hub__bubble-body .edmmix-r2-media[data-count="1"] > .edmmix-r2-video-wrap.is-portrait{
  width:160px !important;
  max-width:160px !important;
}
.edmmix-msg-hub__bubble-body .edmmix-r2-media .edmmix-r2-image,
.edmmix-msg-hub__bubble-body .edmmix-r2-media img{
  max-width:100% !important;
  max-height:240px !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  display:block !important;
}
/* PM videos: fixed frame + poster/play (no feed opacity:0 rules) */
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap{
  position:relative !important;
  display:block !important;
  aspect-ratio:16 / 9 !important;
  background:#E5E7EB !important;
  cursor:pointer !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap.is-portrait,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap.is-portrait{
  aspect-ratio:9 / 16 !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap video.edmmix-r2-video,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap video.edmmix-r2-video,
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap .edmmix-r2-poster-img,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap .edmmix-r2-poster-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap .edmmix-r2-poster-img,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap .edmmix-r2-poster-img{
  z-index:2 !important;
  pointer-events:none !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap video.edmmix-r2-video,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap video.edmmix-r2-video{
  z-index:1 !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap .edmmix-r2-play,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap .edmmix-r2-play{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:40px !important;
  height:40px !important;
  margin:-20px 0 0 -20px !important;
  border-radius:50% !important;
  background:rgba(71,85,105,.45) !important;
  z-index:3 !important;
  pointer-events:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
.edmmix-msg-hub__bubble-media .edmmix-r2-video-wrap .edmmix-r2-play::after,
.edmmix-msg-hub__bubble-body .edmmix-r2-video-wrap .edmmix-r2-play::after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:0 !important;
  height:0 !important;
  margin:-7px 0 0 -4px !important;
  border-style:solid !important;
  border-width:8px 0 8px 13px !important;
  border-color:transparent transparent transparent #F8FAFC !important;
}
.edmmix-msg-hub__reply,
.edmmix-msg-hub__compose-form{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
  border-top:1px solid #E2E8F0 !important;
}
.edmmix-msg-hub__compose-box{
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  width:100% !important;
  box-sizing:border-box !important;
  padding:12px 14px 12px !important;
  border-radius:0 !important;
  background:#F8FAFC !important;
  border:0 !important;
  box-shadow:none !important;
  outline:none !important;
}
.edmmix-msg-hub__reply > .edmmix-msg-hub__quote-bar{
  margin:8px 10px 0 !important;
}
.edmmix-msg-hub__compose-box .edmmix-msg-hub__tools{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:4px !important;
  margin:0 !important;
  order:0 !important;
}
.edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field{
  order:1 !important;
  margin:0 !important;
  position:relative !important;
}
.edmmix-msg-hub__compose-field.has-compose-editor textarea#edmmix-msg-content.is-compose-hidden,
.edmmix-msg-hub__compose-field.has-compose-editor textarea[name="edmmix_msg_content"].is-compose-hidden{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  padding:0 !important;
  opacity:0 !important;
  border:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
  z-index:-1 !important;
}
.edmmix-msg-hub__compose-editor{
  display:block !important;
  width:100% !important;
  min-height:72px !important;
  max-height:180px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#0F172A !important;
  font-size:14px !important;
  line-height:1.55 !important;
  outline:none !important;
  overflow-y:auto !important;
  white-space:pre-wrap !important;
  word-wrap:break-word !important;
  word-break:break-word !important;
  caret-color:#0F172A !important;
  -webkit-user-select:text !important;
  user-select:text !important;
  pointer-events:auto !important;
}
.edmmix-msg-hub__compose-editor.is-empty:before{
  content:attr(data-placeholder) !important;
  color:#94A3B8 !important;
  pointer-events:none !important;
}
.edmmix-msg-hub__compose-editor .edmmix-msg-hub__smile{
  width:22px !important;
  height:22px !important;
  vertical-align:-4px !important;
  margin:0 1px !important;
  display:inline !important;
}
.edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-foot{
  order:2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  margin:0 !important;
}
.edmmix-msg-hub__char-count{
  color:#94A3B8 !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.edmmix-msg-hub__compose-box #edmmix-r2-bar{
  order:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:0 !important;
  margin:0 !important;
  width:22px !important;
  min-width:22px !important;
  max-width:22px !important;
  flex:0 0 22px !important;
  overflow:visible !important;
}
.edmmix-msg-hub__compose-box #edmmix-r2-bar #edmmix-r2-tip,
.edmmix-msg-hub__compose-box #edmmix-r2-bar button:not(.edmmix-r2-ico-img){
  display:none !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  max-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  position:absolute !important;
  left:-9999px !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.edmmix-msg-hub__compose-box #edmmix-r2-bar button.edmmix-r2-ico-img{
  width:22px !important;
  min-width:22px !important;
  max-width:22px !important;
  height:22px !important;
  min-height:22px !important;
  max-height:22px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#64748B !important;
  font-size:0 !important;
  line-height:0 !important;
  box-shadow:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  visibility:visible !important;
  position:static !important;
  left:auto !important;
  pointer-events:auto !important;
}
.edmmix-msg-hub__compose-box #edmmix-r2-bar button.edmmix-r2-ico-img:hover{
  color:#334155 !important;
  background:transparent !important;
  border:0 !important;
}
.edmmix-msg-hub__compose-box #edmmix-r2-bar button.edmmix-r2-ico-img svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
  pointer-events:none !important;
}
.edmmix-msg-hub__compose-box .edmmix-smile-wrap{
  order:1 !important;
  margin:0 !important;
  line-height:0 !important;
}
.edmmix-msg-hub__compose-box .edmmix-smile-btn{
  width:22px !important;
  height:22px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#64748B !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  line-height:0 !important;
}
.edmmix-msg-hub__compose-box .edmmix-smile-btn:hover{
  color:#334155 !important;
}
.edmmix-msg-hub__compose-box .edmmix-smile-btn svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
}
.edmmix-msg-hub__compose-box textarea#edmmix-msg-content,
.edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field textarea{
  width:100% !important;
  min-height:72px !important;
  max-height:180px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#0F172A !important;
  font-size:14px !important;
  line-height:1.55 !important;
  resize:none !important;
  box-shadow:none !important;
  outline:none !important;
}
.edmmix-msg-hub__compose-box textarea#edmmix-msg-content::placeholder{
  color:#94A3B8 !important;
}
.edmmix-msg-hub__compose-box .edmmix-msg-hub__send,
.edmmix-msg-hub__compose-foot .edmmix-msg-hub__send{
  align-self:auto !important;
  min-width:64px !important;
  height:32px !important;
  padding:0 16px !important;
  border-radius:8px !important;
  border:1px solid #F1F5F9 !important;
  background:#fff !important;
  color:#111827 !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  margin:0 !important;
  box-shadow:none !important;
}
.edmmix-msg-hub__compose-box .edmmix-msg-hub__send:hover{
  background:#F9FAFB !important;
}
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__compose-foot .edmmix-msg-hub__send,
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__send{
  background:var(--theme-color,#60A5FA) !important;
  border-color:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
}
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__compose-foot .edmmix-msg-hub__send:hover,
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__send:hover{
  background:var(--theme-color,#60A5FA) !important;
  border-color:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  filter:brightness(.96) !important;
}
@media (max-width:720px){
  .edmmix-msg-hub__reply,
  .edmmix-msg-hub__compose-form{
    padding:0 !important;
    gap:0 !important;
    background:#F2F3F5 !important;
    border-top:0 !important;
  }
  .edmmix-msg-hub__compose-box{
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:8px !important;
    padding:8px 10px !important;
    border-radius:0 !important;
    background:#F2F3F5 !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field{
    order:1 !important;
    flex:1 1 0 !important;
    width:0 !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:8px 14px !important;
    border-radius:20px !important;
    background:#fff !important;
    border:1px solid #E8E8E8 !important;
    box-shadow:none !important;
    overflow:hidden !important;
    position:relative !important;
    display:block !important;
    box-sizing:border-box !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field .edmmix-msg-hub__compose-editor{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    overflow-x:hidden !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field #edmmix-r2-preview{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools{
    order:2 !important;
    flex:0 0 auto !important;
    width:auto !important;
    max-width:none !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:6px !important;
    padding:0 !important;
    margin:0 !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-foot{
    display:none !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools .edmmix-msg-hub__send{
    display:none !important;
    order:9 !important;
    flex:0 0 auto !important;
    margin:0 !important;
    margin-left:0 !important;
    align-self:center !important;
  }
  .edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__tools .edmmix-msg-hub__send{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__char-count{
    display:none !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-smile-wrap{
    order:1 !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  .edmmix-msg-hub__compose-box #edmmix-r2-bar{
    order:2 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    width:30px !important;
    min-width:30px !important;
    max-width:30px !important;
    flex:0 0 30px !important;
    gap:0 !important;
    overflow:visible !important;
  }
  .edmmix-msg-hub__compose-box #edmmix-r2-bar #edmmix-r2-tip,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button:not(.edmmix-r2-ico-img){
    display:none !important;
    width:0 !important;
    height:0 !important;
    min-width:0 !important;
    max-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    position:absolute !important;
    left:-9999px !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-smile-btn,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button.edmmix-r2-ico-img{
    width:30px !important;
    min-width:30px !important;
    max-width:30px !important;
    height:30px !important;
    min-height:30px !important;
    max-height:30px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#64748B !important;
    box-shadow:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:0 !important;
    line-height:0 !important;
    flex:0 0 30px !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-smile-btn:hover,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button:hover,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button.edmmix-r2-ico-img:hover{
    color:#334155 !important;
    background:transparent !important;
    border:0 !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-smile-btn svg,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button svg,
  .edmmix-msg-hub__compose-box #edmmix-r2-bar button.edmmix-r2-ico-img svg{
    display:block !important;
    width:28px !important;
    height:28px !important;
    stroke:currentColor !important;
    stroke-width:1.6 !important;
    fill:none !important;
    margin:0 auto !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools{
    align-items:center !important;
  }
  .edmmix-msg-hub__compose-box #edmmix-r2-bar,
  .edmmix-msg-hub__compose-box .edmmix-smile-wrap{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    height:30px !important;
  }
  .edmmix-msg-hub__compose-box textarea#edmmix-msg-content,
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field textarea{
    height:auto !important;
    min-height:24px !important;
    max-height:120px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:16px !important;
    line-height:24px !important;
    overflow-y:auto !important;
  }
  .edmmix-msg-hub__compose-editor{
    font-size:16px !important;
    line-height:24px !important;
    min-height:24px !important;
    max-height:120px !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__send,
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools .edmmix-msg-hub__send,
  .edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__tools .edmmix-msg-hub__send,
  .edmmix-msg-hub__compose-foot .edmmix-msg-hub__send{
    min-width:52px !important;
    height:30px !important;
    padding:0 12px !important;
    border-radius:15px !important;
    border:0 !important;
    background:var(--theme-color,#60A5FA) !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:600 !important;
    box-shadow:none !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__send:hover,
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools .edmmix-msg-hub__send:hover{
    filter:brightness(.96) !important;
    background:var(--theme-color,#60A5FA) !important;
    color:#fff !important;
    border:0 !important;
  }
  .edmmix-msg-hub__compose-field #edmmix-r2-preview{
    margin:0 0 6px !important;
  }
}
.edmmix-msg-hub__quote-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  max-width:100% !important;
  margin:0 !important;
  padding:6px 10px !important;
  border-radius:12px !important;
  background:#F1F5F9 !important;
  border:0 !important;
  box-sizing:border-box !important;
  text-align:left !important;
  align-self:flex-start !important;
}
.edmmix-msg-hub__quote-card.has-media{
  padding:8px !important;
}
.edmmix-msg-hub__bubble.is-mine .edmmix-msg-hub__quote-card{
  align-self:flex-end !important;
  align-items:flex-end !important;
  text-align:right !important;
}
.edmmix-msg-hub__quote-name{ display:none !important; }
.edmmix-msg-hub__quote-line,
.edmmix-msg-hub__quote-text{
  font-size:12px !important;
  color:#94A3B8 !important;
  line-height:1.4 !important;
  word-break:break-word !important;
  white-space:pre-wrap !important;
  text-align:inherit !important;
}
.edmmix-msg-hub__quote-line .edmmix-msg-hub__smile,
.edmmix-msg-hub__quote-bar-text .edmmix-msg-hub__smile{
  width:16px !important;
  height:16px !important;
  vertical-align:-3px !important;
}
.edmmix-msg-hub__quote-thumb,
.edmmix-msg-hub__quote-bar-thumb{
  position:relative !important;
  width:64px !important;
  height:64px !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:#E2E8F0 !important;
  flex:0 0 auto !important;
}
.edmmix-msg-hub__quote-thumb img,
.edmmix-msg-hub__quote-bar-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.edmmix-msg-hub__quote-play{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:22px !important;
  height:22px !important;
  margin:-11px 0 0 -11px !important;
  border-radius:50% !important;
  background:rgba(15,23,42,.55) !important;
  pointer-events:none !important;
}
.edmmix-msg-hub__quote-play::before{
  content:"" !important;
  position:absolute !important;
  left:8px !important;
  top:6px !important;
  border-style:solid !important;
  border-width:5px 0 5px 8px !important;
  border-color:transparent transparent transparent #fff !important;
}
.edmmix-msg-hub__quote-bar{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 0 8px !important;
  padding:6px 10px !important;
  border-radius:12px !important;
  background:#F1F5F9 !important;
  border:0 !important;
}
.edmmix-msg-hub__quote-bar[hidden]{ display:none !important; }
.edmmix-msg-hub__quote-bar-thumb[hidden]{ display:none !important; }
.edmmix-msg-hub__quote-bar-main{ flex:1 1 auto !important; min-width:0 !important; }
.edmmix-msg-hub__quote-bar-name{ display:none !important; }
.edmmix-msg-hub__quote-bar-text{
  font-size:12px !important;
  color:#94A3B8 !important;
  line-height:1.4 !important;
  word-break:break-word !important;
  text-align:left !important;
}
.edmmix-msg-hub__quote-bar-close{
  flex:0 0 auto !important;
  border:0 !important;
  background:transparent !important;
  color:#94A3B8 !important;
  font-size:18px !important;
  line-height:1 !important;
  cursor:pointer !important;
  padding:0 2px !important;
}
.edmmix-msg-hub__select-bar{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:10px 16px !important;
  border-top:1px solid #EEF2F7 !important;
  background:#F8FAFC !important;
}
.edmmix-msg-hub__select-bar[hidden]{ display:none !important; }
.edmmix-msg-hub__select-count{
  flex:1 1 auto !important;
  font-size:13px !important;
  color:#334155 !important;
  font-weight:600 !important;
}
.edmmix-msg-hub__select-del,
.edmmix-msg-hub__select-cancel{
  border:0 !important;
  border-radius:8px !important;
  padding:6px 12px !important;
  font-size:13px !important;
  cursor:pointer !important;
}
.edmmix-msg-hub__select-del{
  background:#FEE2E2 !important;
  color:#DC2626 !important;
}
.edmmix-msg-hub__select-cancel{
  background:#E2E8F0 !important;
  color:#334155 !important;
}
.edmmix-msg-hub__convo{
  -webkit-touch-callout:none !important;
  -webkit-user-select:none !important;
  user-select:none !important;
}
.edmmix-msg-hub__convo .edmmix-msg-hub__convo-link{
  -webkit-touch-callout:none !important;
  touch-action:manipulation !important;
}
.edmmix-msg-hub__ctx{
  position:fixed !important;
  z-index:10050 !important;
  min-width:148px !important;
  padding:6px 0 !important;
  margin:0 !important;
  background:#fff !important;
  border:1px solid #E5E7EB !important;
  border-radius:12px !important;
  box-shadow:0 8px 28px rgba(15,23,42,.12) !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__ctx[hidden]{ display:none !important; }
.edmmix-msg-hub__ctx-item{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  border:0 !important;
  background:transparent !important;
  padding:12px 16px !important;
  margin:0 !important;
  min-height:44px !important;
  font-size:14px !important;
  line-height:1.3 !important;
  color:#1F2937 !important;
  text-align:left !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
  touch-action:manipulation !important;
  -webkit-tap-highlight-color:transparent !important;
}
.edmmix-msg-hub__ctx-item:hover{
  background:#F3F4F6 !important;
}
.edmmix-msg-hub__ctx-item.is-danger,
.edmmix-msg-hub__ctx-item.is-danger .edmmix-msg-hub__ctx-ico{
  color:#EF4444 !important;
}
.edmmix-msg-hub__ctx-ico{
  display:inline-flex !important;
  width:16px !important;
  height:16px !important;
  flex:0 0 16px !important;
  align-items:center !important;
  justify-content:center !important;
  color:#64748B !important;
}
.edmmix-msg-hub__ctx-ico:empty{ visibility:hidden !important; }
.edmmix-msg-hub__ctx-sep{
  height:1px !important;
  margin:4px 12px !important;
  background:#E5E7EB !important;
}
.edmmix-msg-hub__ctx-item[hidden]{ display:none !important; }
.edmmix-msg-hub__item.is-recalled{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  margin:10px 0 !important;
}
.edmmix-msg-hub__recall-notice{
  display:inline-block !important;
  max-width:90% !important;
  padding:4px 12px !important;
  border-radius:999px !important;
  background:#F1F5F9 !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  text-align:center !important;
}
.edmmix-msg-hub__sys-notice{
  display:block !important;
  width:100% !important;
  margin:2px 0 8px !important;
  padding:0 12px !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  line-height:1.5 !important;
  text-align:center !important;
}
.edmmix-msg-hub__item.has-mutual-notice{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
}
.edmmix-msg-hub__tools{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin-top:0 !important;
}
.edmmix-msg-hub__tools .edmmix-smile-wrap{
  margin:0 !important;
  line-height:0 !important;
}
.edmmix-msg-hub__tools .edmmix-smile-btn{
  width:22px !important;
  height:22px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#64748B !important;
  font-size:0 !important;
  line-height:0 !important;
  cursor:pointer !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.edmmix-msg-hub__compose-field{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
}
@media (max-width:720px){
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field,
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field.edmmix-r2-compose-field{
    display:block !important;
    width:0 !important;
    flex:1 1 0 !important;
    max-width:none !important;
    min-width:0 !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools{
    display:flex !important;
    width:auto !important;
    flex:0 0 auto !important;
    flex-wrap:nowrap !important;
  }
}
.edmmix-msg-hub__reply textarea,
.edmmix-msg-hub__compose-form textarea,
.edmmix-msg-hub__compose-form input[type="text"]{
  width:100% !important;
  box-sizing:border-box !important;
  border:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  background:#fff !important;
  color:#0F172A !important;
  font-size:14px !important;
  line-height:1.5 !important;
  resize:vertical !important;
}
.edmmix-msg-hub__compose-box textarea,
.edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field textarea{
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  background:transparent !important;
  resize:none !important;
}
.edmmix-msg-hub__field{ margin:0 !important; }
.edmmix-msg-hub__field label{
  display:block !important;
  margin:0 0 6px !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:600 !important;
}
/* Hide「内容」above PM textarea (keep for a11y only) */
.edmmix-msg-hub label[for="edmmix-msg-content"],
.edmmix-msg-hub__reply > label,
.edmmix-msg-hub__compose-form label[for="edmmix-msg-content"]{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.edmmix-msg-hub__to-card{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 12px !important;
  border-radius:12px !important;
  background:#F8FAFC !important;
  border:1px solid #E2E8F0 !important;
  color:#0F172A !important;
  font-weight:600 !important;
}
.edmmix-msg-hub__to-card img,
.edmmix-msg-hub__to-card .avatar{
  width:40px !important;
  height:40px !important;
  border-radius:50% !important;
}
.edmmix-msg-hub__send,
.edmmix-msg-hub__tools .edmmix-msg-hub__send{
  align-self:flex-end !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:64px !important;
  height:32px !important;
  padding:0 16px !important;
  border-radius:8px !important;
  border:1px solid #F1F5F9 !important;
  background:#fff !important;
  color:#111827 !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  margin:0 !important;
  box-shadow:none !important;
}
.edmmix-msg-hub__send:hover{ background:#F9FAFB !important; }
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__compose-foot .edmmix-msg-hub__send,
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__send{
  background:var(--theme-color,#60A5FA) !important;
  border-color:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
}
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__compose-foot .edmmix-msg-hub__send:hover,
.edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__send:hover{
  background:var(--theme-color,#60A5FA) !important;
  border-color:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  filter:brightness(.96) !important;
}
@media (max-width:720px){
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__send,
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools .edmmix-msg-hub__send,
  .edmmix-msg-hub__compose-box.has-draft .edmmix-msg-hub__tools .edmmix-msg-hub__send{
    align-self:center !important;
    min-width:52px !important;
    height:30px !important;
    padding:0 12px !important;
    border-radius:15px !important;
    border:0 !important;
    background:var(--theme-color,#60A5FA) !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:600 !important;
  }
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__send:hover,
  .edmmix-msg-hub__compose-box .edmmix-msg-hub__tools .edmmix-msg-hub__send:hover{
    background:var(--theme-color,#60A5FA) !important;
    color:#fff !important;
    border:0 !important;
    filter:brightness(.96) !important;
  }
}
.edmmix-msg-hub__row{
  margin:0 !important;
  padding:0 !important;
  border-bottom:1px solid #F1F5F9 !important;
  position:relative !important;
  display:flex !important;
  align-items:stretch !important;
}
.edmmix-msg-hub__row > .edmmix-msg-hub__row-link{
  flex:1 1 auto !important;
  min-width:0 !important;
}
.edmmix-msg-hub__del{
  display:none !important;
  align-items:center !important;
  gap:5px !important;
  flex:0 0 auto !important;
  align-self:center !important;
  margin:0 14px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1 !important;
  cursor:pointer !important;
  white-space:nowrap !important;
  box-shadow:none !important;
}
.edmmix-msg-hub__row:hover .edmmix-msg-hub__del,
.edmmix-msg-hub__row:focus-within .edmmix-msg-hub__del{
  display:inline-flex !important;
}
.edmmix-msg-hub__row:hover .edmmix-msg-hub__dot,
.edmmix-msg-hub__row:focus-within .edmmix-msg-hub__dot{
  visibility:hidden !important;
}
.edmmix-msg-hub__del:hover{
  color:#64748B !important;
}
.edmmix-msg-hub__del-ico{
  display:block !important;
  flex:0 0 auto !important;
}
.edmmix-msg-hub__row.is-removing{
  opacity:.45 !important;
  pointer-events:none !important;
}
.edmmix-msg-hub--guest{
  padding:28px 18px !important;
  text-align:center !important;
  background:#fff !important;
  border-radius:14px !important;
}
@media (max-width:900px){
  .edmmix-msg-hub__nav{ flex-basis:140px !important; width:140px !important; }
  .edmmix-msg-hub__mid{ flex-basis:220px !important; width:220px !important; }
}
@media (max-width:720px){
  body.edmmix-msg-hub-page{
    background:#fff !important;
  }
  body.edmmix-msg-hub-page .content-wrap,
  body.page.edmmix-msg-hub-page .content-wrap{
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }
  /* 只清内容区空隙，不要动站点顶栏 .header .container */
  body.edmmix-msg-hub-page .main > .container,
  body.edmmix-msg-hub-page .content-wrap > .container,
  body.edmmix-msg-hub-page .content-wrap .article,
  body.edmmix-msg-hub-page .content-wrap .single-content,
  body.edmmix-msg-hub-page .content-wrap .content{
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#fff !important;
  }
  body.edmmix-msg-hub-page,
  body.edmmix-msg-hub-view,
  body.edmmix-msg-hub-compose{
    display:block !important;
  }
  body.edmmix-msg-hub-page > .footer,
  body.edmmix-msg-hub-page > footer.footer,
  body.edmmix-msg-hub-page footer.footer,
  body.edmmix-msg-hub-page .footer,
  body.edmmix-msg-hub-view > .footer,
  body.edmmix-msg-hub-compose > .footer,
  body.edmmix-msg-hub-page .edmmix-site-footer,
  body.edmmix-msg-hub-page .copyright,
  html.edmmix-kb-open body.edmmix-msg-hub-page .footer,
  html.edmmix-kb-open body.edmmix-msg-hub-view .footer{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    pointer-events:none !important;
    opacity:0 !important;
  }
  .edmmix-msg-hub--shell{
    flex-direction:column !important;
    width:100% !important;
    max-width:none !important;
    height:calc(100dvh - 110px) !important;
    min-height:calc(100dvh - 110px) !important;
    max-height:calc(100dvh - 110px) !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
  /* 私信聊天页：锁死视口，禁止缩放/横向拖动，仅线程上下滑 */
  html:has(body.edmmix-msg-hub-view),
  html:has(body.edmmix-msg-hub-compose){
    overflow:hidden !important;
    height:100% !important;
    height:100dvh !important;
    overscroll-behavior:none !important;
    -webkit-text-size-adjust:100% !important;
    text-size-adjust:100% !important;
  }
  body.edmmix-msg-hub-view,
  body.edmmix-msg-hub-compose{
    overflow:hidden !important;
    height:100% !important;
    height:100dvh !important;
    max-height:100dvh !important;
    overscroll-behavior:none !important;
    touch-action:pan-y !important;
    -webkit-user-select:none !important;
    user-select:none !important;
  }
  body.edmmix-msg-hub-view textarea,
  body.edmmix-msg-hub-compose textarea,
  body.edmmix-msg-hub-view input,
  body.edmmix-msg-hub-compose input,
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-editor,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-editor,
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-field,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-field{
    -webkit-user-select:text !important;
    user-select:text !important;
    -webkit-touch-callout:default !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub--shell,
  body.edmmix-msg-hub-compose .edmmix-msg-hub--shell,
  body.edmmix-msg-hub-view .edmmix-msg-hub__main,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__main{
    overflow:hidden !important;
    touch-action:pan-y !important;
    overscroll-behavior:none !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__thread,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__thread{
    overflow-x:hidden !important;
    overflow-y:scroll !important;
    touch-action:pan-y !important;
    overscroll-behavior-y:contain !important;
    overscroll-behavior-x:none !important;
    -webkit-overflow-scrolling:touch !important;
    pointer-events:auto !important;
    z-index:45 !important;
  }
  body.edmmix-msg-hub-view .main,
  body.edmmix-msg-hub-compose .main,
  body.edmmix-msg-hub-view .content-wrap,
  body.edmmix-msg-hub-compose .content-wrap,
  body.edmmix-msg-hub-view .edmmix-msg-hub--shell,
  body.edmmix-msg-hub-compose .edmmix-msg-hub--shell,
  body.edmmix-msg-hub-view .edmmix-msg-hub__stage,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__stage,
  body.edmmix-msg-hub-view .edmmix-msg-hub__cols,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__cols,
  body.edmmix-msg-hub-view .edmmix-msg-hub__main,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__main{
    pointer-events:none !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__reply,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__reply,
  body.edmmix-msg-hub-view .edmmix-msg-hub__chat-head,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__chat-head,
  body.edmmix-msg-hub-view > .header,
  body.edmmix-msg-hub-compose > .header,
  body.edmmix-msg-hub-view .edmmix-msg-hub__thread *,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__thread *,
  body.edmmix-msg-hub-view .edmmix-msg-hub__reply *,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__reply *,
  body.edmmix-msg-hub-view .edmmix-msg-hub__chat-head *,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__chat-head *{
    pointer-events:auto !important;
  }
  body.edmmix-msg-hub-view img,
  body.edmmix-msg-hub-compose img{
    -webkit-user-drag:none !important;
    user-select:none !important;
    pointer-events:auto !important;
  }
  /* 顶栏（站点头+聊天头）输入时也钉在可视区顶部 */
  body.edmmix-msg-hub-view > .header,
  body.edmmix-msg-hub-compose > .header,
  body.edmmix-msg-hub-view > header.header,
  body.edmmix-msg-hub-compose > header.header{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:60 !important;
    margin:0 !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__chat-head,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__chat-head{
    position:fixed !important;
    top:50px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:55 !important;
    background:#fff !important;
    margin:0 !important;
    transform:translateZ(0) !important;
    -webkit-backface-visibility:hidden !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  html.edmmix-kb-open,
  html.edmmix-kb-open body{
    overscroll-behavior:none !important;
  }
  html.edmmix-kb-open body.edmmix-msg-hub-view > .header,
  html.edmmix-kb-open body.edmmix-msg-hub-compose > .header,
  html.edmmix-kb-open body.edmmix-msg-hub-view > header.header,
  html.edmmix-kb-open body.edmmix-msg-hub-compose > header.header,
  html.edmmix-kb-open body.edmmix-msg-hub-view .edmmix-msg-hub__chat-head,
  html.edmmix-kb-open body.edmmix-msg-hub-compose .edmmix-msg-hub__chat-head{
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
  /* 私信聊天：顶栏位置不动；仅输入栏钉在视口底；输入框默认单行矮高度 */
  body.edmmix-msg-hub-view .edmmix-msg-hub--shell,
  body.edmmix-msg-hub-compose .edmmix-msg-hub--shell{
    position:relative !important;
    top:auto !important;
    bottom:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    height:calc(100dvh - 50px) !important;
    min-height:calc(100dvh - 50px) !important;
    max-height:calc(100dvh - 50px) !important;
    margin:0 !important;
    z-index:auto !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__stage,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__stage,
  body.edmmix-msg-hub-view .edmmix-msg-hub__cols,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__cols,
  body.edmmix-msg-hub-view .edmmix-msg-hub__main,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__main{
    flex:1 1 auto !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__reply,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__reply{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    margin:0 !important;
    z-index:40 !important;
    background:#F2F3F5 !important;
    border:0 !important;
    border-top:0 !important;
    box-shadow:none !important;
    flex:0 0 auto !important;
  }
  /* 键盘打开：输入栏底色对齐 iOS 附件栏灰，向下延伸减少分层缝 */
  html.edmmix-kb-open body.edmmix-msg-hub-view .edmmix-msg-hub__reply,
  html.edmmix-kb-open body.edmmix-msg-hub-compose .edmmix-msg-hub__reply{
    background:#F2F3F5 !important;
    box-shadow:0 1px 0 #F2F3F5, 0 48px 0 0 #F2F3F5 !important;
  }
  html.edmmix-kb-open body.edmmix-msg-hub-view .edmmix-msg-hub__compose-box,
  html.edmmix-kb-open body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-box{
    background:#F2F3F5 !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-box,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-box{
    align-items:center !important;
    padding:8px 10px !important;
    padding-bottom:max(8px, env(safe-area-inset-bottom, 0px)) !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field{
    padding:6px 14px !important;
    min-height:0 !important;
    overflow:hidden !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-editor,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-editor{
    min-height:24px !important;
    max-height:120px !important;
    line-height:24px !important;
    font-size:16px !important;
    -webkit-user-select:text !important;
    user-select:text !important;
    pointer-events:auto !important;
    caret-color:auto !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-box textarea#edmmix-msg-content,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-box textarea#edmmix-msg-content,
  body.edmmix-msg-hub-view .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field textarea,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__compose-box .edmmix-msg-hub__compose-field textarea{
    height:auto !important;
    min-height:24px !important;
    max-height:120px !important;
    line-height:24px !important;
    overflow-y:auto !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__thread,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__thread{
    flex:1 1 auto !important;
    min-height:0 !important;
    padding-bottom:72px !important;
  }
  /* 互动/粉丝/系统通知：不要固定高度裁切，整页滚动，避免底部一大片白挡内容 */
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif.edmmix-msg-hub--shell{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__stage,
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__cols,
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__main{
    overflow:visible !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    flex:0 0 auto !important;
  }
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__main{
    display:block !important;
    background:#fff !important;
  }
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__list,
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__list--system,
  body.edmmix-msg-hub-page .edmmix-msg-hub--notif .edmmix-msg-hub__main > .edmmix-msg-hub__convos{
    overflow:visible !important;
    flex:none !important;
    max-height:none !important;
    padding-bottom:28px !important;
    box-sizing:border-box !important;
  }
  body.edmmix-msg-hub-page:has(.edmmix-msg-hub--notif){
    overflow:auto !important;
    height:auto !important;
    background:#fff !important;
  }
  body.edmmix-msg-hub-page:has(.edmmix-msg-hub--notif) .footer,
  body.edmmix-msg-hub-page:has(.edmmix-msg-hub--notif) footer.footer{
    display:none !important;
  }
  .edmmix-msg-hub__nav{
    width:100% !important;
    flex:0 0 auto !important;
    border-right:0 !important;
    border-bottom:1px solid #EEF2F7 !important;
    padding:10px 0 8px !important;
  }
  .edmmix-msg-hub__nav-brand{ padding:0 12px 8px !important; }
  .edmmix-msg-hub__nav-list{
    flex-direction:row !important;
    overflow-x:auto !important;
    gap:4px !important;
    padding:0 8px !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
  }
  .edmmix-msg-hub__nav-list::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
    display:none !important;
  }
  .edmmix-msg-hub__nav-item{
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }
  .edmmix-msg-hub__nav-foot{ display:none !important; }
  .edmmix-msg-hub__cols{ flex-direction:column !important; }
  .edmmix-msg-hub__mid{
    width:100% !important;
    flex:0 0 auto !important;
    max-height:40vh !important;
    border-right:0 !important;
    border-bottom:1px solid #EEF2F7 !important;
  }
  /* 手机首页：整屏消息列表（含新增粉丝 / 互动消息） */
  .edmmix-msg-hub--pm .edmmix-msg-hub__mid{
    max-height:none !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    border-bottom:0 !important;
  }
  .edmmix-msg-hub--pm .edmmix-msg-hub__main{
    display:none !important;
  }
  .edmmix-msg-hub--pm .edmmix-msg-hub__topbar{
    display:none !important;
  }
  .edmmix-msg-hub--pm .edmmix-msg-hub__nav{
    display:none !important;
  }
  .edmmix-msg-hub--pm .edmmix-msg-hub__mid-head{
    display:none !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub__mid,
  body.edmmix-msg-hub-compose .edmmix-msg-hub__mid{
    display:none !important;
  }
  body.edmmix-msg-hub-view .edmmix-msg-hub--pm .edmmix-msg-hub__main,
  body.edmmix-msg-hub-compose .edmmix-msg-hub--pm .edmmix-msg-hub__main{
    display:flex !important;
  }
  .edmmix-msg-hub--notif .edmmix-msg-hub__nav,
  .edmmix-msg-hub--notif .edmmix-msg-hub__topbar{
    display:none !important;
  }
  .edmmix-msg-hub__main{ min-height:0 !important; }
}

/* 消息列表：新增粉丝 / 互动消息入口（默认仅手机显示，桌面用左侧分类） */
.edmmix-msg-hub__inbox-entries{
  list-style:none !important;
  margin:0 !important;
  padding:4px 0 8px !important;
  display:none !important;
}
@media (max-width:720px){
  .edmmix-msg-hub__inbox-entries{
    display:block !important;
  }
}
.edmmix-msg-hub__inbox-entry{
  margin:0 !important;
  padding:0 !important;
}
.edmmix-msg-hub__inbox-link{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  padding:12px 14px !important;
  text-decoration:none !important;
  color:inherit !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__inbox-entry.is-strangers .edmmix-msg-hub__inbox-link{
  align-items:flex-start !important;
}
.edmmix-msg-hub__inbox-entry.is-strangers .edmmix-msg-hub__inbox-badge,
.edmmix-msg-hub__inbox-entry.is-strangers .edmmix-msg-hub__inbox-chev{
  margin-top:14px !important;
}
.edmmix-msg-hub__inbox-entry.is-strangers .edmmix-msg-hub__inbox-chev{
  display:none !important;
}
.edmmix-msg-hub__inbox-link:hover{
  background:#F8FAFC !important;
}
.edmmix-msg-hub__inbox-ico{
  flex:0 0 auto !important;
  width:48px !important;
  height:48px !important;
  border-radius:50% !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#fff !important;
  line-height:0 !important;
  overflow:visible !important;
  position:relative !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__inbox-ico svg{
  width:22px !important;
  height:22px !important;
  display:block !important;
  margin:0 !important;
  flex:0 0 auto !important;
  overflow:visible !important;
}
.edmmix-msg-hub__inbox-ico.is-fans{
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 100%) !important;
}
.edmmix-msg-hub__inbox-ico.is-interact{
  background:linear-gradient(135deg,#FB7185 0%,#F97316 100%) !important;
}
.edmmix-msg-hub__inbox-ico.is-system{
  background:linear-gradient(135deg,#FB923C 0%,#F97316 55%,#EA580C 100%) !important;
}
.edmmix-msg-hub__inbox-ico.is-strangers{
  background:linear-gradient(135deg,#A855F7 0%,#6366F1 100%) !important;
}
.edmmix-msg-hub__row-sys-ico{
  width:48px !important;
  height:48px !important;
  flex:0 0 auto !important;
}
.edmmix-msg-hub__inbox-main{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
}
.edmmix-msg-hub__inbox-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  min-width:0 !important;
}
.edmmix-msg-hub__inbox-title{
  flex:1 1 auto !important;
  min-width:0 !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.3 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
/* 手机：会话头像/昵称与系统通知入口同尺寸 */
@media (max-width:720px){
  .edmmix-msg-hub__convos .edmmix-msg-hub__convo-row,
  .edmmix-msg-hub__convos .edmmix-msg-hub__row-inner{
    gap:12px !important;
    padding:12px 14px !important;
  }
  .edmmix-msg-hub__convos .edmmix-msg-hub__convo-link,
  .edmmix-msg-hub__convos .edmmix-msg-hub__row-link{
    gap:12px !important;
    align-items:center !important;
  }
  .edmmix-msg-hub__convos .edmmix-msg-hub__avatar,
  .edmmix-msg-hub__convos a.edmmix-msg-hub__avatar{
    width:48px !important;
    height:48px !important;
  }
  .edmmix-msg-hub__convos .edmmix-msg-hub__avatar img,
  .edmmix-msg-hub__convos .edmmix-msg-hub__avatar .avatar,
  .edmmix-msg-hub__convos .edmmix-msg-hub__avatar .edmmix-avatar-wrap{
    width:48px !important;
    height:48px !important;
  }
  .edmmix-msg-hub__convos .edmmix-msg-hub__name{
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.3 !important;
  }
  .edmmix-msg-hub__convos .edmmix-msg-hub__convo-main{
    gap:4px !important;
  }
}
.edmmix-msg-hub__inbox-date{
  flex:0 0 auto !important;
  font-size:11px !important;
  line-height:1.3 !important;
  color:#94A3B8 !important;
  white-space:nowrap !important;
}
.edmmix-msg-hub__inbox-preview{
  font-size:13px !important;
  color:#94A3B8 !important;
  line-height:1.35 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.edmmix-msg-hub__inbox-badge{
  flex:0 0 auto !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:#EF4444 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:18px !important;
  text-align:center !important;
}
.edmmix-msg-hub__inbox-chev{
  flex:0 0 auto !important;
  width:8px !important;
  height:8px !important;
  border-right:2px solid #CBD5E1 !important;
  border-top:2px solid #CBD5E1 !important;
  transform:rotate(45deg) !important;
  margin-right:4px !important;
}

/* 陌生人消息文件夹 */
.edmmix-msg-hub__stranger-ico{
  flex:0 0 auto !important;
  width:44px !important;
  height:44px !important;
  border-radius:50% !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#A855F7 0%,#6366F1 100%) !important;
  color:#fff !important;
  margin:0 !important;
}
.edmmix-msg-hub__stranger-ico svg{
  display:block !important;
  width:26px !important;
  height:26px !important;
}
.edmmix-msg-hub__stranger-badge{
  flex:0 0 auto !important;
  min-width:18px !important;
  height:18px !important;
  margin-left:8px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:#EF4444 !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:18px !important;
  text-align:center !important;
}
.edmmix-msg-hub__convos .edmmix-msg-hub__convo-link{
  align-items:flex-start !important;
}
@media (max-width:720px){
  .edmmix-msg-hub__convos .edmmix-msg-hub__convo-link{
    align-items:center !important;
  }
  .edmmix-msg-hub__convos .edmmix-msg-hub__convo-date{
    align-self:center !important;
    padding-top:0 !important;
  }
}
.edmmix-msg-hub__convo-date{
  flex:0 0 auto !important;
  margin-left:8px !important;
  font-size:11px !important;
  line-height:1.4 !important;
  color:#94A3B8 !important;
  white-space:nowrap !important;
  align-self:flex-start !important;
  padding-top:1px !important;
}
.edmmix-msg-hub__convos .edmmix-msg-hub__dot{
  align-self:center !important;
  margin-top:12px !important;
}
.edmmix-msg-hub__convo.is-strangers-folder .edmmix-msg-hub__stranger-badge{
  align-self:center !important;
  margin-top:12px !important;
}
/* 电脑版：陌生人文件夹标题与会话昵称同字号；手机版仍用 inbox 15px */
@media (min-width:721px){
  .edmmix-msg-hub__convo.is-strangers-folder .edmmix-msg-hub__name{
    font-size:13px !important;
  }
}
/* 手机已有 inbox 入口；电脑版在「我的消息」会话列表显示陌生人文件夹 */
.edmmix-msg-hub__convo.is-strangers-folder{
  display:none !important;
}
@media (min-width:721px){
  .edmmix-msg-hub__convo.is-strangers-folder{
    display:list-item !important;
  }
  .edmmix-msg-hub__convo.is-strangers-folder .edmmix-msg-hub__stranger-ico svg{
    width:22px !important;
    height:22px !important;
    color:#fff !important;
  }
  .edmmix-msg-hub__empty--mid{
    margin-top:8px !important;
  }
}

/* 互动消息 / 粉丝：返回头 + Tabs */
.edmmix-msg-hub__notif-head{
  position:relative !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  padding:8px 44px !important;
  border-bottom:1px solid #EEF2F7 !important;
  background:#fff !important;
}
.edmmix-msg-hub__notif-back{
  position:absolute !important;
  left:6px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:36px !important;
  height:36px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#0F172A !important;
  text-decoration:none !important;
  border-radius:10px !important;
}
.edmmix-msg-hub__notif-title,
.single .article-content .edmmix-msg-hub__notif-title,
.single .article-content h2.edmmix-msg-hub__notif-title,
.single .article-content h2.edmmix-msg-hub__notif-title:first-of-type{
  margin:0 !important;
  padding:0 !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  background:none !important;
  border:0 !important;
  border-left:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.edmmix-msg-hub__notif-title::before,
.edmmix-msg-hub__notif-title::after,
.single .article-content .edmmix-msg-hub__notif-title::before,
.single .article-content .edmmix-msg-hub__notif-title::after{
  content:none !important;
  display:none !important;
  width:0 !important;
  height:0 !important;
  border:0 !important;
  background:none !important;
}
.edmmix-msg-hub__interact-tabs{
  display:flex !important;
  align-items:stretch !important;
  justify-content:space-between !important;
  gap:0 !important;
  padding:0 !important;
  overflow-x:hidden !important;
  scrollbar-width:none !important;
  border-bottom:1px solid #EEF2F7 !important;
  background:#fff !important;
  flex:0 0 auto !important;
  width:100% !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__interact-tabs::-webkit-scrollbar{ display:none !important; }
.edmmix-msg-hub__interact-tab{
  flex:1 1 0 !important;
  min-width:0 !important;
  padding:10px 2px !important;
  font-size:13px !important;
  font-weight:500 !important;
  color:#64748B !important;
  text-decoration:none !important;
  border-bottom:2px solid transparent !important;
  white-space:nowrap !important;
  text-align:center !important;
  box-sizing:border-box !important;
}
.edmmix-msg-hub__interact-tab.is-active{
  color:#0F172A !important;
  font-weight:700 !important;
  border-bottom-color:#0F172A !important;
}
.edmmix-msg-hub__row-avatar-wrap{
  position:relative !important;
  flex:0 0 auto !important;
}
/* 互动类型彩点已废弃（普通用户头像下不要点；V 标走 .edmmix-v-badge） */
.edmmix-msg-hub__row-badge{
  display:none !important;
}

/* 电脑版：恢复 11:00 前样式（仅顶栏标题 + 左侧分类，无手机返回头 / 入口行） */
@media (min-width:721px){
  .edmmix-msg-hub__inbox-entries{
    display:none !important;
  }
  .edmmix-msg-hub__notif-head,
  .edmmix-msg-hub__interact-tabs{
    display:none !important;
  }
  .edmmix-msg-hub--notif .edmmix-msg-hub__topbar{
    display:flex !important;
  }
}

#buddypress .activity .bp-like-button,
#buddypress .activity .button.bp-secondary-action,
#buddypress .activity .fav,
#buddypress .activity .unfav,
#buddypress .activity button.bp-like{
  border-radius:0 !important;
}
/* Hide duplicate BP Favorite when BuddyPress Like is present */
#buddypress .activity-meta a.fav,
#buddypress .activity-meta a.unfav,
#buddypress .activity-meta a.button.fav,
#buddypress .activity-meta a.button.unfav{
  display:none !important;
}
#buddypress form#whats-new-form,
#buddypress #whats-new-form,
#buddypress .activity-update-form{
  display:block !important;
  background:#F8FAFC !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  padding:14px 14px 12px !important;
  margin:0 0 14px !important;
  overflow:visible !important;
}
#buddypress #whats-new-form #whats-new-avatar,
#buddypress #whats-new-avatar{
  float:left !important;
  display:block !important;
  width:48px !important;
  height:48px !important;
  margin:0 12px 0 0 !important;
  padding:0 !important;
  text-align:left !important;
  background:transparent !important;
  overflow:visible !important;
}
#buddypress #whats-new-form #whats-new-avatar a,
#buddypress #whats-new-avatar a{
  position:relative !important;
  display:block !important;
  width:48px !important;
  height:48px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:50% !important;
  overflow:visible !important;
  background:transparent !important;
  box-shadow:none !important;
  line-height:0 !important;
}
#buddypress #whats-new-form #whats-new-avatar a .edmmix-avatar-wrap,
#buddypress #whats-new-avatar a .edmmix-avatar-wrap{
  display:block !important;
  position:relative !important;
  width:48px !important;
  height:48px !important;
  border-radius:50% !important;
  overflow:visible !important;
}
#buddypress #whats-new-form #whats-new-avatar a img,
#buddypress #whats-new-form #whats-new-avatar img,
#buddypress #whats-new-avatar a img,
#buddypress #whats-new-avatar img,
#buddypress #whats-new-avatar .avatar{
  position:static !important;
  display:block !important;
  width:48px !important;
  height:48px !important;
  max-width:none !important;
  max-height:none !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  float:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  box-shadow:none !important;
  background:#E2E8F0 !important;
}
#buddypress #whats-new-avatar .edmmix-v-badge{
  width:15px !important;
  height:15px !important;
  font-size:9px !important;
  right:-2px !important;
  bottom:-2px !important;
}
#buddypress #whats-new-form p.activity-greeting,
#buddypress p.activity-greeting{
  margin:2px 0 8px 60px !important;
  padding:0 !important;
  line-height:1.4 !important;
  color:#64748B !important;
  font-size:13px !important;
  font-weight:500 !important;
}
#buddypress #whats-new-form #whats-new-content,
#buddypress #whats-new-content,
#buddypress .activity-update-form #whats-new-content,
#buddypress .activity-update-form #whats-new-post-in-box,
#buddypress .activity-update-form #whats-new-submit{
  margin-left:60px !important;
  padding:0 !important;
}
#buddypress #whats-new-options,
#buddypress #whats-new-submit{
  margin-top:8px !important;
  text-align:left !important;
}
/* Prevent no-js → js flash of the publish button */
body.no-js #buddypress #whats-new-options,
#buddypress #whats-new-options{
  height:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  visibility:hidden !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  float:none !important;
}
#buddypress #whats-new-content.active #whats-new-options,
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options{
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  opacity:1 !important;
  visibility:visible !important;
  margin:8px 0 0 60px !important;
  padding:0 !important;
}
#buddypress #aw-whats-new-submit,
#buddypress #whats-new-submit input[type=submit],
#buddypress form#whats-new-form input#aw-whats-new-submit{
  margin:0 !important;
  height:30px !important;
  padding:0 14px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#60A5FA !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:30px !important;
  box-shadow:none !important;
  cursor:pointer !important;
  float:none !important;
  width:auto !important;
  min-width:0 !important;
}
#buddypress #aw-whats-new-submit:hover,
#buddypress #whats-new-submit input[type=submit]:hover,
#buddypress form#whats-new-form input#aw-whats-new-submit:hover{
  background:#3B82F6 !important;
}
#buddypress #aw-whats-new-submit:disabled,
#buddypress form#whats-new-form input#aw-whats-new-submit:disabled{
  opacity:.55 !important;
  cursor:default !important;
}
#buddypress #whats-new-content label[for="whats-new"],
#buddypress #whats-new-textarea label{
  display:block !important;
  margin:0 0 8px !important;
  padding:0 !important;
  color:#64748B !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.4 !important;
}
#buddypress #whats-new-form textarea,
#buddypress #whats-new,
#buddypress #whats-new-textarea textarea{
  border:1px solid #E2E8F0 !important;
  border-radius:10px !important;
  background:#fff !important;
  min-height:40px !important;
  height:40px !important;
  max-height:160px !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  padding:8px 12px !important;
  color:#0F172A !important;
  font-size:14px !important;
  line-height:1.45 !important;
  box-shadow:none !important;
  resize:none !important;
  overflow-y:auto !important;
}
#buddypress #whats-new:focus,
#buddypress #whats-new-form textarea:focus,
#buddypress #whats-new-textarea textarea:focus,
#buddypress #whats-new.active,
#buddypress #whats-new-content.active #whats-new{
  min-height:72px !important;
  height:72px !important;
  border-color:#93C5FD !important;
  outline:none !important;
  box-shadow:0 0 0 3px rgba(147,197,250,.35) !important;
}

/* @mention autocomplete dropdown (nickname-first) */
.atwho-view{
  z-index:99999 !important;
  border:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  box-shadow:0 10px 28px rgba(15,23,42,.12) !important;
  overflow:hidden !important;
  background:#fff !important;
}
.atwho-view .atwho-header{ display:none !important; }
.atwho-view ul{
  margin:0 !important;
  padding:6px !important;
  max-height:240px !important;
}
.atwho-view ul li{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:8px 10px !important;
  border-radius:8px !important;
  margin:0 !important;
  cursor:pointer !important;
}
.atwho-view ul li img{
  width:28px !important;
  height:28px !important;
  border-radius:50% !important;
  object-fit:cover !important;
}
.atwho-view ul li .username{
  color:#0F172A !important;
  font-weight:600 !important;
  font-size:13px !important;
}
.atwho-view ul li small{
  color:#94A3B8 !important;
  font-size:11px !important;
  margin-left:auto !important;
}
.atwho-view ul li.cur,
.atwho-view ul li:hover{
  background:#EFF6FF !important;
}
#buddypress a.bp-suggestions-mention,
.activity-inner a.bp-suggestions-mention{
  color:var(--theme-color,#60A5FA) !important;
  font-weight:600 !important;
  text-decoration:none !important;
}

/* Weibo activity: full-width strips, no outer wrapper box */
body.activity .single-content,
body.activity .article,
body.buddypress.activity .single-content,
body.buddypress .article-content,
#buddypress #activity-stream,
#buddypress div.activity,
#buddypress ul.activity-list,
#buddypress ul.activity-list.item-list{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
#buddypress #activity-stream,
#buddypress ul.activity-list,
#buddypress ul.activity-list.item-list{
  display:block !important;
  grid-template-columns:none !important;
  gap:0 !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  float:none !important;
}
#buddypress .activity-list .activity-item,
#buddypress ul.activity-list > li.activity,
#buddypress ul.item-list > li.activity{
  display:grid !important;
  grid-template-columns:50px minmax(0,1fr) !important;
  column-gap:16px !important;
  align-items:start !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1px solid #EFEFEF !important;
  border-radius:4px !important;
  padding:16px 16px 0 !important;
  margin:0 0 10px !important;
  overflow:hidden !important;
  list-style:none !important;
  box-shadow:none !important;
  position:relative !important;
  float:none !important;
  cursor:pointer !important;
}
body.activity-permalink #buddypress ul.activity-list > li.activity{
  cursor:default !important;
}
#buddypress ul.activity-list > li.activity:hover{
  border-color:#E2E8F0 !important;
}
#buddypress .activity-avatar{
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  float:none !important;
  width:50px !important;
  margin:0 !important;
  padding:0 !important;
}
#buddypress .activity-avatar a{
  display:block !important;
  width:50px !important;
  height:50px !important;
  border-radius:50% !important;
  overflow:visible !important;
  line-height:0 !important;
}
#buddypress .activity-avatar a .edmmix-avatar-wrap{
  display:block !important;
  width:50px !important;
  height:50px !important;
  border-radius:50% !important;
}
#buddypress .activity-avatar img,
#buddypress .activity-avatar .avatar{
  width:50px !important;
  height:50px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  display:block !important;
  border:0 !important;
  float:none !important;
  margin:0 !important;
}
/* BP legacy pushes mini (e.g. new_member) avatars with margin-left:30px — reset so grid gap works */
#buddypress .activity-list li.mini .activity-avatar img.avatar,
#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,
#buddypress .activity-list li.mini .activity-avatar img,
#buddypress .activity-list .activity-item.mini .activity-avatar img.avatar,
#buddypress .activity-list .activity-item.mini .activity-avatar img{
  margin:0 !important;
  float:none !important;
  width:50px !important;
  height:50px !important;
}
#buddypress .activity-content{
  display:contents !important;
  overflow:visible !important;
  margin:0 !important;
  padding:0 !important;
}
#buddypress .activity-header{
  grid-column:2 !important;
  grid-row:1 !important;
  margin:0 !important;
  padding:0 28px 0 0 !important;
  line-height:1.3 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:2px !important;
  min-height:0 !important;
  font-size:13px !important;
  color:#939393 !important;
}
#buddypress .activity-header p{
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:3px !important;
  font-size:13px !important;
  color:#939393 !important;
}
#buddypress .activity-header .edmmix-act-user,
#buddypress .activity-header .edmmix-act-time{
  display:block !important;
  line-height:1.3 !important;
}
#buddypress .activity-header .edmmix-ip-loc{
  display:inline !important;
  color:#939393 !important;
  font-size:12px !important;
  font-weight:400 !important;
  margin-left:0 !important;
}
#buddypress .activity-header .edmmix-act-time .edmmix-ip-loc{
  margin-left:4px !important;
}
#buddypress .activity-header a{
  color:#333 !important;
  font-weight:600 !important;
  font-size:15px !important;
  text-decoration:none !important;
}
#buddypress .activity-header .edmmix-act-user a,
#buddypress .activity-header > p > a:first-child{
  font-size:15px !important;
  font-weight:600 !important;
  color:#333 !important;
}
#buddypress .activity-header .activity-time-since,
#buddypress .activity-header .time-since,
#buddypress .activity-header .edmmix-act-time,
#buddypress .activity-header .edmmix-act-time a,
#buddypress .activity-header a.view,
#buddypress .activity-header a.activity-time-since,
#buddypress .activity-header a.activity-time-since .time-since{
  color:#939393 !important;
  font-size:12px !important;
  font-weight:400 !important;
  text-decoration:none !important;
}
#buddypress .activity-inner{
  grid-column:2 !important;
  grid-row:2 !important;
  margin:2px 0 12px !important;
  padding:0 !important;
  clear:none !important;
  color:#333 !important;
  font-size:15px !important;
  line-height:1.7 !important;
  word-break:break-word !important;
}
#buddypress .activity-inner p{
  margin:0 0 8px !important;
}
#buddypress .activity-inner p:last-child{
  margin-bottom:0 !important;
}
#buddypress .activity-inner a.edmmix-repost-user{
  color:var(--theme-color,#60A5FA) !important;
  text-decoration:none !important;
  font-weight:600 !important;
}
#buddypress .activity-inner a.edmmix-repost-user:hover{
  text-decoration:underline !important;
}
/* New-member registration card: hide avatar/nickname preview block */
#buddypress li.new_member .activity-inner,
#buddypress li.activity-item.mini.members .activity-inner,
#buddypress li.new_member .bp-member-activity-preview,
#buddypress li.activity-item.mini.members .bp-member-activity-preview{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
  height:0 !important;
  overflow:hidden !important;
}
/* Weibo action bar: 转发 | 评论 | 赞 */
#buddypress .activity-meta:not(:has(a)){
  display:none !important;
  border:0 !important;
  margin:0 !important;
  padding:0 !important;
  height:0 !important;
  overflow:hidden !important;
}
#buddypress .activity-meta,
#buddypress .edmmix-guest-meta{
  grid-column:1 / -1 !important;
  grid-row:3 !important;
  display:flex !important;
  align-items:stretch !important;
  justify-content:space-around !important;
  gap:0 !important;
  clear:both !important;
  margin:0 -16px !important;
  padding:0 !important;
  border-top:1px solid #F2F2F2 !important;
  background:#fff !important;
  float:none !important;
  width:auto !important;
}
#buddypress .activity-meta:after,
#buddypress .activity-meta:before{
  display:none !important;
  content:none !important;
}
#buddypress .activity-meta a.button:not(.delete-activity):not(.delete-activity-single):not(.edmmix-act-delete):not(.edmmix-act-more):not(.fav):not(.unfav),
#buddypress .activity-meta a:not(.delete-activity):not(.delete-activity-single):not(.edmmix-act-delete):not(.edmmix-act-more):not(.fav):not(.unfav),
#buddypress .activity-meta button{
  flex:1 1 0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  float:none !important;
  margin:0 !important;
  padding:12px 6px !important;
  border:0 !important;
  border-right:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#636363 !important;
  font-size:13px !important;
  font-weight:400 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  text-shadow:none !important;
  box-shadow:none !important;
  min-width:0 !important;
  height:auto !important;
}
/* 转发 → 评论 → 赞（必须压过上方 :not() 链的 specificity） */
#buddypress .activity-meta a.button.edmmix-repost,
#buddypress .activity-meta a.edmmix-repost{
  order:1 !important;
}
#buddypress .activity-meta a.button.acomment-reply,
#buddypress .activity-meta a.acomment-reply,
#buddypress .activity-meta a.button.bp-primary-action.acomment-reply{
  order:2 !important;
}
#buddypress .activity-meta a.button.like,
#buddypress .activity-meta a.button.unlike,
#buddypress .activity-meta a.like,
#buddypress .activity-meta a.unlike,
#buddypress .activity-meta a.bp-primary-action.like,
#buddypress .activity-meta a.bp-primary-action.unlike{
  order:3 !important;
}
#buddypress .activity-meta a.fav,
#buddypress .activity-meta a.unfav,
#buddypress .activity-meta a.delete-activity,
#buddypress .activity-meta a.delete-activity-single,
#buddypress .activity-meta a.edmmix-act-delete,
#buddypress .activity-meta a.edmmix-act-more,
#buddypress .activity-meta a.button.fav,
#buddypress .activity-meta a.button.unfav,
#buddypress .activity-meta a.button.delete-activity,
#buddypress .activity-meta a.button.delete-activity-single{
  display:none !important;
}
/* Activity detail: never show a text 删除 in the action row */
body.activity-permalink #buddypress .activity-meta a.delete-activity,
body.activity-permalink #buddypress .activity-meta a.delete-activity-single,
body.activity-permalink #buddypress .activity-meta a.edmmix-act-delete,
body.activity-permalink #buddypress .activity-meta a.edmmix-act-more,
body.activity-permalink #buddypress a.edmmix-act-more,
body.activity-permalink #buddypress a.edmmix-act-delete{
  display:none !important;
}
#buddypress .activity-meta a:hover,
#buddypress .activity-meta a.button:hover{
  background:#FAFAFA !important;
  color:#333 !important;
}
#buddypress .activity-meta a span,
#buddypress .activity-meta a span.count,
#buddypress .activity-meta a small{
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  text-decoration:none !important;
  border:0 !important;
  border-bottom:0 !important;
  background:transparent !important;
}
#buddypress .activity-meta p.users-who-like{
  display:none !important;
}
/* Weibo-like icons */
#buddypress .activity-meta a.edmmix-repost:before,
#buddypress .activity-meta a.acomment-reply:before,
#buddypress .activity-meta a.like:before,
#buddypress .activity-meta a.unlike:before{
  content:"" !important;
  display:inline-block !important;
  width:16px !important;
  height:16px !important;
  flex:0 0 16px !important;
  background-color:currentColor !important;
  opacity:.88 !important;
}
#buddypress .activity-meta a.edmmix-repost:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M7 7h11v3l4-4-4-4v3H5v7h2V7zm10 10H6v-3l-4 4 4 4v-3h13v-7h-2v6z'/></svg>") center/contain no-repeat !important;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M7 7h11v3l4-4-4-4v3H5v7h2V7zm10 10H6v-3l-4 4 4 4v-3h13v-7h-2v6z'/></svg>") center/contain no-repeat !important;
}
#buddypress .activity-meta a.acomment-reply:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3c4.97 0 9 3.58 9 8 0 2.52-1.28 4.76-3.28 6.24L18.5 21l-3.62-2.05C14.3 19.14 13.18 19.3 12 19.3c-4.97 0-9-3.58-9-8.3S7.03 3 12 3zm0 1.7c-4.05 0-7.3 2.86-7.3 6.6 0 3.74 3.25 6.6 7.3 6.6 1.05 0 2.05-.18 2.96-.5l.4-.14 2.14 1.21-.5-2.35.28-.24C18.7 14.6 19.6 12.9 19.6 11c0-3.74-3.25-6.3-7.6-6.3z'/></svg>") center/contain no-repeat !important;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3c4.97 0 9 3.58 9 8 0 2.52-1.28 4.76-3.28 6.24L18.5 21l-3.62-2.05C14.3 19.14 13.18 19.3 12 19.3c-4.97 0-9-3.58-9-8.3S7.03 3 12 3zm0 1.7c-4.05 0-7.3 2.86-7.3 6.6 0 3.74 3.25 6.6 7.3 6.6 1.05 0 2.05-.18 2.96-.5l.4-.14 2.14 1.21-.5-2.35.28-.24C18.7 14.6 19.6 12.9 19.6 11c0-3.74-3.25-6.3-7.6-6.3z'/></svg>") center/contain no-repeat !important;
}
#buddypress .activity-meta a.like:before,
#buddypress .activity-meta a.unlike:before{
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") center/contain no-repeat !important;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>") center/contain no-repeat !important;
}
/* Liked state: blue text+icon (must beat activity-meta a:not(...) color:#636363) */
#buddypress .activity-meta a.button:not(.delete-activity):not(.delete-activity-single):not(.edmmix-act-delete):not(.edmmix-act-more):not(.fav):not(.unfav).unlike,
#buddypress .activity-meta a:not(.delete-activity):not(.delete-activity-single):not(.edmmix-act-delete):not(.edmmix-act-more):not(.fav):not(.unfav).unlike,
#buddypress .activity-meta a.button.unlike,
#buddypress .activity-meta a.unlike,
#buddypress .activity-meta a.bp-primary-action.unlike{
  color:var(--theme-color,#60A5FA) !important;
}
#buddypress .activity-meta a.unlike:before{
  opacity:1 !important;
}
#buddypress li.activity a.edmmix-act-more,
#buddypress .activity-item a.edmmix-act-more,
#buddypress .activity-content > a.edmmix-act-more{
  position:absolute !important;
  top:14px !important;
  right:12px !important;
  z-index:2 !important;
  width:28px !important;
  height:28px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#C8C8C8 !important;
  text-decoration:none !important;
  border-radius:50% !important;
  font-size:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  float:none !important;
}
#buddypress li.activity a.edmmix-act-more:before,
#buddypress .activity-item a.edmmix-act-more:before,
#buddypress .activity-content > a.edmmix-act-more:before{
  content:"" !important;
  width:16px !important;
  height:16px !important;
  background-color:currentColor !important;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6 9.5l6 6 6-6' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat !important;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6 9.5l6 6 6-6' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat !important;
}
#buddypress li.activity a.edmmix-act-more:hover,
#buddypress .activity-item a.edmmix-act-more:hover{
  color:#999 !important;
  background:#F5F5F5 !important;
}
/* Confirm modal (delete / repost) */
.edmmix-confirm-modal[hidden],
.edmmix-delete-modal[hidden]{ display:none !important; }
.edmmix-confirm-modal,
.edmmix-delete-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:100000 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:20px !important;
}
.edmmix-confirm-modal__backdrop,
.edmmix-delete-modal__backdrop{
  position:absolute !important;
  inset:0 !important;
  background:rgba(15,23,42,.45) !important;
}
.edmmix-confirm-modal__panel,
.edmmix-delete-modal__panel{
  position:relative !important;
  z-index:1 !important;
  width:min(360px,100%) !important;
  background:#fff !important;
  border-radius:12px !important;
  box-shadow:0 16px 40px rgba(15,23,42,.18) !important;
  padding:22px 20px 16px !important;
}
.edmmix-confirm-modal__title,
.edmmix-delete-modal__title{
  margin:0 0 8px !important;
  font-size:17px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.3 !important;
}
.edmmix-confirm-modal__text,
.edmmix-delete-modal__text{
  margin:0 0 18px !important;
  font-size:14px !important;
  line-height:1.6 !important;
  color:#64748B !important;
}
.edmmix-confirm-modal__actions,
.edmmix-delete-modal__actions{
  display:flex !important;
  justify-content:flex-end !important;
  gap:10px !important;
}
.edmmix-confirm-modal__btn,
.edmmix-delete-modal__btn{
  min-width:76px !important;
  height:36px !important;
  padding:0 14px !important;
  border-radius:8px !important;
  border:1px solid transparent !important;
  font-size:14px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  line-height:34px !important;
}
.edmmix-confirm-modal__btn:disabled,
.edmmix-delete-modal__btn:disabled{
  opacity:.6 !important;
  cursor:default !important;
}
.edmmix-confirm-modal__btn--cancel,
.edmmix-delete-modal__btn--cancel{
  background:#F8FAFC !important;
  border-color:#E2E8F0 !important;
  color:#334155 !important;
}
.edmmix-confirm-modal__btn--cancel:hover,
.edmmix-delete-modal__btn--cancel:hover{
  background:#F1F5F9 !important;
}
.edmmix-confirm-modal__btn--danger,
.edmmix-delete-modal__btn--ok{
  background:#E11D48 !important;
  color:#fff !important;
}
.edmmix-confirm-modal__btn--danger:hover,
.edmmix-delete-modal__btn--ok:hover{
  background:#BE123C !important;
}
.edmmix-confirm-modal__btn--primary{
  background:var(--theme-color,#60A5FA) !important;
  border-color:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
}
.edmmix-confirm-modal__btn--primary:hover{
  background:var(--theme-color,#60A5FA) !important;
  filter:brightness(0.92) !important;
}
/* Confirm modal open: never hide scrollbar (fixed .header would jump). */
body.edmmix-confirm-modal-open,
body.edmmix-delete-modal-open,
html.edmmix-confirm-modal-open,
html.edmmix-delete-modal-open{
  overscroll-behavior:none !important;
}
.edmmix-confirm-modal,
.edmmix-delete-modal{
  overscroll-behavior:none !important;
  touch-action:none !important;
}
.edmmix-confirm-modal__panel,
.edmmix-delete-modal__panel{
  touch-action:auto !important;
}
#buddypress li.activity.edmmix-act-removing,
#buddypress ul.activity-list > li.edmmix-act-removing{
  opacity:0 !important;
  transform:translateY(-6px) !important;
  transition:opacity .2s ease, transform .2s ease, max-height .2s ease, margin .2s ease, padding .2s ease !important;
  pointer-events:none !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:0 !important;
}
/* Comments: do not list replies under the card; only show form when opened */
#buddypress .activity-comments{
  grid-column:1 / -1 !important;
  grid-row:4 !important;
  clear:both !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border-top:0 !important;
  float:none !important;
  width:auto !important;
  min-height:0 !important;
}
#buddypress .activity-comments > ul{
  display:none !important;
}
/* Single activity page: show comments */
body.activity-permalink #buddypress .activity-comments > ul,
body.edmmix-activity-detail #buddypress .activity-comments > ul{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
body.activity-permalink #buddypress .activity-comments:has(> ul > li),
body.activity-permalink #buddypress .activity-comments:has(.ac-form[style*="display: block"]),
body.activity-permalink #buddypress .activity-comments:has(.ac-form[style*="display:block"]),
body.edmmix-activity-detail #buddypress .activity-comments:has(> ul > li),
body.edmmix-activity-detail #buddypress .activity-comments:has(.ac-form[style*="display: block"]),
body.edmmix-activity-detail #buddypress .activity-comments:has(.ac-form[style*="display:block"]){
  margin:0 -16px !important;
  padding:10px 16px 12px !important;
  background:#F7F8FA !important;
  border-top:1px solid #F0F0F0 !important;
}
#buddypress .activity-comments:has(.ac-form[style*="display: block"]),
#buddypress .activity-comments:has(.ac-form[style*="display:block"]){
  margin:0 -16px !important;
  padding:10px 16px 12px !important;
  background:#F7F8FA !important;
  border-top:1px solid #F0F0F0 !important;
}
#buddypress .activity-comments li{
  list-style:none !important;
  margin:0 0 12px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  overflow:hidden !important;
}
#buddypress .acomment-avatar{
  float:left !important;
  width:30px !important;
  margin:0 10px 0 0 !important;
}
#buddypress .acomment-avatar a{
  display:block !important;
  width:30px !important;
  height:30px !important;
  border-radius:50% !important;
  overflow:visible !important;
}
#buddypress .acomment-avatar a .edmmix-avatar-wrap{
  display:block !important;
  width:30px !important;
  height:30px !important;
  border-radius:50% !important;
}
#buddypress .acomment-avatar img{
  width:30px !important;
  height:30px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  display:block !important;
}
#buddypress .acomment-meta,
#buddypress .acomment-content,
#buddypress .acomment-options{
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
}
#buddypress .acomment-meta{
  font-size:12px !important;
  color:#939393 !important;
  margin-bottom:4px !important;
  line-height:1.4 !important;
}
#buddypress .acomment-meta a{
  color:#507DAF !important;
  font-weight:600 !important;
  font-size:13px !important;
  text-decoration:none !important;
}
#buddypress .acomment-meta .activity-time-since,
#buddypress .acomment-meta .time-since{
  color:#939393 !important;
  font-weight:400 !important;
  font-size:12px !important;
}
#buddypress .acomment-meta .edmmix-ip-loc,
.article-content .comt-meta .edmmix-ip-loc,
.comment .comt-meta .edmmix-ip-loc,
.commentlist .comt-meta .edmmix-ip-loc,
.comt-meta .edmmix-ip-loc{
  color:#939393 !important;
  font-weight:400 !important;
  font-size:12px !important;
  font-style:normal !important;
  margin-left:2px !important;
}
.comment .comt-meta a.edmmix-post-comment-delete,
.commentlist .comt-meta a.edmmix-post-comment-delete,
.article-content .comt-meta a.edmmix-post-comment-delete{
  color:#94A3B8 !important;
  font-size:12px !important;
  font-weight:400 !important;
  margin-left:10px !important;
  text-decoration:none !important;
}
.comment .comt-meta a.edmmix-post-comment-delete:hover,
.commentlist .comt-meta a.edmmix-post-comment-delete:hover,
.article-content .comt-meta a.edmmix-post-comment-delete:hover{
  color:#EF4444 !important;
}
#buddypress .acomment-content{
  color:#333 !important;
  font-size:14px !important;
  line-height:1.55 !important;
  margin-bottom:4px !important;
}
#buddypress .acomment-content p{
  margin:0 !important;
}
#buddypress .acomment-options{
  margin-top:2px !important;
}
#buddypress .acomment-options a{
  display:inline !important;
  margin:0 12px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  color:#939393 !important;
  font-size:12px !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-shadow:none !important;
  float:none !important;
}
#buddypress .acomment-options a:hover{
  color:#507DAF !important;
}
/* New activity comment entrance */
@keyframes edmmix-ac-enter{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes edmmix-ac-flash{
  0%{background-color:rgba(96,165,250,.14)}
  100%{background-color:transparent}
}
#buddypress .activity-comments li.edmmix-ac-enter,
#buddypress ul.activity-comments > li.edmmix-ac-enter{
  animation:edmmix-ac-enter .4s cubic-bezier(.22,1,.36,1) both,edmmix-ac-flash .9s ease both;
}
@media (prefers-reduced-motion:reduce){
  #buddypress .activity-comments li.edmmix-ac-enter,
  #buddypress ul.activity-comments > li.edmmix-ac-enter{
    animation:none;
  }
}
#buddypress .activity-comments .ac-form{
  margin:8px 0 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
}
#buddypress .ac-reply-avatar{
  float:left !important;
  width:30px !important;
  margin:0 10px 0 0 !important;
}
#buddypress .ac-reply-avatar img{
  width:30px !important;
  height:30px !important;
  border-radius:50% !important;
  object-fit:cover !important;
}
#buddypress .ac-reply-content{
  overflow:hidden !important;
}
/* One border only: wrapper has no box; textarea is the single field */
#buddypress .ac-textarea{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
#buddypress .ac-input,
#buddypress textarea.ac-input,
#buddypress .ac-textarea textarea{
  width:100% !important;
  min-height:36px !important;
  border:1px solid #E6E6E6 !important;
  border-radius:6px !important;
  background:#fff !important;
  padding:8px 10px !important;
  box-sizing:border-box !important;
  font-size:16px !important; /* iOS: avoid zoom-on-focus */
  box-shadow:none !important;
  outline:none !important;
  resize:vertical !important;
}
#buddypress .ac-input:focus,
#buddypress textarea.ac-input:focus,
#buddypress .ac-textarea textarea:focus{
  border-color:var(--theme-color,#60A5FA) !important;
}
#buddypress .ac-form input[type=submit],
#buddypress .ac-form input[name=ac_form_submit]{
  margin-top:8px !important;
  min-height:40px !important;
  height:auto !important;
  padding:8px 18px !important;
  border:0 !important;
  border-radius:999px !important;
  background:var(--theme-color,#60A5FA) !important;
  background-color:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  box-shadow:none !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
  -webkit-tap-highlight-color:transparent !important;
}
#buddypress .ac-form input[type=submit]:hover,
#buddypress .ac-form input[name=ac_form_submit]:hover{
  filter:brightness(.92);
}
#buddypress .ac-form input[type=submit]:disabled,
#buddypress .ac-form input[type=submit].loading,
#buddypress .ac-form input[name=ac_form_submit]:disabled,
#buddypress .ac-form input[name=ac_form_submit].loading{
  opacity:.7 !important;
  filter:none;
}
@media (max-width:768px){
  #buddypress .activity-comments .ac-form{
    padding-bottom:4px !important;
  }
  #buddypress .ac-form input[type=submit],
  #buddypress .ac-form input[name=ac_form_submit]{
    display:inline-block !important;
    width:auto !important;
    max-width:100% !important;
    min-height:36px !important;
    margin-top:8px !important;
    padding:6px 16px !important;
    font-size:14px !important;
    touch-action:manipulation !important;
    -webkit-user-select:none !important;
    user-select:none !important;
  }
}
#buddypress .ac-reply-cancel{
  color:#939393 !important;
  font-size:13px !important;
  margin-left:8px !important;
}
/* Delete/AJAX error inside a card: full-width, never vertical glyph column */
#buddypress ul.activity-list li.activity > #message,
#buddypress ul.activity-list li.activity > .bp-ajax-message,
#buddypress ul.activity-list li.activity > div.error{
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  margin:0 0 10px !important;
  padding:12px 14px !important;
  background:#FEF2F2 !important;
  border:1px solid #FECACA !important;
  border-radius:6px !important;
  color:#B91C1C !important;
  text-align:left !important;
  writing-mode:horizontal-tb !important;
  white-space:normal !important;
}
#buddypress ul.activity-list li.activity > #message p,
#buddypress ul.activity-list li.activity > .bp-ajax-message p{
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  background:transparent !important;
}
/* Empty activity notice: single inner box only (no outer #message frame) */
body.buddypress #message,
body.bp-user #message,
#buddypress #message,
#buddypress #message.info,
#buddypress div#message,
#buddypress .activity #message,
#buddypress .activity #message.info,
#buddypress #item-body > .activity > #message,
#buddypress .bp-feedback,
#buddypress #template-notices .bp-feedback,
#buddypress .bp-feedback.info,
#buddypress .bp-messages.info{
  border:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  border-radius:0 !important;
  color:#64748B !important;
  box-shadow:none !important;
  margin:12px 0 !important;
  padding:0 !important;
  text-align:center !important;
  position:static !important;
  left:auto !important;
  top:auto !important;
  width:auto !important;
  z-index:auto !important;
  line-height:1.6 !important;
  writing-mode:horizontal-tb !important;
}
body.buddypress #message p,
body.bp-user #message p,
#buddypress #message p,
#buddypress #message.info p,
#buddypress div#message.info p,
#buddypress .bp-feedback p,
#buddypress .bp-feedback .text{
  display:block !important;
  margin:0 !important;
  padding:14px 16px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  background:#F8FAFC !important;
  background-color:#F8FAFC !important;
  color:#64748B !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
  box-shadow:none !important;
  text-align:center !important;
}
#buddypress .bp-feedback .bp-icon,
#buddypress #message .bp-icon{
  display:none !important;
}
#buddypress nav.main-navs,
#buddypress #object-nav,
#buddypress #item-nav #object-nav{
  background:transparent !important;
  border:0 !important;
  border-bottom:1px solid #E2E8F0 !important;
  margin:0 !important;
  padding:0 12px !important;
  float:none !important;
  width:100% !important;
}
#buddypress #object-nav ul,
#buddypress #member-primary-nav{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:0 !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  float:none !important;
  width:100% !important;
  justify-content:flex-start !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:none !important;
}
#buddypress #object-nav ul::-webkit-scrollbar,
#buddypress #member-primary-nav::-webkit-scrollbar{
  display:none !important;
  height:0 !important;
}
#buddypress #object-nav li,
#buddypress #member-primary-nav li{
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
  flex:0 0 auto !important;
  display:block !important;
}
#buddypress #object-nav li a,
#buddypress #member-primary-nav li a{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  padding:12px 16px !important;
  margin:0 !important;
  border:0 !important;
  border-bottom:3px solid transparent !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#64748B !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
}
#buddypress #object-nav li a .count,
#buddypress #object-nav li a .no-count{
  display:inline-flex !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background:#F1F5F9 !important;
  color:#64748B !important;
  font-size:11px !important;
  align-items:center !important;
  justify-content:center !important;
}
/* 通知：不显示未读数字 */
#buddypress #object-nav #notifications-personal-li a .count,
#buddypress #object-nav #notifications-personal-li a .no-count,
#buddypress #member-primary-nav #notifications-personal-li a .count,
#buddypress #member-primary-nav #notifications-personal-li a .no-count,
#buddypress a#user-notifications .count,
#buddypress a#user-notifications .no-count{
  display:none !important;
}
#buddypress #object-nav li.current a,
#buddypress #object-nav li.selected a,
#buddypress #member-primary-nav li.current a,
#buddypress #member-primary-nav li.selected a{
  background:transparent !important;
  color:#60A5FA !important;
  border:0 !important;
  border-bottom:3px solid #60A5FA !important;
}
#buddypress #object-nav li.current a .count,
#buddypress #object-nav li.selected a .count{
  background:#DBEAFE !important;
  color:#1D4ED8 !important;
}
/* Hide primary tabs: 赞 / 资料；关注/粉丝仅在当前页显示 */
#buddypress #object-nav #likes-personal-li,
#buddypress #object-nav #xprofile-personal-li,
#buddypress #member-primary-nav #likes-personal-li,
#buddypress #member-primary-nav #xprofile-personal-li,
#buddypress #object-nav li#user-likes,
#buddypress li#likes-personal-li,
#buddypress li#xprofile-personal-li{
  display:none !important;
}
#buddypress #object-nav #members-following-personal-li:not(.current):not(.selected),
#buddypress #object-nav #members-followers-personal-li:not(.current):not(.selected),
#buddypress #member-primary-nav #members-following-personal-li:not(.current):not(.selected),
#buddypress #member-primary-nav #members-followers-personal-li:not(.current):not(.selected),
#buddypress li#members-following-personal-li:not(.current):not(.selected),
#buddypress li#members-followers-personal-li:not(.current):not(.selected){
  display:none !important;
}
#buddypress #object-nav #members-following-personal-li.current,
#buddypress #object-nav #members-following-personal-li.selected,
#buddypress #object-nav #members-followers-personal-li.current,
#buddypress #object-nav #members-followers-personal-li.selected,
#buddypress #member-primary-nav #members-following-personal-li.current,
#buddypress #member-primary-nav #members-following-personal-li.selected,
#buddypress #member-primary-nav #members-followers-personal-li.current,
#buddypress #member-primary-nav #members-followers-personal-li.selected{
  display:list-item !important;
}

/* Follow list page heading + layout */
#buddypress .edmmix-follow-list-title{
  margin:0 0 14px !important;
  padding:2px 0 2px 14px !important;
  border-left:4px solid var(--theme-color,#60A5FA) !important;
  font-size:18px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.3 !important;
  background:transparent !important;
}
#buddypress .dir-list.members.follow{
  clear:both !important;
}
/* Hide order-by filter on follow lists */
body.bp-user.following #buddypress .subnav-filters,
body.bp-user.followers #buddypress .subnav-filters,
body.following #buddypress #subnav,
body.followers #buddypress #subnav,
#buddypress .members.follow .subnav-filters{
  display:none !important;
}
#buddypress .dir-list.members.follow #members-list > li{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  padding:14px 16px !important;
}
#buddypress .dir-list.members.follow #members-list .item-avatar{
  flex:0 0 auto !important;
}
/* V 贴在圆头像角上：去掉 BP 默认头像右外边距，否则 wrap 比圆图宽一截 */
#buddypress #members-list .item-avatar .edmmix-avatar-wrap{
  width:64px !important;
  height:64px !important;
  max-width:64px !important;
  overflow:visible !important;
}
#buddypress #members-list .item-avatar .edmmix-avatar-wrap img,
#buddypress #members-list .item-avatar img{
  margin:0 !important;
}
#buddypress #members-list .item-avatar .edmmix-v-badge{
  right:-2px !important;
  bottom:-2px !important;
}
#buddypress .dir-list.members.follow #members-list .item{
  flex:1 1 auto !important;
  min-width:0 !important;
}
/* Hide bio / latest update + activity time on follow lists */
#buddypress .dir-list.members.follow #members-list .item-title .update,
#buddypress .dir-list.members.follow #members-list .item-meta,
#buddypress .dir-list.members.follow #members-list .item-meta .activity{
  display:none !important;
}
#buddypress .dir-list.members.follow #members-list .action{
  flex:0 0 auto !important;
  margin-left:auto !important;
  margin-right:8px !important;
  padding:0 !important;
}
/* Smaller follow / unfollow buttons on list cards */
#buddypress .dir-list.members.follow #members-list .action .follow-button a,
#buddypress .dir-list.members.follow #members-list .action .generic-button a,
#buddypress .dir-list.members.follow #members-list .action a.follow,
#buddypress .dir-list.members.follow #members-list .action a.unfollow,
#buddypress .dir-list.members.follow #members-list .action a.following{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  height:auto !important;
  padding:4px 12px !important;
  border-radius:999px !important;
  border:1px solid #93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  white-space:nowrap !important;
}
/* Privacy: visitors must not see notifications / personal-center tabs */
body.bp-user:not(.my-account) #notifications-personal-li,
body.bp-user:not(.my-account) #settings-personal-li,
body.bp-user:not(.my-account) #object-nav #notifications-personal-li,
body.bp-user:not(.my-account) #object-nav #settings-personal-li,
body.bp-user:not(.my-account) a#user-notifications,
body.bp-user:not(.my-account) a#user-settings{
  display:none !important;
}
/* Own profile: account panels under activity */
.edmmix-account-panels{
  margin:8px 0 0 !important;
  padding:0 0 8px !important;
  clear:both !important;
}
.edmmix-account-panel{
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  padding:18px 20px 16px !important;
  margin:0 0 14px !important;
  box-shadow:0 4px 18px rgba(15,23,42,.04) !important;
  overflow:hidden !important;
}
.edmmix-account-panel__title{
  margin:0 0 14px !important;
  padding:2px 0 12px 14px !important;
  border-left:4px solid var(--theme-color,#60A5FA) !important;
  border-bottom:1px solid #E2E8F0 !important;
  font-size:17px !important;
  font-weight:700 !important;
  color:#0F172A !important;
  line-height:1.35 !important;
  background:transparent !important;
}
.edmmix-account-main{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
/* Neutralize account-page chrome when embedded on BP profile */
body.edmmix-sec .edmmix-account-wrap.container-user,
.edmmix-account-wrap.container-user{
  position:relative !important;
  float:none !important;
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  background:transparent !important;
  min-height:0 !important;
  overflow:visible !important;
  box-shadow:none !important;
  border:0 !important;
  border-radius:0 !important;
}
body.edmmix-sec .edmmix-account-main.user-main,
.edmmix-account-wrap .edmmix-account-main.user-main{
  min-height:0 !important;
  padding:0 !important;
}
/* Restore Modown user-meta layout (user.css may load late / lose to BP) */
.edmmix-account-main .user-meta{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  line-height:32px !important;
  color:#64748B !important;
}
.edmmix-account-main .user-meta > li{
  list-style:none !important;
  list-style-type:none !important;
  padding-left:120px !important;
  margin:0 0 15px !important;
  overflow:hidden !important;
  position:relative !important;
  min-height:34px !important;
}
.edmmix-account-main .user-meta > li::marker{
  content:none !important;
}
.edmmix-account-main .user-meta label{
  float:left !important;
  margin:0 0 0 -120px !important;
  width:110px !important;
  max-width:110px !important;
  text-align:right !important;
  line-height:34px !important;
  color:#475569 !important;
  position:static !important;
  display:block !important;
  font-weight:500 !important;
  white-space:nowrap !important;
}
.edmmix-account-main .user-meta .form-control{
  border:1px solid #E2E8F0 !important;
  border-radius:5px !important;
  max-width:380px !important;
  width:100% !important;
  padding:0 10px !important;
  height:34px !important;
  line-height:34px !important;
  box-sizing:border-box !important;
  display:inline-block !important;
  vertical-align:top !important;
  background:#fff !important;
  color:#0F172A !important;
  box-shadow:none !important;
}
.edmmix-account-main .user-meta select.form-control{
  appearance:auto !important;
  -webkit-appearance:menulist !important;
  cursor:pointer !important;
  padding-right:28px !important;
}
.edmmix-account-main .edmmix-birth-selects,
.edmmix-account-main .edmmix-region-selects{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  max-width:380px !important;
}
.edmmix-account-main .edmmix-birth-selects .form-control,
.edmmix-account-main .edmmix-region-selects .form-control{
  width:auto !important;
  min-width:0 !important;
  flex:1 1 0 !important;
  max-width:none !important;
  padding-right:22px !important;
}
.edmmix-account-main .edmmix-birth-selects .edmmix-birth-year{
  flex:1.35 1 0 !important;
}
.edmmix-account-main .edmmix-region-selects .edmmix-region-province{
  flex:1 1 0 !important;
}
.edmmix-account-main .edmmix-region-selects .edmmix-region-city{
  flex:1.2 1 0 !important;
}
.edmmix-account-main .user-meta textarea.form-control{
  height:80px !important;
  line-height:1.5 !important;
  padding:8px 10px !important;
  resize:vertical !important;
}
.edmmix-account-main .user-meta input[name="captcha"].form-control{
  width:150px !important;
  max-width:150px !important;
  display:inline-block !important;
}
/* 「获取验证码」link: no underline */
.edmmix-account-main .user-meta a[evt="user.email.captcha.submit"],
.edmmix-account-main .user-meta a[evt="user.email.captcha.submit"]:hover,
.edmmix-account-main .user-meta a[evt="user.email.captcha.submit"]:focus,
.edmmix-account-main #bind-email a[evt="user.email.captcha.submit"],
.edmmix-account-main #bind-email a[evt="user.email.captcha.submit"]:hover{
  text-decoration:none !important;
  border-bottom:none !important;
}
/* Nickname / QQ editing disabled sitewide on 我的资料 */
.edmmix-account-main .user-meta li:has(> input[name="nickname"].form-control),
.edmmix-account-main .user-meta li:has(> input[name="qq"]){
  display:none !important;
}
.edmmix-account-wechat{
  margin:28px 0 0 !important;
  padding:22px 0 0 !important;
  border-top:1px solid #F1F5F9 !important;
}
.edmmix-account-wechat .edmmix-wx-status{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:34px !important;
  line-height:34px !important;
  color:#64748B !important;
  font-weight:600 !important;
  margin-right:12px !important;
  vertical-align:middle !important;
}
.edmmix-account-wechat .edmmix-wx-status.is-on{
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-account-wechat .edmmix-wx-face{
  width:28px !important;
  height:28px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  flex:0 0 auto !important;
  display:block !important;
  background:#E2E8F0 !important;
}
.edmmix-account-wechat .edmmix-wx-nick{
  color:var(--theme-color,#60A5FA) !important;
  font-weight:600 !important;
  max-width:220px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.edmmix-account-wechat .edmmix-wx-hint{
  display:inline-block !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  vertical-align:middle !important;
}
.edmmix-account-wechat .edmmix-wx-bind-btn{
  display:inline-block !important;
  height:36px !important;
  line-height:36px !important;
  padding:0 18px !important;
  min-width:0 !important;
  width:auto !important;
  box-sizing:border-box !important;
  text-decoration:none !important;
  vertical-align:middle !important;
}
.edmmix-account-wechat .edmmix-wx-actions{
  display:inline-flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  vertical-align:middle !important;
}
.edmmix-account-wechat .edmmix-wx-unbind-form{
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
}
.edmmix-account-wechat .edmmix-wx-unbind-btn{
  display:inline-block !important;
  height:36px !important;
  line-height:36px !important;
  padding:0 18px !important;
  min-width:0 !important;
  width:auto !important;
  box-sizing:border-box !important;
  border:1px solid #CBD5E1 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#64748B !important;
  font-size:14px !important;
  font-weight:400 !important;
  cursor:pointer !important;
  box-shadow:none !important;
  vertical-align:middle !important;
}
.edmmix-account-wechat .edmmix-wx-unbind-btn:hover,
.edmmix-account-wechat .edmmix-wx-unbind-btn:focus{
  border-color:#F87171 !important;
  color:#DC2626 !important;
  background:#FEF2F2 !important;
}
.edmmix-account-wechat .edmmix-wx-bound-tip{
  margin:0 0 14px !important;
  color:#16A34A !important;
}
.edmmix-account-wechat .edmmix-wx-unbound-tip{
  margin:0 0 14px !important;
  color:#64748B !important;
}
.edmmix-account-delete{
  margin:28px 0 0 !important;
  padding:22px 0 0 !important;
  border-top:1px solid #FECACA !important;
}
.edmmix-account-delete__head{
  margin:0 0 14px !important;
}
.edmmix-account-delete__title{
  margin:0 0 8px !important;
  color:#0F172A !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}
.edmmix-account-delete__desc{
  margin:0 !important;
  color:#64748B !important;
  font-size:13px !important;
  line-height:1.6 !important;
}
.edmmix-account-delete .user-meta > li{
  margin:0 0 12px !important;
}
.edmmix-account-delete__actions{
  margin-top:8px !important;
}
.edmmix-account-delete__btn{
  display:inline-block !important;
  height:36px !important;
  line-height:36px !important;
  padding:0 18px !important;
  min-width:0 !important;
  width:auto !important;
  border:1px solid #FCA5A5 !important;
  border-radius:8px !important;
  background:#FEF2F2 !important;
  color:#B91C1C !important;
  font-weight:600 !important;
  cursor:pointer !important;
  box-shadow:none !important;
}
.edmmix-account-delete__btn:hover,
.edmmix-account-delete__btn:focus{
  background:#FEE2E2 !important;
  border-color:#F87171 !important;
  color:#991B1B !important;
}
.edmmix-account-delete__btn:disabled{
  opacity:.6 !important;
  cursor:not-allowed !important;
}
.edmmix-account-delete__err{
  margin:10px 0 0 !important;
  color:#B91C1C !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}
.edmmix-account-main .btn,
.edmmix-account-main .btn-primary{
  display:inline-block !important;
  height:36px !important;
  line-height:36px !important;
  padding:0 18px !important;
  border:0 !important;
  border-radius:6px !important;
  background:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  cursor:pointer !important;
  font-size:14px !important;
}
.edmmix-account-main .user-tips{
  position:fixed !important;
  top:-30px !important;
  left:45% !important;
  z-index:999999 !important;
}
.edmmix-account-main .table{
  width:100% !important;
  border-collapse:collapse !important;
}
.edmmix-account-main .table th,
.edmmix-account-main .table td{
  padding:8px 10px !important;
  border-bottom:1px solid #E2E8F0 !important;
  text-align:left !important;
  vertical-align:middle !important;
}
.edmmix-account-main .user-ordernone{
  text-align:center !important;
  margin:40px 0 20px !important;
}
.edmmix-account-main .user-ordernone h6{
  color:#94A3B8 !important;
  font-size:16px !important;
  font-weight:500 !important;
}
/* 我的资料：头像上传 */
.edmmix-account-avatar{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin:0 0 18px !important;
  padding:0 0 16px !important;
  border-bottom:1px solid #E2E8F0 !important;
  position:relative !important;
}
.edmmix-account-avatar .edit-avatar{
  display:block !important;
  flex:0 0 auto !important;
  width:72px !important;
  height:72px !important;
  border-radius:50% !important;
  overflow:visible !important;
  border:2px solid #BFDBFE !important;
  box-shadow:0 2px 10px rgba(15,23,42,.08) !important;
  line-height:0 !important;
  cursor:pointer !important;
  position:relative !important;
}
.edmmix-account-avatar .edit-avatar .edmmix-avatar-wrap{
  display:block !important;
  width:100% !important;
  height:100% !important;
  border-radius:50% !important;
  overflow:hidden !important;
}
.edmmix-account-avatar .edit-avatar .edmmix-avatar-wrap img,
.edmmix-account-avatar .edit-avatar .edmmix-avatar-wrap .avatar{
  border-radius:50% !important;
}
/* V 标需露出圆形边线外沿 */
.edmmix-account-avatar .edit-avatar .edmmix-avatar-wrap{
  overflow:visible !important;
}
.edmmix-account-avatar .edit-avatar img,
.edmmix-account-avatar .edit-avatar .avatar{
  width:72px !important;
  height:72px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  display:block !important;
}
.edmmix-account-avatar .edit-avatar--disabled{
  cursor:default !important;
  opacity:.85 !important;
}
.edmmix-account-avatar .edmmix-avatar-label{
  cursor:pointer !important;
}
.edmmix-account-avatar__meta{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  flex:1 1 auto !important;
}
.edmmix-account-avatar__meta strong{
  font-size:15px !important;
  color:#0F172A !important;
  font-weight:700 !important;
}
.edmmix-account-avatar__meta span{
  font-size:13px !important;
  color:#94A3B8 !important;
  line-height:1.4 !important;
}
.edmmix-account-avatar .edmmix-avatar-pick{
  align-self:flex-start !important;
  margin-top:6px !important;
  padding:6px 12px !important;
  border:1px solid #BFDBFE !important;
  border-radius:8px !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  line-height:1.2 !important;
}
.edmmix-account-avatar .edmmix-avatar-pick:active{
  background:#DBEAFE !important;
  color:var(--theme-color,#60A5FA) !important;
}
/* hide legacy redirect-only nav tabs */
#edmmix-hidden-info-personal-li,
#edmmix-hidden-comment-personal-li,
#edmmix-hidden-order-personal-li{
  display:none !important;
}
/* Account tabs visible on own profile */
#buddypress #object-nav #edmmix-acc-info-personal-li,
#buddypress #object-nav #edmmix-acc-order-personal-li,
#buddypress #object-nav #edmmix-acc-comment-personal-li,
#buddypress #object-nav #edmmix-acc-fav-personal-li{
  display:list-item !important;
}
/* ?sec= view: keep header/nav, swap activity for account panel */
body.edmmix-sec #whats-new-form,
body.edmmix-sec #buddypress #whats-new-form,
body.edmmix-sec #buddypress .activity,
body.edmmix-sec #buddypress #activity-stream{
  display:none !important;
}
body.edmmix-sec #object-nav li.current,
body.edmmix-sec #object-nav li.selected{
  /* activity stays "current" in BP; neutralize then highlight sec tab */
}
body.edmmix-sec #object-nav #activity-personal-li,
body.edmmix-sec #object-nav #activity-personal-li.current,
body.edmmix-sec #object-nav #activity-personal-li.selected{
  font-weight:400 !important;
}
body.edmmix-sec #object-nav #activity-personal-li a,
body.edmmix-sec #object-nav #activity-personal-li.current a,
body.edmmix-sec #object-nav #activity-personal-li.selected a{
  color:#64748B !important;
  border:0 !important;
  border-bottom:3px solid transparent !important;
  background:transparent !important;
  box-shadow:none !important;
  font-weight:600 !important;
}
body.edmmix-sec-info #object-nav #edmmix-acc-info-personal-li a,
body.edmmix-sec-order #object-nav #edmmix-acc-order-personal-li a,
body.edmmix-sec-comment #object-nav #edmmix-acc-comment-personal-li a,
body.edmmix-sec-fav #object-nav #edmmix-acc-fav-personal-li a{
  color:#60A5FA !important;
  font-weight:700 !important;
  border:0 !important;
  border-bottom:3px solid #60A5FA !important;
  background:transparent !important;
}
/* 我的评论：软卡片 — 必须盖掉 user.css 的 padding-left:140px */
.user-commentlist.edmmix-comment-list,
.edmmix-comment-list{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
}
html body .user-commentlist > li.edmmix-comment-item,
html body .user-commentlist > li.edmmix-user-comment,
html body .edmmix-comment-list > li.edmmix-comment-item,
html body.edmmix-sec-comment .user-commentlist > li,
html .edmmix-account-main .user-commentlist > li.edmmix-comment-item{
  display:block !important;
  padding:14px 12px 12px 12px !important;
  padding-left:12px !important;
  margin:0 !important;
  border:1px solid #E2E8F0 !important;
  border-bottom:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 1px 2px rgba(15,23,42,.03) !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  position:static !important;
  list-style:none !important;
}
.edmmix-comment-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin:0 0 8px !important;
}
.edmmix-comment-main{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  flex:1 !important;
  min-width:0 !important;
}
.edmmix-comment-note{
  margin:0 !important;
  padding:0 !important;
  color:#0F172A !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.5 !important;
  word-break:break-word !important;
}
.edmmix-comment-item .edmmix-user-comment-delete{
  position:static !important;
  top:auto !important;
  right:auto !important;
  margin:2px 0 0 !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  font-weight:500 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
.edmmix-comment-item .edmmix-user-comment-delete:hover{ color:#EF4444 !important; }
.edmmix-comment-meta{
  display:flex !important;
  align-items:center !important;
  margin:8px 0 0 !important;
  padding:0 12px !important;
  box-sizing:border-box !important;
}
.edmmix-comment-reply{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  flex:0 0 auto !important;
  padding:8px 12px !important;
  border-radius:8px !important;
  background:#F8FAFC !important;
  color:#64748B !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1.35 !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
.edmmix-comment-reply a{
  color:#334155 !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.edmmix-comment-reply a:hover{ color:var(--theme-color,#60A5FA) !important; }
.edmmix-comment-dot{ color:#CBD5E1 !important; font-size:12px !important; }
html body .user-commentlist time,
html body .user-commentlist .edmmix-comment-time,
.edmmix-comment-time{
  display:inline !important;
  float:none !important;
  margin:0 !important;
  margin-left:0 !important;
  margin-top:0 !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  line-height:1.3 !important;
}
.edmmix-comment-post{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0 !important;
  margin:0 !important;
  padding:8px 12px !important;
  width:100% !important;
  box-sizing:border-box !important;
  border-radius:8px !important;
  background:#F8FAFC !important;
  color:#64748B !important;
  font-size:12px !important;
  line-height:1.35 !important;
  text-decoration:none !important;
}
.edmmix-comment-post:hover{
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-comment-post-label{ flex:0 0 auto !important; color:#94A3B8 !important; }
.edmmix-comment-post-title{
  flex:1 !important;
  min-width:0 !important;
  font-weight:500 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.edmmix-comment-item.edmmix-act-removing{
  opacity:0.35;
  transition:opacity .18s ease;
}
.commentlist > li.edmmix-act-removing,
ol.commentlist > li.edmmix-act-removing{
  opacity:0;
  transition:opacity .18s ease;
}
@media (max-width:768px){
  .edmmix-account-panel{ padding:14px 12px !important; border-radius:12px !important; }
  .edmmix-account-main .user-meta > li{
    padding-left:0 !important;
  }
  .edmmix-account-main .user-meta label{
    float:none !important;
    margin:0 0 6px !important;
    width:auto !important;
    max-width:none !important;
    text-align:left !important;
    line-height:1.4 !important;
  }
}
/* settings tab replaced by 我的资料 (/user/x/?sec=info) */
body.bp-user.my-account #settings-personal-li,
body.bp-user.my-account #object-nav #settings-personal-li,
body.bp-user.my-account a#user-settings{
  display:none !important;
}
/* Profile/settings panels keep white card; activity directory must stay transparent (avoids refresh flash) */
body:not(.activity) #buddypress #item-body{
  padding:20px 28px 28px !important;
  margin:0 !important;
  float:none !important;
  width:auto !important;
  background:#fff !important;
  min-height:0 !important;
}
body.activity #buddypress #item-body,
body.directory.activity #buddypress #item-body,
body.bp-user.activity #buddypress #item-body,
body.my-activity #buddypress #item-body{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:visible !important;
}
body.bp-user.profile.public #buddypress .bp-wrap{
  margin-top:0 !important;
}
#buddypress .edmmix-bp-empty{
  text-align:center !important;
  padding:12px 20px 4px !important;
  color:#64748B !important;
}
#buddypress .edmmix-bp-empty-title{
  margin:0 0 8px !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#334155 !important;
}
#buddypress .edmmix-bp-empty-desc{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.7 !important;
}
#buddypress .edmmix-bp-posts{
  margin-top:8px !important;
}
#buddypress .edmmix-bp-posts-title{
  margin:0 0 14px !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#0F172A !important;
}
#buddypress .edmmix-bp-posts-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr)) !important;
  gap:14px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
#buddypress .edmmix-bp-posts-grid li{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  border:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  overflow:hidden !important;
  background:#fff !important;
}
#buddypress .edmmix-bp-posts-grid a{
  display:block !important;
  text-decoration:none !important;
  color:#0F172A !important;
}
#buddypress .edmmix-bp-posts-grid img{
  display:block !important;
  width:100% !important;
  height:120px !important;
  object-fit:cover !important;
  background:#F1F5F9 !important;
}
#buddypress .edmmix-bp-posts-ph{
  display:block !important;
  width:100% !important;
  height:120px !important;
  background:linear-gradient(135deg,#F1F5F9,#E2E8F0) !important;
}
#buddypress .edmmix-bp-posts-grid .t{
  display:block !important;
  padding:10px 12px 12px !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}
#buddypress .profile-fields,
#buddypress table.profile-fields{
  width:100% !important;
  border:0 !important;
  border-collapse:separate !important;
  border-spacing:0 8px !important;
}
#buddypress .profile-fields tr,
#buddypress table.profile-fields tr{
  background:#F8FAFC !important;
}
#buddypress .profile-fields td,
#buddypress table.profile-fields td{
  border:0 !important;
  padding:12px 14px !important;
  color:#334155 !important;
  font-size:14px !important;
}
#buddypress .profile-fields .label,
#buddypress table.profile-fields .label{
  width:28% !important;
  color:#64748B !important;
  font-weight:600 !important;
}
#buddypress .button,
#buddypress a.button,
#buddypress input[type=submit]{
  border-radius:8px !important;
  border:1px solid #BFDBFE !important;
  background:#EFF6FF !important;
  color:#1D4ED8 !important;
  box-shadow:none !important;
  text-shadow:none !important;
  font-weight:600 !important;
}
#buddypress .button:hover,
#buddypress a.button:hover{
  background:#DBEAFE !important;
}
/* members directory (do NOT apply to activity-list which also has .item-list) */
#buddypress #members-list{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr)) !important;
  gap:14px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  float:none !important;
  width:100% !important;
}
#buddypress #members-list > li{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:16px !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  list-style:none !important;
}
#buddypress #members-list .item-avatar img{
  border-radius:50% !important;
  width:64px !important;
  height:64px !important;
  object-fit:cover !important;
}
#buddypress #members-list .item-title a{
  color:#0F172A !important;
  font-weight:700 !important;
  text-decoration:none !important;
}
#buddypress div.dir-search,
#buddypress .subnav-filters{
  margin:0 0 16px !important;
}
@media (max-width:768px){
  #buddypress #item-header::before,
  #buddypress #header-cover-image,
  #buddypress #cover-image-container{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
  }
  #buddypress .edmmix-bp-avatar-col{
    width:76px !important;
    margin:22px 6px 8px 14px !important;
  }
  #buddypress #item-header > #item-header-avatar,
  #buddypress #item-header-avatar{
    width:64px !important;
    margin:22px 6px 8px 14px !important;
  }
  #buddypress .edmmix-bp-avatar-col #item-header-avatar{
    margin:0 !important;
  }
  #buddypress #item-header-avatar a,
  #buddypress #item-header-avatar img,
  #buddypress #item-header-avatar .avatar{
    width:64px !important;
    height:64px !important;
  }
  #buddypress .edmmix-bp-bio{
    width:max-content !important;
    max-width:none !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }
  #buddypress #item-header-content{ padding:22px 88px 4px 0 !important; min-height:64px !important; }
  #buddypress .edmmix-bp-name-row{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    margin:4px 0 8px !important;
    gap:5px !important;
    line-height:1 !important;
  }
  #buddypress .edmmix-bp-name{
    display:inline-flex !important;
    align-items:center !important;
    font-size:17px !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
    height:17px !important;
  }
  #buddypress .edmmix-bp-sex{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:center !important;
    width:auto !important;
    height:17px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    font-size:17px !important;
    line-height:1 !important;
    background:transparent !important;
    top:auto !important;
    bottom:auto !important;
    position:static !important;
    transform:none !important;
    vertical-align:middle !important;
  }
  #buddypress .edmmix-bp-meta-line{
    margin:5px 0 0 !important;
    gap:5px !important;
  }
  #buddypress .edmmix-bp-chip{
    font-size:11px !important;
    padding:2px 6px !important;
  }
  #buddypress .edmmix-bp-stats{
    gap:8px !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    max-width:100% !important;
  }
  #buddypress .edmmix-bp-stat{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    gap:3px !important;
  }
  #buddypress .edmmix-bp-stat strong{ font-size:13px !important; }
  #buddypress .edmmix-bp-stat span{ font-size:12px !important; }
  #buddypress #item-buttons{ top:22px !important; right:12px !important; }
  #buddypress #item-buttons a{ min-width:60px !important; height:28px !important; font-size:12px !important; padding:0 10px !important; }
  #buddypress #item-body{ padding:14px !important; }
  body.buddypress .main > .container{ padding-left:16px !important; padding-right:16px !important; }
  /* 手机端导航文字单行横排，可左右滑动 */
  #buddypress nav.main-navs,
  #buddypress #object-nav,
  #buddypress #item-nav #object-nav{
    padding:0 8px !important;
    min-height:0 !important;
    height:auto !important;
  }
  #buddypress #item-nav{
    min-height:0 !important;
    height:auto !important;
  }
  #buddypress #object-nav ul,
  #buddypress #member-primary-nav{
    width:100% !important;
    overflow-x:auto !important;
    min-height:0 !important;
  }
  #buddypress #object-nav li,
  #buddypress #member-primary-nav li{
    flex:0 0 auto !important;
    width:auto !important;
    max-width:none !important;
  }
  #buddypress #object-nav li a,
  #buddypress #member-primary-nav li a{
    padding:8px 12px !important;
    font-size:14px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
    writing-mode:horizontal-tb !important;
  }
}

/* ===== Notifications UI (clean card list) ===== */
body.notifications #buddypress #item-body,
body.bp-user.notifications #buddypress #item-body,
#buddypress #item-body:has(#notifications-bulk-management),
#buddypress #item-body:has(table.notifications),
#buddypress #item-body:has(#edmmix-email-notif){
  background:transparent !important;
  background-color:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  overflow:visible !important;
}
.edmmix-email-notif,
body.notifications .edmmix-email-notif,
body.bp-user.notifications .edmmix-email-notif{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  margin:0 0 14px !important;
  /* left 12px matches #object-nav; inner 16px matches tab link → align with「动态」 */
  padding:16px 16px 14px 12px !important;
  background:#fff !important;
  background-color:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:16px !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}
#buddypress #notifications-bulk-management,
#buddypress form.standard-form.notifications{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
#buddypress #subnav.item-list-tabs{
  display:block !important;
  margin:0 0 12px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  overflow:visible !important;
}
body.notifications #buddypress #subnav,
body.bp-user.notifications #buddypress #subnav,
body.notifications #buddypress #subnav.item-list-tabs,
body.bp-user.notifications #buddypress #subnav.item-list-tabs,
body.notifications #buddypress div.item-list-tabs#subnav{
  display:block !important;
  margin:0 0 4px !important;
  padding:0 !important;
  min-height:0 !important;
  height:auto !important;
}
body.notifications #buddypress #pag-top,
body.bp-user.notifications #buddypress #pag-top{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
  height:0 !important;
  overflow:hidden !important;
}
body.notifications #buddypress #notifications-bulk-management,
body.bp-user.notifications #buddypress #notifications-bulk-management,
body.notifications #buddypress table.notifications{
  margin-top:0 !important;
}
#buddypress #subnav.item-list-tabs ul{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  align-items:center !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  width:100% !important;
  float:none !important;
}
#buddypress #subnav.item-list-tabs li{
  float:none !important;
  margin:0 !important;
  padding:0 !important;
}
#buddypress #subnav.item-list-tabs li a{
  display:inline-flex !important;
  align-items:center !important;
  padding:8px 14px !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  color:#64748B !important;
  font-size:13px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  line-height:1.2 !important;
}
#buddypress #subnav.item-list-tabs li.selected a,
#buddypress #subnav.item-list-tabs li.current a{
  background:#EFF6FF !important;
  border-color:#93C5FD !important;
  color:var(--theme-color,#60A5FA) !important;
}
body:not(.notifications) #buddypress #subnav #members-order-select,
body:not(.notifications) #buddypress #subnav li.last.filter{
  margin-left:auto !important;
}
/* Notifications sort: always left (BP uses #members-order-select here) */
body.notifications #buddypress #subnav.item-list-tabs ul,
body.bp-user.notifications #buddypress #subnav.item-list-tabs ul,
body.notifications #buddypress #subnav ul,
body.bp-user.notifications #buddypress #subnav ul{
  justify-content:flex-start !important;
  text-align:left !important;
}
body.notifications #buddypress #subnav li.last,
body.notifications #buddypress #subnav li.last.filter,
body.bp-user.notifications #buddypress #subnav li.last,
body.bp-user.notifications #buddypress #subnav li.last.filter,
body.notifications #buddypress #subnav #members-order-select,
body.bp-user.notifications #buddypress #subnav #members-order-select,
body.notifications #buddypress #subnav li#members-order-select.last.filter,
body.bp-user.notifications #buddypress #subnav li#members-order-select.last.filter,
body.notifications #buddypress #subnav #notifications-order-select,
body.bp-user.notifications #buddypress #subnav #notifications-order-select,
#buddypress #subnav #notifications-order-select,
#buddypress #subnav li#notifications-order-select{
  float:none !important;
  margin:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  order:-999 !important;
  left:0 !important;
  right:auto !important;
  width:auto !important;
  position:static !important;
}
/* Notifications: hide pagination count text */
#buddypress #subnav li.edmmix-notif-pag,
#buddypress #subnav .edmmix-notif-pag-count,
body.notifications #buddypress .pag-count,
body.bp-user.notifications #buddypress .pag-count,
#notifications-bulk-management .pag-count,
#buddypress .notifications .pag-count,
#pag-top .pag-count,
#pag-bottom .pag-count{
  display:none !important;
}
/* Activity: hide "读取更多"; infinite scroll triggers it (no leftover gap). */
#buddypress ul.activity-list > li.load-more,
#buddypress div.activity ul.activity-list > li.load-more,
ul.activity-list > li.load-more{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  list-style:none !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
}
#buddypress li.load-more > a,
ul.activity-list > li.load-more > a{
  display:none !important;
  height:0 !important;
  font-size:0 !important;
  line-height:0 !important;
  padding:0 !important;
  margin:0 !important;
}
/* Kill BP load-more loading flash (layout jump). */
#buddypress li.load-more.loading,
#buddypress ul.activity-list > li.load-more.loading{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
}
#buddypress .activity,
#buddypress #item-body,
#buddypress ul.activity-list,
#buddypress ul.activity-list > li.activity,
#buddypress ul.activity-list > li{
  overflow-anchor:none !important;
}
body.activity,
body.directory.activity,
body.bp-user.activity,
body.my-activity{
  overflow-anchor:none !important;
}
.edmmix-act-loading{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  height:40px !important;
  min-height:40px !important;
  margin:8px 0 !important;
  padding:0 12px !important;
  opacity:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
  flex-shrink:0 !important;
}
.edmmix-act-loading.is-on,
.edmmix-act-loading.is-end{
  opacity:1 !important;
}
.edmmix-act-loading span{
  width:18px !important;
  height:18px !important;
  border:2px solid #CBD5E1 !important;
  border-top-color:#94A3B8 !important;
  border-radius:50% !important;
  box-sizing:border-box !important;
  animation:edmmix-act-spin .7s linear infinite !important;
}
.edmmix-act-loading.is-end span{
  display:none !important;
}
.edmmix-act-loading .edmmix-act-end-label,
.edmmix-act-loading.is-end em{
  display:block !important;
  font-style:normal !important;
  font-size:13px !important;
  font-weight:400 !important;
  line-height:40px !important;
  color:#94A3B8 !important;
  text-align:center !important;
  margin:0 !important;
  padding:0 !important;
}
@keyframes edmmix-act-spin{
  to{ transform:rotate(360deg); }
}
/* End copy lives in spinner slot — hide BP #message to keep one fixed height */
#buddypress #message.edmmix-act-end-msg,
#buddypress div#message.edmmix-act-end-msg,
#buddypress .bp-feedback.edmmix-act-end-msg,
#buddypress #message.edmmix-act-end-msg p,
#buddypress div#message.edmmix-act-end-msg p,
#buddypress .bp-feedback.edmmix-act-end-msg p,
#buddypress .bp-feedback.edmmix-act-end-msg .text,
.edmmix-act-end{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
/* Kill flash of「这里什么也没有」when feed already has items */
#buddypress .activity:has(ul.activity-list > li.activity) > #message:not(.edmmix-act-end-msg),
#buddypress .activity:has(ul.activity-list > li.activity) > .bp-feedback:not(.edmmix-act-end-msg),
#buddypress:has(ul.activity-list > li.activity) .activity > #message.info:not(.edmmix-act-end-msg),
#buddypress ul.activity-list:has(> li.activity) ~ #message:not(.edmmix-act-end-msg),
#buddypress ul.activity-list:has(> li.activity) ~ .bp-feedback:not(.edmmix-act-end-msg){
  visibility:hidden !important;
  height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
/* Activity plaza only: don't stretch main / don't push footer away (not detail pages).
   Member profiles also carry .activity — keep sticky footer there. */
body.directory.activity:not(.activity-permalink) > .main,
body.directory.activity:not(.activity-permalink) > .content-wrap{
  flex:0 0 auto !important;
}
body.directory.activity:not(.activity-permalink) > .footer,
body.directory.activity:not(.activity-permalink) > footer.footer,
body.directory.activity:not(.activity-permalink) .footer{
  margin-top:0 !important;
}
/* Member profile: pin footer to viewport bottom on short pages */
body.bp-user > .main,
body.bp-user > .content-wrap{
  flex:1 0 auto !important;
}
body.bp-user > .footer,
body.bp-user > footer.footer,
body.bp-user .footer{
  margin-top:auto !important;
}
/* Activity detail: subtract fixed header so short pages don't leave a bottom gap */
body.activity-permalink{
  min-height:calc(100vh - 70px) !important;
}
@media (max-width:768px){
  body.activity-permalink{
    min-height:calc(100vh - 60px) !important;
  }
}
body.activity .main > .container,
body.directory.activity .main > .container,
body.bp-user.activity .main > .container,
body.my-activity .main > .container,
body.buddypress.activity .main > .container,
body.buddypress.directory.activity .main > .container{
  padding-bottom:12px !important;
}
body.activity .footer,
body.directory.activity .footer,
body.bp-user.activity .footer,
body.my-activity .footer{
  padding-top:16px !important;
  padding-bottom:16px !important;
}
#buddypress #notifications-sort-order label{
  display:none !important;
}
#buddypress #notifications-sort-order-list{
  height:34px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#334155 !important;
  padding:0 10px !important;
  box-shadow:none !important;
}
#buddypress table.notifications{
  width:100% !important;
  border:0 !important;
  border-collapse:collapse !important;
  background:transparent !important;
  margin:0 !important;
  display:block !important;
}
#buddypress table.notifications thead{
  display:none !important;
}
#buddypress table.notifications tbody{
  display:block !important;
  width:100% !important;
}
#buddypress table.notifications tbody tr{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) max-content !important;
  grid-template-rows:auto !important;
  align-items:center !important;
  column-gap:12px !important;
  row-gap:0 !important;
  width:100% !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
  outline:none !important;
  padding:14px !important;
  margin:0 0 10px !important;
}
#buddypress table.notifications tbody tr.unread{
  border:1px solid #E2E8F0 !important;
  background:#fff !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}
/* Hide unread/read tabs; keep sort filter */
body.notifications #buddypress #subnav #notifications-my-notifications-personal-li,
body.notifications #buddypress #subnav #unread-personal-li,
body.notifications #buddypress #subnav #read-personal-li,
body.bp-user.notifications #buddypress #subnav #notifications-my-notifications-personal-li,
body.bp-user.notifications #buddypress #subnav #unread-personal-li,
body.bp-user.notifications #buddypress #subnav #read-personal-li{
  display:none !important;
}
#buddypress table.notifications .notification-actions a.mark-read,
#buddypress table.notifications .notification-actions a.mark-unread,
#buddypress table.notifications td.actions a.mark-read,
#buddypress table.notifications td.actions a.mark-unread{
  display:none !important;
}
#notifications-bulk-management .edmmix-notif-select-all{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:34px !important;
  padding:0 14px !important;
  margin:0 8px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer !important;
  line-height:1 !important;
  vertical-align:middle !important;
}
#notifications-bulk-management .edmmix-notif-select-all:hover{
  border-color:#93C5FD !important;
  background:#EFF6FF !important;
  color:#2563EB !important;
}
#buddypress table.notifications tbody tr td{
  display:block !important;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  float:none !important;
  width:auto !important;
  line-height:1.45 !important;
}
#buddypress table.notifications tbody tr td.bulk-select-check,
#buddypress table.notifications tbody tr td.check-column{
  grid-area:check !important;
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  align-self:center !important;
  justify-self:center !important;
  flex:unset !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  line-height:0 !important;
  float:none !important;
}
#buddypress table.notifications tbody tr td.bulk-select-check input,
#buddypress table.notifications tbody tr td.check-column input{
  margin:0 !important;
  padding:0 !important;
  vertical-align:middle !important;
}
#buddypress table.notifications tbody tr td.notification-description,
#buddypress table.notifications tbody tr td.title{
  grid-area:title !important;
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:end !important;
  justify-self:stretch !important;
  flex:unset !important;
  min-width:0 !important;
  color:#0F172A !important;
  font-size:14px !important;
  font-weight:600 !important;
  display:block !important;
  line-height:1.35 !important;
  padding:0 !important;
  margin:0 !important;
  text-align:left !important;
  float:none !important;
  position:static !important;
}
#buddypress table.notifications tbody tr td.notification-description a,
#buddypress table.notifications tbody tr td.title a{
  color:#0F172A !important;
  text-decoration:none !important;
  font-weight:600 !important;
  word-break:break-word !important;
}
#buddypress table.notifications tbody tr td.notification-description a:hover,
#buddypress table.notifications tbody tr td.title a:hover{
  color:var(--theme-color,#60A5FA) !important;
}
#buddypress table.notifications tbody tr td.notification-since,
#buddypress table.notifications tbody tr td.date{
  grid-area:since !important;
  grid-column:2 !important;
  grid-row:2 !important;
  align-self:start !important;
  justify-self:start !important;
  flex:unset !important;
  order:unset !important;
  margin:0 !important;
  margin-left:0 !important;
  padding:0 !important;
  padding-left:0 !important;
  text-indent:0 !important;
  text-align:left !important;
  width:max-content !important;
  max-width:100% !important;
  color:#94A3B8 !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1.35 !important;
  display:block !important;
  float:none !important;
  position:static !important;
  top:auto !important;
}
#buddypress table.notifications tbody tr td.notification-actions,
#buddypress table.notifications tbody tr td.actions{
  grid-area:actions !important;
  grid-column:3 !important;
  grid-row:1 / span 2 !important;
  align-self:center !important;
  justify-self:end !important;
  flex:0 0 auto !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px !important;
  margin:0 !important;
  margin-left:0 !important;
  width:max-content !important;
  max-width:none !important;
  min-width:52px !important;
  position:relative !important;
  z-index:3 !important;
  pointer-events:auto !important;
  float:none !important;
}
#buddypress table.notifications tbody tr td.notification-actions a,
#buddypress table.notifications tbody tr td.actions a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:52px !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  border:1px solid #E2E8F0 !important;
  background:#F8FAFC !important;
  color:#64748B !important;
  font-size:12px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
  pointer-events:auto !important;
  position:relative !important;
  z-index:3 !important;
  cursor:pointer !important;
}
#buddypress table.notifications tbody tr td.notification-actions a:hover,
#buddypress table.notifications tbody tr td.actions a:hover{
  border-color:#93C5FD !important;
  background:#EFF6FF !important;
  color:var(--theme-color,#60A5FA) !important;
}
#buddypress table.notifications tbody tr td.notification-actions a.delete-notification:hover,
#buddypress table.notifications tbody tr td.actions a.delete:hover{
  border-color:#FECACA !important;
  background:#FEF2F2 !important;
  color:#DC2626 !important;
}
/* Notifications empty only — do NOT wrap activity empty (#message.info) in a second box */
body.notifications #buddypress #message.info,
body.bp-user.notifications #buddypress #message.info,
#buddypress #item-body:has(#notifications-bulk-management) #message.info,
#buddypress #item-body:has(table.notifications) #message.info{
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:14px !important;
  box-shadow:0 1px 3px rgba(15,23,42,.04) !important;
  padding:16px 18px !important;
  margin:0 !important;
  color:#64748B !important;
  font-size:14px !important;
}
body.notifications #buddypress #message.info p,
body.bp-user.notifications #buddypress #message.info p,
#buddypress #item-body:has(#notifications-bulk-management) #message.info p,
#buddypress #item-body:has(table.notifications) #message.info p{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#64748B !important;
}
#buddypress .notifications .pag-count,
#buddypress #notifications-bulk-management .pag-count,
#buddypress .notifications .pagination-links{
  color:#94A3B8 !important;
  font-size:12px !important;
  margin:4px 0 10px !important;
}
#buddypress #notifications-bulk-management,
#buddypress form.standard-form.notifications,
#buddypress #notifications-bulk-management .bottom,
#buddypress .notifications .bottom{
  overflow:visible !important;
}
#buddypress #notifications-bulk-management .bottom,
#buddypress .notifications .bottom{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px !important;
  margin-top:4px !important;
  padding:12px !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:12px !important;
  position:relative !important;
  z-index:5 !important;
  min-height:0 !important;
  box-sizing:border-box !important;
}
/* Native select stays clipped; custom chrome is SSR'd ready — no hide-then-show flash */
body.notifications #notifications-bulk-management .bottom,
body.bp-user.notifications #notifications-bulk-management .bottom{
  min-height:0 !important;
  opacity:1 !important;
  visibility:visible !important;
}
#buddypress #notifications-bulk-management select,
#buddypress .notifications select#notification-select{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  padding:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
  border:0 !important;
  clip:rect(0 0 0 0) !important;
}
.edmmix-notif-select{
  position:relative !important;
  display:inline-block !important;
  vertical-align:middle !important;
  min-width:0 !important;
  width:auto !important;
}
.edmmix-notif-select__btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  width:auto !important;
  min-width:0 !important;
  min-height:34px !important;
  padding:0 14px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#334155 !important;
  font-size:13px !important;
  line-height:1.2 !important;
  box-shadow:none !important;
  cursor:pointer !important;
}
.edmmix-notif-select.is-open .edmmix-notif-select__btn,
.edmmix-notif-select__btn:hover{
  border-color:#BFDBFE !important;
}
.edmmix-notif-select__label{
  flex:0 1 auto !important;
  text-align:left !important;
  white-space:nowrap !important;
}
.edmmix-notif-select__chev{
  flex:0 0 auto !important;
  width:0 !important;
  height:0 !important;
  border-left:4px solid transparent !important;
  border-right:4px solid transparent !important;
  border-top:5px solid #94A3B8 !important;
  transition:transform .18s ease !important;
}
.edmmix-notif-select.is-open .edmmix-notif-select__chev{
  transform:rotate(180deg) !important;
}
.edmmix-notif-select__menu{
  position:fixed !important;
  z-index:99999 !important;
  min-width:0 !important;
  width:max-content !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  padding:4px !important;
  margin:0 !important;
  background:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:10px !important;
  box-shadow:0 8px 20px rgba(15,23,42,.12) !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
.edmmix-notif-select__menu[hidden]{
  display:none !important;
}
.edmmix-notif-select__item,
button.edmmix-notif-select__item{
  display:block !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:6px 12px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
  text-align:left !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
  box-shadow:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}
.edmmix-notif-select__item:hover{
  background:rgba(96,165,250,.12) !important;
  color:#1D4ED8 !important;
}
.edmmix-notif-select__item.is-active{
  background:rgba(96,165,250,.16) !important;
  color:#1D4ED8 !important;
  font-weight:600 !important;
}
#buddypress #notifications-bulk-management .button,
#buddypress #notification-bulk-manage{
  height:34px !important;
  padding:0 14px !important;
  border:0 !important;
  border-radius:10px !important;
  background:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:34px !important;
  box-shadow:none !important;
  cursor:pointer !important;
}
#buddypress #notification-bulk-manage,
#buddypress #notifications-bulk-management #notification-bulk-manage,
body.notifications #buddypress #notification-bulk-manage,
body.bp-user.notifications #buddypress #notification-bulk-manage{
  display:none !important;
}
#buddypress table.notifications input[type=checkbox],
#buddypress #notifications-bulk-management input[type=checkbox],
#buddypress input.notification-check,
#buddypress #select-all-notifications{
  -webkit-appearance:none !important;
  appearance:none !important;
  width:20px !important;
  height:20px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  border:1.5px solid #CBD5E1 !important;
  border-radius:5px !important;
  background:#fff !important;
  background-image:none !important;
  accent-color:var(--theme-color,#60A5FA) !important;
  cursor:pointer !important;
  vertical-align:middle !important;
  box-shadow:none !important;
  outline:none !important;
  flex:0 0 20px !important;
}
#buddypress table.notifications input[type=checkbox]:checked,
#buddypress #notifications-bulk-management input[type=checkbox]:checked,
#buddypress input.notification-check:checked,
#buddypress #select-all-notifications:checked{
  background-color:var(--theme-color,#60A5FA) !important;
  border-color:var(--theme-color,#60A5FA) !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l3 3.1 6-6.2'/%3E%3C/svg%3E") !important;
  background-size:14px 14px !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
#buddypress table.notifications input[type=checkbox]:focus-visible,
#buddypress input.notification-check:focus-visible,
#buddypress #select-all-notifications:focus-visible{
  box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-color,#60A5FA) 28%, transparent) !important;
}
@media (max-width:768px){
  #buddypress table.notifications tbody tr td.notification-since,
  #buddypress table.notifications tbody tr td.date{
    margin-left:0 !important;
  }
  #buddypress table.notifications tbody tr td.notification-actions,
  #buddypress table.notifications tbody tr td.actions{
    width:max-content !important;
    max-width:none !important;
    margin-left:0 !important;
    justify-self:end !important;
    justify-content:flex-end !important;
  }
  #buddypress #subnav #members-order-select,
  #buddypress #subnav li.last.filter{
    margin-left:0 !important;
    width:100% !important;
  }
}

/* Guest article comment: login CTA, hide guest fields */
body:not(.logged-in) #commentform.edmmix-comment-gate .comt-comterinfo,
body:not(.logged-in) #commentform.edmmix-comment-gate .comt-box,
body:not(.logged-in) #commentform.edmmix-comment-gate .comt-ctrl,
body:not(.logged-in) #commentform.edmmix-comment-gate .comt-title{
  display:none !important;
}

/* Article comment: submit same size as 图片/视频 (30×64) */
#commentform .comt-ctrl #submit,
#commentform .comt-ctrl button.comt-submit,
#commentform button#submit.comt-submit{
  position:static !important;
  right:auto !important;
  top:auto !important;
  float:none !important;
  box-sizing:border-box !important;
  height:30px !important;
  min-height:30px !important;
  max-height:30px !important;
  width:64px !important;
  min-width:64px !important;
  max-width:64px !important;
  padding:0 !important;
  margin:0 !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:28px !important;
  border:1px solid #60A5FA !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body:not(.logged-in) #commentform.edmmix-comment-gate .edmmix-comment-login-cta{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:88px !important;
  margin:0 !important;
  padding:20px 16px !important;
  box-sizing:border-box !important;
  background:#F8FAFC !important;
  border:1px dashed #CBD5E1 !important;
  border-radius:6px !important;
}
body:not(.logged-in) #commentform.edmmix-comment-gate .edmmix-comment-login-btn,
body:not(.logged-in) .edmmix-comment-must-login a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  padding:0 20px !important;
  border-radius:4px !important;
  background:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  border:0 !important;
}
body:not(.logged-in) #commentform.edmmix-comment-gate .edmmix-comment-login-btn:hover,
body:not(.logged-in) .edmmix-comment-must-login a:hover{
  filter:brightness(0.96);
}
body:not(.logged-in) .edmmix-comment-must-login{
  text-align:center !important;
  margin:12px 0 !important;
}

/* ===== Email notification prefs on 通知 page ===== */
/* Notifications page: no grey page frame behind content */
body.notifications,
body.bp-user.notifications,
body.notifications .main,
body.bp-user.notifications .main,
body.notifications .main > .container,
body.bp-user.notifications .main > .container,
body.notifications .content-wrap,
body.bp-user.notifications .content-wrap,
body.notifications .content,
body.bp-user.notifications .content,
body.notifications .article,
body.bp-user.notifications .article,
body.notifications .single-content,
body.bp-user.notifications .single-content,
body.notifications #buddypress,
body.bp-user.notifications #buddypress{
  background:#fff !important;
  background-color:#fff !important;
}
.edmmix-email-notif{
  margin:0 0 14px !important;
  /* left 12px + inner 16px = same as「动态」tab text */
  padding:16px 16px 14px 12px !important;
  background:#fff !important;
  background-color:#fff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:16px !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}
.edmmix-email-notif__head{
  margin:0 0 12px !important;
  padding-left:16px !important;
  color:#0F172A !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
}
.edmmix-email-notif__list{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
.edmmix-email-notif__item{
  margin:0 !important;
  padding:12px 16px 12px 16px !important;
  border-top:1px solid #F1F5F9 !important;
  list-style:none !important;
}
.edmmix-email-notif__item:before,
.edmmix-email-notif__item:after,
.edmmix-email-notif__label:before,
.edmmix-email-notif__label:after{
  content:none !important;
  display:none !important;
}
.edmmix-email-notif__item.is-master{
  border-top:0 !important;
  padding-top:4px !important;
}
.edmmix-email-notif__label{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  margin:0 !important;
  width:100% !important;
  box-sizing:border-box !important;
  cursor:pointer !important;
}
.edmmix-email-notif__text{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  min-width:0 !important;
  padding-left:0 !important;
  flex:1 1 auto !important;
}
.edmmix-email-notif__title{
  color:#0F172A !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
}
.edmmix-email-notif__desc{
  color:#94A3B8 !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.5 !important;
}
.edmmix-email-notif__switch{
  position:relative !important;
  flex:0 0 auto !important;
  margin-left:auto !important;
  width:44px !important;
  height:26px !important;
}
.edmmix-email-notif__switch input{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  opacity:0 !important;
  cursor:pointer !important;
  z-index:2 !important;
}
.edmmix-email-notif__slider{
  position:absolute !important;
  inset:0 !important;
  border-radius:999px !important;
  background:#E2E8F0 !important;
  transition:background .2s ease !important;
}
.edmmix-email-notif__slider:before{
  content:"" !important;
  position:absolute !important;
  top:3px !important;
  left:3px !important;
  width:20px !important;
  height:20px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 1px 3px rgba(15,23,42,.18) !important;
  transition:transform .2s ease !important;
}
.edmmix-email-notif__switch input:checked + .edmmix-email-notif__slider{
  background:var(--theme-color,#60A5FA) !important;
}
.edmmix-email-notif__switch input:checked + .edmmix-email-notif__slider:before{
  transform:translateX(18px) !important;
}
.edmmix-email-notif__item:not(.is-master).is-disabled{
  opacity:.45 !important;
  pointer-events:none !important;
}
.edmmix-email-notif__actions{
  margin-top:12px !important;
  padding:12px 16px 0 !important;
  border-top:1px solid #F1F5F9 !important;
  display:flex !important;
  justify-content:flex-end !important;
  width:100% !important;
  box-sizing:border-box !important;
}
.edmmix-email-notif__submit{
  appearance:none !important;
  border:0 !important;
  border-radius:10px !important;
  background:var(--theme-color,#60A5FA) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1 !important;
  padding:10px 16px !important;
  cursor:pointer !important;
}
.edmmix-email-notif__submit:hover{
  filter:brightness(.96);
}
@media (max-width:480px){
  .edmmix-email-notif{ padding:14px 12px 12px !important; }
  .edmmix-email-notif__label{ align-items:flex-start !important; }
}

/* Article comment → activity: source post link */
#buddypress .activity-inner .edmmix-act-from-post{
  margin:8px 0 0 !important;
  padding:0 !important;
  color:#939393 !important;
  font-size:13px !important;
  line-height:1.5 !important;
}
#buddypress .activity-inner .edmmix-act-from-post a{
  color:var(--theme-color,#60A5FA) !important;
  text-decoration:none !important;
  font-weight:500 !important;
}
#buddypress .activity-inner .edmmix-act-from-post a:hover{
  text-decoration:underline !important;
}

/* Article comment reply on profile feed: 「回复了 对方」 on one line */
#buddypress .activity-header .edmmix-act-reply{
  display:block !important;
  line-height:1.3 !important;
  white-space:nowrap !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
#buddypress .activity-header .edmmix-act-reply-label,
#buddypress .activity-header .edmmix-act-reply-to,
#buddypress .activity-header .edmmix-act-reply-to a,
#buddypress .activity-header .edmmix-act-reply-suffix{
  display:inline !important;
  vertical-align:baseline !important;
}
#buddypress .activity-header .edmmix-act-reply-label{
  color:#939393 !important;
  font-weight:400 !important;
  font-size:13px !important;
  margin-right:4px !important;
}
#buddypress .activity-header .edmmix-act-reply-suffix{
  color:#939393 !important;
  font-weight:400 !important;
  font-size:13px !important;
  margin-left:4px !important;
}
#buddypress .activity-header .edmmix-act-reply-to,
#buddypress .activity-header .edmmix-act-reply-to a{
  color:inherit !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
#buddypress .activity-header .edmmix-act-reply-to a:hover{
  color:var(--theme-color,#60A5FA) !important;
}

/* Post favorite — soft bookmark chip beside category */
.edmmix-post-meta-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  margin:0 0 14px !important;
}
/* Keep Remake工程 theme look; only drop bottom margin so fav aligns */
.edmmix-post-meta-row > .article-meta{
  margin-bottom:0 !important;
}
.edmmix-post-fav-bar{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 !important;
  margin-left:auto !important;
}
.edmmix-post-share{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
}
.edmmix-post-share-btn{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  height:26px !important;
  padding:0 8px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#64748B !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1 !important;
  cursor:pointer !important;
  text-decoration:none !important;
  box-shadow:none !important;
  transition:border-color .15s ease, color .15s ease, background .15s ease !important;
}
.edmmix-post-share-btn:hover,
.edmmix-post-share.is-open .edmmix-post-share-btn{
  border-color:var(--theme-color,#60A5FA) !important;
  color:var(--theme-color,#60A5FA) !important;
  background:#F8FBFF !important;
}
.edmmix-post-share-btn:focus,
.edmmix-post-share-btn:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}
.edmmix-post-share-ico{
  width:12px !important;
  height:12px !important;
  display:block !important;
  flex:0 0 auto !important;
  border:0 !important;
  background:transparent !important;
}
.edmmix-post-share-txt{
  letter-spacing:0.02em !important;
}
.edmmix-post-share-menu{
  position:absolute !important;
  top:calc(100% + 6px) !important;
  right:0 !important;
  left:auto !important;
  width:max-content !important;
  min-width:132px !important;
  padding:4px !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 8px 24px rgba(15,23,42,.12) !important;
  border:1px solid #E2E8F0 !important;
  z-index:40 !important;
  box-sizing:border-box !important;
}
.edmmix-post-share.is-open .edmmix-post-share-menu:not([hidden]){
  display:block !important;
}
.edmmix-post-share-menu[hidden]{
  display:none !important;
}
.edmmix-post-share-item{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:8px 12px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
  text-align:left !important;
  cursor:pointer !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
.edmmix-post-share-item:hover{
  background:#F1F5F9 !important;
  color:#0F172A !important;
}
.edmmix-post-share-item.is-busy{
  opacity:.55 !important;
  pointer-events:none !important;
}
.edmmix-post-share-sep{
  height:1px !important;
  margin:4px 6px !important;
  background:#E2E8F0 !important;
}
.edmmix-share-wechat-modal[hidden]{ display:none !important; }
.edmmix-share-wechat-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:100000 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:20px !important;
}
.edmmix-share-wechat-modal__backdrop{
  position:absolute !important;
  inset:0 !important;
  background:rgba(15,23,42,.45) !important;
}
.edmmix-share-wechat-modal__panel{
  position:relative !important;
  z-index:1 !important;
  width:min(280px,100%) !important;
  background:#fff !important;
  border-radius:12px !important;
  box-shadow:0 16px 40px rgba(15,23,42,.18) !important;
  padding:20px 18px 16px !important;
  text-align:center !important;
}
.edmmix-share-wechat-modal__title{
  margin:0 0 12px !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#0F172A !important;
}
.edmmix-share-wechat-modal__qr{
  width:160px !important;
  height:160px !important;
  margin:0 auto 10px !important;
  display:block !important;
  border-radius:8px !important;
  background:#F8FAFC !important;
}
.edmmix-share-wechat-modal__tip{
  margin:0 0 14px !important;
  font-size:13px !important;
  color:#64748B !important;
  line-height:1.5 !important;
}
.edmmix-share-wechat-modal__close{
  min-width:76px !important;
  height:34px !important;
  padding:0 14px !important;
  border-radius:8px !important;
  border:1px solid #E2E8F0 !important;
  background:#F8FAFC !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:600 !important;
  cursor:pointer !important;
}
.edmmix-share-wechat-modal__close:hover{
  background:#F1F5F9 !important;
}
.edmmix-toast{
  position:fixed !important;
  left:50% !important;
  bottom:28px !important;
  transform:translateX(-50%) translateY(8px) !important;
  z-index:100001 !important;
  padding:10px 16px !important;
  border-radius:999px !important;
  background:rgba(15,23,42,.88) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
  opacity:0 !important;
  pointer-events:none !important;
  transition:opacity .18s ease, transform .18s ease !important;
  white-space:nowrap !important;
}
.edmmix-toast.is-show{
  opacity:1 !important;
  transform:translateX(-50%) translateY(0) !important;
}
.edmmix-post-fav-btn{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  height:26px !important;
  padding:0 8px !important;
  border:1px solid #E2E8F0 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#64748B !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1 !important;
  cursor:pointer !important;
  text-decoration:none !important;
  box-shadow:none !important;
  transition:border-color .15s ease, color .15s ease, background .15s ease !important;
}
.edmmix-post-fav-btn:hover{
  border-color:var(--theme-color,#60A5FA) !important;
  color:var(--theme-color,#60A5FA) !important;
  background:#F8FBFF !important;
}
.edmmix-post-fav-btn:focus,
.edmmix-post-fav-btn:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}
.edmmix-post-fav-btn.is-on{
  border-color:var(--theme-color,#60A5FA) !important;
  background:rgba(96,165,250,.10) !important;
  color:var(--theme-color,#60A5FA) !important;
}
.edmmix-post-fav-btn.is-busy{
  opacity:.55 !important;
  pointer-events:none !important;
}
.edmmix-post-fav-ico{
  width:12px !important;
  height:12px !important;
  display:block !important;
  flex:0 0 auto !important;
  border:0 !important;
  background:transparent !important;
}
.edmmix-post-fav-ico path{
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.7 !important;
  transition:fill .15s ease !important;
}
.edmmix-post-fav-btn.is-on .edmmix-post-fav-ico path{
  fill:currentColor !important;
}
.edmmix-post-fav-txt{
  letter-spacing:0.02em !important;
}

/* My favorites — bilibili-style list */
.edmmix-fav-list{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
}
.edmmix-fav-item{
  position:relative !important;
  display:flex !important;
  align-items:stretch !important;
  gap:0 !important;
  margin:0 !important;
  padding:12px 4px 12px 0 !important;
  border-bottom:1px solid #F1F5F9 !important;
}
.edmmix-fav-item:last-child{
  border-bottom:0 !important;
}
.edmmix-fav-item.is-removing{
  opacity:0 !important;
  transition:opacity .18s ease !important;
}
.edmmix-fav-main{
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  align-items:flex-start !important;
  gap:12px !important;
  text-decoration:none !important;
  color:inherit !important;
}
.edmmix-fav-thumb{
  position:relative !important;
  flex:0 0 112px !important;
  width:112px !important;
  height:64px !important;
  border-radius:6px !important;
  overflow:hidden !important;
  background:#E2E8F0 !important;
}
.edmmix-fav-thumb img,
.edmmix-fav-ph{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  background:#E2E8F0 !important;
}
.edmmix-fav-badge{
  position:absolute !important;
  right:4px !important;
  bottom:4px !important;
  max-width:calc(100% - 8px) !important;
  padding:1px 5px !important;
  border-radius:3px !important;
  background:rgba(0,0,0,.55) !important;
  color:#fff !important;
  font-size:10px !important;
  line-height:1.4 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.edmmix-fav-body{
  flex:1 1 auto !important;
  min-width:0 !important;
  min-height:64px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  padding:1px 0 2px !important;
}
.edmmix-fav-title{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
  color:#18191C !important;
}
.edmmix-fav-more{
  position:relative !important;
  flex:0 0 28px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-left:2px !important;
}
.edmmix-fav-more-btn{
  width:28px !important;
  height:36px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  cursor:pointer !important;
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
}
.edmmix-fav-more-btn span{
  display:block !important;
  width:3px !important;
  height:3px !important;
  border-radius:50% !important;
  background:#9499A0 !important;
}
.edmmix-fav-more-btn:hover span{
  background:#61666D !important;
}
.edmmix-fav-menu{
  position:absolute !important;
  top:50% !important;
  right:100% !important;
  left:auto !important;
  transform:translateY(-50%) !important;
  margin-right:6px !important;
  width:max-content !important;
  min-width:0 !important;
  max-width:none !important;
  padding:4px !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:0 8px 24px rgba(15,23,42,.12) !important;
  border:1px solid #E2E8F0 !important;
  z-index:30 !important;
  box-sizing:border-box !important;
}
.edmmix-fav-more.is-open .edmmix-fav-menu:not([hidden]){
  display:block !important;
}
.edmmix-fav-menu[hidden]{
  display:none !important;
}
.edmmix-fav-remove{
  display:block !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:8px 12px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
  text-align:center !important;
  cursor:pointer !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
.edmmix-fav-remove:hover{
  background:#FEF2F2 !important;
  color:#DC2626 !important;
}
@media (max-width:560px){
  .edmmix-fav-thumb{
    flex-basis:96px !important;
    width:96px !important;
    height:54px !important;
  }
  .edmmix-fav-body{
    min-height:54px !important;
  }
  .edmmix-fav-title{
    font-size:13px !important;
  }
}

/* ===== Article preview / 试听 ===== */
.single .article-content .edmmix-preview{
  margin:22px 0 6px !important;
  padding:0 !important;
  clear:both !important;
}
.single .article-content .edmmix-preview-title{
  background:#f5f5f5 !important;
  padding:10px 14px 10px 16px !important;
  border-radius:4px !important;
  border-left:4px solid var(--theme-color) !important;
  border-top:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
  font-size:16px !important;
  margin:8px 0 14px !important;
  font-weight:700 !important;
  color:#1E293B !important;
  line-height:1.35 !important;
  overflow:hidden !important;
}
.single .article-content .edmmix-preview-item{
  margin:0 0 12px !important;
}
.single .article-content .edmmix-preview-panel{
  background:#fff !important;
  border:1px solid #eef2f7 !important;
  border-radius:8px !important;
  padding:14px 14px 12px !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}
.single .article-content .edmmix-preview-iframe{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  vertical-align:top !important;
}
.single .article-content .edmmix-preview-audio{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:40px !important;
}
.single .article-content .edmmix-preview-meta{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  margin-top:10px !important;
  padding-top:10px !important;
  border-top:1px solid #f1f5f9 !important;
}
.single .article-content .edmmix-preview-open{
  display:inline-flex !important;
  align-items:center !important;
  gap:2px !important;
  margin:0 !important;
  padding:0 !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.4 !important;
  color:#64748B !important;
  text-decoration:none !important;
  background:none !important;
  border:0 !important;
}
.single .article-content .edmmix-preview-open:hover{
  color:var(--theme-color) !important;
}
.single .article-content .edmmix-preview-btn{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  width:100% !important;
  min-height:44px !important;
  padding:10px 14px !important;
  border-radius:6px !important;
  background:rgba(96,165,250,.10) !important;
  color:#1E3A5F !important;
  text-decoration:none !important;
  font-size:14px !important;
  font-weight:600 !important;
  border:1px solid #BFDBFE !important;
  box-sizing:border-box !important;
}
.single .article-content .edmmix-preview-btn:hover{
  background:rgba(96,165,250,.16) !important;
  color:#1E3A5F !important;
}
.single .article-content .edmmix-preview-btn-host{
  font-size:12px !important;
  font-weight:500 !important;
  color:#64748B !important;
}
.single .article-content .edmmix-preview-oembed iframe{
  max-width:100% !important;
  border:0 !important;
  border-radius:6px !important;
}
.single .article-content .edmmix-preview-linkonly{
  padding:10px !important;
}
.single .article-content .edmmix-preview-xmly{
  padding:14px !important;
}
.single .article-content .edmmix-preview-xmly-play .edmmix-preview-audio{
  margin:0 !important;
  height:40px !important;
}
.single .article-content .edmmix-preview-netease .edmmix-preview-audio{
  margin:0 !important;
  height:40px !important;
}
.single .article-content .edmmix-preview-xmly-play .edmmix-preview-meta{
  margin-top:10px !important;
  padding-top:10px !important;
}
.single .article-content .edmmix-preview-xmly-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
}
.single .article-content .edmmix-preview-xmly-copy{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  min-width:0 !important;
}
.single .article-content .edmmix-preview-xmly-badge{
  font-size:14px !important;
  font-weight:700 !important;
  color:#1E293B !important;
  line-height:1.35 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.single .article-content .edmmix-preview-xmly-sub{
  font-size:12px !important;
  color:#94A3B8 !important;
  line-height:1.3 !important;
}
.single .article-content .edmmix-preview-xmly .edmmix-preview-btn{
  width:auto !important;
  flex:0 0 auto !important;
  min-width:108px !important;
  justify-content:center !important;
  background:var(--theme-color) !important;
  border-color:transparent !important;
  color:#fff !important;
}
.single .article-content .edmmix-preview-xmly .edmmix-preview-btn:hover{
  background:#4B93EF !important;
  color:#fff !important;
}
@media (max-width:560px){
  .single .article-content .edmmix-preview-panel{
    padding:12px 10px 10px !important;
  }
  .single .article-content .edmmix-preview-btn{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:4px !important;
  }
  .single .article-content .edmmix-preview-xmly-row{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .single .article-content .edmmix-preview-xmly .edmmix-preview-btn{
    width:100% !important;
  }
}

/* Sitewide page-load veil moved to edmmix-compliance.php (#edmmix-boot). Do not duplicate html::before/::after here. */

/* Account: 我的等级 */
.edmmix-level-panel{max-width:640px}
.edmmix-level-hero{display:flex;align-items:center;gap:16px;margin:0 0 12px}
.edmmix-level-lv{flex:0 0 auto;min-width:64px;height:64px;border-radius:14px;background:rgba(96,165,250,.14);color:var(--theme-color,#60A5FA);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;letter-spacing:.02em}
.edmmix-level-meta p{margin:0 0 4px;color:#475569;font-size:14px;line-height:1.5}
.edmmix-level-meta strong{color:#0F172A}
.edmmix-level-bar{height:8px;border-radius:999px;background:#E2E8F0;overflow:hidden;margin:0 0 16px}
.edmmix-level-bar>span{display:block;height:100%;background:var(--theme-color,#60A5FA);border-radius:999px}
.edmmix-level-stats{list-style:none;margin:0 0 18px;padding:0}
.edmmix-level-stats li{margin:0 0 8px;padding:0;color:#475569;font-size:14px;line-height:1.5}
.edmmix-level-stats strong{color:#0F172A}
.edmmix-level-stats em{font-style:normal;color:var(--theme-color,#60A5FA);font-size:12px}
.edmmix-level-ways h4{margin:0 0 8px;font-size:15px;color:#0F172A}
.edmmix-level-ways ul{margin:0;padding-left:1.2em;color:#475569;font-size:14px;line-height:1.7}
.edmmix-level-guide{margin:16px 0 0}
.edmmix-level-guide a{color:var(--theme-color,#60A5FA);text-decoration:none}
.edmmix-level-guide a:hover{text-decoration:underline}

/* Static page: level guide tables */
body.page .edmmix-level-guide-table,
.article-content .edmmix-level-guide-table{
  width:100%;
  border-collapse:collapse;
  margin:12px 0 24px;
  font-size:14px;
}
.article-content .edmmix-level-guide-table th,
.article-content .edmmix-level-guide-table td{
  border:1px solid #E2E8F0;
  padding:10px 12px;
  text-align:left;
  color:#334155;
}
.article-content .edmmix-level-guide-table th{
  background:#F8FAFC;
  color:#0F172A;
  font-weight:600;
}

