/* A tactile paper moment inside a cinematic Christmas scene. */
.santaPostLaunch{white-space:normal}.santaPostStorage{font-size:12px!important;line-height:1.6}.santaPostStorage button{font-size:12px;text-decoration:underline}.santaPostDialog{width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #dbb562;border-radius:22px;background:#0c2a24;color:#fff6dc;box-shadow:0 30px 120px #000b;overflow:auto}.santaPostDialog::backdrop{background:#03110ee8;backdrop-filter:blur(8px)}.santaPostFrame{position:relative}.santaPostHeading{display:flex;justify-content:space-between;align-items:center;padding:24px 30px 8px;gap:16px}.santaPostHeading small{font:700 10px/1.5 Arial,sans-serif;letter-spacing:.2em;color:#e9bf6a}.santaPostHeading h2{font-size:clamp(26px,4vw,42px);margin:5px 0;font-family:inherit;line-height:1.05}.santaPostClose{flex:none;width:44px;height:44px;border:1px solid #ddba6e66;border-radius:50%;color:#fff;background:#112e26;font-size:30px;cursor:pointer}.santaPostDisclaimer{text-align:center;font-size:12px;color:#e6ddc6;margin:8px 18px 16px}.santaPostScene{height:480px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(0deg,#071f21 0%,#0b263e55 55%),url('/assets/christmas-map.webp') center/cover}.santaPostScene:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 25% 45%,#ffe6ab20,transparent 55%);z-index:-1}.santaPostSky{position:absolute;inset:0;z-index:-1;background:linear-gradient(#051d36a3,#153a3250 65%,#092624)}.santaPostEnvelope{position:absolute;left:8%;top:22%;width:37%;height:240px;padding:0;background:linear-gradient(135deg,#fff9e9,#dfd0aa);border:1px solid #f5d9a3;border-radius:5px;box-shadow:0 22px 32px #0008;color:#284537;text-align:left;cursor:pointer;transform:translate(var(--drag-x,0px),var(--drag-y,0px)) rotate(-5deg);transition:height .5s,top .5s,box-shadow .2s;z-index:4;touch-action:none;user-select:none}.santaPostPaper{display:flex;flex-direction:column;gap:12px;padding:25px;height:100%;overflow:hidden;background:repeating-linear-gradient(0deg,transparent,transparent 29px,#9e8c5e12 30px)}.santaPostPaper small{font-size:9px;letter-spacing:.2em;font-weight:800;color:#a62137}.santaPostPaper strong{font:italic 27px Georgia,serif}.santaPostWish{font:15px/1.5 Georgia,serif;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.santaPostFrom{font:italic 13px Georgia,serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.santaPostFlap{display:none;position:absolute;inset:0;clip-path:polygon(0 0,100% 0,50% 58%);background:linear-gradient(#fff8e6,#d4c39b);filter:drop-shadow(0 2px 2px #594725)}.santaPostSeal{display:none;position:absolute;left:calc(50% - 24px);top:39%;height:48px;width:48px;text-align:center;line-height:48px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e24749,#881a2f 80%);color:#ffe3a0;border:3px double #edb560;box-shadow:0 3px 4px #4a182b80;font-size:25px}.santaPostAddress{display:none;position:absolute;bottom:13px;left:18px;font:italic 18px Georgia,serif}.santaPostAddress small{font:8px Arial,sans-serif;letter-spacing:.16em}.santaPostMailbox{position:absolute;right:8%;bottom:0;width:34%;height:94%;padding:0;border:0;background:none;cursor:pointer;transition:filter .2s,transform .2s}.santaPostMailbox img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 10px 20px #0009);pointer-events:none}.santaPostMailbox:disabled{opacity:1;cursor:default}.santaPostMailbox.is-over{filter:drop-shadow(0 0 20px #ffe4a2);transform:scale(1.04)}.santaPostScene[data-stage=sealed] .santaPostEnvelope,.santaPostScene[data-stage=flying] .santaPostEnvelope{height:170px;top:33%}.santaPostScene[data-stage=sealed] .santaPostPaper,.santaPostScene[data-stage=flying] .santaPostPaper{visibility:hidden}.santaPostScene[data-stage=sealed] .santaPostFlap,.santaPostScene[data-stage=sealed] .santaPostSeal,.santaPostScene[data-stage=sealed] .santaPostAddress,.santaPostScene[data-stage=flying] .santaPostFlap,.santaPostScene[data-stage=flying] .santaPostSeal{display:block}.santaPostEnvelope.is-dragging{transition:none;box-shadow:0 30px 45px #000a;cursor:grabbing}.santaPostScene[data-stage=flying] .santaPostEnvelope{animation:santaPostDrop .6s ease-in forwards;pointer-events:none}.santaPostSleigh{position:absolute;top:5%;left:-65%;width:55%;opacity:0;z-index:6;pointer-events:none}.santaPostScene[data-stage=flying] .santaPostSleigh{animation:santaPostFlight 2s .5s ease-in-out both}.santaPostFoot{display:flex;align-items:center;justify-content:center;min-height:70px;padding:12px 26px;gap:20px;text-align:center}.santaPostFoot p{font-size:14px;line-height:1.5;margin:0;max-width:620px}.santaPostFoot button{color:#ffe5b2;white-space:nowrap}.santaPostReceipt{position:absolute;inset:20px 15%;padding:24px 20px;text-align:center;background:#fff3d9;color:#173e30;border:5px double #b68d43;box-shadow:0 15px 60px #0009;z-index:10;overflow:auto}.santaPostReceipt[hidden]{display:none}.santaPostReceipt>small{letter-spacing:.24em;font-size:10px;font-weight:800}.santaPostReceipt h3{font-size:30px;margin:10px 0}.santaPostReceipt p{font:16px/1.45 Georgia,serif;margin:10px 0}.santaPostStamp{border:3px double #ad243c;border-radius:50%;width:114px;height:114px;display:flex;flex-direction:column;justify-content:center;margin:12px auto;color:#a51f38;transform:rotate(-12deg);font:bold 20px/1.05 Arial,sans-serif}.santaPostStamp span{font-size:7px;margin-top:8px}.santaPostReceiptName{overflow-wrap:anywhere}.santaPostReceipt .santaPostReceiptDisclaimer{font:11px/1.4 Arial,sans-serif}.santaPostReceipt .textBack{color:#214d36;display:block;margin:12px auto}.santaPostScene[data-stage=done] .santaPostMailbox{opacity:.3}.santaPostDialog button:focus-visible{outline:3px solid #fff0a8;outline-offset:5px}.santaPostReceipt button:focus-visible{outline-color:#a32139}@keyframes santaPostDrop{to{transform:translate(135%,-20%) scale(.1);opacity:0}}@keyframes santaPostFlight{0%{left:-60%;top:25%;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:110%;top:-10%;opacity:0}}
@media(max-width:600px){.santaPostHeading{padding:20px 18px 5px}.santaPostHeading h2{font-size:27px}.santaPostHeading small{font-size:8px}.santaPostDisclaimer{font-size:11px}.santaPostScene{height:400px}.santaPostEnvelope{left:5%;top:22%;width:45%;height:220px}.santaPostPaper{padding:15px;gap:10px}.santaPostPaper strong{font-size:22px}.santaPostWish{font-size:13px}.santaPostMailbox{right:1%;width:46%;height:82%}.santaPostScene[data-stage=sealed] .santaPostEnvelope{height:145px;top:37%}.santaPostReceipt{inset:10px 5%;padding:15px}.santaPostReceipt h3{font-size:25px}.santaPostStamp{width:95px;height:95px;font-size:18px}.santaPostFoot{padding:12px 16px;min-height:85px}.santaPostFoot p{font-size:12px}.santaPostAddress{font-size:16px;left:12px}.santaPostSleigh{width:75%}.santaPostReceipt p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.santaPostDialog *{animation:none!important;transition:none!important}}
