.ads-choice-open {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-radius: 3px;
  margin: 0;
  background: transparent;
  color: #2f4154;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-underline-offset: 0.14em;
  cursor: pointer;
}
.ads-consent {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  z-index: 1011;
  box-sizing: border-box;
  width: min(640px, calc(100% - 24px));
  max-height: 65vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid #8fa0a9;
  border-radius: 12px;
  background: #fff;
  color: #203843;
  box-shadow: 0 5px 22px #19374333;
  font-size: 15px;
  line-height: 1.5;
}
.ads-consent[hidden],
.ads-consent [hidden] {
  display: none !important;
}
.ads-consent h2 {
  margin: 0 32px 10px 0;
  font-size: 20px;
}
.ads-consent p {
  margin: 10px 0;
}
.ads-consent a {
  color: #095b80;
  text-decoration: underline;
}
.ads-consent__close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 28px;
  cursor: pointer;
}
.ads-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.ads-consent__actions .app-button {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #476b7b;
  border-radius: 6px;
  background: #edf5f8;
  color: #163f52;
  font: inherit;
  cursor: pointer;
}
.ads-choice-open:hover {
  color: var(--app-link-color-hover, #095b80);
  text-decoration: underline;
}
.ads-choice-open:active {
  color: #163f52;
}
.ads-consent__actions .app-button:hover {
  background: #dcecf3;
}
.ads-choice-open:focus-visible,
.ads-consent button:focus-visible,
.ads-consent a:focus-visible {
  outline: 3px solid #17658b;
  outline-offset: 3px;
}
.ads-consent__actions .app-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 600px) {
  .ads-consent {
    padding: 18px;
  }
  .ads-consent__actions {
    flex-direction: column;
  }
  .ads-consent__actions .app-button {
    flex: auto;
    width: 100%;
  }
}
