body:has(.mop-game){margin:0;background:#faf7ef}.mop-game{--ink:#294b51;--muted:#5b6e6c;--green:#396c68;max-width:1000px;margin:auto;padding:24px 24px 40px;color:var(--ink);font-family:system-ui,'Segoe UI','Microsoft JhengHei',sans-serif}.mop-game *{box-sizing:border-box}.mop-game [hidden]{display:none!important}.mop-game button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.mop-game button:disabled{cursor:default}.mop-game button:focus-visible,.mop-game a:focus-visible,.mop-game summary:focus-visible{outline:3px solid #26769a;outline-offset:3px}.mop-skip{position:fixed;top:-100px;z-index:1000;padding:12px;background:white}.mop-skip:focus{top:8px}.mp-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin-bottom:20px}.mp-top a{color:inherit;text-underline-offset:4px}.mp-top b{font-size:17px}.mp-eyebrow{font-size:11px;letter-spacing:.1em;color:var(--muted);margin:0 0 8px}.mp-heading h1{font-size:clamp(30px,4vw,43px);letter-spacing:-.04em;line-height:1.15;margin:0 0 24px;font-weight:750}.mp-home{display:grid;grid-template-columns:1.2fr 1fr;gap:34px;align-items:center}.mp-home img{width:100%;height:auto;border-radius:28px}.mp-opening{font-size:16px;line-height:1.9;margin:0 0 18px}.mp-lead{font-size:15px;line-height:1.8;margin:0 0 22px}.mp-primary{min-height:52px;border:1px solid #2b5556;border-bottom:4px solid #294e51;background:var(--green);color:#fffdf4!important;font-weight:650!important;width:100%;border-radius:14px;padding:10px 16px;display:flex;justify-content:center;align-items:center;gap:20px}.mp-primary:hover:not(:disabled){background:#467d76}.mp-note{font-size:12px;line-height:1.7;color:var(--muted);text-align:center;margin:12px 0}.mp-level{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.mp-level ol{display:flex;gap:9px;list-style:none;padding:0;margin:0}.mp-level li{display:grid;place-items:center;width:28px;height:28px;border:1px solid #b0bfb0;border-radius:50%;font-size:13px;background:#fffdf6}.mp-level li[aria-current]{color:white;background:var(--green);border-color:var(--green);box-shadow:0 0 0 3px #dce9df}.mp-level li.is-done{background:#e4ebe1}.mp-pause{min-width:64px;min-height:44px;border:1px solid #bac6b6;border-radius:12px;background:#fffef7;padding:8px 12px;font-size:13px!important}.mp-pause:disabled{opacity:.5}.mp-level-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.mp-level-title h2{font-size:18px;font-weight:650;margin:0;line-height:1.3}.mp-level-title>span{white-space:nowrap;font-size:14px;color:var(--muted)}.mp-level-title b{color:var(--ink);font-size:22px}.mp-workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:34px;align-items:center}.mp-room{width:100%;max-width:520px;margin:auto;padding:0 10px;background:#e2e8dc;border:1px solid #adb9a5;border-radius:22px 22px 13px 13px;box-shadow:inset 3px 0 #f4f4e9,inset -3px 0 #d2dccd,0 5px 0 #c4cebf}.mp-room-label{height:34px;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.08em;color:#52665c;padding:0 3px}.mp-floor{position:relative;overflow:hidden;border:2px solid #a9b6a6;border-radius:8px;background:#f5edd9}.mp-floor:has(.is-current:focus-visible){overflow:visible}#mp-board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));touch-action:none;user-select:none;-webkit-user-select:none}.mp-tile{display:block;position:relative;aspect-ratio:1;min-width:0;margin:0;padding:0;border:0;border-right:1px solid #d7d2bc;border-bottom:1px solid #d7d2bc;border-radius:0;background:#f8f0df;touch-action:none!important}.mp-tile:nth-child(even){background:#f0e7d4}.mp-tile:focus-visible{outline-offset:-4px!important;z-index:3}.mp-tile.is-wet{background:#b8dad7;border-color:#91bebd}.mp-tile.is-current{background:#d4e9df}.mp-tile.is-current:after{content:'';position:absolute;inset:6%;border:2px dashed #427d78;border-radius:12px}.mp-tile.is-next:after{content:'';position:absolute;width:6px;height:6px;border:1px solid #79958d;border-radius:50%;right:7px;top:7px;background:#fffdf4}.mp-furniture{background:#d2dccc!important}.mp-tile svg{width:96%;height:96%;display:block;margin:auto}.mp-dust{position:absolute;left:42%;top:26%;color:#b7a887;font-size:23px;line-height:1}.mp-check{display:none;position:absolute;bottom:5px;left:7px;color:#376f72;font-size:13px}.is-wet .mp-check{display:block}.is-wet .mp-dust{display:none}.mp-door-label{position:absolute;bottom:3px;right:4px;background:#fff5d8;border-radius:3px;padding:1px 3px;font-size:9px;font-weight:700;color:#71582e}#mp-trail{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#mp-line{stroke:#5e9e9d;stroke-width:7;opacity:.65}#mp-mop{position:absolute;top:0;left:0;padding:3px;pointer-events:none;filter:drop-shadow(0 3px 2px #254b5a20)}#mp-mop svg{width:100%;height:100%;display:block}.mp-legend{height:29px;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:#4a665f}.mp-legend span{display:flex;align-items:center;gap:4px;white-space:nowrap}.mp-legend i{font-style:normal;width:14px;height:14px;border-radius:4px;text-align:center;font-size:10px}.mp-dry-mark{background:#f8efda;border:1px solid #aaa58c}.mp-wet-mark{background:#b8dad7;border:1px solid #729fa0}.mp-instructions h3{font-size:25px;line-height:1.25;margin:0 0 14px;letter-spacing:-.03em}.mp-instructions>p:last-child{font-size:14px;line-height:1.8;margin:0 0 18px}.mp-feedback{font-size:14px;line-height:1.6;min-height:46px;margin:12px 0;color:#476d69}.mp-feedback.is-stuck{color:#955132;font-weight:650}.mp-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mp-tools button{min-height:48px;border:1px solid #afbdb1;border-bottom:3px solid #afbdb1;background:#fffdf5;border-radius:12px;padding:8px 5px;font-size:14px}.mp-tools button:hover:not(:disabled){background:#e1ece3}.mp-tools button:disabled{opacity:.5}.mp-undo-note{font-size:12px;color:var(--muted);text-align:center;margin:12px 0 0}.mp-stars{font-size:34px;letter-spacing:5px;color:#977229;margin:6px 0}.mp-complete h3{font-size:24px;line-height:1.3;margin:0 0 18px}.mp-text-button{min-height:44px;width:100%;border:0;background:none;font-size:13px!important;text-decoration:underline;text-underline-offset:4px}.mp-paused{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:20px;background:#25434666;backdrop-filter:blur(3px)}.mp-paused>div{width:100%;max-width:370px;border:1px solid #b7c4b4;border-radius:24px;background:#faf7ee;padding:28px;text-align:center;box-shadow:0 16px 50px #263f3430}.mp-paused h2{font-size:24px;margin:14px 0}.mp-paused p{font-size:14px;line-height:1.8;margin-bottom:20px}.mp-paused>div>span{font-size:30px}.mp-results{max-width:440px;text-align:center;margin:0 auto}.mp-result-mop{width:110px;margin:0 auto 12px}.mp-result-mop svg{width:100%}.mp-results h2{font-size:30px;line-height:1.2;margin:10px 0}.mp-total{font-size:22px;color:#8b702c;margin:20px 0}.mp-total b{font-size:70px;font-weight:750;line-height:1}.mp-results ol{list-style:none;padding:0;margin:20px 0}.mp-results li{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c7d2c2;padding:12px 0;text-align:left;font-size:14px}.mp-results li small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.mp-results li b{letter-spacing:3px;color:#96712e}.mp-results>p:last-of-type{font-size:14px;margin:20px 0}.mp-rules{margin:30px auto 0;padding-top:18px;border-top:1px solid #c9d2c2;color:var(--muted);font-size:13px;line-height:1.8;max-width:760px}.mp-rules summary{cursor:pointer;min-height:44px;color:var(--ink)}
@media(prefers-reduced-motion:no-preference){#mp-mop{transition:transform 65ms ease-out}.mp-tile{transition:background-color 110ms}.mp-primary,.mp-tools button{transition:background-color 120ms}}
@media(max-width:680px){.mop-game{max-width:480px;padding:14px 12px 30px}.mp-top{margin-bottom:14px;font-size:11px}.mp-heading h1{font-size:30px;margin-bottom:12px}.mp-home{display:block;text-align:center}.mp-home img{max-height:235px;object-fit:contain}.mp-home-copy{max-width:360px;margin:auto}.mp-opening{font-size:14px;line-height:1.7;margin:8px 0}.mp-lead{font-size:13px;line-height:1.6;margin:8px 0 14px}.mp-note{font-size:11px;margin:10px 0}.mp-workspace{display:block}.mp-instructions{display:none}.mp-room{max-width:360px;padding:0 7px;border-radius:15px 15px 11px 11px}.mp-room-label{height:23px;font-size:8px}.mp-legend{height:22px;font-size:9px}.mp-level{margin-bottom:5px}.mp-level ol{gap:8px}.mp-level li{height:24px;width:24px;font-size:11px}.mp-pause{padding:6px 10px}.mp-level-title{margin-bottom:8px;gap:5px}.mp-level-title h2{font-size:13px}.mp-level-title>span{font-size:11px}.mp-level-title b{font-size:16px}.mp-feedback{min-height:32px;font-size:12px;line-height:1.4;margin:11px 2px 4px;display:flex;align-items:center}.mp-tools{gap:9px}.mp-tools button{min-height:44px;font-size:13px}.mp-undo-note{font-size:10px;margin:7px 0 0}.mp-side{max-width:360px;margin:auto}.mp-stars{font-size:25px;margin:4px 0}.mp-complete h3{font-size:18px;margin:0 0 8px}.mp-complete .mp-primary{min-height:46px}.mp-complete .mp-text-button{font-size:12px!important}.mp-results h2{font-size:26px}.mp-result-mop{width:80px}.mp-total b{font-size:60px}.mp-rules{margin-top:24px;font-size:12px}#mop-app:not([data-phase=home]):not([data-phase=results])>.mp-top,#mop-app:not([data-phase=home]):not([data-phase=results])>.mp-heading{display:none}.mop-game:has(#mp-game:not([hidden])){padding-top:8px}}
@media(max-width:360px){.mp-home img{max-height:185px}.mp-heading h1{font-size:27px}.mp-top{margin-bottom:10px}.mp-home .mp-opening{font-size:13px}.mp-room{padding:0 6px}.mp-room-label{height:21px}.mp-level-title h2{font-size:12px}.mp-legend{font-size:9px}.mp-tile.is-current:after{border-radius:8px}.mp-level-title{margin-bottom:6px}.mp-feedback{margin-top:9px}.mp-door-label{font-size:8px}}
@media(max-width:680px) and (max-height:620px){.mp-undo-note{display:none}.mp-room{max-width:292px}.mp-level-title{min-height:18px}.mp-complete h3{display:none}.mp-complete{display:grid;grid-template-columns:1fr 1.4fr;gap:2px 8px;align-items:center}.mp-complete .mp-text-button{grid-column:1/-1}.mp-stars{font-size:22px}.mp-results li{padding:9px 0}}
