.legal-links { position: fixed; left: clamp(14px,2vw,30px); bottom: clamp(12px,2vh,22px); z-index: 6; display: flex; flex-wrap: wrap; gap: 8px 16px; max-width: calc(100vw - 28px); color: #111; font: 500 9px/1.2 "Inter",Arial,Helvetica,sans-serif; letter-spacing: .1em; }
.legal-links button,.cookie-banner button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.legal-links button:hover,.legal-links button:focus-visible { color: #8800b5; outline: none; text-decoration: underline; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.62); backdrop-filter: blur(10px); }
.modal-backdrop[hidden] { display: none; }
.legal-modal { position: relative; width: min(760px,100%); max-height: min(82svh,860px); overflow: auto; padding: clamp(30px,5vw,62px); background: #fff; border-top: 8px solid #8f00ff; box-shadow: 0 24px 80px rgba(0,0,0,.25); color: #111; font: 400 15px/1.55 "Inter",Arial,Helvetica,sans-serif; }
.legal-modal h2 { margin: 0 42px 30px 0; font: 300 clamp(34px,7vw,72px)/.92 "Manrope",Arial,Helvetica,sans-serif; letter-spacing: -.035em; }
.legal-modal h3 { margin: 28px 0 6px; font-size: 13px; letter-spacing: .12em; }
.legal-modal p { margin: 0 0 14px; }
.legal-modal a { color: #68008a; text-underline-offset: 2px; }
.legal-warning { margin-top: 30px!important; padding: 14px; background: #f4e6ff; border-left: 4px solid #8f00ff; font-weight: 700; }
.modal-close { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border: 0; background: #111; color: #fff; cursor: pointer; font: 300 30px/1 "Manrope",Arial,Helvetica,sans-serif; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid #bbb; }
.setting-row:last-of-type { border-bottom: 1px solid #bbb; }
.setting-row p { margin: 3px 0 0; font-size: 13px; }
.setting-row > span { font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.setting-row input { width: 22px; height: 22px; accent-color: #8f00ff; }
.settings-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.cookie-banner { position: fixed; left: 50%; bottom: 22px; z-index: 30; display: grid; grid-template-columns: minmax(220px,1fr) auto; align-items: center; gap: 26px; width: min(960px,calc(100vw - 32px)); padding: 20px 22px; transform: translateX(-50%); background: #fff; border: 2px solid #111; box-shadow: 0 15px 50px rgba(0,0,0,.22); color: #111; font: 400 13px/1.45 "Inter",Arial,Helvetica,sans-serif; }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 13px; letter-spacing: .13em; }
.cookie-banner p { margin: 4px 0 0; }
.cookie-banner p button { text-decoration: underline; }
.cookie-actions { display: flex; align-items: center; gap: 8px; }
.cookie-actions button,.settings-actions button { min-height: 42px; padding: 0 15px; border: 1px solid #111; cursor: pointer; font: 500 10px/1 "Inter",Arial,Helvetica,sans-serif; letter-spacing: .08em; }
.cookie-actions .button-text { border-color: transparent; background: transparent; }
.button-light { background: #fff; color: #111; }
.button-dark { background: #111; color: #fff; }
.button-dark:hover,.button-dark:focus-visible { background: #8f00ff; color: #111; }
@media (max-width:700px) {
  .legal-links { right: 12px; left: 12px; justify-content: center; font-size: 8px; }
  .cookie-banner { bottom: 12px; grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .button-text { grid-column: 1 / -1; }
  .legal-modal { padding: 28px 22px; }
  .settings-actions { flex-direction: column; }
}
