/* =====================================================
   小纪?Anniversary
===================================================== */

/* page-action-btn 玫瑰粉红变体（小纪念用） */
.page-action-btn.rose-btn {
  background: linear-gradient(135deg, #f472b6, #e11d48);
  color: #fff;
  box-shadow: 0 4px 14px rgba(244,114,182,0.4);
}
.page-action-btn.rose-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244,114,182,0.5);
}

/* ---- 纪念日卡片网?---- */
.anni-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 4px 0 20px;
}

/* ======================================
   小纪念卡?- 精美设计?
   ====================================== */
.anni-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 4px 0 20px;
}

/* 单张纪念日卡?*/
.anni-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(244,114,182,0.1), 0 1px 6px rgba(167,139,250,0.08);
  border: 1.5px solid rgba(244,114,182,0.12);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
  position: relative;
}
.anni-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 36px rgba(244,114,182,0.18), 0 4px 14px rgba(167,139,250,0.14);
  border-color: rgba(244,114,182,0.28);
}

/* 卡片顶部彩色?*/
.anni-card-ribbon {
  height: 5px;
  background: linear-gradient(90deg, #f472b6 0%, #a78bfa 50%, #fb7185 100%);
  background-size: 200% 100%;
  animation: ribbonFlow 4s linear infinite;
}
@keyframes ribbonFlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.anni-card-body {
  padding: 18px 18px 12px;
}

/* 图标 + 标题?*/
.anni-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.anni-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff0f6, #f3f0ff);
  border-radius: 16px;
  border: 1.5px solid rgba(244,114,182,0.18);
  box-shadow: 0 3px 12px rgba(244,114,182,0.12);
  transition: transform 0.2s;
}
.anni-card:hover .anni-card-icon {
  transform: scale(1.08) rotate(-3deg);
}
.anni-card-info {
  flex: 1;
  min-width: 0;
}
.anni-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #3a1050;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}
.anni-card-date {
  font-size: 0.78rem;
  color: #a080b8;
  margin-top: 3px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 1.5;
}
.anni-card-date::before {
  content: '📅';
  font-size: 0.7rem;
}

/* 倒计时区?*/
.anni-card-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff0f6 0%, #f8f4ff 100%);
  border-radius: 14px;
  border: 1px solid rgba(244,114,182,0.14);
}
.anni-card-countdown-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}
.anni-card-countdown-label {
  font-size: 0.78rem;
  color: #9070b0;
  line-height: 1.5;
}
.anni-card-countdown-label strong {
  display: block;
  color: #5a2080;
  font-size: 0.88rem;
  font-weight: 700;
}

/* 卡片底部：评论数 */
.anni-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 12px;
  border-top: 1px solid rgba(244,114,182,0.1);
  color: #b090c8;
  font-size: 0.76rem;
}

