.ad-consent-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.125rem;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(24, 24, 27, 0.98), rgba(23, 37, 84, 0.62));
  color: #e4e4e7;
}

.ad-consent-panel[hidden],
.mouse-ad-slot[hidden] {
  display: none !important;
}

.ad-consent-copy {
  flex: 1 1 24rem;
  max-width: 52rem;
}

.ad-consent-eyebrow {
  margin: 0 0 0.25rem;
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ad-consent-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.ad-consent-copy p:last-child {
  margin: 0.4rem 0 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.55;
}

.ad-consent-copy a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ad-consent-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ad-consent-button {
  min-height: 2.6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #64748b;
  border-radius: 0.65rem;
  background: #18181b;
  color: #f4f4f5;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

.ad-consent-button:hover {
  background: #27272a;
}

.ad-consent-allow {
  border-color: #60a5fa;
  background: #1d4ed8;
  color: #fff;
}

.ad-consent-allow:hover {
  background: #2563eb;
}

.ad-consent-button:focus-visible,
.ad-choice-manage:focus-visible {
  outline: 3px solid #bfdbfe;
  outline-offset: 2px;
}

.ad-choice-manage {
  padding: 0;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mouse-ad-slot {
  display: flex;
  width: min(100%, 728px);
  min-height: 50px;
  margin: 1rem auto 1.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mouse-ad-slot[data-ad-slot="secondary"] {
  width: min(100%, 300px);
  min-height: 250px;
}

.mouse-ad-slot iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

@media (max-width: 359px) {
  .mouse-ad-slot {
    width: calc(100% + 2rem);
    max-width: none;
    margin-right: -1rem;
    margin-left: -1rem;
  }
}

@media (min-width: 768px) {
  .mouse-ad-slot {
    min-height: 90px;
  }

  .mouse-ad-slot[data-ad-slot="secondary"] {
    min-height: 250px;
  }
}

@media (max-width: 639px) {
  .ad-consent-panel {
    align-items: stretch;
    padding: 0.9rem;
  }

  .ad-consent-actions {
    width: 100%;
  }

  .ad-consent-button {
    flex: 1 1 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ad-consent-panel * {
    scroll-behavior: auto !important;
  }
}
