/* PureDude 分类二级详情页核心样式 (assets/css/category-critical.css) */

/* 1. 面包屑导航 */
.breadcrumb-holder{width:100%;margin-bottom:8px}
.breadcrumb{z-index:1;scroll-behavior:smooth;scrollbar-width:none;white-space:nowrap;text-align:left;background:#fff;align-items:center;height:34px;margin:0;padding:10px 0 0;list-style:none;display:flex;position:relative;overflow:auto hidden}
.breadcrumb::-webkit-scrollbar{display:none}
.breadcrumb li{flex-shrink:0;align-items:center;gap:4px;display:flex}
.breadcrumb li[itemprop=itemListElement] a{color:#5c5c5c;padding-left:4px}
.breadcrumb li.link-home a{color:#fa9e43;border-radius:5px;align-items:center;gap:4px;padding:10px;text-decoration:none;display:flex;position:relative}
.breadcrumb li.link-home a .icon-flag{margin-right:3px}
.breadcrumb li.link-home a:before{--animation-rgb-value:118 118 118;content:"";background-color:#fa9e43;border-radius:3px;width:6px;height:6px;display:inline-block;position:absolute;top:50%;left:0;transform:translateY(-50%)}
.breadcrumb li:not(:first-child):before{content:">";color:#9798a0;margin:0 4px;font-size:12px;display:inline-block}
.breadcrumb li.link-category:not(:first-child) a{padding-left:4px}
.breadcrumb li.link-category a{color:#9798a0;border-radius:5px;align-items:center;gap:4px;padding:10px;text-decoration:none;display:flex;position:relative}
.breadcrumb li .icon-category{width:24px;height:24px}
.breadcrumb a{font-size:14px;font-weight:400;text-decoration:none}
@media (min-width:992px){
  .breadcrumb{scroll-behavior:auto;scrollbar-width:auto;overflow:visible}
  .breadcrumb a{font-size:15px;font-weight:500}
}

/* 2. 标题横幅与免责声明 */
.link-header{margin:0 0 10px;padding:5px 5px 5px 0;position:relative}
.link-header:after{content:"";border-radius:1px;width:100%;height:3px;display:inline-block;position:absolute;top:100%;left:0}
@media (min-width:992px){.link-header:after{background-color:#e9ebed}}
.link-header h1{overflow-wrap:break-word;text-transform:uppercase;color:#4c4c4c;font-size:26px;font-weight:500;margin:0}
@media (max-width:991px){.link-header h1{font-size:20px}}
.link-header-line{justify-content:space-between;gap:10px;display:flex}
.link-header-title-wrap{grid-template-columns:auto 1fr;gap:6px 10px;display:grid;position:relative}
.link-header-title-wrap .icon-category{grid-area:1/1/span 2;width:32px;height:32px}
.link-header-title,.link-header-subtitle{grid-column:2}
.link-header-subtitle{color:#727272;gap:6px;font-size:14px;display:flex;position:relative}
.link-header-subtitle-label{font-weight:500}
.link-header-subtitle-text{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
.read-more-state{z-index:-1;opacity:0;pointer-events:none;position:absolute}
.read-more-state~.link-header-subtitle .read-more-trigger:before{content:"Read More"}
.read-more-state:checked~.link-header-subtitle .read-more-trigger:before{content:"Read Less"}
.read-more-state:checked~.link-header-subtitle .link-header-subtitle-text{-webkit-line-clamp:unset;display:block}
.read-more-trigger{color:#ff8c01;cursor:pointer;flex-shrink:0;font-size:14px}
.subscribe-holder{position:relative}
.subscribe-opener{color:#fba400;border:2px solid #d9d9d9;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;transition:border-color .2s,color .2s;display:flex;position:relative;background:transparent;cursor:pointer}
@media (min-width:992px){.subscribe-opener{width:40px;height:40px}}

/* 3. 语言下拉选择器 (Category Filters) */
.category-filters{display:flex;flex-wrap:wrap;margin:10px 0 15px}
.category-filter{font-size:14px;position:relative}
.category-filter-inner{position:relative}
.category-filter-opener{color:#333;background:#f8f9fa;border:1px solid #d2d4da;border-radius:6px;padding:6px 28px 6px 12px;font-size:14px;font-weight:500;cursor:pointer;position:relative;display:flex;align-items:center}
.category-filter-opener:after{content:"▼";font-size:9px;color:#888;position:absolute;right:10px;top:50%;transform:translateY(-50%)}
.category-filter-dropdown{display:none;position:absolute;top:100%;left:0;z-index:20;background:#fff;border:1px solid #d2d4da;border-radius:6px;box-shadow:0 4px 16px rgba(0,0,0,.15);min-width:140px;margin-top:4px}
.category-filter:hover .category-filter-dropdown{display:block}
.category-filter-list{list-style:none;margin:0;padding:6px 0}
.category-filter-item{padding:6px 14px;cursor:pointer}
.category-filter-item:hover{background:#f3f4f7}
.category-filter-item.is-selected{color:#fa9e43;font-weight:600}
.category-filter-link{text-decoration:none;color:inherit;display:block}

/* 4. 主体两栏布局 (左侧 Sidebar + 右侧内容区) */
.feature-container{display:flex;gap:20px;align-items:flex-start}
.category-sidebar{width:250px;flex-shrink:0;position:sticky;top:80px;max-height:calc(100vh - 100px);overflow-y:auto;scroll-behavior:smooth}
.category-sidebar::-webkit-scrollbar{width:4px}
.category-sidebar::-webkit-scrollbar-thumb{background:#cbd0db;border-radius:2px}
.category-sidebar::-webkit-scrollbar-track{background:transparent}
@media (max-width:991px){
  .category-sidebar{display:none !important}
}
.category-sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.category-sidebar-list .category-list-item,
.category-sidebar .category-list-item,
.category-list-item{
  position:relative;
  flex:0 0 48px !important;
  height:48px !important;
  min-height:48px !important;
  max-height:48px !important;
  border-radius:6px;
  overflow:hidden;
  box-sizing:border-box;
  border-bottom:none !important;
  transition:background-color .2s;
}
.category-sidebar-list .category-list-item:not(.is-current),
.category-sidebar .category-list-item:not(.is-current),
.category-list-item:not(.is-current){background-color:transparent !important}
.category-sidebar-list .category-list-item:not(.is-current):hover,
.category-sidebar .category-list-item:not(.is-current):hover,
.category-list-item:not(.is-current):hover{background-color:#f5f6f9 !important}
.category-sidebar-list .category-list-item.is-current,
.category-sidebar .category-list-item.is-current,
.category-list-item.is-current{background-color:#e6ebf3 !important;box-shadow:inset 3px 0 0 #2eaf61 !important}
.category-sidebar-list .category-list-link,
.category-sidebar .category-list-link,
.category-list-link{
  display:grid !important;
  grid-template-columns:26px 1fr 10px !important;
  grid-template-rows:18px 16px !important;
  column-gap:8px !important;
  row-gap:2px !important;
  align-items:center !important;
  height:100% !important;
  min-height:44px !important;
  padding:5px 12px 5px 16px !important;
  text-decoration:none !important;
  position:relative !important;
  box-sizing:border-box !important;
}
.category-sidebar-list .icon-category,
.category-sidebar .category-list-link .icon-category,
.icon-category{
  grid-area:1 / 1 / span 2 / 2 !important;
  display:block !important;
  width:26px !important;
  height:26px !important;
  background-size:contain !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  flex-shrink:0 !important;
}
.category-sidebar-list .category-list-link:before,
.category-sidebar .category-list-link:before,
.category-list-link:before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ec9a1d;
  position:absolute;
  left:5px;
  top:50%;
  transform:translateY(-50%);
}
.category-sidebar-list .category-list-item.is-current .category-list-link:before,
.category-sidebar .category-list-item.is-current .category-list-link:before,
.category-list-item.is-current .category-list-link:before{
  border:solid #2eaf61 !important;
  border-width:0 2px 2px 0 !important;
  width:4px !important;
  height:8px !important;
  border-radius:0 !important;
  background:transparent !important;
  transform:translateY(-60%) rotate(45deg) !important;
  left:6px !important;
}
.category-sidebar-list .category-list-item:not(.is-current) .category-list-link:before,
.category-sidebar .category-list-item:not(.is-current) .category-list-link:before,
.category-list-item:not(.is-current) .category-list-link:before{
  content:"" !important;
  width:5px !important;
  height:5px !important;
  border:none !important;
  border-radius:50% !important;
  background:#ec9a1d !important;
  transform:translateY(-50%) !important;
  left:5px !important;
}
.category-sidebar-list .category-list-link:after,
.category-sidebar .category-list-link:after,
.category-list-link:after{
  content:">";
  grid-area:1 / 3 / span 2 / 4 !important;
  color:#6b7280 !important;
  font-size:13px !important;
  font-family:inherit !important;
  font-weight:400 !important;
  line-height:1 !important;
  position:static !important;
  bottom:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  width:auto !important;
  height:auto !important;
  background:transparent !important;
}
.category-sidebar-list .category-list-title,
.category-sidebar .category-list-title,
.category-list-title{
  grid-area:1 / 2 / 2 / 3 !important;
  font-size:13px;
  font-weight:500;
  color:#3e4046;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:18px;
  margin:0;
}
.category-sidebar-list .category-list-item:not(.is-current) .category-list-title,
.category-sidebar .category-list-item:not(.is-current) .category-list-title,
.category-list-item:not(.is-current) .category-list-title{
  color:#3e4046 !important;
  font-weight:500 !important;
}
.category-sidebar-list .category-list-item.is-current .category-list-title,
.category-sidebar .category-list-item.is-current .category-list-title,
.category-list-item.is-current .category-list-title{
  color:#000 !important;
  font-weight:600 !important;
}
.dark .category-sidebar-list .category-list-item:not(.is-current) .category-list-title,
.dark .category-sidebar .category-list-item:not(.is-current) .category-list-title,
.dark .category-list-item:not(.is-current) .category-list-title{
  color:#94a3b8 !important;
  font-weight:500 !important;
}
.dark .category-sidebar-list .category-list-item.is-current .category-list-title,
.dark .category-sidebar .category-list-item.is-current .category-list-title,
.dark .category-list-item.is-current .category-list-title{
  color:#e2e8f0 !important;
  font-weight:600 !important;
}
}
.category-sidebar-list .icon-site-list,
.category-sidebar .icon-site-list,
.icon-site-list{
  grid-area:2 / 2 / 3 / 3 !important;
  display:flex;
  align-items:center;
  gap:3px;
  list-style:none;
  margin:0;
  padding:0;
  height:16px;
  overflow:hidden;
}
.category-sidebar-list .icon-site-list .icon-site,
.category-sidebar .icon-site-list .icon-site,
.icon-site-list .icon-site{
  width:14px;
  height:14px;
  transform:scale(0.85);
  flex-shrink:0;
}
.category-sidebar-list .icon-site-list-amount,
.category-sidebar .icon-site-list-amount,
.icon-site-list-amount{
  font-size:11px;
  color:#8a96a3;
  margin-left:2px;
  white-space:nowrap;
}

/* 5. 右侧内容区与网格 */
.link-content{flex-grow:1;min-width:0}
.category-content{position:relative;overflow:hidden}
#related-sites.thumbs-list-content,
.thumbs-list-content{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;width:auto;margin:0}
#related-sites.thumbs-list-content .category-desc-wrapper,
.thumbs-list-content .category-desc-wrapper{grid-area:1/1/auto/-1;width:auto;height:220px;max-height:220px}
@media (min-width:768px){
  #related-sites.thumbs-list-content,
  .thumbs-list-content{grid-template-columns:repeat(2,1fr);gap:12px}
}
@media (min-width:992px){
  #related-sites.thumbs-list-content,
  .thumbs-list-content{grid-template-columns:repeat(3,1fr);grid-auto-flow:dense;gap:12px}
  #related-sites.thumbs-list-content .category-desc-wrapper,
  .thumbs-list-content .category-desc-wrapper{grid-area:auto;grid-column:3;margin-top:0;height:220px !important;max-height:220px !important}
}
@media (min-width:1200px){
  #related-sites.thumbs-list-content,
  .thumbs-list-content{grid-template-columns:repeat(4,1fr);grid-auto-flow:dense;gap:12px 14px}
  #related-sites.thumbs-list-content .category-desc-wrapper,
  .thumbs-list-content .category-desc-wrapper{grid-area:auto;grid-column:3 / span 2;height:220px !important;max-height:220px !important}
}

/* 6. 富文本导语横幅 */
.category-desc-wrapper{
  color:#4e4e4e;
  background:#fff;
  border-radius:6px;
  height:220px;
  max-height:220px;
  min-height:220px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}
.category-desc{
  color:#4e4e4e;
  font-size:12.5px;
  line-height:19px;
  overflow-y:auto !important;
  flex:1;
  height:100%;
  box-sizing:border-box;
  padding:10px 12px 10px 8px;
  scrollbar-width:thin;
  scrollbar-color:#b0b4bd rgba(0,0,0,0.04);
}
.category-desc::-webkit-scrollbar{width:5px}
.category-desc::-webkit-scrollbar-track{background:rgba(0,0,0,0.04);border-radius:3px}
.category-desc::-webkit-scrollbar-thumb{background:#b0b4bd;border-radius:3px}
.category-desc::-webkit-scrollbar-thumb:hover{background:#8e939e}
.category-desc h3{color:#2c2d30;margin:0 0 6px;font-weight:600;font-size:14.5px !important;line-height:1.4}
.category-desc p{margin:0 0 6px;font-size:12.5px;line-height:19px}
.category-desc ol,.category-desc ul{margin:0 0 6px;padding-left:18px}
.category-desc li{font-size:12px;line-height:18px;margin-bottom:3px}
.dark .category-desc-wrapper{background:#1f2026;color:#cbd5e1}
.dark .category-desc h3{color:#f1f5f9 !important}
.dark .category-desc{color:#94a3b8 !important}
.dark .category-desc::-webkit-scrollbar-track{background:rgba(255,255,255,0.05)}
.dark .category-desc::-webkit-scrollbar-thumb{background:#555964}

/* 7. Review 卡片 */
.review-card{
  font-size:15px;
  overflow:hidden;
  background:#fff;
  border-radius:6px;
  display:flex;
  flex-direction:column;
  position:relative;
  height:220px;
  max-height:220px;
  box-sizing:border-box;
}
.review-card-thumb{
  aspect-ratio:4/3;
  border-radius:6px;
  position:relative;
  overflow:hidden;
  background:#20222a;
}
@media (max-width:767px){
  .review-card-thumb{aspect-ratio:4/3}
}
.review-card-link{display:block;position:absolute;inset:0;z-index:1}
.review-card-thumb:after{content:"";pointer-events:none;background:linear-gradient(0deg,#000 0,#00000080 35%,#6b6b6b00 65%,#fff0 100%);position:absolute;inset:0}
.review-card-img{transform-origin:50% 50%;width:100%;height:100%;object-fit:cover;transition:transform .2s;position:absolute;inset:0}
.review-card:hover .review-card-img{transform:scale(1.05)}
.review-card-heading{
  z-index:6 !important;
  color:#fff;
  text-decoration:none;
  align-items:center;
  gap:6px;
  height:26px;
  min-height:26px;
  max-height:26px;
  padding:0 8px;
  display:flex;
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.78);
  border-bottom-left-radius:6px;
  border-bottom-right-radius:6px;
  pointer-events:auto;
  box-sizing:border-box;
}
.review-card-order{
  color:#ff9701;
  font-weight:700;
  font-size:12px;
  line-height:1;
  min-width:14px;
  border-radius:2px;
  flex-shrink:0;
}
.review-card.visited .review-card-order{
  color:transparent !important;
  position:relative;
}
.review-card.visited .review-card-order:before{
  content:"";
  border:solid #2eaf61;
  border-width:0 2px 2px 0;
  width:4px;
  height:8px;
  border-radius:0;
  background:transparent;
  display:inline-block;
  transform:rotate(45deg);
}
.review-card-caption{
  align-items:center;
  gap:4px;
  min-width:0;
  display:inline-flex;
  overflow:hidden;
  flex:1;
}
.review-card-caption .icon-site,
.review-card-caption [class*="ctm-icon"]{
  width:15px;
  height:15px;
  flex-shrink:0;
  display:inline-flex;
}
.review-card-caption .icon-flag{
  width:16px;
  height:11px;
  transform:scale(0.9);
  flex-shrink:0;
}
.review-card-name{
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
  font-size:12.5px;
  font-weight:600;
  color:#fff;
  line-height:1;
}
.review-card-footer{
  overflow-wrap:break-word;
  text-overflow:ellipsis;
  color:#4b5563;
  padding:6px 6px 4px 6px;
  font-size:11.5px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden !important;
  max-height:calc(1.45em * 4 + 5px) !important;
  box-sizing:border-box;
  flex:1;
}
.dark .review-card-footer{
  color:#cbd5e1 !important;
}

/* 卡片悬停浮层 (Hover Overlay) 对齐源站 */
.review-card-overlay{
  z-index:5;
  background-color:rgba(0,0,0,0.72);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:10px;
  padding:10px 12px 42px 12px;
  display:flex;
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease,visibility .25s ease;
  pointer-events:none;
}
@media (min-width:992px){
  .review-card:hover .review-card-overlay,
  .review-card-thumb:hover .review-card-overlay{
    opacity:1;
    visibility:visible;
  }
}
@media (max-width:991px){
  .review-card-overlay{display:none !important}
}
.review-card-action{
  color:#fff !important;
  border:1px solid rgba(255,255,255,0.25);
  border-radius:24px;
  justify-content:center;
  align-items:center;
  gap:6px;
  width:84%;
  max-width:160px;
  min-height:36px;
  padding:6px 14px;
  font-size:13.5px;
  font-weight:600;
  text-decoration:none !important;
  display:inline-flex;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,0.4);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
  user-select:none;
  pointer-events:auto;
}
.review-card-action:hover{
  transform:translateY(-2px);
  filter:brightness(1.12);
  box-shadow:0 6px 18px rgba(0,0,0,0.5);
  color:#fff !important;
}
.review-card-action-review{
  background:linear-gradient(135deg,#ff9701 0%,#ff6c3f 100%);
}
.review-card-action-visit{
  background:linear-gradient(135deg,#2ecc71 0%,#27ae60 100%);
}
.review-card-action-arrow{
  font-size:14px;
  font-weight:700;
  line-height:1;
  display:inline-block;
  margin-left:2px;
}

/* 8. 底部悬浮工具栏 (极致对齐图2源站精致白玻圆角胶囊与独立橙色向下圆钮) */
.bottom-toolbar {
  z-index: 99;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 16px 14px;
  font-size: 12px;
  transition: transform 0.2s ease;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
@media (min-width: 992px) {
  .bottom-toolbar {
    display: none !important;
  }
}
.bottom-toolbar > * {
  pointer-events: auto;
}

.bottom-toolbar-main {
  text-decoration: none !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 999px !important;
  align-items: center !important;
  padding: 5px 22px 5px 6px !important;
  display: flex !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.16) !important;
  color: #1a1a1a !important;
  cursor: pointer !important;
  gap: 10px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.bottom-toolbar-main:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.2) !important;
}

.bottom-toolbar-logo-slot {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border: 2px solid #ff9701;
}
.bottom-toolbar-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottom-toolbar-content-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
.bottom-toolbar-counter {
  font-weight: 800;
  font-size: 13.5px;
  color: #1a1a1a !important;
  letter-spacing: -0.2px;
}
.bottom-toolbar-title {
  font-size: 11px;
  color: #666666 !important;
  font-weight: 500;
  white-space: nowrap;
}

/* 右侧独立的向下滚动橙色圆钮 (对齐图2) */
.bottom-toolbar-side {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9701 0%, #ff8300 100%) !important;
  border: 2px solid #ffffff !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 4px 18px rgba(255, 151, 1, 0.45) !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.bottom-toolbar-side:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 22px rgba(255, 151, 1, 0.6) !important;
}
.bottom-toolbar-side .arrow-down-icon {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: block !important;
}

/* 移动端分类详情页：紧邻向下滚动圆钮的商务合作绿色信封圆钮 (对齐用户需求) */
.bottom-toolbar-contact {
  flex-shrink: 0 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: 2px solid #ffffff !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45) !important;
  cursor: pointer !important;
  padding: 0 !important;
  color: #ffffff !important;
  position: static !important;
  transform: none !important;
  animation: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
.bottom-toolbar-contact:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6) !important;
}
.bottom-toolbar-contact:active {
  transform: scale(0.95) !important;
}
.bottom-toolbar-contact .icon-mask {
  width: 20px !important;
  height: 16px !important;
  background-color: #ffffff !important;
  mask-image: var(--icon-regular-envelop) !important;
  -webkit-mask-image: var(--icon-regular-envelop) !important;
  mask-position: center !important;
  -webkit-mask-position: center !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-size: contain !important;
  -webkit-mask-size: contain !important;
  pointer-events: none !important;
}

@media (max-width: 390px) {
  .bottom-toolbar {
    gap: 8px !important;
    padding: 0 8px 12px !important;
  }
  .bottom-toolbar-main {
    padding: 5px 14px 5px 6px !important;
    gap: 8px !important;
  }
}

/* 隐藏移动端冗余语言下拉框 (对齐图2) */
@media (max-width: 991px) {
  .category-filters {
    display: none !important;
  }
}

body.dark .bottom-toolbar-main,
body.dark-theme .bottom-toolbar-main {
  background: rgba(26, 28, 36, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
body.dark .bottom-toolbar-counter,
body.dark-theme .bottom-toolbar-counter {
  color: #ffffff !important;
}
body.dark .bottom-toolbar-title,
body.dark-theme .bottom-toolbar-title {
  color: #a0a4b0 !important;
}

/* ========================================================
   9. 全站统一图 1 规范底部 (深蓝知识库问答区 + 吉祥物头像 + 橙色 Footer)
   ======================================================== */
.site-footer-wrapper {
  width: 100%;
  margin-top: 40px;
  position: relative;
  box-sizing: border-box;
}

/* 9.1 上半部分：深蓝背景知识库特色问答区 (#017acf) */
.site-footer-lead {
  background-color: #017acf;
  color: #ffffff;
  padding: 34px 0 54px;
  position: relative;
  font-size: 14px;
  line-height: 1.7;
}
.site-footer-lead-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}
.site-footer-lead-content {
  flex: 1;
  min-width: 0;
}
.site-footer-lead-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.site-footer-lead-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  line-height: 1.75;
}
.site-footer-lead-text strong {
  color: #ffffff;
  font-weight: 700;
}
.site-footer-lead-text a {
  color: #ffe600;
  text-decoration: underline;
}
.site-footer-lead-text a:hover {
  color: #ffffff;
}

/* 右侧返回顶部圆形按钮 */
.site-footer-lead-scrollspy {
  flex-shrink: 0;
  cursor: pointer;
  margin-bottom: 8px;
  user-select: none;
}
.scrollspy-circle-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ff9701;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background-color 0.2s;
}
.scrollspy-circle-btn:hover {
  transform: translateY(-2px);
  background-color: #e68500;
}
.scrollspy-circle-btn .scrollspy-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scrollspy-circle-btn .scrollspy-arrow {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* 9.2 中间居中跨界卡通吉祥物 Dude 头像 */
.site-footer-mascot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -38px;
  margin-bottom: -15px;
  z-index: 10;
  pointer-events: none;
}
.site-footer-mascot-link {
  display: inline-block;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-footer-mascot-link:hover {
  transform: scale(1.08) rotate(-3deg);
}
.site-footer-mascot-img {
  width: 76px;
  height: 76px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

/* 9.3 下半部分：橙色 Footer (#ff9701) */
.site-footer-bar {
  background-color: #ff9701;
  color: #ffffff;
  padding-top: 26px;
  position: relative;
  z-index: 5;
}
.site-footer-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 24px;
  text-align: center;
  box-sizing: border-box;
}

/* 社交与功能圆形按钮行 */
.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-wrap: wrap;
}
.footer-social-item {
  display: inline-flex;
}
.footer-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #ff9701;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  overflow: hidden;
}
.footer-social-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: #fff9f0;
}
.footer-social-circle .circle-txt {
  font-size: 10px;
  font-weight: 900;
  color: #ea8300;
  letter-spacing: -0.3px;
}
.footer-social-circle .icon-mask {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #ff9701;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.footer-social-circle.circle-mail .icon-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.footer-social-circle.circle-twitter .icon-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E");
}
.footer-social-circle.circle-theme .icon-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26 5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26 5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z'/%3E%3C/svg%3E");
}

/* 导航链接条 (含 RTA 徽标) */
.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-links li {
  display: inline-flex;
  align-items: center;
}
.footer-nav-links a {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.2s, text-decoration 0.2s;
}
.footer-nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-rta-item {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}
.footer-rta-img {
  display: block;
  height: 18px;
  width: auto;
  border-radius: 3px;
}

/* 最底部深橙色版权声明条 (#ea8300) */
.site-footer-copyright-strip {
  background-color: #ea8300;
  padding: 12px 20px;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  box-sizing: border-box;
}
.footer-copyright-text {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0.95;
}
.footer-copyright-text a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.footer-copyright-text a:hover {
  text-decoration: underline;
}

/* ========================================================
   10. 手机端与小屏全端响应式兼容规则 (@media max-width: 991px)
   ======================================================== */
@media (max-width: 991px) {
  /* 移动端侧边栏默认隐藏 (由 header burger 抽屉接管) */
  .category-sidebar {
    display: none !important;
  }
  .feature-container {
    display: block !important;
  }
  .link-content.category-content {
    width: 100% !important;
  }

  /* 移动端卡片评测描述：严格4行截断，超出多余部分绝对隐藏，杜绝露出半截残影 */
  .review-card-footer {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: calc(1.45em * 4 + 5px) !important;
    box-sizing: border-box !important;
  }

  /* 底部蓝底区域紧凑排版 */
  .site-footer-lead {
    padding: 24px 0 44px;
  }
  .site-footer-lead-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
    gap: 16px;
  }
  .site-footer-lead-title {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .site-footer-lead-text {
    font-size: 13px;
    line-height: 1.65;
  }
  /* 手机端圆形返回顶部按钮右浮居下 */
  .site-footer-lead-scrollspy {
    align-self: flex-end;
    margin-top: -10px;
  }

  /* 手机端吉祥物头像自适应 */
  .site-footer-mascot-wrap {
    margin-top: -30px;
    margin-bottom: -12px;
  }
  .site-footer-mascot-img {
    width: 60px;
    height: 60px;
  }

  /* 手机端橙色 footer 按钮与链接换行优化 */
  .site-footer-bar-container {
    padding: 0 14px 20px;
  }
  .footer-social-icons {
    gap: 10px;
    margin-bottom: 16px;
  }
  .footer-social-circle {
    width: 34px;
    height: 34px;
  }
  .footer-nav-links {
    gap: 6px 12px;
  }
  .footer-nav-links a {
    font-size: 12px;
  }
}

/* 10. 分类详情页悬浮向下滚动圆钮与大屏靠近内容旁边规范 (逻辑与首页完全一致) */
@media (max-width: 991px) {
  body.categorypage .scrollspy-down-btn {
    display: none !important;
  }
  /* 移动端分类详情页隐藏右侧腰部信封浮标，统一放到底部和返回按钮并排 */
  body.categorypage .pd-floating-contact-desktop,
  body.categorypage #pd-floating-contact-btn,
  body.categorypage .pd-floating-contact-btn:not(.bottom-toolbar-contact),
  .pd-floating-contact-desktop {
    display: none !important;
  }
}
@media (min-width: 992px) {
  body.categorypage .scrollspy-down-btn {
    display: flex !important;
  }
  .site-footer-lead-scrollspy {
    display: none !important;
  }
  /* 桌面端隐藏底部工具栏及其包含的信封圆钮 */
  .bottom-toolbar,
  .bottom-toolbar-contact {
    display: none !important;
  }
}


