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

.sk-matomo-notice {
    --sk-matomo-gray: #454e5c;
    position: fixed;
    z-index: 9991;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 4.8px 12px calc(4.8px + env(safe-area-inset-bottom, 0px));
    color: #fff;
    background: var(--sk-matomo-gray);
    font-size: 12px;
    line-height: 1.35;
}

.sk-matomo-notice-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.sk-matomo-notice p {
    margin: 0;
}

.sk-matomo-notice a,
.sk-matomo-notice a:hover {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sk-matomo-notice button {
    flex-shrink: 0;
    min-width: 38px;
    min-height: 26px;
    padding: 2px 8px;
    color: var(--sk-matomo-gray);
    background: #f2f2f2;
    border: 0;
    border-radius: 3px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sk-matomo-notice button:hover {
    background: #e9e9e9;
}

.sk-matomo-notice :is(a, button):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
