/* Consent gate (consent.js). Self-contained: no app tokens, light and dark. */
:root {
  --cg-surface: #ffffff;
  --cg-ink: #16161a;
  --cg-ink-dim: #4a4a55;
  --cg-line: rgba(0, 0, 0, 0.12);
  --cg-scrim: rgba(10, 10, 14, 0.72);
  --cg-accent: #e8a317;
  --cg-accent-ink: #16161a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cg-surface: #1b1b20;
    --cg-ink: #f2f2f5;
    --cg-ink-dim: #b4b4c0;
    --cg-line: rgba(255, 255, 255, 0.14);
    --cg-scrim: rgba(0, 0, 0, 0.78);
  }
}

/* Until a choice exists the page is covered from the first paint and cannot scroll. */
html.cg-pending,
html.cg-pending body {
  overflow: hidden !important;
}
html.cg-pending body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: var(--cg-scrim);
}

.cg-root {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  /* The scrim is html.cg-pending body::before, so it shows from the first paint. */
  background: transparent;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.cg-dialog {
  box-sizing: border-box;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--cg-line);
  border-radius: 14px;
  background: var(--cg-surface);
  color: var(--cg-ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.cg-root .cg-title {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.cg-body {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cg-ink-dim);
}
.cg-body p {
  margin: 0 0 10px;
}
.cg-body strong {
  color: var(--cg-ink);
}
.cg-root .cg-list {
  margin: 0 0 12px;
  padding-left: 18px;
  list-style: disc;
}
.cg-root .cg-list li {
  display: list-item;
  margin-bottom: 6px;
}
.cg-more a {
  color: inherit;
  text-decoration: underline;
}
.cg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cg-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.cg-btn--secondary {
  border: 1px solid var(--cg-line);
  background: transparent;
  color: var(--cg-ink);
}
.cg-btn--primary {
  border: 1px solid transparent;
  background: var(--cg-accent);
  color: var(--cg-accent-ink);
}
.cg-btn:focus-visible {
  outline: 3px solid var(--cg-accent);
  outline-offset: 2px;
}
@media (max-width: 420px) {
  .cg-actions {
    flex-direction: column-reverse;
  }
  .cg-btn {
    width: 100%;
  }
}

/* "Cookie settings" opener rendered as a plain text link. */
.cg-open-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
