#tf-cny-snow{position:fixed;inset:0;width:100%;height:100%;z-index:9996;pointer-events:none;contain:strict}
#tf-cny-garland{position:fixed;z-index:9997;top:0;left:0;right:0;height:48px;pointer-events:none;overflow:hidden;opacity:var(--tf-cny-brightness,.75)}
#tf-cny-garland:before{content:"";position:absolute;left:-2%;right:-2%;top:-21px;height:44px;border-bottom:2px solid #97d6ff;border-radius:0 0 50% 50%;filter:drop-shadow(0 0 5px #75dfff)}
#tf-cny-garland .tf-cny-bulb{position:absolute;top:17px;width:8px;height:12px;border-radius:50%;background:var(--bulb);box-shadow:0 0 7px 2px var(--bulb),0 0 17px var(--bulb);transform:translateX(-50%);animation:tf-cny-glow 2.4s ease-in-out infinite alternate}
#tf-cny-extras{position:fixed;inset:0;z-index:9995;pointer-events:none;overflow:hidden}
#tf-cny-extras span{position:absolute;filter:drop-shadow(0 0 9px #6edcff99);user-select:none}
#tf-cny-extras .tf-cny-tree{font-size:clamp(42px,5vw,68px);bottom:12px;animation:tf-cny-float 4s ease-in-out infinite}
#tf-cny-extras .left{left:12px}#tf-cny-extras .right{right:12px}
#tf-cny-extras .tf-cny-gift{font-size:clamp(27px,3vw,42px);bottom:14px;animation:tf-cny-float 3.5s ease-in-out infinite}
#tf-cny-extras .gift-left{left:90px}#tf-cny-extras .gift-right{right:90px}#tf-cny-extras .gift-mid{left:50%;bottom:10px}
#tf-cny-extras .tf-cny-snowman{font-size:42px;bottom:18px}#tf-cny-extras .tf-cny-snowman.left{left:18%}#tf-cny-extras .tf-cny-snowman.right{right:18%}
#tf-cny-extras .tf-cny-ornament{top:56px;font-size:25px;animation:tf-cny-sway 3s ease-in-out infinite}
#tf-cny-extras .o0{left:8%}#tf-cny-extras .o1{left:23%;top:72px}#tf-cny-extras .o2{left:39%}#tf-cny-extras .o3{left:59%;top:70px}#tf-cny-extras .o4{left:75%}#tf-cny-extras .o5{left:91%;top:67px}#tf-cny-extras .o6{left:48%;top:95px}#tf-cny-extras .o7{left:31%;top:105px}
#tf-cny-extras .tf-cny-santa{top:90px;left:-130px;font-size:48px;white-space:nowrap;animation:tf-cny-santa 24s linear infinite}
#tf-cny-extras .tf-cny-twinkle{font-size:23px;color:#d9f5ff;text-shadow:0 0 12px #8bdfff;animation:tf-cny-twinkle 2.2s ease-in-out infinite alternate}
#tf-cny-extras .t0{left:17%;top:24%}#tf-cny-extras .t1{left:32%;top:43%}#tf-cny-extras .t2{left:67%;top:22%}#tf-cny-extras .t3{left:84%;top:48%}#tf-cny-extras .t4{left:12%;top:69%}#tf-cny-extras .t5{left:46%;top:18%}#tf-cny-extras .t6{left:73%;top:72%}#tf-cny-extras .t7{left:55%;top:58%}
#tf-cny-extras.tf-cny-extras-top .tf-cny-tree,#tf-cny-extras.tf-cny-extras-top .tf-cny-gift,#tf-cny-extras.tf-cny-extras-top .tf-cny-snowman{display:none}
.tf-cny-countdown{position:fixed;z-index:9998;top:52px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;padding:8px 15px;border:1px solid #70dfff88;border-radius:30px;background:#101b2beF;color:#eafaff;box-shadow:0 0 22px #62cfff44;font:700 12px/1.2 system-ui;white-space:nowrap;pointer-events:none}
.tf-cny-countdown span{color:#79e5ff;font-variant-numeric:tabular-nums}
.tf-cny-action{position:fixed;z-index:10000;right:16px;bottom:18px;border:1px solid #7de7ff99;border-radius:24px;padding:10px 15px;background:linear-gradient(120deg,#102a42ee,#30204eee);color:#eafaff;font:700 13px system-ui;box-shadow:0 0 18px #64dfff44;cursor:pointer}
.tf-cny-fireworks-open{right:16px;bottom:66px}
.tf-cny-globe-modal{position:fixed;z-index:10003;inset:0;display:grid;place-items:center;background:#050b16c9;padding:20px}
.tf-cny-globe-modal[hidden]{display:none}
.tf-cny-globe-panel{position:relative;width:min(360px,100%);padding:24px;border:1px solid #72dcff88;border-radius:22px;background:radial-gradient(circle at 50% 0,#27496c,#111a2a 68%);color:#eaf7ff;text-align:center;box-shadow:0 0 40px #55cfff55}
.tf-cny-globe-panel h3{margin:12px 0 4px}.tf-cny-globe-panel p{opacity:.8}
.tf-cny-close,.tf-cny-welcome button{position:absolute;right:12px;top:8px;border:0;background:none;color:white;font-size:26px;cursor:pointer}
.tf-cny-globe-art{width:190px;height:190px;margin:10px auto;border:5px solid #a9eaff;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffffff66,#5bc9ff33 35%,#142b4d 75%);box-shadow:inset -12px -15px 25px #0008,0 0 25px #70dfff88;display:grid;place-items:center;overflow:hidden}
.tf-cny-globe-scene{font-size:38px;line-height:1.1;text-shadow:0 0 12px #a7efff}
.tf-cny-globe-art.shake{animation:tf-cny-shake .65s ease}.tf-cny-globe-panel .tf-cny-shake{position:static;display:inline-block;margin-top:8px}
#tf-cny-fireworks{position:fixed;inset:0;width:100%;height:100%;z-index:9999;pointer-events:none}
#tf-cny-frost{position:fixed;inset:0;z-index:9994;pointer-events:none;overflow:hidden}
#tf-cny-frost .frost-corner{position:absolute;color:#b9edff;opacity:.36;font-size:clamp(65px,13vw,170px);text-shadow:0 0 20px #73dfff;filter:blur(.2px)}
#tf-cny-frost .frost-tl{top:-35px;left:-24px}#tf-cny-frost .frost-tr{top:-35px;right:-24px}#tf-cny-frost .frost-bl{bottom:-45px;left:-24px}#tf-cny-frost .frost-br{bottom:-45px;right:-24px}
#tf-cny-cursor{position:fixed;inset:0;z-index:10001;pointer-events:none}
#tf-cny-cursor i{position:fixed;color:#a9edff;font-style:normal;font-size:15px;text-shadow:0 0 10px #70dfff;animation:tf-cny-cursor-fade .85s ease-out forwards}
.tf-cny-welcome{position:fixed;z-index:10002;left:50%;top:18px;transform:translate(-50%,-130%);opacity:0;transition:transform .5s,opacity .5s;pointer-events:none}
.tf-cny-welcome.show{transform:translate(-50%,0);opacity:1}
.tf-cny-welcome>div{position:relative;display:flex;flex-direction:column;gap:5px;padding:18px 48px 18px 22px;border:1px solid #7de7ff99;border-radius:15px;background:linear-gradient(120deg,#102a42f5,#30204ef5);color:#f1fbff;box-shadow:0 0 28px #64dfff55;white-space:nowrap}
.tf-cny-welcome strong{font-size:17px}.tf-cny-welcome span{font-size:12px;opacity:.8}.tf-cny-welcome button{pointer-events:auto}
@keyframes tf-cny-glow{to{filter:brightness(1.4)}}@keyframes tf-cny-float{50%{translate:0 -8px}}@keyframes tf-cny-sway{50%{transform:rotate(8deg)}}@keyframes tf-cny-twinkle{to{opacity:1;transform:scale(1.2)}}@keyframes tf-cny-santa{45%{top:48px}100%{left:calc(100% + 150px);top:105px}}@keyframes tf-cny-shake{0%,100%{transform:rotate(0)}20%{transform:rotate(-12deg)}40%{transform:rotate(12deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(8deg)}}@keyframes tf-cny-cursor-fade{to{opacity:0;transform:translateY(-22px) scale(.3)}}
@media(max-width:700px){#tf-cny-garland{height:34px}#tf-cny-garland .tf-cny-bulb{top:12px;width:6px;height:9px}.tf-cny-countdown{top:38px;font-size:10px;gap:6px;padding:7px 10px}#tf-cny-extras .tf-cny-tree{font-size:38px;bottom:5px}#tf-cny-extras .left{left:3px}#tf-cny-extras .right{right:3px}#tf-cny-extras .tf-cny-snowman{display:none}#tf-cny-extras .tf-cny-santa{font-size:32px;top:60px}#tf-cny-extras .tf-cny-ornament{font-size:17px;top:42px}.tf-cny-action{right:9px;bottom:10px;padding:8px 11px;font-size:11px}.tf-cny-fireworks-open{bottom:52px}.tf-cny-welcome>div{white-space:normal;width:min(92vw,360px)}}
@media(prefers-reduced-motion:reduce){#tf-cny-garland .tf-cny-bulb,#tf-cny-extras *,.tf-cny-globe-art,.tf-cny-welcome{animation:none!important;transition:none!important}#tf-cny-snow,#tf-cny-cursor{display:none!important}}

/* Countdown placement and skins — configurable from module admin. */
.tf-cny-countdown{z-index:9998;display:flex;gap:10px;align-items:center;max-width:calc(100vw - 24px);padding:9px 14px;border:1px solid #ff754766;border-radius:9px;background:#1b2a37;color:#eaf2f8;box-shadow:0 5px 20px #0005;font:700 12px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap;pointer-events:none}
.tf-cny-countdown span{color:#ffad8e;font-variant-numeric:tabular-nums}
.tf-cny-countdown--top-left,.tf-cny-countdown--top-center,.tf-cny-countdown--top-right,.tf-cny-countdown--bottom-left,.tf-cny-countdown--bottom-center,.tf-cny-countdown--bottom-right{position:fixed}
.tf-cny-countdown--top-left{top:52px;left:12px;right:auto;transform:none}
.tf-cny-countdown--top-center{top:52px;left:50%;right:auto;transform:translateX(-50%)}
.tf-cny-countdown--top-right{top:52px;left:auto;right:12px;transform:none}
.tf-cny-countdown--bottom-left{top:auto;bottom:18px;left:12px;right:auto;transform:none}
.tf-cny-countdown--bottom-center{top:auto;bottom:18px;left:50%;right:auto;transform:translateX(-50%)}
.tf-cny-countdown--bottom-right{top:auto;bottom:18px;left:auto;right:12px;transform:none}
.tf-cny-countdown--compact{padding:6px 10px;border-radius:6px;background:#1b2a37;font-size:11px;box-shadow:0 3px 12px #0004}
.tf-cny-countdown--neon{border-color:#ff7547;background:linear-gradient(135deg,#1b2a37,#2c3440);box-shadow:0 0 7px #ff754766,0 0 22px #ff754733}
.tf-cny-countdown--glass{background:#1b2a37d9;border-color:#ffffff55;backdrop-filter:blur(10px);box-shadow:0 8px 28px #0005}
.tf-cny-countdown--minimal{padding:4px 7px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;text-shadow:0 1px 5px #000}
.tf-cny-countdown--minimal span{color:#ffb18f}
.tf-cny-countdown--small{font-size:10px;padding:5px 8px;gap:7px}
.tf-cny-countdown--normal{font-size:12px}
.tf-cny-countdown--large{font-size:15px;padding:11px 16px;gap:12px}
.tf-cny-countdown--left{justify-content:flex-start;text-align:left}
.tf-cny-countdown--center{justify-content:center;text-align:center}
.tf-cny-countdown--right{justify-content:flex-end;text-align:right}
@media(max-width:700px){.tf-cny-countdown--top-left,.tf-cny-countdown--top-center,.tf-cny-countdown--top-right{top:39px}.tf-cny-countdown--bottom-left,.tf-cny-countdown--bottom-center,.tf-cny-countdown--bottom-right{bottom:10px}.tf-cny-countdown{font-size:10px;gap:6px;padding:6px 9px}.tf-cny-countdown--large{font-size:12px;padding:8px 10px}.tf-cny-countdown--top-left{left:6px}.tf-cny-countdown--top-right{right:6px}.tf-cny-countdown--bottom-left{left:6px}.tf-cny-countdown--bottom-right{right:6px}}
