:root{color-scheme:light;--ink:#294455;--paper:#eef5f5;--sky:#d7e8ee;--gold:#bd9755;background:#d7e8ee;color:var(--ink);font-family:system-ui,sans-serif}
body{background:radial-gradient(ellipse at 50% 0,#f6faf8 0,#dcebf0 50%,#ccdee8 100%);color:var(--ink)}
button,select,.back-calendar,.site-back,.game-site-back{border:1px solid #fff9;border-radius:999px;background:linear-gradient(145deg,#fffdf5,#e5eef0);color:var(--ink);box-shadow:0 3px 0 #9fb6bf,0 6px 12px #3854681c;font-weight:600;transition:box-shadow .16s,transform .16s}
button:not(:disabled):hover,select:hover,.back-calendar:hover,.site-back:hover,.game-site-back:hover{box-shadow:0 4px 0 #98aeb7,0 8px 18px #38546830;transform:translateY(-1px)}
button:active,.back-calendar:active,.site-back:active,.game-site-back:active{transform:translateY(2px);box-shadow:0 1px 0 #9fb6bf}
:focus-visible{outline:3px solid #836226;outline-offset:4px}button:disabled{opacity:.55}a{color:#294455}
.search-page main{max-width:1480px;margin:auto;padding:16px 24px 12px;gap:12px}
.search-toolbar{display:grid;grid-template-columns:88px 1fr 88px;gap:6px 22px;align-items:center;width:100%;max-width:1240px;justify-self:center}
.search-page .round-control{box-sizing:border-box;width:78px;height:78px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;text-decoration:none;padding:7px;gap:1px;font-size:11px;line-height:1.12;color:#294455;border:3px solid #fffc;box-shadow:0 4px 0 #9fb5bb,0 9px 18px #38546826;background:linear-gradient(140deg,#fffdf4,#e2ecec)}
.site-back>span:first-child{font-family:Georgia,serif;font-size:30px;line-height:1}.date-heading{text-align:center}.eyebrow{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:#5a7584}.search-toolbar .date-heading h1{font:600 clamp(1.7rem,4vw,3rem)/1.15 Georgia,serif;letter-spacing:.025em;margin:4px 0;color:#294455}.date-heading [data-special-day]{font:italic 1.1rem Georgia,serif;color:#8b6538;margin:2px 0}.date-heading [data-special-day]::before,.date-heading [data-special-day]::after{content:' ✧ ';color:#b6955a}
.lantern-area{justify-self:end}.lantern-symbol svg{display:block;width:24px;height:32px;filter:drop-shadow(0 0 6px #f2cf7d)}.lantern-help{grid-column:1/-1;text-align:center;justify-self:center;max-width:650px;font-size:.82rem;line-height:1.45;color:#496675;margin:4px 0 0}
.search-page .calendar-scene{border:5px solid #f4f8f3;border-radius:24px;box-shadow:0 4px 0 #a9bdc6,0 9px 0 #c5d6dd,0 16px 28px #38556833;width:min(100%,calc((100dvh - 230px)*1.7747))}
.search-page .calendar-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.search-page footer{justify-self:center}.door-menu>summary{padding:9px 24px;border:1px solid #fffc;background:#edf4f3;border-radius:99px;box-shadow:0 3px 0 #b0c4cb;color:#365466;font-size:.8rem;min-height:0}.door-menu>div,.door-menu[open] summary{background:#edf4f3;color:#294455}.future li{color:#3f5b69;background:#e5eef0}
.back-calendar,.game-site-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 14px;text-decoration:none;font-size:.78rem;margin:3px}.game-site-back::before{content:'↶';font-size:20px}.back-calendar::before{content:'‹';font-size:23px}
main[data-puzzle],main[data-reaction]{padding:14px 20px}main[data-puzzle]>h1,main[data-reaction]>h1{font-family:Georgia,serif;color:#294455}main[data-puzzle]>p:first-of-type{font:italic clamp(.95rem,2vw,1.15rem)/1.45 Georgia,serif;color:#58717c}.workspace{background:transparent}[data-board]{border:3px solid #f8faf2;border-radius:10px;background-color:#bed1dc;box-shadow:0 3px 0 #9eb4bf,0 10px 24px #3d5d7026}[data-board] button{box-shadow:none;border-radius:0;background:transparent;transition:none;transform:none!important}[data-board] button:hover{box-shadow:none}.piece-edge [data-piece],.loose-pieces [data-piece]{border-radius:8px;background:#eff5f3;box-shadow:0 2px 0 #adc2cc,0 4px 7px #38546825;border:1px solid #fff}.piece-edge [data-piece][aria-pressed=true]{transform:scale(1.45)}[data-piece] svg{filter:drop-shadow(0 1px 1px #3453)}[data-result]{background:#edf4f4;color:#294455;box-shadow:0 5px 16px #3854681f}.score-total{color:#79591e}.game-frame{background:#d7e8ee}.launch-image{box-shadow:0 5px 0 #b4c9d1,0 15px 25px #38546833;border:5px solid #f5faf7}
@media(max-width:600px){.search-page main{padding:10px 12px;gap:8px}.search-toolbar{grid-template-columns:64px 1fr 64px;gap:5px 8px}.search-page .round-control{width:62px;height:62px;font-size:9px;padding:4px}.lantern-symbol svg{width:20px;height:25px}.site-back>span:first-child{font-size:24px}.eyebrow{font-size:.5rem;letter-spacing:.1em}.lantern-help{font-size:.72rem}.search-page .calendar-scene{border-width:3px;border-radius:20px}main[data-puzzle],main[data-reaction]{padding:8px}.back-calendar,.game-site-back{font-size:.7rem;padding:6px 10px}.date-heading [data-special-day]{font-size:.85rem}}
@media(max-height:500px){.search-page main{padding:6px 16px;gap:4px}.search-toolbar{grid-template-columns:52px 1fr 52px}.search-page .round-control{width:50px;height:50px;font-size:8px}.lantern-symbol svg{height:20px}.search-toolbar .date-heading h1{font-size:1.4rem;margin:0}.eyebrow{display:none}.lantern-help{font-size:.65rem;margin:0}.search-page .calendar-scene{width:min(100%,calc((100dvh - 145px)*1.7747))}.door-menu>summary{padding:4px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
.loose-pieces button:hover{transform:translate(-50%,-50%)}.loose-pieces button[aria-pressed=true],.loose-pieces button[aria-pressed=true]:hover{transform:translate(-50%,-50%) scale(1.45)}
