/* Dynasty8 Christmas theme. Entirely scoped behind html.christmas-on. */
html.christmas-on { --xmas-red:#b52e42; --xmas-green:#1b7155; }
.christmas-on .site-header { border-bottom:1px solid rgba(238,195,107,.35); }
.christmas-on .brand-mark { text-shadow:0 0 17px rgba(255,218,137,.45); }
#xmas-switch {position:fixed;right:16px;bottom:18px;z-index:10010;border:1px solid rgba(217,180,107,.55);background:#181b20;color:#f5e6cb;border-radius:100px;padding:10px 14px;font:600 12px/1.3 system-ui,sans-serif;box-shadow:0 8px 30px #0008;cursor:pointer}
#xmas-switch:hover,#xmas-switch:focus-visible {background:#303338;outline:2px solid #d7b66f;outline-offset:2px}
#xmas-snow {position:fixed;inset:0;pointer-events:none;z-index:9990;width:100%;height:100%;}
#xmas-lights {position:fixed;left:0;right:0;top:0;height:38px;z-index:9995;pointer-events:none;display:flex;justify-content:space-around;overflow:hidden;background:linear-gradient(to bottom,rgba(0,0,0,.3),transparent)}
#xmas-lights:before {content:'';position:absolute;left:0;right:0;top:2px;border-top:2px solid #39483c;border-radius:50%}
.xmas-bulb {position:relative;display:block;width:9px;height:17px;margin-top:5px;border-radius:48% 48% 55% 55%;background:var(--bulb);box-shadow:0 0 8px var(--bulb),0 0 18px var(--bulb);animation:xmas-glow 2.4s ease-in-out infinite alternate;animation-delay:var(--delay)}
.xmas-bulb:before {content:'';position:absolute;top:-5px;left:2px;width:5px;height:6px;background:#525e50;border-radius:2px}
@keyframes xmas-glow {from{opacity:.45;filter:brightness(.75)}to{opacity:1;filter:brightness(1.25)}}
#xmas-presents {position:fixed;bottom:0;left:14px;z-index:9989;pointer-events:none;display:flex;align-items:flex-end;gap:5px;opacity:.85}
.xmas-present {position:relative;width:var(--w);height:var(--h);background:var(--paper);border:1px solid #ffffff29;border-radius:3px 3px 0 0;box-shadow:0 4px 18px #0008}
.xmas-present:before {content:'';position:absolute;left:43%;width:14%;height:100%;background:#e6c884}
.xmas-present:after {content:'';position:absolute;top:27%;width:100%;height:13%;background:#e6c884}
.christmas-on .team-photo {position:relative;overflow:hidden}
.christmas-on .team-photo:after {content:'✦  ❄  ✧  ❄  ✦';position:absolute;inset:auto 0 0;padding:20px 5px 12px;text-align:center;font-size:21px;letter-spacing:9px;color:#fff5cf;text-shadow:0 0 14px #e5c479;opacity:0;transform:translateY(18px);transition:opacity .35s,transform .35s;pointer-events:none;background:linear-gradient(transparent,#10392a99)}
.christmas-on .team-card:hover .team-photo:after,.christmas-on .team-card:focus-within .team-photo:after {opacity:1;transform:translateY(0)}
.christmas-on .team-card:hover .team-photo img {filter:saturate(1.12) brightness(1.08)}
.christmas-on .team-card {transition:box-shadow .3s,border-color .3s}
.christmas-on .team-card:hover {box-shadow:0 0 22px rgba(215,182,111,.22)}
@media(max-width:600px){#xmas-presents{transform:scale(.65);transform-origin:bottom left}#xmas-switch{bottom:12px;right:10px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.xmas-bulb{animation:none}.christmas-on .team-photo:after,.christmas-on .team-card{transition:none}}
html.xmas-no-team-effects .team-photo:after {display:none!important}
html.xmas-no-team-effects .team-card:hover .team-photo img {filter:none!important}
