.memory-card {
  width: min(100%, 420px);
  margin: 18px auto 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 241, 0.96));
  border: 1px solid rgba(232, 82, 122, 0.12);
  border-radius: 28px;
  padding: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 36px rgba(127, 63, 35, 0.08);
  cursor: pointer;
}

.memory-card::before {
  content: '今日回忆';
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8527a, #f4a7b9);
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
}

.memory-card-empty {
  cursor: default;
}

.memory-card-inner {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
}

.memory-card-cover {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(232, 82, 122, 0.16);
}

.memory-card-placeholder {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232, 82, 122, 0.12), rgba(242, 164, 41, 0.15));
  font-size: 28px;
}

.memory-card-kicker {
  color: #c06a86;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.memory-card-title {
  font-family: 'ZCOOL XiaoWei', serif;
  color: #5c2417;
  font-size: 21px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.memory-card-text {
  color: #8b6054;
  font-size: 13px;
  line-height: 1.7;
}

.mood-filter-card {
  margin-top: 16px;
}

.mood-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mood-filter-title {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 17px;
  letter-spacing: 2px;
  color: #6d2d14;
}

.mood-filter-reset {
  background: none;
  border: none;
  color: #b67f61;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}

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

.mood-chip {
  border: 1px solid rgba(232, 82, 122, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #8f5d4c;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 1px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mood-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #e8402a, #f2a429);
  box-shadow: 0 10px 18px rgba(232, 64, 42, 0.18);
  transform: translateY(-1px);
}

.mood-filter-tip {
  margin-top: 10px;
  color: #b17e68;
  font-size: 12px;
  line-height: 1.6;
}

.whisper-panel {
  margin: 18px 0 22px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(232, 82, 122, 0.08);
}

.whisper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.whisper-title {
  font-family: 'ZCOOL XiaoWei', serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: #7a1a3a;
}

.whisper-note {
  font-size: 12px;
  color: #b26f89;
}

.whisper-received {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.92), rgba(255, 247, 250, 0.92));
  border: 1px solid rgba(232, 82, 122, 0.12);
  padding: 14px;
  margin-bottom: 12px;
}

.whisper-label {
  font-size: 11px;
  color: #c06a86;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.whisper-message {
  color: #7b3650;
  font-size: 14px;
  line-height: 1.7;
}

.whisper-meta {
  margin-top: 8px;
  color: #b68897;
  font-size: 12px;
}

.whisper-input {
  width: 100%;
  min-height: 88px;
  border: 1.5px solid rgba(232, 82, 122, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  resize: vertical;
  padding: 14px 16px;
  font: inherit;
  color: #6a3a47;
  line-height: 1.6;
}

.whisper-input:focus {
  outline: none;
  border-color: rgba(232, 82, 122, 0.45);
  box-shadow: 0 0 0 4px rgba(232, 82, 122, 0.08);
}

.whisper-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.whisper-count {
  color: #bb8ea0;
  font-size: 12px;
}

@media (max-width: 420px) {
  .memory-card-inner {
    grid-template-columns: 1fr;
  }

  .memory-card-cover,
  .memory-card-placeholder {
    width: 100%;
    height: 180px;
  }
}
