#winter-post[hidden]{display:none!important}#winter-post{position:fixed;inset:2vh 2vw;z-index:61000;display:flex;flex-direction:column;overflow:hidden;border:6px solid #bb8c4c;border-radius:22px;background:#643d26 url('assets/winter26/interior-3.webp') left center/cover;color:#684021;box-shadow:0 0 0 100vmax #102135bb;font:15px Georgia,serif}.wp-head{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#6e4328;color:#fff0d1;padding:12px 20px}.wp-head h2{margin:0}.wp-head strong{font:14px system-ui}.wp-tabs{display:flex;gap:9px;padding:9px 20px;background:#9d703fcf}.wp-button{padding:10px 14px;background:linear-gradient(#90a84e,#4e702e);border:1px solid #53692b;border-radius:9px;color:#fff9df;font:700 14px Georgia,serif;cursor:pointer;min-height:40px}.wp-button:disabled{opacity:.5;cursor:not-allowed}.wp-button:focus-visible,#winter-post input:focus-visible{outline:3px solid #3d9ac8;outline-offset:3px}.wp-selected{box-shadow:0 0 0 3px #ebc577}.wp-content{padding:22px;overflow:auto;min-height:0;flex:1;margin-left:26%;display:flex;flex-direction:column;gap:20px}.wp-intro{background:#fff0d5ed;padding:18px;border:2px solid #c99e61;border-radius:13px}.wp-intro h3{margin:0 0 8px}.wp-intro p{font:14px/1.5 system-ui}.wp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wp-order{display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px;background:linear-gradient(#fff5de,#f0d5a0);border:2px solid #b38242;border-radius:16px;box-shadow:inset 0 0 0 3px #ffedc9,0 6px 10px #24150e77;gap:8px}.wp-order h3{font-size:22px;margin:0;min-height:52px}.wp-order p{font:13px/1.5 system-ui;margin:4px 0}.wp-order small{font:12px/1.5 system-ui}.wp-order .wp-button{margin-top:auto;width:100%}.wp-parcels{height:130px;width:100%;display:flex;align-items:center;justify-content:center;position:relative}.wp-parcels img{position:static;display:block;width:65%;height:120px;max-width:120px;object-fit:contain;min-width:0;filter:drop-shadow(0 4px 3px #7c56292a)}.wp-parcels img+img{margin-left:-65px;transform:translate(15px,9px)}.wp-parcels img+img+img{transform:translate(20px,-9px)}.wp-reward{font:700 16px/1.4 system-ui;color:#74501b}.wp-state{color:#64772e;font-weight:700!important}.wp-status,.wp-reset{background:#f5dfb6;padding:10px 20px;margin:0;font:13px/1.5 system-ui}.wp-status button{margin-left:12px}.wp-parchment{background:#fff0d5ee;border:2px solid #c49b63;border-radius:15px;margin:20px 20px 20px 30%;padding:22px}.wp-parchment h3{margin:0}.wp-add{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.wp-add label{display:grid;gap:5px}.wp-add input{padding:10px;border:1px solid #a47b4a;border-radius:7px;background:#fff9eb;max-width:250px}.wp-friend{padding:15px;border:1px solid #c69c62;border-radius:10px;background:#f7e7c9;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.wp-friend strong,.wp-friend small{overflow-wrap:anywhere}.wp-friend small{margin-right:auto}.wp-sending .wp-parcels{animation:wp-send .65s ease-in both}.wp-sending:after{content:'Отправляем…';font:13px system-ui}@keyframes wp-send{to{transform:translate(70px,-50px) scale(.65);opacity:.15}}@media(max-width:1100px){.wp-content{margin-left:15%;padding:12px}.wp-cards{gap:9px}.wp-order{padding:10px}.wp-order h3{font-size:17px;min-height:42px}.wp-parchment{margin-left:15%}}@media(max-height:550px){#winter-post{inset:5px;border-width:4px}.wp-head{padding:5px 10px}.wp-head h2{font-size:18px}.wp-head strong{font-size:11px}.wp-tabs{padding:5px 10px;gap:6px}.wp-button{font-size:12px;min-height:32px;padding:7px 9px}.wp-content{margin-left:10%;gap:10px;padding:10px}.wp-intro{padding:9px}.wp-intro h3{font-size:17px}.wp-intro p{font-size:11px;margin:5px 0}.wp-order h3{font-size:15px}.wp-order p,.wp-order small{font-size:10px}.wp-parcels{height:70px}.wp-parcels img{height:65px;max-width:65px}.wp-parcels img+img{margin-left:-40px}.wp-status,.wp-reset{font-size:11px;padding:5px 10px}.wp-parchment{margin:10px 10px 10px 12%;padding:12px}}@media(prefers-reduced-motion:reduce){.wp-sending .wp-parcels{animation:none}}
@media(max-height:550px){.wp-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px}.wp-intro p{display:none}.wp-intro h3{font-size:14px;margin:0}.wp-order{padding:7px;gap:3px}.wp-order h3{font-size:14px;min-height:22px;line-height:1.1}.wp-order p{font-size:10px;line-height:1.15;margin:1px 0}.wp-order small{font-size:9px;line-height:1.2}.wp-reward{font-size:12px}.wp-parcels{height:43px}.wp-parcels img{height:42px;max-width:42px}.wp-parcels img+img{margin-left:-24px;transform:translate(7px,4px)}.wp-parcels img+img+img{transform:translate(10px,-4px)}}

