.consent-banner { position: fixed; z-index: 2000; left: 50%; bottom: 20px; width: min(1120px, calc(100vw - 40px)); padding: 24px; border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(13,9,19,.96); box-shadow: 0 30px 100px #000b; backdrop-filter: blur(22px); transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; }
.consent-banner[hidden], .modal[hidden], .modal-backdrop[hidden] { display: none; }
.consent-banner h2 { margin: 7px 0; font-size: 1.28rem; }
.consent-banner p { max-width: 680px; margin: 0; font-size: .8rem; line-height: 1.55; }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-banner .button { min-height: 43px; padding-inline: 16px; font-size: .73rem; }
.modal-backdrop { position: fixed; z-index: 2100; inset: 0; background: rgba(2,1,4,.78); backdrop-filter: blur(6px); }
.modal { position: fixed; z-index: 2200; top: 50%; left: 50%; width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid var(--line-strong); border-radius: 24px; background: #100b18; box-shadow: 0 35px 120px #000d; transform: translate(-50%, -50%); }
.modal__header, .modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; }
.modal__header { border-bottom: 1px solid var(--line); }
.modal__header h2 { margin: 5px 0 0; font-size: 1.45rem; }
.modal__footer { justify-content: flex-end; border-top: 1px solid var(--line); }
.modal__body { padding: 8px 25px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.6rem; cursor: pointer; }
.consent-option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.consent-option:last-child { border-bottom: 0; }
.consent-option strong { display: block; margin-bottom: 5px; }
.consent-option p, .consent-option span span { display: block; margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.5; }
.a11y-option > div > span { display: block; margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.5; }
.locked-option { flex: 0 0 auto; color: var(--success); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.consent-option input { position: absolute; z-index: 2; right: 0; width: 48px; height: 27px; margin: 0; opacity: 0; cursor: pointer; }
.switch { flex: 0 0 auto; width: 48px; height: 27px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #211a2c; cursor: pointer; }
.switch::before { content: ""; display: block; width: 19px; height: 19px; border-radius: 50%; background: #8e8699; transition: .2s; }
.consent-option input:checked + .switch { background: var(--primary); }
.consent-option input:checked + .switch::before { background: #fff; transform: translateX(19px); }
.consent-option input:focus-visible + .switch { outline: 3px solid var(--primary-bright); outline-offset: 3px; }
.toast-region { position: fixed; z-index: 3000; right: 24px; top: 104px; display: grid; gap: 10px; }
.toast { max-width: 340px; padding: 15px 18px; border: 1px solid var(--line-strong); border-radius: 13px; background: #130d1c; box-shadow: 0 15px 50px #0008; color: #ddd6e5; font-size: .8rem; animation: toast-in .3s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translateX(15px); } }

.accessibility-modal { width: min(680px, calc(100vw - 32px)); }
.a11y-group { margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); }
.a11y-group legend { margin-bottom: 13px; color: var(--secondary); font-weight: 750; }
.a11y-size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.a11y-size-options button { min-height: 76px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); color: var(--muted); cursor: pointer; }
.a11y-size-options button:hover { border-color: var(--line-strong); }
.a11y-size-options button[aria-pressed="true"] { border-color: var(--primary-bright); background: rgba(124,77,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(124,77,255,.22); }
.a11y-size-options span { display: block; margin-bottom: 4px; color: inherit; font-weight: 800; }
.a11y-size-options button:nth-child(1) span { font-size: .9rem; }.a11y-size-options button:nth-child(2) span { font-size: 1.15rem; }.a11y-size-options button:nth-child(3) span { font-size: 1.4rem; }
.a11y-switch { flex: 0 0 auto; padding: 0; border: 0; background: transparent; cursor: pointer; }
.a11y-switch .switch { display: block; }
.a11y-switch[aria-checked="true"] .switch { background: var(--primary); }
.a11y-switch[aria-checked="true"] .switch::before { background: #fff; transform: translateX(19px); }
.a11y-switch:focus-visible .switch { outline: 3px solid var(--primary-bright); outline-offset: 3px; }
