/* Seasonal layer inspired by the Build with KEK Christmas site. */
.festive:not([data-theme="dark"]) body{background:#fffaf2}
.festive:not([data-theme="dark"]) .ambient{background:radial-gradient(ellipse 420px 420px at var(--pointer-x) var(--pointer-y),#2f8cff14,transparent 76%),linear-gradient(180deg,#eaf2f8 0%,#fffaf2 70%)}
.festive:not([data-theme="dark"]) .calendar-card,.festive:not([data-theme="dark"]) .agenda,.festive:not([data-theme="dark"]) .focus-card,.festive:not([data-theme="dark"]) .undated,.festive:not([data-theme="dark"]) .legend{background:rgba(255,255,255,.96);border-color:#d8e4e9}
.festive .calendar-tabs{overflow:visible;z-index:2}
.festive .calendar-tabs:after{content:'';position:absolute;pointer-events:none;left:0;right:0;top:100%;height:26px;z-index:2;background:url('assets/calendar-christmas/lights.svg') repeat-x left top/120px 26px}
.festive .workspace{position:relative;padding-top:48px}
.festive .section-heading:after{content:'';position:absolute;right:30%;top:-49px;width:42px;height:92px;pointer-events:none;background:url('assets/calendar-christmas/parol.svg') center/contain no-repeat;transform-origin:50% 0;animation:parol-sway 4s ease-in-out infinite alternate}
.festive .ambient:before,.festive .ambient:after{content:'';position:absolute;inset:-320px 0 0;pointer-events:none;opacity:.65;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%239dbdd5'%3E%3Ccircle cx='18' cy='24' r='2.6'/%3E%3Ccircle cx='92' cy='12' r='1.8'/%3E%3Ccircle cx='160' cy='40' r='3'/%3E%3Ccircle cx='60' cy='78' r='2'/%3E%3Ccircle cx='130' cy='96' r='2.4'/%3E%3Ccircle cx='200' cy='120' r='1.7'/%3E%3Ccircle cx='30' cy='140' r='2.2'/%3E%3Ccircle cx='104' cy='170' r='3'/%3E%3Ccircle cx='176' cy='196' r='2'/%3E%3C/g%3E%3C/svg%3E");animation:snow-sheet 28s linear infinite}
.festive .ambient:after{opacity:.5;background-size:300px 300px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg fill='none' stroke='%2391b6d0' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M60 40v16M52 48h16M54 42l12 12M66 42L54 54M220 130v20M210 140h20M213 133l14 14M227 133l-14 14M110 240v14M103 247h14M105 242l10 10M115 242l-10 10'/%3E%3C/g%3E%3C/svg%3E");animation-duration:43s;animation-direction:reverse}
.festive[data-theme="dark"] .ambient:before,.festive[data-theme="dark"] .ambient:after{opacity:.32}
.festive:not([data-theme="dark"]) .all-button,.festive:not([data-theme="dark"]) .project-link{background:#bd1536;color:#fff}
.festive:not([data-theme="dark"]) .all-button:hover,.festive:not([data-theme="dark"]) .project-link:hover{background:#9f0f2c}
@keyframes snow-sheet{from{transform:translate3d(0,0,0)}to{transform:translate3d(30px,300px,0)}}@keyframes parol-sway{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}
@media(max-width:800px){.festive .section-heading:after{right:2%;top:-50px;width:32px;height:70px;opacity:.8}.festive .workspace{padding-top:43px}}
@media(max-width:480px){.festive .section-heading:after{display:none}.festive .workspace{padding-top:40px}}
.pasko-lantern{display:none}.festive .pasko-lantern{display:block;position:absolute;pointer-events:none;background-position:top center;background-size:contain;background-repeat:no-repeat;transform-origin:50% 0;filter:drop-shadow(0 0 9px #f5be5260);animation:parol-sway 4.5s ease-in-out infinite alternate}
.festive .parol-left{top:21%;left:1%;width:55px;height:121px;background-image:url('assets/calendar-christmas/parol.svg')}.festive .parol-right{top:46%;right:1%;width:48px;height:106px;background-image:url('assets/calendar-christmas/parol.svg');animation-delay:-1.5s}.festive .capiz-right{top:12%;right:2%;width:65px;height:136px;background-image:url('assets/calendar-christmas/capiz-parol.svg');animation-duration:5.5s;animation-delay:-2s}
.festive footer{position:relative;padding-top:47px}.festive footer:before{content:'';position:absolute;top:0;left:0;right:0;height:30px;pointer-events:none;background:url('assets/calendar-christmas/banderitas.svg') repeat-x left top/144px 30px}
@media(max-width:800px){.festive .pasko-lantern{opacity:.55}.festive .parol-left{width:32px}.festive .parol-right{width:30px}.festive .capiz-right{width:36px}}
@media(max-width:480px){.festive .pasko-lantern{opacity:.4}.festive .parol-left{left:-9px}.festive .parol-right,.festive .capiz-right{right:-8px}}
/* A brighter Christmas-night setting with readable, softly lit panels. */
.festive[data-theme="dark"] body{background:#172b3d}
.festive[data-theme="dark"] .ambient{background:radial-gradient(ellipse 480px 480px at var(--pointer-x) var(--pointer-y),#459cff26,transparent 76%),radial-gradient(ellipse at 10% 25%,#25445f 0,transparent 45%),radial-gradient(ellipse at 88% 48%,#274d51 0,transparent 44%),#172b3d}
.festive[data-theme="dark"] .calendar-card,.festive[data-theme="dark"] .agenda,.festive[data-theme="dark"] .focus-card,.festive[data-theme="dark"] .undated,.festive[data-theme="dark"] .legend{background:rgba(43,66,84,.97);border-color:#5d8198;box-shadow:0 12px 36px #07172555,0 0 22px #68bde813,inset 0 1px #ffffff0c}
.festive[data-theme="dark"] .calendar-tabs{background:#293e50;border-color:#5d8198}.festive[data-theme="dark"] .day.empty{background:#233a4c}
.festive[data-theme="dark"] .calendar-tabs:after{filter:drop-shadow(0 1px 5px #ffdb70c0) drop-shadow(0 0 3px #87d9ff90)}
.festive[data-theme="dark"] .light-strand i{box-shadow:0 0 7px 2px #ff576ccf,0 0 17px 4px #ff3b454d}
.festive[data-theme="dark"] .light-strand i:nth-child(3n+2){box-shadow:0 0 8px 2px #6effe3d9,0 0 18px 4px #35d4c85c}
.festive[data-theme="dark"] .light-strand i:nth-child(3n){box-shadow:0 0 8px 2px #b3deffeb,0 0 18px 4px #2f8cff66}
.festive[data-theme="dark"] .pasko-lantern{filter:drop-shadow(0 0 9px #ffcf69e0) drop-shadow(0 0 22px #ffb84e85);opacity:.95}
.festive[data-theme="dark"] .section-heading:after{filter:drop-shadow(0 0 7px #ffcb55c0) drop-shadow(0 0 15px #ffb84e70)}
.festive[data-theme="dark"] .ambient:before,.festive[data-theme="dark"] .ambient:after{opacity:.52}
