/* ============================================================
   BUGCC · BU规则怪谈 详情页样式
   ============================================================ */

.bu-rules {
  max-width: 900px;
  margin: 8px auto 40px;
}

.bu-rules__head-eyebrow {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--red);
  font-weight: 600;
  margin: 24px 0 6px;
  text-align: center;
}
.bu-rules__head-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0 0 32px;
  font-style: italic;
}

/* 章节卡片：竖排单列 */
.bu-rules__card {
  display: block;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(166, 24, 42, 0.12);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.bu-rules__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(166, 24, 42, 0.32);
  border-color: rgba(166, 24, 42, 0.38);
  background: #fff;
}

.bu-rules__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 382;
  overflow: hidden;
  background: rgba(166, 24, 42, 0.06);
}
.bu-rules__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.bu-rules__card:hover .bu-rules__cover img {
  transform: scale(1.03);
}

/* 右上角徽标：微信推文 ↗ */
.bu-rules__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.bu-rules__card:hover .bu-rules__badge {
  background: var(--red);
  transform: translateX(2px);
}

/* meta 行：章节 + 日期 */
.bu-rules__meta {
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.bu-rules__chapter {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.bu-rules__date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 2px;
  font-weight: 600;
}

/* 底部说明 */
.bu-rules__note {
  text-align: center;
  margin: 24px auto 40px;
  max-width: 600px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  font-style: italic;
}
.bu-rules__note a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 24, 42, 0.4);
}
.bu-rules__note a:hover {
  color: var(--red-dark);
  border-color: var(--red-dark);
}
