.google-consent-banner[hidden],
.google-consent-settings[hidden] {
  display: none !important;
}

.google-consent-banner {
  position: fixed;
  z-index: 10050;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(225, 174, 62, .7);
  border-radius: 22px;
  opacity: 0;
  color: #fff8e8;
  background:
    radial-gradient(circle at 12% 12%, rgba(219, 153, 35, .17), transparent 34%),
    linear-gradient(135deg, rgba(22, 16, 10, .98), rgba(49, 29, 14, .98));
  box-shadow: 0 24px 70px rgba(18, 9, 3, .4);
  transform: translateY(18px);
  transition: opacity .22s ease, transform .22s ease;
  backdrop-filter: blur(14px);
}

.google-consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.google-consent-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #d9a835;
  border-radius: 50%;
  color: #f5c45a;
  background: rgba(211, 151, 35, .12);
  font-size: 1.45rem;
}

.google-consent-copy {
  min-width: 0;
}

.google-consent-copy strong {
  display: block;
  margin-bottom: 3px;
  color: #ffd679;
  font-size: .94rem;
}

.google-consent-copy p {
  margin: 0;
  color: #e3d8c6;
  font-size: .74rem;
  line-height: 1.6;
}

.google-consent-copy a {
  display: inline-block;
  margin-top: 5px;
  color: #f3bd53;
  font-size: .68rem;
  font-weight: 800;
}

.google-consent-actions {
  display: flex;
  gap: 8px;
}

.google-consent-actions button,
.google-consent-settings {
  border: 1px solid #d5a23a;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.google-consent-actions button {
  min-height: 42px;
  padding: 9px 17px;
  white-space: nowrap;
  font-size: .72rem;
}

.google-consent-actions button:hover,
.google-consent-settings:hover {
  transform: translateY(-2px);
}

.google-consent-decline {
  color: #f3dba9;
  background: transparent;
}

.google-consent-accept {
  color: #251508;
  background: linear-gradient(135deg, #f5c85e, #d99b26);
}

.google-consent-settings {
  position: fixed;
  z-index: 4990;
  bottom: 18px;
  left: 18px;
  min-height: 34px;
  padding: 7px 12px;
  color: #6d4818;
  background: rgba(255, 249, 237, .92);
  box-shadow: 0 8px 24px rgba(44, 23, 6, .16);
  font-size: .62rem;
  backdrop-filter: blur(8px);
}

@media (max-width: 720px) {
  .google-consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100% - 24px);
    padding: 16px;
    border-radius: 19px;
  }

  .google-consent-icon {
    width: 42px;
    height: 42px;
  }

  .google-consent-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
  }

  .google-consent-actions button {
    width: 100%;
    padding-inline: 10px;
  }
}

@media (max-width: 390px) {
  .google-consent-banner {
    grid-template-columns: 1fr;
  }

  .google-consent-icon {
    display: none;
  }

  .google-consent-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .google-consent-banner,
  .google-consent-actions button,
  .google-consent-settings {
    transition: none;
  }
}
