#consent-banner {
    position: fixed;
    right: calc(50% - 185px);
    top: calc(50% - 90px);
    width: min(21.5rem, calc(100vw - 1.5rem));
    padding: .82rem .82rem .88rem;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: .9rem;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(17, 24, 39, .07);
}

.banner-title {
  margin: 0 0 0.22rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

#consent-banner p {
  margin: 0 0 0.72rem;
  max-width: none;
  font-size: 0.8rem;
  line-height: 1.38;
  color: #4b5563;
}

.banner-header {
  display: block;
}

.consent-toggle {
  display: block;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0.8rem;
  padding: 0.02rem 0;
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  overflow: hidden;
}

.consent-toggle summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.58rem 0.72rem;
  font-size: 0.77rem;
  font-weight: 600;
}

.consent-toggle summary::-webkit-details-marker {
  display: none;
}

.consent-toggle summary::after {
  content: "+";
  margin-left: 0.35rem;
  color: #6b7280;
}

.consent-toggle[open] summary::after {
  content: "−";
}

.consent-options {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0.55rem 0.55rem;
}

.consent-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.62rem;
  align-items: start;
  min-width: 0;
  padding: 0.6rem 0.62rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.52);
}

.consent-option input {
  margin-top: 0.12rem;
}

.consent-option strong {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.8rem;
}

.consent-option span {
  display: block;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #6b7280;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.actions button {
  border: 1px solid transparent;
  border-radius: 999px;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

#consent-accept {
  background: #111827;
  color: #fff;
}

#consent-accept:hover {
  transform: translateY(-1px);
}

#consent-decline {
  background: #f3f4f6;
  color: #111827;
  border-color: rgba(17, 24, 39, 0.08);
}

#consent-decline:hover {
  background: #e5e7eb;
}

#consent-save {
  background: transparent;
  color: #111827;
  border-color: rgba(17, 24, 39, 0.08);
}

#consent-save:hover {
  background: rgba(17, 24, 39, 0.04);
}
