.snd-notitie {
    --snd-note-color: #fff29a;
    --snd-note-width: 320px;
    --snd-note-height: 260px;
    --snd-note-rotation: -1deg;
    position: relative;
    display: block;
    width: min(100%, var(--snd-note-width));
    min-width: 0;
    margin: 10px 0 18px;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.4;
}

.snd-notitie *,
.snd-notitie *::before,
.snd-notitie *::after {
    box-sizing: border-box;
}

.snd-notitie__papier {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: var(--snd-note-height);
    padding: 24px 22px 17px;
    overflow: hidden;
    transform: rotate(var(--snd-note-rotation));
    transform-origin: 50% 50%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 38%),
        var(--snd-note-color);
    color: #332f1c;
    box-shadow:
        0 3px 5px rgba(0, 0, 0, 0.11),
        0 13px 25px rgba(0, 0, 0, 0.14);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.snd-notitie__papier::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 13px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 1px 0 rgba(70, 60, 20, 0.05);
}

.snd-notitie__papier::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, rgba(120, 105, 35, 0.15) 0 49%, rgba(255, 255, 255, 0.38) 50% 100%);
    pointer-events: none;
}

.snd-notitie:focus-within .snd-notitie__papier {
    transform: rotate(0deg) translateY(-2px);
    box-shadow:
        0 4px 7px rgba(0, 0, 0, 0.12),
        0 17px 31px rgba(0, 0, 0, 0.17);
}

.snd-notitie__kop {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
    margin-bottom: 8px;
}

.snd-notitie__titel {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.2;
    cursor: text;
}

.snd-notitie__wissen {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -5px -7px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(51, 47, 28, 0.58);
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
}

.snd-notitie__wissen:hover {
    background: rgba(255, 255, 255, 0.30);
    color: #6e2424;
}

.snd-notitie__wissen:focus-visible,
.snd-notitie__tekst:focus-visible {
    outline: 2px solid rgba(60, 54, 26, 0.55);
    outline-offset: 2px;
}

.snd-notitie__wissen svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.snd-notitie__tekst {
    position: relative;
    z-index: 1;
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 145px;
    margin: 0;
    padding: 3px 1px 8px;
    resize: vertical;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    background: transparent !important;
    color: #332f1c;
    font: inherit;
    font-size: 17px;
    line-height: 1.58;
    box-shadow: none !important;
    caret-color: #332f1c;
}

.snd-notitie__tekst::placeholder {
    color: rgba(51, 47, 28, 0.54);
    opacity: 1;
}

.snd-notitie__status {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 16px;
    margin-top: 2px;
    color: rgba(51, 47, 28, 0.56);
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 600px) {
    .snd-notitie {
        width: 100%;
        max-width: var(--snd-note-width);
        margin-top: 8px;
    }

    .snd-notitie__papier {
        min-height: min(var(--snd-note-height), 360px);
        padding: 21px 18px 15px;
        transform: none;
    }

    .snd-notitie__titel {
        font-size: 17px;
    }

    .snd-notitie__tekst {
        min-height: 130px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snd-notitie__papier,
    .snd-notitie__wissen {
        transition: none;
    }
}
