.onea-cookie-banner {
    position: fixed;
    z-index: 20000;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    box-sizing: border-box;
    width: min(100% - 24px, 510px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 8px 30px #0f172a40;
    font-family: Inter, system-ui, sans-serif;
    text-align: left;
    line-height: 1.45;
}
.onea-cookie-banner[hidden],
.onea-cookie-banner [hidden],
.onea-cookie-settings[hidden] {
    display: none !important;
}
.onea-cookie-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.onea-cookie-heading h2 {
    margin: 0;
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 750;
}
.onea-cookie-banner p {
    margin: 0 0 8px;
    font-size: .825rem;
}
.onea-cookie-banner a {
    color: #1e3a8a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.onea-cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.onea-cookie-actions button {
    min-height: 44px;
    padding: 6px;
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e3a8a;
    font: inherit;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
}
.onea-cookie-actions button:hover {
    background: #dbeafe;
}
.onea-cookie-close {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #1e3a8a;
    font: inherit;
    font-size: 1.35rem;
    cursor: pointer;
}
.onea-cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.onea-cookie-banner :focus-visible,
.onea-cookie-settings:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
