.gpa-new-year-garland{display:none}
html[data-new-year=on] .gpa-new-year-garland{display:block;height:200px;background:#142319 url('/assets/holiday-garland.webp') center top/760px auto repeat-x;position:relative;overflow:hidden;border-bottom:1px solid #bca36a55}
.gpa-new-year-greeting{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#f6e5b5;font:500 13px/1.5 'Segoe UI',sans-serif;letter-spacing:.09em;text-shadow:0 2px 8px #000;background:#142319d9;padding:5px 18px;border-radius:20px}
html[data-new-year=on] .p26-header{border-bottom-color:#bca36a!important;box-shadow:0 2px 20px #bca36a12}
html[data-new-year=on] .p26-button{background:linear-gradient(120deg,#71313a,#58242e)!important;border-color:#c5a86a!important;color:#fff3d5!important}
html[data-new-year=on] .p26-celebration{border-color:#c5a86a!important}
html[data-new-year=on] .p26-footer{border-top:2px solid #a58c53;background-color:#142319}
#gpa-new-year-toggle{position:fixed;right:20px;bottom:124px;z-index:9999;min-height:40px;padding:9px 16px;border:1px solid #b89a5b;border-radius:24px;background:#193725;color:#f7e9c8;font:600 12px/1.3 'Segoe UI',sans-serif;box-shadow:0 4px 18px #0002;cursor:pointer}
#gpa-new-year-toggle:focus-visible{outline:3px solid #d9b968;outline-offset:4px}
@media(max-width:640px){html[data-new-year=on] .gpa-new-year-garland{height:150px;background-size:570px auto}.gpa-new-year-greeting{font-size:11px;letter-spacing:.03em;bottom:4px}#gpa-new-year-toggle{right:12px;bottom:120px;padding:8px 12px}}
@media print{.gpa-new-year-garland,#gpa-new-year-toggle{display:none!important}}

html[data-new-year=on] .header{border-bottom-color:#b89a5b}html[data-new-year=on] .button{background:#71313a;border-color:#b89a5b;color:#fff3d5}#gpa-new-year-toggle{bottom:76px}main>.gpa-new-year-garland{grid-column:1/-1;width:100%}@media(max-width:640px){#gpa-new-year-toggle{bottom:70px;font-size:11px}}

/* Compact garland with warm, slowly glowing lights. */
html[data-new-year=on] .gpa-new-year-garland{height:166px;background-size:520px auto}
.gpa-new-year-greeting{z-index:2;bottom:3px;font-size:24px;font-weight:600;letter-spacing:.035em;line-height:1.3;padding:4px 20px;background:#142319ec}
.gpa-new-year-garland:before,.gpa-new-year-garland:after{content:'';position:absolute;inset:0;pointer-events:none;background-position:center top;background-size:520px 174px;background-repeat:repeat-x;animation:gpa-warm-lights 3.8s ease-in-out infinite alternate}
.gpa-new-year-garland:before{background-image:radial-gradient(circle at 16px 30px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px),radial-gradient(circle at 151px 53px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px),radial-gradient(circle at 281px 61px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px),radial-gradient(circle at 491px 32px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px)}
.gpa-new-year-garland:after{animation-delay:-3.8s;background-image:radial-gradient(circle at 106px 25px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px),radial-gradient(circle at 222px 91px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px),radial-gradient(circle at 380px 41px,#fff9d6 0 1px,#ffd16a99 3px,transparent 13px)}
@keyframes gpa-warm-lights{from{opacity:.15}to{opacity:1}}
[data-motion=off] .gpa-new-year-garland:before,[data-motion=off] .gpa-new-year-garland:after,[data-reading=on] .gpa-new-year-garland:before,[data-reading=on] .gpa-new-year-garland:after{animation:none;opacity:.55}
@media(prefers-reduced-motion:reduce){.gpa-new-year-garland:before,.gpa-new-year-garland:after{animation:none;opacity:.55}}
@media(max-width:640px){html[data-new-year=on] .gpa-new-year-garland{height:156px;background-size:520px auto}.gpa-new-year-greeting{font-size:clamp(17px,4.5vw,22px);letter-spacing:0;bottom:1px;padding:5px 10px}}

/* Transparent seasonal decoration. */
html[data-new-year=on] .gpa-new-year-garland{background-color:transparent}
.gpa-new-year-greeting{background:transparent;text-shadow:none;color:#785a24}
html[data-theme=dark] .gpa-new-year-greeting{color:#f6e5b5}

/* Smaller branches; each light has its own place in the left-to-right sequence. */
html[data-new-year=on] .gpa-new-year-garland{height:128px;background-size:360px auto}
.gpa-new-year-garland:before,.gpa-new-year-garland:after{display:none;animation:none}
.gpa-holiday-lamps{position:absolute;inset:0;pointer-events:none}
.gpa-holiday-lamp{position:absolute;width:22px;height:22px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fffbe3 0 1px,#ffe4a7dd 2px,#ffc55e77 4px,transparent 11px);opacity:.08;animation:gpa-sequential-lamp 7s ease-in-out infinite}
@keyframes gpa-sequential-lamp{0%,16%,100%{opacity:.08}5%,8%{opacity:1}}
[data-motion=off] .gpa-holiday-lamp,[data-reading=on] .gpa-holiday-lamp{animation:none;opacity:.5}
@media(prefers-reduced-motion:reduce){.gpa-holiday-lamp{animation:none;opacity:.5}}
@media(max-width:640px){html[data-new-year=on] .gpa-new-year-garland{height:124px;background-size:360px auto}}
