.cookie-banner[hidden] { display: none; }
.cookie-banner {
    position: fixed; bottom: 24px; right: 24px; z-index: 1000;
    display: flex; align-items: flex-start; gap: 16px;
    width: 520px; max-width: calc(100% - 48px); max-height: calc(100vh - 48px);
    overflow: auto; padding: 24px; border: 1px solid #eedfed; border-radius: 22px;
    background: linear-gradient(125deg, #fff8fc, #fff 70%);
    box-shadow: 0 12px 48px #43234f26; color: #49374f;
    font-family: 'Ubuntu', sans-serif; text-align: left;
    animation: cookie-appear .25s ease-out;
}
.cookie-symbol { flex: 0 0 48px; height: 48px; display: grid; place-items: center; background: #f4e7f4; color: #a55b9e; border-radius: 15px; }
.cookie-symbol svg { width: 36px; height: 36px; }
.cookie-body { flex: 1; min-width: 0; }
.cookie-banner h2 { margin: 0 0 8px; color: #643b6c; font: 700 21px/1.25 'Ubuntu', sans-serif; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.65; color: #78677e; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.cookie-button { border: 1px solid #d9bfdd; padding: 11px 14px; border-radius: 10px; font: 500 12px/1.3 'Ubuntu', sans-serif; cursor: pointer; transition: background .15s, box-shadow .15s; }
.cookie-accept { background: #935499; color: #fff; border-color: #935499; }
.cookie-accept:hover { background: #7d4384; box-shadow: 0 4px 12px #93549930; }
.cookie-decline { color: #785581; background: #fff; }
.cookie-decline:hover { background: #f6edf8; }
.cookie-note { font-size: 11px; line-height: 1.5; color: #89738e; }
.cookie-settings-wrap { text-align: center; padding: 20px 16px; }
.cookie-settings { border: 0; background: #ffffffdf; border-radius: 20px; padding: 8px 16px; color: #754e80; font: 400 12px 'Ubuntu', sans-serif; cursor: pointer; }
.cookie-settings:hover { background: #fff; text-decoration: underline; }
.cookie-button:focus-visible, .cookie-settings:focus-visible { outline: 3px solid #b66cb8; outline-offset: 3px; }
@keyframes cookie-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 540px) {
    .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); max-width: none; max-height: calc(100vh - 24px); padding: 20px; gap: 12px; border-radius: 18px; }
    .cookie-symbol { flex-basis: 36px; height: 36px; border-radius: 11px; }
    .cookie-symbol svg { width: 28px; height: 28px; }
    .cookie-banner h2 { font-size: 19px; }
    .cookie-actions { flex-direction: column; }
    .cookie-button { width: 100%; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
