*{box-sizing:border-box}body{margin:0;background:#10253d;color:#fff;font:16px system-ui,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #eec378;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.calendar-shell{min-height:100svh;display:grid;place-items:center;background:#10253d}.calendar{position:relative;width:min(100%,540px);height:100svh;min-height:550px;max-height:960px;background:url(/winter.svg) center/cover no-repeat;display:grid;align-items:center;padding:max(18px,env(safe-area-inset-top)) 13px max(24px,env(safe-area-inset-bottom))}.doors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,minmax(44px,1fr));gap:clamp(6px,1.6vw,13px);height:92%;width:100%;align-items:stretch}.door{position:relative;transform:translateY(var(--offset));border:1px dashed #ffffff65;border-radius:3px;background:#10203315;color:#fff;font:clamp(24px,6vw,35px) Georgia,serif;text-shadow:0 1px 4px #000,0 0 6px #000;box-shadow:inset 0 0 0 1px #0001;transition:background .15s}.door:active{background:#ffffff30}.door.today{border-color:#f8da9a;box-shadow:0 0 12px #e8bd6466}.door.locked{border-color:#ffffff46}.notice{position:absolute;bottom:18px;left:14px;right:14px;text-align:center;background:#102033ee;padding:12px;border-radius:8px;z-index:2}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#07121ba6;padding:20px;z-index:3}.reveal{position:relative;width:min(100%,380px);max-height:85svh;overflow:auto;background:#f7edda;color:#382b21;border-radius:4px;box-shadow:0 10px 40px #0008;perspective:800px}.close{position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:#102033bc;color:#fff;font-size:26px}.description{width:100%;min-height:260px;padding:55px 25px 35px;border:0;color:inherit;background:transparent;font-family:Georgia,serif;animation:unfold .28s ease-out;overflow-wrap:anywhere}.description small{font-size:20px}.description p{font-size:23px;line-height:1.5;white-space:pre-wrap}.description span{font:13px system-ui;color:#765f4c}.opening{display:grid;place-items:center;min-height:260px;font:45px Georgia,serif;animation:unfold .28s ease-out}.revealed-photo{display:block;width:100%;max-height:80svh;object-fit:contain;animation:flip .3s ease-out;background:#102033}.error-in-dialog{padding:12px;text-align:center}.admin{max-width:650px;padding:24px;margin:auto}.admin section,.admin form{display:grid;gap:12px;padding:20px;margin-bottom:16px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff0c}.admin h1,.admin h2,.admin p{margin:0}.admin h2{font-size:20px}.admin label{display:grid;gap:6px}.admin input,.admin select,.admin textarea{width:100%;padding:10px;border:1px solid #a9b6c4;border-radius:5px;color:#132438;background:#fff}.admin button{background:#e9d3a4;color:#132438;padding:12px;border:0;border-radius:5px;font-weight:600}.admin a{color:#f4d694}.admin-preview{max-width:100%;max-height:180px;object-fit:contain}.admin-message{position:sticky;bottom:8px;background:#f7edda;color:#132438;padding:14px;border-radius:6px}@keyframes unfold{0%{transform:rotateY(-55deg);opacity:.35}to{transform:rotateY(0);opacity:1}}@keyframes flip{0%{transform:rotateY(75deg);opacity:.3}to{transform:rotateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
