.am-cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(0, 217, 255, .28);
  border-radius: 16px;
  background: rgba(7, 11, 14, .97);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .48), 0 0 34px rgba(0, 217, 255, .08);
  backdrop-filter: blur(16px);
  color: #e9f0f4;
}

.am-cookie-banner__content {
  min-width: 0;
}

.am-cookie-banner__eyebrow,
.am-cookie-modal__eyebrow {
  margin-bottom: 5px;
  color: #00d9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.am-cookie-banner__content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.am-cookie-banner__content p {
  margin: 0 0 5px;
  color: #aeb9c2;
  font-size: 12px;
  line-height: 1.55;
}

.am-cookie-banner__content a,
.am-cookie-modal__policy a {
  color: #00d9ff;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.am-cookie-banner__actions,
.am-cookie-modal__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.am-cookie-btn {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}

.am-cookie-btn--primary {
  border: 1px solid #00d9ff;
  background: #00d9ff;
  color: #061014;
}

.am-cookie-btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.am-cookie-btn--ghost {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: #dbe3e8;
}

.am-cookie-btn--ghost:hover {
  border-color: rgba(0,217,255,.45);
  color: #00d9ff;
}

.am-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(5px);
}

.am-cookie-modal {
  position: relative;
  width: min(600px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(0,217,255,.25);
  border-radius: 20px;
  background: #0b1014;
  box-shadow: 0 30px 100px rgba(0,0,0,.6), 0 0 50px rgba(0,217,255,.08);
  color: #edf2f5;
}

.am-cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #89959e;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.am-cookie-modal__close:hover { color: #00d9ff; }

.am-cookie-modal h2 {
  margin: 0 42px 8px 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
}

.am-cookie-modal__intro,
.am-cookie-modal__policy {
  color: #aeb9c2;
  font-size: 13px;
  line-height: 1.6;
}

.am-cookie-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
}

.am-cookie-choice > div:first-child {
  display: grid;
  gap: 3px;
}

.am-cookie-choice strong { font-size: 13px; }
.am-cookie-choice span { color: #929da6; font-size: 11px; line-height: 1.5; }
.am-cookie-choice--locked { cursor: default; }

.am-cookie-switch {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #00d9ff;
  color: #061014 !important;
  font-size: 13px !important;
  font-weight: 900;
}

.am-cookie-checkbox {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: #00d9ff;
}

.am-cookie-modal__actions {
  justify-content: flex-end;
  margin-top: 20px;
}

.am-cookie-modal__policy { margin: 14px 0 0; }
.am-cookie-modal__policy a { font-size: inherit; }

.am-cookie-modal-open { overflow: hidden; }

@media (max-width: 700px) {
  .am-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 16px;
  }

  .am-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .am-cookie-btn { width: 100%; }
  .am-cookie-modal { padding: 24px 18px 20px; border-radius: 16px; }
  .am-cookie-modal__actions { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .am-cookie-banner__actions { grid-template-columns: 1fr; }
  .am-cookie-choice { align-items: flex-start; }
}
