.cookie-notice {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    width: 100%;
    max-height: min(70vh, 100%);
    overflow: auto;
    box-sizing: border-box;
    background: #0b131e;
    color: #c1c8d1;
    border-top: 3px solid #8ab83f;
    box-shadow: 0 -8px 24px rgba(11, 19, 30, 0.28);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-notice[hidden] {
    display: none !important;
}

.cookie-notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 22px 24px;
    box-sizing: border-box;
}

.cookie-copy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.cookie-shield {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    color: #8ab83f;
}

.cookie-text {
    min-width: 0;
}

.cookie-notice #cookie-title {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.cookie-notice #cookie-copy {
    margin: 0;
    color: #c1c8d1;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.cookie-notice #cookie-copy a {
    color: #a4ca63;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice #cookie-copy a:hover {
    color: #c5e08a;
}

.cookie-notice a:focus,
.cookie-notice button:focus,
.cookie-notice a:focus-visible,
.cookie-notice button:focus-visible {
    outline: 2px solid #a4ca63;
    outline-offset: 3px;
}

.cookie-notice .cookie-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.cookie-notice .cookie-actions .btn {
    box-sizing: border-box;
    width: auto;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cookie-notice .cookie-actions .btn[data-cookie="necessary"] {
    background: transparent;
    border: 1px solid #626b77;
    color: #ffffff;
}

.cookie-notice .cookie-actions .btn[data-cookie="necessary"]:hover {
    background: #182330;
    border-color: #626b77;
    color: #ffffff;
}

.cookie-notice .cookie-actions .btn[data-cookie="all"] {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #0b131e;
}

.cookie-notice .cookie-actions .btn[data-cookie="all"]:hover {
    background: #e8ebef;
    border-color: #e8ebef;
    color: #0b131e;
}

body:has(#cookie-notice:not([hidden])) {
    padding-bottom: 140px;
}

@media (max-width: 1199px) {
    .cookie-notice-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .cookie-notice-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    }

    .cookie-notice .cookie-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cookie-notice .cookie-actions .btn {
        width: 100%;
        white-space: normal;
    }

    body:has(#cookie-notice:not([hidden])) {
        padding-bottom: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-notice .cookie-actions .btn {
        transition: none;
    }
}
