.cookie-banner, .cookie-dialog, .cookie-placeholder, .cookie-status, .cookie-noscript { font-family: inherit; color: #f5f1e9; font-size: 15px; line-height: 1.55; box-sizing: border-box; }
.cookie-banner[hidden], .cookie-status[hidden] { display: none !important; }
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; margin: auto; max-width: 1120px; z-index: 10000; padding: 26px 30px; background: #202329; border: 1px solid #8c7955; border-radius: 18px; box-shadow: 0 16px 64px #0009; display: flex; align-items: center; gap: 32px; }
.cookie-copy { flex: 1; }
.cookie-eyebrow { color: #edc879; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.cookie-banner h2, .cookie-dialog h2 { font-size: 25px; font-weight: 700; line-height: 1.2; margin: 7px 0 10px; color: #fff8eb; }
.cookie-banner p, .cookie-dialog p { margin: 0 0 8px; color: #d1d0cd; }
.cookie-banner a, .cookie-dialog a, .cookie-noscript a { color: #edc879; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .cookie-actions { width: 310px; flex-shrink: 0; }
.cookie-actions button, .cookie-placeholder button { flex: 1 1 auto; min-height: 44px; padding: 10px 16px; border: 1px solid #dfbe7c; border-radius: 8px; background: #edcf95; color: #222329; cursor: pointer; font: inherit; font-weight: 650; }
.cookie-actions .cookie-secondary { flex-basis: 100%; background: transparent; color: #f5f1e9; border-color: #83817d; }
.cookie-actions button:hover, .cookie-placeholder button:hover { filter: brightness(1.12); }
.cookie-banner button:focus-visible, .cookie-dialog button:focus-visible, .cookie-dialog input:focus-visible, .cookie-placeholder button:focus-visible, .cookie-footer-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.cookie-dialog { position: fixed; inset: 0; margin: auto; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 26px; background: #202329; border: 1px solid #8c7955; border-radius: 18px; overflow-y: auto; }
.cookie-dialog::backdrop { background: #080b11c9; }
.cookie-dialog-heading { display: flex; align-items: center; justify-content: space-between; }
.cookie-close { min-width: 44px; min-height: 44px; background: transparent; color: #f5f1e9; border: 1px solid #83817d; border-radius: 8px; font-size: 25px; cursor: pointer; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; box-shadow: 0 1px #ffffff26; }
.cookie-option strong { color: #fff8eb; font-size: 16px; }
.cookie-option p { font-size: 14px; margin: 4px 0 0; }
.cookie-option input { flex-shrink: 0; width: 24px; height: 24px; accent-color: #edcf95; cursor: pointer; }
.cookie-always { white-space: nowrap; color: #edc879; font-size: 12px; }
.cookie-dialog .cookie-detail { font-size: 13px; margin: 20px 0; }
.cookie-actions .cookie-save { flex-basis: 100%; }
.cookie-footer-button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.cookie-placeholder { position: absolute; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; background: #202329; border-radius: inherit; overflow: auto; }
.cookie-placeholder p { max-width: 360px; margin: 0; }
.cookie-placeholder button { flex: none; }
.cookie-form-placeholder { position: relative; min-height: 160px; }
.cookie-status { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 10001; background: #202329; padding: 12px; border: 1px solid #edcf95; border-radius: 8px; }
.cookie-noscript { padding: 16px; background: #202329; }
@media (max-width: 720px) {
    .cookie-banner { bottom: 10px; left: 10px; right: 10px; padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 20px); overflow-y: auto; }
    .cookie-banner .cookie-actions { width: auto; }
    .cookie-banner h2 { font-size: 22px; }
    .cookie-dialog { padding: 20px; }
    .cookie-placeholder { font-size: 13px; padding: 10px; gap: 6px; }
}

/* Compact bottom bar; consent behavior and detailed dialog are unchanged. */
.cookie-banner { bottom:0; left:0; right:0; max-width:none; padding:10px 24px; border-radius:0; gap:20px; background:#171c25; box-shadow:0 -4px 24px #0005; }
.cookie-banner .cookie-copy { min-width:0; }
.cookie-banner .cookie-copy p { margin:0; font-size:14px; }
.cookie-banner .cookie-actions { width:auto; flex-wrap:nowrap; gap:8px; }
.cookie-banner .cookie-actions button { flex:0 0 auto; padding:8px 14px; font-size:13px; white-space:nowrap; }
.cookie-banner .cookie-actions .cookie-secondary { flex-basis:auto; }
@media(max-width:720px) {
 .cookie-banner { padding:8px 12px; gap:6px; align-items:center; flex-direction:column; max-height:calc(100dvh - 16px); }
 .cookie-banner .cookie-copy p { font-size:12px; text-align:center; }
 .cookie-banner .cookie-actions { justify-content:center; }
 .cookie-banner .cookie-actions button { padding:6px 11px; font-size:12px; }
}
