.aoc-cookie {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(520px,calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  font-size: 1.0625rem;
  z-index: 10000;
  padding: clamp(18px,4vw,28px);
  border: 1px solid #dedbd0;
  border-radius: 18px;
  background: #f7f4ed;
  color: #212722;
  box-shadow: 0 16px 52px #21272238;
}
.aoc-cookie h2 { margin: 0 34px 8px 0; font-size: 1.55rem; }
.aoc-cookie h2:focus { outline: none; }
.aoc-cookie p { margin: 0 0 18px; color: #505b51; line-height: 1.5; }
.aoc-cookie button, #aoc-cookie-settings { font: inherit; cursor: pointer; }
.aoc-cookie button:focus-visible, #aoc-cookie-settings:focus-visible { outline: 2px solid #294637; outline-offset: 3px; }
.aoc-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aoc-cookie-actions button, #aoc-cookie-save {
  min-height: 48px;
  padding: 8px;
  border: 1px solid #294637;
  border-radius: 9px;
  color: #fff;
  background: #294637;
  font-weight: 650;
}
#aoc-cookie-more, #aoc-cookie-settings {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}
#aoc-cookie-more { display: block; margin: 4px auto 0; }
#aoc-cookie-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #294637;
  font-size: 1.5rem;
}
@media (hover: hover) {
  #aoc-cookie-close:hover { background: #29463712; }
}
#aoc-cookie-close:focus-visible { outline: 2px solid #294637; outline-offset: 1px; }
.aoc-cookie-options { border-top: 1px solid #dedbd0; padding-top: 8px; }
.aoc-cookie-options label { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; cursor: pointer; }
.aoc-cookie-options input { flex: none; width: 18px; height: 18px; accent-color: #294637; }
.aoc-cookie-options small { display: block; margin-top: 3px; line-height: 1.4; color: #505b51; }
#aoc-cookie-save { width: 100%; margin-top: 8px; }

.aoc-cookie::backdrop { background: #21272240; }
.aoc-cookie > a { display: inline-block; margin: 0 0 16px; color: #294637; text-underline-offset: 3px; }
