*{box-sizing:border-box}html{color:#3f4639;background:#e9e9e1;font-family:system-ui,-apple-system,Hiragino Sans,sans-serif;font-size:13px}body{overscroll-behavior:none;margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible{outline-offset:3px;outline:2px solid #879577}header{background:#f9f8f2;border-bottom:1px solid #d9dacf;justify-content:space-between;align-items:center;height:55px;padding:0 20px;display:flex}.brand{color:#394032;letter-spacing:-.04em;font:24px Georgia,serif;text-decoration:none}.brand span{color:#838a78;letter-spacing:0;font-size:14px;font-style:italic}.actions{align-items:center;gap:6px;display:flex}.actions button{white-space:nowrap;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-width:34px;height:34px;padding:5px 8px;display:flex}.actions button:not(:disabled):hover{background:#e8ebdf}.actions svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.actions .save{border:1px solid #bec6b3;padding:5px 12px}main{flex-direction:column;height:calc(100dvh - 55px);display:flex}.stage{background:radial-gradient(at 50% 40%,#f3f2eb,#dedfd6);flex:1;justify-content:center;align-items:center;min-height:0;padding:16px;display:flex;overflow:hidden}.sheet{touch-action:none;-webkit-user-select:none;user-select:none;flex:none;position:relative;box-shadow:0 3px 12px #49433c26,0 20px 34px -18px #49433c46}.sheet canvas{width:100%;height:100%;display:block;position:absolute;inset:0}#art{cursor:crosshair;touch-action:none;background:#f7f0e2}.hint{pointer-events:none;color:#a5a091;letter-spacing:.12em;place-items:center;font:16px Hiragino Mincho ProN,YuMincho,serif;transition:opacity .3s;display:grid;position:absolute;inset:0}.hint[hidden]{display:none}.dock{padding:8px 15px max(10px,env(safe-area-inset-bottom));background:#faf9f3;border-top:1px solid #d5d8cc;flex:none;justify-content:center;align-items:center;gap:18px;display:flex}.brushes{scrollbar-width:thin;gap:4px;min-width:0;display:flex;overflow:auto}.brush{white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;flex:0 0 70px;align-items:center;gap:0;width:70px;padding:2px 2px 5px;font-size:10px;display:flex}.brush canvas{width:57px;height:57px;display:block}.brush[aria-pressed=true]{background:#e9eddf;border-color:#b8c5ab}.controls{border-left:1px solid #dedfd4;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 15px;max-width:365px;padding-left:15px;display:flex}.controls label{white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:flex}.controls input{accent-color:#748a65;width:78px;margin:0}.hues{flex-basis:100%;justify-content:center;align-items:center;gap:8px;display:flex}.hue{background:var(--color);border:1px solid #0002;border-radius:50%;width:24px;height:24px}#status{color:#fff;pointer-events:none;background:#394536dd;border-radius:5px;padding:7px 13px;position:fixed;bottom:150px;left:50%;transform:translate(-50%)}#status:empty{display:none}@media (width<=850px){header{padding:0 10px}.dock{padding:5px 10px max(9px,env(safe-area-inset-bottom));flex-direction:column;gap:7px}.brushes{width:100%;max-width:600px}.brush{flex-basis:57px;width:57px;font-size:10px}.brush canvas{width:45px;height:45px}.controls{border:0;gap:9px 13px;max-width:none;padding:0}.stage{padding:9px}.brand{font-size:20px}.brand span{font-size:12px}.actions{gap:2px}.actions button{min-width:30px;padding:4px 6px}.actions .save{padding:4px 8px}.hue{width:20px;height:20px}.hues{flex-basis:auto;gap:8px}.controls input{width:64px}}@media (width<=355px){.brand span{display:none}.controls{gap:7px}.controls input{width:50px}.hues{flex-basis:100%;gap:7px}}.hue:first-child{background:conic-gradient(from 30deg,#dca1b9,#cfb1da,#a7bed8,#94b8a0,#e6c88b,#dca1b9)}.hue[aria-pressed=true]{outline-offset:2px;outline:2px solid #667a5e}@media (width<=850px){.controls{row-gap:9px}.hues{flex-basis:100%}.hue{width:23px;height:23px}}.colors{flex-wrap:wrap;flex-basis:100%;justify-content:center;align-items:center;gap:7px;display:flex}.colors .hues{flex-basis:auto}.dual{white-space:nowrap;background:0 0;border:1px solid #d2d7c8;border-radius:4px;padding:4px 6px;font-size:11px}.dual[aria-pressed=true]{background:#e7ebdf;border-color:#a8b59b}.colors .second{border-top:1px solid #e0e2d7;flex-basis:100%;padding-top:4px}.second[hidden]{display:none}.colors .second .hue:first-child{background:var(--color)}@media (width<=390px){.colors,.colors .hues{gap:6px}.colors .hue{width:20px;height:20px}.dual{padding:3px 4px;font-size:10px}}
