/* Cookie lišta – barvy z design systému webu (style.css), světlý i tmavý motiv */
.consent { position: fixed; z-index: 1000; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box {
    pointer-events: auto; max-width: 640px; width: 100%;
    background: var(--surface, #fff); color: var(--text, #0f172a);
    border: 1px solid var(--border, #e3e8f2); border-radius: var(--radius, 16px);
    box-shadow: var(--shadow-lg, 0 24px 48px -12px rgba(15, 23, 42, .18));
    padding: 1.1rem 1.25rem;
}
.consent__title { margin: 0 0 .35rem; font-weight: 700; }
.consent__text { margin: 0 0 .9rem; font-size: .92rem; line-height: 1.5; }
.consent__text a { color: var(--primary, #4b63e8); }
.consent__settings { display: grid; gap: .5rem; margin-bottom: .9rem; }
.consent__option { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.consent__option input { margin-top: .25rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent__btn {
    font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
    padding: .55rem 1rem; border-radius: 999px;
    border: 1px solid var(--border, #e3e8f2); background: transparent; color: inherit;
}
.consent__btn[hidden] { display: none; }
.consent__btn--primary { background: var(--primary, #4b63e8); border-color: transparent; color: #fff; }
.consent__btn--link { border-color: transparent; text-decoration: underline; padding-inline: .4rem; }
@media (max-width: 640px) {
    .consent { bottom: calc(76px + env(safe-area-inset-bottom)); left: .5rem; right: .5rem; }  /* nad spodní lištou */
    .consent__btn { flex: 1 1 auto; }
}
