*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f172a;overflow:hidden;width:100vw;height:100dvh}.app{position:relative;width:100vw;height:100dvh;overflow:hidden}.background-image-container{position:fixed;top:0;left:0;width:100vw;height:100dvh;background-size:cover;background-position:center;background-repeat:no-repeat;z-index:0;transition:opacity .5s ease-in-out;pointer-events:none}.background-video-container{position:fixed;top:0;left:0;width:100vw;height:100dvh;overflow:hidden;z-index:0;background:#020617;pointer-events:none}.background-video{position:absolute;top:50%;left:50%;object-fit:cover;transition:transform .5s ease-in-out,width .5s ease-in-out,height .5s ease-in-out}.background-video.rotate-0{width:100vw;height:100dvh;transform:translate(-50%,-50%) rotate(0)}.background-video.rotate-90{width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(90deg)}.background-video.rotate-180{width:100vw;height:100dvh;transform:translate(-50%,-50%) rotate(180deg)}.background-video.rotate-270{width:100dvh;height:100vw;transform:translate(-50%,-50%) rotate(270deg)}.video-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#0f172a8c;z-index:1}.header{position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#0f172a73;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 4px 30px #0000004d;z-index:100}.app-title{font-family:Caveat,cursive;font-size:2.8rem;font-weight:700;background:linear-gradient(135deg,#c084fc,#a78bfa,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:1px}.note-counter{position:fixed;top:90px;right:20px;background:#0f172aa6;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:.5rem 1.25rem;border-radius:12px;box-shadow:0 10px 25px #0000004d;z-index:100;text-align:center;border:1px solid rgba(255,255,255,.08);transform:rotate(-1.5deg);transition:transform .2s ease;display:flex;align-items:center;gap:.5rem}.note-counter:hover{transform:rotate(0) scale(1.05)}.counter-number{font-family:Caveat,cursive;font-size:1.8rem;font-weight:700;color:#c084fc;line-height:1}.counter-label{font-size:.75rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.note-input-container{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);z-index:100;width:100%;max-width:600px;padding:0 1rem}.note-input-form{display:flex;gap:.75rem;background:#0f172acc;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:.6rem;border-radius:50px;box-shadow:0 20px 45px #0006;border:1px solid rgba(255,255,255,.1)}.name-input{width:140px;border:none;outline:none;font-size:1rem;padding:.75rem 1rem;font-family:Inter,sans-serif;background:transparent;color:#f8fafc}.name-input::placeholder{color:#64748b}.input-divider{width:1px;background:#ffffff26;align-self:stretch;margin:.5rem 0}.note-input{flex:1;border:none;outline:none;font-size:1rem;padding:.75rem 1.5rem;font-family:Inter,sans-serif;background:transparent;color:#f8fafc}.note-input::placeholder{color:#64748b}.drop-button{background:linear-gradient(135deg,#7c3aed,#6366f1);color:#fff;border:none;padding:.75rem 2.25rem;border-radius:50px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #7c3aed59}.drop-button:hover:not(:disabled){background:linear-gradient(135deg,#6d28d9,#4f46e5);transform:translateY(-2px);box-shadow:0 6px 16px #7c3aed80}.drop-button:active:not(:disabled){transform:translateY(0)}.drop-button:disabled{opacity:.35;cursor:not-allowed;box-shadow:none;background:#475569;color:#94a3b8}.board{position:relative;width:100%;height:100%;z-index:10}.note-container{position:absolute;filter:drop-shadow(0 10px 20px rgba(0,0,0,.3)) drop-shadow(0 2px 4px rgba(0,0,0,.15));cursor:move;-webkit-user-select:none;user-select:none;touch-action:none}.note-container:hover{z-index:9999!important}.note-container:active{cursor:grabbing}.note{position:relative;backdrop-filter:blur(12px) saturate(180%);-webkit-backdrop-filter:blur(12px) saturate(180%);border:1px solid rgba(255,255,255,.3);box-shadow:none;cursor:inherit;-webkit-user-select:none;user-select:none;word-wrap:break-word;overflow-wrap:break-word;transition:scale .2s ease,border-color .2s ease;display:flex;flex-direction:column;align-items:center;justify-content:center}.note:hover{scale:1.04;border-color:#ffffff80}.note-content{font-family:Caveat,cursive;font-size:1.35rem;line-height:1.4;color:#0f172a;font-weight:600;text-shadow:0 1px 1px rgba(255,255,255,.55);white-space:pre-wrap;text-align:center;width:100%}.note-author{position:relative;margin-top:8px;font-family:Caveat,cursive;font-size:1.05rem;color:#0f172abf;font-weight:700;text-shadow:0 1px 1px rgba(255,255,255,.5);pointer-events:none;text-align:center;align-self:center}.note-edit-btn{position:absolute;top:8px;right:8px;background:#ffffff4d;border:1px solid rgba(255,255,255,.4);color:#0f172a;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.8rem;opacity:0;transition:all .2s ease;z-index:50;box-shadow:0 2px 6px #0000001a}.note:hover .note-edit-btn{opacity:1}.note-edit-btn:hover{background:#fff9;border-color:#ffffffb3;transform:scale(1.1)}.note-pentagon .note-edit-btn{top:25px;right:25px}.note-oval .note-edit-btn{top:15px;right:25px}.note.editing{flex-direction:column;justify-content:flex-start;align-items:center;padding:1.25rem 1rem 2.5rem}.note-content-input{width:100%;height:100px;border:1px solid rgba(15,23,42,.15);background:#ffffff40;border-radius:8px;padding:.5rem;font-family:Caveat,cursive;font-size:1.25rem;line-height:1.3;color:#0f172a;resize:none;outline:none;text-align:center;box-shadow:inset 0 1px 3px #0000000d}.note-content-input:focus{border-color:#0f172a59;background:#fff6}.note-name-input{width:70%;border:1px solid rgba(15,23,42,.15);background:#ffffff40;border-radius:6px;padding:.3rem .5rem;font-family:Caveat,cursive;font-size:1.05rem;color:#0f172a;outline:none;text-align:center;margin-top:10px}.note-name-input:focus{border-color:#0f172a59;background:#fff6}.note-edit-actions{position:absolute;bottom:8px;right:12px;display:flex;gap:8px}.edit-action-btn{background:#ffffff4d;border:1px solid rgba(15,23,42,.2);color:#0f172a;width:28px;height:28px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 5px #0000001a}.edit-action-btn:disabled{opacity:.4;cursor:not-allowed}.edit-action-btn.save-btn:hover:not(:disabled){background:#22c55e33;border-color:#22c55e66;color:#15803d;transform:scale(1.1)}.edit-action-btn.cancel-btn:hover:not(:disabled){background:#ef444433;border-color:#ef444466;color:#b91c1c;transform:scale(1.1)}.note-edit-btn svg,.edit-action-btn svg{display:block;stroke:currentColor;transition:transform .2s ease}.note-edit-btn:hover svg,.edit-action-btn:hover:not(:disabled) svg{transform:rotate(15deg)}.note-pentagon .note-content,.note-oval .note-content{width:75%;max-width:75%}.note-pentagon.editing{padding:2.2rem 1.5rem 2.8rem}.note-pentagon .note-content-input{width:85%;height:80px;font-size:1.15rem}.note-pentagon .note-name-input{width:60%;font-size:.95rem;margin-top:6px}.note-pentagon .note-edit-actions{bottom:12px;right:25px}.note-oval.editing{padding:1.5rem 2rem 2.8rem}.note-oval .note-content-input{width:85%;height:80px;font-size:1.15rem}.note-oval .note-name-input{width:60%;font-size:.95rem;margin-top:6px}.note-oval .note-edit-actions{bottom:18px;right:32px}.note-rectangle{min-width:230px;min-height:160px;width:auto;height:auto;max-width:450px;border-radius:12px;padding:1.5rem}.note-square{min-width:180px;min-height:180px;width:auto;height:auto;max-width:450px;border-radius:12px;padding:1.5rem}.note-pentagon{min-width:200px;min-height:200px;width:auto;height:auto;max-width:450px;clip-path:polygon(50% 0%,100% 38%,82% 100%,18% 100%,0% 38%);padding:2.2rem 1.6rem 1.5rem}.note-oval{min-width:230px;min-height:160px;width:auto;height:auto;max-width:450px;border-radius:50%;padding:1.5rem 2rem}.note-circle{min-width:180px;min-height:180px;width:auto;height:auto;max-width:450px;border-radius:50%;padding:1.5rem}.shape-selector{position:fixed;top:90px;left:20px;background:#0f172abf;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);padding:1rem;border-radius:16px;box-shadow:0 10px 30px #00000059;z-index:100;width:180px;transition:all .3s ease}.shape-selector-label{font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;color:#94a3b8;margin-bottom:.75rem;display:block}.shape-options{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.shape-option{display:flex;flex-direction:column;align-items:center;padding:.6rem .4rem;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff05;cursor:pointer;transition:all .2s ease}.shape-option:hover{border-color:#8b5cf6;background:#8b5cf61a;transform:scale(1.05)}.shape-option.active{border-color:#8b5cf6;background:#8b5cf640;box-shadow:0 0 12px #8b5cf659}.shape-icon{font-size:1.4rem;margin-bottom:.25rem;color:#a78bfa}.shape-option.active .shape-icon{color:#c084fc}.shape-name{font-size:.7rem;color:#94a3b8;font-weight:500}.shape-option.active .shape-name{color:#fff}@media (max-width: 1024px){.app-title{font-size:2.3rem}.note-rectangle{min-width:200px;min-height:140px}.note-square{min-width:160px;min-height:160px}.note-pentagon{min-width:170px;min-height:170px;padding-top:1.8rem}.note-oval{min-width:200px;min-height:140px}.note-content{font-size:1.15rem}}@media (max-width: 640px){.header{padding:.75rem 1.25rem}.app-title{font-size:1.8rem}.note-counter{top:75px;bottom:auto;right:15px;padding:.4rem .8rem}.counter-number{font-size:1.4rem}.counter-label{font-size:.65rem}.shape-selector{top:75px;bottom:auto;left:15px;width:150px;padding:.75rem}.shape-icon{font-size:1.2rem}.shape-name{font-size:.65rem}.note-input-container{bottom:1rem;max-width:calc(100% - 1.5rem)}.note-input-form{flex-direction:column;border-radius:20px;padding:.75rem;gap:.5rem}.name-input{width:100%;padding:.4rem .75rem;border-bottom:1px solid rgba(255,255,255,.08)}.input-divider{display:none}.note-input{font-size:.875rem;padding:.4rem .75rem}.drop-button{padding:.5rem 1.25rem;font-size:.875rem}.note-rectangle{min-width:170px;min-height:130px;padding:1rem}.note-square{min-width:145px;min-height:145px;padding:1rem}.note-pentagon{min-width:155px;min-height:155px;padding:1.6rem 1.2rem 1.2rem}.note-oval{min-width:170px;min-height:130px;padding:1.2rem 1.4rem}.note-content{font-size:.95rem}.note-edit-btn{opacity:1;top:6px;right:6px;width:24px;height:24px;font-size:.7rem}.note-pentagon .note-edit-btn{top:18px;right:18px}.note-oval .note-edit-btn{top:12px;right:18px}.note-rectangle,.note-square,.note-pentagon,.note-oval{max-width:calc(100vw - 32px)}.note-content-input{height:70px;font-size:1.1rem}.note-pentagon .note-content-input{height:55px;font-size:1rem}.note-oval .note-content-input{height:60px;font-size:1rem}}
