/**
 * 全站统一页脚（版权区）
 */
.unified-footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e7eb;
  padding: 20px 0;
  margin-top: 0;
  clear: both;
}

.monetize-footer-zone + .unified-footer {
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-bottom {
  border-top: none;
  padding-top: 0;
  text-align: center;
}

.footer-copyright {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.8;
}

.footer-copyright p {
  margin: 8px 0;
}

.footer-icp {
  font-size: 12px;
}

.footer-icp a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-icp a:hover {
  color: #667eea;
  text-decoration: underline;
}

.footer-separator {
  margin: 0 8px;
  color: #d1d5db;
}

@media (max-width: 768px) {
  .unified-footer {
    padding: 15px 0;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .footer-icp {
    font-size: 11px;
  }
}

/* 第三方广告残留 body/html 不占位 */
.content-ad-wrap body,
.content-ad-wrap html,
.bottom-ad-wrap body,
.bottom-ad-wrap html {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.bottom-ad-wrap:empty,
.bottom-ad-slot:empty,
.content-ad-slot:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bottom-ad-wrap + .unified-footer,
.bottom-ad-wrap + footer.unified-footer {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .bottom-ad-wrap + .unified-footer,
  .bottom-ad-wrap + footer.unified-footer {
    margin-top: 16px;
  }
}
