.cookie-notice {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(calc(100% - 40px), 1040px);
    max-height: 68vh;
    overflow: auto;
    margin: 0 auto max(14px, env(safe-area-inset-bottom));
    padding: 14px 20px 16px;
    border: 1px solid #a7bacd;
    border-top: 3px solid #23588d;
    border-radius: 5px;
    background: #fff;
    color: #132f4b;
    box-shadow: 0 5px 22px #0a203d24;
}
.cookie-notice[hidden], .cookie-reopen[hidden] { display: none; }
.cookie-copy { min-width: 0; }
.cookie-notice h2 {
    margin: 0 0 3px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.012em;
    line-height: 1.25;
}
.cookie-notice p {
    margin: 0;
    color: #344e66;
    font-size: 15px;
    line-height: 1.45;
}
.cookie-copy a, .cookie-static a {
    color: #164e85;
    text-decoration: underline;
    text-underline-offset: .13em;
}
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions button, .cookie-reopen {
    min-height: 44px;
    padding: 7px 17px;
    border: 1px solid #57738e;
    border-radius: 4px;
    background: #fff;
    color: #143957;
    font: inherit;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
    cursor: pointer;
}
.cookie-actions button { min-width: 88px; }
.cookie-actions [data-cookie-choice="kabul"] {
    border-color: #164e85;
    background: #164e85;
    color: #fff;
}
.cookie-actions [data-cookie-choice="kabul"]:hover { background: #0f3b68; }
.cookie-actions [data-cookie-choice="kapat"]:hover, .cookie-reopen:hover { background: #e9f2fa; }
.cookie-reopen { margin-top: 12px; }
.cookie-notice :focus-visible, .cookie-reopen:focus-visible, .cookie-static a:focus-visible {
    outline: 3px solid #206ba9;
    outline-offset: 2px;
}
.cookie-static {
    margin: 0;
    padding: 8px max(18px, calc((100% - 1040px) / 2));
    background: #edf3f8;
    color: #233e58;
    font-size: 15px;
    line-height: 1.45;
}
html.cookie-open { scroll-padding-bottom: var(--cookie-space, 160px); }
html.cookie-open .site-footer { padding-bottom: calc(var(--cookie-space, 160px) + 20px); }
@media (max-width: 720px) {
    .cookie-notice {
        display: block;
        width: calc(100% - 20px);
        margin-bottom: max(8px, env(safe-area-inset-bottom));
        padding: 12px 14px;
    }
    .cookie-actions { margin-top: 10px; }
    .cookie-actions button { flex: 1; }
}
