body[data-game=tidy],body[data-game=rhythm]{background:#f5f3e8;color:#304e45}body[data-game=tidy] .playground,body[data-game=rhythm] .playground{max-width:1050px;margin:22px auto;padding:26px;background:#fffdf7;border:1px solid #e3dfce;border-radius:30px;box-shadow:0 15px 60px #4c64460b}#stage{background:transparent;border:0;padding:0;overflow:visible}#description{color:#697b6a;line-height:1.8}.pg-options,.duo-toolbar{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin:14px 0}button{font-family:inherit;cursor:pointer}button:focus-visible{outline:4px solid #4b8eae;outline-offset:3px}.duo-toolbar button,.pg-options button,.duo-audio button,.duo-album button,.duo-win button{min-height:46px;padding:10px 18px;border:1px solid #d6d9c6;border-radius:18px;background:#fffdf4;color:#385648;font-weight:700;font-size:15px}button[aria-pressed=true],.duo-toolbar .primary,.duo-win .primary{background:#3e7564;color:#fff}.duo-audio{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px;background:#edf1e6;border-radius:18px;margin-bottom:16px;font-size:13px}.duo-audio label{display:flex;gap:8px;align-items:center}.duo-audio input{width:90px}.concert{position:relative;border-radius:24px;overflow:hidden;background:#d7e4cc;box-shadow:0 5px 0 #dad9bc}.concert-art{display:block;width:100%;height:auto}.instrument-row{position:absolute;inset:18% 7% 6%;display:grid;grid-template-columns:repeat(3,1fr);gap:3%}.instrument-row button{position:relative;background:transparent;border:3px solid transparent;border-radius:24px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:6px;color:#314938;font-size:15px;text-shadow:0 1px #fff;touch-action:manipulation;transition:background .15s,border-color .15s}.instrument-row button>span:not(.instrument-symbol){background:#fffaf0ef;border-radius:14px;padding:8px;box-shadow:0 3px 9px #352c2417}.instrument-row button small{background:#fff9e0e8;border-radius:8px;padding:4px 10px;margin-top:4px}.instrument-symbol{font-size:25px;background:#fff9e7;border-radius:50%;width:38px;height:38px;line-height:38px;margin-bottom:6px;color:#a66c35}.instrument-row button:nth-child(2) .instrument-symbol{color:#4f8f7c}.instrument-row button:nth-child(3) .instrument-symbol{color:#8679ad}.instrument-row button:disabled{opacity:1;cursor:default}.instrument-row button:not(:disabled):hover,.instrument-row .struck{background:#fff7bd33;border-color:#fff0a8;box-shadow:inset 0 0 30px #fff0aa80}.instrument-row .struck{animation:instrument-hit .4s ease}.round-heading,.room-heading{display:flex;justify-content:space-between;gap:12px;margin:18px 4px 10px}.rhythm-score{display:flex;justify-content:center;gap:8px;margin:15px 0}.rhythm-step{background:#f3f1e6;border:2px solid #dedfce;border-radius:16px;flex:1;max-width:136px;min-width:0;padding:9px 3px;display:flex;flex-direction:column;align-items:center;gap:4px}.rhythm-step b{font-size:26px;color:#987641}.rhythm-step span{font-size:12px}.rhythm-step small{opacity:.6}.rhythm-step.current{border-color:#b38b37;box-shadow:0 0 0 3px #eac96840}.rhythm-step.matched{background:#dcecdf;border-color:#83aa8b}.rhythm-step.demo-step,.rhythm-step.prompt-step{background:#ffe9a2;transform:translateY(-5px)}.length-controls{display:flex;gap:18px;justify-content:center;margin:15px 0}.length-controls button{position:relative;overflow:hidden;border:2px solid #d9c598;border-radius:22px;min-height:110px;min-width:125px;background:#fff1cc;color:#5d543d;touch-action:none}.length-controls b,.length-controls small{position:relative;display:block;padding:5px}.hold-fill{position:absolute;inset:0;background:#b8d3a8;transform:scaleX(0);transform-origin:left}.holding .hold-fill{transform:scaleX(1);transition:transform .5s linear}.duo-win{margin:20px auto;text-align:center;background:#edf1da;border:1px solid #d8dfb8;border-radius:23px;padding:20px}.duo-win h2{font-size:23px}.free-invite{text-align:center;margin:20px}.duo-album{margin:25px 0 8px;border-top:1px solid #dddac8;padding:20px 5px}.duo-album summary{cursor:pointer;font-weight:700;min-height:35px}.stamp-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:7px;margin:18px 0}.stamp-grid span{background:#eceade;color:#a7ad9b;text-align:center;padding:9px 2px;border-radius:12px}.stamp-grid .earned{background:#f5dda2;color:#967232;box-shadow:inset 0 0 0 2px #e6ca87}.toy-room{position:relative;min-height:420px;border:1px solid #e0d6bd;border-radius:24px;overflow:hidden;background:#f5e6c9 url('art/tidy/room.webp') center/cover no-repeat}.toy-room.room-1{box-shadow:inset 0 0 45px #e4a9b036}.toy-room.room-2{box-shadow:inset 0 0 70px #efb55345}.floor-toys{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);position:absolute;inset:40% 9% 4%;gap:5px}.toy-place{display:flex;align-items:center;justify-content:center;min-height:0}.toy{width:90%;height:100%;max-height:91px;max-width:110px;min-height:48px;padding:0;border:2px solid transparent;background:transparent;border-radius:20px;touch-action:none;user-select:none;filter:drop-shadow(0 5px 3px #74533425);transition:background .12s,transform .12s}.toy img,.toy svg{width:100%;height:100%;object-fit:contain;pointer-events:none}.toy:hover{background:#fff6d866;transform:translateY(-3px)}.toy[aria-pressed=true]{background:#fff5c57a;border-color:#ac8840}.toy.dragging{opacity:.3}.toy-ghost{position:fixed;z-index:99999;width:100px;height:100px;pointer-events:none;transform:translate(-50%,-60%);filter:drop-shadow(0 8px 5px #342b3b30)}.toy-ghost img,.toy-ghost svg{width:100%;height:100%;object-fit:contain}.tidied{color:#a9b996;font-size:22px;opacity:.65}.basket-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.basket{display:flex;align-items:center;flex-direction:column;min-height:165px;position:relative;border:5px solid #c19966;border-top:8px solid #b18b5d;border-radius:15px 15px 35px 35px;background:repeating-linear-gradient(0deg,#e3c596 0 5px,#d4b17c 5px 7px);box-shadow:inset 0 5px 9px #6d4a3920,0 5px 0 #98784e28;padding:8px;transition:transform .12s;touch-action:manipulation}.basket:before{content:'';position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(90deg,transparent 0 8px,#fff3d22e 8px 11px);pointer-events:none}.basket.hover,.basket:hover{outline:4px solid #88ab81;transform:translateY(-3px)}.basket-label{z-index:1;background:#fff9e7;border:1px solid #d9bd83;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:5px;padding:3px 12px;color:#5a5039;min-height:48px}.basket-label>img,.basket-label>svg{width:42px;height:42px;object-fit:contain}.basket-packed{display:flex;justify-content:center;flex-wrap:wrap;min-height:48px;width:100%;padding-top:5px}.basket-packed span{height:44px;width:40px;display:block}.basket-packed img,.basket-packed svg{width:100%;height:100%;object-fit:contain}.basket>small{z-index:1;background:#fff7e0b0;padding:3px 10px;border-radius:12px;color:#64573b;margin-top:auto}progress{width:100%;height:12px;accent-color:#709772;margin-bottom:12px}.room-decoration{position:absolute;right:18%;top:20%;display:flex;height:65px;gap:3px}.room-decoration img{width:50px;object-fit:contain}.room-clean-label{position:absolute;top:43%;left:25%;right:25%;padding:16px;background:#fffdf0ee;text-align:center;border-radius:20px;font-size:25px;font-weight:800;color:#537d61;box-shadow:0 5px 20px #725c4820}.reward-track{display:flex;gap:15px;justify-content:center;margin:20px}.reward-track>div{display:flex;flex-direction:column;align-items:center;opacity:.5;padding:10px;background:#f3efdf;border-radius:16px}.reward-track>div.unlocked{opacity:1;background:#e4efdc}.reward-track img{width:65px;height:65px;object-fit:contain}.pg-status{min-height:50px;line-height:1.6}.pg-help{font-size:14px}body[data-game=rhythm] h1,body[data-game=tidy] h1{font-size:clamp(27px,4vw,40px)}@keyframes instrument-hit{50%{transform:translateY(-5px)}}@media(max-width:600px){body[data-game=tidy] .playground,body[data-game=rhythm] .playground{margin:8px;padding:14px;border-radius:22px}.duo-toolbar{gap:6px}.duo-toolbar button,.pg-options button{padding:9px 11px;font-size:13px}.concert{border-radius:16px}.instrument-row{inset:12% 3% 3%;gap:1%}.instrument-row button{padding:3px;font-size:10px;border-width:2px;border-radius:16px}.instrument-row button>span:not(.instrument-symbol){padding:5px;min-height:32px;display:flex;align-items:center}.instrument-row button small{display:none}.instrument-symbol{font-size:18px;width:26px;height:26px;line-height:26px;margin-bottom:3px}.rhythm-step{padding:7px 2px;border-radius:12px}.rhythm-step b{font-size:22px}.rhythm-step span{font-size:10px;overflow-wrap:anywhere}.rhythm-score{gap:4px}.duo-audio{gap:8px}.toy-room{min-height:355px;background-size:auto 100%}.floor-toys{inset:40% 3% 4%;gap:4px}.toy{max-height:66px;width:100%}.basket-row{gap:7px}.basket{padding:5px 2px;min-height:148px;border-width:3px}.basket-label{padding:3px;gap:1px;flex-direction:column;font-size:12px;width:90%;min-height:64px}.basket-label>img,.basket-label>svg{width:32px;height:32px}.basket-packed span{width:28px;height:32px}.stamp-grid{gap:5px}.room-heading{font-size:13px}.room-decoration{right:9%;top:23%;height:48px}.room-decoration img{width:35px}.room-clean-label{left:14%;right:14%;font-size:22px}.duo-win h2{font-size:19px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
body[data-game=tidy] #help,body[data-game=rhythm] #help{display:block;margin:10px 0;font-size:14px;color:#65785f}.floor-toys{grid-template-rows:repeat(var(--rows,3),1fr)}progress{appearance:none;border:0;border-radius:20px;background:#e6e9d8;overflow:hidden}progress::-webkit-progress-bar{background:#e6e9d8;border-radius:20px}progress::-webkit-progress-value{background:#85ae86;border-radius:20px}
