.ea-cookie-banner,
.ea-cookie-modal,
.ea-cookie-settings-trigger,
.ea-external-placeholder {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.ea-cookie-banner[hidden],
.ea-cookie-modal[hidden] {
  display: none !important;
}

.ea-cookie-banner {
  position: fixed;
  z-index: 100000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 1180px;
  margin: 0 auto;
  color: #eef7ef;
  background: rgba(9, 24, 14, .98);
  border: 1px solid rgba(240, 180, 41, .58);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.ea-cookie-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px;
}

.ea-cookie-banner__eyebrow {
  margin: 0 0 4px;
  color: #f0b429;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ea-cookie-banner h2,
.ea-cookie-modal h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.ea-cookie-banner p,
.ea-cookie-modal p {
  margin: 0;
  color: rgba(238, 247, 239, .82);
  font-size: 14px;
  line-height: 1.55;
}

.ea-cookie-banner__links { margin-top: 8px !important; }
.ea-cookie-banner a { color: #f5ca62; text-decoration: underline; }

.ea-cookie-banner__actions,
.ea-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ea-cookie-btn,
.ea-cookie-settings-trigger,
.ea-external-placeholder button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ea-cookie-btn {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 10px;
}

.ea-cookie-btn--primary {
  color: #14200f;
  background: #f0b429;
}

.ea-cookie-btn--secondary {
  color: #f2f7f2;
  background: #23392a;
  border: 1px solid rgba(255, 255, 255, .16);
}

.ea-cookie-btn:focus-visible,
.ea-cookie-settings-trigger:focus-visible,
.ea-cookie-modal__close:focus-visible,
.ea-external-placeholder button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.ea-cookie-modal {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ea-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.ea-cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 28px;
  color: #eef7ef;
  background: #102418;
  border: 1px solid rgba(240, 180, 41, .56);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
}

.ea-cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #253c2c;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.ea-cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 17px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
}

.ea-cookie-option strong { display: block; margin-bottom: 4px; color: #fff; }
.ea-cookie-option input { width: 24px; height: 24px; accent-color: #f0b429; }
.ea-cookie-required { color: #9be1a8; font-size: 13px; font-weight: 800; }
.ea-cookie-modal__actions { margin-top: 22px; }
.ea-cookie-modal-open { overflow: hidden; }

.ea-cookie-settings-trigger {
  position: fixed;
  z-index: 99998;
  left: 14px;
  bottom: 14px;
  min-height: 40px;
  padding: 9px 13px;
  color: #fff;
  background: #173622;
  border: 1px solid rgba(240, 180, 41, .52);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  font-size: 13px;
}

.ea-external-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  text-align: center;
  color: #eaf5eb;
  background: #14291b;
  border: 1px dashed rgba(240, 180, 41, .55);
  border-radius: 14px;
}

.ea-external-placeholder strong { display: block; margin-bottom: 7px; font-size: 19px; }
.ea-external-placeholder p { margin: 0 0 16px; color: rgba(234, 245, 235, .78); }
.ea-external-placeholder button { padding: 11px 16px; color: #17200f; background: #f0b429; border-radius: 10px; }

@media (max-width: 820px) {
  .ea-cookie-banner__content { grid-template-columns: 1fr; }
  .ea-cookie-banner__actions { justify-content: stretch; }
  .ea-cookie-btn { flex: 1 1 145px; }
}

@media (max-width: 520px) {
  .ea-cookie-banner { right: 9px; bottom: 9px; left: 9px; }
  .ea-cookie-banner__content { padding: 17px; }
  .ea-cookie-banner h2, .ea-cookie-modal h2 { font-size: 21px; }
  .ea-cookie-modal { padding: 10px; }
  .ea-cookie-modal__panel { padding: 22px 16px; }
  .ea-cookie-option { grid-template-columns: 1fr auto; padding: 14px; }
  .ea-cookie-settings-trigger { left: 9px; bottom: 9px; }
}
