/* v0.43.0 production polish: requested contrast, legal, footer and checkout consent hardening. */

/* My Account creator profile: keep the premium dark treatment and readable typography. */
.cba-account-profile-live .cba-creator-profile-card{
  background:linear-gradient(135deg,#160b20 0%,#2a102f 62%,#451431 100%)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 28px 70px rgba(43,13,45,.18)!important;
  color:#fff!important;
}
.cba-account-profile-live .cba-creator-profile-card h1,
.cba-account-profile-live .cba-creator-profile-card h2,
.cba-account-profile-live .cba-creator-profile-card h3,
.cba-account-profile-live .cba-creator-profile-card b,
.cba-account-profile-live .cba-creator-profile-card strong{color:#fff!important}
.cba-account-profile-live .cba-creator-profile-card p,
.cba-account-profile-live .cba-creator-profile-card small,
.cba-account-profile-live .cba-creator-profile-card span:not(.cba-eyebrow){color:#e5d9e9!important}
.cba-account-profile-live .cba-creator-profile-card .cba-eyebrow{color:#ff4ba4!important}
.cba-account-profile-live .cba-creator-profile-card a:not(.cba-btn){color:#f7cc67!important;text-decoration-color:rgba(247,204,103,.55)!important}

/* Community privacy sits on a light account surface, so do not inherit Club's white-on-dark palette. */
.cba-account-page .cba-community-privacy,
.cba-account-profile-live .cba-community-privacy,
.cba-community-privacy.cba-account-privacy{
  background:linear-gradient(135deg,#fff 0%,#fff5fa 56%,#f7eefb 100%)!important;
  border:1px solid #ead7e6!important;
  box-shadow:0 18px 52px rgba(61,22,60,.08)!important;
  color:#1a0d1f!important;
}
.cba-account-page .cba-community-privacy h2,
.cba-account-page .cba-community-privacy h3,
.cba-account-page .cba-community-privacy label,
.cba-account-page .cba-community-privacy span,
.cba-account-page .cba-community-privacy b,
.cba-account-page .cba-community-privacy strong{color:#1a0d1f!important}
.cba-account-page .cba-community-privacy p,
.cba-account-page .cba-community-privacy small{color:#625468!important}
.cba-account-page .cba-community-privacy select,
.cba-account-page .cba-community-privacy input[type="text"],
.cba-account-page .cba-community-privacy input[type="url"]{
  background:#fff!important;color:#1a0d1f!important;border:1px solid #d8c6d7!important;box-shadow:none!important;
}

/* Live & Events cards are intentionally light in v0.22: restore strong text/button contrast. */
.cba-community-ai-live-parity-v022 .cba-event-card{color:#1a0d1f!important}
.cba-community-ai-live-parity-v022 .cba-event-card>p{color:#67566b!important;opacity:1!important}
.cba-community-ai-live-parity-v022 .cba-event-access{color:#775f78!important;font-weight:800!important}
.cba-community-ai-live-parity-v022 .cba-event-meta{color:#665469!important;opacity:1!important}
.cba-community-ai-live-parity-v022 .cba-event-meta span{background:#f7eef5!important;color:#604b63!important;border:1px solid #eadce8!important}
.cba-community-ai-live-parity-v022 .cba-event-card .cba-countdown b{color:#ff3b9a!important}
.cba-community-ai-live-parity-v022 .cba-event-card .cba-countdown small{color:#bca9be!important}
.cba-community-ai-live-parity-v022 .cba-event-card .cba-btn-ghost{background:#fff!important;border-color:#eadce8!important;color:#25142a!important;opacity:1!important}
.cba-community-ai-live-parity-v022 .cba-event-card .cba-calendar-mini{color:#9b6a00!important;text-decoration:underline;text-underline-offset:3px}

/* Footer credits are real links, but retain the restrained signature treatment. */
.cba-footer-bottom a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.28)}
.cba-footer-bottom a:hover,.cba-footer-bottom a:focus-visible{color:var(--cba-gold);border-bottom-color:currentColor}

/* Production legal policy pages. */
.cba-legal-page{padding:72px 0 96px;background:linear-gradient(180deg,#fff,#fff8fc);color:#1a0d1f}
.cba-legal-page .cba-shell{max-width:1040px}
.cba-legal-page h1{font-family:var(--cba-display);font-size:clamp(42px,5vw,72px);line-height:.95;letter-spacing:-.04em;margin:10px 0 34px;color:#170b1b}
.cba-legal-copy{font-size:16px;line-height:1.75;color:#4d4051}
.cba-legal-copy h2{font-size:26px;line-height:1.15;margin:42px 0 12px;color:#1b0d20}
.cba-legal-copy h3{font-size:20px;margin:28px 0 10px;color:#28132d}
.cba-legal-copy p{margin:0 0 15px}
.cba-legal-copy ul,.cba-legal-copy ol{margin:0 0 20px 22px;padding:0}
.cba-legal-copy li{margin:0 0 9px}
.cba-legal-copy a{color:#b81267;text-decoration:underline;text-underline-offset:3px}
.cba-legal-copy strong{color:#241027}
.cba-legal-admin-warning{margin:0 0 26px;padding:16px 18px;border:1px solid #f0b44f;border-radius:16px;background:#fff8e9;color:#6a4300}

/* Woo classic-checkout acknowledgement for immediate digital supply. */
.cba-digital-consent{margin:22px 0;padding:18px 20px;border:1px solid #ead7e6;border-radius:18px;background:#fff7fb;color:#211126}
.cba-digital-consent h3{margin:0 0 10px;font-size:17px;color:#1a0d1f}
.cba-digital-consent .woocommerce-form__label{font-size:14px;line-height:1.55;color:#36253a}
.cba-digital-consent a{color:#b81267;font-weight:700}

@media(max-width:760px){
  .cba-legal-page{padding:46px 0 70px}.cba-legal-copy{font-size:15px}.cba-legal-copy h2{font-size:23px;margin-top:34px}
  .cba-footer-bottom{gap:10px}.cba-footer-bottom>span:last-child{line-height:1.6}
}
