.cookie-consent {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 10000;
    box-sizing: border-box;
    width: min(26rem, calc(100% - 3rem));
    max-height: calc(100dvh - 3rem);
    overflow: auto;
    padding: 1.5rem;
    background: #fff;
    color: #282828;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .28), 0 4px 14px rgba(0, 0, 0, .16);
    font-family: "rockett-net", sans-serif;
    text-align: left;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 {
    margin: 0 0 .65rem;
    padding: 0;
    font: 700 1.25rem/1.3 "rockett-net", sans-serif;
    letter-spacing: 0;
    text-transform: none;
    color: #282828;
}
.cookie-consent p {
    margin: 0;
    font: 400 1rem/1.6 "rockett-net", sans-serif;
    color: #555;
}
.cookie-consent a { color: #282828; text-decoration: underline; text-underline-offset: .15em; }
.cookie-consent-actions { display: flex; gap: .65rem; margin-top: 1.25rem; }
.cookie-consent .cookie-consent-actions button {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: .7rem .5rem;
    border: 1px solid #282828;
    border-radius: 10px;
    background: #fff;
    color: #282828;
    font: 600 1rem/1.25 "rockett-net", sans-serif;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.cookie-consent .cookie-consent-actions button:hover { background: #282828; color: #fff; }
.cookie-consent button:focus-visible, .cookie-settings:focus-visible { outline: 2px solid #008ac4; outline-offset: 4px; }
.cookie-settings { height: auto; margin: .5rem 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; text-decoration: underline; cursor: pointer; }
@media (max-width: 767px) {
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
        max-height: calc(100dvh - 2rem);
        padding: 1.25rem;
        margin: 0 auto;
    }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent .cookie-consent-actions button { transition: none; } }

@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .cookie-consent {
        background: rgba(255, 255, 255, .84);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        border-color: rgba(255, 255, 255, .6);
    }
}
