/* =============================================================
 * Series · Cursor 主题（07 · Michael Truell · Cursor / Anysphere）
 * 主题色：cyan #00d9ff + violet #a78bfa
 * 设计模型与 06 nexus 完全一致：
 *   - 复用 series.css 通用 .avatar-frame (140×140) 大头像
 *   - 仅在 .issue-cursor-theme .avatar-frame.avatar-frame-cursor-light 上覆盖配色
 *   - tag/btn/strong/kw/border 全部对齐主题色
 * ============================================================= */

/* ---------- 卡片外层（深色霓虹） ---------- */
.issue-card.issue-cursor-theme {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(0, 217, 255, 0.16) 0%, rgba(0, 217, 255, 0) 50%),
    radial-gradient(100% 120% at 0% 100%, rgba(167, 139, 250, 0.16) 0%, rgba(167, 139, 250, 0) 55%),
    linear-gradient(135deg, #0a0a14 0%, #14141c 52%, #0f0f18 100%);
  box-shadow:
    0 30px 90px -40px rgba(0, 217, 255, 0.40),
    0 14px 40px -18px rgba(167, 139, 250, 0.25),
    0 0 0 1px rgba(0, 217, 255, 0.30);
  color: #e6e8ec;
}

.issue-cursor-theme .issue-card-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

/* 右上：精密代码网格 */
.issue-cursor-theme .issue-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.10) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(closest-side, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* 左下：紫色柔光 */
.issue-cursor-theme .issue-card-inner::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, rgba(167, 139, 250, 0) 65%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.issue-cursor-theme .issue-card-inner > * {
  position: relative;
  z-index: 1;
}

/* ---------- 暗色卡片内文字 ---------- */
.issue-cursor-theme .meta-pm-name { color: #e6e8ec; }
.issue-cursor-theme .meta-pm-role { color: #a8aebd; }
.issue-cursor-theme .issue-title { color: #e6e8ec; }
.issue-cursor-theme .issue-subtitle { color: #a8aebd; }
.issue-cursor-theme .issue-excerpt { color: #b8bcca; }
.issue-cursor-theme .issue-excerpt strong {
  color: #e6e8ec;
  background: rgba(0, 217, 255, 0.18);
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 600;
}
.issue-cursor-theme .issue-readtime,
.issue-cursor-theme .issue-date { color: #6b7080; }
.issue-cursor-theme .kw {
  background: rgba(0, 217, 255, 0.10);
  color: #b8bcca;
  border-color: rgba(0, 217, 255, 0.25);
}
.issue-cursor-theme .issue-meta {
  border-bottom-color: rgba(0, 217, 255, 0.20);
}

/* ---------- 标签 / 按钮 ---------- */
.tag-issue-cursor {
  background: rgba(0, 217, 255, 0.12);
  color: #00d9ff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-primary-cursor {
  background: linear-gradient(135deg, #00d9ff 0%, #a78bfa 100%);
  color: #0a0a14;
  border: none;
  font-weight: 700;
  box-shadow:
    0 10px 24px -10px rgba(0, 217, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary-cursor:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #67e8f9 0%, #c4b5fd 100%);
  box-shadow:
    0 14px 30px -10px rgba(0, 217, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.issue-cursor-theme .btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #a8aebd;
  border-color: rgba(0, 217, 255, 0.30);
}
.issue-cursor-theme .btn-secondary:hover {
  color: #00d9ff;
  border-color: #00d9ff;
  background: rgba(0, 217, 255, 0.08);
}

/* =============================================================
 * 头像「白板便签」风 · Cursor 适配
 * 仅覆盖配色，不动 .avatar-frame 的 140×140 通用尺寸
 * ============================================================= */
.issue-cursor-theme .avatar-frame.avatar-frame-cursor-light::before {
  background: #0f0f18;
  border-color: rgba(0, 217, 255, 0.40);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.18);
}
.issue-cursor-theme .avatar-frame.avatar-frame-cursor-light::after {
  background: radial-gradient(circle at 35% 35%, #67e8f9, #00d9ff);
  box-shadow:
    inset -1px -1px 2px rgba(0, 0, 0, 0.25),
    0 2px 6px rgba(0, 217, 255, 0.45);
}
.issue-cursor-theme .avatar-frame.avatar-frame-cursor-light .avatar-img-wrap {
  background: #0a0a14;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}
.issue-cursor-theme .avatar-corner-quote.avatar-corner-cursor-light {
  background: linear-gradient(135deg, #00d9ff 0%, #a78bfa 100%);
  color: #0a0a14;
  font-family: 'Caveat', cursive;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -6px rgba(0, 217, 255, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.30);
}
