/* Lịch & Đếm Ngày Yêu (Love Info, Forecast Meeting & Flip Card) */
#loveTopBtn {
  min-width: 68px;
}

#loveTopBtn .love-flip-card {
  position: relative;
  width: 58px;
  height: 26px;
  display: block;
}

#loveTopBtn .love-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

#loveTopBtn .love-flip-front {
  opacity: 1;
  transform: scale(1);
}

#loveTopBtn.show-flower .love-flip-front {
  opacity: 0;
  transform: scale(0.96);
}

#loveTopBtn.show-flower .love-flip-back {
  opacity: 1;
  transform: scale(1);
}

#loveTopBtn .flower-icon {
  color: #ff7ea9;
  filter: drop-shadow(0 2px 5px rgba(255, 95, 158, 0.22));
}

.love-info-card {
  width: min(100%, 390px);
  padding: 22px 22px 28px;
  border-radius: 28px;
  text-align: center;
}

.love-info-card .modal-head {
  justify-content: flex-end;
  margin-bottom: 0;
}

.love-info-icon {
  width: 128px;
  height: 128px;
  margin: 2px auto 12px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  box-shadow: none;
}

.love-info-icon svg {
  width: 104px;
  height: 104px;
  color: var(--pink);
  filter: drop-shadow(0 8px 16px rgba(255, 92, 153, 0.18));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.love-info-icon:hover svg,
.love-info-icon:focus-visible svg {
  animation: loveIconHeartbeat 1.15s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 89, 157, 0.7)) drop-shadow(0 0 24px rgba(209, 91, 255, 0.4));
}

@keyframes loveIconHeartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.12); }
  28% { transform: scale(1); }
  42% { transform: scale(1.08); }
  64% { transform: scale(1); }
}

.love-info-title {
  margin: 0;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #d92f7d;
  background-image: linear-gradient(135deg, #d92f7d 0%, #ee3e8f 36%, #f45ca5 68%, #a83ed2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .love-info-title {
  color: #ff8fc3;
  background-image: linear-gradient(135deg, #ff9cca 0%, #ff6db2 34%, #ff92cb 68%, #dc8fff 100%);
}

.love-info-sub {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.love-calendar-head h3 {
  margin: 3px 0 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.love-calendar-nav {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.love-calendar-month {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--solid);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 950;
}

.love-calendar-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: var(--solid);
  font-size: 18px;
  font-weight: 950;
}

.love-calendar-weekdays,
.love-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
