.google-dialog {
  box-sizing: border-box;
  width: min(400px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 28px;
  border: none;
  border-radius: 12px;
  background: #121212;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
  font: 15px/1.5 system-ui, -apple-system, sans-serif;
}
.google-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.google-dialog h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
  font-weight: 700;
}
.google-dialog-description {
  margin: 0 0 24px;
  color: #e5e5e5;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.5;
}
.google-dialog label { display: block; font-weight: 600; color: #fff; }
.google-dialog input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  transition: border-color 0.2s ease;
}
.google-dialog input:focus {
  outline: none;
  border-color: #ff75ba;
}
.google-dialog button {
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  border-radius: 20px;
  background: #2a2a2a;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.google-dialog button:hover:not(:disabled) {
  background: #333;
}
.google-dialog button[type=submit],
.google-dialog .google-dialog-close {
  background: linear-gradient(282deg, #ff75ba 8%, #ea1a80 69%);
  color: #fff;
}
.google-dialog button[type=submit]:hover:not(:disabled),
.google-dialog .google-dialog-close:hover:not(:disabled) {
  background: linear-gradient(282deg, #ff85c4 8%, #f02a8a 69%);
  transform: translateY(-1px);
}
.google-dialog-close, .google-dialog-retry { width: 100%; }
.google-dialog-retry:not([hidden]) { margin-top: 12px; }
.google-dialog button:disabled { opacity: .5; cursor: not-allowed; }
.google-dialog :focus-visible { outline: 2px solid #ff75ba; outline-offset: 2px; }
.google-dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.google-dialog-actions button { flex: 1 1 auto; }
.google-dialog [role=status]:empty { display: none; }
.google-dialog [role=status]:not(:empty) { color: #e5e5e5; overflow-wrap: anywhere; font-size: 13px; }
.google-dialog [hidden] { display: none; }
@media (max-width: 360px) {
  .google-dialog { padding: 24px; }
}

/* adult-consent: symmetric padding keeps the panel vertically centred (was 52px top / 24px bottom) */
html .adult-consent { padding: 52px 16px; box-sizing: border-box; }
