.consent-settings { border: 0; padding: 0; min-height: 44px; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.consent-banner { position: fixed; z-index: 60; right: 24px; bottom: max(18px,env(safe-area-inset-bottom)); width: min(510px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 50px #0003; }
.consent-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.consent-banner .consent-heading h2 { font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.consent-close { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -10px -10px 0 0; border: 0; border-radius: 50%; background: transparent; }
.consent-close svg { width: 18px; height: 18px; }
.consent-banner p { margin-top: 12px; font-size: 13px; line-height: 1.6; }
.consent-policy { display: inline-block; padding: 9px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.consent-actions button { min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; background: transparent; font: 600 12px/1.5 Arial,sans-serif; }
.consent-actions button:first-child { background: var(--lime); border-color: var(--lime); color: #172b1e; }
.consent-actions button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px currentColor; }
.consent-actions button:hover,.consent-close:hover { filter: brightness(.95); }
@media (prefers-reduced-motion: no-preference) {
  .consent-banner:not([hidden]) { animation: consent-in 220ms ease-out; }
  .consent-actions button { transition: background-color 180ms ease; }
}
@keyframes consent-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width:600px) {
  .consent-banner { right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 18px; }
  .consent-actions { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom>.consent-settings { grid-column: 1; justify-self: start; }
}
