/* The Four Bells Glamping — Advent Calendar v2. Self-contained, scoped, no dependencies. */
#tfb-advent{--pine:#061039;--pine2:#1b2f57;--ivory:#fcfaf6;--gold:#be9866;--ink:#0d1640}
#tfb-advent,#tfb-advent *{box-sizing:border-box}#tfb-advent [hidden]{display:none!important}
#tfb-advent{color:#121b3c;font:16px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif}
#tfb-advent button,#tfb-advent input,#tfb-advent select{font:inherit}#tfb-advent button{cursor:pointer}#tfb-advent button:focus-visible,#tfb-advent a:focus-visible,#tfb-advent input:focus-visible{outline:3px solid #d2ab76;outline-offset:3px}#tfb-advent a{color:inherit}
#tfb-advent{min-height:100vh;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#255349 0%,#103831 48%,#0a2825 94%)}
#tfb-advent .topbar{max-width:1570px;margin:auto;padding:17px clamp(20px,3.5vw,55px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff26}
#tfb-advent .brand{display:flex;align-items:center;gap:13px;min-width:0}
#tfb-advent .brand-logo{height:48px;width:48px;object-fit:contain;filter:drop-shadow(0 2px 6px #0008)}
#tfb-advent .brand strong{display:block;font:600 clamp(18px,2vw,24px)/1.13 Georgia,serif}
#tfb-advent .brand small{display:block;margin-top:5px;font-size:9px;letter-spacing:.21em;color:var(--gold)}
#tfb-advent .topbar-right{display:flex;align-items:center;gap:22px}
#tfb-advent .demo-pill{font:700 10px system-ui,sans-serif;letter-spacing:.14em;border-radius:100px;padding:8px 12px;border:1px solid #e9c7898c;color:#edcf92}
#tfb-advent .text-button{border:0;color:#fff8eb;background:none;font-size:12px;font-weight:700}
#tfb-advent .text-button span{color:var(--gold)}
#tfb-advent .intro{text-align:center;max-width:960px;margin:auto;padding:50px 20px 27px}
#tfb-advent .eyebrow{color:#d7b67a;letter-spacing:.29em;font-weight:800;font-size:10px;margin:0 0 10px}
#tfb-advent h1{font:400 clamp(51px,7.3vw,104px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.055em;margin:0}
#tfb-advent h1 em{color:#edca8c}
#tfb-advent .subhead{color:#e0e9de;font-size:clamp(14px,1.5vw,17px);max-width:650px;margin:15px auto 0}
#tfb-advent .stats{display:flex;justify-content:center;margin:25px auto 0;max-width:660px;border:1px solid #ffffff30;border-radius:13px;overflow:hidden;background:#ffffff09}
#tfb-advent .stat{flex:1;display:grid;justify-items:center;gap:2px;padding:13px 14px;border-right:1px solid #ffffff26}
#tfb-advent .stat:last-child{border:0}
#tfb-advent .stat strong{font:600 25px/1.1 Georgia,serif;white-space:nowrap}
#tfb-advent .stat strong span{font-size:14px;color:#c6c9b8}
#tfb-advent .stat small{font-size:11px;color:#c8d6ca}
#tfb-advent .stat-date strong{font-size:21px;color:#efce97}
#tfb-advent .calendar-section{max-width:1500px;margin:0 auto;padding:0 clamp(12px,2.5vw,39px)}
#tfb-advent .calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 7px}
#tfb-advent .toolbar-copy{display:flex;align-items:center;gap:9px;color:#e0e7e0;font-size:13px}
#tfb-advent .toolbar-copy>span:first-child{color:#edc989;font-size:20px}
#tfb-advent .toolbar-actions{display:flex;align-items:center;gap:12px}
#tfb-advent .real-photo-badge{font-size:10px;color:#c7e0d4;text-transform:uppercase;letter-spacing:.07em}
#tfb-advent .photo-upload{background:#f1d498;color:#193c32;font-size:12px;font-weight:750;padding:9px 13px;border-radius:8px;cursor:pointer}
#tfb-advent .photo-upload:hover{background:#ffe6b1}
#tfb-advent .scene{isolation:isolate;border-radius:17px;overflow:hidden;box-shadow:0 30px 75px #001c16b3;border:1px solid #f3e2bf34;background:#14372f}
#tfb-advent .photo-stage{position:relative;height:clamp(450px,49vw,655px);overflow:hidden;background:#152c27}
#tfb-advent .scene-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 57%;filter:brightness(.82) saturate(.95)}
#tfb-advent .photo-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#061e226b 0%,#092f3014 40%,#06191658 100%),linear-gradient(90deg,#081c1f55 0%,transparent 22%,transparent 78%,#081c1f55 100%)}
#tfb-advent .snow-canvas{position:absolute;inset:0;z-index:3;pointer-events:none;width:100%;height:100%;display:block}
#tfb-advent .scene-note{position:absolute;z-index:6;left:22px;top:20px;display:flex;align-items:center;gap:12px;max-width:320px;border:1px solid #f2dba26b;border-radius:11px;padding:13px 16px;color:#fff8ed;background:#0d2e2cc9;box-shadow:0 5px 15px #0019;backdrop-filter:blur(9px);font-size:12px;line-height:1.45}
#tfb-advent .scene-note strong{font-size:15px;font-family:Georgia,serif}
#tfb-advent .note-star{font-size:27px;line-height:1;color:#eac482}
#tfb-advent .scene-credit{position:absolute;left:19px;bottom:9px;color:#fffcf2c8;text-shadow:0 1px 3px #000c;font-size:10px;z-index:6;margin:0}
#tfb-advent .hint-button{position:absolute;right:19px;bottom:18px;z-index:7;background:#113b33d9;border:1px solid #f1d69b8c;border-radius:30px;color:#fff4d8;font-size:12px;padding:10px 15px;backdrop-filter:blur(8px)}
#tfb-advent .hint-button:hover{background:#1d5246}
#tfb-advent .below-scene{padding:16px 6px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#d4e1d7}
#tfb-advent .below-scene i{color:var(--gold)}
/* Tiny versions of the actual logo extracted from a previous Four Bells site preview.
   Generous invisible hit targets; the visible icons themselves are well disguised. */
