.consent-banner {
  position: fixed;
  z-index: 100;
  inset: auto 20px 20px;
  width: min(680px, calc(100% - 40px));
  margin-inline: auto;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 48px #0009;
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 23px; letter-spacing: -.02em; margin-bottom: 12px; }
.consent-banner p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 12px; }
.consent-banner a { text-decoration: underline; font-size: 14px; }
.consent-actions { display: flex; gap: 12px; margin-top: 20px; }
.consent-actions button {
  flex: 1;
  min-height: 46px;
  padding: 12px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.consent-actions button:hover { background: #193448; }
.consent-settings { background: none; border: 0; padding: 8px 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 520px) {
  .consent-banner { inset: auto 10px 10px; width: calc(100% - 20px); padding: 18px; }
  .consent-actions { flex-direction: column; gap: 10px; }
}
