.consent {
  position: fixed;
  inset-inline-start: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px 20px;
  width: min(680px, calc(100vw - 32px));
  padding: 14px 18px;
  background: var(--dark);
  color: var(--on-dark);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 44px rgba(14, 38, 64, 0.35);
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.45;
}
.consent[hidden] {
  display: none;
}
.consent-copy {
  flex: 1;
  min-width: 0;
}
.consent-title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--on-dark);
}
.consent-text {
  margin: 0;
  color: var(--on-dark);
  font-size: inherit;
  line-height: inherit;
}
.consent-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-btns {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 8px;
}
.consent-btns .btn {
  min-height: 44px;
  min-width: 112px;
  justify-content: center;
  text-align: center;
}
.consent a:focus-visible,
.consent .btn:focus-visible {
  outline-color: #fff;
}
.foot-legal .consent-open {
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-dark-2);
  font: inherit;
  cursor: pointer;
  transition: color 0.15s;
}
.foot-legal .consent-open:hover {
  color: #fff;
}
@media (min-width: 761px) {
  .consent {
    width: min(960px, calc(100vw - 32px));
  }
  .consent-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
  }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .consent {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-btns {
    display: flex;
    flex-direction: row;
  }
  .consent-btns .btn {
    flex: 1;
  }
}
@media (max-width: 760px) {
  .consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    padding: 10px 12px;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
  }
  .consent-title {
    margin-bottom: 2px;
    font-size: 13px;
  }
  .consent-btns {
    flex-direction: row;
  }
  .consent-btns .btn {
    flex: 1;
    min-height: 40px;
    min-width: 0;
  }
  .foot-legal .consent-open {
    display: inline-flex;
    align-items: center;
    padding: 14px 2px;
  }
}
@media (max-width: 420px) {
  .consent {
    padding: 8px 10px;
    gap: 4px;
    font-size: 11.5px;
    line-height: 1.3;
  }
  .consent-title,
  .consent-text {
    display: inline;
  }
  .consent-title {
    margin-inline-end: 4px;
    font-size: inherit;
    line-height: inherit;
  }
  .consent-btns .btn {
    min-height: 36px;
    padding-block: 0;
  }
}
