.household-trigger{position:absolute;right:70px;top:10px;z-index:5;width:52px;height:48px;border:0;background:transparent;padding:5px;color:#327c78;display:grid;place-items:center;border-radius:13px}.household-trigger>svg{width:38px;height:38px}.delivery-dial{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(from -90deg,#69afa0 var(--delivery-progress),#dbe8e2 0);border:2px solid #fffdf8}.delivery-dial svg{width:23px;height:23px;border-radius:50%;background:#fffaf0;padding:2px}.action.stock-low .action-price{color:#a5742a}.action.stock-empty .action-price{color:#b45b48}.action.restocked .action-price{animation:stock-refill 1.2s ease-out 1.6s both}.household-view{position:fixed;z-index:43;display:block;background:transparent;padding:0;animation:supply-open .18s ease-out}.household-page{height:100%;width:100%;min-height:0;background:#fffdf8;border:1px solid #bcd7ce;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:7px;overflow:hidden;box-shadow:0 8px 24px #173e481a}.household-help{display:none}@keyframes supply-open{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}.household-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.household-heading h2{font-size:1.35rem}.household-close{border:0;background:transparent;color:#356866;border-radius:10px;font-size:1.5rem;width:44px;height:44px}.household-description,.household-receipt{font-size:.87rem;line-height:1.4;margin:0}.household-receipt{padding:9px;border-radius:12px;background:#edf7ef;color:#285f57}.household-items{display:grid;gap:10px;min-height:0}.supply-card{border:1px solid #d9e7e4;background:white;border-radius:16px;padding:12px;display:grid;grid-template-columns:32px 1fr auto;gap:8px;align-items:center}.supply-copy{min-width:0}.supply-copy strong{display:block;font-size:.87rem}.supply-copy small{display:block;font-size:.75rem;color:#648179;margin-top:4px}.supply-card .care-icon{width:27px;height:27px}.supply-controls{display:flex;align-items:center;gap:7px}.supply-controls button{width:40px;height:40px;border:1px solid #bbd8d2;border-radius:11px;background:#edf7f2;color:#245e5e;font-weight:800}.supply-controls button:disabled{opacity:.4}.supply-controls output{width:15px;text-align:center;font-weight:800}.supply-emergency{grid-column:2 / -1;border:1px solid #e4c99e;background:#fff6e5;color:#80552f;border-radius:10px;min-height:36px;padding:6px;font-size:.76rem;font-weight:700}.household-nav{display:flex;align-items:center;justify-content:space-between;font-size:.8rem}.household-nav button{border:1px solid #c9ded5;background:white;border-radius:10px;padding:8px 13px;color:#285c5d;min-height:36px}.household-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px}.household-total{display:flex;justify-content:space-between;gap:8px;font-weight:800;font-size:.88rem}.household-help{margin:0;font-size:.74rem;line-height:1.35;color:#648179}.household-confirm{min-height:44px;background:#173e48;color:white;border:0;border-radius:12px;font-weight:800;padding:10px}.household-confirm:disabled{background:#e8efed;color:#76908d}.delivery-effects{position:fixed;inset:0;pointer-events:none;z-index:44;overflow:hidden}.delivery-courier{position:fixed;width:106px;height:76px;left:var(--courier-x);top:var(--courier-y);animation:courier-enter 3.2s ease-in-out both}.delivery-courier svg{width:100%;height:100%}.flying-supply{position:fixed;left:var(--supply-x);top:var(--supply-y);width:29px;height:29px;animation:supply-flight 1.1s cubic-bezier(.25,.1,.4,1) both;animation-delay:var(--supply-delay)}.flying-supply .care-icon{width:100%;height:100%}@keyframes courier-enter{0%{opacity:0;transform:translateX(-120px)}25%,60%{opacity:1;transform:translateX(var(--courier-stop))}100%{opacity:1;transform:translateX(var(--courier-travel))}}@keyframes supply-flight{0%{opacity:0;transform:translate(0,0) scale(.6)}15%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translate(var(--supply-dx),var(--supply-dy)) scale(.9)}}@keyframes stock-refill{25%{color:#245e5e;transform:scale(1.15)}100%{transform:none}}
@media(max-height:600px){.household-page{padding:13px;gap:8px}.household-heading h2{font-size:1.18rem}.household-description,.household-receipt{font-size:.8rem}.supply-card{padding:9px;gap:6px}.household-help{font-size:.7rem}.household-page .pause-label{font-size:.7rem}}
@media(max-width:360px){.supply-card{grid-template-columns:25px 1fr auto}.supply-copy strong{font-size:.8rem}.supply-controls{gap:4px}.supply-controls button{width:36px}.supply-copy small{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.delivery-courier,.flying-supply{display:none}.action.restocked .action-price{animation:none}}

.household-page>*{flex:none}.household-page .household-items{flex:1;overflow:hidden;align-content:start;grid-auto-rows:max-content}.feeding-choice{margin:12px 0 8px}.feeding-title{font-size:.82rem;color:#356866}.feeding-options{display:flex;gap:7px;margin:7px 0}.feeding-options button{flex:1;min-width:0;min-height:40px;border:1px solid #c9ded5;border-radius:10px;background:#fffdf8;color:#285c5d;font-size:.8rem;font-weight:700;padding:7px}.feeding-options button[aria-pressed="true"]{background:#d9eee6;border-color:#69afa0}.feeding-note{display:block;font-size:.72rem;line-height:1.3;color:#648179}@media(max-height:660px){.feeding-choice{margin:5px 0}.feeding-options{margin:4px 0}.feeding-options button{min-height:36px;padding:5px}}



@media(max-height:540px){.household-help,.household-description{display:none}}@media(max-height:440px){.household-page{padding:10px;gap:5px}.household-close{width:36px;height:36px}.household-heading h2{font-size:1.04rem}.supply-card{padding:7px;gap:5px}.supply-copy strong{font-size:.8rem}.supply-copy small{font-size:.7rem;margin-top:2px}.supply-controls button{width:36px;height:36px}.supply-emergency{min-height:32px;font-size:.7rem;padding:5px}.household-nav button,.household-confirm{min-height:32px;padding:6px 9px}.household-receipt{font-size:.72rem;padding:6px;line-height:1.25}.household-total{font-size:.78rem}.household-bottom{gap:6px}}

.household-heading h2{font-size:1.1rem}.household-description{font-size:.76rem}.household-page .pause-label{font-size:.7rem}.household-close{width:36px;height:36px}.household-page .supply-card{padding:8px;gap:6px}.household-page .supply-copy strong{font-size:.8rem}.household-page .household-help{display:none}.household-page .household-receipt{font-size:.75rem;padding:6px}.household-page .household-total{font-size:.8rem}.upgrade .item-icon>svg{width:30px;height:30px}@media(prefers-reduced-motion:reduce){.household-view{animation:none}}
/* Keep the permanent basket at the outer edge; mail occupies the row below. */
.household-trigger{right:12px;top:10px}.stage .doctor-letter{right:12px;top:66px}
@media(max-width:610px){.household-trigger{right:8px;top:7px;width:46px;height:42px}.stage .doctor-letter{right:8px;top:57px}}

.delivery-road{position:fixed;height:78px;overflow:hidden;pointer-events:none}.delivery-road .delivery-courier{position:absolute;left:0;top:0}

.action.stock-low .action-price{color:#b84c41;border-radius:8px;animation:stock-reminder 2.4s ease-in-out infinite}.action.stock-low:not(.stock-empty) .action-price::after{content:" · bestil";font-size:.68rem;font-weight:800}html[lang="en"] .action.stock-low:not(.stock-empty) .action-price::after{content:" · order"}@keyframes stock-reminder{0%,100%{box-shadow:0 0 0 2px #cf6b5a00}50%{box-shadow:0 0 10px 3px #cf6b5a55}}@media(prefers-reduced-motion:reduce){.action.stock-low .action-price{animation:none;box-shadow:0 0 0 2px #cf6b5a44}}

.feeding-options[hidden]{display:none}

.install-card{margin:12px 0;padding:12px;border:1px solid #c9ded5;border-radius:14px;background:#f4f9f6}.install-card[hidden],#installGame[hidden]{display:none}.install-card strong{display:block;font-size:.83rem}.install-card small{display:block;margin-top:7px;color:#648179;font-size:.75rem;line-height:1.4}.install-card #installGame{margin-top:8px;min-height:44px}

.delivery-summary{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}.delivery-summary ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.delivery-summary li{display:flex;align-items:center;gap:10px;background:#edf7ef;border-radius:12px;padding:9px 11px;font-weight:700;font-size:.9rem}.delivery-item-icon svg{display:block;width:30px;height:30px}.delivery-status{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.78rem;color:#537873}.delivery-status strong{color:#245e5e}.household-page:has(.delivery-summary:not([hidden])) .household-description{font-size:.79rem}

.delivery-bike-track{position:relative;height:64px;flex:none;overflow:hidden}.delivery-bike-track::before{content:"";position:absolute;left:8px;right:8px;bottom:8px;border-bottom:2px dashed #c4d5cc}.shipment-courier{position:absolute;bottom:9px;left:var(--delivery-position,0%);transform:translateX(calc(-1 * var(--delivery-position,0%)));transition:left .2s linear,transform .2s linear}.shipment-courier svg{display:block;width:64px;height:48px;animation:delivery-pedal .6s ease-in-out infinite}@keyframes delivery-pedal{50%{transform:translateY(-1px)}}@media(prefers-reduced-motion:reduce){.shipment-courier{transition:none}.shipment-courier svg{animation:none}}

.home-tabs{display:flex;gap:6px;flex:none}.home-tabs button{flex:1;min-height:38px;border:1px solid #c7ded7;border-radius:10px;background:#f4faf7;color:#255d5d;font-weight:800}.home-tabs button[aria-pressed="true"]{background:#173e48;color:white}#laundryPanel{flex:1;min-height:0;overflow:auto;font-size:.9rem;color:#365f62}#laundryPanel p{line-height:1.5}#laundryStatus{padding:12px;background:#eaf4ef;border-radius:12px}

.laundry-scene{position:relative;text-align:center}.laundry-scene svg{display:block;width:100%;max-height:140px}.laundry-scene>span{font-size:.76rem;color:#648179}.washer-drum{transform-origin:76px 87px;opacity:.2}.is-washing .washer-drum{opacity:1;animation:washer-tumble 3s ease-in-out infinite}.is-washing .wash-light{fill:#69afa0}.hamper-garment{animation:hamper-arrive .35s ease-out}.supply-count-hit{animation:supply-count-hit .28s ease-out}@keyframes washer-tumble{0%{transform:rotate(0)}42%{transform:rotate(350deg)}55%{transform:rotate(350deg)}100%{transform:rotate(-40deg)}}@keyframes hamper-arrive{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@keyframes supply-count-hit{40%{transform:scale(1.13)}100%{transform:none}}@media(prefers-reduced-motion:reduce){.is-washing .washer-drum,.hamper-garment,.supply-count-hit{animation:none}}

/* Fit laundry into the Home frame without an inner scrollbar. */
#laundryPanel{display:flex;flex-direction:column;gap:6px;overflow:hidden}#laundryPanel p{flex:none;margin:0;line-height:1.35}#laundryPanel .laundry-scene{flex:1;min-height:64px;max-height:180px;display:flex;flex-direction:column;justify-content:center}#laundryPanel .laundry-scene svg{flex:1;height:0;min-height:42px;max-height:155px;width:100%}#laundryPanel .laundry-scene>span{flex:none}#laundryStatus{padding:8px}#laundryButton{flex:none;margin-top:auto}.household-description{font-size:.8rem}.household-page:has(#laundryPanel:not([hidden])) .household-heading{flex:none}@media(max-height:440px){#laundryPanel{gap:4px;font-size:.8rem}#laundryPanel .laundry-scene{max-height:115px}#laundryStatus{padding:6px}.home-tabs button{min-height:34px}}
