.google-consent[hidden] { display: none !important; }
.google-consent {
  position: fixed;
  z-index: 100000;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: min(920px, calc(100% - 32px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid #b28a3c;
  border-radius: 14px;
  background: #121c25;
  color: #f6f5ed;
  box-shadow: 0 12px 42px #000a;
  font: 400 15px/1.45 system-ui, sans-serif;
}
.google-consent-message { flex: 1 1 auto; min-width: 0; }
.google-consent .google-consent-title { margin: 0 0 5px; color: #ffda80; font: 700 18px/1.2 system-ui, sans-serif; }
.google-consent .google-consent-description { margin: 0 0 6px; color: inherit; }
.google-consent .google-consent-privacy { color: #ffda80; text-decoration: underline; text-underline-offset: 3px; }
.google-consent-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.google-consent .google-consent-button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #ffda80;
  border-radius: 8px;
  background: #ffda80;
  color: #172029;
  cursor: pointer;
  font: 700 14px/1.2 system-ui, sans-serif;
}
.google-consent .google-consent-button:hover { background: #ffe7a8; }
.google-consent-settings {
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.google-consent a:focus-visible, .google-consent button:focus-visible, .google-consent-settings:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .google-consent { bottom: 10px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .google-consent-actions > * { flex: 1 1 0; }
}
