@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');
:root{--blue:#20258f;--orange:#ff5739;--brown:#965047;--cream:#fff7f0;--ink:#161a5e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fffaf6;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;overflow-x:hidden}button,a{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ff5739;outline-offset:4px}.topbar{max-width:1440px;margin:auto;padding:24px 5%;display:flex;align-items:center;justify-content:space-between;gap:16px}.wordmark{display:flex;gap:11px;align-items:center;font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1.25}.brand-mark{font-size:36px;color:var(--orange)}.top-actions{display:flex;align-items:center;gap:22px}.eyebrow,.overline{font-size:10px;font-weight:700;letter-spacing:.19em}.eyebrow{color:#7b7692}.passport-button{background:var(--blue);color:white;border:0;border-radius:30px;padding:13px 17px;font-size:11px;font-weight:700;letter-spacing:.07em;box-shadow:0 7px 20px #20258f20}.passport-button span{margin-left:9px;color:#ffd8c5}.intro{text-align:center;max-width:760px;margin:40px auto 33px;padding:0 24px}.intro .overline{color:var(--orange)}h1,h2{font-family:'Playfair Display',Georgia,serif;font-weight:400;letter-spacing:-.055em}h1{font-size:clamp(42px,6vw,78px);line-height:1.07;margin:15px 0}h1 em,h2 em{font-weight:400;color:var(--orange)}.intro p{max-width:520px;margin:0 auto;font-size:14px;line-height:1.8;color:#5e5d74}.hint{margin-top:29px;font-size:10px;font-weight:700;letter-spacing:.15em;color:var(--blue)}.hint span{display:inline-block;animation:bob 2s infinite}.mosaic-shell{width:min(1100px,95vw);margin:0 auto 70px}.mosaic{position:relative;width:100%;overflow:hidden;isolation:isolate;box-shadow:0 25px 75px #191a6715}.art{display:block;width:100%;height:auto;user-select:none;pointer-events:none}.light-sweep{position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 30%,#ffffff12 47%,transparent 62%);background-size:300% 100%;animation:sweep 12s linear infinite;mix-blend-mode:screen}.hotspot{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border:2px solid transparent;background:transparent;display:grid;place-items:center;transition:background .3s,border .3s,transform .3s,box-shadow .3s;z-index:2}.hotspot:hover,.hotspot:focus-visible{background:#ffffff16;border-color:#fff;box-shadow:0 0 0 3px #20258f55,0 0 32px #fff9;transform:scale(1.045);z-index:4}.tile-tooltip{opacity:0;transform:translateY(9px);transition:.25s;position:absolute;bottom:calc(100% + 5px);white-space:nowrap;background:var(--blue);color:#fff;font-size:10px;letter-spacing:.09em;font-weight:700;padding:11px 12px;box-shadow:0 5px 15px #0002;pointer-events:none}.tile-tooltip b{margin-left:8px;color:#ffac90}.hotspot:hover .tile-tooltip,.hotspot:focus-visible .tile-tooltip{opacity:1;transform:translateY(0)}.ambient{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}.ambient span{position:absolute;color:#ff7353;opacity:.13;font-size:24px;animation:float 15s ease-in-out infinite}.ambient span:nth-child(1){left:7%;top:15%}.ambient span:nth-child(2){left:90%;top:32%;animation-delay:-5s}.ambient span:nth-child(3){left:12%;top:68%;animation-delay:-8s}.ambient span:nth-child(4){left:88%;top:83%;animation-delay:-3s}.ambient span:nth-child(5){left:48%;top:9%;animation-delay:-11s}.ambient span:nth-child(6){left:58%;top:91%;animation-delay:-7s}.topbar,main,footer{position:relative;z-index:1}.below{max-width:1100px;margin:0 auto 100px;padding:0 4%;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.below h2{font-size:clamp(38px,5vw,65px);line-height:1.1;margin:14px 0}.below p{font-size:15px;line-height:1.85;color:#66627a}.text-button{border:0;border-bottom:1px solid var(--orange);background:none;padding:12px 0;color:var(--orange);font-size:11px;letter-spacing:.12em;font-weight:700}footer{padding:28px 5%;border-top:1px solid #e8ded8;display:flex;justify-content:space-between;gap:20px;font-size:9px;font-weight:700;letter-spacing:.13em;color:#79748b}.overlay[hidden]{display:none}.overlay{position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:18px}.backdrop{position:absolute;inset:0;background:#0b1051b8;backdrop-filter:blur(9px);animation:fade .25s}.dialog{position:relative;background:var(--cream);width:min(850px,100%);max-height:min(90vh,900px);overflow:auto;box-shadow:0 28px 95px #070d4d50;animation:appear .3s ease-out}.close{position:absolute;top:16px;right:17px;z-index:2;width:35px;height:35px;border:0;border-radius:50%;background:white;color:var(--blue);font-size:25px;line-height:1}.event-dialog{display:grid;grid-template-columns:44% 56%}.event-illustration{min-height:410px;background:radial-gradient(circle at 50% 45%,#ffb29b 0 20%,transparent 21%),linear-gradient(145deg,#f98fca,#ff5b39 75%);display:grid;place-items:center;position:relative;overflow:hidden}.event-illustration:before{content:'';position:absolute;width:80%;aspect-ratio:1;border:2px dotted #fff8;border-radius:50%;animation:rotate 25s linear infinite}.event-emoji{font-size:clamp(100px,13vw,180px);filter:drop-shadow(10px 16px 0 #20258f29);animation:bob 4s ease-in-out infinite}.event-sparks{position:absolute;top:15%;font-size:26px;letter-spacing:24px;color:#fff6;animation:twinkle 3s infinite}.event-copy{padding:65px 40px 35px}.event-copy .overline{color:var(--orange)}.event-copy h2{font-size:clamp(35px,4vw,55px);line-height:1.1;margin:16px 0 20px}.event-copy p{font-size:14px;line-height:1.85;color:#66627a}.event-detail{border-top:1px solid #ded3d0;border-bottom:1px solid #ded3d0;padding:18px 0;margin:22px 0;font-size:12px;line-height:1.8;font-weight:700;letter-spacing:.025em}.event-actions{display:flex;flex-wrap:wrap;gap:9px}.primary,.secondary{border:0;padding:14px 17px;text-decoration:none;font-size:10px;font-weight:700;letter-spacing:.06em}.primary{background:var(--blue);color:#fff}.primary:disabled{background:#8082b0;cursor:default}.secondary{background:#ffe1d5;color:var(--blue)}.event-copy small{display:block;color:#928c96;font-size:10px;line-height:1.5;margin-top:18px}.passport-dialog{padding:45px;max-width:670px}.passport-dialog .overline{color:var(--orange)}.passport-dialog h2{font-size:clamp(36px,5vw,55px);margin:12px 0}.passport-dialog>p{font-size:14px;line-height:1.7;color:#66627a}.progress{height:8px;background:#e5d9db;border-radius:8px;overflow:hidden;margin-top:26px}.progress div{height:100%;width:0;background:var(--orange);transition:width .5s}.progress-label{display:flex;justify-content:space-between;margin:10px 0 25px;font-size:10px;font-weight:700;letter-spacing:.12em}.stamp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stamp{border:1px dashed #b9b0c2;min-height:120px;background:#f6eae5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;padding:12px;opacity:.62;transition:.3s}.stamp.collected{border:2px solid var(--orange);background:#ffe0d4;opacity:1;transform:rotate(-1deg)}.stamp-icon{font-size:40px;filter:grayscale(1)}.stamp.collected .stamp-icon{filter:none}.stamp-name{font-size:10px;font-weight:700;line-height:1.35}.completion{text-align:center;color:var(--orange)!important;font-weight:700}.reset{border:0;background:transparent;color:#8c8191;text-decoration:underline;font-size:11px;margin-top:20px;padding:6px 0}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,30px);opacity:0;pointer-events:none;background:var(--blue);color:white;padding:14px 24px;font-size:12px;z-index:30;transition:.3s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}body.modal-open{overflow:hidden}@keyframes bob{50%{transform:translateY(-9px)}}@keyframes sweep{to{background-position:-300% 0}}@keyframes float{50%{transform:translate(20px,-35px) rotate(30deg)}}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes twinkle{50%{opacity:.2}}@keyframes fade{from{opacity:0}}@keyframes appear{from{opacity:0;transform:translateY(20px) scale(.98)}}@media(max-width:700px){.topbar{padding:17px 4%}.eyebrow{display:none}.wordmark{font-size:8px}.brand-mark{font-size:27px}.passport-button{font-size:9px;padding:11px}.intro{margin:26px auto}.intro p{font-size:13px}.mosaic-shell{width:100%;margin-bottom:45px}.hotspot{border-width:1px}.tile-tooltip{font-size:8px;padding:6px}.below{grid-template-columns:1fr;gap:10px;margin-bottom:60px;padding:0 7%}footer{flex-direction:column}.event-dialog{display:block;max-width:460px}.event-illustration{min-height:180px}.event-emoji{font-size:100px}.event-copy{padding:30px 25px}.event-copy h2{font-size:38px}.passport-dialog{padding:30px 20px}.stamp-grid{grid-template-columns:repeat(2,1fr)}.stamp{min-height:100px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}


/* Family Merge: replaces the flyer IN PLACE, maintaining the original footprint */
.game-toggle{background:var(--orange);border:0;color:white;padding:13px 19px;font-size:11px;font-weight:800;letter-spacing:.07em;transition:background .2s,transform .2s}.game-toggle:hover{background:#9b5044;transform:translateY(-2px)}.game-toggle[aria-pressed=true]{background:var(--blue)}.top-actions{gap:12px;flex-wrap:wrap}
.merge-view[hidden],.mosaic[hidden]{display:none!important}
.merge-view{position:relative;width:100%;aspect-ratio:1483/2048;background:#fcecdf;overflow:hidden;padding:clamp(12px,3.8%,42px);display:flex;flex-direction:column;gap:clamp(9px,1.7vw,20px);color:#191a67;box-shadow:0 25px 75px #191a6715;animation:mergeEnter .4s ease-out}
.merge-view:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.27;background-image:radial-gradient(#ff5c38 1px,transparent 1px);background-size:12px 12px;mask-image:linear-gradient(110deg,#000,transparent 55%)}
.merge-top,.merge-status,.merge-board,.merge-bottom{position:relative;z-index:1}.merge-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.merge-kicker{font-size:clamp(8px,1vw,12px);letter-spacing:.17em;font-weight:800;color:#965047}.merge-top h2{font-size:clamp(28px,5.7vw,73px);line-height:1.03;margin:10px 0 0;letter-spacing:-.06em}.merge-top h2 em{color:#ff5739}.merge-close{border:2px solid #191a67;color:#191a67;background:transparent;font-size:clamp(9px,1vw,12px);font-weight:800;padding:12px;white-space:nowrap}.merge-close:hover{background:#191a67;color:#fff}
.merge-status{display:flex;gap:12px;align-items:stretch}.merge-status>div{background:#965047;color:#fff;min-width:100px;flex:1;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.merge-status span{font-size:clamp(9px,1.2vw,13px);font-weight:800;letter-spacing:.12em}.merge-status strong{font-size:clamp(18px,3vw,32px);font-weight:800;font-variant-numeric:tabular-nums}.merge-status button{border:0;background:#20258f;color:#fff;font-size:clamp(9px,1.2vw,13px);font-weight:800;letter-spacing:.06em;padding:0 20px}.merge-status button:hover{background:#ff5739}
.merge-board{flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:clamp(5px,1.2vw,13px);background:#20258f;padding:clamp(7px,1.5vw,17px);touch-action:none;user-select:none;box-shadow:9px 9px 0 #965047}
.merge-cell{min-width:0;min-height:0;background:#ffffff26;display:flex;align-items:center;justify-content:center;position:relative}.merge-tile{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;animation:tilePop .16s ease-out;box-shadow:inset 0 -5px 0 #00000014}.merge-tile .tile-symbol{font-size:clamp(18px,4vw,58px);line-height:1.05;filter:drop-shadow(2px 3px 0 #0002)}.merge-tile .tile-label{font-size:clamp(7px,1.15vw,14px);font-weight:900;letter-spacing:.04em}.merge-tile .tile-value{font-size:clamp(8px,1vw,12px);font-weight:800;opacity:.75}.merge-tile[data-level="1"]{background:#ffbd89;color:#20258f}.merge-tile[data-level="2"]{background:#ff603d;color:#fff}.merge-tile[data-level="3"]{background:#cb92d8;color:#191a67}.merge-tile[data-level="4"]{background:#965047;color:#fff}.merge-tile[data-level="5"]{background:#8387dc;color:#fff}.merge-tile[data-level="6"]{background:#f8e1a5;color:#20258f}.merge-tile[data-level="7"]{background:#ff7a62;color:#fff}.merge-tile[data-level="8"]{background:#c29df3;color:#191a67}.merge-tile[data-level="9"]{background:#f5c85e;color:#20258f}.merge-tile[data-level="10"],.merge-tile[data-level="11"]{background:#fce6ac;color:#20258f}
.merge-bottom{text-align:center;display:flex;flex-direction:column;justify-content:center;gap:8px}.merge-bottom p{font-size:clamp(10px,1.35vw,16px);line-height:1.4;margin:0}.merge-legend{font-size:clamp(17px,2.9vw,36px);letter-spacing:.15em}.merge-bottom .merge-note{font-size:clamp(9px,1.1vw,13px);font-weight:800;color:#965047;letter-spacing:.12em;text-transform:uppercase}
.merge-result[hidden]{display:none}.merge-result{position:absolute;z-index:5;inset:0;background:#191a67d9;display:grid;place-items:center;padding:24px}.merge-result-card{width:min(450px,100%);padding:36px;background:#fcecdf;text-align:center}.merge-result-card>span{font-size:64px}.merge-result-card h3{font-family:Georgia,serif;font-size:32px}.merge-result-card p{line-height:1.6}.merge-result-card button{border:0;padding:14px;background:#20258f;color:#fff;font-weight:800;margin:5px}.merge-result-card button+button{background:#ff5739}
@keyframes tilePop{from{transform:scale(.85);opacity:.5}to{transform:scale(1);opacity:1}}@keyframes mergeEnter{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(max-width:650px){.game-toggle{font-size:9px;padding:11px 9px}.merge-view{padding:12px;gap:8px}.merge-top h2{font-size:clamp(25px,6.2vw,42px);margin:4px 0}.merge-close{padding:7px;font-size:9px}.merge-close span{display:none}.merge-status{gap:5px}.merge-status>div{min-width:0;padding:7px;display:block}.merge-status strong{display:block}.merge-status button{padding:7px;font-size:9px}.merge-board{gap:5px;padding:6px;box-shadow:4px 4px 0 #965047}.merge-tile .tile-symbol{font-size:clamp(20px,6vw,36px)}.merge-tile .tile-label{font-size:clamp(7px,1.9vw,11px)}.merge-tile .tile-value{font-size:8px}.merge-bottom{gap:3px}.merge-bottom p{font-size:10px}.merge-legend{font-size:clamp(17px,4.8vw,25px)}.merge-bottom .merge-note{font-size:8px}}
@media(prefers-reduced-motion:reduce){.merge-view,.merge-tile{animation:none}}

/* V3: fixed, floating bottom navigation and full-bleed orange experience section */
body{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
.floating-nav{position:fixed;z-index:8;bottom:calc(20px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:10px;padding:10px;background:#fff7f0f2;border:1px solid #fff8;box-shadow:0 12px 45px #191a6740;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);max-width:calc(100vw - 24px);border-radius:48px}
.floating-nav button{white-space:nowrap;min-height:46px;border-radius:30px;padding:13px 20px}
.floating-nav .game-toggle{box-shadow:none}
.floating-nav .passport-button{box-shadow:none}
.below{max-width:none;width:100%;margin:0;padding:clamp(65px,9vw,125px) max(6%,calc((100vw - 1100px)/2));background:#ff5739;color:#fff3e8;gap:clamp(30px,6vw,85px)}
.below .overline,.below h2,.below h2 em,.below p,.below .text-button{color:#fff3e8}
.below p{color:#fff3e8}
.below .text-button{border-bottom-color:#fff3e8}
.below .text-button:hover{opacity:.75}
.mosaic-shell{margin-bottom:0}
.calendar-action{background:#ff5739;color:#fff}
.calendar-google{background:#ffe1d5;color:#20258f}
.event-actions a{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:700px){.floating-nav{width:max-content;gap:6px;padding:7px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}.floating-nav button{font-size:10px;padding:12px 13px;min-height:44px}.floating-nav .passport-button span{margin-left:4px}.below{padding:65px 7%;margin:0;gap:15px}.event-actions .calendar-action,.event-actions .calendar-google{flex:1 1 45%;font-size:9px}}

.merge-tile{overflow:hidden;padding:2px;gap:0}
.merge-tile .tile-portrait{display:block;width:100%;flex:1;min-height:0;max-height:80%;display:flex;align-items:center;justify-content:center}
.merge-tile .tile-portrait svg{display:block;width:100%;height:100%;max-height:100%}
.merge-tile .tile-label{flex:0 0 auto;font-size:clamp(6px,1vw,12px);letter-spacing:.025em;text-align:center;line-height:1.15;padding:0 2px 4px}
.merge-legend{font-size:clamp(10px,1.6vw,19px);font-weight:900;letter-spacing:.06em}
@media(max-width:650px){.merge-tile .tile-label{font-size:clamp(5px,1.45vw,9px)}.merge-legend{font-size:clamp(9px,2.4vw,14px)}}

/* Family portraits: edge-to-edge square PNG tiles, matching the angular mosaic. */
.merge-tile{padding:0!important;gap:0!important;border-radius:0!important;box-shadow:none!important;position:relative}
.merge-tile .tile-portrait{width:100%!important;height:100%!important;max-height:none!important;flex:1 1 auto!important;display:block!important;overflow:hidden}
.merge-tile .tile-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;image-rendering:auto}
.merge-tile .tile-label{position:absolute;bottom:0;left:0;right:0;padding:5px 2px!important;color:#fff!important;background:#191a67d9;font-size:clamp(6px,.9vw,11px)!important;line-height:1.1}
/* All website UI follows the original flyer’s hard-edged rectangular language. */
*,*::before,*::after{border-radius:0!important}

/* V7 — immersive, edge-to-edge editorial tile collage */
.feature-mosaic{width:100%;display:grid;grid-template-columns:minmax(270px,38%) minmax(0,62%);height:clamp(370px,43vw,640px);gap:4px;background:#fff7f0;overflow:hidden}
.feature-title-tile{position:relative;background:#965047;color:#fff3e8;padding:clamp(24px,4vw,70px);display:flex;flex-direction:column;justify-content:center;overflow:hidden;isolation:isolate}
.feature-title-tile::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 90% 90%,#ffad8440,transparent 54%)}
.feature-kicker{font-size:clamp(9px,.9vw,13px);letter-spacing:.17em;font-weight:800;line-height:1.5;z-index:1}
.feature-title-tile h2{font-size:clamp(38px,5vw,85px);line-height:1.01;letter-spacing:-.065em;margin:clamp(18px,3vw,40px) 0;position:relative;z-index:1}
.feature-title-tile h2 em{color:#fff3e8;font-weight:400}
.feature-title-tile p{font-size:clamp(9px,.9vw,13px);letter-spacing:.12em;font-weight:700;position:relative;z-index:1}
.feature-spark{position:absolute;right:-15px;bottom:-85px;font-size:clamp(180px,23vw,380px);color:#ffad8430;line-height:1;pointer-events:none}
.feature-mosaic-right{min-width:0;display:flex;flex-direction:column;gap:4px}
.feature-row{display:flex;flex:1;min-height:0;gap:4px}
.feature-tile{position:relative;min-width:0;flex:1 1 0;border:0;overflow:hidden;padding:0;text-align:left;transition:flex-grow .42s cubic-bezier(.2,.75,.2,1),filter .3s;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.feature-tile:hover,.feature-tile:focus-visible{flex-grow:1.42;z-index:2;filter:saturate(1.08)}
.feature-row-one .feature-tile:nth-child(1){flex-grow:1.16}.feature-row-one .feature-tile:nth-child(2){flex-grow:.9}.feature-row-one .feature-tile:nth-child(3){flex-grow:1.05}
.feature-row-two .feature-tile:nth-child(1){flex-grow:.9}.feature-row-two .feature-tile:nth-child(2){flex-grow:1.3}.feature-row-two .feature-tile:nth-child(3){flex-grow:.85}
.feature-row-one .feature-tile:nth-child(1):hover,.feature-row-one .feature-tile:nth-child(1):focus-visible,.feature-row-two .feature-tile:nth-child(2):hover,.feature-row-two .feature-tile:nth-child(2):focus-visible{flex-grow:1.9}
.feature-photo{background:var(--tile-color)}.feature-photo::before{content:'';position:absolute;inset:0;background-image:var(--tile-image);background-size:cover;background-position:center;transition:transform .55s ease;z-index:-1}.feature-photo:hover::before,.feature-photo:focus-visible::before{transform:scale(1.065)}
.feature-photo>span{margin-top:auto;width:100%;background:#20258fe6;color:#fff3e8;padding:clamp(10px,1.4vw,21px);font-weight:800;font-size:clamp(10px,1vw,15px);letter-spacing:.08em;display:flex;justify-content:space-between}
.feature-text{padding:clamp(13px,2.1vw,33px);color:#fff3e8}.feature-text small{font-size:clamp(8px,.85vw,12px);letter-spacing:.14em;font-weight:700}.feature-text strong{font-family:Georgia,serif;font-size:clamp(24px,3.1vw,53px);font-weight:400;letter-spacing:-.055em;line-height:1.05}.feature-text>span{font-size:clamp(8px,.8vw,12px);font-weight:800;letter-spacing:.1em}.feature-blue{background:#20258f}.feature-orange{background:#ff5739}.feature-brown{background:#965047}
footer{background:#ff5739!important;color:#fff3e8!important;border-top:1px solid #fff3e855!important}
.below h2 em{color:#20258f!important}
@media(max-width:780px){.feature-mosaic{grid-template-columns:1fr;height:auto;gap:4px}.feature-title-tile{min-height:300px;padding:34px 7%}.feature-title-tile h2{font-size:clamp(45px,9vw,76px);margin:20px 0}.feature-mosaic-right{height:440px}.feature-text{padding:15px}.feature-text strong{font-size:clamp(22px,4.8vw,40px)}}
@media(max-width:440px){.feature-title-tile{min-height:270px}.feature-mosaic-right{height:390px}.feature-text strong{font-size:clamp(19px,5vw,29px)}.feature-photo>span{font-size:8px;padding:10px 6px}.feature-text{padding:10px}.feature-text small,.feature-text>span{font-size:7px}}
@media(prefers-reduced-motion:reduce){.feature-tile,.feature-photo::before{transition:none!important}}

/* V8: horizontal, irregular editorial mosaic */
.feature-mosaic{display:grid!important;width:100%;height:clamp(440px,49vw,760px)!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(0,1fr));gap:4px;overflow:hidden;background:#fff7f0;transition:grid-template-columns .4s cubic-bezier(.2,.8,.2,1)}
.feature-mosaic .feature-title-tile{grid-column:1 / 5;grid-row:1 / 5;min-height:0;padding:clamp(18px,3vw,58px)}
.feature-mosaic .feature-title-tile h2{font-size:clamp(31px,4.3vw,77px)}
.feature-mosaic .patch{min-width:0;min-height:0;position:relative;border:0;border-radius:0;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:0;text-align:left;transition:filter .25s,background .25s;cursor:default}
.feature-mosaic button.patch{cursor:pointer}
.feature-mosaic button.patch:hover,.feature-mosaic button.patch:focus-visible{filter:brightness(1.09) saturate(1.08);outline:3px solid #fff3e8;outline-offset:-3px;z-index:2}
.feature-mosaic .patch-blue{grid-column:5 / 9;grid-row:1;background:#20258f}
.feature-mosaic .family-one{grid-column:9 / 12;grid-row:1 / 3;background:#ff5739}
.feature-mosaic .patch-orange{grid-column:12 / 13;grid-row:1;background:#ff5739}
.feature-mosaic .patch-brown{grid-column:5 / 8;grid-row:2 / 4;background:#965047}
.feature-mosaic .family-two{grid-column:8 / 9;grid-row:2 / 4;background:#cb92d8}
.feature-mosaic .patch-pattern{grid-column:12 / 13;grid-row:2 / 4;background:#f9e9de;color:#20258f;align-items:center;justify-content:center}
.feature-mosaic .patch-pattern span{font-size:clamp(30px,5vw,100px)}
.feature-mosaic .patch-lavender{grid-column:9 / 12;grid-row:3;background:#cb92d8}
.feature-mosaic .patch-orange-type{grid-column:1 / 4;grid-row:5;background:#ff5739}
.feature-mosaic .family-three{grid-column:4 / 8;grid-row:4 / 6;background:#fce8da}
.feature-mosaic .patch-blue-graphic{grid-column:8 / 10;grid-row:4 / 6;background:#20258f;color:#fff3e8;align-items:center;justify-content:center;font-size:clamp(28px,5vw,100px)}
.feature-mosaic .patch-blue-graphic span:last-child{font-size:.48em;position:absolute;right:5%;top:5%;color:#ff5739}
.feature-mosaic .patch-cream{grid-column:10 / 13;grid-row:4 / 6;background:#fff0e3;color:#965047}
.feature-mosaic .patch-brown-blank{grid-column:1 / 4;grid-row:4;background:#965047}
.feature-mosaic .patch-leaves{grid-column:4 / 5;grid-row:5;background:#cb92d8;color:#20258f;align-items:center;justify-content:center;font-size:clamp(24px,4vw,75px)}
.feature-mosaic .patch-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.feature-mosaic .patch-photo:hover img{transform:scale(1.055)}
.feature-mosaic .patch-type{padding:clamp(9px,1.5vw,25px);color:#fff3e8}
.feature-mosaic .patch-type span,.feature-mosaic .patch-type small{font-size:clamp(8px,.72vw,12px);font-weight:800;letter-spacing:.1em}
.feature-mosaic .patch-type strong{font-family:Georgia,serif;font-size:clamp(20px,3vw,52px);font-weight:400;letter-spacing:-.065em;line-height:1}
.feature-mosaic .patch-cream{color:#965047}
/* Resize tracks instead of overlaying neighboring tiles */
.feature-mosaic:has(.patch-brown:hover){grid-template-columns:repeat(4,minmax(0,1fr)) 1.25fr 1.25fr 1.25fr repeat(5,minmax(0,.85fr))!important}
.feature-mosaic:has(.family-one:hover){grid-template-columns:repeat(8,minmax(0,.94fr)) repeat(3,minmax(0,1.18fr)) minmax(0,.94fr)!important}
.feature-mosaic:has(.patch-cream:hover){grid-template-columns:repeat(9,minmax(0,.92fr)) repeat(3,minmax(0,1.24fr))!important}
@media(max-width:780px){.feature-mosaic{height:auto!important;aspect-ratio:3/4;min-height:610px;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(9,minmax(0,1fr));gap:3px}.feature-mosaic .feature-title-tile{grid-column:1/5;grid-row:1/4;padding:20px}.feature-mosaic .feature-title-tile h2{font-size:clamp(28px,6vw,56px)}.feature-mosaic .patch-blue{grid-column:5/7;grid-row:1}.feature-mosaic .family-one{grid-column:5/7;grid-row:2/4}.feature-mosaic .patch-orange{grid-column:1/2;grid-row:4}.feature-mosaic .patch-brown{grid-column:2/5;grid-row:4/6}.feature-mosaic .family-two{grid-column:5/7;grid-row:4/6}.feature-mosaic .patch-pattern{grid-column:1/2;grid-row:5/7}.feature-mosaic .patch-lavender{grid-column:2/5;grid-row:6}.feature-mosaic .patch-orange-type{grid-column:1/4;grid-row:7/9}.feature-mosaic .family-three{grid-column:4/7;grid-row:7/9}.feature-mosaic .patch-blue-graphic{grid-column:1/3;grid-row:9}.feature-mosaic .patch-cream{grid-column:3/7;grid-row:9}.feature-mosaic .patch-brown-blank{grid-column:5/7;grid-row:6}.feature-mosaic .patch-leaves{grid-column:1/2;grid-row:6}.feature-mosaic .patch-type strong{font-size:clamp(21px,4.8vw,37px)}.feature-mosaic:has(.patch:hover){grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:440px){.feature-mosaic{min-height:540px}.feature-mosaic .feature-title-tile h2{font-size:clamp(26px,7vw,36px)}.feature-mosaic .feature-title-tile{padding:14px}.feature-mosaic .feature-kicker,.feature-mosaic .feature-title-tile p{font-size:8px}.feature-mosaic .patch-type{padding:10px}.feature-mosaic .patch-type strong{font-size:clamp(18px,5vw,26px)}.feature-mosaic .patch-type span,.feature-mosaic .patch-type small{font-size:7px}}
@media(prefers-reduced-motion:reduce){.feature-mosaic,.feature-mosaic .patch-photo img{transition:none!important}}

/* V9 — reference-faithful 90° rotated mosaic, with responsive fluid geometry */
.feature-mosaic-v9{width:100%;background:#fff;overflow:hidden;isolation:isolate}
.mosaic-layout{position:relative;width:100%;aspect-ratio:2048/1463;overflow:hidden;background:#fff;container-type:inline-size}
.mosaic-layout-base{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}
.hm-cell{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border:0;border-radius:0;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;padding:clamp(5px,1.05vw,24px);text-align:left;transform-origin:center;transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .4s,box-shadow .4s;will-change:transform}
button.hm-cell{cursor:pointer}
button.hm-cell:hover,button.hm-cell:focus-visible{transform:scale(1.055);z-index:10;filter:saturate(1.08);box-shadow:0 8px 30px #1d155044;outline:2px solid #fff3e8;outline-offset:-2px}
.hm-photo{padding:0;background:#ff5739}.hm-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.8,.2,1)}.hm-photo:hover img{transform:scale(1.04)}
.hm-reveal{position:absolute;bottom:0;left:0;right:0;padding:12px;background:#20258f;color:#fff3e8;font:800 clamp(7px,.75vw,13px) Arial,sans-serif;letter-spacing:.09em;transform:translateY(100%);transition:transform .35s}.hm-photo:hover .hm-reveal,.hm-photo:focus-visible .hm-reveal{transform:translateY(0)}
.hm-title{background:#965047;color:#fff3e8;padding:clamp(9px,1.2vw,28px)}.hm-title>span,.hm-title small{font:800 clamp(6px,.63vw,12px) Arial,sans-serif;letter-spacing:.07em}.hm-title strong{font:400 clamp(16px,3.2vw,72px)/.94 Georgia,serif;letter-spacing:-.065em}.hm-title em{font-weight:400}
.hm-text{background:#20258f;color:#fff3e8}.hm-text-6{background:#ff5739}.hm-text-7{background:#965047}.hm-text-8{background:#20258f}
.hm-text>span,.hm-text small{font:800 clamp(6px,.7vw,12px) Arial,sans-serif;letter-spacing:.06em}.hm-text strong{font:400 clamp(12px,2vw,40px)/1 Georgia,serif;letter-spacing:-.04em;overflow-wrap:anywhere}
/* Neighboring content gently makes way for a focused tile. */
.mosaic-layout:has(.hm-cell:hover) .hm-cell:not(:hover){filter:brightness(.96)}
@media(max-width:760px){.mosaic-layout{aspect-ratio:2048/1720}.mosaic-layout-base{object-fit:fill}.hm-cell{padding:4px}.hm-title strong{font-size:clamp(11px,3.3vw,25px)}.hm-title>span,.hm-title small,.hm-text>span,.hm-text small{font-size:5px;letter-spacing:0}.hm-text strong{font-size:clamp(8px,2.2vw,18px)}.hm-reveal{font-size:7px;padding:4px}}
@media(max-width:430px){.hm-title>span,.hm-title small,.hm-text>span,.hm-text small{display:none}.hm-title strong{font-size:clamp(11px,3.5vw,17px)}.hm-text strong{font-size:clamp(8px,2.5vw,13px)}}
@media(prefers-reduced-motion:reduce){.hm-cell,.hm-photo img,.hm-reveal{transition:none!important}}

/* V10: Every colored rectangle is a real, independently flexible grid item. */
.feature-mosaic-v9{display:none!important}
.feature-mosaic-v10{width:100%;background:#fff;overflow:hidden}
.flex-mosaic{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));grid-template-rows:repeat(10,minmax(0,1fr));gap:clamp(3px,.34vw,7px);aspect-ratio:2048/1463;background:#fff;overflow:hidden;transition:grid-template-columns .55s cubic-bezier(.22,.8,.25,1),grid-template-rows .55s cubic-bezier(.22,.8,.25,1)}
.flex-tile{grid-column:var(--col)/span var(--cs);grid-row:var(--row)/span var(--rs);min-width:0;min-height:0;position:relative;overflow:hidden;background:var(--tile-bg);border:0;border-radius:0;box-shadow:none;display:flex;align-items:center;justify-content:center;transition:filter .35s ease;isolation:isolate}
.flex-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.flex-photo:hover img{transform:scale(1.04)}
.flex-event{cursor:pointer;color:#fff4e8;text-align:left;padding:clamp(5px,1.1vw,26px);align-items:end;justify-content:start}
.flex-event strong{font:400 clamp(10px,2vw,44px)/.98 Georgia,serif;letter-spacing:-.045em;overflow-wrap:break-word;text-shadow:0 1px 8px #190b1d40}
.flex-title{background:#975045;color:#fff3e8;padding:clamp(7px,1.2vw,30px);justify-content:center;text-align:left}
.flex-title strong{font:400 clamp(14px,2.7vw,65px)/.93 Georgia,serif;letter-spacing:-.055em}
.flex-event:hover,.flex-event:focus-visible{filter:brightness(1.12);outline:2px solid #fff3e8;outline-offset:-2px;z-index:2}
@media(max-width:700px){.flex-mosaic{aspect-ratio:2048/1650}.flex-event{padding:3px}.flex-event strong{font-size:clamp(7px,1.8vw,16px)}.flex-title strong{font-size:clamp(10px,2.4vw,22px)}}
@media(prefers-reduced-motion:reduce){.flex-mosaic,.flex-tile,.flex-tile img{transition:none!important}}

/* V11 — uninterrupted brown title panel */
.flex-title-hero{background:#975045!important;justify-content:center;align-items:flex-start;padding:clamp(22px,4.4vw,90px)}
.flex-title-hero strong{font-size:clamp(36px,6.3vw,128px);max-width:9ch;line-height:.93;letter-spacing:-.065em}
@media(max-width:700px){.flex-title-hero{padding:clamp(8px,2.8vw,28px)}.flex-title-hero strong{font-size:clamp(18px,5vw,55px)}}
/* Cascading tile reveal: transform doesn't disturb grid tracks */
.flex-mosaic .flex-tile{opacity:0;transform:translate3d(0,22px,0);transition:opacity .72s cubic-bezier(.2,.7,.2,1),transform .72s cubic-bezier(.2,.7,.2,1),filter .35s ease;transition-delay:var(--reveal-delay,0ms)}
.flex-mosaic.is-revealed .flex-tile{opacity:1;transform:translate3d(0,0,0)}
/* Full-screen orange loading screen with stacking white tiles */
body.is-loading{overflow:hidden}
.site-preloader{position:fixed;inset:0;background:#ff5739;color:#fff3e8;display:grid;place-items:center;z-index:99999;transition:opacity .65s ease,visibility .65s ease}
.site-preloader.is-finished{opacity:0;visibility:hidden;pointer-events:none}
.preloader-inner{display:grid;justify-items:center;gap:30px}
.preloader-stack{width:126px;height:108px;position:relative}
.preloader-stack span{position:absolute;width:34px;height:34px;background:#fff3e8;opacity:0;animation:stack-tile 1.65s cubic-bezier(.2,.8,.2,1) infinite}
.preloader-stack span:nth-child(1){left:0;bottom:0;animation-delay:0s}
.preloader-stack span:nth-child(2){left:38px;bottom:0;animation-delay:.13s}
.preloader-stack span:nth-child(3){left:76px;bottom:0;animation-delay:.26s}
.preloader-stack span:nth-child(4){left:38px;bottom:38px;animation-delay:.39s}
.preloader-stack span:nth-child(5){left:76px;bottom:38px;animation-delay:.52s}
.preloader-stack span:nth-child(6){left:76px;bottom:76px;animation-delay:.65s}
.preloader-stack span:nth-child(7){left:0;bottom:38px;animation-delay:.78s}
@keyframes stack-tile{0%{opacity:0;transform:translateY(-42px)}23%,75%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(10px)}}
.preloader-percentage{font:700 clamp(50px,9vw,108px)/1 Arial,sans-serif;letter-spacing:-.07em;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.flex-mosaic .flex-tile{transition:none!important;transform:none!important}.preloader-stack span{animation:none;opacity:1}.site-preloader{transition:none}}

/* V12 — viewport-aware landscape mosaic and genuine portrait reflow */
@media (min-width: 801px) {
 .feature-mosaic-v10 {width:100%;} 
 .flex-mosaic {aspect-ratio:auto!important;height:clamp(380px, calc(100svh - 105px), 690px);max-height:690px;grid-template-columns:repeat(14,minmax(0,1fr));grid-template-rows:repeat(10,minmax(0,1fr));}
 .flex-title-hero strong{font-size:clamp(36px,min(5.4vw,8vh),105px)}
 .flex-event strong{font-size:clamp(11px,min(1.8vw,3vh),35px)}
}
@media (max-width: 800px) {
 .feature-mosaic-v10 {width:100%;overflow:visible;}
 .flex-mosaic {
  aspect-ratio:auto!important;height:auto!important;max-height:none!important;
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-rows:clamp(32px, 9.3vw, 60px);
  grid-auto-flow:row dense;gap:clamp(3px,.7vw,5px);
  transition:none;overflow:visible;
 }
 .flex-mosaic .flex-tile{grid-column:auto / span var(--portrait-cols,2)!important;grid-row:auto / span var(--portrait-rows,2)!important;}
 .flex-mosaic .flex-title-hero{grid-column:span 6!important;grid-row:span 4!important;padding:clamp(18px,6vw,44px);}
 .flex-title-hero strong{font-size:clamp(38px,9vw,76px)!important;max-width:12ch;}
 .flex-event{padding:clamp(6px,1.7vw,13px);align-items:end;}
 .flex-event strong{font-size:clamp(12px,3vw,25px)!important;line-height:1.03;}
 .flex-mosaic:has(.flex-tile:hover){grid-template-columns:repeat(6,minmax(0,1fr))!important;}
}
@media (max-width: 420px){
 .flex-mosaic{grid-auto-rows:9.7vw;}
 .flex-event strong{font-size:clamp(11px,3.2vw,16px)!important;}
}
@media (prefers-reduced-motion: reduce){.flex-mosaic{transition:none!important;}}

/* V17 — original V12 responsive geometry, flyer palette and readable event tiles */
.feature-mosaic-v10 .flex-title-hero,.feature-mosaic-v10 .flex-event{background:#975045!important;color:#fff!important;}
.feature-mosaic-v10 .flex-tile strong{color:#fff!important;}
.feature-mosaic-v10 .flex-event{padding:clamp(7px,1.1vw,22px);align-items:center;justify-content:center;text-align:center;}
.feature-mosaic-v10 .flex-event strong{display:block;max-width:100%;width:100%;font-family:Georgia,serif;font-weight:400;line-height:1.04;letter-spacing:-.045em;overflow-wrap:normal;word-break:normal;hyphens:none;}
@media(max-width:800px){.feature-mosaic-v10 .flex-event{padding:clamp(5px,1.3vw,12px)}.feature-mosaic-v10 .flex-event strong{font-size:14px!important;}}

/* V18 — custom Austen editorial typography and left-anchored event titles */
@font-face{font-family:"Austen";src:url("assets/fonts/Austen-Regular.otf") format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:"Austen";src:url("assets/fonts/Austen-Bold.otf") format("opentype");font-weight:700;font-display:swap}
@font-face{font-family:"Austen";src:url("assets/fonts/Austen-ExtraBold.ttf") format("truetype");font-weight:800;font-display:swap}
h1,h2,.feature-mosaic-v10 .flex-event strong,.feature-mosaic-v10 .flex-title-hero strong,.feature-text strong,.patch-type strong,.event-copy h2,.passport-dialog h2{font-family:"Austen",Georgia,serif!important}
.feature-mosaic-v10 .flex-event{align-items:center!important;justify-content:flex-start!important;text-align:left!important;padding:clamp(10px,1.5vw,30px)!important}
.feature-mosaic-v10 .flex-event strong{display:block!important;width:100%;max-width:100%;font-size:28px;line-height:.98!important;letter-spacing:-.035em!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:balance;text-shadow:none!important}
.feature-mosaic-v10 .flex-title-hero strong{font-family:"Austen",Georgia,serif!important}
@media(max-width:800px){.feature-mosaic-v10 .flex-event{padding:clamp(9px,2.2vw,18px)!important}.feature-mosaic-v10 .flex-event strong{font-size:24px!important}}
@media(max-width:420px){.feature-mosaic-v10 .flex-event{padding:clamp(6px,1.6vw,12px)!important}}

/* V19: prominent, left-anchored editorial headings */
.feature-mosaic-v10 .flex-event{align-items:center!important;justify-content:flex-start!important;text-align:left!important;padding:clamp(5px,.75vw,15px)!important}
.feature-mosaic-v10 .flex-event strong{display:block!important;flex:0 0 auto;width:max-content!important;max-width:none!important;line-height:.91!important;letter-spacing:-.045em!important;text-wrap:initial!important;white-space:normal!important;overflow:visible!important}
.feature-mosaic-v10 .flex-event .title-line{display:block;white-space:nowrap;line-height:.91}
@media(max-width:800px){.feature-mosaic-v10 .flex-event{padding:clamp(3px,.9vw,9px)!important}}


/* V21: Two views of the SAME mosaic. Default preserves V19 arrangement. */
.floating-nav .view-toggle{appearance:none;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;padding:inherit;cursor:pointer;border-radius:0;white-space:nowrap}
.floating-nav .view-toggle:focus-visible{outline:3px solid #20258f;outline-offset:3px}
body.chronological-view .feature-mosaic-v10{background:#fff;overflow:visible}
body.chronological-view #horizontalMosaic{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-rows:none!important;grid-auto-flow:row!important;
 grid-auto-rows:minmax(155px,auto)!important;
 gap:6px!important;aspect-ratio:auto!important;height:auto!important;
 max-height:none!important;overflow:visible!important;padding:6px!important;
 background:#fff!important;transition:none!important;
}
body.chronological-view #horizontalMosaic>.flex-tile:not(.flex-event){display:none!important}
body.chronological-view #horizontalMosaic>.flex-event{
 display:flex!important;grid-column:auto!important;grid-row:auto!important;
 width:100%!important;min-width:0!important;min-height:155px!important;
 height:auto!important;padding:clamp(18px,3vw,42px)!important;
 align-items:center!important;justify-content:flex-start!important;text-align:left!important;
 background:#975045!important;opacity:1!important;transform:none!important;
 transition:filter .25s ease!important;
}
body.chronological-view #horizontalMosaic>.flex-event strong{max-width:100%!important;width:auto!important}
body.chronological-view #horizontalMosaic>.flex-event[data-event="harvest"]{order:1}
body.chronological-view #horizontalMosaic>.flex-event[data-event="meal"]{order:2}
body.chronological-view #horizontalMosaic>.flex-event[data-event="thanksgiving"]{order:3}
body.chronological-view #horizontalMosaic>.flex-event[data-event="movie"]{order:4}
body.chronological-view #horizontalMosaic>.flex-event[data-event="relationship"]{order:5}
body.chronological-view #horizontalMosaic>.flex-event[data-event="volunteer"]{order:6}
body.chronological-view #horizontalMosaic>.flex-event[data-event="christmas"]{order:7}
body.chronological-view #horizontalMosaic>.flex-event[data-event="praise"]{order:8}
@media(max-width:700px){body.chronological-view #horizontalMosaic{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:minmax(140px,auto)!important}body.chronological-view #horizontalMosaic>.flex-event{min-height:140px!important}}
@media(max-width:540px){.floating-nav{max-width:calc(100vw - 16px)}.floating-nav .view-toggle{white-space:normal;line-height:1.2}}

/* V22 — maintain the hero title in list view; keep only events and section title */
body.chronological-view #horizontalMosaic>.flex-title-hero{
 display:flex!important;grid-column:1/-1!important;grid-row:auto!important;order:0!important;
 min-height:190px!important;height:auto!important;padding:clamp(24px,5vw,70px)!important;
 opacity:1!important;transform:none!important;background:#975045!important;
}
body.chronological-view #horizontalMosaic>.flex-title-hero strong{font-size:clamp(44px,7vw,105px)!important;max-width:100%!important;}
/* Prioritize event tiles above decorative pieces when a thin event is expanded */
body:not(.chronological-view) #horizontalMosaic>.flex-event{z-index:3;}
body:not(.chronological-view) #horizontalMosaic>.flex-color{z-index:1;}
@media(max-width:800px){body.chronological-view #horizontalMosaic>.flex-title-hero{grid-column:1/-1!important;min-height:160px!important}}

/* V23: precise gutters, no tile overlaps, and accessible view toggle */
.feature-mosaic-v10 .flex-mosaic{gap:6px;background:#fff;}
.feature-mosaic-v10 .flex-tile{border:0;outline:0;box-sizing:border-box;}
.feature-mosaic-v10 .flex-event strong{color:#fff;}
body.chronological-view #horizontalMosaic>.flex-title-hero{display:flex!important;grid-column:1/-1!important;grid-row:auto!important;order:0!important;}
body.chronological-view #horizontalMosaic>.flex-event{align-items:center!important;}
@media(max-width:800px){.feature-mosaic-v10 .flex-mosaic{gap:5px;}}


/* V25: actual HTML tiles arranged as THREE INDEPENDENT GRID BLOCKS */
:root{--m-brown:#975045;--m-orange:#ff633b;--m-cream:#f2dac8;--m-lavender:#c99bdd;--m-blue:#20258f}
.three-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding:0;background:white;box-sizing:border-box;align-items:stretch}
.mosaic-block{min-width:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(10,minmax(0,1fr));aspect-ratio:1.08;gap:0;background:var(--m-cream);overflow:hidden}
.block-tile{grid-column:var(--x)/span var(--w);grid-row:var(--y)/span var(--h);background:var(--bg);border:3px solid white;box-sizing:border-box;border-radius:0;min-width:0;min-height:0;overflow:hidden}
.block-heading,.block-event{color:white;display:flex;align-items:center;justify-content:flex-start;text-align:left;padding:clamp(8px,1.3vw,26px);font-family:'Austen',Georgia,serif;line-height:.9}
.block-heading strong{font-weight:400;font-size:clamp(28px,3.2vw,86px);line-height:.92;letter-spacing:-.055em}
.block-event{cursor:pointer;transition:filter .2s ease,background-color .2s ease;appearance:none;width:auto;height:auto}
.block-event strong{font-family:'Austen',Georgia,serif;display:block;font-weight:400;line-height:.94;letter-spacing:-.045em;color:white}
.block-event:hover{filter:brightness(1.09)}.block-event:focus-visible{outline:3px solid #20258f;outline-offset:-7px}
/* The original interactive HTML grid remains available exclusively for List View. */
body:not(.chronological-view) #horizontalMosaic{display:none!important}
body.chronological-view .three-blocks{display:none!important}
@media(max-width:850px),(orientation:portrait){.three-blocks{grid-template-columns:minmax(0,1fr);gap:0}.mosaic-block{aspect-ratio:1.06;min-height:0}.block-tile{border-width:3px}.block-heading strong{font-size:clamp(36px,8vw,86px)}.block-heading,.block-event{padding:clamp(8px,3vw,26px)}}
@media(min-width:851px) and (orientation:landscape){.mosaic-block{max-height:min(68vh,680px)}.three-blocks{max-height:min(68vh,680px)}}
@media(prefers-reduced-motion:no-preference){.three-blocks .block-tile{animation:tileFade .45s both;animation-delay:calc(var(--y)*65ms + var(--x)*13ms)}@keyframes tileFade{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.three-blocks .block-tile{animation:none!important;transition:none!important}}

/* V26 — exact geometric guides recreated as individually interactive HTML tiles */
.three-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fff;align-items:start;width:100%;max-height:none}
.three-blocks .precise-block{display:block;position:relative;aspect-ratio:1150/574;min-width:0;min-height:0;max-height:none!important;overflow:hidden;background:#fff}
.three-blocks .precise-tile{position:absolute;left:var(--left);top:var(--top);width:var(--width);height:var(--height);box-sizing:border-box;border:3px solid #fff;border-radius:0;grid-area:auto;min-width:0;min-height:0;overflow:hidden;background:var(--bg);margin:0}
.three-blocks .block-event,.three-blocks .block-heading{padding:clamp(4px,.7vw,18px);display:flex;align-items:center;justify-content:flex-start;text-align:left}
.three-blocks .block-event strong{font-family:'Austen',Georgia,serif;font-weight:400;line-height:.91;letter-spacing:-.045em;overflow-wrap:normal}
.three-blocks .block-heading strong{font-family:'Austen',Georgia,serif;font-size:clamp(20px,2.2vw,60px);line-height:.92;font-weight:400}
.three-blocks .block-event:hover{filter:brightness(1.08)}
@media (max-width:900px),(orientation:portrait){
 .three-blocks{grid-template-columns:minmax(0,1fr)}
 .three-blocks .precise-block{aspect-ratio:1150/574}
 .three-blocks .precise-tile{border-width:clamp(2px,.4vw,5px)}
 .three-blocks .block-heading strong{font-size:clamp(32px,5vw,82px)}
 .three-blocks .block-event,.three-blocks .block-heading{padding:clamp(5px,1.5vw,18px)}
}
@media(max-width:500px){.three-blocks .block-event,.three-blocks .block-heading{padding:3px}.three-blocks .precise-tile{border-width:2px}}

/* V27: consistent white dividing lines, with no margins between adjoining tiles */
.three-blocks .precise-block{isolation:isolate}
.three-blocks .precise-tile{border:0!important;outline:0!important;box-shadow:inset 0 0 0 3px #fff!important;transform:none;}
@media(max-width:500px){.three-blocks .precise-tile{box-shadow:inset 0 0 0 2px #fff!important}}

/* Family Passport points and event sharing */
.family-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0 22px}.family-points>div{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:13px 10px;background:#f5e3d4;color:#975045;border:1px solid #975045;border-radius:0}.family-points span{font-size:10px;letter-spacing:.07em;font-weight:700}.family-points strong{font-size:clamp(20px,3vw,32px);line-height:1}.family-points .family-total{grid-column:1/-1;background:#975045;color:white;flex-direction:row;justify-content:space-between;align-items:center;padding:16px}.family-total strong{font-size:clamp(24px,4vw,42px)}#shareEventButton{cursor:pointer}@media(max-width:450px){.family-points{grid-template-columns:1fr 1fr}.family-points>div:nth-child(3){grid-column:1/-1}}

/* V33 — larger, tightly tracked lowercase introductory title */
.intro{max-width:1120px}
.intro h1{font-size:clamp(58px,9.2vw,148px);letter-spacing:-.085em;line-height:.94;margin:20px 0 28px}
.intro h1 em{letter-spacing:inherit}
@media(max-width:600px){.intro h1{font-size:clamp(49px,11.4vw,82px);letter-spacing:-.078em}}

/* V34: official CFFC vector wordmark */
.topbar .wordmark{display:block;flex:0 1 auto;min-width:0}
.topbar .cffc-wordmark-image{display:block;width:clamp(220px,30vw,430px);height:auto;max-width:100%}
@media(max-width:700px){.topbar .cffc-wordmark-image{width:clamp(185px,60vw,300px)}}

/* V35 — scaled-down single-color CFFC wordmark, restrained brown intro heading */
.topbar .cffc-wordmark-image{width:clamp(143px,19.5vw,279.5px)!important}
@media(max-width:700px){.topbar .cffc-wordmark-image{width:clamp(120.25px,39vw,195px)!important}}
.intro h1{font-size:clamp(43.5px,6.9vw,111px)!important;color:#975045!important;font-style:normal!important;letter-spacing:-.085em!important}
.intro h1 em,.intro h1 i{color:inherit!important;font-style:normal!important}
@media(max-width:600px){.intro h1{font-size:clamp(36.75px,8.55vw,61.5px)!important}}
/* Remove any extra gap below the mosaic, leaving only the normal tile-edge divider. */
.feature-mosaic-v10{margin-bottom:0!important;padding-bottom:0!important;vertical-align:top}
.mosaic-carousel{margin-bottom:0!important;padding-bottom:0!important;font-size:0;line-height:0}
.mosaic-carousel>.three-blocks{margin-bottom:0!important;padding-bottom:0!important}
.mosaic-carousel .mosaic-scroll{font-size:initial;line-height:normal}
.feature-mosaic-v10+.below{margin-top:0!important}

/* V36 — brown and orange updates */
html,body{margin:0!important;padding-bottom:0!important}
body{background:#975045!important}
.intro h1{color:#975045!important}
.intro h1 em{color:#ff633b!important;font-style:italic!important;font-weight:400!important}
.intro .hint,.intro .hint span{color:#975045!important}
.below{background:#975045!important;border-top:3px solid #fff!important;margin-top:0!important}
.below .overline,.below h2,.below p{color:#fff!important}
.below h2 em{color:#ff633b!important;font-style:italic!important}
.below .text-button{color:#fff!important;border-bottom-color:#fff!important}
footer{background:#975045!important;color:#fff!important;border-top:3px solid #fff!important;margin:0!important;padding:34px 5% max(34px,env(safe-area-inset-bottom,0px))!important;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11px;line-height:1.7;letter-spacing:.035em}
footer .footer-brand{font-weight:800;max-width:260px}
footer .footer-contact{display:flex;flex-direction:column;gap:5px}
footer .footer-contact a{color:#fff!important;text-decoration:none}
footer .footer-contact a:hover{text-decoration:underline}
footer .footer-tagline{font-size:10px;letter-spacing:.1em;opacity:.9}
@media(max-width:700px){footer{flex-direction:column;gap:18px;padding:28px 7% max(28px,env(safe-area-inset-bottom,0px))!important}}

/* V37: restore the entire header and welcome section to white */
html body .topbar,html body .intro{background:#fff!important;}
html body main{background:#fff;}
html body .intro{color:#975045!important;}
html body .intro p{color:#975045!important;}
html body .intro .overline{color:#ff633b!important;}
html body .topbar .eyebrow{color:#975045!important;}
html body .intro h1{color:#975045!important;}
html body .intro h1 em{color:#ff633b!important;font-style:italic!important;}

/* V38: white uninterrupted header canvas; footer clearance for floating navigation */
html,html body{background:#fff!important}
html body header.topbar{background:#fff!important}
html body main{background:#fff!important}
html body .below,html body footer{background:#975045!important}
/* Desktop floating nav: 46px buttons + 20px vertical padding + border = 68px;
   bottom margin 20px; clearance = 68px + 2 * 20px = 108px. */
html body footer{padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))!important}
/* Mobile: 44px buttons + 14px vertical padding + border = 60px;
   bottom margin 12px; clearance = 60px + 2 * 12px = 84px. */
@media(max-width:700px){html body footer{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}}

/* V39 */
html body .intro p{color:#20258F!important}
html body .below .overline{color:#FF633B!important}
html body .below .text-button{color:#FF633B!important;border-color:#FF633B!important;border-bottom-color:#FF633B!important}
.event-actions .directions-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;text-align:center}

/* V40 — family dinner illustration hero, full-resolution asset */
html body .family-hero-v40{
  position:relative;isolation:isolate;overflow:hidden;width:100%;
  min-height:clamp(700px,54vw,920px);
  background-color:#fffaf3!important;
  background-image:url("assets/family-dinner-hero-4x.webp");
  background-repeat:no-repeat;background-size:cover;background-position:center bottom;
}
html body .family-hero-v40 .topbar{background:transparent!important;position:relative;z-index:2}
html body .family-hero-v40 .intro{background:transparent!important;position:relative;z-index:2;
 margin:clamp(55px,7vw,120px) auto 0!important;max-width:1120px}
/* Keep the copy above the illustrated figures, not over their faces. */
html body .family-hero-v40 .intro p{color:#20258f!important}
@media(max-width:900px){
 html body .family-hero-v40{min-height:clamp(660px,100vw,830px);background-size:auto 74%;background-position:center bottom}
 html body .family-hero-v40 .intro{margin:65px auto 0!important}
}
@media(max-width:600px){
 html body .family-hero-v40{min-height:690px;background-size:auto 48%;background-position:center bottom}
 html body .family-hero-v40 .intro{margin:60px auto 0!important;padding:0 16px}
 html body .family-hero-v40 .intro h1{font-size:clamp(38px,8.55vw,61.5px)!important}
}

/* V41 — portrait eggshell wall + staged hero welcome */
@media (orientation:portrait){
 html body .family-hero-v40{background-color:#fffaf3!important;}
 html body .family-hero-v40 header.topbar,
 html body .family-hero-v40 .intro{background-color:#fffaf3!important;}
 /* Hero artwork and header use the same warm wall color. */
}
.family-hero-v40 .intro h1 .welcome-title-first,
.family-hero-v40 .intro h1 .welcome-title-last{display:inline;}
body.is-loading .family-hero-v40 .welcome-reveal{opacity:0;transform:translateY(16px);filter:blur(3px)}
body.hero-ready .family-hero-v40 .welcome-reveal{
 animation:heroWarmReveal .85s cubic-bezier(.2,.7,.2,1) both;
 animation-delay:var(--welcome-delay,0ms);
}
.family-hero-v40 .welcome-eyebrow{--welcome-delay:100ms;display:inline-block}
.family-hero-v40 .welcome-title-first{--welcome-delay:350ms}
.family-hero-v40 .welcome-title-last{--welcome-delay:610ms}
.family-hero-v40 .welcome-description{--welcome-delay:900ms}
.family-hero-v40 .welcome-hint{--welcome-delay:1200ms}
@keyframes heroWarmReveal{
 from{opacity:0;transform:translateY(16px);filter:blur(3px)}
 to{opacity:1;transform:translateY(0);filter:blur(0)}
}
@media(prefers-reduced-motion:reduce){
 body.is-loading .family-hero-v40 .welcome-reveal{opacity:1;transform:none;filter:none}
 body.hero-ready .family-hero-v40 .welcome-reveal{animation:none!important}
}

/* V43: transparent welcome overlay; no opaque rectangular panel over artwork. */
html body .family-hero-v40{background-color:#fefaf3!important}
html body .family-hero-v40 header.topbar,
html body .family-hero-v40 .intro,
html body .family-hero-v40 .intro::before,
html body .family-hero-v40 .intro::after{background:transparent!important;background-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media (orientation:portrait){
 html body .family-hero-v40 header.topbar,html body .family-hero-v40 .intro{background:transparent!important;background-color:transparent!important}
}

/* V44: welcome badge at hero bottom, lifted hero copy, orange footer */
html body .family-hero-v40{position:relative;padding-bottom:58px!important}
html body .family-hero-v40 .intro{transform:translateY(-30px);}
html body .family-hero-v40 > .hint{position:absolute;bottom:0;left:0;right:0;z-index:5;margin:0!important;min-height:58px;background:#fff!important;color:#975045!important;display:flex;align-items:center;justify-content:center;gap:12px;padding:15px 20px;text-align:center;border:0;font-size:clamp(10px,1vw,13px);line-height:1.4;letter-spacing:.13em}
html body .family-hero-v40 > .hint span{color:#975045!important}
html body footer{background:#FF633B!important;color:#fff!important}
html body footer .footer-contact a{color:#fff!important}
footer .footer-address-row{display:flex;align-items:center;gap:9px;white-space:nowrap;max-width:100%}
footer .footer-pin{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:25px;height:25px;color:#fff}
footer .footer-pin:hover{transform:translateY(-2px)}
footer .footer-address-row span{white-space:nowrap}
@media(max-width:520px){footer .footer-address-row{white-space:normal}footer .footer-address-row span{white-space:normal}html body .family-hero-v40>.hint{min-height:62px}}

/* V45 — compact welcome badge, brand footer, unified logo */
html body .family-hero-v40{padding-bottom:0!important}
html body .family-hero-v40 > .hint{
 position:absolute!important;bottom:clamp(18px,3vw,42px)!important;left:50%!important;right:auto!important;
 width:max-content!important;max-width:calc(100vw - 30px)!important;min-height:0!important;
 transform:translateX(-50%)!important;margin:0!important;padding:15px 22px!important;
 background:#fff!important;color:#975045!important;border:0!important;box-shadow:0 5px 20px #30100a14;
 white-space:normal!important;letter-spacing:.12em;
}
/* Keep welcome reveal animation while centering the badge. */
body.is-loading .family-hero-v40>.hint{opacity:0!important;transform:translate(-50%,16px)!important}
body.hero-ready .family-hero-v40>.hint{animation:welcomeBadgeReveal .85s cubic-bezier(.2,.7,.2,1) 1.2s both!important}
@keyframes welcomeBadgeReveal{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}
footer .footer-brand{max-width:none!important;flex:0 0 auto}
footer .footer-we-are{display:block;width:clamp(90px,10vw,145px);height:auto;max-height:160px}
html body footer .footer-contact{min-width:0;flex:1 1 auto;align-items:center}
html body footer .footer-address-row{display:flex;flex-wrap:nowrap!important;white-space:nowrap!important;align-items:center;gap:7px;max-width:none!important}
html body footer .footer-address-row span{white-space:nowrap!important;font-size:clamp(8px,.9vw,12px);letter-spacing:0!important}
@media(max-width:700px){
 html body footer .footer-contact{align-items:flex-start}
 html body footer .footer-address-row span{font-size:clamp(7px,2.1vw,11px)}
 footer .footer-we-are{width:105px}
 html body .family-hero-v40>.hint{bottom:15px!important;padding:12px 15px!important;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){body.hero-ready .family-hero-v40>.hint{animation:none!important;opacity:1!important;transform:translateX(-50%)!important}}

/* V46 refinements */
html body .family-hero-v40>.hint{bottom:0!important;margin-bottom:0!important;}
@media(max-width:700px){html body .family-hero-v40>.hint{bottom:0!important;}}
footer .footer-we-are{width:clamp(59px,6.5vw,94px)!important;max-height:none!important;}
html body footer .footer-contact{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:clamp(8px,1.4vw,24px)!important;font-family:'Austen',Georgia,serif!important;white-space:nowrap!important;}
html body footer .footer-contact a,html body footer .footer-address-row span{font-family:'Austen',Georgia,serif!important;font-size:clamp(10px,1.1vw,17px)!important;letter-spacing:-.015em!important;white-space:nowrap!important;}
html body footer .footer-address-row{flex-wrap:nowrap!important;white-space:nowrap!important;flex:0 0 auto!important;}
@media(max-width:700px){html body footer .footer-contact{width:100%!important;justify-content:flex-start!important;gap:clamp(5px,1.1vw,12px)!important;}html body footer .footer-contact a,html body footer .footer-address-row span{font-size:clamp(8px,1.6vw,12px)!important;}html body footer .footer-address-row{gap:3px!important;}footer .footer-pin{width:14px;height:17px;}footer .footer-pin svg{width:13px;height:13px;}}
@media(max-width:440px){html body footer .footer-contact{overflow-x:auto!important;scrollbar-width:thin!important;}}

/* V47 — illustrated hero, flush divider, desktop 4x2 list, centered footer */
html body .family-hero-v40{border-bottom:3px solid #fff!important;box-sizing:border-box;}
@media(min-width:901px){
 body.chronological-view #horizontalMosaic{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:minmax(170px,auto)!important;}
 body.chronological-view #horizontalMosaic>.flex-title-hero{display:none!important;}
 body.chronological-view #horizontalMosaic>.flex-event{min-height:170px!important;padding:clamp(14px,2vw,32px)!important;}
 body.chronological-view #horizontalMosaic>.flex-event strong{font-size:clamp(21px,2.25vw,46px)!important;}
}
html body footer{position:relative!important;}
html body footer .footer-contact{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;flex:0 0 auto!important;width:max-content!important;max-width:calc(100% - 24px)!important;justify-content:center!important;text-align:center!important;}
html body footer .footer-we-are{width:clamp(41px,4.55vw,66px)!important;}
@media(max-width:1000px){
 html body footer{display:flex!important;flex-direction:column!important;align-items:center!important;gap:15px!important;}
 html body footer .footer-contact{position:static!important;transform:none!important;max-width:100%!important;justify-content:center!important;overflow-x:auto!important;}
 html body footer .footer-tagline{text-align:center!important;}
}
@media(max-width:700px){html body footer .footer-contact{justify-content:center!important;}}

/* V48 — supplied square-doorway artwork; footer contact aligned to the top row */
html body .below h2 em{color:#fff7f0!important;}
@media(min-width:1001px){
 html body footer{display:grid!important;grid-template-columns:minmax(90px,1fr) minmax(0,auto) minmax(160px,1fr)!important;align-items:start!important;justify-content:space-between!important;column-gap:clamp(15px,2vw,36px)!important;}
 html body footer .footer-brand{grid-column:1;grid-row:1;justify-self:start;}
 html body footer .footer-contact{grid-column:2;grid-row:1;position:static!important;left:auto!important;top:auto!important;transform:none!important;align-self:start!important;justify-self:center!important;flex:0 1 auto!important;max-width:none!important;margin:0!important;padding:0!important;line-height:1.7!important;}
 html body footer .footer-tagline{grid-column:3;grid-row:1;justify-self:end;text-align:right;}
}
@media(min-width:701px) and (max-width:1000px){
 html body footer{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:start!important;gap:12px!important;}
 html body footer .footer-contact{grid-column:2;grid-row:1;align-self:start!important;justify-self:center!important;position:static!important;transform:none!important;min-width:0!important;max-width:100%!important;gap:8px!important;}
 html body footer .footer-brand{grid-column:1;grid-row:1;}
 html body footer .footer-tagline{grid-column:3;grid-row:1;text-align:right!important;}
 html body footer .footer-contact a,html body footer .footer-address-row span{font-size:clamp(9px,1vw,13px)!important;}
}

/* V49 — mobile footer wordmark, welcome prompt placement, outlined list toggle */
footer .footer-mobile-name{display:none}
html body .floating-nav .view-toggle{background:transparent!important;color:#975045!important;border:1.5px solid #975045!important;box-shadow:none!important;}
html body .floating-nav .view-toggle:hover,html body .floating-nav .view-toggle:focus-visible{background:#fff7f0!important;color:#975045!important;border-color:#975045!important;}
@media(max-width:700px){
 html body footer .footer-brand .footer-we-are{display:none!important;}
 html body footer .footer-brand .footer-mobile-name{display:block!important;font-family:inherit;font-size:10px;font-weight:700;letter-spacing:.1em;line-height:1.4;color:inherit;opacity:.9;text-transform:uppercase;}
 html body footer .footer-brand{width:100%;text-align:center;justify-content:center!important;}
 html body .family-hero-v40 .intro{transform:translateY(-30px);}
 html body .family-hero-v40>.hint{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:max-content!important;max-width:calc(100% - 32px)!important;margin:-12px auto 0!important;padding:12px 15px!important;z-index:5;transform:none!important;}
 body.is-loading .family-hero-v40>.hint{opacity:0!important;transform:translateY(16px)!important;}
 body.hero-ready .family-hero-v40>.hint{animation:mobileWelcomeBadgeReveal .85s cubic-bezier(.2,.7,.2,1) 1.2s both!important;}
}
@keyframes mobileWelcomeBadgeReveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px) and (prefers-reduced-motion:reduce){body.hero-ready .family-hero-v40>.hint{animation:none!important;opacity:1!important;transform:none!important;}}

/* V50 — shorter mobile hero and shadow-free explore badge */
@media (max-width:700px){
 html body .family-hero-v40{min-height:calc(clamp(660px, 100vw, 830px) - 100px)!important;}
 html body .family-hero-v40>.hint{box-shadow:none!important;filter:none!important;}
}
@media (max-width:600px){
 html body .family-hero-v40{min-height:590px!important;}
}

/* V53: mobile prompt is text-only, no badge fill or shadow. */
@media (max-width:700px){
 html body .family-hero-v40 > .hint{background:transparent!important;background-color:transparent!important;box-shadow:none!important;filter:none!important;}
}

/* V54 — directional royal-blue event tile hover treatment */
.three-blocks .block-event{
  position:absolute;
  isolation:isolate;
  overflow:hidden;
  transition:none;
}
.three-blocks .block-event::before{
  content:"";
  position:absolute;
  inset:3px;
  background:#20258F;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .42s cubic-bezier(.2,.75,.2,1);
  z-index:0;
  pointer-events:none;
}
.three-blocks .block-event strong{
  position:relative;
  z-index:1;
  transition:padding-right .3s ease;
}
.three-blocks .block-event::after{
  content:"";
  position:absolute;
  right:clamp(7px,1.3vw,24px);
  top:50%;
  width:clamp(11px,1.4vw,21px);
  height:clamp(11px,1.4vw,21px);
  background:currentColor;
  color:#fff;
  clip-path:polygon(0 42%,65% 42%,45% 20%,55% 10%,100% 50%,55% 90%,45% 80%,65% 58%,0 58%);
  opacity:0;
  transform:translate(-8px,-50%);
  z-index:2;
  pointer-events:none;
  transition:opacity .22s ease,transform .3s ease;
}
@media (hover:hover) and (pointer:fine){
 .three-blocks .block-event:hover{filter:none!important}
 .three-blocks .block-event:hover::before{transform:scaleX(1)}
 .three-blocks .block-event:hover::after{opacity:1;transform:translate(0,-50%);animation:eventArrowPulse 1.25s ease-in-out infinite}
 .three-blocks .block-event:hover strong{padding-right:clamp(12px,2vw,30px)}
}
.three-blocks .block-event:focus-visible{filter:none!important;outline:3px solid #ff633b!important;outline-offset:-5px}
.three-blocks .block-event:focus-visible::before{transform:scaleX(1)}
.three-blocks .block-event:focus-visible::after{opacity:1;transform:translate(0,-50%);animation:eventArrowPulse 1.25s ease-in-out infinite}
@keyframes eventArrowPulse{0%,100%{opacity:.7;translate:0 0}50%{opacity:1;translate:4px 0}}
@media(prefers-reduced-motion:reduce){
 .three-blocks .block-event::before,.three-blocks .block-event::after,.three-blocks .block-event strong{transition:none!important;animation:none!important}
}

/* V55 — lower the hover arrow on both Thanksgiving event tiles only. */
.three-blocks .block-event[data-event="meal"]::after,
.three-blocks .block-event[data-event="thanksgiving"]::after{
  top:calc(50% + 18px);
}

/* V56 — hide event tile arrows on mobile; retain desktop hover arrows. */
@media (max-width:700px){
  .three-blocks .block-event::after,
  .three-blocks .block-event:hover::after,
  .three-blocks .block-event:focus-visible::after{
    content:none!important;
    display:none!important;
    animation:none!important;
  }
}

/* V57 — eliminate brown inset frame during the blue event-tile sweep. */
.three-blocks .block-event::before { inset:0; }
@media (hover:hover) and (pointer:fine) {
  .three-blocks .block-event:hover { border-color:transparent!important; box-shadow:none!important; }
}

/* V61 — genuine two-image parallax, preserving exact source-image registration */
html body .family-hero-v40{background-image:none!important;}
.family-parallax-stage{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;}
.family-parallax-scene{position:absolute;left:50%;bottom:0;width:2048px;height:958px;transform:translateX(-50%);transform-origin:bottom center;}
.family-parallax-scene img{position:absolute;display:block;max-width:none;user-select:none;pointer-events:none;will-change:transform;}
.family-parallax-scene .parallax-back{inset:0;width:100%;height:100%;object-fit:fill;transform:translate3d(var(--bg-x,0px),var(--bg-y,0px),0) scale(1.018);}
.family-parallax-scene .parallax-front{left:0;bottom:0;width:100%;height:auto;transform:translate3d(var(--fg-x,0px),var(--fg-y,0px),0);}
html body .family-hero-v40>.topbar,html body .family-hero-v40>.intro,html body .family-hero-v40>.hint{position:relative;z-index:2;}
@media(prefers-reduced-motion:reduce){.family-parallax-scene img{will-change:auto;}}

/* V63 — scroll-driven depth and perspective zoom */
.family-parallax-scene .parallax-front{transform-origin:50% 100%;transform:translate3d(var(--fg-x,0px),var(--fg-y,0px),0) scale(var(--fg-scale,.85));}
@media(prefers-reduced-motion:reduce){.family-parallax-scene .parallax-front{transform:translate3d(0,0,0) scale(1)!important;}.family-parallax-scene .parallax-back{transform:translate3d(0,0,0) scale(1.018)!important;}}

/* V64 — stationary room, scroll-zoom family anchored flush to the bottom. */
.family-parallax-scene .parallax-back{
  transform:none!important;
  will-change:auto;
}
.family-parallax-scene .parallax-front{
  bottom:-3px; /* tuck the cutout below the hero edge to avoid a hairline gap */
  transform-origin:50% 100%;
  transform:translate3d(0,0,0) scale(var(--fg-scale,.85));
}
@media(prefers-reduced-motion:reduce){
  .family-parallax-scene .parallax-front{transform:scale(.85)!important;}
}

/* V65 — true viewport-fixed background, scroll-only 90–100% foreground zoom. */
html body .family-hero-v40{
  background-image:url('assets/hero-bg.webp')!important;
  background-repeat:no-repeat!important;
  background-size:var(--fixed-bg-size,2048px 959px)!important;
  background-position:center var(--fixed-bg-y,0px)!important;
  background-attachment:fixed!important;
}
.family-parallax-scene .parallax-back{display:none!important;}
.family-parallax-scene .parallax-front{
  bottom:-3px;
  transform-origin:50% 100%;
  transform:translate3d(0,0,0) scale(var(--fg-scale,.90))!important;
}
@media(prefers-reduced-motion:reduce){
  .family-parallax-scene .parallax-front{transform:scale(.90)!important;}
}

/* V66 — background scrolls with hero and shrinks from 110% to 90%.
   Foreground remains bottom-anchored, with 90–100% scroll zoom. */
html body .family-hero-v40{
  background-image:none!important;
  background-attachment:scroll!important;
}
.family-parallax-scene .parallax-back{
  display:block!important;
  transform-origin:50% 100%;
  transform:scale(var(--bg-scale,1.10))!important;
  will-change:transform;
}
.family-parallax-scene .parallax-front{
  bottom:-3px;
  transform-origin:50% 100%;
  transform:scale(var(--fg-scale,.90))!important;
}
@media(prefers-reduced-motion:reduce){
  .family-parallax-scene .parallax-back{transform:scale(1)!important;}
  .family-parallax-scene .parallax-front{transform:scale(1)!important;}
}

/* V67 — preserve white event-tile borders throughout hover sweep. */
.three-blocks .block-event,
.three-blocks .block-event:hover,
.three-blocks .block-event:focus-visible {border-color:#fff!important;}
@media (hover:hover) and (pointer:fine){
 .three-blocks .block-event:hover{box-shadow:none!important;}
}

/* V69: reference-matched asymmetric mosaic loading mark */
.site-preloader{background:#ff5739!important;color:#fff!important}
.preloader-inner{gap:24px;justify-content:center;align-items:center}
.preloader-stack{position:relative;width:clamp(170px,25vw,270px);height:auto;aspect-ratio:1910/1202;overflow:hidden;isolation:isolate}
.preloader-stack span{position:absolute!important;left:var(--x)!important;top:var(--y)!important;bottom:auto!important;width:var(--w)!important;height:var(--h)!important;background:#fff!important;opacity:0;animation:loader-mosaic-drop 2.15s cubic-bezier(.22,1,.36,1) both!important;animation-delay:var(--delay)!important}
.preloader-stack span:nth-child(1){--x:0%;--y:0%;--w:37.5%;--h:24.8%;--delay:.05s}
.preloader-stack span:nth-child(2){--x:37.9%;--y:0%;--w:24.6%;--h:49.7%;--delay:.18s}
.preloader-stack span:nth-child(3){--x:62.9%;--y:0%;--w:24.6%;--h:24.8%;--delay:.31s}
.preloader-stack span:nth-child(4){--x:87.9%;--y:0%;--w:12.1%;--h:24.8%;--delay:.44s}
.preloader-stack span:nth-child(5){--x:0%;--y:25.2%;--w:37.5%;--h:74.8%;--delay:.57s}
.preloader-stack span:nth-child(6){--x:62.9%;--y:25.2%;--w:24.6%;--h:24.5%;--delay:.70s}
.preloader-stack span:nth-child(7){--x:87.9%;--y:25.2%;--w:12.1%;--h:24.5%;--delay:.83s}
.preloader-stack span:nth-child(8){--x:37.9%;--y:50.1%;--w:24.6%;--h:49.9%;--delay:.96s}
.preloader-stack span:nth-child(9){--x:62.9%;--y:50.1%;--w:12.1%;--h:16%;--delay:1.09s}
.preloader-stack span:nth-child(10){--x:75.4%;--y:50.1%;--w:24.6%;--h:16%;--delay:1.22s}
.preloader-stack span:nth-child(11){--x:62.9%;--y:66.5%;--w:37.1%;--h:33.5%;--delay:1.35s}
@keyframes loader-mosaic-drop{0%{opacity:0;transform:translate3d(0,-130%,0)}45%,100%{opacity:1;transform:translate3d(0,0,0)}}
.preloader-percentage{font-family:'DM Sans',Arial,sans-serif!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.19em!important;color:#fff!important;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.preloader-stack span{animation:none!important;opacity:1!important}}

/* V70: individual rigid blocks fall into place, starting with bottom row. */
.preloader-stack span{
  transform-origin:center center!important;
  animation-name:loader-rigid-fall!important;
  animation-duration:.78s!important;
  animation-timing-function:cubic-bezier(.18,.85,.3,1)!important;
  animation-fill-mode:both!important;
  animation-iteration-count:1!important;
}
/* Bottom row first, then middle, finally top; independent blocks never scale. */
.preloader-stack span:nth-child(11){animation-delay:.06s!important}
.preloader-stack span:nth-child(8){animation-delay:.18s!important}
.preloader-stack span:nth-child(5){animation-delay:.30s!important}
.preloader-stack span:nth-child(9){animation-delay:.42s!important}
.preloader-stack span:nth-child(10){animation-delay:.54s!important}
.preloader-stack span:nth-child(6){animation-delay:.66s!important}
.preloader-stack span:nth-child(7){animation-delay:.78s!important}
.preloader-stack span:nth-child(2){animation-delay:.90s!important}
.preloader-stack span:nth-child(1){animation-delay:1.02s!important}
.preloader-stack span:nth-child(3){animation-delay:1.14s!important}
.preloader-stack span:nth-child(4){animation-delay:1.26s!important}
@keyframes loader-rigid-fall{
  0%{opacity:1;transform:translate3d(0,-260px,0)}
  72%{opacity:1;transform:translate3d(0,4px,0)}
  100%{opacity:1;transform:translate3d(0,0,0)}
}
@media(prefers-reduced-motion:reduce){.preloader-stack span{animation:none!important;opacity:1!important;transform:none!important}}

/* V71 — increase white gutters between mosaic loader blocks ~4x.
   Keep each block rigid and preserve bottom-first falling animation. */
.preloader-stack span:nth-child(1){--x:0%;--y:0%;--w:36.3%;--h:23.6%}
.preloader-stack span:nth-child(2){--x:37.9%;--y:0%;--w:23.8%;--h:51.2%}
.preloader-stack span:nth-child(3){--x:63.3%;--y:0%;--w:23.8%;--h:23.6%}
.preloader-stack span:nth-child(4){--x:88.7%;--y:0%;--w:11.3%;--h:23.6%}
.preloader-stack span:nth-child(5){--x:0%;--y:25.2%;--w:36.3%;--h:74.8%}
.preloader-stack span:nth-child(6){--x:63.3%;--y:25.2%;--w:23.8%;--h:24.9%}
.preloader-stack span:nth-child(7){--x:88.7%;--y:25.2%;--w:11.3%;--h:24.9%}
.preloader-stack span:nth-child(8){--x:37.9%;--y:52.0%;--w:23.8%;--h:48%}
.preloader-stack span:nth-child(9){--x:63.3%;--y:52.0%;--w:11.1%;--h:14.4%}
.preloader-stack span:nth-child(10){--x:76%;--y:52.0%;--w:24%;--h:14.4%}
.preloader-stack span:nth-child(11){--x:63.3%;--y:68%;--w:36.7%;--h:32%}
/* Footer micro-positioning, without changing the surrounding layout. */
html body footer .footer-brand .footer-we-are{transform:translateY(-20px)!important}
html body footer .footer-tagline{transform:translateY(8px)!important}

/* V72 — exact 3px spacing at every internal edge, including small blocks.
   Grid tracks create a single shared gutter instead of independently rounded offsets. */
.preloader-stack{display:grid!important;grid-template-columns:3fr 2fr 1fr 1fr 1fr!important;grid-template-rows:3fr 3fr 2fr 4fr!important;gap:3px!important;overflow:hidden!important}
.preloader-stack span{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;align-self:stretch!important;justify-self:stretch!important}
.preloader-stack span:nth-child(1){grid-column:1;grid-row:1}
.preloader-stack span:nth-child(2){grid-column:2;grid-row:1 / 3}
.preloader-stack span:nth-child(3){grid-column:3 / 5;grid-row:1}
.preloader-stack span:nth-child(4){grid-column:5;grid-row:1}
.preloader-stack span:nth-child(5){grid-column:1;grid-row:2 / 5}
.preloader-stack span:nth-child(6){grid-column:3 / 5;grid-row:2}
.preloader-stack span:nth-child(7){grid-column:5;grid-row:2}
.preloader-stack span:nth-child(8){grid-column:2;grid-row:3 / 5}
.preloader-stack span:nth-child(9){grid-column:3;grid-row:3}
.preloader-stack span:nth-child(10){grid-column:4 / 6;grid-row:3}
.preloader-stack span:nth-child(11){grid-column:3 / 6;grid-row:4}

/* V73: Family Merge — preserve perfectly square 4×6 cells at all screen sizes. */
.merge-board{
  flex:0 0 auto!important;
  width:100%;
  height:auto!important;
  aspect-ratio:2 / 3;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(6,minmax(0,1fr));
  align-self:center;
}
.merge-cell,.merge-tile{aspect-ratio:1 / 1;min-width:0;min-height:0;}
.merge-view{aspect-ratio:auto!important;min-height:0;}

/* V75 — Family Merge is a standalone modal, not a replacement for the event mosaic. */
.game-overlay[hidden]{display:none!important}
.game-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:clamp(12px,3vh,28px);isolation:isolate}
.game-backdrop{position:absolute;inset:0;background:rgba(16,15,49,.78);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.game-overlay .merge-view{position:relative;z-index:1;width:min(620px,96vw);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 90px #0005;flex:none;aspect-ratio:auto!important;padding:clamp(14px,3vw,28px)}
.game-overlay .merge-board{width:min(100%,390px);margin:0 auto;box-shadow:none!important;flex:0 0 auto!important;aspect-ratio:2/3;height:auto!important}
.game-overlay .merge-top h2{text-transform:none!important;font-size:clamp(32px,5vw,62px)}
.game-overlay .merge-top h2 span{color:#965047!important}
.game-overlay .merge-top h2 em{color:#ff5739!important}
body.game-modal-open{overflow:hidden}
@media(max-width:650px){
.game-overlay{padding:0;align-items:stretch}
.game-overlay .merge-view{width:100vw;max-width:none;max-height:none;height:100dvh;min-height:100dvh;overflow-y:auto;padding:calc(15px + env(safe-area-inset-top,0px)) 12px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:none!important;gap:9px}
.game-overlay .merge-board{width:min(100%,calc((100dvh - 245px)*2/3),400px);max-width:100%;margin:auto;flex:0 0 auto!important;box-shadow:none!important}
.game-overlay .merge-top h2{font-size:clamp(29px,8vw,44px)}
}

/* V76: animated Threes-style family tiles */
.merge-board{isolation:isolate;overflow:hidden;}
.merge-fx-layer{position:absolute;inset:0;z-index:12;pointer-events:none;overflow:visible;}
.merge-flying{position:absolute!important;margin:0!important;animation:none!important;pointer-events:none;transform-origin:center center;z-index:2;}
.merge-arriving>.merge-tile{visibility:hidden!important;}
.merge-impact{animation:mergeImpact .36s cubic-bezier(.15,.9,.25,1.15)!important;z-index:3;}
.merge-spawn{animation:mergeSpawn .28s cubic-bezier(.15,.9,.3,1.2)!important;}
@keyframes mergeImpact{0%{transform:scale(.92)}42%{transform:scale(1.15)}72%{transform:scale(.97)}100%{transform:scale(1)}}
@keyframes mergeSpawn{0%{transform:translateY(-12px) scale(.8);opacity:0}60%{transform:translateY(2px) scale(1.03);opacity:1}100%{transform:translateY(0) scale(1);opacity:1}}
.merge-burst{position:absolute;inset:12%;border:3px solid #fff;z-index:8;pointer-events:none;animation:mergeRing .45s ease-out forwards;}
@keyframes mergeRing{0%{opacity:.9;transform:scale(.35)}100%{opacity:0;transform:scale(1.65)}}
.merge-spark{position:absolute;left:50%;top:50%;width:5px;height:5px;background:#ff633b;z-index:9;pointer-events:none;animation:mergeSpark .55s ease-out forwards;}
@keyframes mergeSpark{0%{opacity:1;transform:rotate(var(--angle)) translateX(5px)}100%{opacity:0;transform:rotate(var(--angle)) translateX(48px)}}
.merge-floating-score{position:absolute;left:50%;top:20%;transform:translateX(-50%);z-index:15;pointer-events:none;font-size:clamp(12px,2vw,22px);font-weight:900;color:#fff;text-shadow:0 2px 4px #191a67;white-space:nowrap;animation:mergeFloat .8s ease-out forwards;}
@keyframes mergeFloat{0%{opacity:0;transform:translate(-50%,5px) scale(.7)}25%{opacity:1}100%{opacity:0;transform:translate(-50%,-35px) scale(1)}}
.merge-score-pulse{animation:mergeScorePulse .3s ease-out;}
@keyframes mergeScorePulse{50%{transform:scale(1.14)}}
.merge-milestone{position:absolute;left:50%;bottom:100%;z-index:20;white-space:nowrap;pointer-events:none;padding:5px 9px;background:#ff633b;color:#fff;font-size:clamp(9px,1.5vw,13px);font-weight:900;text-transform:lowercase;box-shadow:0 3px 0 #965047;animation:mergeMilestone 1.5s ease-out forwards;}
@keyframes mergeMilestone{0%{opacity:0;transform:translate(-50%,15px) scale(.85)}20%{opacity:1;transform:translate(-50%,-8px) scale(1)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-22px)}}
.merge-board-celebrate{animation:mergeBoardBounce .35s ease-out;}
@keyframes mergeBoardBounce{50%{transform:scale(1.015)}}
@media(prefers-reduced-motion:reduce){.merge-impact,.merge-spawn,.merge-board-celebrate,.merge-score-pulse{animation:none!important}.merge-fx-layer,.merge-burst,.merge-spark,.merge-floating-score,.merge-milestone{display:none!important}}

/* V77 — a single-line game title spanning the entire blue-board width. */
.game-overlay .merge-top{position:relative;display:block;padding-top:clamp(42px,5vw,58px);width:100%;}
.game-overlay .merge-top>div{width:100%;min-width:0;}
.game-overlay .merge-top h2{display:block;white-space:nowrap;letter-spacing:-.065em;line-height:1.08;width:100%;font-size:clamp(27px,6vw,62px)!important;margin:8px 0 0;}
.game-overlay .merge-top h2 span,.game-overlay .merge-top h2 em{display:inline!important;white-space:nowrap;}
.game-overlay .merge-close{position:absolute;right:0;top:0;}
@media(max-width:650px){
 .game-overlay .merge-top{padding-top:42px;}
 .game-overlay .merge-top h2{font-size:clamp(25px,7.2vw,42px)!important;letter-spacing:-.07em;}
}

/* V78: reliable sharing dialog; desktop avoids native Web Share process failures. */
.share-overlay[hidden],.share-native[hidden]{display:none!important}
.share-overlay{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:18px}
.share-backdrop{position:absolute;inset:0;background:rgba(20,18,62,.78);backdrop-filter:blur(7px)}
.share-panel{position:relative;width:min(510px,100%);max-height:calc(100dvh - 30px);overflow-y:auto;background:#fff7f0;color:#975045;border:3px solid #fff;padding:clamp(20px,5vw,38px);box-shadow:0 20px 70px #0004}
.share-close{position:absolute;right:12px;top:7px;border:0;background:transparent;color:#191a67;font-size:36px;cursor:pointer}
.share-kicker{font-weight:800;letter-spacing:.15em;font-size:11px;margin:0 36px 16px 0}
.share-panel h2{font-size:clamp(32px,6vw,52px);line-height:1.05;font-weight:400;text-transform:lowercase;margin:0 0 16px;color:#975045}
.share-panel #shareStatus{font-size:14px;line-height:1.5;margin:0 0 20px}
.share-label{display:block;font-size:11px;font-weight:800;letter-spacing:.15em;margin-bottom:8px}
.share-panel #shareLink{box-sizing:border-box;width:100%;padding:12px 10px;border:2px solid #191a67;background:#fff;color:#191a67;font-size:13px;margin-bottom:12px}
.share-copy,.share-native{display:block;width:100%;padding:14px 12px;border:2px solid #191a67;background:#191a67;color:#fff;font-weight:800;cursor:pointer;margin-bottom:10px}
.share-native{background:#ff633b;border-color:#ff633b}
.share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.share-options a{display:block;text-align:center;text-decoration:none;padding:12px 4px;border:2px solid #191a67;color:#191a67;font-size:12px;font-weight:800}
.share-options a:hover{background:#191a67;color:white}
@media(max-width:600px){.share-overlay{padding:0}.share-panel{width:100%;height:100dvh;max-height:100dvh;border:0;padding:calc(42px + env(safe-area-inset-top,0px)) 22px 30px}}

/* V79 temporary numbered mosaic tiles — remove this section and badges when finished */
.mosaic-carousel .precise-tile.block-color{position:absolute;}
.mosaic-carousel .precise-tile .temporary-tile-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff!important;font-family:Arial,Helvetica,sans-serif;font-size:clamp(20px,3vw,52px);font-weight:800;line-height:1;z-index:5;pointer-events:none;text-shadow:0 1px 3px rgba(0,0,0,.18);}

/* V80: image fills numbered tile 3; never alter the mosaic tile geometry */
.mosaic-carousel .precise-tile.mosaic-image-tile{position:absolute;overflow:hidden;}
.mosaic-carousel .precise-tile.mosaic-image-tile>.mosaic-tile-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center;border:0;margin:0;padding:0;max-width:none;pointer-events:none;}

/* V81: temporary mosaic number labels at 15% opacity, including blue bars. */
.mosaic-carousel .precise-tile .temporary-tile-number{opacity:.15!important;text-shadow:none!important;}

/* V88: restore consistent three-pixel visual gutters without changing original tile geometry.
   Clip half the gutter from each adjacent tile, avoiding doubled borders or image scaling. */
.mosaic-carousel .three-blocks .precise-tile{border:0!important;box-shadow:none!important;clip-path:inset(1.5px)!important;}
.mosaic-carousel .three-blocks .precise-block{background:#fff!important;}
.mosaic-carousel .precise-tile.tile-31-svg{display:flex;align-items:center;justify-content:center;}
.mosaic-carousel .precise-tile.tile-31-svg>.tile-31-art{display:block;width:72%;height:72%;object-fit:contain;max-width:100%;pointer-events:none;}

/* V90 — desktop foreground grows 80% → 100%; mobile title forms two tight lines. */
.family-parallax-scene .parallax-front{transform:scale(var(--fg-scale,.80))!important;}
@media(max-width:700px){
  html body .family-hero-v40 .intro h1{
    font-size:clamp(44px,11.7vw,78px)!important;
    line-height:.84!important;
    letter-spacing:-.055em!important;
    text-align:center!important;
  }
  html body .family-hero-v40 .intro h1 .welcome-title-first{display:block!important;white-space:nowrap!important;}
  html body .family-hero-v40 .intro h1 .hero-title-connector{font-size:0!important;}
  html body .family-hero-v40 .intro h1 .hero-title-connector::after{content:'the season';font-size:0;}
  html body .family-hero-v40 .intro h1 .hero-title-season{display:none!important;}
  html body .family-hero-v40 .intro h1 .welcome-title-first::after{content:'the season';font-size:1em;}
  html body .family-hero-v40 .intro h1 .welcome-title-last{display:block!important;white-space:nowrap!important;margin-top:-.025em;}
  html body .family-hero-v40 .intro h1 .welcome-title-last::before{content:'of ';font-style:normal;}
}

/* V91 — updated family artwork; desktop cutout 30px lower. */
@media (min-width:701px){
  html body .family-parallax-scene .parallax-front{bottom:-33px!important;}
}
/* Restore the explore prompt to the actual bottom edge of the mobile hero. */
@media (max-width:700px){
  html body .family-hero-v40{position:relative!important;}
  html body .family-hero-v40>.hint{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:0!important;
    margin:0!important;
    width:max-content!important;
    max-width:calc(100% - 24px)!important;
    transform:translateX(-50%)!important;
    z-index:5!important;
  }
  body.hero-ready .family-hero-v40>.hint{
    animation:mobileHeroBottomPrompt .85s cubic-bezier(.2,.7,.2,1) 1.2s both!important;
  }
  body.is-loading .family-hero-v40>.hint{
    transform:translate(-50%,16px)!important;
  }
}
@keyframes mobileHeroBottomPrompt{
  from{opacity:0;transform:translate(-50%,16px)}
  to{opacity:1;transform:translate(-50%,0)}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
  body.hero-ready .family-hero-v40>.hint{animation:none!important;opacity:1!important;transform:translateX(-50%)!important;}
}

/* V92 — blue header navigation and restored white explore label */
html body .family-hero-v40 > header.topbar{
  background:#20258f!important;
  background-color:#20258f!important;
  border-top:3px solid #fff!important;
  max-width:none!important;
  width:100%;
}
html body .family-hero-v40 .topbar .eyebrow{
  color:#fff!important;
  display:inline-block!important;
}
html body .family-hero-v40 .topbar .cffc-wordmark-image{
  filter:brightness(0) invert(1)!important;
}
html body .family-hero-v40 > .hint{
  background:#fff!important;
  background-color:#fff!important;
  color:#20258f!important;
  display:block!important;
  width:max-content!important;
  max-width:calc(100% - 24px)!important;
  padding:11px 16px!important;
  border-radius:0!important;
  box-shadow:none!important;
}
@media(max-width:700px){
  html body .family-hero-v40 > .hint{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    bottom:0!important;
    top:auto!important;
    margin:0!important;
    transform:translateX(-50%)!important;
    white-space:nowrap!important;
  }
  body.hero-ready .family-hero-v40 > .hint{
    animation:none!important;
    opacity:1!important;
    transform:translateX(-50%)!important;
  }
  body.is-loading .family-hero-v40 > .hint{opacity:0!important;}
}

/* V93: mobile two-line headline, brown prompt and geometric view icons */
html body .family-hero-v40 > .hint,html body .family-hero-v40 > .hint span{color:#975045!important;}
.floating-nav .view-toggle .view-icon{display:inline-grid;vertical-align:middle;margin-right:7px;width:15px;height:15px;flex:none;}
.floating-nav .view-toggle .view-icon-list{grid-template-rows:repeat(3,3px);align-content:space-between;}
.floating-nav .view-toggle .view-icon-list i{display:block;width:100%;height:3px;background:currentColor;border-radius:0;}
.floating-nav .view-toggle .view-icon-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:3px;}
.floating-nav .view-toggle .view-icon-grid i{display:block;background:currentColor;}
@media(max-width:700px){
 html body .family-hero-v40 .intro h1 .welcome-title-first::after{content:'season of'!important;}
 html body .family-hero-v40 .intro h1 .welcome-title-last::before{content:'the '!important;font-style:normal;}
 html body .family-hero-v40 .intro h1 .welcome-title-last{margin-top:-.025em!important;}
}

/* V94: migrate the experience section into the large brown mosaic title tile. */
.three-blocks .precise-tile.block-heading{container-type:size;align-items:stretch!important;justify-content:flex-start!important;padding:0!important;}
.tile-experience-content{width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden;padding:clamp(8px,7cqw,24px);gap:clamp(5px,3cqh,16px);color:#fff7f0;text-align:left;}
.tile-experience-kicker{font-family:Arial,Helvetica,sans-serif;font-size:clamp(7px,5cqw,12px);font-weight:800;letter-spacing:.13em;line-height:1.2;color:#ff633b;}
.tile-experience-content h2{font-family:'Austen',Georgia,serif;font-size:clamp(19px,16cqw,55px);line-height:.95;font-weight:400;letter-spacing:-.055em;margin:0;color:#fff7f0;}
.tile-experience-content h2 em{color:#fff7f0;font-weight:400;}
.tile-experience-rule{display:block;width:100%;height:1px;flex:none;background:#fff7f0;opacity:.7;}
.tile-experience-content p{font-family:Arial,Helvetica,sans-serif;font-size:clamp(8px,5.6cqw,14px);line-height:1.45;letter-spacing:0;margin:0;color:#fff7f0;}
.tile-experience-passport{font-family:Arial,Helvetica,sans-serif;background:transparent;border:0;border-bottom:1px solid #ff633b;border-radius:0;padding:0 0 3px;color:#ff633b;font-size:clamp(7px,5.1cqw,13px);font-weight:800;letter-spacing:.045em;line-height:1.3;cursor:pointer;text-align:left;}
.tile-experience-passport:hover,.tile-experience-passport:focus-visible{color:#fff7f0;border-bottom-color:#fff7f0;}
@media(max-width:850px),(orientation:portrait){.tile-experience-content{padding:clamp(8px,6cqw,25px);gap:clamp(4px,2.5cqh,16px);}}

/* V95 — keep the desktop companion guide label, hide it only on mobile. */
@media (max-width:700px){html body .family-hero-v40 .topbar .top-actions .eyebrow{display:none!important;} }

/* V97: Movie Night illustration as one self-contained floating image. */
.event-illustration.movie-art-mode{background:#cf9cf0!important;overflow:hidden!important;isolation:isolate;}
.event-illustration.movie-art-mode::before{display:none!important;}
.event-illustration.movie-art-mode .event-sparks{display:none!important;}
.event-illustration.movie-art-mode .event-emoji{display:none!important;}
.event-static-art[hidden]{display:none!important;}
.event-illustration.movie-art-mode .event-static-art{display:block!important;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;box-sizing:border-box;padding:18px 12px;animation:movieFloat 5.5s ease-in-out infinite;transform-origin:center center;will-change:transform;}
@keyframes movieFloat{0%,100%{transform:translate3d(0,-5px,0)}50%{transform:translate3d(0,5px,0)}}
@media(max-width:700px){.event-illustration.movie-art-mode{min-height:250px;}}
@media(prefers-reduced-motion:reduce){.event-illustration.movie-art-mode .event-static-art{animation:none!important;transform:none!important;}}

/* V98: full-bleed Movie Night art; 105% vertical fill with hidden bounce overscan. */
.event-illustration.movie-art-mode{overflow:hidden!important;background:#cf9cf0!important;}
.event-illustration.movie-art-mode .event-static-art{
  inset:auto!important;left:50%!important;top:50%!important;
  width:105%!important;height:105%!important;max-width:none!important;
  padding:0!important;box-sizing:border-box!important;
  object-fit:cover!important;object-position:center center!important;
  animation:movieFloatFullBleed 6s ease-in-out infinite!important;
}
@keyframes movieFloatFullBleed{
  0%,100%{transform:translate3d(-50%,calc(-50% - 0.6%),0)}
  50%{transform:translate3d(-50%,calc(-50% + 0.6%),0)}
}
@media(prefers-reduced-motion:reduce){.event-illustration.movie-art-mode .event-static-art{animation:none!important;transform:translate(-50%,-50%)!important;}}

/* V99: 40%-opacity white SVG halftone circle, layered behind Movie Night artwork. */
.event-illustration.movie-art-mode::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  background:url('assets/halftone-white-dots.svg') center center / min(115%, 660px) auto no-repeat!important;
  opacity:.4!important;
  animation:none!important;
  transform:none!important;
  pointer-events:none!important;
  z-index:0!important;
}
.event-illustration.movie-art-mode .event-static-art{z-index:1!important;}

/* V101: All eight custom event artworks, per-event background and bounded float. */
.event-illustration.movie-art-mode{background:var(--event-art-bg,#cf9cf0)!important;}
.event-illustration.movie-art-mode .event-static-art{object-fit:cover!important;}

/* V102 refinements */
#shareEventButton{display:none!important}
.tile-experience-content p{border-bottom:0!important;padding-bottom:0!important}
.tile-experience-passport{border-top:0!important}
.temporary-tile-number{display:none!important}

/* V103 — remove illustrated hero and replace with the supplied blue masthead */
.season-site-header{box-sizing:border-box;width:100%;min-height:220px;background:#24298b;color:#fff;display:flex;align-items:center;gap:clamp(25px,3.8vw,56px);padding:20px clamp(24px,5.5vw,85px);border:0;overflow:hidden}
.season-site-brand{width:clamp(250px,30vw,385px);flex:0 0 auto;display:flex;align-items:center}
.season-site-brand img{width:100%;max-height:160px;display:block;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}
.season-header-divider{display:block;width:7px;height:202px;max-height:calc(100% - 20px);background:#fff;flex:0 0 7px}
.season-site-title{font-family:'Austen',Georgia,serif;font-size:clamp(38px,4.1vw,69px);font-weight:400;line-height:1.02;letter-spacing:-.035em;white-space:nowrap;color:#fff}
@media(max-width:850px){.season-site-header{min-height:145px;padding:18px 24px;gap:22px}.season-site-brand{width:35%;min-width:150px}.season-header-divider{height:110px;width:4px;flex-basis:4px}.season-site-title{font-size:clamp(25px,4.7vw,43px);white-space:normal}}
@media(max-width:520px){.season-site-header{min-height:112px;padding:15px 15px;gap:12px}.season-site-brand{width:42%;min-width:0}.season-header-divider{height:78px;width:3px;flex-basis:3px}.season-site-title{font-size:clamp(21px,5.4vw,29px);line-height:1.05}}

/* V104 — compact masthead, restored guide subtitle */
html body .season-site-header{height:145px;max-height:145px;min-height:0;padding-top:10px;padding-bottom:10px;gap:clamp(14px,3vw,42px)}
html body .season-site-brand{width:clamp(190px,27vw,350px)}
html body .season-site-brand img{max-height:120px}
html body .season-header-divider{height:115px;max-height:115px;width:5px;flex-basis:5px}
.season-site-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;min-width:0}
html body .season-site-title{font-size:clamp(30px,3.7vw,60px);line-height:1;white-space:nowrap}
.season-site-subtitle{font-family:Arial,Helvetica,sans-serif;font-size:clamp(9px,1vw,13px);font-weight:700;letter-spacing:.15em;color:white;line-height:1.3}
@media(max-width:850px){html body .season-site-header{height:125px;max-height:145px;padding:10px 20px;gap:16px}html body .season-site-brand{width:35%;min-width:130px}html body .season-header-divider{height:100px;max-height:100px;width:4px;flex-basis:4px}html body .season-site-title{font-size:clamp(23px,4vw,38px);white-space:normal}.season-site-subtitle{font-size:9px;letter-spacing:.09em}}
@media(max-width:520px){html body .season-site-header{height:105px;padding:9px 12px;gap:10px}html body .season-site-brand{width:40%;min-width:0}html body .season-header-divider{height:82px;max-height:82px;width:3px;flex-basis:3px}html body .season-site-title{font-size:clamp(19px,5vw,27px)}.season-site-heading{gap:5px}.season-site-subtitle{font-size:7px;letter-spacing:.04em}}

/* V105: balanced brand/divider/title spacing; right-anchored guide */
html body .season-site-header{display:flex;align-items:center;gap:clamp(14px,2vw,28px);padding-left:clamp(16px,3vw,45px);padding-right:clamp(16px,3vw,45px);height:145px;max-height:145px}
html body .season-site-brand{width:clamp(185px,23vw,310px);flex:0 0 clamp(185px,23vw,310px)}
html body .season-site-brand img{width:100%;max-height:115px}
html body .season-header-divider{flex:0 0 4px;width:4px;height:112px;max-height:112px}
html body .season-site-heading{flex:0 1 auto;min-width:0}
html body .season-site-title{font-size:clamp(27px,3.15vw,54px);white-space:nowrap}
html body .season-site-subtitle{display:block;margin-left:auto;text-align:right;flex:0 1 275px;max-width:275px;font-size:clamp(9px,.85vw,12px);line-height:1.5;letter-spacing:.12em;color:white}
@media(max-width:1100px){html body .season-site-brand{width:clamp(150px,20vw,240px);flex-basis:clamp(150px,20vw,240px)}html body .season-site-title{font-size:clamp(24px,3vw,38px)}html body .season-site-subtitle{max-width:185px;font-size:9px}}
@media(max-width:850px){html body .season-site-header{height:125px;gap:clamp(10px,2vw,18px)}html body .season-site-brand{width:clamp(120px,26vw,210px);flex-basis:clamp(120px,26vw,210px);min-width:0}html body .season-header-divider{height:95px;max-height:95px}html body .season-site-title{font-size:clamp(23px,3.8vw,33px);white-space:normal}html body .season-site-subtitle{display:none}}
@media(max-width:520px){html body .season-site-header{height:105px;padding:9px 12px;gap:10px}html body .season-site-brand{width:40%;flex-basis:40%;min-width:0}html body .season-header-divider{height:82px;max-height:82px;width:3px;flex-basis:3px}html body .season-site-title{font-size:clamp(19px,5vw,27px)}html body .season-site-subtitle{display:none}}

/* V106 — Blue digital passport and animated collectible art stamps */
#passportOverlay .passport-dialog{background:#20258f!important;color:#fff!important;}
#passportOverlay .passport-dialog h2,#passportOverlay .passport-dialog h2 em,#passportOverlay .passport-dialog>p,#passportOverlay .passport-dialog .overline,#passportOverlay .progress-label,#passportOverlay .completion{color:#fff!important;}
#passportOverlay .passport-dialog .overline{opacity:.85;}
#passportOverlay .progress{background:rgba(255,255,255,.23);}
#passportOverlay .progress>div{background:#ff633b;}
#passportOverlay .family-points{grid-template-columns:repeat(2,minmax(0,1fr));}
#passportOverlay .family-points>div{border:0!important;border-radius:0!important;color:#fff!important;}
#passportOverlay .family-points>div:first-child{background:#ab83d0!important;}
#passportOverlay .family-points>div:nth-child(2){background:#ff633b!important;}
#passportOverlay .family-points .family-total{grid-column:1/-1;background:#975045!important;}
#passportOverlay .stamp{border:1px dashed rgba(255,255,255,.45);background:#353a9c;color:#fff;opacity:.8;}
#passportOverlay .stamp.collected.stamp-art{position:relative;display:block;overflow:hidden;isolation:isolate;opacity:1;border:0!important;box-shadow:none!important;transform:none!important;background:var(--stamp-bg)!important;padding:0!important;}
#passportOverlay .stamp.collected.stamp-art::before{content:'';position:absolute;inset:0;background:url('assets/halftone-white-dots.svg') center center / min(115%,660px) auto no-repeat;opacity:.4;z-index:0;pointer-events:none;}
#passportOverlay .stamp.collected.stamp-art img{position:absolute;left:50%;top:50%;width:105%;height:105%;max-width:none;object-fit:cover;object-position:center;animation:passportArtFloat 6s ease-in-out infinite;z-index:1;}
@keyframes passportArtFloat{0%,100%{transform:translate3d(-50%,calc(-50% - .6%),0)}50%{transform:translate3d(-50%,calc(-50% + .6%),0)}}
#passportOverlay .reset{color:#fff;opacity:.8;}
#passportOverlay .stamp-name{color:#fff;}
@media(prefers-reduced-motion:reduce){#passportOverlay .stamp.collected.stamp-art img{animation:none;transform:translate(-50%,-50%);}}

/* V107 — six-by-six Family Merge board and orange game dialog */
.game-overlay .merge-view{background:#ff5739;color:#fff;}
.game-overlay .merge-view::before{opacity:.13;background-image:radial-gradient(#fff 1px,transparent 1px);}
.game-overlay .merge-board{aspect-ratio:1 / 1!important;width:min(100%,480px);grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(6,minmax(0,1fr))!important;}
.game-overlay .merge-top h2,.game-overlay .merge-top h2 span,.game-overlay .merge-top h2 em,.game-overlay .merge-kicker,.game-overlay .merge-bottom,.game-overlay .merge-bottom p,.game-overlay .merge-bottom .merge-note{color:#fff!important;}
.game-overlay .merge-close{border-color:#fff;color:#fff;}
.game-overlay .merge-close:hover{background:#fff;color:#20258f;}
.game-overlay .merge-status>div{background:#965047;color:#fff;}
.game-overlay .merge-status button{background:#20258f;color:#fff;}
.game-overlay .merge-status button:hover{background:#191a67;}
.game-overlay .merge-result-card{color:#191a67;}
@media(max-width:650px){.game-overlay .merge-board{width:min(100%,calc(100dvh - 245px),480px)!important;}.game-overlay .merge-tile .tile-label{font-size:clamp(5px,1.4vw,9px)!important;}}
/* Logo art must be pure white in mosaic and footer. */
.mosaic-carousel .tile-31-art,footer .footer-we-are{filter:brightness(0) invert(1);}

/* V108 — Family Merge text accents and lavender best score */
.game-overlay .merge-bottom .merge-legend{color:#20258f!important;}
.game-overlay .merge-bottom .merge-note{color:#965047!important;}
.game-overlay .merge-status>div:nth-child(2){background:#8387dc;color:#fff;border:0;}

/* V109 — Home mosaic-inspired unified white grid framing for Family Merge */
.game-overlay .merge-play-frame{position:relative;z-index:1;display:flex;flex-direction:column;gap:3px;background:#fff;border:3px solid #fff;width:min(100%,480px);max-width:100%;margin:0 auto;flex:0 0 auto;box-sizing:border-box;}
.game-overlay .merge-play-frame .merge-status{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.75fr);gap:3px;width:100%;min-width:0;background:#fff;align-items:stretch;}
.game-overlay .merge-play-frame .merge-status>div,.game-overlay .merge-play-frame .merge-status>button{min-width:0;margin:0;border:0;border-radius:0;padding:clamp(7px,1.4vw,12px);display:flex;align-items:center;justify-content:space-between;gap:5px;}
.game-overlay .merge-play-frame .merge-status strong{font-size:clamp(17px,2.7vw,30px);white-space:nowrap;}
.game-overlay .merge-play-frame .merge-status span{font-size:clamp(8px,1vw,12px);}
.game-overlay .merge-play-frame .merge-status button{font-size:clamp(8px,1vw,12px);text-align:center;justify-content:center;}
.game-overlay .merge-play-frame .merge-board{width:100%!important;max-width:none!important;margin:0!important;box-shadow:none!important;align-self:stretch;aspect-ratio:1 / 1!important;}
.game-overlay .merge-bottom .merge-note{color:#fff!important;}
@media(max-width:650px){.game-overlay .merge-play-frame{width:min(100%,calc(100dvh - 245px),480px)}.game-overlay .merge-play-frame .merge-status>div,.game-overlay .merge-play-frame .merge-status>button{padding:7px 5px;}.game-overlay .merge-play-frame .merge-status strong{font-size:clamp(14px,4vw,23px)}.game-overlay .merge-play-frame .merge-status span,.game-overlay .merge-play-frame .merge-status button{font-size:clamp(7px,2vw,10px)}}

/* v111: refreshed family portrait artwork, no label overlay obscuring the illustrations */
.merge-tile .tile-label{display:none!important}
.merge-tile .tile-portrait{inset:0!important;width:100%!important;height:100%!important;display:block!important}
.merge-tile .tile-portrait img{width:100%!important;height:100%!important;object-fit:cover!important}
.merge-tile{overflow:hidden!important}

/* V112: Baby-compatible tiles share an unmistakable royal-blue backdrop.
   The inset illustration preserves the artwork while revealing the blue field. */
.game-overlay .merge-tile.baby-compatible{background:#1522df!important;padding:6px!important;box-sizing:border-box!important;}
.game-overlay .merge-tile.baby-compatible .tile-portrait{width:100%!important;height:100%!important;box-shadow:none!important;}
.game-overlay .merge-tile.baby-compatible .tile-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;}
@media(max-width:650px){.game-overlay .merge-tile.baby-compatible{padding:3px!important;}}

/* V113 — centered game title and clearly identified baby merges */
.game-overlay .merge-top h2{text-align:center!important;}
.game-overlay .merge-tile.baby-compatible{background:#1522df!important;padding:0!important;outline:3px solid #fff!important;outline-offset:-3px!important;border:0!important;}
.game-overlay .merge-tile.baby-compatible .tile-portrait{width:calc(100% - 6px)!important;height:calc(100% - 6px)!important;margin:3px!important;}
.game-overlay .merge-baby-guide{color:#fff!important;line-height:1.5;max-width:750px;margin:12px auto!important;text-align:center;}
.game-overlay .merge-baby-guide strong{color:#191a67;background:#fff;padding:2px 6px;margin-right:5px;}
@media(max-width:650px){.game-overlay .merge-tile.baby-compatible{outline-width:2px!important;outline-offset:-2px!important}.game-overlay .merge-tile.baby-compatible .tile-portrait{width:calc(100% - 4px)!important;height:calc(100% - 4px)!important;margin:2px!important}}

/* V114 baby merge visual explainer */
.merge-baby-example{margin:18px auto 22px;max-width:690px;padding:18px 16px 14px;background:#20258f;color:white;text-align:center}
.merge-example-label{display:block;font-size:12px;font-weight:800;letter-spacing:.13em;margin-bottom:15px;color:white}
.merge-example-row{display:flex;align-items:center;justify-content:center;gap:clamp(7px,2vw,20px)}
.merge-example-tile{margin:0;width:min(25%,145px);min-width:0;position:relative}
.merge-example-tile img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border:3px solid white;box-sizing:border-box;background:#1522df}
.merge-example-tile figcaption{font-weight:800;font-size:clamp(9px,1.3vw,13px);margin-top:8px;color:#fff;line-height:1.2}
.merge-example-operator{font-size:clamp(18px,4vw,36px);font-weight:900;color:#fff;flex-shrink:0}
.merge-baby-example p{font-size:clamp(12px,1.5vw,15px);line-height:1.5;margin:15px 0 0;color:#fff}
@media(max-width:520px){.merge-baby-example{padding:14px 9px}.merge-example-row{gap:6px}.merge-example-tile{width:27%}.merge-example-tile img{border-width:2px}.merge-example-tile figcaption{font-size:9px}}

/* V115 — masthead divider and Family Merge homepage illustration */
html body .season-site-header{border-bottom:5px solid #fff!important;}
.below-family-art{margin-top:28px;width:min(260px,100%);aspect-ratio:1;overflow:hidden;border:5px solid #fff;box-sizing:border-box;}
.below-family-art img{display:block;width:100%;height:100%;object-fit:cover;}
@media(max-width:700px){.below-family-art{width:min(220px,65vw);margin-top:24px;}}

/* V116 — footer home screen install */
.footer-install{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;margin:16px auto;max-width:440px;color:#fff}.footer-install-button{background:#fff;color:#20258f;border:2px solid #fff;border-radius:0;padding:12px 20px;font:700 13px/1.2 inherit;letter-spacing:.08em;cursor:pointer;font-family:inherit;font-weight:800}.footer-install-button:hover,.footer-install-button:focus-visible{background:#f8a269;color:#20258f}.footer-install-hint{margin:0;font-size:12px;line-height:1.5}.footer-install-instructions{background:#fff;color:#20258f;padding:14px 18px;line-height:1.55;font-size:14px;text-align:left;width:100%;box-sizing:border-box}.footer-install-instructions[hidden]{display:none!important}

/* V117 footer copyright */
.footer-copyright{margin-top:12px;text-align:center;font-size:12px;letter-spacing:.045em;line-height:1.5;color:inherit;opacity:.9;padding-bottom:4px}

/* V118: install button joins floating nav; copyright directly under contact */
.floating-nav{position:fixed;}
.floating-nav .nav-install-button{font:inherit;font-size:clamp(10px,1vw,13px);font-weight:800;letter-spacing:.035em;background:#20258f;color:white;border:0;padding:12px 14px;cursor:pointer;white-space:nowrap;}
.floating-nav .nav-install-button:hover,.floating-nav .nav-install-button:focus-visible{background:#975045;color:#fff;}
.floating-nav .nav-install-instructions{position:absolute;bottom:calc(100% + 12px);right:0;max-width:min(400px,90vw);width:max-content;box-sizing:border-box;padding:16px 18px;background:#fff;color:#20258f;box-shadow:0 8px 25px #0003;font-size:14px;line-height:1.55;text-align:left;z-index:1000;}
.floating-nav .nav-install-instructions[hidden]{display:none!important;}
html body footer .footer-contact .footer-copyright{margin-top:10px!important;padding:0!important;font-size:12px!important;line-height:1.4!important;letter-spacing:.02em;text-align:center!important;opacity:.9;white-space:normal;}
@media(max-width:620px){.floating-nav .nav-install-button{font-size:10px;padding:9px 7px;white-space:normal;line-height:1.15;max-width:105px;}.floating-nav .nav-install-instructions{right:0;}}

/* V120 — image beneath the game promo heading, copyright beneath footer tagline */
html body .below > div:first-child .below-family-art{margin-top:28px;width:min(260px,100%);}
html body footer .footer-tagline{display:flex!important;flex-direction:column!important;align-items:flex-end!important;text-align:right!important;gap:10px!important;}
html body footer .footer-tagline .footer-copyright{font-family:'Austen',Georgia,serif!important;font-size:clamp(12px,1vw,15px)!important;font-weight:400!important;letter-spacing:0!important;line-height:1.35!important;margin:0!important;padding:0!important;opacity:1!important;text-align:right!important;white-space:normal!important;}
@media(max-width:700px){html body footer .footer-tagline{align-items:center!important;text-align:center!important;}html body footer .footer-tagline .footer-copyright{text-align:center!important;}}

/* V121 mobile icon navigation and story tile cleanup */
.nav-mobile-icon{display:none;width:24px;height:24px;flex:0 0 24px;vertical-align:middle}
svg.nav-inline-arrow{width:1em;height:1em;vertical-align:-.15em;display:inline-block;margin-left:.3em}
@media(max-width:700px){
 .floating-nav{gap:6px;padding:7px;justify-content:space-between}
 .floating-nav button,.floating-nav .nav-install-button{min-width:47px;max-width:none;padding:10px!important;display:inline-flex;align-items:center;justify-content:center;min-height:46px}
 .floating-nav .nav-desktop-label,.floating-nav .view-label{display:none!important}
 .floating-nav .nav-mobile-icon{display:block}
 .floating-nav .view-toggle .view-icon{margin-right:0!important}
 .tile-experience-content p{display:none!important}
}

/* V122 — consistent blue page canvas, including iOS safe areas and overscroll */
html,html body,body{background:#20258f!important;background-color:#20258f!important;}
@media(max-width:700px){
 html,html body,body{background:#20258f!important;background-color:#20258f!important;}
 html body footer .footer-tagline .footer-copyright{display:none!important;}
}

/* V123 — Fam Jam! homepage illustration: 65% desktop, full prior mobile sizing */
@media (min-width:701px){html body .below > div:first-child .below-family-art{width:min(169px,100%)!important;}}
@media (max-width:700px){html body .below > div:first-child .below-family-art{width:min(220px,65vw)!important;}}

/* V124: complete each mosaic animation cycle before exit; new message per cycle. */
.preloader-status{display:flex;align-items:center;justify-content:center;gap:14px;max-width:min(92vw,720px);min-height:48px;text-align:left}
.preloader-message{font-family:'Austen',Georgia,serif;font-size:clamp(17px,2.5vw,28px);font-style:italic;line-height:1.25;color:#fff;transition:opacity .18s ease;max-width:560px}
.preloader-message.is-changing{opacity:0}
.preloader-stack span{animation-play-state:paused!important}
.site-preloader.is-cycling .preloader-stack span{animation-play-state:running!important}
@media(max-width:600px){.preloader-status{flex-direction:column;gap:8px;text-align:center;min-height:74px}.preloader-message{font-size:clamp(16px,4.4vw,22px)}}
@media(prefers-reduced-motion:reduce){.preloader-stack span{animation:none!important;opacity:1!important;transform:none!important}}

/* V125: game difficulty switch, footer position and compact preloader type */
.merge-mode-control{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px auto 16px;max-width:100%;color:#fff;font-family:'DM Sans',Arial,sans-serif}
.merge-mode-control label{display:inline-flex;align-items:center;gap:10px;cursor:pointer;white-space:nowrap;font-size:13px;letter-spacing:.08em}
.merge-mode-control input{position:absolute;opacity:0;width:1px;height:1px}
.merge-mode-switch{width:40px;height:23px;border:2px solid #fff;border-radius:30px;position:relative;display:inline-block;background:#6b3b29;transition:background .2s}
.merge-mode-switch:after{content:'';position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:transform .2s}
.merge-mode-control input:checked+.merge-mode-switch{background:#20258f}
.merge-mode-control input:checked+.merge-mode-switch:after{transform:translateX(17px)}
.merge-mode-control input:focus-visible+.merge-mode-switch{outline:3px solid #fff;outline-offset:3px}
.merge-mode-control p{font-size:11px;line-height:1.5;margin:0;max-width:520px;color:#fff}
html body footer .footer-tagline .footer-copyright{transform:translateY(-10px)!important}
.preloader-percentage{font-family:'DM Sans',Arial,sans-serif!important;font-size:11px!important;font-weight:700!important;line-height:1.3!important;letter-spacing:.16em!important}
.preloader-message{font-family:'DM Sans',Arial,sans-serif!important;font-size:11px!important;font-style:normal!important;font-weight:600!important;letter-spacing:.08em!important;line-height:1.4!important;max-width:560px!important}
@media(max-width:600px){.preloader-message{font-size:11px!important}.merge-mode-control{align-items:flex-start}}

/* V126: iOS browser tint and overscroll canvas */
:root{color-scheme:light;}
html{min-height:100%;background-color:#20258f!important;overscroll-behavior-y:none;}
body{min-height:100vh;min-height:100dvh;background-color:#20258f!important;overscroll-behavior-y:none;}
@media(max-width:850px){
 html,body{background:#20258f!important;}
 html body footer .footer-copyright,html body footer [data-mobile-hide="true"]{display:none!important;visibility:hidden!important;}
}
/* Loading copy remains small sans-serif, now uppercase */
.site-preloader .preloader-message{font-family:'DM Sans',Arial,sans-serif!important;font-size:11px!important;font-weight:600!important;font-style:normal!important;letter-spacing:.08em!important;text-transform:uppercase!important;}

/* V127 — reliably restart falling blocks at every preloader cycle. */
.site-preloader.is-resetting .preloader-stack span{
  animation:none!important;
  opacity:0!important;
  transform:translate3d(0,-260px,0)!important;
}
.site-preloader.is-cycling .preloader-stack span{
  animation-name:loader-rigid-fall!important;
  animation-duration:.78s!important;
  animation-iteration-count:1!important;
  animation-fill-mode:both!important;
  animation-play-state:running!important;
}
/* V127 — extra 30px of top/bottom breathing room in every mobile popup. */
@media(max-width:700px){
  .overlay{padding-top:48px!important;padding-bottom:48px!important;}
  .overlay .dialog{max-height:calc(100dvh - 96px)!important;}
  #eventOverlay .event-copy{padding-top:60px!important;padding-bottom:60px!important;}
  #passportOverlay .passport-dialog{padding-top:60px!important;padding-bottom:60px!important;}
  .game-overlay .merge-view{
    padding-top:calc(45px + env(safe-area-inset-top,0px))!important;
    padding-bottom:calc(48px + env(safe-area-inset-bottom,0px))!important;
  }
  .share-panel{
    padding-top:calc(72px + env(safe-area-inset-top,0px))!important;
    padding-bottom:60px!important;
  }
}
/* V128 — enlarge Fam Jam popup heading by 20% at every viewport size */
.game-overlay .merge-top h2{font-size:clamp(32.4px,7.2vw,74.4px)!important;}
@media(max-width:650px){.game-overlay .merge-top h2{font-size:clamp(30px,8.64vw,50.4px)!important;}}

/* V129 — header border, larger event dates, scroll-linked Fam Jam reveal */
html body .season-site-header{border-bottom:3px solid #fff!important;}
html body .event-copy #eventDate{font-size:20px!important;line-height:1.25!important;letter-spacing:.1em!important;display:block;}
@media(max-width:700px){html body .event-copy #eventDate{font-size:20px!important;}}
@media(prefers-reduced-motion:no-preference){
  html.js-scroll-reveal .below .fam-scroll-item{opacity:var(--fam-reveal-opacity,0);transform:translate3d(0,var(--fam-reveal-y,24px),0);will-change:opacity,transform;}
}

/* V130 — Fam Jam section fades in sequentially after preloader, not on scroll */
@media (prefers-reduced-motion:no-preference){
 html body .below .fam-cascade-item{opacity:0!important;transform:translateY(20px)!important;filter:blur(3px);transition:opacity 850ms ease,transform 850ms cubic-bezier(.2,.75,.25,1),filter 850ms ease;transition-delay:var(--fam-cascade-delay,0ms);}
 html body .below.fam-cascade-visible .fam-cascade-item{opacity:1!important;transform:translateY(0)!important;filter:blur(0);}
}

/* V131 — Fam Jam sticker logo entrance: fade, drop and subtle popup shake */
.game-overlay .merge-top h2.fam-jam-logo-heading{margin:0!important;width:100%;text-align:center!important;line-height:1!important;}
.game-overlay .fam-jam-popup-logo{display:block;width:min(75%,570px);height:auto;max-height:175px;object-fit:contain;margin:0 auto;filter:drop-shadow(0 5px 0 rgba(25,26,103,.12));transform-origin:50% 80%;}
.game-overlay .merge-top{padding-top:clamp(38px,5vw,54px);}
.game-overlay .merge-view.fam-jam-impact{animation:famJamPopupShake .43s ease-out both;}
.game-overlay .fam-jam-popup-logo.fam-jam-enter{animation:famJamLogoSlam .78s cubic-bezier(.2,.8,.22,1) both;}
@keyframes famJamLogoSlam{0%{opacity:0;transform:translateY(-100px) scale(1.25)}38%{opacity:1}67%{transform:translateY(9px) scale(1.055,.92)}79%{transform:translateY(-7px) scale(.985,1.025)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes famJamPopupShake{0%,48%{transform:translate(0,0)}58%{transform:translate(-4px,2px)}66%{transform:translate(4px,-1px)}74%{transform:translate(-3px,1px)}84%{transform:translate(2px,0)}100%{transform:translate(0,0)}}
@media(max-width:650px){.game-overlay .fam-jam-popup-logo{width:min(88%,440px);max-height:115px}.game-overlay .merge-top{padding-top:42px}}
@media(prefers-reduced-motion:reduce){.game-overlay .merge-view.fam-jam-impact,.game-overlay .fam-jam-popup-logo.fam-jam-enter{animation:none!important}}

/* V133 — Passport call-to-action is a compact white-box button. */
.tile-experience-content .tile-experience-passport{display:inline-flex!important;align-items:center!important;align-self:flex-start!important;width:max-content!important;max-width:100%!important;background:#fff!important;color:#975045!important;border:0!important;border-bottom:0!important;border-radius:0!important;text-decoration:none!important;padding:4px 7px!important;line-height:1.15!important;box-shadow:none!important;}
.tile-experience-content .tile-experience-passport:hover,.tile-experience-content .tile-experience-passport:focus-visible{background:#fff7f0!important;color:#975045!important;border:0!important;text-decoration:none!important;}

/* V138 — illustrations are the event links; no event-title arrows. */
.three-blocks .block-event::after,.three-blocks .block-event:hover::after,.three-blocks .block-event:focus-visible::after{content:none!important;display:none!important}
.three-blocks .block-event .event-title-lines{display:flex;flex-direction:column;width:100%;padding-right:0!important}
.three-blocks .block-event .event-title-first,.three-blocks .block-event .event-title-second{display:block;width:100%}
.mosaic-image-tile[data-illustration-events]{cursor:pointer;touch-action:manipulation}
.mosaic-image-tile[data-illustration-events]:focus-visible{outline:3px solid #fff;outline-offset:-5px;z-index:3}
.mosaic-image-tile[data-illustration-events] img{pointer-events:none}
.mosaic-carousel .mosaic-scroll .scroll-chevron-svg{display:block!important;width:36px!important;height:36px!important;color:#ff5739!important}
.mosaic-carousel .mosaic-scroll .scroll-chevron-svg path{fill:none!important;stroke:currentColor!important;stroke-width:2.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.mosaic-carousel .mosaic-scroll-prev .scroll-chevron-svg{transform:rotate(180deg)}
.tile-experience-content .tile-experience-passport{padding:8px 14px!important;color:#ff633b!important}
.tile-experience-content .tile-experience-passport:hover,.tile-experience-content .tile-experience-passport:focus-visible{color:#ff633b!important}
/* Image 23 is shared by two events: show a small accessible choice dialog. */
.illustration-choice[hidden]{display:none!important}
.illustration-choice{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:rgba(15,12,35,.65);padding:20px}
.illustration-choice-panel{background:#fff8ed;color:#603b32;padding:26px;max-width:400px;width:100%;border:3px solid #fff;box-shadow:0 16px 70px #0004}
.illustration-choice-panel h2{margin:0 0 18px;font-size:24px}
.illustration-choice-panel button{display:block;width:100%;margin:8px 0;padding:12px;background:#20258f;color:#fff;border:0;font:inherit;cursor:pointer;text-align:left}
.illustration-choice-panel button:focus-visible{outline:3px solid #ff633b}

/* V140 — Native clickable illustration tiles; preserve original mosaic geometry. */
.mosaic-carousel button.mosaic-image-tile{appearance:none;-webkit-appearance:none;border:0;border-radius:0;padding:0;margin:0;display:block;background:var(--bg);color:inherit;cursor:pointer;touch-action:manipulation;font:inherit;}
.mosaic-carousel button.mosaic-image-tile:focus-visible{outline:3px solid #fff!important;outline-offset:-5px!important;z-index:6;}

/* V142 — right-aligned footer contact beneath copyright; unified floating navigation */
html body footer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
html body footer .footer-brand{grid-column:1!important;grid-row:1!important;}
html body footer .footer-tagline{grid-column:2!important;grid-row:1!important;justify-self:end!important;align-items:flex-end!important;text-align:right!important;gap:9px!important;transform:none!important;}
html body footer .footer-tagline .footer-copyright{transform:none!important;}
html body footer .footer-tagline .footer-contact{position:static!important;left:auto!important;top:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;gap:5px!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;text-align:right!important;white-space:normal!important;overflow:visible!important;}
html body footer .footer-tagline .footer-contact .footer-address-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;}
html body footer .footer-tagline .footer-contact a,html body footer .footer-tagline .footer-contact .footer-address-row span{font-family:'Austen',Georgia,serif!important;font-size:clamp(11px,1vw,14px)!important;white-space:normal!important;letter-spacing:0!important;}
html body .floating-nav button .nav-desktop-label,html body .floating-nav button .view-label{font-family:inherit!important;font-size:12px!important;font-weight:800!important;letter-spacing:.055em!important;}
html body .floating-nav .view-toggle{border:3px solid #975045!important;}
html body .floating-nav .nav-install-button,html body .floating-nav .nav-install-button:hover,html body .floating-nav .nav-install-button:focus-visible{background:#ab83d0!important;color:#fff!important;}
html body .floating-nav .passport-button,html body .floating-nav .passport-button .nav-desktop-label,html body .floating-nav .passport-button .nav-desktop-label span{color:#fff!important;}
@media(max-width:850px){html body footer{display:flex!important;flex-direction:column!important;gap:20px!important;}html body footer .footer-tagline{align-items:flex-start!important;text-align:left!important;justify-self:auto!important;width:100%!important;}html body footer .footer-tagline .footer-contact{align-items:flex-start!important;text-align:left!important;}html body footer .footer-tagline .footer-contact .footer-address-row{justify-content:flex-start!important;}html body footer .footer-tagline .footer-contact a,html body footer .footer-tagline .footer-contact .footer-address-row span{font-size:clamp(10px,2.7vw,14px)!important;}}

/* V143 — compact single-line footer contact and balanced masthead divider */
@media(min-width:851px){
 html body footer{padding-right:0!important;}
 html body footer .footer-tagline{margin-right:0!important;padding-right:0!important;}
 html body .season-site-brand{width:clamp(185px,20vw,270px)!important;flex:0 0 clamp(185px,20vw,270px)!important;}
 html body .season-site-header{column-gap:clamp(14px,2vw,28px)!important;}
}
html body footer .footer-tagline .footer-contact{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:clamp(5px,.6vw,10px)!important;white-space:nowrap!important;width:max-content!important;max-width:none!important;line-height:1.3!important;}
html body footer .footer-tagline .footer-contact span,html body footer .footer-tagline .footer-contact a{font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(10px,.76vw,13px)!important;font-weight:700!important;letter-spacing:.10em!important;white-space:nowrap!important;line-height:1.3!important;}
html body footer .footer-tagline .footer-contact .footer-pin{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 19px!important;}
html body footer .footer-tagline .footer-contact .footer-pin svg{display:block!important;width:19px!important;height:19px!important;}
@media(max-width:850px){html body footer .footer-tagline .footer-contact{width:100%!important;max-width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important;white-space:normal!important;gap:6px!important;}html body footer .footer-tagline .footer-contact span,html body footer .footer-tagline .footer-contact a{font-size:clamp(9px,1.8vw,12px)!important;white-space:normal!important;}}

/* V144 — consistent footer inset, uppercase compact contact, full-height header divider */
@media(min-width:851px){
 html body footer{padding-right:5%!important;}
 html body footer .footer-tagline{margin-right:0!important;padding-right:0!important;justify-self:end!important;align-items:flex-end!important;text-align:right!important;}
 html body footer .footer-tagline .footer-contact{align-self:flex-end!important;justify-content:flex-end!important;margin-right:0!important;padding-right:0!important;}
}
html body footer .footer-tagline .footer-contact span,
html body footer .footer-tagline .footer-contact a{font-size:clamp(8px,.608vw,10.4px)!important;text-transform:uppercase!important;}
html body .season-site-header{position:relative!important;}
html body .season-site-header .season-header-divider{height:calc(100% + 0px)!important;max-height:none!important;align-self:stretch!important;margin-top:-10px!important;margin-bottom:-10px!important;}
@media(max-width:850px){html body .season-site-header .season-header-divider{margin-top:-10px!important;margin-bottom:-10px!important;}}
@media(max-width:520px){html body .season-site-header .season-header-divider{margin-top:-9px!important;margin-bottom:-9px!important;}}

/* V145 — enlarge footer mark, lower it, and stack footer content on narrow screens. */
html body footer .footer-brand .footer-we-are{width:clamp(45.1px,5.005vw,72.6px)!important;transform:translateY(0px)!important;}
@media(max-width:850px){
 html body footer{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;text-align:center!important;}
 html body footer .footer-brand{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;margin:0 0 16px!important;}
 html body footer .footer-brand .footer-we-are{display:block!important;width:clamp(65px,15vw,110px)!important;max-height:none!important;transform:translateY(0px)!important;}
 html body footer .footer-brand .footer-mobile-name{display:none!important;}
 html body footer .footer-tagline{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;width:100%!important;gap:0!important;margin:0!important;padding:0!important;transform:none!important;}
 html body footer .footer-tagline .footer-slogan{display:none!important;}
 html body footer .footer-tagline .footer-copyright,
 html body footer .footer-tagline .footer-copyright[data-mobile-hide="true"]{display:block!important;visibility:visible!important;text-align:center!important;transform:none!important;margin:0 0 14px!important;padding:0!important;font-family:'Austen',Georgia,serif!important;font-size:clamp(12px,2.8vw,15px)!important;line-height:1.4!important;}
 html body footer .footer-tagline .footer-contact{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;width:100%!important;max-width:100%!important;gap:9px!important;margin:0!important;padding:0!important;white-space:normal!important;}
 html body footer .footer-tagline .footer-contact .footer-contact-separator{display:none!important;}
 html body footer .footer-tagline .footer-contact .footer-pin{display:none!important;}
 html body footer .footer-tagline .footer-contact .footer-address,
 html body footer .footer-tagline .footer-contact .footer-phone,
 html body footer .footer-tagline .footer-contact .footer-website{display:block!important;flex:none!important;text-align:center!important;white-space:normal!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(9px,2.1vw,12px)!important;font-weight:700!important;letter-spacing:.08em!important;line-height:1.5!important;text-transform:uppercase!important;}
}

/* V146 — full-height header rule and quiet animated halftone artwork */
html body .season-site-header .season-header-divider{
  position:relative!important;
  height:auto!important;
  max-height:none!important;
  align-self:stretch!important;
  margin-top:-10px!important;
  margin-bottom:-10px!important;
  background:transparent!important;
}
html body .season-site-header .season-header-divider::before{
  content:"";position:absolute;left:0;right:0;top:0;bottom:-5px;background:#fff;
}
@media(max-width:520px){html body .season-site-header .season-header-divider{margin-top:-9px!important;margin-bottom:-9px!important;}}

/* A large, softly rotating white halftone disc BEHIND the promo title and art. */
#famJamPromo{position:relative;isolation:isolate;overflow:hidden;}
#famJamPromo::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:clamp(450px,64vw,980px);aspect-ratio:1;
  left:clamp(-250px,-12vw,-80px);top:50%;
  background:url('assets/halftone-white-dots.svg') center / contain no-repeat;
  opacity:.20;transform:translateY(-50%) rotate(0deg);
  animation:familyHalftoneRotate 90s linear infinite;
}
#famJamPromo > div{position:relative;z-index:1;}
#famJamPromo .below-family-art{animation:familyPromoFloat 5.5s ease-in-out infinite;will-change:transform;}
@keyframes familyPromoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes familyHalftoneRotate{from{transform:translateY(-50%) rotate(0deg)}to{transform:translateY(-50%) rotate(360deg)}}
/* Rotate the halftone in each event popup behind its foreground artwork. */
html body .event-illustration.movie-art-mode::before{
  animation:eventHalftoneRotate 90s linear infinite!important;
  transform-origin:center center!important;
}
@keyframes eventHalftoneRotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 #famJamPromo::before,#famJamPromo .below-family-art,
 html body .event-illustration.movie-art-mode::before{animation:none!important;}
}

/* V147 — preloader message precedes percentage and changes after every three completed drops */
.site-preloader .preloader-status{flex-direction:row!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:5px!important;text-align:center!important;}
.site-preloader .preloader-message{max-width:min(80vw,560px)!important;}
@media(max-width:600px){.site-preloader .preloader-status{flex-direction:row!important;min-height:48px!important;gap:5px!important;}}
/* V147 — Fam Jam promo CTA matches the white tile passport buttons */
html body #famJamPromo #openGameBottom{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:max-content!important;max-width:100%!important;padding:8px 14px!important;background:#fff!important;color:#191a67!important;border:0!important;border-radius:0!important;text-decoration:none!important;box-shadow:none!important;font-weight:800!important;line-height:1.15!important;}
html body #famJamPromo #openGameBottom svg{color:#191a67!important;stroke:#191a67!important;}
html body .tile-experience-content .tile-experience-passport,html body .tile-experience-content .tile-experience-passport:hover,html body .tile-experience-content .tile-experience-passport:focus-visible{color:#191a67!important;background:#fff!important;}
html body .tile-experience-content .tile-experience-passport svg{color:#191a67!important;stroke:#191a67!important;}
/* V147 — directions action: filled footer pin before label, arrow after */
.event-actions #eventDirections{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;}
.event-actions #eventDirections .directions-pin-icon{display:inline-block;width:15px;height:15px;flex:0 0 15px;color:inherit;}
.event-actions #eventDirections .nav-inline-arrow{display:inline-block;flex:0 0 auto;}

/* V148 — unified blue CTA colors and leading event-action icons */
html body #famJamPromo #openGameBottom,html body #famJamPromo #openGameBottom:hover,html body #famJamPromo #openGameBottom:focus-visible,html body .tile-experience-content .tile-experience-passport,html body .tile-experience-content .tile-experience-passport:hover,html body .tile-experience-content .tile-experience-passport:focus-visible{background:#fff!important;color:#20258f!important;}
html body #famJamPromo #openGameBottom svg,html body .tile-experience-content .tile-experience-passport svg{color:#20258f!important;stroke:currentColor!important;}
.event-actions .event-action-leading-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:middle;flex-shrink:0;margin-right:.4em;stroke:currentColor;}

/* V149 — Unified clean SVG chevrons and filled event action icons */
svg.site-chevron{width:.82em;height:.82em;display:inline-block;vertical-align:-.08em;flex:0 0 auto;margin-left:.35em;overflow:visible;stroke:currentColor;fill:none;}
.event-actions svg.site-chevron{width:.85em;height:.85em;margin-left:.25em;}
.event-actions .event-action-leading-icon{fill:currentColor;stroke:none;width:1.15em;height:1.15em;}
.merge-example-operator svg.site-chevron,.merge-legend svg.site-chevron{margin:0 .3em;vertical-align:middle;}

/* V150 — Fam Jam result: editorial Austen score, stacked title, record celebration */
.game-overlay .merge-result-card{position:relative;overflow:visible;padding:clamp(24px,5vw,42px) clamp(16px,5vw,38px);background:#fff6ed;}
.game-overlay .merge-result-score-wrap{position:relative;width:max-content;max-width:100%;margin:0 auto 18px;isolation:isolate;}
.game-overlay .merge-result-score{font-family:"Austen",Georgia,serif;font-size:clamp(66px,14vw,112px);line-height:1;color:#965047;letter-spacing:-.05em;font-weight:700;font-variant-numeric:lining-nums tabular-nums;}
.game-overlay .merge-new-record{position:absolute;z-index:3;top:-10px;right:-24px;transform:rotate(5deg);background:#ff5739;color:white;font:800 clamp(9px,1.5vw,12px)/1.1 Arial,sans-serif;letter-spacing:.06em;white-space:nowrap;padding:7px 10px;animation:mergeRecordFloat 2s ease-in-out infinite;}
.game-overlay .merge-new-record[hidden]{display:none!important;}
.game-overlay .merge-result-card h3.merge-result-heading{font-family:"Austen",Georgia,serif!important;font-weight:400;font-size:clamp(58px,12vw,100px);line-height:.88;letter-spacing:-.055em;margin:8px 0 24px;text-transform:none;}
.game-overlay .merge-result-heading span,.game-overlay .merge-result-heading em{display:block;color:#20258f;font-style:normal;}
.game-overlay .merge-result-heading em{color:#ff5739;font-style:italic;}
.game-overlay .merge-result-card p{margin:0 0 20px;}
.game-overlay .merge-confetti{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:visible;}
.game-overlay .merge-confetti-piece{position:absolute;left:50%;top:35%;width:clamp(8px,1.6vw,14px);height:clamp(8px,1.6vw,14px);opacity:0;animation:mergeConfettiBurst 1.65s cubic-bezier(.2,.5,.3,1) var(--delay) both;}
@keyframes mergeRecordFloat{0%,100%{transform:translateY(0) rotate(5deg)}50%{transform:translateY(-7px) rotate(5deg)}}
@keyframes mergeConfettiBurst{0%{opacity:0;transform:translate(0,0) scale(.3) rotate(0)}12%{opacity:1}42%{opacity:1;transform:translate(var(--x),-85px) scale(1) rotate(calc(var(--spin) * .45))}100%{opacity:0;transform:translate(var(--x),var(--fall)) scale(.75) rotate(var(--spin))}}
@media(prefers-reduced-motion:reduce){.game-overlay .merge-new-record,.game-overlay .merge-confetti-piece{animation:none!important}}

/* V151: game mode and utility controls */
.game-overlay .merge-mode-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;}
.game-overlay .merge-utility-button{appearance:none;border:2px solid #fff;background:transparent;color:#fff;padding:8px 12px;font-family:'DM Sans',Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:.045em;cursor:pointer;line-height:1.2;transition:background .2s,color .2s;}
.game-overlay .merge-utility-button:hover,.game-overlay .merge-utility-button:focus-visible{background:#fff;color:#20258f;}
.game-overlay .merge-reset-best{background:#20258f;border-color:#20258f;}
.game-overlay .merge-reset-best:hover,.game-overlay .merge-reset-best:focus-visible{background:#fff;border-color:#fff;color:#20258f;}
.game-overlay .merge-result-card button[hidden]{display:none!important;}
@media(max-width:600px){.game-overlay .merge-mode-actions{gap:8px}.game-overlay .merge-utility-button{font-size:10px;padding:7px 9px;}}

/* V152 — game-over score typography and exit action */
.game-overlay .merge-result-score{font-family:'DM Sans',Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.045em!important;}
.game-overlay .merge-result-card #mergeKeepPlaying{background:#965047!important;color:#fff!important;border:0!important;}
.game-overlay .merge-result-card #mergeKeepPlaying:hover,.game-overlay .merge-result-card #mergeKeepPlaying:focus-visible{background:#7d4039!important;color:#fff!important;}

/* V153 — center game controls and description; confetti falls 250% more slowly */
.game-overlay .merge-mode-control{justify-content:center;flex-direction:column;align-items:center;text-align:center;gap:12px;}
.game-overlay .merge-mode-actions{justify-content:center;width:100%;}
.game-overlay .merge-mode-control p{margin:0 auto;text-align:center;max-width:520px;}
.game-overlay .merge-confetti-piece{animation-duration:5.775s;}
@media(max-width:600px){.game-overlay .merge-mode-control{align-items:center;}.game-overlay .merge-mode-actions{justify-content:center;}}

/* V154 — fast, evenly distributed radial confetti burst; no upward arc or gravity */
.game-overlay .merge-confetti-piece{animation-name:mergeConfettiRadial;animation-duration:3.85s;animation-timing-function:cubic-bezier(.16,.7,.25,1);}
@keyframes mergeConfettiRadial{
  0%{opacity:0;transform:translate(0,0) scale(.3) rotate(0deg)}
  8%{opacity:1}
  42%{opacity:1}
  100%{opacity:0;transform:translate(var(--burst-x),var(--burst-y)) scale(.65) rotate(var(--spin))}
}

/* V155 — centered navigation wordmark above the animated loading blocks */
.site-preloader .preloader-church-logo{display:block;width:clamp(185px,32vw,300px);height:auto;max-height:110px;object-fit:contain;filter:brightness(0) invert(1);margin:0 auto 2px;}
.site-preloader .preloader-inner{justify-items:center;}
@media(max-width:600px){.site-preloader .preloader-church-logo{width:min(68vw,255px);max-height:90px;}}

/* V156 — subtle opposite-direction cursor parallax while halftone keeps rotating */
#famJamPromo{--fam-parallax-x:0px;--fam-parallax-y:0px;}
#famJamPromo::before{animation-name:familyHalftoneParallaxRotate;will-change:transform;}
@keyframes familyHalftoneParallaxRotate{
 from{transform:translate3d(var(--fam-parallax-x),calc(-50% + var(--fam-parallax-y)),0) rotate(0deg)}
 to{transform:translate3d(var(--fam-parallax-x),calc(-50% + var(--fam-parallax-y)),0) rotate(360deg)}
}
#famJamPromo .overline{font-size:85%!important;}
@media(prefers-reduced-motion:reduce){#famJamPromo::before{animation:none!important;transform:translateY(-50%)!important;}}

/* V159 — interactive illustration magnet, click bounce, merge and passport impact */
.mosaic-image-tile[data-illustration-events].illustration-click-pop > .mosaic-tile-art {animation:illustrationClickPop .23s ease-out both;}
@keyframes illustrationClickPop {0%{scale:1}38%{scale:.97}75%{scale:1.03}100%{scale:1}}
.merge-tile.merge-impact-v159{animation:mergeImpactV159 .38s cubic-bezier(.18,.85,.28,1.15)!important;}
@keyframes mergeImpactV159{0%{transform:scale(.94)}40%{transform:scale(1.10)}70%{transform:scale(.985)}100%{transform:scale(1)}}
.merge-cell:has(.merge-impact-v159)::after{content:'';position:absolute;inset:4%;border:2px solid #fff;border-radius:50%;pointer-events:none;z-index:8;animation:mergeImpactRingV159 .46s ease-out both;}
.merge-cell:has(.merge-impact-v159 .tile-label)::after{border-color:#fff;}
@keyframes mergeImpactRingV159{0%{opacity:.85;transform:scale(.5)}100%{opacity:0;transform:scale(1.5)}}
#passportOverlay .stamp.collected.stamp-art.stamp-new-impact{animation:stampImpactV159 .52s cubic-bezier(.2,.8,.25,1.1) both!important;z-index:5;}
#passportOverlay .stamp.collected.stamp-art.stamp-new-impact::after{content:'';position:absolute;inset:3%;border:3px solid rgba(255,255,255,.85);border-radius:50%;z-index:3;pointer-events:none;animation:stampRingV159 .55s ease-out both;}
@keyframes stampImpactV159{0%{transform:translateY(-20px) scale(1.15);opacity:.3}45%{transform:translateY(2px) scale(.95);opacity:1}75%{transform:translateY(-2px) scale(1.035)}100%{transform:translateY(0) scale(1);opacity:1}}
@keyframes stampRingV159{0%{transform:scale(.5);opacity:.8}100%{transform:scale(1.5);opacity:0}}
@media(prefers-reduced-motion:reduce){.mosaic-image-tile.illustration-click-pop > .mosaic-tile-art,.merge-tile.merge-impact-v159,#passportOverlay .stamp.collected.stamp-art.stamp-new-impact{animation:none!important}.merge-cell:has(.merge-impact-v159)::after,#passportOverlay .stamp.collected.stamp-art.stamp-new-impact::after{display:none}}

/* v163: timed entrance choreography, only while a dialog is opening. */
@keyframes familyPopupRise{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
#eventOverlay.family-entering .event-copy > .overline,
#eventOverlay.family-entering .event-copy > h2,
#eventOverlay.family-entering .event-copy > p,
#eventOverlay.family-entering .event-copy > .event-detail,
#eventOverlay.family-entering .event-actions > :not([hidden]),
#eventOverlay.family-entering .event-copy > small{animation:familyPopupRise .55s cubic-bezier(.2,.7,.2,1) both}
#eventOverlay.family-entering .event-copy > .overline{animation-delay:.08s}
#eventOverlay.family-entering .event-copy > h2{animation-delay:.17s}
#eventOverlay.family-entering .event-copy > p{animation-delay:.27s}
#eventOverlay.family-entering .event-copy > .event-detail{animation-delay:.36s}
#eventOverlay.family-entering .event-actions > :nth-child(1){animation-delay:.45s}
#eventOverlay.family-entering .event-actions > :nth-child(2){animation-delay:.52s}
#eventOverlay.family-entering .event-actions > :nth-child(3){animation-delay:.59s}
#eventOverlay.family-entering .event-actions > :nth-child(4){animation-delay:.66s}
#eventOverlay.family-entering .event-actions > :nth-child(5){animation-delay:.73s}
#eventOverlay.family-entering .event-actions > :nth-child(6){animation-delay:.80s}
#eventOverlay.family-entering .event-actions > :nth-child(7){animation-delay:.87s}
#eventOverlay.family-entering .event-copy > small{animation-delay:.95s}
#gameOverlay.family-game-entering .merge-close,
#gameOverlay.family-game-entering .merge-mode-control,
#gameOverlay.family-game-entering .merge-status,
#gameOverlay.family-game-entering .merge-board,
#gameOverlay.family-game-entering .merge-bottom > *{animation:familyPopupRise .55s cubic-bezier(.2,.7,.2,1) both}
#gameOverlay.family-game-entering .merge-close{animation-delay:.65s}
#gameOverlay.family-game-entering .merge-mode-control{animation-delay:.75s}
#gameOverlay.family-game-entering .merge-status{animation-delay:.86s}
#gameOverlay.family-game-entering .merge-board{animation-delay:.96s}
/* V189: Stork inventory joins the existing game entrance after the board. */
#gameOverlay.family-game-entering .stork-inventory{animation:familyPopupRise .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:1.05s}
#gameOverlay.family-game-entering .merge-bottom > :nth-child(1){animation-delay:1.05s}
#gameOverlay.family-game-entering .merge-bottom > :nth-child(2){animation-delay:1.14s}
#gameOverlay.family-game-entering .merge-bottom > :nth-child(n+3){animation-delay:1.23s}
@media(prefers-reduced-motion:reduce){#eventOverlay.family-entering .event-copy *,#gameOverlay.family-game-entering .merge-view *{animation-duration:.01ms!important;animation-delay:0ms!important}}

/* V164 mobile motion permission control; no change to existing halftone artwork. */
.family-motion-button{display:block;margin:13.2px auto 0;padding:6px 9.6px;border:1px solid currentColor;border-radius:0;background:transparent;color:inherit;font:600 6.6px/1.4 inherit;letter-spacing:.08em;cursor:pointer;position:relative;z-index:2;opacity:.4;}
.family-motion-button[hidden]{display:none!important;}
.family-motion-button:focus-visible{outline:3px solid currentColor;outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.family-motion-button{display:none!important;}}

/* V166 — date panel shown exclusively in chronological list view. */
#horizontalMosaic>.flex-event>.list-event-date{display:none!important}
body.chronological-view #horizontalMosaic>.flex-event{position:relative!important;padding-right:clamp(92px,26%,155px)!important;overflow:hidden!important}
body.chronological-view #horizontalMosaic>.flex-event>.list-event-date{
 display:flex!important;position:absolute!important;inset:0 0 0 auto!important;
 width:clamp(86px,27%,155px)!important;height:100%!important;box-sizing:border-box!important;
 background:var(--m-orange,#ff633b)!important;color:#fff!important;
 border-left:3px solid #fff!important;flex-direction:column!important;
 align-items:center!important;justify-content:center!important;gap:0!important;
 text-align:center!important;pointer-events:none!important;line-height:1!important;
 font-family:"DM Sans",Arial,sans-serif!important;letter-spacing:0!important;
}
body.chronological-view #horizontalMosaic>.flex-event .list-event-month{
 display:block!important;font-family:"DM Sans",Arial,sans-serif!important;
 font-size:clamp(15px,2.3vw,27px)!important;font-weight:400!important;
 line-height:1.1!important;letter-spacing:.025em!important;
}
body.chronological-view #horizontalMosaic>.flex-event .list-event-day{
 display:block!important;font-family:"DM Sans",Arial,sans-serif!important;
 font-size:clamp(46px,7vw,90px)!important;font-weight:800!important;
 line-height:1!important;letter-spacing:-.05em!important;
}
@media(max-width:700px){
 body.chronological-view #horizontalMosaic>.flex-event{padding-right:110px!important}
 body.chronological-view #horizontalMosaic>.flex-event>.list-event-date{width:94px!important}
 body.chronological-view #horizontalMosaic>.flex-event .list-event-day{font-size:58px!important}
 body.chronological-view #horizontalMosaic>.flex-event .list-event-month{font-size:19px!important}
}

/* V167 — contain the date typography and tighten the list title inset. */
body.chronological-view #horizontalMosaic>.flex-event{
  padding-left:clamp(10px,1.3vw,20px)!important;
  padding-right:calc(clamp(86px,27%,155px) + 9px)!important;
  min-width:0!important;
}
body.chronological-view #horizontalMosaic>.flex-event>strong{
  min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;
}
body.chronological-view #horizontalMosaic>.flex-event>.list-event-date{
  overflow:hidden!important;min-width:0!important;max-width:100%!important;
  padding:4px 3px!important;
  contain:paint!important;
}
body.chronological-view #horizontalMosaic>.flex-event .list-event-month,
body.chronological-view #horizontalMosaic>.flex-event .list-event-day{
  max-width:100%!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:clip!important;
  box-sizing:border-box!important;
}
body.chronological-view #horizontalMosaic>.flex-event .list-event-day{
  font-size:clamp(34px,5vw,72px)!important;letter-spacing:-.035em!important;
}
body.chronological-view #horizontalMosaic>.flex-event .list-event-month{
  font-size:clamp(13px,1.7vw,22px)!important;
}
@media(max-width:700px){
  body.chronological-view #horizontalMosaic>.flex-event{
    padding-left:12px!important;padding-right:103px!important;
  }
  body.chronological-view #horizontalMosaic>.flex-event .list-event-day{font-size:56px!important;}
  body.chronological-view #horizontalMosaic>.flex-event .list-event-month{font-size:18px!important;}
}


/* V169 — passport stamp confetti celebration */
#passportOverlay .passport-confetti-layer{position:fixed;inset:0;z-index:30;pointer-events:none;overflow:hidden;animation:passportConfettiLifetime 4.2s linear both;}
#passportOverlay .passport-confetti-piece{position:absolute;left:var(--origin-x);top:var(--origin-y);width:11px;height:11px;opacity:0;animation:passportConfettiRadial 3.85s cubic-bezier(.16,.7,.25,1) var(--delay,0s) both;will-change:transform,opacity;}
@keyframes passportConfettiRadial{0%{opacity:0;transform:translate(-50%,-50%) scale(.35) rotate(0deg)}10%{opacity:1}60%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--burst-x)),calc(-50% + var(--burst-y))) scale(.75) rotate(var(--spin))}}
@keyframes passportConfettiLifetime{0%,90%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#passportOverlay .passport-confetti-layer{display:none!important}}


/* V170 — interactive Passport stamps and Fam Jam high-score card */
#passportOverlay button.stamp{font:inherit;color:inherit;cursor:pointer;width:100%;border-radius:0;appearance:none;-webkit-appearance:none;}
#passportOverlay button.stamp:not(.collected){color:#fff;}
#passportOverlay button.stamp:focus-visible,#passportOverlay .passport-game-link:focus-visible{outline:3px solid #fff;outline-offset:-5px;}
#passportOverlay .passport-game-link{cursor:pointer;transition:filter .2s ease;}
@media(hover:hover){#passportOverlay .passport-game-link:hover{filter:brightness(1.1)}#passportOverlay button.stamp:hover{filter:brightness(1.08)}}

/* v172 — visual matching-family outlines; same inset treatment as baby outline.
   Applied after v113 rules so Next Generation's brown border wins over its
   existing baby-compatible white outline. */
.game-overlay .merge-tile.matching-family-lavender,
.game-overlay .merge-tile.matching-family-orange,
.game-overlay .merge-tile.matching-family-brown {
  outline-style:solid!important;
  outline-width:3px!important;
  outline-offset:-3px!important;
}
.game-overlay .merge-tile.matching-family-lavender {outline-color:#cb92d8!important;}
.game-overlay .merge-tile.matching-family-orange {outline-color:#ff5739!important;}
.game-overlay .merge-tile.matching-family-brown {outline-color:#965047!important;}
.game-overlay .merge-tile.matching-family-lavender .tile-portrait,
.game-overlay .merge-tile.matching-family-orange .tile-portrait,
.game-overlay .merge-tile.matching-family-brown .tile-portrait {
  width:calc(100% - 6px)!important;
  height:calc(100% - 6px)!important;
  margin:3px!important;
}
@media(max-width:650px){
  .game-overlay .merge-tile.matching-family-lavender,
  .game-overlay .merge-tile.matching-family-orange,
  .game-overlay .merge-tile.matching-family-brown {
    outline-width:2px!important;outline-offset:-2px!important;
  }
  .game-overlay .merge-tile.matching-family-lavender .tile-portrait,
  .game-overlay .merge-tile.matching-family-orange .tile-portrait,
  .game-overlay .merge-tile.matching-family-brown .tile-portrait {
    width:calc(100% - 4px)!important;
    height:calc(100% - 4px)!important;
    margin:2px!important;
  }
}

/* v174: original user-supplied transparent PNG portraits, losslessly encoded
   as WebP; all tile colors and halftone texture are CSS only. */
.game-overlay .merge-tile,
.game-overlay .merge-tile.baby-compatible,
.game-overlay .merge-tile.matching-family-lavender,
.game-overlay .merge-tile.matching-family-orange,
.game-overlay .merge-tile.matching-family-brown {
 background-color:var(--family-color,#20258F)!important;
 background-image:url("assets/halftone-white-dots.svg")!important;
 background-position:center!important;
 background-repeat:no-repeat!important;
 background-size:115% 115%!important;
 border:0!important;
 outline:0!important;
 isolation:isolate;
 overflow:hidden!important;
}
/* The white dots are rendered as a separate CSS layer at 50% opacity,
   independent of the portrait's transparency. */
.game-overlay .merge-tile::before {
 content:"";
 position:absolute;
 inset:0;
 background:url("assets/halftone-white-dots.svg") center/115% 115% no-repeat;
 opacity:.5;
 pointer-events:none;
 z-index:0;
}
.game-overlay .merge-tile,
.game-overlay .merge-tile.baby-compatible,
.game-overlay .merge-tile.matching-family-lavender,
.game-overlay .merge-tile.matching-family-orange,
.game-overlay .merge-tile.matching-family-brown {background-image:none!important;}
.game-overlay .merge-tile .tile-portrait,
.game-overlay .merge-tile.baby-compatible .tile-portrait,
.game-overlay .merge-tile.matching-family-lavender .tile-portrait,
.game-overlay .merge-tile.matching-family-orange .tile-portrait,
.game-overlay .merge-tile.matching-family-brown .tile-portrait {
 position:relative!important;
 z-index:1!important;
 width:100%!important;
 height:100%!important;
 margin:0!important;
 background:none!important;
}
.game-overlay .merge-tile .tile-portrait img {
 width:100%!important;
 height:100%!important;
 object-fit:contain!important;
}
.game-overlay .merge-tile[data-value="6"] {
 outline:3px solid #fff!important;
 outline-offset:-3px!important;
}
.game-overlay .merge-tile[data-value="8"]::after,
.game-overlay .merge-tile[data-value="16"]::after,
.game-overlay .merge-tile[data-value="128"]::after,
.game-overlay .merge-tile[data-value="256"]::after {
 content:"";position:absolute;z-index:3;
 width:9px;height:9px;right:5px;top:5px;
 background:#fff;border:1px solid #20258F;
 pointer-events:none;
}
@media(max-width:650px){
 .game-overlay .merge-tile[data-value="6"] {outline-width:2px!important;outline-offset:-2px!important}
 .game-overlay .merge-tile[data-value="8"]::after,
 .game-overlay .merge-tile[data-value="16"]::after,
 .game-overlay .merge-tile[data-value="128"]::after,
 .game-overlay .merge-tile[data-value="256"]::after {width:6px;height:6px;top:3px;right:3px}
}

/* v175: Baby and baby-accepting families share the same softly pulsing
   white inset border. No corner squares. Baby background is indigo. */
.game-overlay .merge-tile.baby-compatible,
.game-overlay .merge-tile[data-value="6"] {
  outline:3px solid rgba(255,255,255,.98)!important;
  outline-offset:-3px!important;
  animation:famjam-baby-border-pulse 2.8s ease-in-out infinite!important;
}
.game-overlay .merge-tile[data-value="8"]::after,
.game-overlay .merge-tile[data-value="16"]::after,
.game-overlay .merge-tile[data-value="128"]::after,
.game-overlay .merge-tile[data-value="256"]::after {
  content:none!important;display:none!important;
}
@keyframes famjam-baby-border-pulse {
  0%,100% {outline-color:rgba(255,255,255,.98)}
  50% {outline-color:rgba(255,255,255,.52)}
}
@media(max-width:650px){
  .game-overlay .merge-tile.baby-compatible,
  .game-overlay .merge-tile[data-value="6"] {
    outline-width:2px!important;outline-offset:-2px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .game-overlay .merge-tile.baby-compatible,
  .game-overlay .merge-tile[data-value="6"] {
    animation:none!important;outline-color:#fff!important;
  }
}


/* V171 — Safari Passport art stability. Isolate art from button geometry and global fades. */
#passportOverlay .stamp-grid{align-items:stretch;}
#passportOverlay .stamp.collected.stamp-art{
  position:relative!important;display:block!important;overflow:hidden!important;
  min-width:0!important;min-height:0!important;aspect-ratio:1 / 1;
  contain:layout paint;isolation:isolate;
}
#passportOverlay .stamp.collected.stamp-art img{
  display:block!important;position:absolute!important;
  top:50%!important;left:50%!important;
  width:105%!important;height:105%!important;
  max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center!important;
  opacity:0!important;visibility:hidden;
  /* Preserve passportArtFloat's centering transform throughout decoding. */
  -webkit-backface-visibility:hidden;backface-visibility:hidden;
}
#passportOverlay .stamp.collected.stamp-art img.passport-art-ready{
  opacity:1!important;visibility:visible;
}
@media(prefers-reduced-motion:reduce){
  #passportOverlay .stamp.collected.stamp-art img{
    animation:none!important;transform:translate(-50%,-50%)!important;
  }
}


/* V178: earned, manually activated storks, positioned within the blue play area. */
.game-overlay .merge-play-frame .stork-inventory{background:#20258F;color:#fff;display:flex;align-items:center;gap:8px;min-height:56px;padding:5px 10px;box-sizing:border-box;width:100%;border-top:3px solid #fff;}
.game-overlay .stork-inventory-caption{font-family:'DM Sans',Arial,sans-serif;font-weight:800;font-size:10px;letter-spacing:.08em;white-space:nowrap;display:flex;flex-direction:column;gap:3px;flex-shrink:0;}
.game-overlay .stork-inventory-caption small{font-size:7px;font-weight:600;letter-spacing:.035em;opacity:.75;}
.game-overlay .stork-inventory-items{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:3px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;}
.game-overlay .stork-item{border:0;background:transparent;flex:0 0 44px;width:44px;height:44px;padding:1px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .18s ease;}
.game-overlay .stork-item img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;}
.game-overlay .stork-item:hover,.game-overlay .stork-item:focus-visible{transform:translateY(-4px) scale(1.08);outline:2px solid #fff;outline-offset:-2px;}
.game-overlay .stork-empty .stork-inventory-items::after{content:'NONE YET';font:700 9px 'DM Sans',Arial,sans-serif;letter-spacing:.08em;opacity:.65;}
.game-overlay .stork-unavailable{animation:storkUnavailable .28s ease-in-out 2;}
@keyframes storkUnavailable{50%{filter:brightness(1.5)}}
@media(max-width:650px){.game-overlay .merge-play-frame .stork-inventory{min-height:43px;padding:3px 6px;gap:4px}.game-overlay .stork-inventory-caption{font-size:8px}.game-overlay .stork-inventory-caption small{font-size:6px}.game-overlay .stork-item{width:34px;height:34px;flex-basis:34px}}
@media(prefers-reduced-motion:reduce){.game-overlay .stork-item{transition:none}.game-overlay .stork-unavailable{animation:none}}

/* V180: a visible, gently breathing inset white border on Baby and every
   family eligible to accept Baby. Animate a dedicated overlay so tile-pop and
   merge-impact animations never cancel the border pulse. */
.game-overlay .merge-tile.baby-compatible,
.game-overlay .merge-tile[data-value="6"] {
  outline:0!important;
}
.game-overlay .merge-tile.baby-compatible::after,
.game-overlay .merge-tile[data-value="6"]::after {
  content:""!important;display:block!important;position:absolute!important;
  inset:0!important;width:auto!important;height:auto!important;
  top:0!important;right:0!important;bottom:0!important;left:0!important;
  box-sizing:border-box!important;background:none!important;
  border:3px solid rgba(255,255,255,1);
  z-index:5!important;pointer-events:none!important;
  animation:famjam-baby-frame-breathe 2.6s ease-in-out infinite!important;
}
@keyframes famjam-baby-frame-breathe {
  0%,100% {opacity:1;}
  50% {opacity:.4;}
}
@media(max-width:650px){
  .game-overlay .merge-tile.baby-compatible::after,
  .game-overlay .merge-tile[data-value="6"]::after {border-width:2px!important;}
}
@media(prefers-reduced-motion:reduce){
  .game-overlay .merge-tile.baby-compatible::after,
  .game-overlay .merge-tile[data-value="6"]::after {animation:none!important;opacity:1!important;}
}

/* V181: faster Baby Fever frame, alternating white and baby yellow. */
.game-overlay .merge-tile.baby-compatible::after,
.game-overlay .merge-tile[data-value="6"]::after {
  border:3px solid #fff;
  animation:famjam-baby-frame-color 1.2s ease-in-out infinite!important;
}
@keyframes famjam-baby-frame-color {
  0%,100% {border-color:#FFFFFF;opacity:1;}
  50% {border-color:#FFD87F;opacity:1;}
}
@media(prefers-reduced-motion:reduce){
  .game-overlay .merge-tile.baby-compatible::after,
  .game-overlay .merge-tile[data-value="6"]::after {animation:none!important;border-color:#FFFFFF!important;}
}

/* V182 — thin divider, five visible stork slots, and collected-stamp feedback. */
.game-overlay .merge-play-frame .stork-inventory{border-top:0!important;}
.game-overlay .merge-play-frame{gap:0!important;}
.game-overlay .merge-play-frame .stork-inventory{border-top:3px solid #fff!important;}
.game-overlay .stork-empty .stork-inventory-items::after{content:none!important;display:none!important;}
.game-overlay .stork-inventory-items{overflow-x:auto;}
.game-overlay .stork-item.stork-slot-empty{cursor:default;pointer-events:none;transform:none!important;outline:none!important;}
.game-overlay .stork-item.stork-slot-empty img{opacity:.15;}
@keyframes passportAlreadyCollectedWiggleV182{
  0%,100%{transform:rotate(-1deg) translateX(0) scale(1)}
  10%,30%,50%,70%,90%{transform:rotate(-15deg) translateX(-7px) scale(1.08)}
  20%,40%,60%,80%{transform:rotate(15deg) translateX(7px) scale(1.08)}
}
#passportOverlay .stamp.collected.stamp-already-collected-wiggle{animation:passportAlreadyCollectedWiggleV182 .72s ease-in-out both!important;z-index:6;}
@media(prefers-reduced-motion:reduce){#passportOverlay .stamp.collected.stamp-already-collected-wiggle{animation:none!important;outline:4px solid #FFD87F!important;outline-offset:-4px;}}

/* V183 — right-to-left stork accumulation, clean hover, restored score divider. */
.game-overlay .stork-item:hover,
.game-overlay .stork-item:focus,
.game-overlay .stork-item:focus-visible{
 outline:none!important;outline-offset:0!important;box-shadow:none!important;border:0!important;
}
.game-overlay .merge-play-frame .merge-status{border-bottom:3px solid #fff!important;}
.game-overlay .merge-play-frame .merge-status>div:first-child{position:relative;isolation:isolate;}
.game-overlay .merge-play-frame .stork-score-cost{
 position:absolute;z-index:40;right:12px;top:48%;pointer-events:none;
 font-family:'DM Sans',Arial,sans-serif;font-size:clamp(17px,2.7vw,30px);
 font-weight:800;line-height:1;color:#D50704;white-space:nowrap;
 font-variant-numeric:tabular-nums;letter-spacing:0;
 animation:storkScoreDeductionV183 1.05s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes storkScoreDeductionV183{
 0%{opacity:0;transform:translate(0,-24px) rotate(-14deg)}
 12%{opacity:1;transform:translate(-2px,-17px) rotate(-10deg)}
 45%{opacity:1;transform:translate(2px,5px) rotate(9deg)}
 75%{opacity:.75;transform:translate(-2px,26px) rotate(-7deg)}
 100%{opacity:0;transform:translate(1px,49px) rotate(8deg)}
}
@media(max-width:650px){.game-overlay .merge-play-frame .stork-score-cost{right:5px;font-size:clamp(14px,4vw,23px)}}
@media(prefers-reduced-motion:reduce){.game-overlay .merge-play-frame .stork-score-cost{animation:none!important;opacity:1;transform:translateY(20px)}}

/* V184: deduction matches the actual numeric score's computed typography. */
.game-overlay .merge-play-frame .stork-score-cost{
 font-family:inherit!important;
 font-size:inherit!important;
 font-weight:inherit!important;
 line-height:inherit!important;
 letter-spacing:inherit!important;
}
/* The deduction is inserted as a sibling of the score, so inherit typography
   from the numerical score through the parent score container. */
.game-overlay .merge-play-frame .merge-status>div:first-child .stork-score-cost{
 font-size:clamp(17px,2.7vw,30px)!important;
 font-weight:800!important;
}
@media(max-width:650px){.game-overlay .merge-play-frame .merge-status>div:first-child .stork-score-cost{font-size:clamp(14px,4vw,23px)!important;}}

/* v187: Family Legacy victory tile — golden glow and intermittent reflective sweep. */
.game-overlay .merge-tile[data-value="2048"] {
  overflow:visible!important;
  isolation:isolate;
  box-shadow:0 0 12px 3px rgba(252,191,77,.65),0 0 24px 7px rgba(252,191,77,.35)!important;
  animation:legacyGoldenGlow 2.4s ease-in-out infinite!important;
}
.game-overlay .merge-tile[data-value="2048"] .tile-portrait {
  overflow:hidden!important;
}
.game-overlay .merge-tile[data-value="2048"] .legacy-shine {
  position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none;
}
.game-overlay .merge-tile[data-value="2048"] .legacy-shine::before {
  content:"";position:absolute;top:-70%;left:-95%;width:42%;height:245%;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.10) 14%,rgba(255,255,255,.8) 48%,rgba(255,255,255,.12) 83%,transparent 100%);
  transform:translateX(-160%) rotate(27deg);
  animation:legacyReflectiveSweep 5.2s ease-in-out infinite;
}
@keyframes legacyGoldenGlow {
  0%,100% {box-shadow:0 0 9px 2px rgba(252,191,77,.45),0 0 19px 4px rgba(252,191,77,.2)}
  50% {box-shadow:0 0 18px 5px rgba(252,191,77,.9),0 0 34px 12px rgba(252,191,77,.48)}
}
@keyframes legacyReflectiveSweep {
  0%,15% {transform:translateX(-160%) rotate(27deg);opacity:0}
  20% {opacity:1}
  37% {transform:translateX(780%) rotate(27deg);opacity:1}
  43%,100% {transform:translateX(780%) rotate(27deg);opacity:0}
}
@media (prefers-reduced-motion:reduce) {
 .game-overlay .merge-tile[data-value="2048"] {animation:none!important}
 .game-overlay .merge-tile[data-value="2048"] .legacy-shine::before {animation:none!important;opacity:0!important}
}

/* v191: looping video in the first mosaic tile, preserving original image geometry */
.mosaic-carousel .precise-tile.mosaic-image-tile > .mosaic-tile-video {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;border:0;margin:0;padding:0;max-width:none;}
