.squish-main{max-width:1180px;width:calc(100% - 40px);margin:auto}.squish-workspace{border:1px solid #ffd0e1;border-radius:28px;background:white;box-shadow:0 7px 0 #ffe9f2,0 15px 40px #dd709516;overflow:visible}.squish-stage{position:relative;min-height:440px;height:clamp(370px,57vh,670px);overflow:hidden;display:grid;place-items:center;border-radius:28px 28px 0 0;background-color:#fffafb;background-image:radial-gradient(circle,#ffe1eb 2.5px,transparent 3px);background-size:26px 26px;touch-action:none}.squish-stage.drag{outline:3px solid #f88db7;outline-offset:-5px}.squish-drop{background:#ffffffed;border:2px dashed #ffccde;border-radius:28px;padding:32px 30px;text-align:center;max-width:90%;width:435px;box-shadow:0 10px 30px #ef8bb61a}.cloud{display:block;font-size:43px;color:#f58fb5;line-height:1}.squish-drop h2{font-size:20px;color:#df668e;margin:20px 0 8px}.squish-drop p{font-size:12px;color:#a08391;max-width:300px;margin:0 auto 20px}.squish-drop>div{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.squish-main button{border:1px solid #ffd0e1;border-radius:99px;background:white;color:#c25885;padding:10px 16px;font-size:12px;font-weight:700;min-height:40px}.squish-main button:hover:enabled{background:#fff0f6}.flow-steps button{padding:5px 13px;min-height:32px;font-size:11px}.flow-steps button[aria-current=step]{background:#ffe3ef;border-color:#f5a2c1;color:#c03c73}.flow-steps button:disabled{opacity:.55}.squish-toolbar{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;flex-wrap:wrap;min-height:75px;border-top:1px solid #ffe0eb;border-radius:0 0 28px 28px;background:#fff}.squish-toolbar label{display:flex;align-items:center;gap:9px;font-size:11px;color:#ad7890;font-weight:700}.squish-toolbar input[type=range]{width:110px;min-width:50px;accent-color:#ef88b0}.squish-toolbar button[aria-pressed=true]{background:#ffe7f0;border-color:#f49fbe}.squish-toolbar #play,.squish-toolbar #record{margin-left:auto}#squish-canvas,#overlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none}#overlay{pointer-events:none}.stage-hint{position:absolute;top:12px;left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);padding:7px 15px;border:1px solid #ffe2ed;border-radius:99px;background:#fffffff0;color:#b96c8d;text-align:center;font-size:12px;pointer-events:none;box-shadow:0 2px 8px #d9679410;white-space:normal}.squish-zoom{position:absolute;bottom:12px;right:12px;display:flex;gap:5px;padding:4px;border:1px solid #ffe0ec;border-radius:99px;background:#ffffffed}.squish-zoom button{width:34px;min-height:34px;padding:0;font-size:19px;border:0}#cursor{position:absolute;border:1.5px solid #e780aa;background:#ffbad528;box-shadow:0 0 0 1px white;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%)}#notice{font-size:12px;color:#ac8396;text-align:center;min-height:20px;margin:20px 0}#options{position:relative;font-size:11px;color:#bc7595}#options summary{cursor:pointer;padding:10px;border:1px solid #ffdae8;border-radius:99px;list-style:none}#options>div{position:absolute;right:0;bottom:50px;background:white;box-shadow:0 10px 35px #b4648b30;padding:20px;z-index:10;width:235px;border:1px solid #ffd0e1;border-radius:22px;display:grid;gap:18px}#options label{justify-content:space-between}#options select{max-width:125px;border-radius:10px;border:1px solid #ffd4e4;padding:7px;color:#ad6487;background:white;font-size:11px}#last-download{font-size:11px;color:#c25885}.recording #record{background:#b95182!important;animation:record-pulse 1s ease infinite}.recording #stage-hint{border-color:#ef9cbf}body[data-squish-mode=play] #squish-canvas{cursor:grab}body[data-squish-mode=play] #squish-canvas:active{cursor:grabbing}@keyframes record-pulse{50%{box-shadow:0 0 0 5px #ef85ad33}}@media(max-width:600px){.squish-main{width:calc(100% - 24px)}.squish-stage{height:52vh;min-height:350px}.squish-drop{padding:25px 20px}.squish-toolbar{gap:7px;padding:12px 10px}.squish-main button{padding:8px 11px;font-size:11px}.squish-toolbar #play,.squish-toolbar #record{margin-left:0}.squish-toolbar input[type=range]{width:85px}.squish-toolbar label{gap:6px}.stage-hint{font-size:11px;min-width:220px}#options>div{right:-60px}.squish-drop h2{font-size:18px}}
#record-preview{width:min(440px,calc(100% - 28px));max-height:92dvh;overflow:auto;border:1px solid #ffcee0;border-radius:26px;background:#fff;padding:22px;text-align:center;color:#80415d;box-shadow:0 16px 50px #67304e35}#record-preview::backdrop{background:#59364465}#record-preview h2{font-size:20px;margin:0 0 12px}#record-media{padding:10px;background:#fff7fb;border-radius:18px}#record-media :is(img,video){display:block;max-width:100%;max-height:38vh;margin:auto;border-radius:10px}#record-preview p{font-size:12px;margin:11px 0;color:#855c70}.record-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:14px}.record-actions a{padding:9px 15px;border:1px solid #ffc3d9;border-radius:99px;text-decoration:none;font-size:13px;font-weight:700}.record-actions a.primary{color:#fff}#record-preview button{border:1px solid #ffc3d9;border-radius:99px;background:#fff;color:#ad386d;padding:7px 16px}

/* Keep the artwork on the same dotted desk, with separate floating docks. */
body:has(.squish-main){background-color:#fff9fb;background-image:radial-gradient(circle,#fbdde8 2.35px,transparent 2.8px);background-size:24px 24px}
.squish-main .tool-heading{padding-block:8px 16px}
.squish-workspace{background:none;border:0;box-shadow:none}
.squish-stage{background:none;border-radius:25px;height:clamp(350px,63dvh,740px);min-height:0}
.squish-drop{border-color:#ffc0d5;box-shadow:0 12px 40px #d85c8517}
.squish-drop .cloud svg{width:46px;height:46px}
.squish-main .primary{background:linear-gradient(175deg,#ff9fbd,#ec6897);color:#56203a;border-color:#f884a9;box-shadow:inset 0 2px 2px #ffffff75,0 5px 12px #d9447838}
.squish-main .primary:hover:enabled{background:linear-gradient(175deg,#ffaeca,#f078a3)}
.stage-hint{top:5px;font-weight:700;color:#a64266;padding:8px 18px}
.squish-toolbar{width:max-content;max-width:100%;min-height:0;margin:8px auto 0;padding:9px;gap:7px;border:1px solid #ffe2ec;border-radius:24px;background:#fff9fcf7;box-shadow:0 8px 23px #bd64801f,inset 0 1px 1px white}
.squish-toolbar button,.squish-toolbar summary{background:#fff;border:1px solid #ffe4ed;border-radius:15px;box-shadow:0 3px 7px #bb567912}
.squish-toolbar button:has(svg),.squish-toolbar summary{display:grid;place-items:center;gap:2px;min-width:53px;min-height:52px;padding:5px 8px;font-size:10px;line-height:1.15}
.squish-toolbar svg{height:20px;width:20px;color:#d44877}
.squish-toolbar #play,.squish-toolbar #record{margin-left:0}
.squish-toolbar #play{border-radius:99px}
.squish-toolbar #sound-toggle[aria-pressed=false] svg{opacity:.48}
.squish-toolbar #sound-toggle[aria-pressed=true]{background:white}
.squish-toolbar #record svg{color:#e23368}
.squish-toolbar .edge-switch{display:flex;gap:2px;padding:3px;background:#ffeaf1;border-radius:99px}
.squish-toolbar .edge-switch button{min-height:32px;border-radius:99px;padding:4px 9px;color:#8c4c64;background:transparent;border:0;box-shadow:none}
.squish-toolbar .edge-switch button[aria-pressed=true]{background:white;color:#a22f59;box-shadow:0 2px 6px #bd648027}
.squish-toolbar label{color:#8c4c64}
#options>div{bottom:calc(100% + 12px)}
#play-tools button span,#options summary span{max-width:78px;text-align:center}
@media(max-width:600px){.squish-stage{height:clamp(265px,56dvh,510px)}.squish-toolbar{gap:5px;padding:7px}.squish-toolbar input[type=range]{width:66px}#options>div{right:0}.squish-toolbar button:has(svg),.squish-toolbar summary{min-width:46px;padding:5px}}

/* Full screen desk: hint at the top, artwork filling the middle, tools just below. */
body:has(.squish-main){background-color:#fff9fa;background-image:radial-gradient(circle,#fce3ea 3.8px,transparent 4.4px),radial-gradient(circle,#fce3ea 3.8px,transparent 4.4px);background-position:10px -6px,33px 17px;background-size:46px 46px}
body:is([data-squish-mode=paint],[data-squish-mode=play]) :is(.header,.tool-heading,.squish-main>.miau-support,.footer,#notice){display:none}
body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-main{width:100%;max-width:none}
body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-workspace{min-height:100dvh;display:flex;flex-direction:column;padding:0 0 15px}
body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-stage{width:100%;height:calc(100dvh - 76px);min-height:320px;border-radius:0}
body[data-squish-mode=paint] .squish-stage{padding:0}
body[data-squish-mode=paint] #squish-canvas{cursor:none}
.stage-hint{top:6px;z-index:2;padding:10px 21px;color:#dd5578;background:#fffdfd;border:0;border-radius:999px;font-size:15px;font-weight:800;line-height:1.2;box-shadow:0 8px 22px #d15e7d16}
#brush-preview{display:none;position:absolute;top:64px;left:36px;width:var(--brush-diameter,88px);height:var(--brush-diameter,88px);border-radius:50%;border:2px solid #ff86aa;background:#ffa8c22b;pointer-events:none}
body[data-squish-mode=paint] #brush-preview{display:block}
#cursor{border:2px solid #ff86aa;background:#ffa8c22b;box-shadow:none}
.squish-toolbar{z-index:3;gap:8px;margin:-10px auto 0;padding:8px 10px;background:#fffdfdf5;border:1px solid #fff;border-radius:26px;box-shadow:0 8px 24px #d65d8025}
.squish-toolbar button,.squish-toolbar summary{color:#d94870}
.squish-toolbar button:has(svg),.squish-toolbar summary{min-width:55px;min-height:51px;padding:5px 8px;border:1.5px solid transparent;border-radius:17px;color:#8d6674;font-weight:800;box-shadow:0 4px 10px #cb66871c}
.squish-toolbar button[aria-pressed=true]:not(#sound-toggle){border-color:#ff86a7;background:#fff2f6;color:#d94870}
.squish-toolbar svg{color:#e65379}
.squish-toolbar .edge-switch{background:#fcebf0;border-radius:999px;padding:3px}
.squish-toolbar .edge-switch button{min-width:86px;padding:5px 13px;font-size:14px;color:#916c78}
.squish-toolbar .edge-switch button[aria-pressed=true]{border:0;background:#fff;color:#d94870}
#paint-tools>label{display:grid;justify-items:center;gap:4px;color:#85616d}
#brush-size{appearance:none;width:90px;height:7px;border-radius:999px;background:linear-gradient(to right,#ff93b6 var(--brush-fill),#50484b var(--brush-fill));margin:4px}
#brush-size::-webkit-slider-thumb{appearance:none;width:15px;height:15px;border-radius:50%;background:#fa82a5}
#brush-size::-moz-range-thumb{width:15px;height:15px;border:0;border-radius:50%;background:#fa82a5}
#paint-tools :is(#all,#play){min-height:46px;padding:8px 23px;border-radius:999px;font-size:15px;font-weight:800}
#paint-tools #all{border:2px solid #ffd0df;background:white;color:#d94870}
#paint-tools #play{border:0;background:linear-gradient(#ff9eba,#ff8cae);color:#68233d;box-shadow:inset 0 1px 1px #fff7,0 6px 12px #f27ca34d}
#options .squish-zoom{position:static;justify-content:center}
#options .squish-zoom button{min-height:34px}
@media (max-width:650px){
 body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-stage{height:calc(100dvh - 126px);min-height:240px}
 body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-toolbar{max-width:calc(100% - 16px);gap:5px}
 .squish-toolbar .edge-switch button{min-width:55px;padding-inline:6px;font-size:12px}
 #paint-tools :is(#all,#play){min-height:40px;padding:6px 12px;font-size:13px}
 .stage-hint{font-size:13px;min-width:0;width:max-content}
 #brush-preview{left:12px;top:57px;max-width:48px;max-height:48px}
}
body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-workspace{padding-top:52px}
body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-stage{height:calc(100dvh - 128px);overflow:visible}
body:is([data-squish-mode=paint],[data-squish-mode=play]) #squish-canvas{clip-path:inset(0)}
body:is([data-squish-mode=paint],[data-squish-mode=play]) .stage-hint{top:-46px}
#brush-preview{top:12px}
@media(max-width:650px){body:is([data-squish-mode=paint],[data-squish-mode=play]) .squish-stage{height:calc(100dvh - 178px)}#brush-preview{top:5px}}
.squish-main #paint-tools #play.primary:not(:disabled),.squish-main #choose.primary:not(:disabled){background:linear-gradient(160deg,#ff9fbb,#ff89ab)!important;border-color:#ff94b4!important;color:#fff!important;box-shadow:inset 0 1px 1px #fff7,0 6px 12px #f27ca34d!important}
.squish-main #paint-tools .edge-switch button[aria-pressed=true]{background:#fff;border:0;color:#df4c74}
#paint-tools :is(#brush,#eraser)[aria-pressed=true]{border:2px solid #ff80a5;background:linear-gradient(#fff5f8,#ffedf4);color:#df426d;box-shadow:0 3px 10px #f67d9d38,inset 0 1px 0 #fff}
#paint-tools :is(#brush,#eraser)[aria-pressed=true] svg{color:#e74b77}
.squish-main #paint-tools #play.primary:not(:disabled){background:linear-gradient(165deg,#ffabc3 0%,#ff91b0 55%,#ff88aa 100%)!important;box-shadow:inset 0 2px 1px #ffffff7d,0 4px 13px #f88dae72,0 0 21px #ff9ebf55!important}
/* Compact, luminous controls with even gutters and a small gap above the dock. */
#paint-tools,#play-tools{gap:7px;padding:7px 10px;margin-top:-4px;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fff7fa 100%);box-shadow:0 0 13px #fff9,0 5px 17px #f58baa36,inset 0 1px 0 #fff}
#play-tools :is(button:has(svg),summary),#paint-tools button:has(svg){border-radius:13px;min-height:47px;padding:5px 7px;box-shadow:inset 0 1px 1px #fff,0 3px 9px #e490a82b}
#play-tools #options[open]>summary{background:#fff0f5;border-color:#ff91ad;color:#d84f75}
#options>div{bottom:calc(100% + 10px);width:min(226px,calc(100vw - 30px));padding:14px;gap:12px;border-radius:21px;background:linear-gradient(#fff,#fff9fb);box-shadow:0 0 12px #fff9,0 8px 25px #da789b3c,inset 0 1px 1px white}
#options summary::-webkit-details-marker{display:none}
#options input[type=range]{accent-color:#f890b1;width:91px}
#options #reset{min-height:34px;border-radius:12px}
#options .squish-zoom{gap:4px;padding:3px}
#options .squish-zoom button{min-height:29px;width:29px}
#paint-tools #all,#paint-tools #play{min-height:40px;padding-inline:18px}
.squish-main #paint-tools #play.primary:not(:disabled){box-shadow:inset 0 2px 2px #fff9,1px 3px 11px #ff8bae85,0 0 17px #ffb0c96b!important}
#play-tools .record-settings{display:flex;gap:6px;align-items:center;padding:2px 5px;border:1px solid #ffe2ec;border-radius:13px;background:#fffafd}
#play-tools .record-settings label{display:grid;gap:3px;color:#85425f;font-size:10px}
#play-tools .record-settings select{min-height:26px;max-width:153px;padding:2px 5px;border:1px solid #ffcddd;border-radius:7px;background:white;color:#823252;font:inherit;font-size:11px}
@media(max-width:620px){#play-tools .record-settings{order:1}#play-tools #record{order:2}#play-tools{justify-content:center}}
