.jc-xmas{--jx-red:#9c2832;--jx-green:#123f36;position:relative;isolation:isolate;box-sizing:border-box;flex:0 0 auto;width:100%;max-width:100%;min-height:74px;background:linear-gradient(115deg,#113c32,#184d3f 62%,#6e202a);color:#fff9e6;border-bottom:2px solid #dbb967;font-family:Arial,sans-serif;overflow:hidden;z-index:10}.jc-xmas *{box-sizing:border-box}.jc-xmas-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1280px;margin:auto;padding:8px 18px 4px;min-height:51px;z-index:2}.jc-xmas-greeting{display:flex;align-items:center;gap:12px;min-width:0}.jc-xmas-label{color:#f7d28a;font-size:9px;font-weight:800;letter-spacing:1.6px;white-space:nowrap}.jc-xmas-wish{font-size:12px;font-weight:600;line-height:1.4;max-width:600px;min-height:17px;margin:0;color:#fff9e6}.jc-xmas-controls{display:flex;flex:0 0 auto;gap:5px}.jc-xmas button{appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:5px;border:1px solid #ffffff45;border-radius:9px;background:#ffffff12;color:#fff9e6;min-width:40px;min-height:40px;margin:0;padding:6px 9px;font:600 11px/1.2 Arial,sans-serif;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0}.jc-xmas button:focus-visible,.jc-xmas-dialog button:focus-visible,.jc-xmas-dialog input:focus-visible,.jc-xmas-dialog select:focus-visible{outline:3px solid #efb93d;outline-offset:2px}.jc-xmas button:hover{background:#ffffff25}.jc-xmas-lights{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-around;border-top:1px solid #b7a970;height:8px;pointer-events:none}.jc-xmas-lights i{width:4px;height:7px;border-radius:1px 1px 5px 5px;background:#ffca68;box-shadow:0 0 7px #ffcd70;animation:jc-xmas-glow 3.4s ease-in-out infinite alternate}.jc-xmas-lights i:nth-child(3n){background:#ed7180;box-shadow:0 0 6px #f28c97;animation-delay:-1.7s}.jc-xmas-lights i:nth-child(3n+1){background:#a6e5bb;box-shadow:0 0 6px #b7f5d0;animation-delay:-.8s}.jc-xmas-rail{position:relative;height:22px;pointer-events:none;overflow:hidden}.jc-xmas-sleigh{position:absolute;width:188px;height:36px;bottom:-2px;left:0;animation:jc-xmas-fly 27s linear infinite}.jc-xmas-tree{width:25px;height:34px;flex:0 0 25px;filter:drop-shadow(0 0 5px #e2bb4740)}.jc-xmas-parol{font-size:24px;color:#ffd579;text-shadow:0 0 9px #f3bc66;line-height:1}.jc-xmas-paused .jc-xmas-sleigh,.jc-xmas-paused .jc-xmas-lights i{animation-play-state:paused!important}.jc-xmas-off{min-height:42px;border-bottom-width:1px;background:#174738}.jc-xmas-off .jc-xmas-row{min-height:42px;padding-block:3px;justify-content:center}.jc-xmas-off .jc-xmas-greeting,.jc-xmas-off .jc-xmas-rail,.jc-xmas-off .jc-xmas-lights,.jc-xmas-off [data-jx-pause],.jc-xmas-off [data-jx-music]{display:none}.jc-xmas-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d7c399;border-radius:20px;padding:24px;background:#fffcf2;color:#173e35;font:14px/1.6 Arial,sans-serif;box-shadow:0 12px 80px #0005}.jc-xmas-dialog::backdrop{background:#102c36b0}.jc-xmas-dialog h2{font-size:26px;line-height:1.2;margin:8px 0 18px}.jc-xmas-dialog h3{font-size:17px;margin:22px 0 8px}.jc-xmas-dialog p{font-size:13px;line-height:1.65}.jc-xmas-dialog button{cursor:pointer;min-height:44px;padding:10px 14px;border-radius:10px;border:1px solid #c8d5c4;background:#fff;color:#174738;font:600 13px Arial,sans-serif}.jc-xmas-dialog button[data-jx-close]{float:right}.jc-xmas-dialog label{display:grid;gap:8px;margin:18px 0;font-weight:650}.jc-xmas-dialog select,.jc-xmas-dialog input{width:100%;min-height:44px;font:inherit;accent-color:#9c2832}.jc-xmas-dialog select{padding:9px;border:1px solid #bacab9;border-radius:9px;background:white;color:#173e35}.jc-xmas-dialog .jc-xmas-actions{display:flex;flex-wrap:wrap;gap:8px}.jc-xmas-dialog [data-jx-error]:not(:empty){padding:14px;background:#ffe5df;border:1px solid #b84839;border-radius:10px;color:#74251c}.jc-xmas-demo{padding:16px;border:1px solid #e0c47b;border-radius:14px;background:#fff2cf;margin:16px 0}.jc-xmas-demo strong{display:block}.jc-xmas-demo [data-jx-demo-wish]{font-size:15px}.jc-xmas-demo small{display:block;font-size:11px}.jc-xmas [hidden],.jc-xmas-dialog [hidden]{display:none!important}
@keyframes jc-xmas-glow{from{opacity:.55}to{opacity:1}}@keyframes jc-xmas-fly{from{transform:translateX(-190px)}to{transform:translateX(calc(100vw + 5px))}}
@media(max-width:700px){.jc-xmas{min-height:88px}.jc-xmas-row{padding:9px 10px 2px;gap:7px;min-height:65px}.jc-xmas-greeting{gap:7px;align-items:center}.jc-xmas-label{display:block;font-size:8px;margin-bottom:4px}.jc-xmas-wish{font-size:11px;max-width:330px;min-height:30px}.jc-xmas-controls{gap:3px}.jc-xmas button{min-width:36px;padding:6px;font-size:10px}.jc-xmas-tree{width:20px;flex-basis:20px}.jc-xmas-parol{display:none}.jc-xmas-off{min-height:42px}.jc-xmas-off .jc-xmas-row{min-height:42px}}
@media(prefers-reduced-motion:reduce){.jc-xmas-sleigh,.jc-xmas-lights i{animation:none!important}.jc-xmas-sleigh{left:calc(50% - 94px)}}
@media print{.jc-xmas,.jc-xmas-dialog{display:none!important}}
.jc-xmas-rail{height:30px}.jc-xmas-sleigh{height:30px;bottom:0;animation-delay:-12s}.jc-xmas-dialog button[data-jx-close]{position:sticky;top:0;z-index:2;background:#fffaf0;box-shadow:0 2px 6px #173e3520}
.jc-xmas{min-height:50px}.jc-xmas-row{min-height:48px;padding:6px 10px 2px;gap:10px;max-width:1400px}.jc-xmas-rail{position:relative;flex:0 0 112px;width:112px;height:30px;overflow:hidden}.jc-xmas-sleigh{width:108px;height:27px;left:0;bottom:0;animation:jc-xmas-sleigh-bob 3s ease-in-out infinite alternate}.jc-xmas-greeting{flex:1;min-width:0;overflow:hidden;gap:7px}.jc-xmas-greeting>div{min-width:0;overflow:hidden;flex:1}.jc-xmas-label{display:none}.jc-xmas-wish{width:max-content;max-width:none;min-height:0;white-space:nowrap;font-size:12px;line-height:1.5;animation:jc-xmas-wish-run 25s linear infinite}.jc-xmas-controls{gap:4px}.jc-xmas button{min-height:40px}.jc-xmas-tree{width:18px;height:26px;flex-basis:18px}.jc-xmas-parol{display:none}.jc-xmas-paused .jc-xmas-wish{animation-play-state:paused}.jc-xmas-off{min-height:44px}.jc-xmas-off .jc-xmas-row{min-height:44px}
@keyframes jc-xmas-sleigh-bob{from{transform:translate(0,1px)}to{transform:translate(3px,-2px)}}@keyframes jc-xmas-wish-run{0%,15%{transform:translateX(0)}95%,100%{transform:translateX(-100%)}}
@media(max-width:700px){.jc-xmas-row{gap:6px;padding-inline:7px;min-height:48px}.jc-xmas-rail{width:76px;flex-basis:76px}.jc-xmas-sleigh{width:74px;height:25px}.jc-xmas-greeting{gap:0}.jc-xmas-tree{display:none}.jc-xmas-wish{font-size:11px;min-height:0}.jc-xmas-controls{gap:3px}.jc-xmas button{min-width:34px;padding:5px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.jc-xmas-sleigh,.jc-xmas-wish{animation:none!important;transform:none!important}.jc-xmas-sleigh{left:0}}
@media(max-width:700px){.jc-xmas-tree{display:block;width:12px;height:22px;flex-basis:12px}.jc-xmas-greeting{gap:3px}}

/* Paskong Pinoy lanterns: decorative, never intercept input or expand layout. */
.jc-xmas{background:radial-gradient(ellipse at 28% 0,#397a4c99,transparent 50%),linear-gradient(105deg,#103d33,#175443 55%,#812738);border-bottom:2px solid #edc36a;box-shadow:0 2px 15px #bf872b28}
.jc-xmas::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 72%,#fff7c9 0 1px,transparent 2px),radial-gradient(circle at 61% 29%,#fff7c980 0 1px,transparent 2px),radial-gradient(circle at 84% 74%,#fff7c980 0 1px,transparent 2px);background-size:169px 48px}
.jc-xmas-lights{height:12px;filter:drop-shadow(0 2px 4px #e9b84a55)}.jc-xmas-lights i{width:5px;height:9px;box-shadow:0 0 8px 2px #ffce7060;animation-duration:4.5s}.jc-xmas-lights i:nth-child(4n){background:#8ccfe9;box-shadow:0 0 10px #8ccfe9}
.jc-xmas-tree{filter:drop-shadow(0 0 5px #ffdd7f80)}.jc-xmas-sleigh{filter:drop-shadow(0 0 3px #f4d28d50)}.jc-xmas-controls{position:relative;z-index:3}.jc-xmas button{background:#103a30b3;border-color:#e6c47570}.jc-xmas-wish{text-shadow:0 1px 2px #143a2c}
.jc-xmas-decor{position:fixed;inset:50px 0 0;pointer-events:none!important;z-index:9;overflow:hidden;contain:strict}.jc-xmas-decor *{pointer-events:none!important;box-sizing:border-box}.jc-xmas-decor[hidden]{display:none!important}
.jc-xmas-parols{position:absolute;top:0;display:flex;align-items:flex-start;width:100px;opacity:.8}.jc-xmas-parols-left{left:3px}.jc-xmas-parols-right{right:3px;flex-direction:row-reverse}.jc-xmas-parols svg{flex:0 0 52px;width:52px;height:91px;transform-origin:50% 0;filter:drop-shadow(0 0 8px #f9cb6170);animation:jc-parol-sway 7s ease-in-out infinite alternate}.jc-xmas-parols svg:nth-child(2){width:38px;flex-basis:38px;height:65px;animation-delay:-3s;opacity:.8}
.jc-xmas-corner{position:absolute;bottom:0;display:flex;align-items:flex-end;opacity:.5}.jc-xmas-corner-left{left:0}.jc-xmas-corner-right{right:0;flex-direction:row-reverse}.jc-xmas-corner .jc-xmas-tree{display:block;width:50px;height:80px;flex:0 0 50px;filter:drop-shadow(0 0 8px #eac77170)}.jc-xmas-corner .jc-xmas-tree:nth-child(2){width:29px;height:50px;flex-basis:29px;margin-left:-12px}
.jc-xmas-paused *{animation-play-state:paused!important}.jc-xmas-dialog{border:2px solid #dfbf74;background:radial-gradient(ellipse at top left,#fff0cb,transparent 60%),#fffcf2}.jc-xmas-dialog>p:first-of-type{font-weight:800;letter-spacing:2px;color:#9c2832}
@keyframes jc-parol-sway{from{transform:rotate(-4deg);filter:drop-shadow(0 0 5px #f9cb6150)}to{transform:rotate(4deg);filter:drop-shadow(0 0 11px #f9cb6190)}}
@media(max-width:1100px){.jc-xmas-parols{width:48px;opacity:.24}.jc-xmas-parols svg{flex-basis:34px;width:34px;height:59px}.jc-xmas-parols svg:nth-child(2){display:none}.jc-xmas-corner{opacity:.2}.jc-xmas-corner .jc-xmas-tree{width:30px;height:46px;flex-basis:30px}.jc-xmas-corner .jc-xmas-tree:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.jc-xmas-decor *{animation:none!important}}
@media print{.jc-xmas-decor{display:none!important}}