#tfb-advent .bells-layer{position:absolute;inset:0;z-index:5;pointer-events:none}
#tfb-advent .hidden-bell{position:absolute;left:var(--x);top:var(--y);width:44px;height:44px;padding:0;display:grid;place-items:center;transform:translate(-50%,-50%) rotate(var(--angle));border:0;border-radius:50%;background:transparent;pointer-events:auto;transition:transform .3s,filter .3s}
#tfb-advent .hidden-bell img{width:clamp(12px,1.6vw,18px);height:auto;max-height:21px;object-fit:contain;opacity:.26;filter:drop-shadow(0 1px 1px #0009) contrast(1.06);transition:opacity .2s,filter .2s,transform .3s;pointer-events:none}
#tfb-advent .bell-tone-1 img{filter:sepia(1) saturate(2.4) hue-rotate(325deg) brightness(.68) drop-shadow(0 1px 1px #0008);opacity:.31}
#tfb-advent .bell-tone-2 img{filter:sepia(1) saturate(2) hue-rotate(72deg) brightness(.63) drop-shadow(0 1px 1px #0008);opacity:.27}
#tfb-advent .bell-tone-3 img{filter:sepia(.4) brightness(.74) drop-shadow(0 1px 1px #0008);opacity:.28}
#tfb-advent .hidden-bell:hover img,#tfb-advent .hidden-bell:focus-visible img{opacity:1;filter:drop-shadow(0 0 7px #ffe6a5);transform:scale(1.4)}
#tfb-advent .hidden-bell.found img{opacity:1;filter:drop-shadow(0 0 8px #ffefaa);transform:scale(1.25)}
#tfb-advent .hidden-bell.found:after{content:'✓';position:absolute;right:1px;bottom:0;width:15px;height:15px;line-height:15px;border-radius:50%;background:#eccc87;color:#153b31;font-size:11px;font-weight:800}
#tfb-advent .hidden-bell.hinted:before{content:'';position:absolute;inset:-9px;border:2px solid #fff0b5;border-radius:50%;animation:hintFlash .7s ease-in-out infinite alternate;box-shadow:0 0 22px #ffeaa6}
#tfb-advent .hidden-bell.hinted img{opacity:1;filter:drop-shadow(0 0 14px #ffe8ac)}
@keyframes hintFlash{to{transform:scale(1.35);opacity:.18}}
/* The collection sits beneath the genuine photo: each door gets room to perform. */
#tfb-advent .door-display{position:relative;padding:38px clamp(16px,3vw,40px) 47px;background:radial-gradient(ellipse at 50% -20%,#426449 0%,transparent 56%),repeating-linear-gradient(125deg,#ffffff06 0 1px,transparent 1px 33px),linear-gradient(145deg,#183c35,#0c2a27 75%);border-top:5px solid #e4c18c;isolation:isolate}
#tfb-advent .door-display:before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,transparent 0%,#eee1ad0d 50%,transparent 100%)}
#tfb-advent .door-display-title{text-align:center;display:grid;justify-items:center;gap:4px;margin:0 auto 30px}
#tfb-advent .door-display-title>span{font-size:10px;letter-spacing:.27em;color:#efd49b;font-weight:800}
#tfb-advent .door-display-title>strong{font:400 clamp(24px,3vw,40px)/1.14 Georgia,serif;color:#fff8eb}
#tfb-advent .door-display-title>small{font-size:12px;color:#d6e2d5}
#tfb-advent .doors-layer{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:31px 13px;justify-items:center;max-width:1250px;margin:0 auto}
#tfb-advent .advent-door{--door:#9c2c38;--edge:#edca8a;position:relative;display:block;width:min(100%,111px);height:146px;margin:0;padding:0;perspective:950px;background:none;border:0;color:#fff9e8;isolation:isolate;filter:drop-shadow(0 11px 8px #020f0acc);transition:filter .25s,transform .25s;touch-action:manipulation}
#tfb-advent .advent-door:hover:not(.is-open){transform:translateY(-5px) rotate(-.7deg);filter:drop-shadow(0 17px 15px #020d08c9) drop-shadow(0 0 15px #f8dfac4d)}
#tfb-advent .door-ground{position:absolute;bottom:1px;left:9%;width:84%;height:8px;border-radius:50%;background:#051b1585;filter:blur(4px)}
#tfb-advent .door-frame{position:absolute;inset:5px;border:4px solid #e6ba74;border-radius:49% 49% 10% 10% / 15% 15% 5% 5%;background:#202a24;box-shadow:0 0 0 2px #503f2a,0 0 0 4px #e7d3ab78,inset 0 0 0 2px #ab8652,inset 0 -10px 15px #0009}
#tfb-advent .door-inside{position:absolute;inset:4px;border-radius:inherit;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 52% 45%,#fff8ce 0%,#ffd990 31%,#b86f39 64%,#3e251e 100%);box-shadow:inset 0 0 17px #fff1a6}
#tfb-advent .inside-glow{position:absolute;inset:6px;border-radius:inherit;background:radial-gradient(circle,#fff2a578 0%,transparent 70%);opacity:.2;transition:opacity .4s}
#tfb-advent .inside-icon{position:relative;z-index:1;opacity:.12;font-size:38px;transform:scale(.7);transition:transform .5s,opacity .5s;filter:drop-shadow(0 1px 4px #8c5929)}
#tfb-advent .door-leaf{position:absolute;inset:9px;z-index:3;border:3px solid var(--edge);border-radius:50% 50% 9% 9% / 15% 15% 5% 5%;background:repeating-linear-gradient(90deg,transparent 0 15px,#050f0f14 15px 16px,transparent 16px 25px),linear-gradient(110deg,#fff5d54d 0%,transparent 32%,#0004 100%),var(--door);box-shadow:inset 0 0 0 2px #fff8d25f,inset 7px 0 7px #0004,inset -4px 0 9px #0005,0 4px 8px #0007;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;transform-origin:5% center;transform-style:preserve-3d;backface-visibility:visible;transition:transform .8s cubic-bezier(.18,.83,.17,1),filter .3s;will-change:transform}
#tfb-advent .door-leaf:before{content:'';position:absolute;inset:6px;border:1px solid #f8ddad7d;border-radius:inherit;pointer-events:none}
#tfb-advent .door-leaf:after{content:'';position:absolute;left:5px;top:22%;height:9px;width:3px;background:#ead299;box-shadow:0 64px #ead299,0 1px 3px #000c;border-radius:1px}
#tfb-advent .door-panel-line{position:absolute;inset:17px 13px;border:1px solid #ffedc549;border-radius:inherit;opacity:.75}
#tfb-advent .door-ornament{position:relative;font-size:15px;line-height:1;color:#f8dd9d;text-shadow:0 1px 2px #0009}
#tfb-advent .door-number{position:relative;font:600 43px/1 Georgia,serif;letter-spacing:-.04em;color:#ffecb6;text-shadow:0 2px 3px #311911,0 0 12px #ffda846b}
#tfb-advent .door-handle{position:absolute;right:8px;top:53%;width:8px;height:8px;background:radial-gradient(circle at 30% 30%,#fff8d8,#d2a359 70%,#6e501f);border:1px solid #5e3b19;border-radius:50%;box-shadow:0 0 3px #ffdfa0}
#tfb-advent .door-snow{position:absolute;top:1px;left:8%;width:84%;height:9px;border-radius:50% 50% 24% 24%;background:linear-gradient(#ffffff,#d8e7df);box-shadow:0 1px 4px #fff5;z-index:5;pointer-events:none}
#tfb-advent .door-burst{position:absolute;top:0;left:50%;font-size:18px;color:#fff5cb;text-shadow:0 0 18px #ffe6a8;opacity:0;transform:translateX(-50%) translateY(20px) scale(.3);pointer-events:none;z-index:7;white-space:nowrap}
#tfb-advent .double-number{position:absolute;left:50%;top:50%;transform:translate(-50%,-45%);z-index:6;pointer-events:none;font:600 42px/1 Georgia,serif;color:#ffecb6;text-shadow:0 2px 3px #311911,0 0 12px #ffda846b;transition:opacity .3s}
#tfb-advent .mode-double.is-open .double-number{opacity:0}
/* The backs of the actual doors are dark wood, not mirrored numerals. */
#tfb-advent .door-leaf:after{content:'';position:absolute;inset:-3px;border-radius:inherit;transform:rotateY(180deg) translateZ(1px);backface-visibility:hidden;background:repeating-linear-gradient(90deg,#0002 0 1px,transparent 1px 12px),linear-gradient(130deg,#785a39,#3a2b24);border:3px solid #ac874b;box-shadow:inset 0 0 0 2px #a17d51,inset 6px 0 10px #0008}
#tfb-advent .door-number,#tfb-advent .door-ornament,#tfb-advent .door-handle,#tfb-advent .door-panel-line{backface-visibility:hidden}
#tfb-advent .advent-door.is-open{z-index:11;filter:drop-shadow(0 17px 15px #000d) drop-shadow(0 0 22px #ffdfa08a)}
#tfb-advent .advent-door.is-open .inside-icon{opacity:1;transform:scale(1.17)}
#tfb-advent .advent-door.is-open .inside-glow{opacity:1}
#tfb-advent .advent-door.is-open .door-burst{animation:starburst 1.25s .24s ease-out both}
@keyframes starburst{0%{opacity:0;transform:translate(-50%,30px) scale(.35)}40%{opacity:1}100%{opacity:0;transform:translate(-50%,-56px) scale(1.55)}}
#tfb-advent .mode-swing.is-open .door-leaf,#tfb-advent .mode-double.is-open .door-leaf:not(.leaf-right){animation:doorSwing 1.25s cubic-bezier(.15,.82,.18,1) forwards}
@keyframes doorSwing{0%{transform:rotateY(0)}14%{transform:rotateY(9deg)}35%{transform:rotateY(-43deg)}72%{transform:rotateY(-139deg)}88%{transform:rotateY(-127deg)}100%{transform:rotateY(-139deg)}}
#tfb-advent .mode-flip .door-leaf{transform-origin:center 5%}
#tfb-advent .mode-flip.is-open .door-leaf{animation:doorFlip 1.18s cubic-bezier(.19,.83,.16,1) forwards}
@keyframes doorFlip{0%{transform:rotateX(0)}15%{transform:rotateX(-8deg)}72%{transform:rotateX(126deg)}87%{transform:rotateX(113deg)}100%{transform:rotateX(121deg)}}
#tfb-advent .mode-hatch .door-leaf{transform-origin:8% 45%}
#tfb-advent .mode-hatch.is-open .door-leaf{animation:doorHatch 1.22s cubic-bezier(.18,.75,.18,1) forwards}
@keyframes doorHatch{0%{transform:rotateY(0) rotateZ(0)}22%{transform:rotateY(-18deg) rotateZ(-10deg)}75%{transform:rotateY(-128deg) rotateZ(-12deg)}100%{transform:rotateY(-138deg) rotateZ(-12deg)}}
#tfb-advent .mode-double .door-leaf:not(.leaf-right){width:calc(50% - 9px);right:auto;border-radius:20% 0 0 8% / 13% 0 0 5%}
#tfb-advent .mode-double .door-leaf.leaf-right{width:calc(50% - 9px);left:auto;border-radius:0 20% 8% 0 / 0 13% 5% 0;transform-origin:95% 50%}
#tfb-advent .mode-double .door-leaf:not(.leaf-right) .door-number{display:none}
#tfb-advent .mode-double .door-leaf.leaf-right:after{left:auto;right:4px}
#tfb-advent .mode-double.is-open .door-leaf.leaf-right{animation:doorSwingRight 1.25s cubic-bezier(.15,.82,.18,1) forwards}
@keyframes doorSwingRight{0%{transform:rotateY(0)}14%{transform:rotateY(-9deg)}70%{transform:rotateY(130deg)}88%{transform:rotateY(118deg)}100%{transform:rotateY(134deg)}}
#tfb-advent .advent-door.visited:not(.is-open) .door-leaf:not(.leaf-right){transform:rotateY(-16deg)}
#tfb-advent .advent-door.visited .door-frame{box-shadow:0 0 0 2px #edcb8d,0 0 17px #f7d79c5e,inset 0 0 14px #f7d79c66}
#tfb-advent .advent-door.is-locked .door-leaf{filter:grayscale(.45) brightness(.72)}
#tfb-advent .advent-door.is-locked:after{content:'⌁';position:absolute;z-index:9;right:1px;top:2px;width:24px;height:24px;display:grid;place-items:center;color:#eac889;font-size:21px;border-radius:50%;background:#153c34;border:1px solid #dabb7f}
#tfb-advent .advent-door.is-locked:hover .door-leaf{animation:doorLocked .33s ease-out}
@keyframes doorLocked{0%,100%{filter:grayscale(.45) brightness(.72);transform:rotateZ(0)}35%{transform:rotateZ(-3deg)}70%{transform:rotateZ(2deg)}}
#tfb-advent .shape-square .door-frame,#tfb-advent .shape-square .door-leaf,#tfb-advent .shape-square .door-inside{border-radius:8px}
#tfb-advent .shape-round .door-frame,#tfb-advent .shape-round .door-leaf,#tfb-advent .shape-round .door-inside{border-radius:45%}
#tfb-advent .color-red{--door:#ab2839;--edge:#f1c78a}
#tfb-advent .color-green{--door:#275944;--edge:#d9c68f}
#tfb-advent .color-wine{--door:#7c304a;--edge:#f2bd88}
#tfb-advent .color-blue{--door:#28627d;--edge:#cad4d0}
#tfb-advent .color-forest{--door:#1b513a;--edge:#d8bf88}
#tfb-advent .color-gold{--door:#91602d;--edge:#ffe3a4}
#tfb-advent .color-petrol{--door:#1f6570;--edge:#c6d4c4}
/* Control area */
#tfb-advent .control-panel{max-width:1380px;margin:53px auto 50px;padding:32px clamp(20px,3vw,42px);border:1px solid #ffffff21;border-radius:18px;background:#ffffff09}
#tfb-advent .control-header{display:flex;justify-content:space-between;align-items:end;gap:25px;border-bottom:1px solid #ffffff21;padding-bottom:26px}
#tfb-advent h2{font:400 clamp(30px,3vw,44px)/1.1 Georgia,serif;margin:0;letter-spacing:-.03em}
#tfb-advent .control-header>p{font-size:13px;max-width:280px;color:#c7d4cb;margin:0}
#tfb-advent .control-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-top:26px}
#tfb-advent .setting{border:1px solid #ffffff23;border-radius:11px;padding:20px;display:flex;justify-content:space-between;align-items:start;gap:15px;background:#153832}
#tfb-advent h3{font-size:14px;margin:0 0 8px}#tfb-advent .setting p{font-size:12px;color:#c0d0c5;margin:0;line-height:1.5}
#tfb-advent .test-label{font-size:9px;color:#201d17;background:#e7c689;padding:3px 6px;border-radius:4px;vertical-align:middle;margin-left:5px}
#tfb-advent .switch{position:relative;display:block;flex:none;width:44px;height:26px;cursor:pointer}
#tfb-advent .switch input{opacity:0;position:absolute;width:100%;height:100%;z-index:2;margin:0;cursor:pointer}
#tfb-advent .slider-switch{position:absolute;inset:0;background:#4a615b;border:1px solid #ffffff40;border-radius:30px;transition:background .2s}
#tfb-advent .slider-switch:before{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#f4f2e9;transition:transform .2s;box-shadow:0 1px 3px #0005}
#tfb-advent .switch input:checked + .slider-switch{background:#ba8e4e}
#tfb-advent .switch input:checked + .slider-switch:before{transform:translateX(18px)}
#tfb-advent .panel-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:23px}
#tfb-advent .panel-footer p{font-size:11px;color:#9fb8ad;margin:0;text-align:right}
#tfb-advent .reset-btn{font-size:12px;border:1px solid #ffffff5c;padding:10px 14px;border-radius:7px;color:#fff;background:transparent}
#tfb-advent .reset-btn:hover{background:#ffffff19}
#tfb-advent .footer{max-width:1500px;margin:auto;padding:35px clamp(25px,3vw,45px) 50px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff2a;gap:25px}
#tfb-advent .footer strong{font-size:11px;letter-spacing:.18em;color:#dfc488}
#tfb-advent .footer p{margin:7px 0 0;font-size:12px;color:#bbcbc3}
#tfb-advent .footer>a{border-bottom:1px solid #d9b978;font-size:13px;padding-bottom:4px}
/* Lightweight standalone modal; scoped to #tfb-advent .overlay instead of WordPress global dialog rules. */
#tfb-advent .overlay[hidden]{display:none!important}#tfb-advent .overlay{position:fixed;inset:0;background:#051714dc;z-index:999999;display:flex;justify-content:center;align-items:center;padding:22px;backdrop-filter:blur(9px)}
#tfb-advent .overlay .modal{position:relative;background:linear-gradient(160deg,#fbf2e2,#efe3d0);color:#213b32;width:min(95vw,570px);max-height:min(90vh,760px);overflow:auto;box-shadow:0 23px 80px #0009;border-radius:18px;padding:clamp(27px,4vw,48px);text-align:center;animation:modalEnter .4s ease both;border:7px solid #ead5aa}
@keyframes modalEnter{from{transform:translateY(22px) scale(.96);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
#tfb-advent .overlay .modal-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;height:38px;width:38px;border:1px solid #284b383a;background:#ffffff80;border-radius:50%;color:#244638}
#tfb-advent .overlay .modal-kicker{font-size:11px;letter-spacing:.2em;font-weight:800;color:#97743a;margin:14px 0}
#tfb-advent .overlay .modal-symbol{font-size:52px;color:#b1804b;line-height:1.1;margin:8px auto 10px;animation:modalBob 2.4s ease-in-out infinite}
@keyframes modalBob{50%{transform:translateY(-5px) rotate(3deg)}}
#tfb-advent .overlay .modal h2{font:400 clamp(32px,5vw,47px)/1.1 Georgia,serif;margin:0 0 14px;letter-spacing:-.04em}
#tfb-advent .overlay .modal-desc{font-size:15px;color:#486050;margin:0 auto 22px;max-width:430px}
#tfb-advent .overlay .modal-activity{padding:19px;background:#fff9eb;border:1px solid #d8bf9199;border-radius:12px;min-height:93px}
#tfb-advent .overlay .activity-question{font-weight:750;margin:0 0 15px;font-size:16px}
#tfb-advent .overlay .choices{display:grid;gap:8px;grid-template-columns:1fr}
#tfb-advent .overlay .choice{border:1px solid #b1bcaa;background:#fff;border-radius:8px;color:#234139;text-align:left;padding:12px 14px;font-size:14px;transition:background .2s,border-color .2s}
#tfb-advent .overlay .choice:hover:not(:disabled){background:#f7e4b8;border-color:#c3924e}
#tfb-advent .overlay .choice.chosen{background:#e0edda;border-color:#47734d}
#tfb-advent .overlay .result{font-size:14px;font-weight:650;margin:16px 0 0;color:#276144;min-height:21px}
#tfb-advent .overlay .reveal-btn{background:#1c4939;color:#fff;padding:12px 18px;border:0;border-radius:8px;font-weight:750}
#tfb-advent .overlay .reveal-text{font:italic 23px/1.35 Georgia,serif;color:#295441;margin:18px 0 4px}
#tfb-advent .overlay .hunt-btn{display:inline-block;background:#1c4939;color:#fff;padding:11px 17px;border:0;border-radius:8px;font-weight:700}
#tfb-advent .overlay .modal-foot{margin-top:23px;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:14px}
#tfb-advent .overlay .modal-foot>span{font-size:11px;color:#697969;max-width:160px}
#tfb-advent .overlay .modal-next{border:0;border-bottom:1px solid #254c3f;background:transparent;color:#193f34;padding:9px 0;font-weight:750;font-size:12px}
#tfb-advent .overlay .modal-next span{padding-left:4px}
#tfb-advent .toast{position:fixed;z-index:1000000;bottom:25px;left:50%;transform:translate(-50%,30px);background:#faf0d7;color:#1e4334;padding:13px 21px;border-radius:100px;font-size:13px;font-weight:750;box-shadow:0 10px 28px #0007;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:calc(100vw - 30px);text-align:center}
#tfb-advent .toast.show{opacity:1;transform:translate(-50%,0)}
#tfb-advent .visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#tfb-advent .visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){#tfb-advent .doors-layer{grid-template-columns:repeat(6,minmax(0,1fr))}#tfb-advent .advent-door{height:139px}}
@media(max-width:700px){
#tfb-advent .topbar{padding:14px 16px}#tfb-advent .brand-logo{width:37px;height:37px}#tfb-advent .brand strong{font-size:16px}#tfb-advent .brand small{font-size:8px}#tfb-advent .topbar-right{gap:8px}#tfb-advent .demo-pill{display:none}#tfb-advent .text-button{font-size:11px}
#tfb-advent .intro{padding:38px 16px 25px}#tfb-advent h1{font-size:clamp(48px,10vw,69px)}#tfb-advent .eyebrow{font-size:9px}#tfb-advent .subhead{font-size:13px}
#tfb-advent .stats{margin-top:20px}#tfb-advent .stat{padding:12px 5px}#tfb-advent .stat strong{font-size:21px}#tfb-advent .stat-date strong{font-size:14px}#tfb-advent .stat small{font-size:10px;text-align:center}
#tfb-advent .calendar-section{padding:0 9px}#tfb-advent .calendar-toolbar{flex-direction:column;align-items:flex-start;gap:8px}#tfb-advent .real-photo-badge{font-size:9px}#tfb-advent .photo-upload{font-size:10px}
#tfb-advent .photo-stage{height:clamp(390px,110vw,520px)}#tfb-advent .scene-image{object-position:50% 61%}#tfb-advent .scene-note{top:11px;left:10px;padding:9px 11px;gap:8px;font-size:10px;max-width:260px}#tfb-advent .scene-note strong{font-size:13px}#tfb-advent .note-star{font-size:22px}#tfb-advent .hint-button{bottom:15px;right:10px;padding:9px 11px;font-size:10px}#tfb-advent .scene-credit{left:9px;bottom:6px;font-size:8px;max-width:160px}
#tfb-advent .hidden-bell img{width:13px;max-height:16px}#tfb-advent .hidden-bell{width:39px;height:39px}
#tfb-advent .door-display{padding:29px 12px 35px}#tfb-advent .door-display-title{margin-bottom:24px}#tfb-advent .door-display-title>strong{font-size:25px}#tfb-advent .door-display-title>small{font-size:11px}
#tfb-advent .doors-layer{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 4px}#tfb-advent .advent-door{width:clamp(66px,19vw,90px);height:clamp(92px,27vw,122px)}#tfb-advent .door-number{font-size:clamp(27px,7.2vw,34px)}#tfb-advent .door-ornament{font-size:12px}#tfb-advent .door-leaf{inset:7px}#tfb-advent .door-frame{inset:4px}#tfb-advent .door-snow{height:6px}
#tfb-advent .below-scene{display:block;padding:12px 4px}#tfb-advent .below-scene span:last-child{display:block;margin-top:5px}
#tfb-advent .control-panel{margin:31px 11px;padding:24px 17px}#tfb-advent .control-grid{grid-template-columns:1fr}#tfb-advent .control-header{display:block}#tfb-advent .control-header>p{margin-top:12px}#tfb-advent .setting{align-items:center}#tfb-advent .panel-footer{flex-direction:column;align-items:flex-start}#tfb-advent .panel-footer p{text-align:left}
#tfb-advent .footer{padding:29px 20px 37px;flex-direction:column;align-items:flex-start}#tfb-advent .overlay .modal-foot{flex-direction:column;align-items:center;text-align:center}#tfb-advent .overlay .modal{padding:34px 20px 24px}
}
@media(max-width:350px){#tfb-advent .doors-layer{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#tfb-advent,#tfb-advent *{scroll-behavior:auto;animation-duration:.001ms!important;transition-duration:.001ms!important}#tfb-advent .snow-canvas{display:none}}

/* ---------------------------------------------------------------
   V3: exact Four Bells logo, Cormorant typography, one shared
   interactive winter scene, and persisting slow-hinged door states.
   --------------------------------------------------------------- */
:root{--tfb-type:'Cormorant Garamond','Garamond',Georgia,serif}
#tfb-advent .brand strong{font:500 clamp(22px,2.5vw,30px)/1.05 var(--tfb-type);font-style:italic}
#tfb-advent .brand-logo{height:56px;width:56px}
#tfb-advent .intro{padding-top:24px}
#tfb-advent .identity-center{display:grid;justify-items:center;gap:3px;margin:0 auto 20px}
#tfb-advent .identity-center img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 2px 4px #0005)}
#tfb-advent .identity-center strong{font:italic 500 clamp(26px,3.8vw,46px)/1 var(--tfb-type);color:#fff5df}
#tfb-advent .identity-center span{font:600 10px/1.7 system-ui,sans-serif;letter-spacing:.3em;color:#d8c18d}
#tfb-advent h1{font:italic 500 clamp(57px,7.7vw,111px)/1.01 var(--tfb-type);letter-spacing:-.025em}
#tfb-advent h1 em{font-weight:500}
#tfb-advent h2,#tfb-advent .scene-note strong,#tfb-advent .overlay .modal h2{font-family:var(--tfb-type)}
#tfb-advent .stat strong{font-family:var(--tfb-type);font-size:31px}
#tfb-advent .calendar-section{max-width:1550px}
#tfb-advent .photo-mode{border:1px solid #e8cf92a1;background:#183e34;color:#fce9c0;border-radius:7px;padding:8px 10px;font-size:11px;white-space:nowrap}
#tfb-advent .scene-scroller{max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-color:#d9b97d #1f3b35;outline-offset:-6px}
#tfb-advent .scene{overflow:hidden}
#tfb-advent .photo-stage{height:auto;aspect-ratio:1.61;min-width:1050px;overflow:hidden}
#tfb-advent .scene-image{object-fit:cover;object-position:50% 50%;filter:brightness(.89) saturate(1.05)}
#tfb-advent .scene-note{top:14px;left:15px;max-width:248px;padding:10px 12px;font-size:11px;background:#0b302ecf}
#tfb-advent .scene-note strong{font-size:22px;line-height:1.05;font-style:italic;font-weight:600}
#tfb-advent .note-logo{display:block;max-width:35px;width:35px;height:35px;object-fit:contain;flex:none}
#tfb-advent .doors-layer{position:absolute;inset:0;z-index:4;display:block;margin:0;max-width:none;pointer-events:none}
#tfb-advent .advent-door{pointer-events:auto;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:clamp(66px,5.7vw,88px);height:clamp(92px,8vw,124px);margin:0;filter:drop-shadow(0 5px 7px #030e0bdf)}
#tfb-advent .advent-door:hover:not(.is-open){transform:translate(-50%,-54%) rotate(-1deg)}
#tfb-advent .advent-door.is-open{z-index:8;filter:drop-shadow(0 9px 13px #000e) drop-shadow(0 0 15px #ffdf9a5a)}
#tfb-advent .advent-door .door-leaf{transform-origin:4% center;transform:rotateY(0);animation:none;transition:transform 1.85s cubic-bezier(.25,.08,.17,1),filter .3s;backface-visibility:visible}
#tfb-advent .mode-swing.is-open .door-leaf,
#tfb-advent .mode-hatch.is-open .door-leaf,
#tfb-advent .mode-double.is-open .door-leaf:not(.leaf-right){animation:none;transform:rotateY(-140deg)}
#tfb-advent .mode-flip .door-leaf{transform-origin:center 5%}
#tfb-advent .mode-flip.is-open .door-leaf{animation:none;transform:rotateX(128deg)}
#tfb-advent .mode-double .door-leaf.leaf-right{transform-origin:96% center}
#tfb-advent .mode-double.is-open .door-leaf.leaf-right{animation:none;transform:rotateY(140deg)}
#tfb-advent .advent-door.is-open .inside-icon{transition:transform 1.5s ease 0.4s,opacity 1.5s ease .4s}
#tfb-advent .advent-door.restored .door-leaf{transition:none!important}
#tfb-advent .advent-door.restored .inside-icon{transition:none!important}
#tfb-advent .advent-door.visited:not(.is-open) .door-leaf:not(.leaf-right){transform:rotateY(0)}
#tfb-advent .advent-door .door-number,#tfb-advent .double-number{font-family:var(--tfb-type);font-size:48px;font-weight:600}
#tfb-advent .advent-door .door-snow{top:1px;left:10%;width:80%}
#tfb-advent .bells-layer{position:absolute;inset:0;z-index:10}
#tfb-advent .hidden-bell{width:42px;height:42px}
#tfb-advent .hidden-bell img{width:clamp(14px,1.5vw,19px);max-height:22px;opacity:.30;filter:sepia(.9) saturate(1.9) brightness(.67) contrast(1.08) drop-shadow(0 1px 1px #0009)}
#tfb-advent .hidden-bell:focus-visible{outline:3px solid #fff1b1;outline-offset:0}
#tfb-advent .hint-button{top:18px;right:18px;bottom:auto;z-index:9}
#tfb-advent .scene-credit{z-index:8;left:12px;bottom:9px}
#tfb-advent .scene-note{z-index:9}
#tfb-advent .snow-canvas{z-index:7}
#tfb-advent .door-frame{box-shadow:0 0 0 3px #412915,0 0 0 5px #d8bf85ab,0 0 14px #ffe6a93f,inset 0 0 0 2px #a28349}
#tfb-advent .below-scene{font-size:13px}
@media(max-width:1100px){#tfb-advent .advent-door{width:67px;height:94px}#tfb-advent .advent-door .door-number,#tfb-advent .advent-door .double-number{font-size:38px}}
@media(max-width:700px){
#tfb-advent .identity-center img{width:63px;height:63px}
#tfb-advent .identity-center strong{font-size:30px}
#tfb-advent .brand-logo{width:40px;height:40px}
#tfb-advent .brand strong{font-size:19px}
#tfb-advent .intro{padding-top:24px}
#tfb-advent h1{font-size:54px}
#tfb-advent .calendar-toolbar{gap:10px}
#tfb-advent .toolbar-actions{flex-wrap:wrap;gap:7px}
#tfb-advent .scene-scroller{scroll-snap-type:none}
#tfb-advent .photo-stage{min-width:1050px;height:auto;aspect-ratio:1.61}
#tfb-advent .advent-door{width:69px;height:95px}
#tfb-advent .advent-door .door-number,#tfb-advent .advent-door .double-number{font-size:38px}
#tfb-advent .hidden-bell img{width:16px;max-height:18px}
#tfb-advent .scene-note{max-width:205px}
#tfb-advent .scene-note strong{font-size:18px}
#tfb-advent .hint-button{top:13px;right:12px}
}

#tfb-advent .mobile-swipe-cue{display:none}
@media(max-width:700px){#tfb-advent .mobile-swipe-cue{display:block;color:#ffe7b3;background:#1c463b;border:1px solid #d5b67a9c;border-radius:7px;margin:5px 0 11px;padding:9px 12px;font-weight:650;font-size:12px;text-align:center}}

/* V4.4 — mobile reliability: scene controls and emblems are real, above the photograph. */
#tfb-advent .scene-image{z-index:0}
#tfb-advent .photo-shade{z-index:1}
#tfb-advent .doors-layer{z-index:5}
#tfb-advent .bells-layer{z-index:10;pointer-events:none}
#tfb-advent .bells-layer .hidden-bell{pointer-events:auto}
#tfb-advent .snow-canvas{z-index:7;pointer-events:none}
#tfb-advent .hidden-bell img{opacity:.44;filter:brightness(1.06) sepia(.25) drop-shadow(0 1px 2px #06120b);width:20px;height:22px;object-fit:contain;}
#tfb-advent .hidden-bell.found img{opacity:1;filter:drop-shadow(0 0 9px #ffefa4)}
#tfb-advent .hidden-bell:focus-visible img,#tfb-advent .hidden-bell:hover img{opacity:1}
#tfb-advent .mobile-nav{display:none}
@media(max-width:700px){
 #tfb-advent .hidden-bell img{width:25px;max-height:28px;opacity:.60}
 #tfb-advent .hidden-bell{width:48px;height:48px}
 #tfb-advent .photo-stage{min-width:920px;aspect-ratio:1.61;height:auto}
 #tfb-advent .mobile-nav{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 8px 4px;color:#f5e3b5;font-size:12px}
 #tfb-advent .mobile-nav button{border:1px solid #d2b579;border-radius:6px;color:#ffeac6;background:#1c493e;padding:9px 13px;min-width:55px}
}

/* The logo is bundled locally, so the header and bells do not depend on remote loading. */
#tfb-advent .note-logo,#tfb-advent .identity-center img,#tfb-advent .brand-logo{object-fit:contain}


/* V4.6 – Hidden-bell camouflage and persistent found-gold reveal.
   Keep the 48px touch hit-targets from V4.5; only the artwork is subtler. */
#tfb-advent .hidden-bell:not(.found) img {
  width: 18px;
  height: 20px;
  max-height: 20px;
  opacity: .28;
  filter: grayscale(.45) sepia(.35) saturate(.48) brightness(.76) contrast(.82);
  mix-blend-mode: normal;
  transform: scale(1);
  transition: opacity .24s ease, filter .24s ease, transform .34s ease;
}
#tfb-advent .hidden-bell.bell-tone-1:not(.found) img { opacity: .32; filter: grayscale(.4) sepia(.5) saturate(.55) brightness(.7) contrast(.86); }
#tfb-advent .hidden-bell.bell-tone-2:not(.found) img { opacity: .26; filter: grayscale(.65) sepia(.2) saturate(.38) brightness(.89) contrast(.83); }
#tfb-advent .hidden-bell.bell-tone-3:not(.found) img { opacity: .30; filter: grayscale(.42) sepia(.35) saturate(.45) brightness(.8) contrast(.84); }
#tfb-advent .hidden-bell:not(.found):hover img { opacity: .50; transform:scale(1.12); }
#tfb-advent .hidden-bell:not(.found):focus-visible img { opacity: .95; filter: drop-shadow(0 0 5px #fff1b3); transform:scale(1.18); }
#tfb-advent .hidden-bell.found img,
#tfb-advent .hidden-bell.found:hover img,
#tfb-advent .hidden-bell.found:focus-visible img {
  width: 21px;
  height: 23px;
  max-height: 23px;
  opacity: 1;
  mix-blend-mode: normal;
  /* Recolour the original bell alpha silhouette rather than replacing the logo. */
  filter: brightness(0) saturate(100%) invert(83%) sepia(57%) saturate(686%) hue-rotate(338deg) brightness(107%) contrast(98%) drop-shadow(0 0 5px #ffdb87);
  transform: scale(1.12);
}
#tfb-advent .hidden-bell.just-found::before {
  content:'';
  position:absolute;
  inset:5px;
  border:2px solid #f3cf75;
  border-radius:50%;
  box-shadow:0 0 10px #ffe4a4a6;
  pointer-events:none;
  animation:tfbGoldRing .8s ease-out both;
}
#tfb-advent .hidden-bell.just-found img { animation:tfbGoldPop .8s ease-out both; }
@keyframes tfbGoldRing { from { opacity:.95; transform:scale(.55) } to {opacity:0; transform:scale(1.9)} }
@keyframes tfbGoldPop { 0% {transform:scale(.65)} 45% {transform:scale(1.4)} 100% {transform:scale(1.12)} }
@media(max-width:700px){
  #tfb-advent .hidden-bell:not(.found) img { width:20px; height:22px; max-height:22px; }
  #tfb-advent .hidden-bell.found img { width:23px; height:25px; max-height:25px; }
}
@media(prefers-reduced-motion:reduce){
  #tfb-advent .hidden-bell.just-found::before { animation:none; display:none; }
  #tfb-advent .hidden-bell.just-found img { animation:none; }
}

/* ---------------------------------------------------------------
   Four Bells LIVE SITE integration | 2026 edition.
   Navy / blue / ivory (no generic green Christmas rebrand).
   Built to inherit the real Twenty Twenty-Two child theme header/footer.
   --------------------------------------------------------------- */
#tfb-advent { min-height:0; overflow:visible; background:#ffffff; color:#0b153b; }
#tfb-advent .topbar,#tfb-advent .identity-center,#tfb-advent .footer {display:none!important;}
#tfb-advent .intro{max-width:1050px;padding:12px 12px 18px;margin:0 auto;}
#tfb-advent .stats{max-width:750px;background:#f3f0eb;border:1px solid #e5e1da;border-radius:0;margin:3px auto 0;}
#tfb-advent .stat{border-right:1px solid #ddd8cd;padding:14px 18px;}
#tfb-advent .stat strong{color:#08133a;font-size:34px;font-family:var(--tfb-type);}
#tfb-advent .stat strong span{color:#70707c;}
#tfb-advent .stat small{color:#52576c;}
#tfb-advent .stat-date strong{color:#213a86;font-size:24px;}
#tfb-advent .calendar-section{max-width:1440px;padding:0;margin:0 auto;}
#tfb-advent .calendar-toolbar{padding:10px 1px 12px;min-height:50px;}
#tfb-advent .toolbar-copy{color:#333d5d;}
#tfb-advent .toolbar-copy>span:first-child{color:#b49063;}
#tfb-advent .tfb-help{color:#071641;border:1px solid #a7aebc;border-radius:0;background:#fff;padding:9px 16px;font-size:12px;font-weight:650;}
#tfb-advent .tfb-help:hover{background:#f2f1ef;}
#tfb-advent .tfb-preview-only{display:none!important;}
#tfb-advent .scene{border-radius:0;box-shadow:none;border:1px solid #e3dacf;background:#0c1740;}
#tfb-advent .scene-note{background:#081336d9;border:1px solid #d1b58c9c;}
#tfb-advent .hint-button{border-radius:2px;background:#0a153bdc;}
#tfb-advent .hint-button:hover{background:#172b5d;}
#tfb-advent .below-scene{color:#51596c;padding:13px 0 18px;}
#tfb-advent .mobile-swipe-cue{color:#18264c;background:#f0eee9;border:1px solid #ded8cf;border-radius:0;}
#tfb-advent .mobile-nav{color:#1b2853;}
#tfb-advent .mobile-nav button{color:#10214c;background:#f5f3ee;border:1px solid #aeb4bf;border-radius:0;}
#tfb-advent .control-panel{max-width:1260px;color:#0c1640;background:#f7f5f0;border:1px solid #e1ddd5;border-radius:0;margin:20px auto 38px;padding:27px clamp(16px,3vw,40px);}
#tfb-advent .control-header{border-color:#d9d7d2;padding-bottom:15px;}
#tfb-advent .eyebrow{color:#93704f;}
#tfb-advent h2{font:italic 500 clamp(30px,3vw,45px)/1.05 var(--tfb-type);color:#0b143d;}
#tfb-advent .control-header>p{color:#63677b;}
#tfb-advent .control-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:17px;}
#tfb-advent .setting{background:#fff;border:1px solid #e7e2da;color:#0c1540;border-radius:0;padding:17px;}
#tfb-advent .setting h3{color:#08133b;}
#tfb-advent .setting p{color:#636876;}
#tfb-advent .slider-switch{background:#d5d4d3;border-color:#bbbaba;}
#tfb-advent .switch input:checked + .slider-switch{background:#1b347a;}
#tfb-advent .panel-footer p{color:#656c7b;}
#tfb-advent .reset-btn{background:#fff;color:#132149;border:1px solid #b7bbc2;border-radius:0;}
#tfb-advent .reset-btn:hover{background:#eeedf1;}
#tfb-advent .overlay{background:#020a29d9;}
#tfb-advent .overlay .modal{color:#11193c;background:#fbfaf7;border:4px solid #e9ded1;border-radius:3px;}
#tfb-advent .overlay .modal h2,#tfb-advent .overlay .reveal-text{color:#101a43;font-family:var(--tfb-type);}
#tfb-advent .overlay .modal-desc{color:#575c70;}
#tfb-advent .overlay .modal-activity{background:#fff;border:1px solid #e2ddd3;border-radius:2px;}
#tfb-advent .overlay .reveal-btn,#tfb-advent .overlay .hunt-btn{background:#0c1943;border-radius:2px;}
#tfb-advent .overlay .modal-next{border-color:#1b2d59;color:#12224d;}
#tfb-advent .overlay .modal-close{color:#10183d;}
#tfb-advent .toast{background:#f4ebdc;color:#0d1941;}
@media(max-width:700px){
 #tfb-advent .stats{margin-top:10px;}
 #tfb-advent .stat{padding:12px 7px;}
 #tfb-advent .stat strong{font-size:26px;}
 #tfb-advent .stat-date strong{font-size:18px;}
 #tfb-advent .control-grid{grid-template-columns:1fr;}
 #tfb-advent .control-panel{margin:20px 0 35px;padding:20px 16px;}
 #tfb-advent .calendar-toolbar{padding:8px 2px;}
}

/* Christmas Eve giveaway reveal — stays within the existing TFB navy/ivory design */
#tfb-advent .overlay .modal.is-giveaway{border-color:#c7a56d;box-shadow:0 25px 80px #0009,0 0 0 1px #e5c994 inset}
#tfb-advent .overlay .modal.is-giveaway .modal-symbol{filter:drop-shadow(0 0 14px #dcb46a85)}
#tfb-advent .overlay .giveaway-reveal{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:460px;margin:auto}
#tfb-advent .overlay .giveaway-label{margin:2px 0 0;color:#876632;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
#tfb-advent .overlay .giveaway-prize{font-family:var(--tfb-type,Georgia,serif);font-size:clamp(31px,5vw,43px);font-weight:500;line-height:1.1;color:#10183d;margin:0}
#tfb-advent .overlay .giveaway-caption{font-size:14px;line-height:1.6;color:#424961;margin:2px 0 4px}
#tfb-advent .overlay .giveaway-conditions{font-size:12px;line-height:1.5;color:#44485a;margin:6px 0}
#tfb-advent .overlay .giveaway-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 24px;background:#11193c;color:#fff;text-decoration:none;font-weight:700;font-size:14px;border:1px solid #11193c;transition:background .2s ease}
#tfb-advent .overlay .giveaway-cta:hover{background:#283a70}
#tfb-advent .overlay .giveaway-terms{font-size:12px;text-decoration:underline;color:#162453}
#tfb-advent .overlay .giveaway-pending{font-size:13px;color:#575c70;margin:8px 0;padding:11px 14px;background:#f1eee8;border:1px solid #e1d8c9}
#tfb-advent .overlay .giveaway-cta:focus-visible,#tfb-advent .overlay .giveaway-terms:focus-visible{outline:3px solid #b9934c;outline-offset:3px}

/* Official-platform entry links for the Christmas Eve giveaway */
#tfb-advent .overlay .giveaway-social-heading{font-weight:700;font-size:13px;color:#141e40;margin:8px 0 0}
#tfb-advent .overlay .giveaway-social-links{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;width:100%;margin:2px 0 6px}
#tfb-advent .overlay .giveaway-social-link{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;min-width:120px;min-height:46px;padding:10px 13px;text-decoration:none;background:#10193c;color:#fff;border:1px solid #10193c;font-weight:700;font-size:13px;transition:background .2s ease,transform .2s ease}
#tfb-advent .overlay .giveaway-social-link:hover{background:#2f416e;transform:translateY(-2px)}
#tfb-advent .overlay .giveaway-social-link:focus-visible{outline:3px solid #b9934c;outline-offset:3px}
#tfb-advent .overlay .giveaway-social-note{font-size:12px;line-height:1.55;color:#555b6c;max-width:400px;margin:4px 0 2px}
@media(max-width:420px){#tfb-advent .overlay .giveaway-social-links{display:grid;grid-template-columns:1fr 1fr}#tfb-advent .overlay .giveaway-social-link{min-width:0;width:100%}#tfb-advent .overlay .giveaway-social-link:last-child:nth-child(odd){grid-column:1/-1}}

/* November final: 12 recognisable Four Bells emblems remain findable against real snow.
   All images are above the photo (z-index 10), with unobtrusive large hit targets. */
#tfb-advent .bells-layer { z-index:12!important; pointer-events:none; }
#tfb-advent .bells-layer .hidden-bell { pointer-events:auto; width:48px; height:48px; }
#tfb-advent .hidden-bell:not(.found) img,
#tfb-advent .hidden-bell.bell-tone-1:not(.found) img,
#tfb-advent .hidden-bell.bell-tone-2:not(.found) img,
#tfb-advent .hidden-bell.bell-tone-3:not(.found) img {
 width:24px; height:25px; max-height:25px; object-fit:contain; opacity:.62;
 filter:brightness(0) saturate(100%) invert(15%) sepia(22%) saturate(1450%) hue-rotate(187deg) contrast(.94) drop-shadow(0 1px 1px #f9f9ff80);
 mix-blend-mode:normal;
}
/* Three subtle light-ink emblems hide in dark branches, fencing and vegetation. */
#tfb-advent .hidden-bell.bell-tone-1:not(.found) img {
 opacity:.79;filter:brightness(0) invert(95%) sepia(19%) saturate(170%) drop-shadow(0 1px 2px #060d25b5);
}
#tfb-advent .hidden-bell:not(.found):hover img {opacity:.92;transform:scale(1.18);}
#tfb-advent .hidden-bell.found img,
#tfb-advent .hidden-bell.found:hover img,
#tfb-advent .hidden-bell.found:focus-visible img {
 width:26px; height:27px; max-height:27px; opacity:1;
 filter:brightness(0) saturate(100%) invert(77%) sepia(59%) saturate(623%) hue-rotate(348deg) brightness(102%) drop-shadow(0 1px 2px #24150a) drop-shadow(0 0 7px #efcc76);
 transform:scale(1.12);
}
#tfb-advent .overlay .modal.is-giveaway{max-height:min(94vh,900px);padding-top:25px;padding-bottom:21px;}
#tfb-advent .overlay .modal.is-giveaway .modal-symbol{font-size:37px;margin:8px auto 6px;}
#tfb-advent .overlay .modal.is-giveaway .modal-desc{margin-bottom:13px;}
#tfb-advent .overlay .modal.is-giveaway .modal-activity{padding:15px 13px;}
#tfb-advent .overlay .modal.is-giveaway .giveaway-reveal{gap:7px;}
#tfb-advent .overlay .modal.is-giveaway .giveaway-prize{font-size:clamp(30px,4.2vw,38px);}
#tfb-advent .overlay .giveaway-launch { font-size:13px;font-weight:750;color:#162759;letter-spacing:.025em;line-height:1.45; padding:10px 14px;margin:4px 0 2px;background:#f4eddd;border:1px solid #dfd0b0; }
@media(max-width:700px){
 #tfb-advent .hidden-bell:not(.found) img,
 #tfb-advent .hidden-bell.bell-tone-1:not(.found) img,
 #tfb-advent .hidden-bell.bell-tone-2:not(.found) img,
 #tfb-advent .hidden-bell.bell-tone-3:not(.found) img {width:25px;height:26px;max-height:26px;}
}

/* V4.5 — hidden-bell visibility correction, 20 November 2026.
   The original TFB bell image, 12 positions and all hunt behaviour are unchanged.
   Small bronze/gold silhouettes with dark contrast edges are discoverable on
   both the pale snowy foreground and the blue winter sky. No external assets. */
#tfb-advent .hidden-bell {
  width:48px;
  height:48px;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
#tfb-advent .hidden-bell img,
#tfb-advent .hidden-bell:not(.found) img,
#tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3):not(.found) img {
  width:clamp(25px,2.1vw,29px);
  height:auto;
  max-height:32px;
  object-fit:contain;
  opacity:.96;
  filter:sepia(1) saturate(2.15) hue-rotate(348deg) brightness(.84) contrast(1.33)
         drop-shadow(0 0 1px rgba(3,17,29,.96))
         drop-shadow(0 1px 2px rgba(3,17,29,.90));
  transition:transform .22s ease,filter .22s ease,opacity .22s ease;
}
#tfb-advent .hidden-bell:is(:hover,:focus-visible) img,
#tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3):not(.found):is(:hover,:focus-visible) img {
  opacity:1;
  filter:sepia(1) saturate(2.3) hue-rotate(348deg) brightness(1.06) contrast(1.21)
         drop-shadow(0 0 2px #14232a) drop-shadow(0 0 9px #f8de91);
  transform:scale(1.17);
}
#tfb-advent .hidden-bell.found img {
  width:clamp(25px,2.1vw,29px);
  max-height:32px;
  opacity:1;
  filter:sepia(1) saturate(2.0) hue-rotate(348deg) brightness(1.12)
         drop-shadow(0 0 1px #11252b) drop-shadow(0 0 10px #ffe9a0);
  transform:scale(1.12);
}
#tfb-advent .hidden-bell.hinted img,
#tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3).hinted:not(.found) img {
  opacity:1;
  filter:sepia(1) saturate(2.3) hue-rotate(348deg) brightness(1.25)
         drop-shadow(0 0 2px #152329) drop-shadow(0 0 13px #ffe4a4);
  transform:scale(1.23);
}
#tfb-advent .hidden-bell:focus-visible {
  outline:2px solid #ffe2a0;
  outline-offset:1px;
}
@media (max-width:700px){
  #tfb-advent .hidden-bell {width:48px;height:48px;}
  #tfb-advent .hidden-bell img,
  #tfb-advent .hidden-bell:not(.found) img,
  #tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3):not(.found) img {
    width:28px;max-height:32px;
  }
}


/* V4.6 — hidden-bell challenge rebalance, 20 November 2026.
   Keeps the bells discoverable on snow, but restores a fairer hunt by
   reducing size/contrast overall and especially toning down the top-row bells.
   Positions, artwork, hit targets and game behaviour are unchanged. */
#tfb-advent .hidden-bell {
  width: 46px;
  height: 46px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#tfb-advent .hidden-bell:not(.found) img,
#tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3):not(.found) img {
  width: clamp(18px,1.45vw,20px);
  height: auto;
  max-height: 22px;
  object-fit: contain;
  opacity: .44;
  filter: sepia(.92) saturate(1.35) hue-rotate(348deg) brightness(.72) contrast(1.02)
          drop-shadow(0 1px 1px rgba(5,16,24,.78));
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}
#tfb-advent .hidden-bell.bell-tone-1:not(.found) img { opacity:.39; filter: sepia(.85) saturate(1.2) hue-rotate(348deg) brightness(.76) contrast(1.0) drop-shadow(0 1px 1px rgba(6,17,25,.72)); }
#tfb-advent .hidden-bell.bell-tone-2:not(.found) img { opacity:.36; filter: sepia(.55) saturate(.95) hue-rotate(348deg) brightness(.82) contrast(.96) drop-shadow(0 1px 1px rgba(7,18,26,.68)); }
#tfb-advent .hidden-bell.bell-tone-3:not(.found) img { opacity:.41; filter: sepia(.78) saturate(1.1) hue-rotate(348deg) brightness(.78) contrast(.98) drop-shadow(0 1px 1px rgba(6,17,25,.72)); }
/* Top-row bells were over-prominent after the last correction; tone them back. */
#tfb-advent .bells-layer .hidden-bell:nth-child(-n+5):not(.found) img {
  width: clamp(15px,1.15vw,17px);
  max-height: 19px;
  opacity: .28;
  filter: sepia(.78) saturate(1.0) hue-rotate(348deg) brightness(.66) contrast(.95)
          drop-shadow(0 1px 1px rgba(5,17,26,.72));
}
#tfb-advent .hidden-bell:not(.found):hover img,
#tfb-advent .hidden-bell:not(.found):focus-visible img {
  opacity: .78;
  filter: sepia(1) saturate(1.7) hue-rotate(348deg) brightness(.98) contrast(1.08)
          drop-shadow(0 0 2px rgba(16,28,33,.9)) drop-shadow(0 0 6px rgba(249,227,165,.72));
  transform: scale(1.10);
}
#tfb-advent .hidden-bell.hinted img,
#tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3).hinted:not(.found) img {
  opacity: .95;
  filter: sepia(1) saturate(2.0) hue-rotate(348deg) brightness(1.12) contrast(1.12)
          drop-shadow(0 0 2px #152329) drop-shadow(0 0 10px #ffe4a4);
  transform: scale(1.18);
}
@media (max-width:700px){
  #tfb-advent .hidden-bell { width: 48px; height: 48px; }
  #tfb-advent .hidden-bell:not(.found) img,
  #tfb-advent .hidden-bell:is(.bell-tone-0,.bell-tone-1,.bell-tone-2,.bell-tone-3):not(.found) img {
    width: 20px;
    max-height: 23px;
    opacity: .48;
  }
  #tfb-advent .bells-layer .hidden-bell:nth-child(-n+5):not(.found) img {
    width: 17px;
    max-height: 20px;
    opacity: .33;
  }
}



