.calendar-day--halloween {
  background: linear-gradient(150deg, #fff8ed, #f4edff);
  box-shadow: inset 0 0 0 2px #ad4e12;
}
.calendar-day--halloween:hover,
.calendar-day--halloween.calendar-day--selected {
  background: #fff0db;
  box-shadow: inset 0 0 0 3px #793da6;
}
.calendar-halloween-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #452468, #773b18);
  font-weight: 700;
  line-height: 1.4;
}
.calendar-halloween-highlight small {
  font-size: 0.75rem;
  font-weight: 400;
}
.calendar-pumpkin {
  font-size: 1.7rem;
  animation: pumpkin-wiggle 1.4s ease-in-out 2;
}
.calendar-flyer-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  overflow-y: auto;
  border: 2px solid #e7a63e;
  border-radius: 20px;
  background: #171c3d;
  color: #fff5df;
  box-shadow: 0 24px 80px #0006;
}
.calendar-flyer-dialog[open] {
  animation: flyer-reveal 350ms ease-out;
}
.calendar-flyer-dialog::backdrop {
  background: #101329cc;
}
.calendar-flyer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.calendar-flyer-welcome {
  color: #ffd074;
  font-weight: 700;
}
.calendar-flyer-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #ffd074;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
.calendar-flyer-dialog h2 {
  color: #ffd074;
  font-size: 1.6rem;
  font-family: Georgia, serif;
  line-height: 1.25;
  margin-bottom: 12px;
}
.calendar-flyer-dialog p {
  margin-bottom: 12px;
  line-height: 1.5;
}
.calendar-flyer-date {
  font-weight: 700;
}
.calendar-flyer-image {
  display: block;
  width: 100%;
  max-width: 427px;
  height: auto;
  margin: 20px auto;
  border-radius: 10px;
}
.calendar-flyer-button {
  background: #452468;
  color: #fff;
}
.calendar-flyer-button:hover {
  background: #65358f;
}
.calendar-flyer-close:focus-visible,
.calendar-flyer-button:focus-visible,
.calendar-day--halloween:focus-visible {
  outline: 3px solid #de8d20;
  outline-offset: 3px;
}
@keyframes pumpkin-wiggle {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-12deg); }
  65% { transform: rotate(12deg); }
}
@keyframes flyer-reveal {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-pumpkin,
  .calendar-flyer-dialog[open] {
    animation: none;
  }
}
@media (max-width: 480px) {
  .calendar-flyer-dialog { padding: 16px; }
}