/* 今天是纪念日的特殊样?*/
.anni-card.is-today {
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 4px 20px rgba(245,158,11,0.15), 0 0 0 2px rgba(244,114,182,0.15);
}
.anni-card.is-today .anni-card-ribbon {
  background: linear-gradient(90deg, #f59e0b, #f472b6, #a78bfa, #f59e0b);
  background-size: 300% 100%;
  height: 6px;
  animation: ribbonShimmer 2.5s linear infinite;
}
@keyframes ribbonShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}
.anni-card.is-today .anni-card-countdown {
  background: linear-gradient(135deg, #fef3c7, #fff0f6);
  border-color: rgba(245,158,11,0.2);
}

/* ---- 空状?---- */
.anni-empty {
  text-align: center;
  padding: 60px 20px;
}
.anni-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.anni-empty-title {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.anni-empty-sub {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ======================================
   小纪?新建/编辑弹窗 - 精美设计?
   ====================================== */

/* 弹窗遮罩 */
.anni-modal-overlay {
  background: rgba(20, 10, 40, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 弹窗卡片主体 */
.anni-modal-card {
  position: relative;
  width: 480px;
  max-width: 95vw;
  max-height: 92vh;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(244,114,182,0.22), 0 8px 32px rgba(167,139,250,0.18);
  animation: anniModalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes anniModalIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* 顶部装饰?*/
.anni-modal-header-deco {
  position: relative;
  padding: 36px 28px 28px;
  background: linear-gradient(150deg, #fff0f6 0%, #f3f0ff 50%, #fce7f3 100%);
  text-align: center;
  overflow: hidden;
}
.anni-modal-header-deco::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f472b6' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* 闪烁星星装饰 */
.anni-modal-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sparkle {
  position: absolute;
  font-size: 0.9rem;
  color: #f472b6;
  opacity: 0.5;
  animation: sparkleTwinkle 2s ease-in-out infinite;
}
.sparkle.s1 { top: 14px; left: 22px; animation-delay: 0s; }
.sparkle.s2 { top: 30px; left: 50px; animation-delay: 0.4s; font-size: 0.7rem; color: #a78bfa; }
.sparkle.s3 { top: 12px; right: 30px; animation-delay: 0.8s; color: #a78bfa; }
.sparkle.s4 { top: 32px; right: 18px; animation-delay: 1.2s; font-size: 0.7rem; }
.sparkle.s5 { bottom: 16px; left: 38px; animation-delay: 1.6s; font-size: 0.75rem; color: #a78bfa; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.3); }
}

/* 预览大图?*/
.anni-modal-preview-icon {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(244,114,182,0.3));
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}
.anni-modal-preview-icon.bounce {
  animation: iconBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes iconBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35) rotate(-8deg); }
  70%  { transform: scale(0.9) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

.anni-modal-headline {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4a1060;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.anni-modal-sub {
  font-size: 0.82rem;
  color: #b06aa0;
  margin: 0;
}

/* 关闭按钮 */
.anni-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(244,114,182,0.12);
  color: #c06090;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.anni-modal-close-btn:hover {
  background: rgba(244,114,182,0.22);
  transform: rotate(90deg);
}

/* 表单区域 */
.anni-modal-form {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.anni-form-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.anni-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b3080;
  letter-spacing: 0.03em;
}
.anni-required {
  color: #f472b6;
}
.anni-optional {
  font-weight: 400;
  color: #b0a0c0;
}

/* 图标选择网格 */
.anni-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.anni-icon-btn {
  font-size: 1.7rem;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #fdf4ff, #f5f0ff);
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(167,139,250,0.08);
}
.anni-icon-btn:hover {
  border-color: #f472b6;
  background: linear-gradient(135deg, #fff0f6, #f3f0ff);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 18px rgba(244,114,182,0.2);
}
.anni-icon-btn.active {
  border-color: #f472b6;
  background: linear-gradient(135deg, #fff0f6, #f3f0ff);
  box-shadow: 0 4px 16px rgba(244,114,182,0.3);
  transform: translateY(-2px);
}
.anni-icon-btn.active::after {
  content: '?;
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 0.55rem;
  color: #f472b6;
  font-weight: bold;
}

/* 输入?*/
.anni-form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1.5px solid #e8d5f5;
  background: #fdf8ff;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: all 0.18s;
  box-sizing: border-box;
}
.anni-form-input:focus {
  border-color: #c084fc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(192,132,252,0.12);
}
.anni-form-input::placeholder { color: #cbb8dc; }

/* 日期选择 */
.anni-date-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.anni-date-pick-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px solid #e8d5f5;
  background: #fdf8ff;
  color: #8050a0;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  min-width: 150px;
}
.anni-date-pick-btn:hover {
  border-color: #c084fc;
  background: #f5eeff;
  box-shadow: 0 2px 10px rgba(192,132,252,0.15);
}
.anni-date-pick-btn.has-date {
  border-color: #f472b6;
  background: linear-gradient(135deg, #fff0f6, #f5eeff);
  color: #c0208a;
  font-weight: 600;
}
.anni-date-clear {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #f5e8ff;
  color: #c084fc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.anni-date-clear:hover {
  background: #ffe0f0;
  color: #f472b6;
}
.anni-date-clear.hidden { display: none; }

/* 描述输入?*/
.anni-desc-wrap {
  position: relative;
}
.anni-form-textarea {
  width: 100%;
  padding: 11px 40px 11px 14px;
  border-radius: 14px;
  border: 1.5px solid #e8d5f5;
  background: #fdf8ff;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  resize: none;
  min-height: 80px;
  line-height: 1.6;
  transition: all 0.18s;
  box-sizing: border-box;
  font-family: inherit;
}
.anni-form-textarea:focus {
  border-color: #c084fc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(192,132,252,0.12);
}
.anni-form-textarea::placeholder { color: #cbb8dc; }
.anni-emoji-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.anni-emoji-btn:hover { transform: scale(1.2); }

/* 底部按钮 */
.anni-modal-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid #f0e8fa;
}
.anni-btn-cancel {
  flex: 0 0 auto;
  padding: 11px 20px;
  border-radius: 14px;
  border: 1.5px solid #e8d5f5;
  background: transparent;
  color: #9070b0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}
.anni-btn-cancel:hover {
  background: #f5eeff;
  border-color: #c084fc;
}
.anni-btn-save {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #f472b6, #a78bfa);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 4px 16px rgba(244,114,182,0.3);
  letter-spacing: 0.02em;
}
.anni-btn-save:hover {
  background: linear-gradient(135deg, #ec4899, #9333ea);
  box-shadow: 0 6px 20px rgba(244,114,182,0.4);
  transform: translateY(-1px);
}
.anni-btn-save:active {
  transform: translateY(0);
}

/* 旧样式兼容（保留以防万一?*/
.anni-date-btn { min-width: 140px; }
.anni-desc-input {
  width: 100%;
  resize: none;
  min-height: 80px;
  padding-right: 40px;
}
.emoji-pick-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  padding: 2px;
  border-radius: 6px;
}
.emoji-pick-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* 弹窗底部按钮 */
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}
.rose-btn {
  background: linear-gradient(135deg, #f9d67a, #e8b84f) !important;
  color: #5a4a2a !important;
  box-shadow: 0 4px 14px rgba(232,184,79,0.35) !important;
}
.rose-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(232,184,79,0.5) !important;
}

/* ---- 详情弹窗 ---- */
.anni-detail-modal {
  width: 520px;
  max-width: 96vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.anni-detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 20px;
  background: linear-gradient(150deg, #fff0f6 0%, #f3f0ff 60%, #e0f2fe 100%);
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
  position: relative;
  text-align: center;
}

/* 右上角独立关闭按?*/
.anni-close-top-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.75);
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.anni-close-top-btn:hover {
  background: white;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transform: scale(1.08);
}

.anni-detail-icon {
  font-size: 3rem;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(244,114,182,0.22);
  flex-shrink: 0;
  margin-bottom: 12px;
}
.anni-detail-info {
  width: 100%;
  min-width: 0;
  margin-bottom: 16px;
}
.anni-detail-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.anni-detail-date {
  font-size: 0.82rem;
  color: var(--text-mid);
}

/* 统计卡片?*/
.anni-stats-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.anni-stat-card {
  background: white;
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 100px;
  flex: 1;
  max-width: 140px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.anni-stat-card.is-today {
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  box-shadow: 0 2px 12px rgba(244,114,182,0.2);
}
.anni-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.anni-stat-num.accent-blue {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.anni-stat-num--duration {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.anni-stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}
.anni-stat-today-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 编辑/删除按钮?*/
.anni-detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.anni-action-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.9);
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.15s;
}
.anni-action-btn:hover {
  background: white;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-color: #d1d5db;
  transform: translateY(-1px);
}
.anni-delete-btn:hover {
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
}

/* 信息按钮激活?*/
.anni-info-btn.active {
  background: #f0f4ff;
  color: #6366f1;
  border-color: #c7d2fe;
}

/* 信息面板 */
.anni-info-panel {
  margin: 0 20px 0;
  padding: 12px 16px;
  background: rgba(248,249,255,0.95);
  border: 1px solid #e5e7f0;
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--text-mid);
  flex-shrink: 0;
}
.anni-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}
.anni-info-row + .anni-info-row {
  border-top: 1px solid #f0f1f8;
}
.anni-info-label {
  color: #9ca3af;
  font-size: 0.78rem;
  min-width: 52px;
  flex-shrink: 0;
  padding-top: 1px;
}

/* 详情滚动区域 */
.anni-detail-scroll-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* 描述?*/
.anni-detail-desc-wrap {
  padding: 16px 22px 12px;
  border-bottom: 1px solid var(--border);
}
.anni-detail-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
}

/* 评论?*/
.anni-detail-comments {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.anni-comment-list {
  padding: 14px 22px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

/* 评论条目 */
.comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.comment-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary, #e8a4c8);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-item-body {
  flex: 1;
  background: var(--bg-soft, #fdf6fb);
  border-radius: 10px;
  padding: 8px 12px;
}
.comment-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.comment-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark, #333);
}
.comment-item-time {
  font-size: 0.75rem;
  color: var(--text-light, #aaa);
  flex: 1;
}
.comment-item-text {
  font-size: 0.88rem;
  color: var(--text-mid, #555);
  line-height: 1.5;
  word-break: break-all;
}
.comment-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--text-light, #bbb);
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.comment-delete-btn:hover {
  opacity: 1;
  color: #e74c3c;
}

.anni-comment-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* 评论输入?*/
.anni-comment-input-area {
  padding: 10px 22px 18px;
  border-top: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

/* ---- 移动端适配 ---- */
@media (max-width: 600px) {
  .anni-board {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .anni-icon-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .anni-icon-btn {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .anni-detail-modal {
    max-height: 92vh;
  }
  .anni-detail-header {
    padding: 24px 16px 16px;
  }
  .anni-stat-card {
    min-width: 80px;
    padding: 8px 10px;
  }
  .anni-stat-num {
    font-size: 1.3rem;
  }
}



/* ======================================
   小纪?暗色主题适配
   ====================================== */
[data-theme="dark"] .anni-modal-card {
  background: #1e1230;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 8px 32px rgba(167,139,250,0.2);
}
[data-theme="dark"] .anni-modal-header-deco {
  background: linear-gradient(150deg, #2d1040 0%, #1e1535 50%, #2a1040 100%);
}
[data-theme="dark"] .anni-modal-headline {
  color: #f0d8ff;
}
[data-theme="dark"] .anni-modal-sub {
  color: #c090d8;
}
[data-theme="dark"] .anni-modal-close-btn {
  background: rgba(244,114,182,0.15);
  color: #f0a0d0;
}
[data-theme="dark"] .anni-form-label {
  color: #d0a8f0;
}
[data-theme="dark"] .anni-form-input,
[data-theme="dark"] .anni-form-textarea {
  background: #2a1545;
  border-color: #4a2870;
  color: #f0e8ff;
}
[data-theme="dark"] .anni-form-input:focus,
[data-theme="dark"] .anni-form-textarea:focus {
  background: #301855;
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147,51,234,0.18);
}
[data-theme="dark"] .anni-form-input::placeholder,
[data-theme="dark"] .anni-form-textarea::placeholder {
  color: #6040a0;
}
[data-theme="dark"] .anni-icon-btn {
  background: linear-gradient(135deg, #2d1545, #251840);
  border-color: transparent;
}
[data-theme="dark"] .anni-icon-btn:hover {
  background: linear-gradient(135deg, #3d1a55, #2d1850);
  border-color: #f472b6;
}
[data-theme="dark"] .anni-icon-btn.active {
  background: linear-gradient(135deg, #3d1a55, #2d1850);
  border-color: #f472b6;
}
[data-theme="dark"] .anni-date-pick-btn {
  background: #2a1545;
  border-color: #4a2870;
  color: #d0a0f0;
}
[data-theme="dark"] .anni-date-pick-btn:hover {
  background: #301855;
  border-color: #9333ea;
}
[data-theme="dark"] .anni-date-pick-btn.has-date {
  background: linear-gradient(135deg, #3d1a55, #2d1850);
  border-color: #f472b6;
  color: #f9a8d4;
}
[data-theme="dark"] .anni-modal-footer {
  border-top-color: #3a1a60;
}
[data-theme="dark"] .anni-btn-cancel {
  border-color: #4a2870;
  color: #c090d8;
}
[data-theme="dark"] .anni-btn-cancel:hover {
  background: #2a1545;
  border-color: #9333ea;
}
[data-theme="dark"] .anni-card {
  background: #1e1230;
  border-color: rgba(244,114,182,0.15);
}
[data-theme="dark"] .anni-card-title {
  color: #f0e0ff;
}
[data-theme="dark"] .anni-card-date {
  color: #9070b8;
}
[data-theme="dark"] .anni-card-icon {
  background: linear-gradient(135deg, #2d1545, #251840);
  border-color: rgba(244,114,182,0.2);
}
[data-theme="dark"] .anni-card-countdown {
  background: linear-gradient(135deg, #2d1545 0%, #251840 100%);
  border-color: rgba(244,114,182,0.12);
}
[data-theme="dark"] .anni-card-countdown-label {
  color: #b090d0;
}
[data-theme="dark"] .anni-card-countdown-label strong {
  color: #e0c0ff;
}
[data-theme="dark"] .anni-card-footer {
  border-top-color: rgba(244,114,182,0.1);
  color: #7050a8;
}

