#opv-root{--opv-top:0px;position:fixed;inset:0;z-index:9990;pointer-events:none;overflow:hidden;font-family:system-ui,sans-serif;isolation:isolate}body.admin-bar #opv-root{--opv-top:32px}#opv-snow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#opv-lights{position:absolute;top:var(--opv-top);left:0;width:100%;height:24px;display:flex;justify-content:space-around;border-top:2px solid #315e46;pointer-events:none}#opv-lights span{display:block;width:9px;height:13px;border-radius:45% 45% 60% 60%;background:var(--opv-color);box-shadow:0 0 9px var(--opv-color);transform:rotate(var(--opv-rotation));position:relative}#opv-lights span:before{content:'';position:absolute;top:-3px;left:2px;width:5px;height:4px;background:#315e46;border-radius:1px}#opv-greeting{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:calc(100% - 100px);box-sizing:border-box;padding:8px 14px;border:1px solid #e6c47c;border-radius:22px;background:#194936;color:#fff;font-size:13px;line-height:1.4;box-shadow:0 3px 12px #0003;pointer-events:auto;text-align:center}#opv-greeting a{color:#fff;text-decoration:underline}#opv-toggle{position:fixed;left:10px;bottom:12px;width:36px;height:36px;border:1px solid #e6c47c;border-radius:50%;background:#194936;color:white;font-size:19px;line-height:1;cursor:pointer;pointer-events:auto;padding:0;box-shadow:0 2px 8px #0003}#opv-toggle:focus-visible,#opv-greeting a:focus-visible{outline:3px solid #ffcc44;outline-offset:2px}#opv-root.opv-hidden #opv-snow,#opv-root.opv-hidden #opv-lights,#opv-root.opv-hidden #opv-greeting{display:none}@media(max-width:782px){body.admin-bar #opv-root{--opv-top:46px}#opv-lights{height:16px}#opv-lights span:nth-child(even){display:none}#opv-greeting{font-size:12px;padding:6px 10px}}@media(max-width:767px){#opv-root.opv-no-mobile{display:none}}@media(prefers-reduced-motion:reduce){#opv-snow{display:none}}@media print{#opv-root{display:none!important}}

/* Version 1.0.1: larger lights and a prominent, theme-independent greeting. */
#opv-root{z-index:2147483000;overflow:visible}
#opv-snow{z-index:0}
#opv-lights{z-index:1;height:36px;border-top-width:3px}
#opv-lights span{width:15px;height:23px;flex:0 0 15px;border-radius:42% 42% 55% 55%;box-shadow:0 0 12px var(--opv-color),inset 3px 2px 4px #ffffff80}
#opv-lights span:before{top:-4px;left:4px;width:7px;height:6px}
#opv-greeting{z-index:3;position:absolute;bottom: max(24px,calc(env(safe-area-inset-bottom,0px) + 12px));width:max-content;max-width:calc(100% - 100px);min-height:46px;padding:10px 22px;background:linear-gradient(110deg,#174c35,#226746);border:2px solid #eac66c;border-radius:14px;color:#fff!important;font:600 16px/1.4 system-ui,sans-serif;text-shadow:0 1px 2px #0005;box-shadow:0 4px 20px #0005;visibility:visible;opacity:1}
#opv-greeting a,#opv-greeting span{color:#fff!important;font:inherit;visibility:visible;opacity:1}
#opv-greeting a{display:inline;text-decoration:underline;text-underline-offset:3px}
#opv-toggle{z-index:4;bottom:24px}
@media(max-width:782px){#opv-lights span{width:12px;height:18px;flex-basis:12px}#opv-lights span:before{left:3px;width:6px}#opv-greeting{font-size:13px;padding:8px 12px;max-width:calc(100% - 100px);bottom: max(18px,calc(env(safe-area-inset-bottom,0px) + 8px))}#opv-toggle{bottom:18px}}
@media(max-width:420px){#opv-lights span:nth-child(3n){display:none}}

/* 1.0.2: gentle alternating Christmas light pulses. */
@keyframes opv-light-twinkle {
  0%,100% { opacity:.45; box-shadow:0 0 2px var(--opv-color),inset 3px 2px 4px #ffffff45; }
  50% { opacity:1; box-shadow:0 0 15px 4px var(--opv-color),inset 3px 2px 4px #ffffffa0; }
}
#opv-lights span {animation:opv-light-twinkle 2.8s ease-in-out infinite;animation-delay:0s}
#opv-lights span:nth-child(4n+2){animation-delay:-1.4s}
#opv-lights span:nth-child(4n+3){animation-delay:-.7s}
#opv-lights span:nth-child(4n+4){animation-delay:-2.1s}
#opv-lights span:nth-child(8n+5),#opv-lights span:nth-child(8n+7){animation-delay:-2.1s}
@media(prefers-reduced-motion:reduce){#opv-lights span{animation:none}}

/* 1.0.3: anchor greeting to the right edge, leaving the content center clear. */
#opv-greeting{left:auto;right:max(16px,env(safe-area-inset-right,0px));transform:none;max-width:calc(100% - 76px)}
@media(max-width:782px){#opv-greeting{right:max(10px,env(safe-area-inset-right,0px));max-width:calc(100% - 64px)}}
