/* ===== 크리스마스 테마 =====
   끄려면 index.html에서 christmas.css / christmas.js 두 줄만 지우면 됩니다. */
:root {
  --xmas-green: #0f6b3a;
  --xmas-green-dark: #0a4a28;
  --xmas-gold: #f4c542;
}

/* 은은한 눈 내린 바닥 느낌 */
body { background: linear-gradient(180deg, #e9eef0 0%, var(--paper) 40%, #f3f5f6 100%); }

/* 눈송이 캔버스 */
.xmas-snow { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

/* 로고 옆 트리 */
.logo::after { content: "🎄"; font-size: 14px; margin-left: 2px; }
.logo-mark i:nth-child(3) { background: var(--xmas-green); }

/* 히어로: 월 이름 아래 문구 */
.hero-side .ko::after {
  content: "MERRY CHRISTMAS"; display: block; margin-top: 8px;
  font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--xmas-green);
}

/* 이전/다음 버튼 */
.btn-arrow { background: var(--xmas-green-dark); }

/* 캘린더 상단 꼬마전구 */
.calendar { position: relative; overflow: visible; border-color: var(--xmas-green-dark); margin-top: 20px; }
.calendar > .weekdays { border-radius: 24px 24px 0 0; }
.calendar > .grid { border-radius: 0 0 24px 24px; overflow: hidden; }
.weekdays { background: var(--xmas-green-dark); position: relative; }
.xmas-lights {
  position: absolute; left: 18px; right: 18px; top: -10px; height: 26px; z-index: 2;
  display: flex; justify-content: space-between; pointer-events: none;
}
.xmas-lights::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 10px;
  border-bottom: 2px solid #2b2d31; border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.xmas-lights i {
  position: relative; top: 12px; width: 9px; height: 14px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--b); box-shadow: 0 0 10px 2px var(--b);
  animation: xmas-twinkle 1.6s ease-in-out infinite; animation-delay: var(--d);
}
.xmas-lights i::before { content: ""; position: absolute; top: -4px; left: 2px; width: 5px; height: 5px; background: #2b2d31; border-radius: 1px; }
@keyframes xmas-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; box-shadow: none; } }

/* 날짜 칸 */
.day:hover { background: #eef6f0; }
.day.today { background: var(--xmas-green); }
.day.today:hover { background: var(--xmas-green-dark); }
.day[data-key$="-12-24"]:not(.other) .num::before,
.day[data-key$="-12-25"]:not(.other) .num::before { content: "🎁"; font-size: 13px; margin-right: 3px; vertical-align: 3px; }
.day[data-key$="-12-25"]:not(.other):not(.today) {
  background: repeating-linear-gradient(135deg, #fff 0 10px, #fff4f3 10px 20px);
}
.day[data-key$="-12-25"]:not(.other) .num { color: var(--accent); }

/* 필터 */
.pf:hover { background: #eef6f0; }
.pf[aria-pressed="true"] { background: var(--xmas-green-dark); }

/* 일정 팝업 머리 */
.dlg-head { background: linear-gradient(135deg, var(--accent), #b3140c); }
.dlg-head::after {
  content: "❄"; position: absolute; right: 70px; top: 8px; font-size: 64px; color: rgba(255,255,255,.18);
}

/* 제보 버튼 */
.report-fab::before { content: "🎅"; font-size: 18px; margin-right: -2px; }
.report-fab svg { display: none; }
.memo-tape { background: repeating-linear-gradient(90deg, var(--accent) 0 12px, #fff 12px 18px, var(--xmas-green) 18px 30px, #fff 30px 36px); }

@media (max-width: 720px) {
  .xmas-lights { left: 10px; right: 10px; }
  .xmas-lights i:nth-child(even) { display: none; }
  .calendar > .weekdays { border-radius: 18px 18px 0 0; }
  .calendar > .grid { border-radius: 0 0 18px 18px; }
  .dlg-head::after { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-lights i { animation: none; }
  .xmas-snow { display: none; }
}
