/* Playable laundry vertical slice — comic props, touch-first interactions. */
#view-laundry .page-head{gap:7px}#view-laundry .page-head small{font-size:10px}#view-laundry .wash-help{margin-left:auto;border:2px solid var(--ink);background:var(--cream);border-radius:50%;height:28px;width:28px;font-weight:900;padding:0}#view-laundry .scroll-content{padding:11px 12px 18px;background:#f7ecd1;background-image:radial-gradient(#17233d12 .75px,transparent .75px);background-size:5px 5px}.wash-steps{display:flex;justify-content:space-between;gap:3px;margin:0 0 10px}.wash-step{flex:1;display:flex;gap:4px;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#727578;background:#e8dfcd;border:1.5px solid #b3ac9b;border-radius:6px;padding:7px 2px}.wash-step b{font-size:10px;width:15px;height:15px;border-radius:50%;background:#f9f4e9;text-align:center;line-height:15px}.wash-step.active{background:var(--orange);border-color:var(--ink);color:var(--ink);box-shadow:1px 2px 0 var(--ink)}.wash-step.done{background:#cce3c4;color:#315142;border-color:#6b9476}.wash-step.done b{background:transparent}.wash-playfield{position:relative;aspect-ratio:360/300;width:100%;border:2.5px solid var(--ink);border-radius:12px;overflow:hidden;background:#99d5ef url('assets/city-map.webp') center 40%/100% auto;box-shadow:3px 4px 0 var(--ink);margin-bottom:12px;isolation:isolate;user-select:none;-webkit-user-select:none}.wash-playfield:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e3b889ed 0 8%,transparent 8% 92%,#e3b889ed 92%);pointer-events:none}.wash-svg{display:block;width:100%;height:100%;position:relative;z-index:1;touch-action:none}.wash-svg text{font-family:inherit;pointer-events:none}.wash-interaction{cursor:grab}.wash-interaction:active{cursor:grabbing}.wash-mode{position:absolute;z-index:3;left:9px;top:9px;background:var(--cream);border:2px solid var(--ink);border-radius:6px;padding:5px 7px;display:flex;align-items:center;gap:5px;max-width:75%;font-size:11px;font-weight:800;pointer-events:none}.wash-mode svg{width:15px;height:15px}.wash-timer{position:absolute;right:9px;top:9px;z-index:3;border:2px solid var(--ink);background:var(--yellow);border-radius:6px;padding:5px 7px;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums;pointer-events:none}.wash-timer.urgent{background:#ffb58a}.wash-room-line{position:absolute;z-index:2;left:9px;right:9px;bottom:9px;display:flex;align-items:center;justify-content:center;pointer-events:none}.wash-room-line span{border:1.5px solid var(--ink);padding:4px 8px;border-radius:5px;background:#fff5daf2;font-size:11px;font-weight:800;text-align:center}.wash-controls{background:#fffaf0;border:2px solid var(--ink);border-radius:10px;box-shadow:3px 4px 0 var(--ink);padding:12px}.wash-controls h2{font-size:19px;font-weight:1000;line-height:1.4}.wash-controls .instruction{font-size:13px;line-height:1.65;margin:6px 0 9px;color:#4c5665;min-height:21px}.wash-current{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#63706e;margin-bottom:9px}.wash-current button{border:0;border-bottom:1px dashed #5e6870;padding:0 0 1px;margin-left:auto;background:none;font-size:11px;color:#5d6470}.wash-meter{display:flex;gap:9px;align-items:center;margin:8px 0 11px}.wash-meter .progress-track{margin:0;flex:1;height:11px}.wash-meter strong{font-size:12px;font-variant-numeric:tabular-nums;min-width:31px;text-align:right}.wash-zone-list{display:flex;gap:5px;margin:0 0 10px}.wash-zone{flex:1;min-width:0;border:1.5px solid var(--ink);border-radius:5px;background:#f6eddb;padding:6px 2px;font-size:11px;font-weight:700;min-height:34px}.wash-zone.complete{background:#cce3c4}.wash-zone .zone-check{font-size:10px;margin-left:3px}.wash-primary{width:100%;font-size:15px;min-height:45px}.wash-primary:disabled{opacity:.55;box-shadow:1px 2px 0 #8c8f8e;background:#ddd6c9}.wash-tools{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:10px}.wash-tool{border:1.5px solid var(--ink);border-radius:7px;background:#fffaf0;padding:8px 3px;text-align:center;font-size:11px;font-weight:800;min-height:65px}.wash-tool svg{display:block;width:22px;height:22px;margin:0 auto 4px}.wash-tool small{display:block;font-size:9px;font-weight:500;margin-top:3px;color:#6c736e}.wash-tool.on{background:#d0e5c9;border-color:#385c43}.wash-footnotes{display:flex;align-items:center;justify-content:space-between;margin:11px 2px 0;font-size:10px;color:#686c75}.wash-events{border:0;background:none;border-bottom:1px dashed #696c74;color:#586272;padding:3px 0;font-size:11px}.wash-clip{position:absolute;z-index:4;top:14.4%;width:30px;height:40px;border:2px solid var(--ink);border-radius:5px;background:#ffe9ab;box-shadow:1px 2px 0 var(--ink);padding:0;display:grid;place-items:center}.wash-clip:before{content:"";display:block;width:7px;height:25px;border:1px solid var(--ink);background:var(--orange);border-radius:2px;transform:rotate(10deg)}.wash-clip:after{content:"＋";position:absolute;font-size:12px;top:-9px;right:-6px;background:white;border:1px solid var(--ink);border-radius:50%;width:15px;height:15px;line-height:13px}.wash-clip.left{left:26.2%}.wash-clip.right{right:26.2%}.wash-clip.attached{background:var(--orange)}.wash-clip.attached:after{content:"✓";background:#bfe1bb}.wash-event-banner{display:flex;align-items:flex-start;gap:7px;padding:9px 10px;border:2px solid var(--ink);background:#fff0c7;border-radius:7px;font-size:12px;line-height:1.6;margin:0 0 11px}.wash-event-banner svg{width:20px;height:20px;margin-top:2px}.wash-recovery-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.wash-recovery-options button{border:2px solid var(--ink);border-radius:7px;padding:11px 3px;background:#fff4d9;box-shadow:2px 3px 0 var(--ink);font-size:12px;font-weight:800}.wash-recovery-options button svg{display:block;width:25px;height:25px;margin:0 auto 5px}.wash-completion{display:flex;gap:8px;margin:10px 0;align-items:center;border:1.5px dashed #7a9c73;background:#e4f1dc;padding:10px;border-radius:8px;font-size:12px;line-height:1.6}.wash-completion svg{width:29px;height:29px;color:#3e7444}.wash-secondary{margin-top:9px;width:100%;min-height:39px;font-size:12px}.wash-hint-pulse{animation:wash-hint 1.6s ease-in-out infinite}.wash-foam-puff{pointer-events:none;animation:foam-puff .75s ease-out forwards;transform-box:fill-box;transform-origin:center}.wash-cloth-wind{animation:cloth-wind 3.5s ease-in-out infinite;transform-origin:180px 76px}.wash-water-motion{animation:water-motion 3s ease-in-out infinite;transform-origin:center}.wash-sparkle{animation:wash-sparkle 2s ease-in-out infinite}.wash-cloth-grabbed{filter:drop-shadow(0 3px 0 #17233d55)}.wash-sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.wash-rinse-surface{cursor:ew-resize}.wash-event-art{animation:event-in .5s ease-out}.wash-alarm-glow{animation:alarm-glow .6s ease-in-out 4}.wash-small-note{font-size:11px!important;color:#6d7078;margin-top:12px;line-height:1.6!important}.wash-prop-card{display:flex;gap:10px;align-items:center;border:1.5px solid var(--ink);border-radius:7px;background:#fff7e6;padding:10px;margin:12px 0}.wash-prop-card svg{width:34px;height:34px;flex-shrink:0}.wash-prop-card p{font-size:12px!important;margin:0!important;line-height:1.6!important}
@keyframes wash-hint{50%{opacity:.5}}@keyframes foam-puff{0%{opacity:.9;transform:scale(.5)}100%{opacity:0;transform:translateY(-28px) scale(1.4)}}@keyframes cloth-wind{0%,100%{transform:skewX(0deg)}45%{transform:skewX(2deg)}75%{transform:skewX(-1deg)}}@keyframes water-motion{50%{transform:translateX(3px)}}@keyframes wash-sparkle{0%,100%{opacity:.35}50%{opacity:1}}@keyframes event-in{from{opacity:0;transform:translateX(15px)}to{opacity:1;transform:none}}@keyframes alarm-glow{50%{fill:#ffb248;filter:drop-shadow(0 0 10px orange)}}
@media(max-height:740px) and (max-width:699px){.wash-playfield{aspect-ratio:360/260}.wash-svg{height:100%;overflow:visible}.wash-controls{padding:10px}.wash-controls h2{font-size:17px}.wash-steps{margin-bottom:8px}.wash-step{padding:6px 1px;font-size:10px}.wash-step b{width:13px;height:13px;line-height:13px;font-size:9px}.wash-mode{font-size:10px}.wash-clip{top:10.5%}}
@media(max-width:350px){.wash-step b{display:none}.wash-zone{font-size:10px}.wash-tool{font-size:10px}.wash-timer{font-size:12px}.wash-tools{gap:4px}.wash-playfield{border-radius:9px}.wash-room-line span{font-size:10px}.wash-current{font-size:10px}.wash-controls .instruction{font-size:12px}}
/* One-screen laundry: stage fills remaining space, controls stay above navigation. */
#app.laundry-active{min-height:0;height:100dvh}#app.laundry-active .ticker{display:none}#app.laundry-active .page-head{padding:8px 12px;min-height:46px}#app.laundry-active .page-head small{display:none}#view-laundry #laundry-content{display:flex;flex-direction:column;gap:8px;padding:8px 10px 10px;overflow:hidden;min-height:0}#view-laundry .wash-steps{margin:0;flex:0 0 27px;gap:4px}#view-laundry .wash-step{padding:3px;font-size:12px}#view-laundry .wash-playfield{flex:1;min-height:0;aspect-ratio:auto;margin:0;background-size:cover;border-radius:9px;box-shadow:2px 3px 0 var(--ink)}#view-laundry .wash-controls{flex-shrink:0;padding:9px 10px;box-shadow:2px 3px 0 var(--ink);position:relative}#view-laundry .wash-title-row{display:flex;align-items:center;justify-content:space-between;gap:5px}#view-laundry .wash-controls h2{font-size:17px;line-height:1.3}#view-laundry .instruction{font-size:13px;line-height:1.4;margin:4px 0 7px;min-height:0}#view-laundry .wash-meter{margin:4px 0 7px;gap:6px}#view-laundry .wash-meter strong{font-size:12px;min-width:56px}#view-laundry .wash-primary{min-height:43px;font-size:15px;padding:8px}#view-laundry .wash-footnotes{margin:6px 0 0;min-height:15px;font-size:10px}#view-laundry .wash-text-btn{background:transparent;border:0;border-bottom:1px dashed #596474;color:#596474;font-size:12px;white-space:nowrap;padding:2px;min-height:24px}#view-laundry .wash-zone-list{align-items:center;gap:5px;margin:0 0 7px}#view-laundry .wash-zone{font-size:12px;padding:3px;min-height:29px}#view-laundry .wash-tap-hint{font-size:10px;white-space:nowrap;color:#68727b}#view-laundry .rinse-tap{display:block;position:absolute;right:9px;top:46px;font-size:11px;background:#fffaf0}#view-laundry .wash-recovery-options{margin:7px 0 0}#view-laundry .wash-recovery-options button{padding:8px 3px;font-size:14px;min-height:39px}#view-laundry .wash-svg{position:absolute;inset:0;overflow:visible}#view-laundry .wash-mode{font-size:12px;padding:4px 6px;left:7px;top:7px}#view-laundry .wash-timer{font-size:12px;padding:4px 6px;right:7px;top:7px}#view-laundry .wash-zones-guide{opacity:.35}
.balcony-props{position:absolute;right:6px;top:47px;bottom:37px;z-index:4;display:flex;flex-direction:column;justify-content:center;gap:6px;width:59px;pointer-events:none}.prop-switch{width:100%;min-height:53px;background:#fff5daeF;border:2px solid var(--ink);border-radius:6px;box-shadow:2px 2px 0 var(--ink);font-size:11px;font-weight:800;padding:4px 2px;pointer-events:auto;display:flex;align-items:center;flex-direction:column;line-height:1.2}.prop-switch .icon{width:20px;height:20px;margin-bottom:2px}.prop-switch b{font-size:10px;color:#775943;margin-top:2px}.prop-switch.on{background:#cfe6bd}.prop-switch.on b{color:#2e623e}.balcony-caption,.balcony-dispatch{position:absolute;bottom:8px;left:8px;right:8px;z-index:3;border:1.5px solid var(--ink);border-radius:5px;background:#fff5daf5;font-size:11px;font-weight:800;line-height:1.4;padding:5px 7px;text-align:center;pointer-events:none}.balcony-dispatch{background:#ffe3a7;text-align:left;padding:6px 8px}.wash-feel{position:absolute;bottom:45px;left:14px;right:14px;text-align:center;font-size:12px;font-weight:800;background:#17233de8;color:#fff6d9;padding:5px;border-radius:6px;pointer-events:none;z-index:4}.wash-local-foam{animation:foam-settle .3s ease-out}.security-beam{animation:security-scan 3s ease-in-out infinite;transform-origin:302px 87px}.security-lamp{animation:security-blink 2s steps(2) infinite}.security-alert .security-lamp{fill:#ff3b36;animation:security-blink .2s steps(2) 10}.auto-collector{animation:auto-idle 2s ease-in-out infinite}
.laundry-comic{position:absolute;left:8px;right:74px;bottom:9px;z-index:4;box-shadow:3px 3px 0 var(--ink);background:#fff8e6;border:2px solid var(--ink);transform:rotate(-1deg);border-radius:5px;overflow:hidden}.comic-head{display:flex;justify-content:space-between;gap:3px;background:var(--yellow);font-size:10px;padding:5px 7px;border-bottom:2px solid var(--ink)}.comic-head b{font-size:11px}.comic-frames{display:flex;gap:4px;padding:5px 5px 0}.comic-frame{flex:1;min-width:0;border:1.5px solid var(--ink);background:#c3e6ef}.comic-frame:nth-child(2){background:#ffe1b8}.comic-frame svg{display:block;width:100%;max-height:90px}.laundry-comic p{font-size:11px;font-weight:800;line-height:1.4;padding:6px}.wash-report-preview{display:flex;justify-content:center;min-height:0;flex:1}.wash-report-preview img{width:auto;max-width:100%;height:100%;max-height:100%;object-fit:contain;border:1px solid #17233d}.wash-report-actions{display:flex;gap:8px;flex-shrink:0;margin-top:10px}.wash-report-actions>*{flex:1;text-align:center;text-decoration:none;font-size:14px;min-height:42px;display:flex;align-items:center;justify-content:center}.wash-report-tip{font-size:11px!important;line-height:1.4!important;margin:7px 0 0!important;color:#626975;flex-shrink:0}.sheet:has(.wash-report-preview){height:min(760px,90dvh);display:flex;flex-direction:column;overflow:hidden}.sheet:has(.wash-report-preview) #sheet-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.report-loading{font-size:14px!important}
@keyframes foam-settle{from{transform:scale(.6);opacity:.4}to{transform:scale(1);opacity:1}}@keyframes security-scan{50%{transform:rotate(12deg);opacity:.4}}@keyframes security-blink{50%{fill:#ffe481}}@keyframes auto-idle{50%{transform:translate(44px,117px)}}
@media(min-width:700px){#app.laundry-active{height:min(920px,calc(100dvh - 44px));min-height:0}}
@media(max-height:700px){#view-laundry .wash-controls{padding:7px 9px}#view-laundry .wash-controls h2{font-size:16px}#view-laundry .instruction{font-size:12px;margin:3px 0 5px}#view-laundry .wash-primary{min-height:39px;padding:6px}#view-laundry .wash-steps{flex-basis:23px}#view-laundry .wash-footnotes{margin-top:3px}#view-laundry .wash-clip{top:13.5%}.prop-switch{min-height:45px;padding:3px 1px}.prop-switch .icon{width:16px;height:16px}.balcony-props{gap:4px;top:39px;bottom:39px}.laundry-comic .comic-frames svg{max-height:68px}.wash-feel{font-size:11px;bottom:39px}}
@media(max-height:590px){#view-laundry .wash-steps{display:none}#view-laundry #laundry-content{gap:6px;padding:6px 8px 8px}#app.laundry-active header{height:47px;padding:5px 12px}#app.laundry-active .brand{font-size:25px}#app.laundry-active .page-head{min-height:40px;padding:4px 10px}#app.laundry-active .page-head h1{font-size:17px}#view-laundry .wash-feel{bottom:34px;padding:3px;font-size:10px}#view-laundry .wash-meter{margin:3px 0 5px}.balcony-caption,.balcony-dispatch{font-size:10px;bottom:5px;padding:4px}.laundry-comic p{padding:4px;font-size:10px}.comic-head{padding:3px;font-size:9px}.comic-head b{font-size:9px}.laundry-comic .comic-frames svg{max-height:53px}.prop-switch{min-height:39px;font-size:10px}.prop-switch .icon{width:14px;height:14px}.balcony-props{top:35px;width:52px}.laundry-comic{right:66px}.wash-title-row .wash-text-btn{font-size:11px}}

.wash-report-actions a{color:var(--ink)}
#app.laundry-active .toast{bottom:auto;top:calc(112px + env(safe-area-inset-top));font-size:12px;padding:7px 10px}#app:has(.sheet-shade.open) .toast{visibility:hidden}@media(max-height:590px){#app.laundry-active .toast{top:94px}}
#view-laundry .wash-character-state{display:flex;background:#15263e;border-color:#17233d}.wash-character-state:before{display:none}.laundry-character-portrait{flex:0 0 57%;height:100%;min-width:0;background:#eddab5}.laundry-character-portrait .wardrobe-avatar{height:100%;width:100%}.laundry-care-dossier{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:38px 12px 38px;border-left:2px solid #e9bd66;color:#fff5da;background:radial-gradient(#7893b224 .7px,transparent .7px) 0 0/6px 6px,#14263f}.laundry-care-label{font-size:10px;color:#d3bc8c;line-height:1.4}.laundry-care-dossier h3{font-size:21px;line-height:1.35;overflow-wrap:anywhere}.laundry-hygiene{display:flex;gap:6px;align-items:center;border:1.5px solid #e5c796;border-radius:6px;padding:8px 6px;background:#534c37;color:#ffe7ad;white-space:nowrap}.laundry-hygiene .icon{width:19px;height:19px}.laundry-hygiene b{font-size:17px}.laundry-hygiene.fresh{background:#284f43;border-color:#8bc8a1;color:#d8f2d4}.laundry-care-dossier p{font-size:13px;line-height:1.6;color:#d8dfe0}.laundry-care-dossier>small{font-size:10px;color:#bfc9cf}.laundry-earned-xp{padding:9px 7px;border:2px solid #edc96e;border-radius:6px;background:#f5d78f;color:#24384a;text-align:center}.laundry-earned-xp strong{font-size:29px;line-height:1.1;display:block}.laundry-earned-xp span{display:block;font-size:11px;font-weight:800;margin-top:4px}.wash-character-state .balcony-caption{font-size:10px;background:#fff5daf5}.wash-character-state .wash-svg{position:static}.wash-character-state .balcony-props{display:none}@media(max-height:740px){.laundry-care-dossier{padding:33px 9px;gap:9px}.laundry-care-dossier h3{font-size:18px}.laundry-care-dossier p{font-size:12px;line-height:1.45}.laundry-hygiene{padding:6px 5px}.laundry-hygiene b{font-size:15px}.laundry-care-label{font-size:9px}.laundry-earned-xp{padding:6px}.laundry-earned-xp strong{font-size:24px}}
@media(max-height:590px){.laundry-care-dossier{gap:6px;padding:32px 7px}.laundry-care-label{display:none}.laundry-care-dossier h3{font-size:16px}.laundry-hygiene{padding:5px 4px;gap:4px}.laundry-hygiene b{font-size:14px}.laundry-hygiene .icon{width:15px;height:15px}.laundry-care-dossier p{font-size:11px;line-height:1.35}.laundry-care-dossier>small{font-size:9px}.laundry-earned-xp{padding:5px}.laundry-earned-xp strong{font-size:22px}.laundry-earned-xp span{font-size:10px;margin-top:2px}}
/* Resting/finished states have a single status and a compact action dock. */
#view-laundry .wash-action-dock{display:flex;gap:8px;align-items:stretch;padding:9px;flex-shrink:0}#view-laundry .wash-action-dock .wash-dock-secondary{flex:0 0 29%;min-width:0;padding:8px 3px;min-height:44px;font-size:14px}#view-laundry .wash-action-dock .wash-primary{flex:1;width:auto;min-width:0;font-size:16px;min-height:44px;padding:9px 5px}.wash-character-state .laundry-care-dossier{padding-top:20px;padding-bottom:20px}.wash-character-state .laundry-care-label{font-size:10px;color:#aabdc9}.wash-character-state .laundry-hygiene{background:transparent;border:0;border-left:3px solid #d9b065;border-radius:0;padding:7px 0 7px 8px;color:#f3d59d}.wash-character-state .laundry-hygiene.fresh{border-color:#8fc9aa;color:#bce5cd}.wash-character-state .laundry-care-dossier p{color:#b7c6d0;font-size:12px;line-height:1.5}.wash-character-state .laundry-care-dossier h3{font-size:23px;line-height:1.35}.wash-character-state .laundry-hygiene b{font-size:17px}.wash-character-state .laundry-hygiene .icon{width:18px;height:18px}.wash-character-state .laundry-earned-xp{margin-top:2px}@media(max-height:740px){.wash-character-state .laundry-care-dossier{padding:16px 9px;gap:10px}.wash-character-state .laundry-care-dossier h3{font-size:20px}}@media(max-height:590px){#view-laundry .wash-action-dock{padding:7px;gap:6px}#view-laundry .wash-action-dock .wash-dock-secondary,#view-laundry .wash-action-dock .wash-primary{min-height:40px;font-size:14px;padding:7px 3px}.wash-character-state .laundry-care-dossier{padding:12px 8px;gap:8px}.wash-character-state .laundry-care-dossier h3{font-size:18px}.wash-character-state .laundry-hygiene b{font-size:15px}.wash-character-state .laundry-care-dossier p{font-size:11px}}
