.cookie-consent-root {
  position: fixed;
  z-index: 10000;
  inset: auto 20px 20px;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
  font-family: inherit;
  color: #f4f4f5;
}
.cookie-consent-card {
  width: min(100%, 570px);
  padding: 22px;
  border: 1px solid #34343a;
  border-radius: 18px;
  background: #111114;
  box-shadow: 0 18px 60px rgb(0 0 0 / 38%);
  pointer-events: auto;
}
.cookie-consent-kicker {
  margin: 0 0 5px;
  color: #aaaab2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cookie-consent-title {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
}
.cookie-consent-copy {
  margin: 8px 0 0;
  color: #c4c4cb;
  font-size: 13px;
  line-height: 1.55;
}
.cookie-consent-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cookie-consent-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #3b3b43;
  border-radius: 10px;
  background: transparent;
  color: #f4f4f5;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cookie-consent-button:hover { background: #222228; border-color: #55555e; }
.cookie-consent-button-primary { border-color: #f4f4f5; background: #f4f4f5; color: #111114; }
.cookie-consent-button-primary:hover { border-color: #fff; background: #fff; }
.cookie-consent-preferences {
  display: grid;
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #34343a;
  border-radius: 12px;
}
.cookie-consent-preferences[hidden] { display: none; }
.cookie-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid #34343a;
}
.cookie-consent-row:last-child { border-bottom: 0; }
.cookie-consent-row-copy { min-width: 0; }
.cookie-consent-row-copy strong { display: block; font-size: 12px; }
.cookie-consent-row-copy span { display: block; margin-top: 3px; color: #a7a7b0; font-size: 11px; line-height: 1.45; }
.cookie-consent-status { flex: none; color: #c4c4cb; font-size: 11px; font-weight: 700; }
.cookie-consent-switch { position: relative; flex: none; width: 42px; height: 24px; }
.cookie-consent-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cookie-consent-switch span { position: absolute; inset: 0; border: 1px solid #55555e; border-radius: 999px; background: #303037; cursor: pointer; transition: background .15s ease; }
.cookie-consent-switch span::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #f4f4f5; content: ""; transition: transform .15s ease; }
.cookie-consent-switch input:checked + span { border-color: #f4f4f5; background: #f4f4f5; }
.cookie-consent-switch input:checked + span::after { background: #111114; transform: translateX(18px); }
.cookie-consent-switch input:focus-visible + span,
.cookie-consent-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cookie-consent-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-consent-root { inset: auto 10px calc(10px + env(safe-area-inset-bottom)); }
  .cookie-consent-card { width: 100%; padding: 18px; border-radius: 16px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-button { padding-inline: 10px; font-size: 11px; }
  .cookie-consent-button-primary { grid-column: 1 / -1; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent-button, .cookie-consent-switch span, .cookie-consent-switch span::after { transition: none; }
}
