/* 在线观看地址按钮样式 */
.n1716-jueo.jzcopy.button.primary1 {
  display: inline-block;
  background-color: #ff2b2b; /* 红色背景 */
  color: #ffffff !important; /* 白色文字 */
  padding: 10px 20px;
  border-radius: 20px; /* 圆角矩形 */
  text-align: center;
  font-weight: bold;
  margin: 5px 10px 5px 0;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 5px rgba(255, 43, 43, 0.3);
}
.n1716-jueo.jzcopy.button.primary1:hover {
  background-color: #e01a1a; /* 鼠标悬停时的颜色 */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 43, 43, 0.4);
}
.n1716-jueo.jzcopy.button.primary1 em {
  display: inline-block;
  margin-left: 5px;
}
.n1716-kmzp.actions li {
  display: inline-block;
  margin-bottom: 10px;
}
/* 搜索引擎隐藏样式 */
.bot-hidden {
  display: none !important;
}
/* 用户提示信息样式 */
.user-notice {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  color: #1976d2;
  font-size: 14px;
  line-height: 1.5;
}

/* 付费内容样式 */
.paid-content-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.paid-content-price {
  font-size: 24px;
  color: #e74c3c;
  font-weight: bold;
  margin: 10px 0;
}
.pay-button {
  background: #00d084;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pay-button:hover {
  background: #00b574;
  transform: translateY(-2px);
}

/* 支付弹窗样式 */
.payment-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.payment-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  text-align: center;
  position: relative;
}
.payment-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
}
.payment-close:hover {
  color: #000;
}
.qr-code-container {
  margin: 20px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.qr-code-container canvas {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
}
.qr-code-container img {
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  margin: 0 auto;
}
.qr-code-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.payment-tips {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}
.payment-status {
  margin: 15px 0;
  padding: 10px;
  border-radius: 5px;
}
.payment-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.payment-waiting {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}
.resource-links {
  margin-top: 20px;
  text-align: left;
}
.resource-links h4 {
  color: #333;
  margin-bottom: 10px;
}
.resource-link-item {
  margin: 8px 0;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 5px;
  border-left: 4px solid #007bff;
}
.resource-link-item a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.resource-link-item a:hover {
  text-decoration: underline;
}
.save-reminder {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin-top: 15px;
  font-size: 14px;
}
.quark-check-overlay {
  display: none;
  position: fixed;
  z-index: 10002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.quark-check-modal {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px 24px;
  border-radius: 10px;
  width: 420px;
  max-width: 90%;
  text-align: center;
  position: relative;
  animation: slideIn 0.3s ease-out;
}
.quark-check-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}
.quark-check-close:hover {
  color: #333;
}
.quark-check-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}
.quark-check-message {
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.quark-check-qr {
  margin: 10px auto 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.quark-check-qr canvas,
.quark-check-qr img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.quark-check-qr > * {
  margin: 0 auto;
  display: inline-block;
}
.quark-check-slogan {
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}
.quark-check-slogan p {
  margin: 0;
}
.quark-check-actions {
  margin-top: 12px;
}
.quark-check-actions .n1716-jueo {
  margin-top: 6px;
}
@media (max-width: 768px) {
  .quark-check-modal {
    width: 90%;
    padding: 20px 16px;
  }
  .quark-check-qr canvas,
  .quark-check-qr img {
    width: 180px;
    height: 180px;
  }
}

/* 资源链接弹窗样式 */
.resource-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.resource-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 500px;
  max-width: 90%;
  text-align: center;
  position: relative;
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.resource-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
}
.resource-close:hover {
  color: #000;
}
.resource-modal .resource-links {
  margin-top: 20px;
  text-align: left;
}
.resource-modal .resource-links h4 {
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}
.success-icon {
  font-size: 48px;
  color: #28a745;
  margin-bottom: 15px;
}

/* 文章页通用样式 */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
}

