:root {
  --note-ink: #000;
  --note-pencil: #3b3729;
  --tape: rgb(255 226 120 / 0.62);
}

.note {
  --note: #ffe14d; --fold: #e2c334; --lean: 0deg;
  position: relative;
  color: var(--note-pencil);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--note), #fff 16%) 0, color-mix(in srgb, var(--note), #fff 16%) 9%,
    var(--note) 12%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.10)) drop-shadow(0 10px 8px rgb(0 0 0 / 0.22));
  transform: rotate(var(--lean));
}
.note::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px;
  pointer-events: none;
  background: linear-gradient(225deg, transparent 50%, var(--fold) 50%,
    color-mix(in srgb, var(--fold), #fff 40%) 100%);
}
.note--yellow { --note: #ffe14d; --fold: #e2c334; }
.note--lime   { --note: #cfe86e; --fold: #a9cc45; }
.note--sky    { --note: #6fd0f5; --fold: #4fb4dc; }
.note--pink   { --note: #ff9fcb; --fold: #e874ac; }
.note--orange { --note: #ffb054; --fold: #e8913a; }

.sheet {
  --lean: 0deg;
  position: relative; line-height: 0;
  background: #fff; border: 4px solid #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.14), 0 10px 14px -10px rgb(0 0 0 / 0.45);
  transform: rotate(var(--lean));
}
.sheet img { width: 100%; height: auto; display: block; }

.tape {
  position: absolute; width: 74px; height: 22px; pointer-events: none; z-index: 2;
  background: var(--tape);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35), 0 1px 2px rgb(0 0 0 / 0.12);
}
