.cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent__panel {
  width: min(760px, 100%);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 196, 0, 0.44);
  border-radius: 8px;
  background: rgba(7, 11, 14, 0.98);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  color: var(--text);
  pointer-events: auto;
}

.cookie-consent__copy {
  display: grid;
  gap: 8px;
}

.cookie-consent__eyebrow {
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
}

.cookie-consent__actions {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 220px;
}

.cookie-consent__link,
.cookie-consent__close {
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.cookie-consent__link {
  min-height: 40px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-consent__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.cookie-consent__close:hover,
.cookie-consent__close:focus-visible {
  color: var(--yellow);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.cookie-consent__settings {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cookie-consent__settings[hidden] {
  display: none;
}

.cookie-consent__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.cookie-consent__row strong,
.cookie-consent__row span {
  display: block;
}

.cookie-consent__row strong {
  color: var(--text);
}

.cookie-consent__row span span {
  color: var(--muted);
  font-size: 14px;
}

.cookie-consent__locked {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 850;
}

.cookie-consent__toggle {
  cursor: pointer;
}

.cookie-consent__toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--yellow);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
}

.privacy-table th,
.privacy-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .cookie-consent {
    inset: auto 10px 10px;
  }

  .cookie-consent__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 22px 18px;
  }

  .cookie-consent__actions {
    min-width: 0;
  }

  .cookie-consent__actions .btn,
  .cookie-consent__settings .btn {
    width: 100%;
  }

  .cookie-consent__row {
    display: grid;
  }
}
