:root{--paper:#f8f5ec;--ink:#183d34;--muted:#627267;--red:#b64037;--gold:#eabd69;--line:#d8ded1;--white:#fffdf7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-tap-highlight-color:transparent}button,a,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ce9736;outline-offset:4px}button{color:inherit}button:disabled{opacity:.55;cursor:default}a{color:inherit}button{border:0}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}.topbar{max-width:1240px;margin:auto;padding:26px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none}.brand-icon{font-size:39px;color:var(--red);line-height:1}.brand b{font-size:12px;letter-spacing:1.6px}.brand small{display:block;font-family:Georgia,serif;font-size:13px;margin-top:4px;color:var(--muted)}.quiet-button{background:transparent;min-height:44px;padding:10px 12px;font-size:13px;border-radius:8px;white-space:nowrap}.hero{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;padding:55px 48px 48px;align-items:center;gap:30px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;margin:0 0 18px;line-height:1.5}.eyebrow>span{display:inline-block;height:6px;width:6px;border-radius:50%;background:var(--red);margin-right:7px}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(70px,7.2vw,106px);line-height:.95;letter-spacing:-5px;font-weight:400;position:relative;margin:0 0 24px}.hero h1 em{color:var(--red);font-weight:400}.title-star{position:absolute;font-size:65px;top:49px;left:390px;color:#bd934a;transform:rotate(10deg)}.hero-description{color:var(--muted);line-height:1.75;font-size:15px;margin-bottom:26px}.primary-button,.cream-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--ink);color:white;padding:17px 23px;min-height:50px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:600}.primary-button span,.cream-button span{font-size:19px}.hero-details{display:flex;gap:22px;font-size:11px;margin-top:24px;color:var(--muted)}.hero-art{position:relative;min-width:0}.hero-art canvas{width:100%;display:block}.art-sticker{background:var(--gold);position:absolute;right:0;bottom:23px;transform:rotate(9deg);width:108px;height:108px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 0 5px var(--paper),0 0 0 6px #dac58e}.art-sticker span{font:italic 31px Georgia,serif}.art-sticker small{font-size:10px;margin-top:4px}.arcade-section{max-width:1240px;padding:20px 48px 55px;margin:auto}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.section-heading .eyebrow{margin-bottom:9px}.section-heading h2,.family-section h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px;font-size:42px;margin:0}.section-heading>p{font-size:13px;color:var(--muted);margin-bottom:7px}.level-picker{display:flex;gap:8px;background:#eeeee3;padding:6px;border:1px solid #e2e5d9;border-radius:11px;margin:24px 0}.level-picker button{display:flex;align-items:center;justify-content:center;gap:12px;background:transparent;flex:1;border-radius:7px;padding:13px 8px;min-height:64px;text-align:left}.level-picker .selected{background:var(--white);box-shadow:0 2px 6px #203b2510}.level-icon{font-size:26px;color:#638076}.selected .level-icon{color:var(--red)}.level-picker b{font-size:12px;display:block}.level-picker small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.game-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--white);transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px #193d340a}.game-art{height:208px;position:relative;overflow:hidden}.game-art canvas{height:100%;width:100%;object-fit:cover}.sky{background:#dbe9e7}.pink{background:#f0dcd4}.mint{background:#e5e9d9}.game-tag{position:absolute;top:16px;left:17px;font-size:8px;letter-spacing:1.5px;background:#fffdf7d9;padding:7px 9px;border-radius:4px;z-index:1;font-weight:bold}.game-info{padding:23px 22px 20px}.game-title{display:flex;justify-content:space-between;align-items:center}.game-title h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0;letter-spacing:-.5px}.game-title>span{font-size:10px;color:#99a299}.game-info p{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0 22px}.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.best{font-size:8px;letter-spacing:1px;color:var(--muted);white-space:nowrap}.best b{display:block;font-size:17px;font-weight:400;letter-spacing:0;margin-top:5px;color:var(--ink)}.play-button{display:flex;align-items:center;gap:17px;font-size:11px;font-weight:600;padding:12px 14px;border-radius:6px;background:#edf0e6;min-height:43px}.play-button span{font-size:18px}.score-note{font-size:10px;color:var(--muted);margin:18px 0 0}.preview-pairs{display:grid;grid-template-columns:repeat(3,62px);gap:10px;justify-content:center;transform:rotate(-9deg);padding-top:43px}.preview-pairs span{background:var(--ink);color:var(--gold);height:65px;border-radius:7px;display:grid;place-items:center;font-size:28px;box-shadow:0 3px 0 #b5c1ad}.preview-pairs .turned{background:#fffaf1}.family-section{max-width:1144px;margin:5px auto 0;background:var(--ink);color:var(--paper);position:relative;border-radius:13px;padding:36px 40px;display:flex;align-items:center;gap:25px;overflow:hidden}.family-icon{font-size:68px;color:var(--gold);width:100px;text-align:center;flex-shrink:0;transform:rotate(-12deg)}.family-copy{flex:1}.family-section .eyebrow{color:var(--gold);margin-bottom:12px;font-size:9px}.family-section h2{font-size:35px}.family-section h2 em{color:#e8ce94;font-weight:400}.family-copy>p:last-child{font-size:12px;line-height:1.8;color:#d2ddce}.cream-button{background:var(--paper);color:var(--ink);position:relative;z-index:1;font-size:12px;gap:15px}.family-spark{position:absolute;right:25px;top:1px;font-size:180px;color:#ffffff08}footer{max-width:1240px;margin:auto;padding:38px 48px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px;font-size:9px;color:var(--muted)}footer>span{letter-spacing:.7px}footer p{font-family:Georgia,serif;font-style:italic;font-size:12px}footer small{flex-basis:100%;font-size:9px;opacity:.85}.footer-star{margin:0 8px;color:var(--red)}
#play-screen{max-width:1000px;padding:25px 28px 45px;margin:auto}.play-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.play-heading>div{text-align:center}.play-heading .eyebrow{margin-bottom:3px;font-size:9px;letter-spacing:1.2px}.play-heading h2{font:32px Georgia,serif;margin:0}.scorebar{display:flex;justify-content:center;gap:70px;margin:25px 0 18px;text-align:center}.scorebar small{display:block;letter-spacing:1.4px;font-size:9px;color:var(--muted);margin-bottom:5px}.scorebar b{font-size:23px;font-weight:500;font-variant-numeric:tabular-nums}.game-stage{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#dce9e5;position:relative;min-height:200px}.game-stage canvas{width:100%;display:block;aspect-ratio:5/3;touch-action:none}.game-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}.game-controls p{font-size:13px;color:var(--muted);line-height:1.7;max-width:540px}.game-controls .primary-button{min-width:180px}.play-help{text-align:center;font-size:10px;color:var(--muted);margin-top:20px}#toast{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%);background:#fffdf7e8;padding:12px 20px;border-radius:20px;font:22px Georgia,serif;pointer-events:none;opacity:0;transition:opacity .15s}#toast.show{opacity:1}#pair-board{display:grid;gap:10px;padding:24px;min-height:360px;background:#e7ecdf;align-content:center}.pair{position:relative;aspect-ratio:1;min-width:0;border-radius:10px;background:var(--ink);color:var(--gold);font-size:28px;box-shadow:0 3px 0 #b3bfae;transition:transform .16s,background .16s;display:grid;place-items:center}.pair.face{background:#fffdf7;color:var(--ink);transform:rotate(-2deg)}.pair.matched{background:#d0ddbc;box-shadow:none;color:var(--ink);opacity:.7}.pair:hover{filter:brightness(1.1)}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:18px;max-width:470px;width:calc(100% - 32px);padding:30px;box-shadow:0 20px 100px #08291d35}dialog::backdrop{background:#102f28b3;backdrop-filter:blur(5px)}dialog h2{font:36px Georgia,serif;letter-spacing:-1px;margin:10px 0 14px}dialog p{font-size:13px;line-height:1.75;color:var(--muted)}dialog .eyebrow{color:var(--red);margin-bottom:8px}.dialog-icon{font-size:45px;color:#bd8e3c}.dialog-actions{display:flex;flex-direction:column;gap:10px;margin-top:23px}.dialog-actions button{width:100%}.secondary-button{background:#e9eddf;border-radius:8px;padding:14px;min-height:46px;font-size:12px}.result-score{font:58px Georgia,serif;color:var(--red);margin:12px 0 3px}.field{display:block;margin:14px 0}.field>span{display:block;font-size:11px;font-weight:bold;margin-bottom:7px}input,select{width:100%;border:1px solid #bdc9b9;border-radius:7px;background:var(--white);padding:12px;color:var(--ink);min-height:44px}.players{display:grid;grid-template-columns:1fr 1fr;gap:9px}.leader-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;font-size:14px}.leader-row:first-child{font-weight:bold;color:var(--red)}.leader-row small{color:var(--muted);margin-right:8px}.level-note{font-size:11px!important}.family-status{background:#e7ecdf;padding:10px 13px;border-radius:7px;font-size:12px}
@media(min-width:1100px){.hero-art{margin-top:-15px}.hero{gap:60px}}@media(max-width:1000px){.title-star{left:305px;font-size:48px}.family-section{margin-left:32px;margin-right:32px}.family-icon{width:65px}.family-section{padding:30px;gap:20px}.game-title h3{font-size:22px}.game-info{padding:20px 16px}.game-grid{gap:15px}.play-button{gap:8px;padding:10px}.game-art{height:175px}.hero h1{font-size:80px}}@media(max-width:720px){.topbar{padding:19px 22px}.brand b{font-size:10px;letter-spacing:1px}.brand small{font-size:11px}.brand-icon{font-size:32px}.hero{padding:35px 24px 22px;gap:5px;grid-template-columns:1fr 1fr}.hero h1{font-size:62px;letter-spacing:-3px}.title-star{left:220px;top:35px;font-size:35px}.hero-copy{position:relative;z-index:1}.hero-description{font-size:12px;line-height:1.8}.hero-description br{display:none}.hero .primary-button{padding:13px 15px;font-size:11px;gap:9px}.hero .eyebrow{font-size:8px;letter-spacing:1px}.hero-details{gap:10px;font-size:9px;flex-wrap:wrap}.hero-art{margin-left:-35px;margin-right:-10px;align-self:center}.art-sticker{height:75px;width:75px;bottom:0;right:8px}.art-sticker span{font-size:24px}.art-sticker small{font-size:7px}.arcade-section{padding:28px 24px 35px}.section-heading{display:block}.section-heading h2{font-size:35px}.section-heading>p{font-size:12px;margin:12px 0 0}.level-picker{gap:3px;padding:4px;margin:20px 0}.level-picker button{gap:5px;flex-direction:column;text-align:center;padding:10px 3px;min-height:90px}.level-picker b{font-size:10px;line-height:1.4}.level-picker small{font-size:8px}.level-icon{font-size:22px}.game-grid{grid-template-columns:1fr}.game-card{display:grid;grid-template-columns:40% 60%}.game-art{height:100%;min-height:193px}.game-art canvas{position:absolute;inset:0;object-fit:cover}.game-tag{top:11px;left:10px;letter-spacing:.6px;padding:5px 6px;font-size:7px}.game-info{padding:20px 15px}.game-title h3{font-size:24px}.game-info p{font-size:11px;margin:10px 0 13px;line-height:1.7}.game-info p br{display:none}.game-title>span{display:none}.game-bottom{gap:4px}.play-button{font-size:10px;padding:10px 11px}.best{font-size:7px}.best b{font-size:15px}.preview-pairs{grid-template-columns:repeat(2,44px);gap:8px;padding-top:48px;transform:rotate(-10deg)}.preview-pairs span{height:48px;font-size:24px}.family-section{margin:0 24px;padding:28px 25px;display:block}.family-icon{position:absolute;right:19px;top:25px;font-size:50px;width:auto;opacity:.55}.family-section h2{font-size:32px}.family-copy>p:last-child{font-size:11px}.family-section .cream-button{margin-top:9px;width:100%;justify-content:space-between}footer{padding:28px 24px;font-size:8px}footer p{margin:0;font-size:11px}.scorebar{gap:45px;margin:20px 0 15px}.play-heading h2{font-size:24px}.play-heading .quiet-button{padding:8px;font-size:11px}.play-heading .eyebrow{font-size:8px}#play-screen{padding:20px 12px 30px}.game-controls{flex-direction:column;gap:8px;margin-top:14px}.game-controls p{text-align:center;margin:0;font-size:12px}.game-controls .primary-button{width:100%;min-height:55px}.game-stage{border-radius:11px}.scorebar b{font-size:21px}#pair-board{gap:7px;padding:13px;min-height:330px}.pair{font-size:26px;border-radius:7px}.pair.compact{font-size:22px}dialog{padding:26px}.hero-details span{white-space:nowrap}}
@media(max-width:420px){.hero{grid-template-columns:1fr;padding-bottom:0}.hero h1{font-size:76px}.hero-description{font-size:13px;max-width:290px}.title-star{left:280px;top:45px}.hero-art{width:230px;position:absolute;right:0;top:184px;opacity:.25;z-index:-1}.hero{position:relative}.hero-copy{z-index:0}.art-sticker{display:none}.hero-details{margin-top:19px}.game-title h3{font-size:21px}.play-button{gap:7px;font-size:9px}.game-info{padding:18px 12px}.game-card{grid-template-columns:37% 63%}.score-note{line-height:1.7}.family-section h2{font-size:29px}.game-art{min-height:187px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

#pair-board{max-width:720px;width:100%;margin:auto}.pair{font-size:clamp(28px,4vw,45px)}.pair.compact{font-size:24px}

@media(max-width:420px){.hero-art{position:relative;width:100%;max-width:280px;right:auto;top:auto;opacity:1;z-index:0;margin:-8px auto -8px}.hero-copy{z-index:1}}

.delivery-progress{background:#202c49;color:#f8e3a4;border:2px solid #344c69;border-bottom:0;padding:15px 20px 12px;font-family:Consolas,"Courier New",monospace}.stage-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;letter-spacing:1px}.stage-topline span{color:#98d7c5;font-size:10px;white-space:nowrap}#stage-meter{height:8px;background:#111a32;margin:10px 0 6px;border:1px solid #445a73}#stage-fill{display:block;height:100%;background:#eaca76;transition:width .3s}.delivery-progress small{color:#aabbd0;font-size:10px}.retro-delivery .game-stage{border:4px solid #344c69;border-radius:0 0 8px 8px;background:#111733}.retro-delivery #game-canvas{image-rendering:pixelated}.retro-delivery .play-heading h2{font-family:Consolas,"Courier New",monospace;font-weight:900;letter-spacing:-1px;text-transform:uppercase}.retro-delivery .scorebar{background:#18243e;border:2px solid #344c69;border-radius:7px;color:#ffe3a0;padding:13px;margin-bottom:15px}.retro-delivery .scorebar small{color:#aabbd0}.retro-delivery .scorebar b{font-family:Consolas,"Courier New",monospace;font-weight:700}.retro-delivery #action{background:#a52d50;border-bottom:4px solid #642343;font-family:Consolas,"Courier New",monospace;text-transform:uppercase;font-weight:bold;box-shadow:0 3px 0 #d8c7ab}.retro-delivery #toast{background:#16203ce8;color:#fff0b8;border:2px solid #e2c578;border-radius:3px;font:700 18px Consolas,"Courier New",monospace;white-space:nowrap}.retro-delivery .game-controls{margin-top:16px}@media(max-width:720px){.stage-topline{font-size:10px;letter-spacing:0}.delivery-progress{padding:11px 12px 9px}.stage-topline span{font-size:9px}.retro-delivery .play-heading h2{font-size:23px}.retro-delivery .scorebar{padding:10px}.retro-delivery #toast{font-size:13px}.retro-delivery .scorebar small{font-size:8px}}

@media(min-width:721px){#play-screen.retro-delivery{max-width:940px;padding-top:15px}.retro-delivery .scorebar{margin-top:16px;margin-bottom:10px;padding:9px}.retro-delivery .delivery-progress{padding:10px 16px 8px}.retro-delivery .game-controls{margin-top:10px}.retro-delivery .game-controls p{font-size:12px}.retro-delivery .play-help{margin-top:10px}}

.play-view-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:10px}.play-view-tools>span{font-size:11px;color:var(--muted);margin-right:auto}.play-view-tools button{background:#e6eade;border:1px solid #cad3c1;min-height:40px}.game-immersive{overflow:hidden}#play-screen.immersive{position:fixed;inset:0;z-index:100;max-width:none!important;width:100%;height:100dvh;padding:8px!important;margin:0;background:#111a30;display:flex;flex-direction:column;gap:5px;color:#f7e7bc}.immersive .play-heading,.immersive .play-help,.immersive .game-controls p{display:none}.immersive .play-view-tools{margin:0;min-height:40px;flex-shrink:0}.immersive .play-view-tools>span{color:#bac9d7}.immersive .scorebar{position:absolute;left:14px;top:8px;margin:0!important;padding:3px 10px!important;gap:28px;background:transparent!important;border:0!important}.immersive .scorebar small{font-size:8px;margin:0;color:#bac9d7}.immersive .scorebar b{font-size:18px}.immersive .play-view-tools>span{visibility:hidden}.immersive .delivery-progress{padding:5px 12px!important;flex-shrink:0}.immersive #stage-meter{margin:4px 0;height:5px}.immersive .delivery-progress small{display:none}.immersive .game-stage{flex:1;min-height:0;border-radius:0;display:flex;align-items:center;justify-content:center;background:#0d1324}.immersive #game-canvas{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}.immersive .game-controls{margin:0!important;justify-content:center;flex-shrink:0}.immersive #action{min-height:40px;padding:8px;width:min(100%,400px)}.immersive #pair-board{overflow:auto;max-height:100%;min-height:0}@media(orientation:portrait){.immersive .scorebar{position:static;order:0}.immersive .play-view-tools>span{display:none}}@media(max-width:600px){.play-view-tools{flex-wrap:wrap}.play-view-tools>span{flex-basis:100%;text-align:center}.play-view-tools button{flex:1}.immersive .play-view-tools{flex-wrap:nowrap}.immersive .play-view-tools button{flex:0}.immersive .scorebar{gap:20px}.immersive .play-view-tools button{font-size:11px;padding:7px}}

.play-view-tools button{color:#183d34}.immersive .play-view-tools{padding-left:230px}@media(max-width:600px){.immersive .play-view-tools{padding-left:0;justify-content:flex-end}.immersive .scorebar{position:static;order:0}}
@media(pointer:coarse) and (orientation:landscape){.immersive .play-view-tools{padding-left:220px;flex-wrap:nowrap;justify-content:flex-end}.immersive .scorebar{position:absolute;left:8px;top:8px;gap:20px}.immersive .play-view-tools button{flex:0;font-size:11px;padding:7px 9px;min-height:36px}.immersive .delivery-progress{padding:4px 10px!important}.immersive #action{min-height:36px;padding:6px}}

.board-tabs{display:flex;gap:10px;margin:24px 0 15px}.board-tabs button{padding:13px 18px;background:#e9eddf;border-radius:8px;font-weight:bold}.board-tabs button.selected{background:var(--ink);color:white}.board-filters{display:flex;align-items:end;gap:12px}.board-filters label{flex:1;font-size:11px;font-weight:bold}.board-filters select{margin-top:7px}#board-note,#board-status{font-size:12px;line-height:1.6;color:var(--muted)}.board-table{width:100%;border-collapse:collapse;font-size:13px}.board-table td,.board-table th{padding:13px 10px;border-bottom:1px solid var(--line);text-align:left}.board-table th{font-size:10px;letter-spacing:1px;color:var(--muted)}.board-table td:last-child,.board-table th:last-child{text-align:right}.board-champion{background:#eee5ce;padding:15px;border-radius:9px;margin:18px 0 10px;font:20px Georgia,serif}.score-entry{padding:14px;background:#e7ecdf;border-radius:9px;margin-top:15px}.score-entry label{font-size:12px}.score-entry input{margin:8px 0}.score-entry button{width:100%}.score-entry p{margin:8px 0 0;font-size:11px}.scorebar{gap:42px}.immersive .scorebar{gap:16px!important}.immersive .play-view-tools{padding-left:300px!important}@media(max-width:600px){.board-tabs button{flex:1;padding:12px 8px;font-size:12px}.board-filters{flex-wrap:wrap}.scorebar{gap:23px}.scorebar small{font-size:8px}.immersive .play-view-tools{padding-left:0!important}.immersive .scorebar{position:static!important}}

#preview-dash{image-rendering:pixelated}
/* Santa’s sack: original illustrated cards and a board that grows by stage. */
.preview-pairs svg{width:80%;height:80%}.preview-pairs .turned{background:#fff0d7}.santa-pairs .game-stage{background:#14263c;border:3px solid #33536a;min-height:480px}.santa-pairs .delivery-progress{background:#213c4a;border-color:#527775;color:#ffe1a0}.santa-pairs .scorebar{background:#213c4a;border:2px solid #527775;color:#fff1cf;border-radius:10px;padding:10px;margin:15px 0 10px}.santa-pairs .scorebar small{color:#bdd4cf}.santa-pairs .play-heading h2{font:700 28px Georgia,serif;color:#a23951}#pairs-scene{width:100%;height:560px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 72% 40%,#41727b66,transparent 60%),linear-gradient(#12233d,#244657)}#pairs-scene:before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#e8e1bc 1px,transparent 2px),radial-gradient(circle,#b8d1ce 1px,transparent 2px);background-size:57px 73px,113px 91px;background-position:13px 7px,40px 33px;opacity:.5}#pairs-scene:after{content:'';position:absolute;bottom:-36px;left:-20%;width:140%;height:75px;background:#cfdfd6;border-radius:50%;z-index:-1}.sack-stars{position:absolute;left:3%;top:8%;color:#e8c788;font:26px Georgia,serif;letter-spacing:9px}#pairs-santa{position:absolute;left:-3%;bottom:0;width:38%;height:96%;z-index:3;pointer-events:none}#pairs-santa svg{height:100%;width:100%;overflow:visible}.pair-sack{position:absolute;left:29%;right:2%;top:10%;bottom:4%;display:flex;flex-direction:column;padding:38px 24px 15px;border:5px solid #c09256;border-radius:20% 19% 13% 13%/10% 10% 15% 15%;background:repeating-linear-gradient(32deg,#ffffff04 0px,#ffffff04 2px,transparent 2px,transparent 6px),radial-gradient(ellipse at 40% 20%,#c49a61,#8d6243 80%);box-shadow:inset 10px 0 22px #543e3670,inset -10px 0 22px #543e3670,0 12px 0 #0b172a30;z-index:2}.pair-sack:before{content:'';position:absolute;inset:13px;border:2px dashed #edc78777;border-radius:inherit;pointer-events:none}.sack-rim{position:absolute;left:-3%;right:-3%;top:-13px;height:38px;border:6px solid #c99c60;border-radius:50%;background:#513e37;box-shadow:0 8px 0 #b47d4c,0 12px 0 #6d4d3e}.sack-rim:after{content:'';position:absolute;left:7%;right:7%;top:9px;height:5px;background:#ecc48b;border-radius:50%}.sack-label{position:relative;text-align:center;margin:0 0 12px;color:#fff0c4;font-size:10px;font-weight:bold;letter-spacing:2px;text-shadow:0 2px #5c4435}#pair-board{display:grid;grid-template-columns:repeat(var(--pair-cols,4),minmax(0,1fr));grid-template-rows:repeat(var(--pair-rows,3),minmax(44px,1fr));gap:10px;padding:0;min-height:0;max-width:none;width:100%;flex:1;align-content:stretch;overflow-y:auto;background:none;position:relative;z-index:1}#pair-board .pair{min-height:44px;min-width:0;aspect-ratio:auto;border-radius:10px;border:2px solid #e3bf7c;background:linear-gradient(135deg,#365f70,#1c344e);box-shadow:0 4px 0 #574035,0 6px 8px #46322645;padding:4px;display:flex;align-items:center;justify-content:center;transition:transform .16s,background .16s}#pair-board .pair svg{width:100%;height:100%;max-height:100px;filter:drop-shadow(0 2px 0 #00000014);pointer-events:none}#pair-board .pair.face{background:linear-gradient(135deg,#fff9e5,#f5ddb1);transform:none}#pair-board .pair.matched{background:linear-gradient(135deg,#c6e7c5,#8db9a8);border-color:#e3f4d5;opacity:1;box-shadow:0 2px 0 #668575}#pair-board .pair.matched:after{content:'✓';position:absolute;right:3px;top:0;color:#256251;font:bold 12px Arial}#pair-stage-note{position:relative;text-align:center;color:#fff2ce;font-size:10px;line-height:1.5;margin:12px 0 0}.santa-pairs #toast{background:#fff0d7;color:#724039;border:2px solid #eac57e;z-index:5;font:700 18px Georgia,serif;width:max-content;max-width:90%;text-align:center}.immersive.santa-pairs .game-stage{min-height:0;overflow:auto;display:block}.immersive #pairs-scene{height:100%;min-height:310px}.immersive .pair-sack{top:9%;bottom:3%;padding-top:30px;padding-bottom:9px}.immersive .sack-label{font-size:8px;margin-bottom:7px}.immersive #pair-stage-note{font-size:9px;margin-top:5px}.immersive #pair-board{max-height:none;min-height:0;margin:0}.immersive #pair-board .pair svg{max-height:90px}.santa-pairs .game-controls{margin-top:10px}.santa-pairs .game-controls p{max-width:none;text-align:center;width:100%}@media(max-width:600px){.santa-pairs .play-heading h2{font-size:23px}#pairs-scene{height:530px}#pairs-santa{width:38%;height:75%;left:-6%;bottom:0}.pair-sack{left:22%;right:2%;top:12%;bottom:6%;padding:30px 11px 12px;border-width:3px;border-radius:14% 14% 9% 9%/7% 7% 12% 12%}.sack-label{font-size:8px;letter-spacing:1px;margin-bottom:9px}.sack-stars{left:4%;top:6%;font-size:20px}#pair-board{gap:6px;grid-template-columns:repeat(var(--pair-cols),minmax(0,1fr))}#pair-board .pair{border-radius:7px;padding:2px}#pair-stage-note{font-size:8px;margin-top:9px}.pair-sack:before{inset:6px}.immersive .pair-sack{left:24%;padding-left:9px;padding-right:9px}.immersive #pairs-santa{height:90%;width:36%;left:-4%}}@media(max-width:420px){#pair-board.many-cards{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(8,minmax(44px,1fr))}}@media(pointer:coarse) and (orientation:landscape){.immersive #pairs-scene{min-height:260px}.immersive .pair-sack{top:8%;padding-top:22px}.immersive .sack-label{display:none}.immersive #pairs-santa{height:100%;width:33%;left:0}.immersive #pair-board{gap:6px}.immersive #pair-board .pair{min-height:38px}.immersive #pair-stage-note{font-size:8px}}
@media(max-width:600px){#pair-board,#pair-board.many-cards{grid-template-columns:repeat(4,minmax(44px,1fr));grid-template-rows:none;grid-auto-rows:minmax(44px,1fr)}}
/* A high-resolution festive home for the arcade. Game canvases keep their own styles. */
body{background:#0b172b}.topbar{max-width:1280px;border-bottom:1px solid #e4c08326;padding:23px 38px;color:#fff2d7}.brand-icon{color:#e9c17d;font-size:35px}.brand b{color:#f3ddb7;font-size:11px;letter-spacing:2px}.brand small{color:#b3c4d2;font:italic 12px Georgia,serif}.arcade-nav{display:flex;gap:27px;margin-left:auto;margin-right:30px;font-size:12px}.arcade-nav a{text-decoration:none;color:#c6d3de}.arcade-nav a:hover{color:#f5cd88}.topbar #sound{border:1px solid #c6a56d52;border-radius:30px;background:#12253a;color:#f3d6a3;font-size:11px;min-height:38px}#home{color:#fff2d7;background:radial-gradient(ellipse at 95% 40%,#20434755,transparent 35%),radial-gradient(ellipse at 0% 65%,#4a23373d,transparent 35%),#0b172b}#home .festive-hero{display:block;position:relative;isolation:isolate;max-width:1204px;min-height:610px;margin:25px auto 0;padding:70px 65px 62px;overflow:hidden;border:1px solid #d6ad672e;border-radius:22px;background:#102844;box-shadow:0 30px 80px #020a1866}#home .festive-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#07162ce8 0%,#07162c9c 35%,#07162c0d 72%),linear-gradient(0deg,#07162c55,transparent 40%);pointer-events:none}.hero-illustration{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}.festive-hero .hero-copy{max-width:580px}.festive-hero .eyebrow{display:inline-flex;align-items:center;gap:9px;background:#461f32b8;border:1px solid #e8b7725c;border-radius:30px;padding:9px 14px;color:#f7d9a4;font-size:9px;letter-spacing:1.7px;margin-bottom:28px}.festive-hero .eyebrow>span{background:#e7bd73;box-shadow:0 0 14px #edc879;margin:0}.festive-hero h1{font-family:Georgia,serif;font-size:100px;line-height:.95;letter-spacing:-5px;margin:0 0 24px;font-weight:400;color:#fff4df;text-shadow:0 3px 25px #06162d80}.festive-hero h1 em{color:#f2c978;font-weight:400}.festive-hero .hero-description{font-size:15px;line-height:1.8;color:#dae3eb;margin:0 0 26px}.festive-hero .hero-description strong{font-weight:400;color:#fff0cb}.festive-hero .primary-button{background:linear-gradient(#e6bd77,#c99b51);color:#182438;box-shadow:0 3px 0 #7a5833,0 6px 20px #0003;border:1px solid #ffdf9b;border-radius:9px;font-size:12px;gap:22px;padding:16px 23px}.festive-hero .hero-details{color:#d5dfe4;font-size:10px;gap:19px;margin-top:24px}.festive-hero .hero-details span:before{content:'✓';color:#edd08e;margin-right:6px}.hero-postmark{position:absolute;right:32px;bottom:28px;width:122px;height:122px;border:1px solid #ead39c88;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;font:10px/1.7 Georgia,serif;text-align:center;color:#fff1ce;background:#09213865;transform:rotate(12deg);box-shadow:inset 0 0 0 6px #1021394d,inset 0 0 0 7px #ead39c66}.hero-postmark span{font-size:30px;line-height:1.2;color:#f3ca7c}.hero-postmark b{font:7px/1.8 Arial,sans-serif;letter-spacing:1px}.festive-ribbon{max-width:1110px;margin:28px auto 0;padding:0 15px 29px;display:flex;justify-content:space-around;gap:20px;border-bottom:1px solid #c6a76f26;color:#e2bb78;font-size:16px}.festive-ribbon b{font-size:10px;letter-spacing:.6px;color:#d9e1e8;margin-left:8px}.festive-ribbon small{display:block;color:#93a8b9;font-size:9px;margin-left:28px;margin-top:5px}#home .arcade-section{max-width:1280px;padding:58px 38px 45px;scroll-margin-top:20px}#home .eyebrow{color:#d8b97e;font-size:9px;letter-spacing:2px}#home .section-heading h2{font-size:39px;line-height:1.15;color:#fff1d7;letter-spacing:-1.3px}#home .section-heading>p{color:#a9bdcb;font-size:11px;max-width:265px;line-height:1.7}#home .level-picker{margin:25px 0 27px;background:#102236;border:1px solid #5971784d;gap:8px;padding:7px;border-radius:13px}#home .level-picker button{color:#dae3e9;padding:14px 10px;min-height:66px;transition:background .2s}#home .level-picker .selected{background:linear-gradient(135deg,#284d50,#1a393f);box-shadow:inset 0 0 0 1px #dab87899,0 4px 12px #0002}#home .level-picker .level-icon{color:#85b3b1;font-size:25px}#home .level-picker .selected .level-icon{color:#f2c77f}#home .level-picker b{font-size:11px}#home .level-picker small{color:#91a9b8;font-size:9px;margin-top:5px}#home .level-picker .selected small{color:#cbdbd9}#home .game-grid{gap:23px}#home .game-card{display:block;border:1px solid #c9a66b3d;border-radius:16px;background:#14283c;overflow:hidden;box-shadow:0 13px 35px #030b1926}#home .game-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #0005;border-color:#d5af6d88}#home .game-art{height:239px;background:#14283c;position:relative}#home .game-cover{width:100%;height:100%;display:block;object-fit:cover}#home .game-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#14283c,transparent 33%);pointer-events:none}#home .game-tag{top:17px;left:17px;background:#0b1a2bcc;border:1px solid #e2c18370;border-radius:30px;padding:7px 10px;font-size:7px;color:#f4d394;letter-spacing:1.3px;backdrop-filter:blur(6px)}#home .game-info{padding:16px 24px 24px}#home .game-title h3{font-size:27px;color:#fff1d8}#home .game-title>span{display:inline;color:#8ca5b4;font:10px Georgia,serif}#home .game-info p{color:#a8bfcc;font-size:11px;line-height:1.8;margin:12px 0 22px}#home .best{color:#8faaba;font-size:7px}#home .best b{color:#efd29a;font-size:20px}#home .play-button{background:#a5354e;border:1px solid #e47b8666;color:#fff4dd;font-size:11px;border-radius:7px;padding:11px 16px;min-height:43px;gap:19px;box-shadow:0 2px 0 #6d263a}#home .game-card:nth-child(2) .play-button{background:#2c6b61;box-shadow:0 2px 0 #18433f;border-color:#9dd1b666}#home .game-card:nth-child(3) .play-button{background:#bf9452;color:#142a3c;box-shadow:0 2px 0 #755b39;border-color:#f4d18c99}#home .score-note{color:#8aa3b5;font-size:10px;margin-top:20px}#home .leaderboards{max-width:1204px;margin:13px auto 45px;padding:37px 37px 30px;border:1px solid #bca16e3d;background:linear-gradient(125deg,#172e41,#102236);border-radius:18px;box-shadow:0 15px 40px #0002}#home .leaderboards .section-heading h2{font-size:34px}#home .board-tabs{gap:8px;margin-top:24px}#home .board-tabs button{background:#21384b;color:#bbced9;border:1px solid #52677966;font-size:11px;padding:12px 18px}#home .board-tabs button.selected{background:#d6b172;color:#182b3a;border-color:#f0d29a}#home .board-filters label{color:#cbd9df;font-size:10px}#home input,#home select{background:#102235;border:1px solid #59738766;color:#e2eaf0;padding:12px;border-radius:8px;color-scheme:dark;font-size:11px}#home #board-refresh{background:#233d4e;color:#e7c589;border:1px solid #62706c77;min-height:44px;font-size:11px}#home #board-note,#home #board-status{color:#9cb4c4;font-size:10px}#home #board-rows>p{font:italic 15px/1.8 Georgia,serif;color:#d0dce4;padding:15px 0}#home .board-champion{background:linear-gradient(90deg,#80623855,#263c4433);border:1px solid #c8a56855;color:#f6dba5;font-size:19px;padding:16px}#home .board-table{color:#e1e9ed;font-size:12px}#home .board-table th{color:#bca77b;font-size:9px}#home .board-table td,#home .board-table th{border-color:#8eacb326;padding:14px 9px}#home .family-section{max-width:1204px;border:1px solid #ba9e6955;background:linear-gradient(90deg,#173e3be8,#163835e8),url('assets/christmas-village-hero.webp') center 65%/cover;border-radius:18px;padding:40px;gap:28px;scroll-margin-top:20px;box-shadow:inset 0 0 55px #0a24294d}#home .family-section h2{color:#fff0d6;font-size:37px}#home .family-section h2 em{color:#edc68c}#home .family-copy>p:last-child{color:#aac8c5;font-size:11px}#home .family-icon{color:#e5bd7b;font-size:72px}#home .family-section .cream-button{background:linear-gradient(#ebca8d,#cba35f);color:#173136;border:1px solid #f8dfa6;font-size:11px;border-radius:8px}#home footer{max-width:1280px;color:#8ca5b8;padding:38px;font-size:8px}#home footer>span{color:#cbb487;letter-spacing:1px}#home footer p{color:#9eb4c3;font-size:12px}#home .footer-star{color:#d0a55d}#play-screen:not(.immersive)>.play-heading{color:#fff1d8}#play-screen:not(.immersive)>.play-heading h2{color:#fff1d8}#play-screen:not(.immersive)>.play-heading .eyebrow{color:#c8b68e}#play-screen:not(.immersive)>.play-help,#play-screen:not(.immersive)>.game-controls p,#play-screen:not(.immersive) .play-view-tools>span{color:#a5bac8}
@media(max-width:1100px){#home .festive-hero{margin:18px 24px 0;min-height:560px;padding:60px 44px}.festive-hero h1{font-size:90px}.festive-ribbon{margin-left:38px;margin-right:38px}#home .game-art{height:210px}#home .game-info{padding:16px 18px 23px}#home .game-title h3{font-size:24px}#home .play-button{padding:10px 12px;gap:10px}#home .leaderboards,#home .family-section{margin-left:38px;margin-right:38px}.arcade-nav{gap:18px;margin-right:20px}#home .family-section{padding:32px;gap:20px}#home .family-section h2{font-size:32px}}
@media(max-width:720px){.topbar{padding:18px 22px}.arcade-nav{display:none}.brand b{font-size:9px;letter-spacing:1.3px}.brand small{font-size:10px}.topbar #sound{font-size:10px;padding:8px 11px}#home .festive-hero{margin:12px 12px 0;padding:36px 26px 31px;min-height:650px;border-radius:15px}.festive-hero .hero-copy{max-width:440px;position:relative;z-index:2}.hero-illustration{object-position:62% center}#home .festive-hero:after{background:linear-gradient(180deg,#07162cb3 0%,#07162c85 45%,#07162c00 90%),linear-gradient(90deg,#07162c70,transparent)}.festive-hero h1{font-size:80px;letter-spacing:-4px;margin-bottom:20px}.festive-hero .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:22px;padding:8px 11px}.festive-hero .hero-description{font-size:13px;line-height:1.7;max-width:300px}.festive-hero .hero-description br{display:block}.festive-hero .primary-button{font-size:11px;padding:14px 16px;gap:15px;min-height:48px}.festive-hero .hero-details{font-size:9px;margin-top:18px;gap:15px}.hero-postmark{width:91px;height:91px;right:16px;bottom:18px;font-size:8px}.hero-postmark span{font-size:22px}.hero-postmark b{font-size:5px}.festive-ribbon{margin:22px 24px 0;padding:0 0 23px;gap:10px;align-items:start;text-align:center}.festive-ribbon>span{flex:1;font-size:17px}.festive-ribbon b{display:block;font-size:8px;line-height:1.7;letter-spacing:.2px;margin:5px 0 0}.festive-ribbon small{font-size:7px;line-height:1.5;margin:2px 0 0}#home .arcade-section{padding:35px 22px}#home .section-heading h2{font-size:31px;max-width:300px;line-height:1.15}#home .section-heading>p{max-width:none;font-size:11px;margin-top:12px}#home .level-picker{padding:5px;gap:4px;margin-top:23px;margin-bottom:23px}#home .level-picker button{min-height:100px;padding:11px 4px;gap:8px}#home .level-picker b{font-size:9px}#home .level-picker small{font-size:8px}#home .level-picker .level-icon{font-size:23px}#home .game-grid{grid-template-columns:1fr;gap:24px}#home .game-card{display:block}#home .game-art{height:auto;aspect-ratio:1.65;min-height:0}#home .game-cover{position:absolute;inset:0}#home .game-info{padding:14px 22px 25px}#home .game-title h3{font-size:29px}#home .game-title>span{font-size:11px}#home .game-info p{font-size:12px;line-height:1.75;margin:12px 0 21px}#home .game-info p br{display:block}#home .game-bottom{gap:15px}#home .play-button{font-size:12px;padding:12px 19px;gap:21px;min-height:46px}#home .best{font-size:8px}#home .best b{font-size:22px}#home .leaderboards{margin:4px 22px 28px;padding:27px 20px}#home .leaderboards .section-heading h2{font-size:30px}#home .board-tabs{gap:6px}#home .board-tabs button{font-size:10px;padding:12px 8px}#home .board-filters{gap:10px}#home .board-filters label{min-width:calc(50% - 10px)}#home .board-filters select{font-size:10px}#home #board-refresh{font-size:10px;padding:8px 14px}#home .board-champion{font-size:17px;line-height:1.5}#home .board-table{font-size:10px}#home .board-table td,#home .board-table th{padding:12px 6px}#home .family-section{margin:0 22px;padding:31px 24px}#home .family-section h2{font-size:31px;line-height:1.2}#home .family-section .family-icon{font-size:52px;right:22px;top:26px}#home .family-section .eyebrow{max-width:235px;font-size:8px;line-height:1.8}#home .family-section .cream-button{margin-top:14px;font-size:12px;min-height:48px}#home footer{padding:29px 24px;font-size:8px;line-height:1.8}#home footer p{font-size:11px}}
@media(max-width:370px){.festive-hero h1{font-size:71px}#home .festive-hero{padding-left:21px;padding-right:21px}.festive-hero .primary-button{font-size:10px;gap:10px}.festive-hero .hero-details{font-size:8px;gap:10px}#home .section-heading h2{font-size:29px}#home .level-picker b{font-size:8px}#home .level-picker small{font-size:7px}#home .game-title h3{font-size:27px}}
dialog{border:2px solid #cfad70;background:linear-gradient(145deg,#fff8e6,#eee7d6);box-shadow:0 25px 100px #02091599}dialog::backdrop{background:#061322c9;backdrop-filter:blur(7px)}dialog .primary-button{background:linear-gradient(#a73b51,#7f293f);color:#fff4df;border:1px solid #c56c7c}dialog .secondary-button{background:#dde7df;color:#24463d}dialog .dialog-icon{color:#bb8d43}dialog input,dialog select{background:#fffaf0}.topbar:after{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,#c49c5f88,#e9ca8c, #c49c5f88,transparent);pointer-events:none}
@media(max-width:720px){#home .festive-hero h1{font-size:clamp(60px,20vw,80px)}}
/* Illustrated championship panels. */
#home .leaderboards{overflow:hidden;padding-top:0}.hall-masthead{position:relative;isolation:isolate;min-height:254px;margin:0 -37px 26px;overflow:hidden;background:#07172e;border-bottom:1px solid #c9a66e4d}.hall-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right 48%;z-index:-2}.hall-masthead:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081a32 0%,#081a32d9 30%,#081a3200 75%);z-index:-1}.hall-heading{padding:37px;max-width:62%}.hall-heading .eyebrow{margin-bottom:13px!important;font-size:8px!important}#home .hall-heading h2{font:400 39px/1.04 Georgia,serif;letter-spacing:-1px;margin:0;color:#fff2d9}#home .hall-heading h2 em{color:#efc77f;font-weight:400}.hall-heading>p:last-child{color:#afc4d2;font-size:11px;line-height:1.7;margin:16px 0 0}#home .board-tabs{margin-top:0}.board-empty{display:flex;align-items:center;gap:23px;padding:27px 24px;margin-top:21px;border:1px dashed #b99c616b;border-radius:13px;background:radial-gradient(ellipse at left,#ab804022,transparent 65%),#0b1f32}.empty-medal{width:75px;height:75px;flex-shrink:0;display:grid;place-items:center;border:1px solid #d2ad6a;border-radius:50%;font-size:36px;color:#f7d28a;box-shadow:inset 0 0 0 6px #10283b,inset 0 0 0 7px #9c824d66,0 0 26px #b88b3122;background:linear-gradient(135deg,#74552b,#253f48)}.empty-kicker{font-size:8px!important;letter-spacing:1.5px;color:#c6ab75!important;margin:0 0 7px!important}.board-empty h3{font:400 25px/1.2 Georgia,serif;color:#fae9c9;margin:0 0 9px}.board-empty p{font-size:11px;line-height:1.7;color:#a8bfcb;max-width:490px;margin:0 0 13px}.empty-play{display:inline-flex;align-items:center;gap:23px;text-decoration:none;color:#f2cc8a;font-size:11px;font-weight:bold;border-bottom:1px solid #b4935766;padding:0 0 5px}.empty-play:hover{color:#fff1cd}#home #board-note{margin-top:17px}#home #family.family-section{display:block;position:relative;isolation:isolate;min-height:430px;padding:45px 47px;overflow:hidden;background:#122c25;border:1px solid #c9a46a66;box-shadow:0 15px 45px #0004}.family-night-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}#family:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102c25f5 0%,#102c25b8 35%,#102c250d 75%)}#family .family-copy{max-width:51%}#home #family .eyebrow{font-size:8px;letter-spacing:1.8px;color:#e1c18d;margin-bottom:18px}#home #family h2{font:400 46px/1.05 Georgia,serif;letter-spacing:-1.4px;margin:0}#home #family h2 em{color:#f4ca80;font-weight:400}#home #family .family-copy>p:not(.eyebrow){font-size:11px;line-height:1.8;color:#c2d3cb;margin:17px 0}.family-rules{display:flex;gap:16px;margin:22px 0;color:#b7cfc3;font-size:9px}.family-rules>span{padding-right:16px;border-right:1px solid #d0b3794d}.family-rules>span:last-child{padding-right:0;border:0}.family-rules b{font:400 19px Georgia,serif;display:block;color:#f2d49e;margin-bottom:3px}#home #family .cream-button{font-size:11px;padding:14px 19px;min-height:48px;gap:25px;box-shadow:0 3px 0 #866436;margin-top:0;width:auto}.family-fair-play{display:block;font-size:8px;line-height:1.7;color:#9cb9ac;margin-top:14px}
@media(max-width:1000px){#home #family.family-section{padding:36px;min-height:430px}#family .family-copy{max-width:55%}#home #family h2{font-size:41px}.hall-heading{padding:32px}.hall-masthead{min-height:245px}}@media(max-width:720px){#home .leaderboards{padding-top:0}.hall-masthead{margin:0 -20px 23px;min-height:292px}.hall-art{object-fit:cover;object-position:77% center}.hall-masthead:after{background:linear-gradient(90deg,#081a32e8 0%,#081a32a1 38%,#081a3214 80%),linear-gradient(0deg,#142b3ce8,transparent 45%)}.hall-heading{padding:26px 21px 30px;max-width:67%}#home .hall-heading h2{font-size:31px;line-height:1.06;letter-spacing:-.8px}.hall-heading .eyebrow{font-size:7px!important;line-height:1.8;letter-spacing:1.3px!important;max-width:145px}.hall-heading>p:last-child{font-size:10px;line-height:1.7;margin-top:17px}.board-empty{padding:21px 17px;gap:14px;align-items:flex-start;flex-direction:column}.empty-medal{height:55px;width:55px;font-size:27px}.board-empty h3{font-size:24px}.board-empty p{font-size:11px}.empty-kicker{font-size:7px!important}.empty-play{font-size:10px;gap:13px}#home #family.family-section{padding:29px 24px 260px;min-height:0}.family-night-art{object-fit:cover;object-position:73% bottom;height:300px;top:auto;bottom:0}#family:after{background:linear-gradient(180deg,#122d25 0%,#122d25 49%,#122d2500 72%)}#family .family-copy{max-width:none}#home #family .eyebrow{font-size:7px;line-height:1.9;letter-spacing:1.4px;max-width:none;margin-bottom:15px}#home #family h2{font-size:39px;line-height:1.05;letter-spacing:-1px}#home #family .family-copy>p:not(.eyebrow){font-size:11px;margin:16px 0;line-height:1.8}.family-rules{gap:20px;margin:20px 0 21px}.family-rules>span{padding-right:20px;font-size:9px}.family-rules b{font-size:21px}#home #family .cream-button{width:100%;font-size:10px;justify-content:space-between;padding:14px 14px;gap:12px}.family-fair-play{font-size:8px;margin-top:13px}}@media(max-width:370px){#home .hall-heading h2{font-size:28px}#home #family h2{font-size:36px}.hall-heading{max-width:70%}.family-rules{gap:14px}.family-rules>span{padding-right:14px}}
@media(min-width:721px){.hall-art{object-fit:contain;object-position:right center;background:#07172e}.family-night-art{object-position:center 20%}}
/* Detailed in-game illustrations, with the same responsive play geometry. */
.retro-delivery #game-canvas{image-rendering:auto}.retro-delivery .play-heading h2{font-family:Georgia,serif;letter-spacing:-.8px;text-transform:none}.retro-delivery .delivery-progress,.retro-delivery .scorebar b{font-family:Arial,Helvetica,sans-serif}.retro-delivery #action{font-family:Arial,Helvetica,sans-serif;text-transform:none;font-weight:600;background:linear-gradient(#ac4055,#812b42);border:1px solid #d58b8f;border-bottom:3px solid #61293c}.retro-delivery .game-stage{border-color:#6c7e87}.retro-delivery #toast{font:600 17px Georgia,serif;border-radius:12px;white-space:normal;text-align:center;max-width:90%}.hd-pair-icon{display:block;width:min(100%,110px);aspect-ratio:1;background-image:url('assets/game-pair-icons.webp');background-size:500% 400%;background-position:var(--icon-x) var(--icon-y);border-radius:8px;flex-shrink:1}.preview-pairs .hd-pair-icon{width:100%;height:100%}#pair-board .pair.face,#pair-board .pair.matched{background:#fff9ed}#pair-board .pair.matched{border-color:#9cd6b7;box-shadow:0 0 0 2px #418c6e,0 3px 8px #08232240}#pair-board .pair.matched:after{background:#2f7862;color:white;border-radius:50%;width:15px;height:15px;line-height:15px;top:3px;right:3px}#pairs-santa img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 7px #06152b55)}.pair-sack{background:linear-gradient(90deg,#7b502e55,transparent 25%,transparent 75%,#7b502e55),url('assets/game-sack-cloth.webp') center/cover;border-color:#d3a45f;box-shadow:inset 12px 0 25px #543e3688,inset -12px 0 25px #543e3688,0 12px 0 #0b172a40}#pairs-scene{background:linear-gradient(#0b203033,#0b203033),url('assets/game-night-sky.webp') center/cover}#pairs-scene:before{opacity:.25}.sack-rim{background:linear-gradient(#36231e,#654a32);border-color:#dfb573;box-shadow:0 8px 0 #bb8545,0 12px 0 #6d4d3e}.sack-label{text-shadow:0 2px 5px #432a19}.santa-pairs #pairs-santa{left:-4%;width:39%;height:94%}@media(max-width:600px){.hd-pair-icon{border-radius:4px;width:min(100%,80px)}.santa-pairs #pairs-santa{left:-7%;width:39%;height:75%}}@media(pointer:coarse) and (orientation:landscape){.immersive.santa-pairs #pairs-santa{height:100%;width:35%;left:-3%}}
#pair-board .pair:not(.face):not(.matched){background:linear-gradient(135deg,#31566ae8,#10263cf0),url('assets/game-sack-cloth.webp') center/cover;box-shadow:inset 0 0 16px #8db8c818,0 4px 0 #574035,0 6px 8px #46322645}#pair-board .pair svg.hd-card-face{width:100%;height:100%;max-height:110px;overflow:hidden}#pair-board .pair.face{background:#fff9ed;border-color:#ebc887;box-shadow:inset 0 0 18px #d8ab5e22,0 4px 0 #574035}#pair-board .pair.matched{background:#fff9ed}

.start-countdown{position:absolute;inset:0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#08162d66;pointer-events:none;color:#ffdf89;text-shadow:0 5px 0 #5e1631,0 0 35px #000b}.start-countdown[hidden]{display:none}.countdown-caption{font:800 clamp(12px,2vw,22px) Arial,sans-serif;letter-spacing:.24em;color:#fff7df}.start-countdown strong{font:900 clamp(90px,20vw,210px)/1.1 Arial,sans-serif;letter-spacing:-.05em}#action:disabled{cursor:default;opacity:.65}

.start-countdown[data-phase="ready"] strong{font-size:clamp(35px,8vw,96px);letter-spacing:-.04em}.start-countdown[data-phase="ready"] .countdown-caption{visibility:hidden}

/* Prominent difficulty choices on the arcade and every solo start screen. */
.difficulty-heading{margin:32px 0 12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.difficulty-heading h3{font:900 19px Arial,sans-serif;letter-spacing:.06em;color:#fff4da;margin:0}.difficulty-heading p{margin:0;padding:10px 15px;background:#f7d27d;color:#152c36;border-radius:8px;font-size:13px;font-weight:800}.level-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:transparent;border:0;padding:0;margin:0 0 28px}.level-picker button{min-height:124px;justify-content:flex-start;padding:18px 16px;gap:14px;border:2px solid #718b95;border-radius:13px;background:#183242;color:#fff4dc;box-shadow:none;position:relative;text-align:left}.level-picker button.selected{background:#ffdb82;color:#122b35;border:3px solid #fff2c5;box-shadow:0 0 0 3px #ca9a3d,0 8px 20px #0003}.level-picker .level-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;background:#ffffff19;border-radius:50%;color:inherit;font:bold 23px Arial,sans-serif}.level-picker .selected .level-icon{color:#183542;background:#ffffff80}.level-picker b{font:900 26px Arial,sans-serif;letter-spacing:.025em;color:inherit}.level-picker small{font-size:12px;line-height:1.45;color:#d2dfdf;display:block;margin-top:5px}.level-picker .selected small{color:#334b50}.level-state{font:800 10px Arial,sans-serif;letter-spacing:.06em;display:block;margin-top:12px;text-transform:uppercase;color:inherit}.ready-difficulty{margin:22px 0 18px}.ready-difficulty h3{font:900 13px Arial,sans-serif;letter-spacing:.06em;margin:0 0 12px;color:#1d413a}.ready-level-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ready-level-picker button{min-height:108px;border:2px solid #b3bdb2;border-radius:9px;background:#e8ecdf;color:#203d36;padding:13px 8px;text-align:center;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.ready-level-picker button.selected{background:#ffda80;border:3px solid #8f611d;box-shadow:0 0 0 2px #f6e7ba}.ready-level-picker b{font:900 18px Arial,sans-serif}.ready-level-picker small{font-size:10px;line-height:1.4}.ready-level-picker span{font:800 9px Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}.ready-level-picker button:focus-visible{outline:3px solid #9d2c44;outline-offset:3px}@media(max-width:700px){.difficulty-heading{margin-top:25px}.difficulty-heading h3{font-size:17px}.difficulty-heading p{width:100%;font-size:12px}.level-picker{gap:9px}.level-picker button{flex-direction:column;align-items:center;text-align:center;gap:9px;padding:16px 7px;min-height:153px}.level-picker .level-icon{flex-basis:auto;width:30px;height:30px;font-size:19px}.level-picker b{font-size:20px}.level-picker small{font-size:10px}.level-state{font-size:9px;margin-top:9px}.ready-level-picker{gap:7px}.ready-level-picker b{font-size:16px}.ready-level-picker button{padding:12px 5px}.ready-level-picker small{font-size:9px}}

/* Keep the level within reach during each solo game. */
.play-difficulty{margin:12px 0 16px}.play-level-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.play-level-picker button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;min-height:50px;padding:10px 8px;border:2px solid #718b95;border-radius:9px;background:#183242;color:#fff4dc}.play-level-picker b{font:900 17px Arial,sans-serif}.play-level-picker span{font:800 10px Arial,sans-serif}.play-level-picker .selected{background:#ffdb82;color:#122b35;border-color:#fff2c5;box-shadow:0 0 0 2px #ca9a3d}.play-level-picker button:focus-visible{outline:3px solid #fff2c5;outline-offset:4px}.play-level-picker button:disabled{cursor:default;opacity:.7}.play-level-picker button.selected:disabled{opacity:1}#play-level-note{font-size:12px;color:#d2dfdf;margin:9px 0 0;text-align:center}@media(max-width:600px){.play-level-picker{gap:7px}.play-level-picker button{flex-direction:column;gap:5px;min-height:60px}.play-level-picker b{font-size:15px}.play-level-picker span{font-size:9px}#play-level-note{font-size:11px}}@media(pointer:coarse) and (orientation:landscape){.immersive .play-difficulty{margin:4px 0}.immersive .play-level-picker button{min-height:36px;padding:5px;flex-direction:row}.immersive #play-level-note{margin:4px 0;font-size:10px}}

/* Christmas storybook screens: illustrated scenes, fir garlands and lamplight. */
#modal{box-sizing:border-box;width:min(600px,calc(100% - 24px));max-width:600px;max-height:calc(100dvh - 28px);padding:0;border:1px solid #d4b679;border-radius:22px;color:#fff4df;background:radial-gradient(ellipse at 0 20%,#24544955,transparent 65%),linear-gradient(145deg,#102d3c,#081a2c 75%);box-shadow:0 0 0 5px #d3b07512,0 30px 110px #000b,inset 0 0 45px #142e40;scrollbar-width:thin;scrollbar-color:#c9a66d #0b2030;color-scheme:dark;overflow-x:hidden;overflow-y:auto}#modal::backdrop{background:radial-gradient(ellipse at top,#22494366,#020a18e6 70%);backdrop-filter:blur(8px)}#modal-inner{position:relative;isolation:isolate}.festive-dialog-scene{height:205px;position:relative;overflow:hidden;background:#102d40;border-bottom:1px solid #d5b06e66}.festive-dialog-art{width:100%;height:100%;object-fit:cover;object-position:center 46%;display:block}.festive-dialog-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#020e2877,transparent 40%,#0d2538 100%);pointer-events:none}.festive-dialog-garland{position:absolute;top:0;left:0;width:100%;height:70px;object-fit:cover;z-index:3;pointer-events:none}.festive-dialog-brand{position:absolute;top:67px;left:23px;color:#fff3d0;font:bold 8px Arial,sans-serif;letter-spacing:.2em;z-index:2;text-shadow:0 2px 7px #000}.festive-dialog-brand i{display:block;font:italic 18px Georgia,serif;letter-spacing:0;margin-top:4px}.festive-dialog-stamp{position:absolute;bottom:15px;left:0;right:0;text-align:center;font:800 9px Arial,sans-serif;letter-spacing:.21em;color:#f4d58d;z-index:2}.festive-dialog-body{padding:0 30px 20px;position:relative}.festive-dialog-body:before{content:'';position:absolute;top:0;left:14px;right:14px;height:1px;background:linear-gradient(90deg,transparent,#e5c78977,transparent)}#modal .festive-dialog-wish{display:flex;align-items:center;justify-content:center;gap:10px;font:italic 13px/1.5 Georgia,serif;color:#e6cb96;margin:16px 0 18px}#modal .festive-dialog-wish span{font-style:normal;font-size:10px;color:#efc86f}#modal .dialog-icon{display:none}#modal .eyebrow{color:#e4bd78;font-size:9px;letter-spacing:.19em;margin-bottom:7px}#modal h2{color:#fff4dc;font:400 35px/1.08 Georgia,serif;letter-spacing:-1px;margin:8px 0 12px;text-shadow:0 2px 12px #0003}#modal p{color:#c5d8df;font-size:12px;line-height:1.65}#modal .level-note{font-size:10px!important;color:#a9c0cd}#modal .family-status{background:linear-gradient(120deg,#29534466,#183d4a66);border:1px solid #a2b4a333;border-left:3px solid #dab366;border-radius:9px;color:#e4dbc4;font-size:11px;padding:10px 12px;margin:16px 0}#modal .ready-difficulty{margin:18px 0 14px}#modal .ready-difficulty h3{color:#f2d395;font:800 11px Arial,sans-serif;letter-spacing:.12em;margin-bottom:10px}#modal .ready-level-picker{gap:9px}#modal .ready-level-picker button{background:linear-gradient(145deg,#23434e,#142c40);color:#e4e8dd;border:1px solid #638076;min-height:108px;border-radius:12px;box-shadow:inset 0 1px 0 #ffffff10;padding:12px 7px;position:relative;overflow:hidden}#modal .ready-level-picker button:before{content:'';position:absolute;right:7px;top:5px;width:8px;height:8px;background:#d6b16855;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}#modal .ready-level-picker button.selected{background:linear-gradient(135deg,#fff1b2,#e9bd61);color:#263b35;border:2px solid #fff4c6;box-shadow:0 0 0 2px #aa8542,0 3px 18px #eec66e22}#modal .ready-level-picker b{font-size:17px}#modal .ready-level-picker small{font-size:10px;line-height:1.4}#modal .ready-level-picker span{font-size:9px}#modal .ready-level-picker button:focus-visible,#modal button:focus-visible,#modal input:focus-visible,#modal select:focus-visible{outline:3px solid #f7d483;outline-offset:3px}#modal .dialog-actions{gap:9px;margin-top:18px}#modal .primary-button{background:linear-gradient(115deg,#cc3b4c,#a51f38 65%,#7d1730);color:#fff4dc;border:1px solid #f09585;border-bottom:3px solid #5b1829;border-radius:10px;min-height:49px;font-weight:800;font-size:12px;box-shadow:0 4px 20px #b92c3d22,inset 0 1px 0 #ffc5a333;position:relative;overflow:hidden}#modal .primary-button:before{content:'';position:absolute;left:15px;top:50%;transform:translateY(-50%);width:14px;height:14px;background:#ffe0a0;clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);pointer-events:none}#modal .secondary-button{background:#153444;color:#d6e2db;border:1px solid #77978c66;border-radius:10px;min-height:43px;font-size:11px}#modal .primary-button:hover{filter:brightness(1.12)}#modal .secondary-button:hover{background:#204a53}#modal .field{margin:13px 0}#modal .field>span,#modal .score-entry label{color:#e9d5a6;font-size:11px}#modal input,#modal select{border:1px solid #739080;background:#102d3a;color:#fff2d4;border-radius:9px;font-size:13px;padding:12px;min-height:46px;box-shadow:inset 0 2px 8px #0002}#modal input::placeholder{color:#a8c1c5}#modal select option{background:#102d3a;color:#fff2d4}#modal .players{gap:9px}#modal #add-player{color:#f1d08c;border:1px dashed #b3a16c77;border-radius:8px;padding:9px 13px;font-size:11px;min-height:40px;background:#d3b16808}#modal .result-score{color:#ffdb87;text-shadow:0 0 25px #f2b94433;font-size:62px}#modal .leader-row{color:#e4e9e0;border-color:#9cbaaa33;padding:12px;border-radius:8px;background:#234b4e33;margin-bottom:5px}#modal .leader-row:first-child{color:#ffe3a3;background:linear-gradient(90deg,#c7a46133,#214b4522);border:1px solid #b59c5c66}#modal .leader-row small{color:#b2c9cf}#modal .score-entry{background:#18394988;border:1px solid #557a7455;border-radius:12px;padding:14px}#modal .score-entry button{margin-top:9px}#modal .festive-dialog-foot{display:flex;align-items:center;justify-content:center;gap:9px;font:10px Georgia,serif;color:#cdb780;line-height:1.5;text-align:center;padding-top:18px;margin-top:17px;border-top:1px solid #b5ac7c33}#modal .festive-dialog-foot span{color:#9ebcc6;font-size:10px}.festive-dialog-snow{position:absolute;inset:-50px 0 0;z-index:1;pointer-events:none;opacity:.7;background-image:radial-gradient(circle,#fff9df 1px,transparent 2px),radial-gradient(circle,#fff9dfaa 1px,transparent 2px);background-size:57px 69px,91px 87px;background-position:0 0,25px 31px;animation:dialog-snow 14s linear infinite}@keyframes dialog-snow{to{transform:translateY(60px)}}#modal[data-theme="family"] .festive-dialog-art{object-position:70% 43%}#modal[data-theme="pairs"] .festive-dialog-art{object-position:center 39%}#modal[data-theme="dash"] .festive-dialog-art{object-position:center 40%}
@media(max-width:600px){#modal{width:calc(100% - 22px);border-radius:18px;max-height:calc(100dvh - 24px)}.festive-dialog-scene{height:174px}.festive-dialog-body{padding:0 20px 17px}.festive-dialog-brand{left:16px;top:57px;font-size:7px}.festive-dialog-brand i{font-size:16px}.festive-dialog-garland{height:56px}.festive-dialog-stamp{font-size:8px;letter-spacing:.16em;bottom:13px}#modal h2{font-size:31px;letter-spacing:-.7px}#modal .festive-dialog-wish{font-size:12px;margin:11px 0 15px;gap:8px}#modal .ready-level-picker{gap:7px}#modal .ready-level-picker button{min-height:105px;padding:12px 5px}#modal .ready-level-picker b{font-size:15px}#modal .ready-level-picker small{font-size:9px}#modal .ready-level-picker span{font-size:8px}#modal .primary-button{font-size:11px}#modal .festive-dialog-foot span{font-size:9px}#modal p{font-size:12px}#modal .level-note{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.festive-dialog-snow{animation:none}}
#modal[data-theme="drop"] .festive-dialog-art{object-position:center 25%}

#modal .ready-sound{width:100%;min-height:42px;border:1px solid #bda66d66;border-radius:8px;background:#173c48;color:#ffe2a3;font-size:12px;margin-top:4px}#arcade-loading{padding:12px;border:1px solid #d4b679;border-radius:8px;color:#ffe2a3}
