/* ============================================================
   Issue 02 新增样式（首页系列卡片用）
   作用域：用于 index.html 中 Issue 02 卡片 + Issue 01 归档卡片
   ============================================================ */

/* ---- Issue 02 暗夜主题卡片：整体作为深色块嵌入暖色首页 ---- */
.issue-card.issue-shadow-theme {
  background: linear-gradient(135deg, #1a1916 0%, #0e0d0b 100%);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 16px 50px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(214, 138, 79, 0.18);
  position: relative;
}
.issue-card.issue-shadow-theme::before {
  content: '🆕 LATEST';
  color: #d68a4f;
  font-family: 'Caveat', cursive;
  font-size: 18px;
}
.issue-card.issue-shadow-theme .issue-meta {
  border-bottom-color: rgba(216, 210, 196, 0.2);
}
.issue-card.issue-shadow-theme .meta-pm-name {
  color: #d68a4f;
}
.issue-card.issue-shadow-theme .meta-pm-role {
  color: #c8c2b4;
}
.issue-card.issue-shadow-theme .issue-title {
  color: #f0ece2;
  background: linear-gradient(180deg, #fff 30%, #d68a4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.issue-card.issue-shadow-theme .issue-subtitle {
  color: #c8c2b4;
  font-style: italic;
}
.issue-card.issue-shadow-theme .issue-excerpt {
  color: #c8c2b4;
}
.issue-card.issue-shadow-theme .issue-excerpt strong {
  color: #f0ece2;
  background: rgba(214, 138, 79, 0.2);
  padding: 1px 4px;
}
.issue-card.issue-shadow-theme .kw {
  background: rgba(255, 255, 255, 0.05);
  color: #d68a4f;
  border-color: rgba(214, 138, 79, 0.25);
  font-weight: 500;
}
.issue-card.issue-shadow-theme .issue-footer {
  color: #8a8478;
  border-top-color: rgba(216, 210, 196, 0.15);
}

/* 暗色头像框 */
.avatar-frame-dark::before {
  background: #1a1916 !important;
  border-color: rgba(214, 138, 79, 0.4) !important;
}
.avatar-frame-dark::after {
  background: radial-gradient(circle at 35% 35%, #ffaa66, #c75c1f) !important;
}
.avatar-frame-dark .avatar-img-wrap {
  background: #1a1916;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.avatar-frame-dark .avatar-img {
  object-position: left center !important;
  object-fit: cover !important;
}
/* Lovart 品牌图标 */
.avatar-frame-dark .avatar-img-wrap::after {
  content: 'Lovart';
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(214, 138, 79, 0.9);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.silhouette-mini {
  display: block;
  width: 100%;
  height: 100%;
}
.avatar-corner-dark {
  background: #d68a4f !important;
  color: #1a1916 !important;
  font-size: 14px !important;
  line-height: 1.2;
  text-align: center;
  padding: 8px 14px !important;
}
.avatar-corner-dark::before {
  content: none !important;
}

/* 暗色 Issue 标签 */
.tag-issue-dark {
  background: linear-gradient(135deg, #d68a4f, #c75555) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(214, 138, 79, 0.3);
}
.tag-status-new {
  background: rgba(200, 69, 69, 0.15) !important;
  color: #c75555 !important;
  border: 1px solid rgba(200, 69, 69, 0.4) !important;
  font-weight: 700;
  position: relative;
  padding-left: 18px !important;
}
.tag-status-new::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c75555;
  box-shadow: 0 0 8px #c75555;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Issue 02 主按钮（暗色主题专属） */
.btn-primary-shadow {
  background: linear-gradient(135deg, #d68a4f, #c75555) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(214, 138, 79, 0.4);
}
.btn-primary-shadow:hover {
  background: linear-gradient(135deg, #c75555, #d68a4f) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199, 85, 85, 0.5) !important;
}
.issue-card.issue-shadow-theme .btn-secondary {
  color: #d68a4f;
  border: 1.5px solid #d68a4f;
}
.issue-card.issue-shadow-theme .btn-secondary:hover {
  background: #d68a4f;
  color: #1a1916;
}

/* ---- Issue 01 归档卡片：保持白板风但稍微弱化（已读过的视觉提示） ---- */
.issue-card.issue-archived {
  opacity: 0.92;
}
.issue-card.issue-archived::before {
  content: '📖 已读';
  color: var(--ink-light);
  font-family: 'Caveat', cursive;
  font-size: 16px;
  background: rgba(180, 170, 145, 0.15);
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(180, 170, 145, 0.4);
}

/* ---- 顶部"已发布数字"在多期后变成醒目 ---- */
.series-meta-row .meta-num {
  color: var(--accent-red);
}

/* ---- 响应式 ---- */
@media (max-width: 720px) {
  .issue-card.issue-shadow-theme .silhouette-mini {
    transform: scale(1);
  }
  .avatar-corner-dark {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
}