/* R16: clear postal decision and real rewards, reusing the existing interactive mail scene. */
.wp-intro{box-shadow:0 6px 18px #2314093b}
.wp-intro h3{font-size:23px;color:#79512a}
.wp-intro p{margin:8px 0;color:#694832}
.wp-supply{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid #d3a669;background:#fff7e8;border-radius:10px;font:13px/1.4 system-ui;color:#655039}
.wp-supply strong{font-size:14px;color:#5d3b21}
.wp-supply span{flex:1 1 200px}
.wp-supply .wp-button{margin-left:auto}
.wp-order{position:relative;transition:box-shadow .15s ease,transform .15s ease}
.wp-order.wp-recommended{border-color:#739f56;box-shadow:inset 0 0 0 3px #ffedc9,0 0 0 2px #638c40,0 7px 15px #24150e66}
.wp-order.wp-locked{filter:saturate(.68);background:linear-gradient(#f0e5d0,#d8c7ac)}
.wp-order.wp-completed{border-color:#7d9c53;background:linear-gradient(#f9f5dd,#dbe8c4)}
.wp-badge{display:block;background:#e2edc9;color:#506832;font:700 12px/1.25 system-ui;padding:6px 8px;border-radius:7px;align-self:stretch}
.wp-order h3{min-height:auto}
.wp-recipient{font-weight:700;color:#925832}
.wp-order .wp-story{font:13px/1.45 system-ui;margin:3px 0 6px;color:#685039;min-height:38px}
.wp-order .wp-needed{background:#f9eacd;border-radius:8px;padding:6px;width:100%;box-sizing:border-box}
.wp-rewards{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px;width:100%;box-sizing:border-box;background:#e9f1db;border:1px solid #bad09a;border-radius:10px;color:#506626}
.wp-rewards strong{font:700 17px/1.25 system-ui}
.wp-order .wp-state{margin-top:auto;margin-bottom:5px;font-size:13px}
.wp-order .wp-blocked{color:#8b5741}
.wp-receipt{padding:14px 18px;background:#e1eccd;border:2px solid #82a45c;border-radius:12px;color:#3b5833}
.wp-receipt h3{margin:0 0 7px;font-size:20px}
.wp-receipt p{margin:0;font:14px/1.5 system-ui}
.wp-confirm{padding:15px 20px;border-radius:13px;border:2px solid #a07b40;background:#fff2d1;box-shadow:0 9px 30px #24140990;position:sticky;top:0;z-index:2}
.wp-confirm h3{margin:0 0 7px;font-size:21px}
.wp-confirm p{font:14px/1.5 system-ui;margin:4px 0 11px}
.wp-confirm-actions{display:flex;gap:10px;flex-wrap:wrap}
.wp-confirm-actions .wp-button:last-child{background:linear-gradient(#e9d2a4,#c5a177);color:#6c4828;border-color:#a47d50}
.wp-reset{text-align:center;border-radius:8px;color:#64452b}
@media(max-width:680px){
 #winter-post{inset:1vh 1vw;border-width:3px;border-radius:13px}
 .wp-head{padding:8px;gap:7px;flex-wrap:wrap}
 .wp-head h2{font-size:20px;flex:1}
 .wp-head strong{order:3;width:100%;font-size:11px}
 .wp-tabs{padding:7px;gap:7px;overflow-x:auto}
 .wp-content,.wp-parchment{margin-left:0;padding:10px;gap:12px}
 .wp-content{background:#4c39249c}
 .wp-cards{grid-template-columns:1fr;gap:12px}
 .wp-intro{padding:12px}
 .wp-intro h3{font-size:19px}
 .wp-supply{gap:6px}
 .wp-supply .wp-button{width:100%}
 .wp-order{padding:10px;gap:6px}
 .wp-order h3{font-size:19px}
 .wp-order .wp-story{min-height:0}
 .wp-parcels{height:65px}
 .wp-parcels img{height:62px;max-width:65px}
 .wp-parcels img+img{margin-left:-35px;transform:translate(8px,4px)}
 .wp-parcels img+img+img{transform:translate(12px,-5px)}
 .wp-rewards{padding:7px}
 .wp-confirm{padding:12px}
 .wp-confirm-actions .wp-button{flex:1}
}
@media(max-height:550px) and (min-width:681px){
 .wp-order .wp-story{min-height:0;font-size:10px;margin:0}
 .wp-order .wp-needed{padding:2px}
 .wp-rewards{padding:3px}
 .wp-rewards strong{font-size:11px}
 .wp-order .wp-state{font-size:10px}
 .wp-intro h3{font-size:17px}
 .wp-supply{padding:5px}
}
@media(prefers-reduced-motion:reduce){.wp-order{transition:none}}

/* Postal decisions: a planned order is a client-only intention, never an inventory reservation. */
.wp-plan{background:#fff1d4;box-shadow:0 9px 25px #2b1a1240;border:3px solid #a3773e;border-radius:15px;padding:16px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.wp-plan h3{font-size:22px;color:#744a23;margin:0;flex:1 1 250px}
.wp-plan p{margin:3px 0;font:14px/1.45 system-ui;flex:1 1 100%}
.wp-plan .wp-plan-kicker{font:700 11px/1.25 system-ui;letter-spacing:1.6px;color:#8b5a2a;flex:1 1 100%}
.wp-progress-slots{display:flex;gap:7px;align-items:center;flex:1 1 220px}
.wp-progress-gift{font:700 24px/1.1 system-ui;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:2px dashed #b08a5e;border-radius:13px;color:#ad9672;background:#f2e3c8}
.wp-progress-gift.wp-filled{background:#d8ecc8;border:2px solid #799e62;color:#527a36}
.wp-plan .wp-button{flex:0 1 auto}
.wp-order.wp-planned{outline:3px solid #e2aa4a;outline-offset:2px}
.wp-history-page{background:#fff0d5ed;border:2px solid #c49b63;border-radius:15px;margin-left:26%;padding:22px}
.wp-history-page h3{font-size:23px;margin:0;color:#764923}
.wp-history-page>p{font:14px/1.5 system-ui;margin:0}
.wp-history-list{display:grid;gap:10px}
.wp-history-row{padding:14px;background:#fff9e9;border:1px solid #cda76c;border-radius:12px;display:grid;grid-template-columns:auto 1fr auto;gap:6px 13px;align-items:center;font:13px/1.4 system-ui}
.wp-history-row strong{font-size:16px;color:#6b421f}
.wp-history-row span:last-child{grid-column:2/-1;color:#5a563f}
.wp-history-stamp{border:1px solid #698e50;border-radius:5px;color:#466d34;padding:4px 6px;font-weight:800;font-size:10px;transform:rotate(-3deg)}
.wp-history-row time{white-space:nowrap;color:#796244}
@media(max-width:680px){.wp-plan{padding:12px;gap:9px}.wp-plan .wp-button{width:100%}.wp-plan h3{font-size:19px}.wp-progress-gift{width:39px;height:39px}.wp-history-page{margin-left:0;padding:11px}.wp-history-row{grid-template-columns:auto 1fr;gap:6px 10px}.wp-history-row time{grid-column:2}.wp-history-row span:last-child{grid-column:1/-1}.wp-tabs .wp-button{flex:1 0 auto}}

/* DEV-23: An order's server outcome is shown beside confirmation, not at the
   bottom of a long, scrollable post office panel. */
.wp-delivery-feedback{position:sticky;top:0;z-index:5;display:grid;gap:6px;padding:14px 18px;border:2px solid #b28a55;border-radius:12px;background:#fff5df;color:#543b22;box-shadow:0 8px 22px #1d140a6b;font:14px/1.45 system-ui}
.wp-delivery-feedback strong{font:700 18px Georgia,serif}
.wp-delivery-feedback p{margin:0}
.wp-delivery-feedback.wp-delivery-error{border-color:#b76d59;background:#fff0e6;color:#703d31}
.wp-delivery-feedback.wp-delivery-warning{border-color:#b58d4a;background:#fff4d5}
.wp-delivery-feedback.wp-delivery-success{border-color:#6b985b;background:#ebf4df;color:#3b5c34}
.wp-delivery-feedback .wp-button{justify-self:start}
.wp-confirm{scroll-margin-top:110px}
@media(max-width:680px){.wp-delivery-feedback{padding:11px 12px;font-size:12px}.wp-delivery-feedback strong{font-size:16px}}
