.cookie-panel,
.cookie-dialog {
  color: #f6f3ee;
  background: #211b2c;
  border: 1px solid #807191;
  font-family: Arial, sans-serif;
  box-shadow: 0 12px 50px #0005;
}
.cookie-panel {
  position: fixed;
  z-index: 20000;
  left: 24px;
  right: 24px;
  bottom: 20px;
  max-width: 1050px;
  margin: auto;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
}
.cookie-panel[hidden] {
  display: none;
}
.cookie-kicker {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #c1b2ee;
  margin: 0 0 12px;
}
.cookie-panel h2,
.cookie-dialog h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  font-weight: 400;
}
.cookie-panel p,
.cookie-dialog p {
  font-size: 14px;
  line-height: 1.6;
}
.cookie-panel a {
  color: #c1b2ee;
  font-size: 13px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: center;
}
.cookie-actions button {
  color: #101014;
  background: #c1b2ee;
  border: 1px solid #c1b2ee;
  padding: 12px 16px;
  font:
    14px Arial,
    sans-serif;
  cursor: pointer;
  min-height: 44px;
  flex: 1 1 100px;
}
.cookie-actions [data-choice='custom'],
.cookie-actions [type='submit'] {
  background: transparent;
  color: #c1b2ee;
}
.cookie-dialog {
  width: min(570px, calc(100% - 28px));
  padding: 28px;
  max-height: 85dvh;
  overflow: auto;
}
.cookie-dialog::backdrop {
  background: #101014bc;
}
.cookie-category {
  border-top: 1px solid #62586f;
  padding: 18px 0;
}
.cookie-category strong,
.cookie-category label {
  font-size: 15px;
}
.cookie-category span {
  display: block;
  color: #c1b2ee;
  font-size: 12px;
  padding-top: 6px;
}
.cookie-category input {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  accent-color: #c1b2ee;
  vertical-align: middle;
}
.cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.cookie-panel :focus-visible,
.cookie-dialog :focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid #ec039f;
  outline-offset: 4px;
}
@media (max-width: 650px) {
  .cookie-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 70dvh;
    overflow: auto;
  }
  .cookie-panel h2 {
    font-size: 24px;
  }
  .cookie-panel p {
    margin: 8px 0;
  }
}
