main:has(> .data-preferences) { background: #0c0b1c; padding-inline: 0; min-height: calc(100dvh - var(--mast)); }
.page.data-preferences {
  max-width: 640px; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); color: #fff;
  font-family: Manrope, sans-serif;
}
.dp-back {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -12px;
}
.dp-back::before {
  content: ''; width: 10px; height: 10px; border: solid currentColor;
  border-width: 0 0 2px 2px; transform: rotate(45deg);
}
.dp-header { display: grid; gap: 4px; padding-bottom: 16px; }
.dp-header h1 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: normal; }
.dp-header p { margin: 0; color: #ffffffa6; font-size: 16px; line-height: 22px; }
.dp-group {
  display: grid; gap: 14px; padding: 20px; overflow: hidden;
  background: #110e2f; border: 1px solid #1d1841; border-radius: 24px;
}
.dp-group hr { width: 100%; height: 1px; border: 0; margin: 0; background: #1d1841; }
.dp-row { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.dp-copy { flex: 1; min-width: 0; }
.dp-copy strong { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.dp-description, .dp-error { display: block; margin-top: 2px; color: #ffffff8c; font-size: 12px; line-height: 16px; }
.dp-error { color: #f8726f; }
.dp-error:empty { display: none; }
.dp-switch {
  appearance: none; position: relative; flex: none; align-self: flex-start;
  width: 63px; height: 28px; border-radius: 14px; margin: 0; border: 0; padding: 0;
  background: #646467; cursor: pointer; transition: background-color 150ms;
}
.dp-switch::before {
  content: ''; position: absolute; top: 2px; left: 2px; width: 37px; height: 24px;
  border-radius: 12px; background: #fff; transition: transform 150ms;
}
.dp-switch:checked { background: #7a45fd; }
.dp-switch:checked::before { transform: translateX(22px); }
.dp-switch:focus-visible, .dp-back:focus-visible, .dp-related:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.dp-footer { margin: 16px 8px 0; color: #ffffff8c; font-size: 12px; line-height: 16px; font-weight: 500; }
.dp-related { display: inline-flex; align-items: center; min-height: 44px; margin: 8px 8px 0; color: #c4b6ff; font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
  .dp-switch, .dp-switch::before { transition: none; }
}