.article-meta {
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

.category-tag {
  background: var(--glocolorb);
  color: #fff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 15px;
}

.article-title {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #333;
}

.article-intro {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.article-image {
  margin-bottom: 30px;
}

.article-image img {
  width: 100%;
  border-radius: 8px;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
}

.article-tags {
  margin-bottom: 30px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.tag-item {
  display: inline-block;
  background: #f5f5f5;
  color: #666;
  padding: 5px 12px;
  margin-right: 10px;
  border-radius: 15px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: var(--glocolorb);
  color: #fff;
}

.article-share {
  margin-bottom: 30px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.share-btn {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  transition: all 0.3s ease;
}

.share-btn.weibo { background: #e6162d; }
.share-btn.qq { background: #12b7f5; }
.share-btn.wechat { background: #2aae67; }

.article-nav {
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.nav-prev, .nav-next {
  margin-bottom: 10px;
}

.nav-label {
  color: #666;
  font-size: 14px;
}

.related-articles {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--glocolorb);
}

.related-list {
  /* display: grid; */
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.related-item {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.related-item:hover {
  transform: translateY(-3px);
}

.related-img {
  width: 80px;
  height: 60px;
  position: relative;
  flex-shrink: 0;
}

.related-img img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.related-content {
  padding: 10px 15px;
  flex: 1;
}

.related-content h4 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-content time {
  font-size: 12px;
  color: #999;
}

/* 免责声明样式 - 优化版 */
.disclaimer-section {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
  border-left: 4px solid #ffc107;
  border-radius: 0 12px 12px 0;
  padding: 20px 25px;
  margin: 30px 0;
  box-shadow: 0 2px 12px rgba(255, 193, 7, 0.15);
  position: relative;
}

.disclaimer-section::before {
  content: "⚠️";
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  opacity: 0.3;
}

.disclaimer-title {
  font-size: 16px;
  color: #856404;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: #ffc107;
  border-radius: 3px;
}

.disclaimer-content {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.8;
}

.disclaimer-content p {
  margin: 0;
}

/* 资源地址样式 - 优化版 */
.resource-box {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.resource-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.resource-icon {
  font-size: 20px;
}

.resource-title {
  font-size: 16px;
  color: #0056b3;
  font-weight: 600;
  margin: 0;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.resource-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* 相关标签样式 - 优化版 */
.tags-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 25px;
  margin: 30px 0;
}

.tags-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.tags-icon {
  font-size: 16px;
}

.tags-title {
  font-size: 16px;
  color: #495057;
  font-weight: 600;
  margin: 0;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-list .tag-item {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #495057;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  text-decoration: none;
}

.tags-list .tag-item:hover {
  background: var(--glocolorb);
  color: #fff;
  border-color: var(--glocolorb);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(94, 140, 255, 0.3);
}

/* 夸克按钮和状态标签包裹 */
.quark-btn-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

/* 夸克链接检测状态标签 */
.quark-check-status {
  display: inline-flex;
  align-items: center;
}

.quark-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.quark-tag-valid {
  background: #dcfce7;
  color: #166534;
}

.quark-tag-invalid {
  background: #fee2e2;
  color: #dc2626;
}

.quark-tag-checking {
  background: #f1f5f9;
  color: #64748b;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 站内热门样式 - 优化版 */
.hot-box {
  margin: 30px 0;
}

.hot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--glocolorb);
}

.hot-icon {
  font-size: 20px;
}

.hot-title {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 0;
}

.hot-subtitle {
  font-size: 12px;
  color: #999;
  font-weight: normal;
  margin-left: auto;
}

/* 热门推荐 - 分类名标签（图片左上角） */
.hot-cate-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.4;
}
/* 热门推荐 - 浏览量热度 */
.hot-views {
  color: #ff6b6b;
  font-size: 12px;
}
/* 热门推荐 - meta区域两端对齐 */
.hot-posts-list .list-meta {
  justify-content: space-between;
}

@media (max-width: 768px) {
  .article-content {
    padding: 20px 15px;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .disclaimer-section {
    padding: 15px 15px 15px 0;
    margin: 20px 0;
  }

  .disclaimer-title {
    font-size: 1.1rem;
  }
}

/* ========== 文章页反馈按钮 ========== */
.btn-link-feedback {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 4px 14px;
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-link-feedback:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
  color: #fff;
}
@media (max-width: 768px) {
  .btn-link-feedback {
    margin-left: 6px;
    padding: 3px 10px;
    font-size: 11px;
  }
}
