/*
 * Zsporty Core 0.5.1 — Website-wide Match Standings contrast refinement.
 * Designed from the actual displayed backgrounds #08121F, #101C30,
 * #162239, #19243C and #202B46.
 *
 * Primary #F7FAFF, emphasis #89D3F9, body #C8D9EE, violet #CBB8FF.
 * Heading contrast on the lightest navy row exceeds 8.5:1 for accents
 * and 13:1 for primary text. Never override cyan/blue header-cell ink.
 *
 * LAST frontend stylesheet, scoped to the five Zsporty portal pages.
 * Alchemists, WooCommerce, SportsPress single views and WordPress admin
 * outside the Zsporty editor are intentionally unaffected.
 */
body.zs-portal .zs{
  --zs-contrast-title:#F7FAFF;
  --zs-contrast-ice:#89D3F9;
  --zs-contrast-body:#C8D9EE;
  --zs-contrast-muted:#AFC7E5;
  --zs-contrast-violet:#CBB8FF;
  color:var(--zs-contrast-title)!important;
}

/* Parent-theme heading rules and text-fill paint can otherwise render
 * the first words as dark slate on dark-blue sections. Make the primary
 * ink explicit instead of relying on inherited anchor or theme colors. */
body.zs-portal .zs :is(h1,h2,h3,h4,h5,h6){
  color:#F7FAFF!important;
  -webkit-text-fill-color:#F7FAFF!important;
  opacity:1!important;
}
body.zs-portal .zs :is(.zs-feature-card,.zs-event-card,.zs-news-card,.zs-team-card,.zs-about-service,.zs-about-person,.zs-empty-card) :is(h2,h3,h4,strong){
  color:#F7FAFF!important;
  -webkit-text-fill-color:#F7FAFF!important;
  opacity:1!important;
}
body.zs-portal .zs :is(
  .zs-section-heading h2,
  .zs-contact-info h2,
  .zs-about-intro-copy h2,
  .zs-about-roadmap-item h3,
  .zs-about-service h3,
  .zs-about-person-details h3,
  .zs-ms-standing-empty strong,
  .zs-ms-leader-identity>strong,
  .zs-ms-leader-identity>a
){
  color:#F7FAFF!important;
  -webkit-text-fill-color:#F7FAFF!important;
}

/* Highlighted portions of headings stay distinctly bright and readable.
 * Preserve a real mother-color gradient where the template uses it. */