/* V2.35 timed challenge and snow globe reward (2026-11-30) */
#tfb-advent .tfb-challenge{max-width:1436px;margin:14px auto 16px;padding:26px 32px;display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,390px);gap:28px;align-items:center;background:linear-gradient(110deg,#102a53,#07173c);border:1px solid #b99a6794;border-radius:15px;box-shadow:0 15px 55px #030e2580}
#tfb-advent .tfb-challenge-eyebrow{color:#eac78c;letter-spacing:.19em;font-size:11px;font-weight:800}
#tfb-advent .tfb-challenge h2{color:#fff;line-height:1.18;font:400 clamp(27px,3vw,39px) Georgia,serif;margin:8px 0 10px}
#tfb-advent .tfb-challenge h2 em{font-style:normal;color:#e7c588}
#tfb-advent .tfb-challenge p{color:#d0d8e9;max-width:700px;font-size:14px;line-height:1.65;margin:0}
#tfb-advent .tfb-challenge-numbers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
#tfb-advent .tfb-challenge-numbers>div{border:1px solid #e4c9936e;border-radius:8px;background:#ffffff10;text-align:center;padding:8px 10px}
#tfb-advent .tfb-challenge-numbers strong{display:block;font:500 27px Georgia,serif;font-variant-numeric:tabular-nums;color:#fff8e9}
#tfb-advent .tfb-challenge-numbers small{display:block;color:#eac78c;letter-spacing:.12em;font-size:9px;font-weight:800}
#tfb-advent .tfb-challenge-start{display:block;width:100%;background:linear-gradient(110deg,#f1d79d,#c3a069);color:#142448;border:0;border-radius:7px;font-weight:800;padding:13px 12px;min-height:51px}
#tfb-advent .tfb-challenge-start:hover{filter:brightness(1.08)}
#tfb-advent .tfb-challenge-status{color:#d5dbeb;font-size:11px;padding-top:9px;text-align:center;min-height:27px}
#tfb-advent .hint-button:disabled{opacity:.4;cursor:not-allowed}
#tfb-advent .scene-note{max-width:255px;padding:10px 12px;font-size:11px;left:14px;top:13px}
#tfb-advent .scene-note .note-logo{width:28px;height:28px;object-fit:contain}
@media(max-width:860px){#tfb-advent .tfb-challenge{grid-template-columns:1fr;margin:12px;padding:22px;gap:15px}}
@media(max-width:500px){.preview-top{padding:12px 15px}.preview-brand{font-size:17px}.preview-tag{font-size:9px}#tfb-advent .tfb-challenge{padding:18px 15px}#tfb-advent .tfb-challenge-numbers strong{font-size:24px}}

/* The challenge rewards its completion with a fully interactive local snow globe. */
#tfb-advent .reward-overlay{position:fixed;inset:0;z-index:100000;background:rgba(2,10,30,.94);overflow:auto;overscroll-behavior:contain;display:grid;place-items:start center;color:#fff;text-align:center;padding:35px 18px 65px;isolation:isolate}
#tfb-advent .reward-screen-snow{position:fixed;inset:0;z-index:1;pointer-events:none;width:100vw;height:100vh}
#tfb-advent .reward-panel{max-width:1110px;width:100%;position:relative;z-index:2;margin:auto;background:radial-gradient(ellipse at 51% 28%,#264c7d 0%,#102b5d 33%,#08183c 85%);border:1px solid #e5c38c77;border-radius:20px;box-shadow:0 35px 100px #0009;padding:35px 28px 36px;isolation:isolate}
#tfb-advent .reward-close{position:absolute;right:18px;top:16px;border:1px solid #ebd5ac72;background:#112d59;color:#fff;border-radius:50%;width:42px;height:42px;font-size:23px;z-index:6}
#tfb-advent .reward-eyebrow{color:#f1cd8b;font-weight:800;font-size:11px;letter-spacing:.19em}
#tfb-advent .reward-title{font:400 clamp(34px,4.8vw,54px)/1.12 Georgia,serif;color:#fff;margin:9px 0 7px}
#tfb-advent .reward-title em{color:#f1cc8e;font-style:normal}
#tfb-advent .reward-intro{margin:0 auto 2px;max-width:770px;color:#d9e5f6;font-size:15px;line-height:1.65}
#tfb-advent .reward-time{font:500 clamp(33px,4vw,46px)/1.1 Georgia,serif;color:#f2d69d;font-variant-numeric:tabular-nums;margin:8px auto}
#tfb-advent .reward-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px;align-items:center;max-width:920px;margin:5px auto 12px}
#tfb-advent .globe-column{display:flex;align-items:center;flex-direction:column;padding:12px 0 8px}
#tfb-advent .magic-globe{position:relative;border-radius:50%;width:min(100%,370px);aspect-ratio:1;overflow:hidden;border:5px solid #bfd7ed;box-shadow:inset 0 0 27px #d4f2ff93,0 0 0 4px #446b9f,0 0 0 7px #b7d2e5b9,0 20px 43px #0008;cursor:pointer;isolation:isolate;transform-origin:center 92%;background:#123d62;touch-action:manipulation}
#tfb-advent .magic-globe.globe-wobble{animation:tfbGlobeWobble .83s cubic-bezier(.3,.03,.4,.97)}
@keyframes tfbGlobeWobble{0%,100%{transform:rotate(0)}15%{transform:rotate(-8deg)}29%{transform:rotate(9deg)}42%{transform:rotate(-9deg)}54%{transform:rotate(7deg)}70%{transform:rotate(-4deg)}85%{transform:rotate(2deg)}}
#tfb-advent .magic-photo{position:absolute;inset:0;background-size:cover;background-position:18% 56%;transform:scale(1.07);filter:saturate(.96) brightness(.9)}
#tfb-advent .magic-glass{position:absolute;inset:0;z-index:3;pointer-events:none;background:radial-gradient(ellipse at 29% 15%,#ffffffa6 0%,#ffffff36 11%,transparent 32%),linear-gradient(135deg,#fff6 0%,transparent 23%,transparent 72%,#d2edff3b 100%);border-radius:50%}
#tfb-advent .magic-globe canvas{position:absolute;inset:0;z-index:2;pointer-events:none;width:100%;height:100%}
#tfb-advent .magic-neck{height:26px;width:53%;background:linear-gradient(90deg,#6f562f,#e7c78b 21%,#9b6b38 62%,#d6ae76 85%,#76572b);z-index:0;margin-top:-2px;border-radius:5px}
#tfb-advent .magic-base{width:min(72%,290px);min-height:74px;border-radius:14px 14px 24px 24px;border:3px solid #d4ae70;background:linear-gradient(130deg,#163b72,#071735 62%,#17335d);box-shadow:inset 0 0 0 2px #dfc38b,0 12px 26px #0009;display:grid;place-content:center;gap:2px;color:#eed19a}
#tfb-advent .magic-base b{font:400 18px Georgia,serif}#tfb-advent .magic-base small{font-size:10px;letter-spacing:.2em}
#tfb-advent .reward-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:15px}
#tfb-advent .reward-action{background:#e8c98e;color:#132548;font-weight:800;padding:12px 14px;border:0;border-radius:7px;font-size:13px;min-height:43px}
#tfb-advent .reward-action.secondary{border:1px solid #aec4e6;background:#193a68;color:#fff}
#tfb-advent .reward-smallprint{color:#b5c7df;font-size:11px;line-height:1.55;max-width:780px;margin:12px auto 0}
#tfb-advent .reward-card{width:190px;max-width:100%;aspect-ratio:9 / 16;border:4px solid #f3eee6;box-shadow:0 15px 30px #0007;object-fit:contain;display:block;margin:8px auto}
#tfb-advent .reward-card-column h3{color:#f0d39b;font:400 21px Georgia,serif;margin:6px 0}
#tfb-advent .reward-card-column p{color:#d9e5f6;font-size:12px;line-height:1.5}
#tfb-advent .reward-return{margin-top:20px;border:1px solid #f0d5a5;background:transparent;color:#f5e6cb;padding:12px 20px;border-radius:8px}
#tfb-advent .reward-preview-note{position:absolute;top:14px;left:18px;font-size:10px;letter-spacing:.1em;color:#bcd2ee;text-transform:uppercase}
#tfb-advent .preview-reward-btn{background:transparent;border:1px solid #bfceeea8;color:#fff;border-radius:8px;padding:10px 15px;font-weight:650;font-size:12px;cursor:pointer;}
@media(max-width:750px){#tfb-advent .reward-grid{grid-template-columns:1fr;gap:5px}#tfb-advent .reward-panel{padding:57px 15px 24px}#tfb-advent .reward-card{width:142px}#tfb-advent .reward-card-column p{margin:4px}#tfb-advent .magic-globe{max-width:320px}#tfb-advent .reward-title{font-size:34px}#tfb-advent .reward-intro{font-size:13px}}
@media(prefers-reduced-motion:reduce){#tfb-advent .magic-globe.globe-wobble{animation:none}}

/* v2.36 — discovery animation: a tiny gold bell rings before it vanishes. */
#tfb-advent .bells-layer .hidden-bell.bell-ringing { z-index: 30; }
#tfb-advent .bells-layer .hidden-bell.bell-ringing img {
  animation: tfb-discovery-swing .50s ease-in-out both;
  transform-origin: 50% 10%;
  opacity: 1 !important;
  filter: brightness(0) saturate(100%) invert(83%) sepia(45%) saturate(670%) hue-rotate(347deg)
          drop-shadow(0 0 4px rgba(255,228,149,.94)) drop-shadow(0 0 9px rgba(253,213,123,.8)) !important;
}
#tfb-advent .bells-layer .hidden-bell.bell-ringing::before,
#tfb-advent .bells-layer .hidden-bell.bell-ringing::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  color: #ffdf8e;
  opacity: 0;
  font-family: Georgia,serif;
  line-height: 1;
  text-shadow: 0 0 5px #fff7c6;
}
#tfb-advent .bells-layer .hidden-bell.bell-ringing::before {
  content: '✦'; top: 2px; left: -5px; font-size: 14px;
  animation: tfb-discovery-spark-left .55s ease-out both;
}
#tfb-advent .bells-layer .hidden-bell.bell-ringing::after {
  content: '✧'; top: 3px; right: -5px; font-size: 16px;
  animation: tfb-discovery-spark-right .55s ease-out both;
}
#tfb-advent .bells-layer .hidden-bell.bell-fading {
  opacity: 0;
  transform: translate(-50%,-73%) rotate(var(--angle)) scale(1.27);
  transition: opacity .19s ease-out, transform .19s ease-out;
}
@keyframes tfb-discovery-swing {
  0%   { transform: rotate(0deg) scale(1); }
  15%  { transform: rotate(-28deg) scale(1.22); }
  32%  { transform: rotate(25deg) scale(1.25); }
  49%  { transform: rotate(-19deg) scale(1.20); }
  65%  { transform: rotate(13deg) scale(1.16); }
  82%  { transform: rotate(-7deg) scale(1.10); }
  100% { transform: rotate(0deg) scale(1.09); }
}
@keyframes tfb-discovery-spark-left {
  0%,12% { opacity: 0; transform: translate(3px,5px) scale(.35); }
  32% { opacity: 1; transform: translate(-5px,-6px) scale(1.25); }
  100% { opacity: 0; transform: translate(-18px,-17px) scale(.7); }
}
@keyframes tfb-discovery-spark-right {
  0%,18% { opacity: 0; transform: translate(-3px,5px) scale(.35); }
  40% { opacity: 1; transform: translate(6px,-6px) scale(1.18); }
  100% { opacity: 0; transform: translate(19px,-15px) scale(.7); }
}
@media (prefers-reduced-motion:reduce) {
  #tfb-advent .bells-layer .hidden-bell.bell-ringing img,
  #tfb-advent .bells-layer .hidden-bell.bell-ringing::before,
  #tfb-advent .bells-layer .hidden-bell.bell-ringing::after { animation:none !important; }
  #tfb-advent .bells-layer .hidden-bell.bell-ringing::before,
  #tfb-advent .bells-layer .hidden-bell.bell-ringing::after { display:none; }
  #tfb-advent .bells-layer .hidden-bell.bell-fading { transition:none; }
}

