@import"https://fonts.googleapis.com/css2?family=Yomogi&display=swap";:root{color:#302d27;background:#ded9ce;font-family:Yomogi,Klee One,Yu Gothic,Meiryo,cursive;font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{color:#eee9df;background:#161819;color-scheme:dark}*{box-sizing:border-box}html,body,#app{width:100%;min-height:100%;margin:0}body{overflow:hidden}button,textarea{font:inherit}#app{height:100dvh;display:grid;grid-template-rows:88px 1fr;background:#eeeae1}.toolbar{z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 clamp(24px,4vw,64px);background:#faf8f3f0;border-bottom:1px solid rgba(68,59,45,.13);box-shadow:0 4px 24px #312b210f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-mark{width:40px;height:40px;border-radius:4px 4px 11px;background:#ffd55f;box-shadow:inset -6px -7px #efb942,0 5px 12px #885e1526;transform:rotate(-3deg)}.brand h1{margin:0;font:700 1.24rem/1.15 Yomogi,Klee One,Yu Gothic,cursive;letter-spacing:.04em}.brand p{margin:4px 0 0;color:#817b70;font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.create-controls{display:flex;align-items:center;gap:14px}.create-palette{display:flex;align-items:center;gap:7px;padding:7px 9px;background:#fff;border:1px solid rgba(68,59,45,.12);border-radius:999px}.color-dot{--swatch: #ffdc6e;width:24px;height:24px;padding:0;border:2px solid transparent;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #352c1c1a;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.color-dot[data-create-color=pink],.color-dot[data-note-color=pink]{--swatch: #ffb6c5}.color-dot[data-create-color=blue],.color-dot[data-note-color=blue]{--swatch: #a9d3f2}.color-dot[data-create-color=green],.color-dot[data-note-color=green]{--swatch: #b7dda8}.color-dot:hover{transform:scale(1.09)}.color-dot.is-selected{border-color:#37332c;box-shadow:0 0 0 2px #fff,0 0 0 3px #37332c}.color-dot:focus-visible,.important-button:focus-visible{outline:3px solid #5680bf;outline-offset:2px}.theme-toggle{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;color:#4b473f;background:#ffffffbd;border:1px solid rgba(68,59,45,.14);border-radius:999px;font-size:.84rem;font-weight:700;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}.theme-toggle:hover{background:#fff;transform:translateY(-1px)}.theme-icon{font-size:1.12rem;line-height:1}.theme-toggle:focus-visible{outline:3px solid #5680bf;outline-offset:3px}.add-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 20px;color:#fffdf8;background:#32302b;border:0;border-radius:999px;font-weight:700;font-size:.92rem;box-shadow:0 7px 18px #201e1a2e;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.add-button span:first-child{font-size:1.25rem;font-weight:400;line-height:1}.add-button:hover{background:#111;transform:translateY(-1px);box-shadow:0 9px 22px #201e1a38}.add-button:active{transform:translateY(1px)}.add-button:focus-visible,.delete-button:focus-visible,.note textarea:focus-visible{outline:3px solid #5680bf;outline-offset:3px}.board{position:relative;min-width:0;min-height:0;overflow:auto;isolation:isolate;background-color:#e9e4da;background-image:radial-gradient(circle at 18% 12%,rgba(255,255,255,.72),transparent 28%),linear-gradient(rgba(72,64,50,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(72,64,50,.055) 1px,transparent 1px);background-size:auto,32px 32px,32px 32px;touch-action:pan-x pan-y}.board:before{content:"";position:fixed;inset:88px 0 0;z-index:-1;pointer-events:none;box-shadow:inset 0 16px 30px #4a41300e}.board:after{content:"";position:absolute;left:0;top:0;z-index:-1;width:1px;height:var(--canvas-height, 100%);pointer-events:none}.empty-state{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 40px));text-align:center;color:#7e786c;pointer-events:none;transition:opacity .2s ease}.empty-state[hidden]{display:none}.empty-icon{display:block;margin-bottom:12px;color:#bb8536;font-size:2rem}.empty-state h2{margin:0 0 8px;color:#4c483f;font:700 clamp(1.15rem,3vw,1.45rem)/1.3 "Yomogi","Klee One","Yu Gothic",cursive}.empty-state p{margin:0;font-size:.9rem}.note{--note-color: #ffdc6e;position:absolute;width:240px;height:218px;display:grid;grid-template-rows:48px 1fr;background:var(--note-color);border:1px solid rgba(82,60,17,.1);border-radius:5px 5px 18px;box-shadow:0 14px 27px #45392221,0 2px 5px #4539221a;overflow:hidden;animation:note-in .2s ease-out both;transition:box-shadow .18s ease}.note:after{content:"";position:absolute;right:0;bottom:0;width:28px;height:28px;background:linear-gradient(135deg,#ffffff1f 49%,#573b0921 51%);pointer-events:none}.note.dragging{z-index:1000!important;box-shadow:0 24px 42px #332b1d40;transition:none}.note.removing{pointer-events:none;transform-origin:right bottom;animation:peel-away .52s cubic-bezier(.55,.02,.75,.44) forwards}.note.removing:after{animation:peel-corner .52s ease-in forwards}.note-header{display:flex;justify-content:space-between;align-items:center;padding:7px 8px 4px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.note.dragging .note-header{cursor:grabbing}.grip{position:absolute;left:50%;transform:translate(-50%);display:flex;gap:4px;opacity:.35}.grip:before,.grip:after{content:"";width:4px;height:4px;border-radius:50%;background:#5a4c31;box-shadow:0 7px #5a4c31}.note-palette{display:flex;align-items:center;gap:5px}.note-palette .color-dot{width:20px;height:20px}.delete-button{width:34px;height:34px;display:grid;place-items:center;padding:0;color:#392f1e9e;background:transparent;border:0;border-radius:50%;cursor:pointer;font-size:1.25rem;line-height:1}.delete-button:hover{color:#342d21;background:#ffffff59}.note textarea{width:100%;height:100%;resize:none;padding:7px 58px 28px 22px;color:#3d362a;caret-color:#3d362a;background:transparent;border:0;outline:0;font-size:1rem;line-height:1.65}.note textarea::placeholder{color:#3d362a7a}:root[data-theme=dark] #app{background:#1a1c1e}:root[data-theme=dark] .toolbar{background:#1c1e1ff2;border-bottom-color:#ffffff1a;box-shadow:0 4px 24px #00000040}:root[data-theme=dark] .brand p{color:#aaa397}:root[data-theme=dark] .create-palette{background:#282a2b;border-color:#ffffff1f}:root[data-theme=dark] .color-dot.is-selected{border-color:#f4efe5;box-shadow:0 0 0 2px #282a2b,0 0 0 3px #f4efe5}:root[data-theme=dark] .theme-toggle{color:#f4efe5;background:#282a2b;border-color:#ffffff1f}:root[data-theme=dark] .theme-toggle:hover{background:#343637}:root[data-theme=dark] .add-button{color:#25221c;background:#ffd45f;box-shadow:0 7px 18px #00000047}:root[data-theme=dark] .add-button:hover{background:#ffe38d}:root[data-theme=dark] .board{background-color:#202326;background-image:radial-gradient(circle at 18% 12%,rgba(255,255,255,.045),transparent 28%),linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px)}:root[data-theme=dark] .board:before{box-shadow:inset 0 16px 30px #00000038}:root[data-theme=dark] .empty-state{color:#aaa397}:root[data-theme=dark] .empty-state h2{color:#e7e1d7}:root[data-theme=dark] .empty-icon{color:#ffd45f}.important-button{position:absolute;right:13px;bottom:13px;z-index:3;width:36px;height:36px;display:grid;place-items:center;padding:0;color:#3d362a6b;background:#ffffff40;border:1px solid rgba(61,54,42,.14);border-radius:50%;font:800 1.2rem/1 Georgia,serif;cursor:pointer;transition:transform .16s ease,color .16s ease,background .16s ease}.important-button:hover{transform:scale(1.08)}.important-button.is-active{color:#fff;background:#d94a3d;border-color:#d94a3d;box-shadow:0 5px 12px #9e2b2240}@keyframes note-in{0%{opacity:0;transform:scale(.92) rotate(-1deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes peel-corner{0%{width:28px;height:28px}55%{width:78%;height:78%;background:linear-gradient(135deg,#ffffff1f 48%,#583d1047 50%)}to{width:115%;height:115%;background:linear-gradient(135deg,#ffffff0a 48%,#583d1033 50%)}}@keyframes peel-away{0%{opacity:1;transform:perspective(600px) rotateX(0) rotateY(0) translate(0)}48%{opacity:1;transform:perspective(600px) rotateX(-5deg) rotateY(-13deg) translate(-4px,-5px)}to{opacity:0;transform:perspective(600px) rotateX(-20deg) rotateY(-68deg) translate(-30px,24px) scale(.72)}}@media(max-width:767px){#app{grid-template-rows:126px 1fr}.toolbar{display:grid;grid-template-columns:1fr auto auto;grid-template-rows:76px 50px;padding:0 16px;gap:0 8px}.brand{gap:10px}.brand-mark{width:34px;height:34px}.brand h1{font-size:1.06rem}.brand p{font-size:.7rem}.create-controls{display:contents}.create-palette{grid-column:1 / -1;grid-row:2;justify-self:center;padding:6px 10px}.create-palette .color-dot{width:28px;height:28px}.theme-toggle{grid-column:2;grid-row:1;width:48px;min-height:48px;padding:0;border-radius:15px}.theme-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.theme-icon{font-size:1.35rem}.add-button{grid-column:3;grid-row:1;min-width:52px;min-height:52px;padding:0;border-radius:16px}.add-button span:first-child{font-size:1.65rem}.add-button span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.board:before{inset:126px 0 0}.note{width:min(280px,calc(100vw - 32px));height:230px;grid-template-rows:54px 1fr}.note-header{padding:8px}.delete-button{width:42px;height:42px;font-size:1.4rem}.note-palette .color-dot{width:30px;height:30px}.note textarea{padding:4px 62px 30px 22px;font-size:1rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
