.cookie-banner {
  position: fixed;
  z-index: 120;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(440px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px;
  border: 1px solid #e5e7e6;
  border-radius: 16px;
  background: #fff;
  color: #252827;
  box-shadow: 0 12px 55px #1c25252b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  -webkit-overflow-scrolling: touch;
}
.cookie-banner[hidden], .cookie-banner [hidden] { display: none !important; }
.cookie-banner *, .cookie-banner *::before, .cookie-banner *::after { box-sizing: border-box; }
.cookie-banner-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.cookie-banner h2 {
  margin: 0;
  font-family: 'League Spartan', 'Arial Black', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
}
.cookie-banner p { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: 0; }
.cookie-intro { color: #626a66; }
.cookie-banner button {
  appearance: none;
  display: inline-flex;
  position: static;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: #fff;
  color: #252827;
  font: inherit;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  opacity: 1;
  cursor: pointer;
}
.cookie-banner button::before, .cookie-banner button::after { content: none; }
.cookie-banner .cookie-close { flex: 0 0 36px; width: 36px; height: 36px; margin: -5px -5px -5px auto; padding: 7px; border: 1px solid #e0e5e2; border-radius: 50%; }
.cookie-banner svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cookie-details { margin: 10px 0 0; border-top: 1px solid #e7e9e8; }
.cookie-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; padding: 10px 0 0; font-size: 13px; font-weight: 500; list-style: none; cursor: pointer; }
.cookie-details summary::-webkit-details-marker { display: none; }
.cookie-details summary svg { width: 17px; height: 17px; flex: 0 0 17px; }
.cookie-details[open] summary svg { transform: rotate(180deg); }
.cookie-details-body { padding: 12px 0 0; color: #626a66; font-size: 13px; line-height: 1.5; }
.cookie-details-body h3 { margin: 12px 0 6px; color: #252827; font: inherit; font-weight: 600; letter-spacing: 0; }
.cookie-details-body h3:first-child { margin-top: 0; }
.cookie-details-body p + p { margin-top: 8px; }
.cookie-details-body a { color: #252827; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-banner .cookie-choice { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #343a37; border-radius: 9px; font-size: 13px; font-weight: 500; line-height: 1.25; }
.cookie-banner .cookie-choice:hover, .cookie-banner .cookie-close:hover { background: #f2f5f3; }
.cookie-banner .cookie-change-note { margin-top: 9px; color: #626a66; font-size: 12px; line-height: 1.45; }
.cookie-banner :is(button, summary, a):focus-visible { outline: 2px solid #252827; outline-offset: 3px; }
button.consent-settings {
  appearance: none;
  display: inline-block;
  margin: 0;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  cursor: pointer;
}
@media (max-width: 520px) {
  .cookie-banner {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px - env(safe-area-inset-bottom));
    padding: 18px;
    border-radius: 15px;
    font-size: 13px;
  }
  .cookie-banner h2 { font-size: 23px; }
  .cookie-actions { gap: 8px; }
  .cookie-banner .cookie-choice { padding-inline: 9px; font-size: 12px; }
}
