.note {
    max-width: 35rem;
    margin: 0 auto;
}

/* Favorit content truncation with toggle - only for overview */
.favoriten-overview .note .e-content {
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}

.favoriten-overview .note .e-content.expanded {
    max-height: none;
}

.favoriten-overview .note .e-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    opacity: var(--show-overlay, 1);
    transition: opacity 0.3s ease-in-out;
}

.favoriten-overview .note .e-content.expanded::after {
    opacity: 0;
}

.favoriten-overview .note .e-content-toggle {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f9f9f9;
    color: #777;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s ease, color 0.2s ease;
}

.favoriten-overview .note .e-content-toggle:hover {
    background: #f5ff00;
    color: #000;
    text-decoration: none;
}

.favoriten-overview .note .e-content.expanded ~ .e-content-toggle {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .favoriten-overview .note .e-content::after {
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.95));
    }
    
    .favoriten-overview .note .e-content-toggle {
        background: #202020;
        color: #ccc;
        border-color: #333;
    }
    
    .favoriten-overview .note .e-content-toggle:hover {
        background: #f5ff00;
        color: #000;
    }
}

div.poo {
    display: none;
}

footer.note-footer {
    padding-top: 1em;
}

div.text.link.h-cite.u-like-of {
    padding-bottom: 1em !important;
    
}

/* Stern-Icon in Favoriten 1.5x größer machen (18px * 1.5 = 27px) */
footer.note-footer .note-meta svg[role="img"] {
    height: 1em !important;
}