.yn-consent[hidden],
[data-yn-consent-settings][hidden] {
  display: none !important;
}
.yn-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 10000;
  max-width: 1060px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 26px;
  border: 1px solid #bba579;
  border-radius: 16px;
  background: #fffdf8;
  color: #173b35;
  box-shadow: 0 8px 36px #092c2526;
  font: 14px/1.6 sans-serif;
}
.yn-consent h2 {
  margin: 0 0 4px;
  font: 600 18px/1.3 sans-serif;
}
.yn-consent p {
  margin: 0;
}
.yn-consent a {
  color: inherit;
  text-decoration: underline;
}
.yn-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.yn-consent button,
[data-yn-consent-settings] {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #31594e;
  border-radius: 8px;
  color: #173b35;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.yn-consent button:hover,
[data-yn-consent-settings]:hover {
  background: #e8efea;
}
.yn-consent button:focus-visible,
[data-yn-consent-settings]:focus-visible {
  outline: 3px solid #997536;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .yn-consent {
    inset: auto 12px 12px;
    display: block;
    padding: 18px;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    font-size: 13px;
  }
  .yn-consent-actions {
    margin-top: 14px;
  }
  .yn-consent-actions button {
    flex: 1;
    padding-inline: 10px;
  }
}
