/* Compliance overlay — does not touch SPA bundles */
[data-testid="cookie-consent"] {
  display: none !important;
}

#wc-compliance-cookie {
  position: fixed;
  z-index: 2147483000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 28rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(201, 160, 255, 0.35);
  border-radius: 2px;
  background: rgba(10, 4, 16, 0.96);
  color: rgba(232, 224, 240, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

#wc-compliance-cookie p {
  margin: 0 0 0.85rem;
}

#wc-compliance-cookie .wc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

#wc-compliance-cookie button,
#wc-compliance-cookie a.wc-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border-radius: 2px;
}

#wc-compliance-cookie .wc-primary {
  background: linear-gradient(135deg, #a21caf, #e11d48);
  color: #fff;
}

#wc-compliance-cookie .wc-ghost {
  background: transparent;
  color: rgba(232, 224, 240, 0.75);
  border: 1px solid rgba(201, 160, 255, 0.35);
}

#wc-compliance-cookie .wc-link {
  color: rgba(201, 160, 255, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

#wc-compliance-cookie .wc-note {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: rgba(232, 224, 240, 0.55);
}

#wc-compliance-footer {
  margin-top: 0.55rem;
  width: 100%;
  max-width: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.65rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(232, 224, 240, 0.45);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

#wc-compliance-footer a {
  color: rgba(201, 160, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
}

#wc-compliance-footer a:hover {
  color: rgba(224, 196, 255, 1);
}

#wc-compliance-footer .wc-sep {
  opacity: 0.45;
  flex: 0 0 auto;
}

#wc-compliance-footer button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(201, 160, 255, 0.85);
  cursor: pointer;
  padding: 0;
  font: inherit;
  white-space: nowrap;
}

#wc-tg-notice {
  max-width: 40rem;
  margin: 0.85rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(232, 224, 240, 0.5);
  text-transform: none;
  letter-spacing: normal;
}

#wc-tg-notice a {
  color: rgba(201, 160, 255, 0.85);
}

#wc-epub-license {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 224, 240, 0.5);
  text-decoration: none;
}

#wc-epub-license:hover {
  color: rgba(201, 160, 255, 0.95);
}

@media (min-width: 640px) {
  #wc-compliance-cookie {
    right: auto;
    bottom: 1.5rem;
    left: 1.5rem;
  }
}
