.mourning-ribbon-root {
    position: fixed;
    top: 1rem;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mourning-ribbon-root--top-right {
    right: 1rem;
}

.mourning-ribbon-root--top-left {
    left: 1rem;
}

.mourning-ribbon-toggle {
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    border-radius: 999px;
    width: fit-content;
    height: fit-content;
    min-width: 64px;
    min-height: 64px;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.mourning-ribbon-toggle:hover {
    background: #f8fafc;
}

.mourning-ribbon-icon {
    width: 0.75rem;
    height: 1rem;
    background: linear-gradient(180deg, #0f0f10 0%, #232326 100%);
    border-radius: 2px;
    position: relative;
    display: inline-block;
    transform: rotate(-18deg);
}

.mourning-ribbon-icon::before {
    content: "";
    position: absolute;
    left: -0.15rem;
    right: -0.15rem;
    top: 0.42rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.mourning-ribbon-fa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 32px;
}

.mourning-ribbon-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: inline-block;
}

.mourning-ribbon-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#mourning-overlay {
    position: fixed;
    inset: 0;
    z-index: 10990;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
