.drag-ghost{position:fixed;width:76px;height:80px;pointer-events:none;z-index:100;opacity:.85;padding:0;border:0;background:transparent}.drag-ghost img{width:100%;height:100%}nav{display:flex;flex-wrap:wrap;gap:8px}button:disabled{opacity:.5;cursor:default}.holding .cell.hint{background:#f5d47799;outline:3px solid #aa7733}.ending{padding:24px;background:#e7dfcb;border-radius:18px;margin:16px 0}.ending h2{font:32px Georgia,serif;margin:0 0 10px}.reaction{font-style:italic;margin:12px 0}dialog{border:1px solid #b3a18b;border-radius:20px;background:#fff8ea;color:#453d33;max-width:min(520px,92vw);padding:26px}dialog::backdrop{background:#362b2266}dialog label{display:flex;align-items:center;gap:12px;min-height:52px}dialog input{width:24px;height:24px}dialog button{margin:6px 6px 0 0}.item{transition:filter .2s}.item:hover{filter:brightness(1.06)}.reduced-motion *{transition:none!important;animation:none!important}*{box-sizing:border-box}body{margin:0;background:#f4eddf;color:#453d33;font:16px/1.5 system-ui,sans-serif}main{max-width:1280px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:20px}h1{font-family:Georgia,serif;font-size:clamp(26px,4vw,42px);margin:0}p{margin:6px 0}.eyebrow{font-size:11px;letter-spacing:2px;color:#82705c}button{font:inherit;color:inherit;border:1px solid #b3a18b;border-radius:12px;background:#fffaf0;min-height:44px;min-width:44px;padding:8px 16px;cursor:pointer}button:hover{background:#e9ddc6}button:focus-visible{outline:3px solid #94734c;outline-offset:2px}#boxes{display:flex;gap:16px;margin:18px 0}#boxes section{display:flex;align-items:center;gap:12px;min-height:82px}.room-scroll{overflow:auto;border-radius:18px;background:#e3d5bc;max-width:100%;border:1px solid #d0bda1}#room{position:relative;width:1200px;height:760px}#canvas{position:absolute;inset:0}canvas{display:block}#items .item{position:absolute}.item{padding:0;width:76px;height:80px;background:transparent;border-color:transparent;touch-action:none}.item img{width:100%;height:100%;object-fit:contain;pointer-events:none}.item.selected{outline:3px solid #997342;background:#fff6}.cell{position:absolute;height:44px;border-radius:8px;border-color:transparent;background:transparent;padding:0}.holding .cell{border:1px dashed #9b825e;background:#fff3}.selected{box-shadow:0 0 0 3px #bc944e}#message{min-height:24px}strong{white-space:nowrap}@media(max-width:600px){main{padding:14px}#boxes{flex-wrap:wrap;gap:4px}header{align-items:flex-start}header p:not(.eyebrow){font-size:14px}.eyebrow{font-size:9px}#boxes section{gap:8px}.room-scroll{max-height:65vh}}