/* v2.37 — mysterious Christmas Eve reveal, on the completed 12-Bells reward screen. */
#tfb-advent .reward-mystery{max-width:780px;margin:12px auto 16px;padding:14px 20px 12px;background:linear-gradient(130deg,rgba(6,22,58,.72),rgba(27,57,101,.72));border:1px solid rgba(224,190,124,.54);border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);text-align:center}
#tfb-advent .reward-mystery-kicker{font-size:10px;letter-spacing:.2em;color:#e9cb92;font-weight:800}
#tfb-advent .reward-mystery h3{font:400 clamp(21px,2.7vw,30px)/1.2 Georgia,serif;color:#fff;margin:7px 0}
#tfb-advent .reward-mystery-intro{font-size:13px;color:#dce5f7;line-height:1.6;margin:0 auto 12px;max-width:650px}
#tfb-advent .reward-countdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-width:540px;margin:12px auto 8px}
#tfb-advent .reward-countdown>div{padding:12px 6px 9px;background:rgba(6,16,45,.7);border:1px solid rgba(239,211,155,.32);border-radius:9px;min-width:0}
#tfb-advent .reward-countdown strong{display:block;color:#f2d49c;font:400 clamp(26px,4vw,40px)/1 Georgia,serif;font-variant-numeric:tabular-nums}
#tfb-advent .reward-countdown small{display:block;margin-top:6px;font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#dce5f4}
#tfb-advent .reward-mystery-date{font-size:11px;color:#e8d6b5;margin:10px 0 0}
#tfb-advent .reward-mystery-unlocked{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.6;color:#e5efff;margin:12px 0 0}
#tfb-advent .reward-mystery-unlocked strong{color:#f2d49c;font:400 25px Georgia,serif}
@media(max-width:700px){#tfb-advent .reward-mystery{padding:14px 10px 12px;margin:11px auto 15px}#tfb-advent .reward-countdown{gap:5px}#tfb-advent .reward-countdown>div{padding:10px 3px 9px}#tfb-advent .reward-countdown strong{font-size:26px}#tfb-advent .reward-countdown small{font-size:9px;letter-spacing:.03em}}
