.rb-cookie-banner {
  position: fixed;
  z-index: 100000;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px;
  margin-inline: auto;
  max-width: 840px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 16px 20px;
  border: 1px solid #d3dfed;
  border-radius: 14px;
  background: #fff;
  color: #172840;
  box-shadow: 0 8px 32px #0c183033;
  font: 14px/1.45 system-ui, sans-serif;
}

.rb-cookie-banner[hidden] { display: none; }
.rb-cookie-copy { flex: 1 1 275px; }
.rb-cookie-copy strong { font-size: 16px; }
.rb-cookie-copy p { margin: 4px 0 0; color: inherit; }
.rb-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-cookie-actions button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #5b75a0;
  border-radius: 8px;
  color: #172840;
  background: #f0f5fd;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.rb-cookie-actions button:hover { background: #deebff; }
.rb-cookie-settings {
  display: block;
  margin: 12px auto;
  padding: 6px 10px;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .rb-cookie-banner { background: #0c1830; color: #f2f6ff; border-color: #3a5072; }
  .rb-cookie-actions button { background: #203758; color: #f2f6ff; border-color: #6b87ad; }
  .rb-cookie-actions button:hover { background: #324e78; }
}
