.site-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    padding: 1.2rem 1rem 1.6rem;
    border-top: 1px solid #ececec;
    color: #6b6b6b;
    font-size: 0.92rem;
    font-weight: 500;
}
.site-foot a { color: inherit; }
.site-foot-sep { color: #b5b5b5; }

.cookie-bar {
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
    width: min(820px, calc(100% - 2rem));
    padding: 1rem 1.15rem;
    background: #fff;
    color: #16181b;
    border: 1px solid #e6e6e1;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
.cookie-bar[hidden], .cookie-prefs[hidden] { display: none !important; }
.cookie-bar-text { margin: 0; flex: 1; font-size: 0.95rem; font-weight: 500; line-height: 1.45; color: #3d444b; }
.cookie-bar-text a, .cookie-prefs-more a { color: #16181b; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; flex: none; }
.cookie-button {
    min-width: 6.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid #16181b;
    border-radius: 8px;
    background: #16181b;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.cookie-button:hover, .cookie-button:focus-visible { background: #000; border-color: #000; }
.cookie-button-quiet { background: transparent; color: #16181b; border-color: #d0d0ca; }
.cookie-button-quiet:hover, .cookie-button-quiet:focus-visible { background: #f3f3f0; }
.cookie-prefs {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(16, 20, 24, 0.45);
}
.cookie-prefs-card {
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.3rem 1.4rem 1.2rem;
    background: #fff;
    color: #16181b;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.cookie-prefs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.cookie-prefs-head h2 { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.cookie-prefs-close { width: 2.1rem; height: 2.1rem; border: 0; border-radius: 8px; background: transparent; color: #16181b; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cookie-prefs-close:hover { background: #f3f3f0; }
.cookie-prefs-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-top: 1px solid #ecece8;
}
.cookie-prefs-name { margin: 0; font-weight: 700; }
.cookie-prefs-note { margin: 0.2rem 0 0; color: #5c656c; font-size: 0.9rem; font-weight: 500; line-height: 1.45; }
.cookie-prefs-more { margin: 0.2rem 0 0.9rem; font-size: 0.9rem; }
.cookie-prefs-actions { justify-content: flex-end; }
.cookie-switch { position: relative; flex: none; display: inline-flex; align-items: center; cursor: pointer; margin-top: 0.1rem; }
.cookie-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-switch span {
    position: relative;
    width: 2.75rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #cfcfca;
}
.cookie-switch span::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.cookie-switch input:checked + span { background: #16181b; }
.cookie-switch input:checked + span::after { transform: translateX(1.2rem); }
.cookie-switch input:focus-visible + span { outline: 2px solid #16181b; outline-offset: 2px; }
.cookie-switch.is-locked { cursor: default; }
.cookie-switch.is-locked input:checked + span { background: #8a8f94; }
.cookie-switch em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.legal-page { width: min(780px, calc(100% - 2.5rem)); margin: 0 auto; padding: 1.75rem 0 3rem; }
.legal-crumbs { display: flex; gap: 0.4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; color: #6b6b6b; font-size: 0.92rem; }
.legal-crumbs a { color: inherit; }
.legal-crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #b5b5b5; }
.cookie-statement h1 { margin: 0 0 0.6rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.cookie-statement h2 { margin: 1.6rem 0 0.5rem; font-size: 1.15rem; font-weight: 700; }
.cookie-statement p { margin: 0.4rem 0 0.8rem; line-height: 1.55; color: #3d444b; }
.cookie-statement a { color: #16181b; font-weight: 700; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 0.4rem 0 0.8rem; font-size: 0.95rem; }
.cookie-table th, .cookie-table td { padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; border-bottom: 1px solid #ecece8; }
.cookie-table th { font-size: 0.82rem; letter-spacing: 0.02em; color: #6b6b6b; }
.cookie-statement code { padding: 0.05rem 0.3rem; border-radius: 4px; background: #f3f3f0; }
.cookie-back { margin: 1.6rem 0 0; }
body:has(.cookie-bar:not([hidden])) { padding-bottom: 8rem; }

@media (max-width: 720px) {
    .cookie-bar { flex-direction: column; align-items: stretch; }
}

.site-foot button.site-foot-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
