#notificationsButton {
    --ribbon-icon: url("/front/assets/ribbon-menu/16-notifications.png");
}

#notificationsDialog {
    box-sizing: border-box;
    width: min(26rem, 94vw);
    max-height: 90dvh;
    overflow: auto;
    padding: 1rem;
    border: 2px solid #af8a55;
    border-radius: .75rem;
    background: linear-gradient(105deg, #492b1a, #724729, #492b1a);
    color: #ffe4aa;
    box-shadow: 0 12px 40px #180b08a0;
    font: 1rem/1.45 Georgia, serif;
}

#notificationsDialog::backdrop {
    background: rgb(27 17 13 / .65);
}

#notificationsDialog header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}

#notificationsDialog button {
    width: 44px;
    height: 44px;
    border: 1px solid #af8a55;
    border-radius: 50%;
    background: #492b1a;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}

#notificationsDialog article {
    padding: .75rem;
    border: 1px solid #af8a55;
    border-radius: .5rem;
    background: #492b1a;
}

#notificationsDialog article + article {
    margin-top: .5rem;
}

#notificationsDialog .notice-new {
    border-color: #ffcd80;
    background: #684021;
}

.notice-new-label {
    display: table;
    margin-bottom: .35rem;
    padding: .1rem .5rem;
    border-radius: .75rem;
    background: #ffcd80;
    color: #492b1a;
    font: bold .8rem/1.35 system-ui, sans-serif;
}

#notificationsDialog :is(h2, h3, p) {
    margin: 0;
}

#notificationsDialog p {
    margin-top: .25rem;
}

#notificationsDialog ul {
    margin: .5rem 0 0;
    padding-inline-start: 1.25rem;
}

#notificationsDialog li + li {
    margin-top: .35rem;
}
