/* ============================================================
   STICKY NOTE + CHAT MODAL
============================================================ */

.sticky-fab {
  position:fixed; right:18px; bottom:88px; z-index:70;
  display:inline-flex; align-items:center; gap:10px;
  padding:16px 20px; border-radius:8px;
  background:#F7EB95; color:#2a2a2a;
  border:1px solid rgba(0,0,0,.22);
  box-shadow:0 12px 20px rgba(0,0,0,.32), 0 2px 0 rgba(0,0,0,.22);
  transform:rotate(-1.4deg);
  background-image:repeating-linear-gradient(180deg, rgba(0,0,0,.045) 0 2px, transparent 2px 26px);
}
.sticky-fab span {
  font-family:"Caveat",cursive;
  font-size:22px;
  line-height:1;
}
.sticky-fab::before {
  content:"";
  position:absolute; top:-12px; left:24px;
  width:86px; height:24px;
  background:var(--tape);
  border-radius:6px;
  box-shadow:0 2px 5px rgba(0,0,0,.25);
}
.sticky-fab::after {
  content:"";
  position:absolute; right:0; bottom:0;
  width:26px; height:26px;
  background:linear-gradient(135deg, rgba(0,0,0,.25) 0 50%, transparent 0),
             linear-gradient(135deg, #F1E385 0 50%, transparent 0);
  clip-path:polygon(0 100%,100% 0,100% 100%);
}

/* NOTE FORM */
.note-wrapper { position:relative; }
.note {
  position:relative; border-radius:20px; padding:24px;
  background:#FFF9C4;
  font-family:"Caveat",cursive;
  font-size:20px;
  border:2px solid rgba(0,0,0,.12);
  box-shadow:0 12px 20px rgba(0,0,0,.24), 0 2px 0 rgba(0,0,0,.2);
}
.note::before {
  content:"";
  position:absolute; top:-12px; left:46px;
  width:82px; height:24px;
  background:var(--tape);
  border-radius:6px;
  box-shadow:0 2px 5px rgba(0,0,0,.25);
}

/* CHAT MODAL */
.chat-modal {
  display:none;
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(6px);
  z-index:80;
  align-items:center;
  justify-content:center;
}
.chat-modal.open { display:flex; }

.chat-card {
  max-width:640px;
  width:90%;
  transform:rotate(-1.2deg);
}

.note-sheet {
  background:#FFFDF7;
  font-family:"Inter", sans-serif;
  line-height:1.6;
  background-image:repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 0 1px,
    transparent 1px 28px
  );
}

.note-form label {
  display:flex;
  flex-direction:column;
  font-size:14px;
  font-weight:600;
  margin-top:8px;
}
.note-form input,
.note-form textarea {
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:2px dashed rgba(0,0,0,.25);
  font-size:15px;
  margin-top:4px;
}
.note-form textarea {
  min-height:120px;
  resize:vertical;
}
