.cookie-bar { position: fixed; z-index: 250; right: 0; bottom: 0; left: 0; display: none; padding: 0; border-top: 1px solid rgba(255,255,255,.18); background: rgba(32,35,32,.97); color: white; box-shadow: 0 -10px 32px rgba(17,24,21,.16); backdrop-filter: blur(12px); }
.cookie-bar.show { display: block; }
.cookie-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; gap: 32px; align-items: center; padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); }
.cookie-copy { max-width: 760px; margin: 0; color: #d2d5cd; font-size: 13px; line-height: 1.5; }
.cookie-copy b, .cookie-copy a { color: white; }
.cookie-copy a { text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(128px, 1fr)); flex: 0 0 auto; gap: 8px; }
.cookie-actions button { min-height: 44px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.46); border-radius: var(--radius); background: transparent; color: white; font: 800 12px/1.15 inherit; cursor: pointer; }
.cookie-actions button:hover, .cookie-actions button:focus-visible { border-color: white; background: rgba(255,255,255,.08); }
.cookie-actions button:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.cookie-actions .cookie-accept { border-color: rgba(255,255,255,.46); background: transparent; }
.cookie-reopen { display: none; }
.cookie-reopen[hidden] { display: none; }
.cookie-settings-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--sheet); box-shadow: 0 24px 70px rgba(17,24,21,.32); color: var(--ink); }
.cookie-settings-dialog::backdrop { background: rgba(17,24,21,.58); backdrop-filter: blur(3px); }
.cookie-settings-card { padding: 28px; }
.cookie-settings-head { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.cookie-settings-head h2 { margin: 0; font-size: 28px; line-height: 1.15; }
.cookie-settings-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font: 400 28px/1 inherit; cursor: pointer; }
.cookie-settings-intro { margin: 12px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cookie-choice { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-choice-copy { color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-choice-copy b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 15px; }
.cookie-choice-state { flex: 0 0 auto; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 800; }
.cookie-choice input { width: 22px; height: 22px; min-height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: var(--accent); }
.cookie-settings-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.cookie-settings-actions button { min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); font: 800 13px/1 inherit; cursor: pointer; }
.cookie-settings-actions .cookie-save { border-color: var(--accent); background: var(--accent); color: white; }

.design-v2 { --sheet:#fff; --muted:#586170; --accent:#c93229; }
.cookie-settings-dialog { --radius:18px; --sheet:#fff; --muted:#586170; --ink:#171c24; --line:#dde3ea; --accent:#c93229; }
.cookie-actions button { font-family:inherit; font-size:13px; }
.cookie-copy { font-size:14px; }
.cookie-settings-actions button { font-family:inherit; }
@media(max-width:700px) {
 .cookie-inner { grid-template-columns:1fr; width:calc(100% - 28px); gap:14px; padding:16px 0 calc(16px + env(safe-area-inset-bottom)); }
 .cookie-actions { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
 .cookie-actions button { padding:10px 6px; font-size:12px; }
 .cookie-settings-card { padding:22px 18px; }
 .cookie-settings-actions { display:grid; grid-template-columns:1fr 1fr; }
}
