.hl-meta-consent[hidden] { display: none; }

.hl-meta-consent {
    position: fixed;
    inset-inline-start: 16px;
    bottom: 16px;
    z-index: 1050;
    width: min(420px, calc(100% - 32px));
    box-sizing: border-box;
    padding: 16px;
    color: var(--text-body-color, #263244);
    background: var(--panel-bg, #fff);
    border: 1px solid var(--panel-border-color, #b8c1ce);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 16%);
}

.hl-meta-consent__title { margin: 0 0 6px; color: inherit; font-size: 1rem; font-weight: 700; }
.hl-meta-consent__detail { margin: 0 0 12px; font-size: .875rem; line-height: 1.5; }
.hl-meta-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-meta-consent__button {
    flex: 1;
    min-height: 44px;
    padding: 7px 12px;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 6px;
    font: inherit;
    cursor: pointer;
}
.hl-meta-consent__preferences {
    display: block;
    min-height: 44px;
    margin: 0 auto;
    padding: 6px 12px;
    color: inherit;
    background: none;
    border: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.hl-meta-consent button:focus-visible,
.hl-meta-consent__preferences:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (max-width: 540px) {
    .hl-meta-consent { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
