.site-notice[hidden] {
    display: none;
}

.site-notice {
    position: fixed;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100% - 40px));
    padding: 22px;
    border: 1px solid #d8c6a8;
    border-radius: 16px;
    background: #fffdf8;
    color: #192e3f;
    box-shadow: 0 8px 32px rgba(25, 46, 63, .2);
}

.site-notice p {
    margin: 0 0 16px;
    color: #192e3f;
    font-size: 14px;
    line-height: 1.6;
}

.site-notice-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.site-notice-actions a {
    color: #192e3f;
    font-size: 14px;
    text-decoration: underline;
}

.site-notice button,
.site-share button,
.site-share a {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #d8c6a8;
    border-radius: 10px;
    background: #f7f2e9;
    color: #192e3f;
    font: inherit;
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
}

.site-notice button {
    border-color: #192e3f;
    background: #192e3f;
    color: #fff;
}

.site-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.site-share .site-share-label {
    margin-right: 4px;
    color: #192e3f;
    font-weight: 600;
}

.site-share .site-share-status {
    flex-basis: 100%;
    color: #192e3f;
    font-size: 14px;
}

.site-share .site-share-status:empty {
    display: none;
}

.site-share .site-share-copy {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8c6a8;
    border-radius: 8px;
}

.site-notice :focus-visible,
.site-share :focus-visible {
    outline: 2px solid #a9742b;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .site-notice {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 18px;
    }
}