body.zs-portal .zs :is(
  .zs-section-heading h2 span,
  .zs-contact-info h2 span,
  .zs-about-intro-copy h2 span,
  .zs-cta-section h2 span,
  .zs-about-vision-section h2 span
){
  color:#89D3F9!important;
  -webkit-text-fill-color:#89D3F9!important;
}
body.zs-portal .zs .zs-gradient-text,
body.zs-portal .zs :is(h1,h2,h3) .zs-gradient-text{
  background-image:linear-gradient(100deg,#89D3F9 0%,#25AEF3 35%,#7793FF 65%,#CBB8FF 100%)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  opacity:1!important;
}
body.zs-portal .zs .zs-ms-titlebar>span,
body.zs-portal .zs .zs-ms-leader-identity :is(strong,a),
body.zs-portal .zs .zs-stat-platform strong{
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
body.zs-portal .zs .zs-about-roadmap-index{
  color:#CBB8FF!important;
  -webkit-text-fill-color:#CBB8FF!important;
}

/* Readable supporting copy across Home / Tools / League / About / Contact. */
body.zs-portal .zs :is(
  .zs-hero-lead,
  .zs-section-heading>p,
  .zs-feature-card p,
  .zs-event-card p,
  .zs-news-card p,
  .zs-about-intro-copy p,
  .zs-about-service p,
  .zs-about-roadmap-item p,
  .zs-inner-hero>p,
  .zs-contact-info p,
  .zs-cta-section p,
  .zs-empty-card p,
  .zs-ms-standing-empty p,
  .zs-ms-list-empty
){
  color:#C8D9EE!important;
  -webkit-text-fill-color:#C8D9EE!important;
}
body.zs-portal .zs :is(
  .zs-feature-number,
  .zs-card-arrow,
  .zs-text-link,
  .zs-overline,
  .zs-eyebrow,
  .zs-about-plan-label,
  .zs-about-person-role,
  .zs-ms-list-date,
  .zs-result-type,
  .zs-empty-symbol,
  .zs-ms-leader-metrics b,
  .zs-stat-num
){
  color:#89D3F9!important;
  -webkit-text-fill-color:#89D3F9!important;
}
body.zs-portal .zs :is(
  .zs-feature-card .zs-card-arrow,
  .zs-event-bottom span:last-child,
  .zs-nav>a:hover,
  .zs-footer a:hover,
  .zs-result:hover strong
){
  color:#65D8FF!important;
  -webkit-text-fill-color:#65D8FF!important;
}
body.zs-portal .zs .zs-nav>a{
  color:#D2E0F4!important;
  -webkit-text-fill-color:#D2E0F4!important;
}
body.zs-portal .zs .zs-nav>a.is-active{
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
body.zs-portal .zs :is(
  .zs-feature-card .zs-feature-number,
  .zs-about-service-index,
  .zs-about-person-sequence,
  .zs-about-roadmap-note,
  .zs-hero-trust,
  .zs-ms-board-bottom,
  .zs-ms-leader-identity small,
  .zs-ms-leader-metrics small
){
  color:#AFC7E5!important;
  -webkit-text-fill-color:#AFC7E5!important;
}

/* Never turn text on the light cyan-blue table header white:
 * dark ink there gives the stronger, correct contrast. */
body.zs-portal .zs .zs-ms-list-heading,
body.zs-portal .zs .zs-ms-standings-table thead th,
body.zs-portal .zs .zs-ms-standings-table thead th a{
  color:#071020!important;
  -webkit-text-fill-color:#071020!important;
}
body.zs-portal .zs :is(a,button,input,textarea,select):focus-visible{
  outline:2px solid #89D3F9!important;
  outline-offset:3px;
}
@media (prefers-reduced-motion:reduce){
  body.zs-portal .zs .zs-gradient-text{animation:none!important}
}


/* Bright cyan headings v0.5.2 — replaces the previous white-title treatment.
 * Text and text-fill are specified together to defeat external theme fills.
 * Applies to custom Zsporty portal pages, not admin or other theme pages.
 * No glows on ordinary paragraphs; keep the Match Standings table header
 * dark on its bright gradient for legibility. */
body.zs-portal .zs{
  --zs-bright-heading:#35E7FF;
  --zs-bright-heading-soft:#7EF3FF;
  --zs-bright-heading-highlight:#A6F8FF;
  --zs-bright-heading-glow:rgba(53,231,255,.20);
}

/* Default headline color across Home, Tools, League, About, Contact. */
body.zs-portal .zs :is(h1,h2,h3,h4,h5,h6){
  color:#35E7FF!important;
  -webkit-text-fill-color:#35E7FF!important;
  opacity:1!important;
}

/* The specifically reported cases: THE COMMUNITY and THE ARENA,
 * as well as other prominent feature and section headings. */
body.zs-portal .zs :is(
  .zs-feature-card h3,
  .zs-event-card h3,
  .zs-news-card h3,
  .zs-team-card h3,
  .zs-about-service h3,
  .zs-about-person-details h3,
  .zs-contact-info h2,
  .zs-about-intro-copy h2,
  .zs-about-roadmap-item h3,
  .zs-section-heading h2,
  .zs-cta-section h2,
  .zs-inner-hero h1,
  .zs-hero h1,
  .zs-ms-standing-empty strong
){
  color:#35E7FF!important;
  -webkit-text-fill-color:#35E7FF!important;
  text-shadow:0 0 15px rgba(53,231,255,.15);
  opacity:1!important;
}

/* More restrained ice-cyan on the feature-card labels themselves. */
body.zs-portal .zs :is(
  .zs-feature-card h3,
  .zs-news-card h3,
  .zs-event-card h3,
  .zs-about-service h3,
  .zs-about-person-details h3
){
  color:#7EF3FF!important;
  -webkit-text-fill-color:#7EF3FF!important;
  text-shadow:0 0 13px rgba(53,231,255,.12);
}
body.zs-portal .zs :is(
  .zs-section-heading h2 span,
  .zs-contact-info h2 span,
  .zs-about-intro-copy h2 span,
  .zs-about-vision-section h2 span,
  .zs-cta-section h2 span
){
  color:#A6F8FF!important;
  -webkit-text-fill-color:#A6F8FF!important;
  text-shadow:0 0 15px rgba(53,231,255,.13);
}

/* Cards also carry strong text inside some non-heading templates. */
body.zs-portal .zs :is(.zs-feature-card,.zs-news-card,.zs-event-card,.zs-team-card,.zs-about-service,.zs-about-person,.zs-empty-card) :is(h2,h3,h4,strong){
  color:#7EF3FF!important;
  -webkit-text-fill-color:#7EF3FF!important;
}

/* Bright broadcast headline ribbons; preserve dark ink on bright table headers. */
body.zs-portal .zs .zs-ms-titlebar>span,
body.zs-portal .zs .zs-ms-leader-identity :is(strong,a),
body.zs-portal .zs .zs-stat-platform strong{
  color:#7EF3FF!important;
  -webkit-text-fill-color:#7EF3FF!important;
}
body.zs-portal .zs .zs-ms-list-heading,
body.zs-portal .zs .zs-ms-list-heading *,
body.zs-portal .zs .zs-ms-standings-table thead th,
body.zs-portal .zs .zs-ms-standings-table thead th a{
  color:#071020!important;
  -webkit-text-fill-color:#071020!important;
}

/* Keep deliberate gradient lettering, with the bright cyan palette. */
body.zs-portal .zs .zs-gradient-text,
body.zs-portal .zs :is(h1,h2,h3) .zs-gradient-text{
  background-image:linear-gradient(100deg,#7EF3FF 0%,#35E7FF 35%,#7793FF 70%,#CBB8FF 100%)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
}
