.cookie-consent__banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    padding: 1.25rem max(1rem, env(safe-area-inset-right, 0px)) calc(1.25rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    color: #fff;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
    font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif
}

.cookie-consent__banner[hidden],
.cookie-consent__modal[hidden],
.cookie-consent__manage[hidden] {
    display: none
}

.cookie-consent__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    max-width: 1200px;
    margin-inline: auto
}

.cookie-consent__text {
    flex: 1 1 22rem;
    margin: 0;
    color: rgba(255, 255, 255, .82)
}

.cookie-consent__text a {
    color: #fb923c;
    text-decoration: underline;
    text-underline-offset: 3px
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.cookie-consent__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .6rem 1.1rem;
    color: #fff;
    background: #ea580c;
    border: 1px solid #ea580c;
    border-radius: .2rem;
    font: 600 1rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
    cursor: pointer
}

.cookie-consent__button--secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, .6)
}

.cookie-consent__button:hover {
    filter: brightness(1.12)
}

.cookie-consent__button:focus-visible,
.cookie-consent__manage:focus-visible {
    outline: 3px solid #fb923c;
    outline-offset: 3px
}

.cookie-consent__modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(5, 8, 16, .78);
    color: #fff;
    font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif
}

.cookie-consent__panel {
    width: 100%;
    max-width: 36rem;
    max-height: min(85vh, 48rem);
    overflow: auto;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .18)
}

.cookie-consent__panel h2 {
    margin: 0 0 1.25rem;
    font-size: 1.6rem;
    line-height: 1.2
}

.cookie-consent__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, .18)
}

.cookie-consent__row strong {
    display: block;
    margin-bottom: .3rem
}

.cookie-consent__row p {
    margin: 0;
    color: rgba(255, 255, 255, .78)
}

.cookie-consent__row input {
    width: 1.4rem;
    height: 1.4rem;
    margin: .15rem 0 0;
    accent-color: #ea580c;
    flex: none
}

.cookie-consent__error {
    flex: 1 0 100%;
    margin: 0;
    color: #fecaca
}

.cookie-consent__error[hidden] {
    display: none
}

.cookie-consent__manage {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 85;
    display: grid;
    width: 3rem;
    height: 3rem;
    padding: .65rem;
    color: #fff;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
    cursor: pointer
}

.cookie-consent__manage svg {
    width: 100%;
    height: 100%;
    fill: currentColor
}

@media (max-width: 720px) {
    .cookie-consent__manage {
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px))
    }

    .cookie-consent__actions {
        width: 100%
    }

    .cookie-consent__button {
        flex: 1 1 10rem
    }
}