@font-face{font-family:Galmuri;src:url("assets/fonts/Galmuri11.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Galmuri;src:url("assets/fonts/Galmuri11-Bold.woff2") format("woff2");font-weight:700 900;font-display:swap}
:root{color-scheme:light;font-family:Galmuri,"Apple SD Gothic Neo",sans-serif;--ink:#3a3043;--line:#716274;--sheet:#fffaf0;--paper:#f7f0f5;--mauve:#785d78;color:var(--ink)}
*{box-sizing:border-box}body{background:radial-gradient(#dcd1dc .7px,transparent 1px) 0 0/9px 9px,var(--paper);min-height:100dvh;margin:0}button,a,summary{font:inherit;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #903e8a;outline-offset:3px}button img{pointer-events:none}img{user-select:none;-webkit-user-drag:none}button:disabled{cursor:default}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.top{background:#fcf8fd;border-bottom:2px solid #b9aabd}.bar-inner,.studio{margin-inline:auto;width:min(1100px,calc(100% - 64px))}.bar-inner{height:66px;display:flex;align-items:center;justify-content:space-between}.arcade-brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:700;font-size:1.12rem;line-height:1.15;letter-spacing:-.055em}.arcade-brand small{display:block;font-size:.66rem;letter-spacing:.12em;color:#796780;margin-top:4px}.arcade-brand img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.top-controls{display:flex;gap:9px}.top-controls button,.arcade-return{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;background:#fffafa;border:2px solid #66526b;border-radius:7px;box-shadow:0 2px #baa9bc;min-height:35px;text-decoration:none;font-size:.84rem;font-weight:bold}.top-controls img{width:16px;image-rendering:pixelated}.top-controls a:hover,.top-controls button:hover{background:#f5e9f4}.studio{padding:27px 0 24px;--dot:#e8a464;--depth:#bf883d}
.studio-title{display:flex;gap:15px;align-items:center;margin-bottom:22px}.headshot{width:60px;height:60px;display:grid;place-items:end center;background:linear-gradient(0deg,#edb3bc 13%,#ffe1dd 13%);border:2px solid #775567;border-radius:16px;box-shadow:inset 0 3px #fff5e9,0 3px #cb9faa;overflow:hidden}.headshot img{width:96%;height:96%;image-rendering:pixelated}.studio-title h1{font-size:clamp(1.55rem,3vw,2.05rem);margin:0;letter-spacing:-.065em;color:#443348;line-height:1.24}.studio-title p{margin:6px 0 0;color:#735e74;font-size:.94rem}
.workspace{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(238px,1fr);gap:17px 19px;align-items:stretch}.workbench{border:3px solid #66505e;border-radius:17px;background:repeating-linear-gradient(1deg,transparent 0 9px,#ffffff1f 10px 11px,transparent 12px 21px),linear-gradient(100deg,#e8c596,#f7d7ad 46%,#deb58d);padding:13px 17px 7px;box-shadow:inset 0 4px #ffe8c6,inset 0 -5px #c39b76,0 4px #91798a,0 7px #ddd0d5;position:relative}.bench-head{height:33px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.label-plate{display:inline-flex;align-items:center;gap:7px;background:#fff4db;border:1px solid #977759;padding:3px 9px;border-radius:4px;box-shadow:0 1px #b99673}.material-dot{width:8px;height:8px;background:var(--dot);border:1px solid #89665b;border-radius:50%}.label-plate h2{margin:0;font-size:.89rem;line-height:1.15}.action-name{font-size:.81rem;font-weight:bold;color:#674f50;align-self:center;margin-bottom:5px}.mat{position:relative;height:clamp(310px,28.4vw,353px);min-width:0;isolation:isolate;overflow:hidden;border:2px solid #9581a3;border-radius:22px;background:radial-gradient(ellipse at 45% 26%,#efe3fa 0,#e7d7ee 47%,#d4c1de 100%);box-shadow:inset 1px 3px 4px #8e719e36,0 2px #f9dfc0}
.mat::before{content:"";position:absolute;inset:0;background:url("assets/desk/weave.png");opacity:.18;mix-blend-mode:multiply;pointer-events:none}.mat-stitch{position:absolute;inset:9px;border:2px dashed #bba5c5;border-radius:14px;pointer-events:none}.material-imprint{position:absolute;bottom:13px;right:22px;pointer-events:none;font-size:.62rem;letter-spacing:.16em;font-weight:bold;color:#907b9a;opacity:.84}
#toy,#props{position:absolute;inset:0;width:100%;height:100%}#toy{outline-offset:-13px;border-radius:18px;touch-action:none;cursor:grab}#toy:active{cursor:grabbing}#props{display:grid;place-items:center}
.bench-instruments{min-height:36px;display:flex;align-items:center;gap:8px}.readout{display:flex;align-items:center;gap:8px;color:#674f50;font-size:.76rem;font-weight:bold;margin-right:auto}.pressure{height:8px;width:83px;border-radius:5px;overflow:hidden;background:#c3a282;border:1px solid #9c7f6c}.pressure i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:var(--depth)}
#vibrate,#renew{border:1px solid #977a72;border-radius:5px;padding:3px 7px;min-height:27px;background:#fae6cb;font-size:.74rem;box-shadow:0 1px #bd9b85}#vibrate[aria-pressed=true]{background:#dcf2d5}
.drawer{border:2px solid #8d7683;border-radius:14px;padding:17px 15px;background:linear-gradient(#fff9ee,#faf0e7);box-shadow:inset 0 3px #fffdf5,0 4px #c5b4be;display:flex;flex-direction:column}.drawer-title{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:12px}.drawer h2,.notecard h2{margin:0;font-size:1.09rem;letter-spacing:-.04em}.stamp-count{display:flex;align-items:center;gap:4px;color:#735568;font-size:.73rem}.stamp-count img{width:14px;height:14px;image-rendering:pixelated}.choices{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choices button{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#fffaf3;border:1.5px solid #bbacac;border-radius:9px;padding:4px;color:#544453;box-shadow:0 2px #dfd1ca;font-size:.87rem;font-weight:bold;line-height:1.2}.choices button:hover{border-color:#947d8b;background:#fffdf7}.choices button[aria-pressed=true]{background:#f4f2db;border:2px solid #7a845a;box-shadow:inset 0 0 0 2px #e3e9c6,0 2px #c2c7a9}.choices button img{width:clamp(51px,5.4vw,70px);height:clamp(41px,4.2vw,56px);object-fit:contain}.choices button[data-found=true]::after{content:"★";position:absolute;right:4px;top:3px;font-size:11px;color:#976427}
.notecard{position:relative;grid-column:1/-1;display:flex;align-items:center;gap:12px;background:#fff9e9;border:1px solid #cdb9a3;border-radius:9px;padding:12px 16px;min-height:66px}.note-star{width:22px;height:22px;image-rendering:pixelated}.notecard h2{font-size:.84rem;color:#8e605c}.notecard p{margin:4px 0 0;font-size:.89rem;line-height:1.45;color:#594952}.stamp-result{margin-left:auto;white-space:nowrap;font-size:.78rem;color:#805886}.bottom-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:17px;margin-top:16px;font-size:.79rem;color:#736277}.bottom-bar details{max-width:690px}.bottom-bar a{text-underline-offset:3px;white-space:nowrap}.bottom-bar summary{width:max-content}.bottom-bar p{margin:6px 0;line-height:1.6}kbd{font-family:inherit;background:#fff8ff;border:1px solid #c1afc7;padding:1px 4px;border-radius:3px;font-size:.8rem}
.bubble-sheet{width:min(68%,360px);border:2px solid #91b4b1;background:repeating-linear-gradient(115deg,#e8f8ed5c 0 3px,transparent 3px 12px),linear-gradient(155deg,#e5f5ee,#c2ded9 44%,#b1ceca);padding:13px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));aspect-ratio:1.95;gap:6px;border-radius:15px 12px 18px 11px;box-shadow:inset 3px 3px 2px #f2fff4aa,inset -2px -2px #91b8b1,1px 7px 9px #69566e4d;transform:rotate(-3deg);touch-action:none}
.pocket{display:block;appearance:none;padding:0;margin:0;aspect-ratio:1;border-radius:50%;border:1px solid #a3c3ba;background:radial-gradient(ellipse at 33% 24%,#fffff5 0 5%,#f5fff1aa 7%,transparent 18%),radial-gradient(circle at 39% 36%,#f4fff5 0,#dff6ed 25%,#a3cdc4 66%,#effff1 76%,#9cbcaf 85%,#badacf 91%);box-shadow:1px 2px 2px #6f9a9366;touch-action:none}
@keyframes bubblePopSnap{0%{transform:scale(1.12);box-shadow:0 0 0 4px #ffffffaa}45%{transform:scale(.84,.76)}100%{transform:scale(.92,.84)}}
.pocket[data-popped=true]{animation:bubblePopSnap .19s cubic-bezier(.2,.9,.3,1);background:linear-gradient(41deg,transparent 46%,#7d9e95b5 48.5%,#f7ffef88 51.5%,transparent 54%),linear-gradient(128deg,transparent 44%,#83a49b99 47%,#f2ffea70 50%,transparent 53%),radial-gradient(ellipse at 61% 65%,#dde9de,#9fbdb3 64%,#cddfd5 75%,#89aaa0 89%);transform:scale(.92,.84);box-shadow:inset 1px 2px 4px #688d8466}.paper-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline-offset:-14px;border-radius:18px}.paper-canvas:active{cursor:grabbing}
@media(min-width:1500px){.studio{padding-top:35px}}
@media(max-width:840px){.bar-inner,.studio{width:calc(100% - 36px)}.workspace{grid-template-columns:minmax(0,2fr) minmax(192px,1fr);gap:14px}.drawer{padding:13px 9px}.mat{height:300px}.studio-title{margin-bottom:17px}.workbench{padding:11px 10px 5px}}
@media(max-width:650px){.bar-inner,.studio{width:calc(100% - 24px)}.bar-inner{height:54px}.arcade-brand{font-size:.9rem;gap:6px}.arcade-brand img{width:29px;height:29px}.arcade-brand small{font-size:.56rem}.top-controls{gap:6px}.top-controls button,.arcade-return{font-size:.73rem;padding:5px 7px;min-height:32px}.top-controls img{width:14px}.studio{padding-top:15px}.studio-title{gap:9px;margin-bottom:13px}.headshot{width:44px;height:44px;border-radius:12px}.studio-title h1{font-size:1.34rem}.studio-title p{font-size:.76rem;margin-top:3px}.workspace{display:flex;flex-direction:column;gap:11px}.workbench{order:0}.drawer{order:1;padding:10px;background:#fff7eb}.notecard{order:2;min-height:58px;padding:9px 11px;gap:8px}.drawer-title{margin:0 0 7px}.drawer h2{font-size:.94rem}.choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.choices button{flex-direction:row;justify-content:center;gap:3px;padding:3px 2px;min-height:45px;font-size:.77rem}.choices button img{width:32px;height:29px}.mat{height:clamp(228px,56vw,300px)}.bench-head{height:28px}.bench-instruments{min-height:31px}.workbench{border-radius:12px}.material-imprint{font-size:.54rem;bottom:11px;right:17px}.mat-stitch{inset:6px}.bottom-bar{font-size:.74rem;margin-top:12px}.notecard p{font-size:.79rem}.stamp-result{font-size:.65rem}.bubble-sheet{width:min(79%,300px);padding:10px;gap:5px}.note-star{width:17px;height:17px}}
@media(max-width:360px){.bar-inner,.studio{width:calc(100% - 16px)}.choices button{font-size:.72rem}.choices button img{width:26px}.stamp-result{display:none}.studio-title p{font-size:.69rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.credits{margin-top:9px;color:#736277;font-size:.75rem}.credits summary{width:max-content}.credits div{display:flex;gap:12px;margin:7px 0}.credits a{text-underline-offset:3px}
.drawer{gap:0}.drawer .choices{min-height:0}.drawer .choices button{padding-block:5px}.categories{display:grid;grid-template-columns:1fr 1.46fr 1fr;gap:4px;margin:0 0 9px}.categories button{background:#f1e7dc;border:1px solid #c3b0a5;padding:5px 1px;min-height:30px;border-radius:5px;color:#715962;font-size:.70rem;line-height:1.15;white-space:nowrap}.categories button[aria-pressed=true]{background:#654d65;color:#fff9f2;border-color:#654d65;font-weight:bold}
.draw-material{margin-top:10px;background:#f4e9f3;border:1px solid #b29ba9;border-radius:5px;min-height:29px;padding:4px 9px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:.76rem;color:#694e67}.draw-material:hover{background:#eed8ed}.die{font-family:ui-sans-serif,sans-serif;font-size:17px;line-height:1}
#lensToggle{border:1px solid #977a72;border-radius:5px;padding:3px 7px;min-height:27px;background:#fae6cb;font-size:.74rem;box-shadow:0 1px #bd9b85}#lensToggle[aria-pressed=true]{background:#def2db}
#lens{position:absolute;pointer-events:none;top:14px;right:15px;width:106px;height:106px;border-radius:50%;border:3px solid #84687a;background:#e6d6eb;box-shadow:0 0 0 2px #fff2d7,1px 5px 9px #5b435849}#lens.lens-left{left:15px;right:auto}
#twoHint{display:block;font-size:.76rem;margin-top:4px;color:#80697a;line-height:1.35}.studio[data-material="keys"] .mat-stitch,.studio[data-material="pencil"] .mat-stitch{opacity:.75}
@media(min-width:651px){.drawer:has(.categories [data-group="objects"][aria-pressed="true"]) .choices{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer:has(.categories [data-group="objects"][aria-pressed="true"]) .choices button img{height:38px}}
@media(max-width:650px){.categories{gap:5px;margin:0 0 6px;grid-template-columns:repeat(3,minmax(0,1fr))}.categories button{min-height:29px;font-size:.73rem}.drawer-title{margin-bottom:6px}.choices button{min-height:42px}.draw-material{margin-top:7px;min-height:27px}.drawer .choices button{padding-block:3px}.studio-title p{font-size:.72rem}.drawer:has(.categories [data-group="objects"][aria-pressed="true"]) .choices{grid-template-columns:repeat(4,minmax(0,1fr))}.drawer:has(.categories [data-group="objects"][aria-pressed="true"]) .choices button{flex-direction:column;gap:2px;font-size:.66rem;padding:3px 1px;min-height:48px}.drawer:has(.categories [data-group="objects"][aria-pressed="true"]) .choices button img{width:30px;height:24px}#lens{width:73px;height:73px;top:9px;right:9px;border-width:2px}#lens.lens-left{left:9px;right:auto}#twoHint{font-size:.68rem}.bottom-bar{flex-wrap:wrap}.credits div{flex-wrap:wrap}}
@media(max-width:360px){.choices button{flex-direction:column;gap:1px;min-height:47px}.choices button img{height:23px}.studio-title p{max-width:225px;line-height:1.3}}
.choices button span{word-break:keep-all;overflow-wrap:normal}
