.cookie-banner, .cookie-dialog, .cookie-map-placeholder, .privacy-page { --cookie-ink: #38224e; --cookie-accent: #65408b; --cookie-line: #ded0e9; }
.cookie-banner[hidden], .cookie-map-placeholder[hidden] { display: none !important; }
.cookie-banner { position: fixed; z-index: 1050; inset: auto 24px 24px; margin: auto; max-width: 1120px; padding: 26px 30px; display: grid; grid-template-columns: 1fr minmax(300px, 390px); gap: 30px; align-items: center; background: #fffaff; color: var(--cookie-ink); border: 1px solid var(--cookie-line); border-radius: 12px 38px 12px 38px; box-shadow: 0 10px 55px #38224e26; max-height: calc(100dvh - 32px); overflow: auto; }
.cookie-eyebrow { display: block; color: var(--cookie-accent); font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.cookie-banner h2, .cookie-dialog h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; color: var(--cookie-ink); }
.cookie-banner p, .cookie-dialog p { font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.cookie-banner a, .cookie-dialog a, .privacy-page a { color: #563078; text-underline-offset: 3px; }
.cookie-banner a:hover, .cookie-dialog a:hover, .privacy-page a:hover { color: #301644; }
.cookie-banner__actions, .cookie-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-button { appearance: none; border: 1px solid var(--cookie-accent); border-radius: 100px; padding: 12px 15px; min-height: 46px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.35; cursor: pointer; transition: background-color .15s, color .15s; }
.cookie-button--choice { background: #f0e5f7; color: #482666; }
.cookie-button--choice:hover { background: #e3d1ee; color: #301644; }
.cookie-button--accept { background: #65408b; color: #fff; border-color: #65408b; font-weight: 700; }
.cookie-button--accept:hover { background: #482666; color: #fff; border-color: #482666; }
.cookie-button--quiet { grid-column: 1 / -1; background: transparent; border-color: transparent; color: #563078; }
.cookie-button--quiet:hover { background: #f0e5f7; }
.cookie-button--save { grid-column: 1 / -1; color: #fff; background: #65408b; }
.cookie-button--save:hover { background: #482666; color: #fff; }
.cookie-button:focus-visible, .cookie-close:focus-visible, .cookie-toggle:focus-visible, .cookie-footer-button:focus-visible { outline: 3px solid #9872be; outline-offset: 4px; }
.cookie-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 30px; background: #fffaff; color: var(--cookie-ink); border: 1px solid var(--cookie-line); border-radius: 12px 36px 12px 36px; box-shadow: 0 20px 80px #26103240; overflow: auto; }
.cookie-dialog::backdrop { background: #2915367a; backdrop-filter: blur(3px); }
.cookie-dialog__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.cookie-close { width: 44px; height: 44px; flex: 0 0 44px; background: #f0e5f7; border: 0; border-radius: 50%; font-size: 26px; color: #563078; cursor: pointer; }
.cookie-options { margin: 22px 0 16px; border-top: 1px solid var(--cookie-line); }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--cookie-line); }
.cookie-option h3 { margin: 0 0 5px; font-size: 17px; color: var(--cookie-ink); }
.cookie-option p { margin: 0; font-size: 13px; }
.cookie-essential { flex-shrink: 0; color: #65408b; font-size: 12px !important; font-weight: 600; }
.cookie-toggle { appearance: none; width: 46px; height: 26px; flex: 0 0 46px; border: 1px solid #927ba5; border-radius: 20px; background: #e1d9e7; cursor: pointer; position: relative; margin: 0; }
.cookie-toggle::before { content: ''; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; background: white; border-radius: 50%; box-shadow: 0 1px 3px #38224e40; }
.cookie-toggle:checked { background: #65408b; border-color: #65408b; }
.cookie-toggle:checked::before { left: 23px; }
.cookie-dialog__actions { margin-top: 22px; }
.cookie-details-link { font-size: 13px; }
.cookie-footer { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-top: 28px; padding: 20px 12px 0; border-top: 1px solid #ffffff33; font-size: 14px; }
.cookie-footer-button { font: inherit; color: inherit; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.cookie-footer a, .cookie-footer button { display: inline-flex; align-items: center; min-height: 32px; color: #fff; text-shadow: none; text-underline-offset: 3px; text-decoration-color: #ffffff99; }
.cookie-footer a:hover, .cookie-footer button:hover { color: #fff; text-decoration-color: #fff; text-decoration-thickness: 2px; }
.cookie-footer a:focus-visible, .cookie-footer button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.cookie-status { position: fixed; z-index: 1100; bottom: 18px; left: 50%; transform: translateX(-50%); background: #38224e; color: white; border-radius: 12px; max-width: calc(100% - 32px); padding: 12px 18px; font-size: 14px; }
.cookie-status:empty { display: none; }
.cookie-map-placeholder { min-height: 340px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; background: #f0e5f7; color: #38224e; }
.cookie-map-placeholder p { max-width: 42ch; margin: 0; }
.cookie-map-placeholder h3 { font-size: 23px; margin: 0; color: #482666; }
.cookie-map-placeholder a { color: #563078; }
body:has(> .privacy-page) { background-color: var(--light-purple); }
.privacy-draft { padding: 16px 20px; border: 1px solid #c8adeb; border-radius: 12px; background: #f0e5f7; }
.privacy-page { padding: calc(var(--header-height, 130px) + 48px) 24px 80px; max-width: 850px; margin: auto; color: var(--cookie-ink); }
.privacy-page h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.privacy-page h2 { font-size: 24px; margin: 36px 0 14px; }
.privacy-page [id] { scroll-margin-top: calc(var(--header-height, 130px) + 24px); }
.privacy-page p, .privacy-page li { line-height: 1.8; }
.privacy-page table { width: 100%; border-collapse: collapse; font-size: 14px; }
.privacy-page th, .privacy-page td { padding: 12px; border-bottom: 1px solid #ded0e9; text-align: left; vertical-align: top; }
@media (max-width: 700px) {
    .privacy-page { padding-top: calc(var(--header-height, 130px) + 28px); }
    .cookie-banner { inset: auto 12px 12px; padding: 20px; grid-template-columns: 1fr; gap: 16px; border-radius: 12px 28px 12px 28px; }
    .cookie-banner h2, .cookie-dialog h2 { font-size: 25px; }
    .cookie-banner p { font-size: 13px; }
    .cookie-dialog { padding: 23px 20px; }
    .cookie-option { gap: 12px; }
    .cookie-button { padding: 11px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-button { transition: none; } }
