.cookie-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  color: #1d1d1f;
  font:
    400 14px/1.5 "IBM Plex Sans",
    sans-serif;
}
[data-theme="dark"] .cookie-bar {
  background: #000;
  color: #f5f5f7;
}
.cookie-bar p {
  margin: 0;
}
.cookie-bar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.cookie-bar div {
  display: flex;
  gap: 8px;
}
.cookie-bar button {
  min-height: 36px;
  padding: 6px 16px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.cookie-bar [data-consent="accepted"] {
  background: #1d1d1f;
  color: #fff;
}
[data-theme="dark"] .cookie-bar [data-consent="accepted"] {
  background: #f5f5f7;
  color: #000;
}
