.towico-notices {
    position: fixed;
    top: 5rem;
    right: 1rem;
    width: min(30rem, calc(100vw - 2rem));
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    pointer-events: none;
}
.towico-notice {
    position: relative;
    margin: 0 !important;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid var(--bs-border-color, #ced4da);
    border-left: .3rem solid var(--notice-accent, #0d6efd);
    border-radius: .5rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    box-shadow: 0 .4rem 1.2rem rgb(0 0 0 / 25%);
    overflow-wrap: anywhere;
    pointer-events: auto;
}
.towico-notice[data-notice-type="success"] { --notice-accent: #198754; }
.towico-notice[data-notice-type="error"] { --notice-accent: #dc3545; }
.towico-notice[data-notice-type="warning"] { --notice-accent: #ffc107; }
.towico-notice-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    padding: .15rem .5rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.towico-notice-close:focus-visible { outline: 2px solid var(--notice-accent, #0d6efd); }
