
/* ============================================================
   SATTAKING DESAWAR V19 — ALL PUBLIC PAGES HIGH CONTRAST
   Preserve layout/features. Only improve readability.
   ============================================================ */

:root{
  --sd-navy:#061522;
  --sd-navy2:#07364d;
  --sd-cream:#fff8df;
  --sd-white:#ffffff;
  --sd-maroon:#991539;
  --sd-red:#b00035;
  --sd-gold:#ffe49b;
  --sd-text:#17232c;
  --sd-muted:#48545c;
  --sd-blue:#0875b9;
}

/* Never allow faded/transparent public text */
.v5-body main *,
body.v5-body main *,
.v5-body footer *,
.v5-body header *{
  opacity:1!important;
  filter:none!important;
}

/* ---------- CREAM/WHITE SURFACES: dark readable text ---------- */
.v5-ivory,
.v5-textbox,
.v5-market-card,
.v5-blog-card,
.v5-article,
.v5-pagehead,
.card,
.live-card,
.top-list,
.rd-month-card,
.rd-disclaimer-card,
.info-block,
.notice-grid,
.content-card,
.content-wrap,
.legal-page,
.policy-page,
.rules-page,
.contact-page,
.seo-page,
.seo-section,
.archive-page,
.old-result-page,
.rd-archive-page,
.archive-wrap,
.archive-list{
  text-shadow:none!important;
}

/* Headings on light/cream cards */
.v5-ivory h1,.v5-ivory h2,.v5-ivory h3,.v5-ivory h4,
.v5-textbox h1,.v5-textbox h2,.v5-textbox h3,.v5-textbox h4,
.v5-market-card h1,.v5-market-card h2,.v5-market-card h3,.v5-market-card h4,
.v5-blog-card h1,.v5-blog-card h2,.v5-blog-card h3,
.v5-article h1,.v5-article h2,.v5-article h3,
.v5-pagehead h1,.v5-pagehead h2,.v5-pagehead h3,
.card h1,.card h2,.card h3,
.live-card h1,.live-card h2,.live-card h3,
.top-list h1,.top-list h2,.top-list h3,
.rd-month-card h1,.rd-month-card h2,.rd-month-card h3,
.rd-disclaimer-card h1,.rd-disclaimer-card h2,.rd-disclaimer-card h3,
.info-block h1,.info-block h2,.info-block h3,
.notice-grid h1,.notice-grid h2,.notice-grid h3,
.content-card h1,.content-card h2,.content-card h3,
.content-wrap h1,.content-wrap h2,.content-wrap h3,
.legal-page h1,.legal-page h2,.legal-page h3,
.policy-page h1,.policy-page h2,.policy-page h3,
.rules-page h1,.rules-page h2,.rules-page h3,
.contact-page h1,.contact-page h2,.contact-page h3,
.seo-page h1,.seo-page h2,.seo-page h3,
.seo-section h1,.seo-section h2,.seo-section h3{
  color:var(--sd-maroon)!important;
  -webkit-text-fill-color:var(--sd-maroon)!important;
  font-weight:900!important;
  opacity:1!important;
}

/* Paragraphs and normal copy on cream/white cards */
.v5-ivory p,.v5-ivory li,.v5-ivory span,
.v5-textbox p,.v5-textbox li,.v5-textbox span,
.v5-blog-card p,.v5-blog-card li,.v5-blog-card span,
.v5-article p,.v5-article li,.v5-article span,
.v5-pagehead p,.v5-pagehead li,.v5-pagehead span,
.card p,.card li,.card span,
.live-card p,.live-card li,.live-card span,
.top-list p,.top-list li,.top-list span,
.rd-month-card p,.rd-month-card li,.rd-month-card span,
.rd-disclaimer-card p,.rd-disclaimer-card li,.rd-disclaimer-card span,
.info-block p,.info-block li,.info-block span,
.notice-grid p,.notice-grid li,.notice-grid span,
.content-card p,.content-card li,.content-card span,
.content-wrap p,.content-wrap li,.content-wrap span,
.legal-page p,.legal-page li,.legal-page span,
.policy-page p,.policy-page li,.policy-page span,
.rules-page p,.rules-page li,.rules-page span,
.contact-page p,.contact-page li,.contact-page span,
.seo-page p,.seo-page li,.seo-page span,
.seo-section p,.seo-section li,.seo-section span{
  color:var(--sd-text)!important;
  -webkit-text-fill-color:var(--sd-text)!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* ---------- RESULT RECORD CARDS ---------- */
.card .pair,
.card .pair *,
.live-card .pair,
.live-card .pair *,
.top-list .pair,
.top-list .pair *,
.seo-page .pair,
.seo-page .pair *{
  color:var(--sd-red)!important;
  -webkit-text-fill-color:var(--sd-red)!important;
  opacity:1!important;
  font-weight:700!important;
}

/* Times / labels inside record cards */
.card small,.card .time,.card .meta,
.live-card small,.live-card .time,.live-card .meta,
.top-list small,.top-list .time,.top-list .meta,
.v5-market-card small,.v5-oldnew{
  color:var(--sd-muted)!important;
  -webkit-text-fill-color:var(--sd-muted)!important;
  opacity:1!important;
}

/* View history links on cream cards - currently too pale in screenshot */
.v5-market-card > a,
.card > a,
.live-card > a,
.top-list > a,
.result-card > a,
.market-card > a{
  color:var(--sd-maroon)!important;
  -webkit-text-fill-color:var(--sd-maroon)!important;
  font-weight:900!important;
  text-decoration:underline!important;
  opacity:1!important;
}

/* Market names */
.v5-market-card h3,
.market-card h3,
.result-card h3{
  color:var(--sd-maroon)!important;
  -webkit-text-fill-color:var(--sd-maroon)!important;
  font-weight:900!important;
}

/* ---------- DARK BACKGROUND: bright text ---------- */
.v5-panel-title,
.v5-chart-heading,
.v5-info-title,
.record-head,
.chart-title,
.monthly-title,
.archive-title,
.game-hero{
  color:var(--sd-gold)!important;
  -webkit-text-fill-color:var(--sd-gold)!important;
  opacity:1!important;
  font-weight:900!important;
}

/* Free-standing headings/subtitles on navy background */
.v5-body main > h1,
.v5-body main > h2,
.v5-body main > h3,
.v5-body main > p,
.archive-page > h1,
.archive-page > h2,
.archive-page > h3,
.archive-page > p,
.old-result-page > h1,
.old-result-page > h2,
.old-result-page > h3,
.old-result-page > p,
.rd-archive-page > h1,
.rd-archive-page > h2,
.rd-archive-page > h3,
.rd-archive-page > p,
.archive-wrap > h1,
.archive-wrap > h2,
.archive-wrap > h3,
.archive-wrap > p,
.monthly-chart-page > p,
.month-chart > p,
.chart-wrap > p,
.v5-chart-block > p{
  color:var(--sd-gold)!important;
  -webkit-text-fill-color:var(--sd-gold)!important;
  opacity:1!important;
}

/* Plain market-name lines on dark background */
.market-line,.market-list,.market-names,.chart-subtitle,
.archive-subtitle,.subline,.description-line{
  color:#f7e7a8!important;
  -webkit-text-fill-color:#f7e7a8!important;
  opacity:1!important;
}

/* ---------- TABLES ---------- */
.v5-body main table th,
.v5-chart th{
  background:var(--sd-navy2)!important;
  color:var(--sd-gold)!important;
  -webkit-text-fill-color:var(--sd-gold)!important;
  opacity:1!important;
  font-weight:900!important;
}
.v5-body main table td,
.v5-chart td{
  color:var(--sd-text)!important;
  -webkit-text-fill-color:var(--sd-text)!important;
  opacity:1!important;
  font-weight:600!important;
}

/* ---------- LEGAL/POLICY/CONTACT PAGES ---------- */
.privacy-policy p,.privacy-policy li,.privacy-policy span,
.terms-page p,.terms-page li,.terms-page span,
.terms-conditions p,.terms-conditions li,.terms-conditions span,
.website-rules p,.website-rules li,.website-rules span,
.contact-us p,.contact-us li,.contact-us span{
  color:var(--sd-text)!important;
  -webkit-text-fill-color:var(--sd-text)!important;
  opacity:1!important;
}
.privacy-policy h1,.privacy-policy h2,.privacy-policy h3,
.terms-page h1,.terms-page h2,.terms-page h3,
.terms-conditions h1,.terms-conditions h2,.terms-conditions h3,
.website-rules h1,.website-rules h2,.website-rules h3,
.contact-us h1,.contact-us h2,.contact-us h3{
  color:var(--sd-maroon)!important;
  -webkit-text-fill-color:var(--sd-maroon)!important;
  opacity:1!important;
}

/* Inline pale colors in legal/info cards */
.info-block [style*="color"],
.notice-grid [style*="color"],
.content-card [style*="color"],
.content-wrap [style*="color"],
.legal-page [style*="color"],
.policy-page [style*="color"],
.rules-page [style*="color"],
.contact-page [style*="color"]{
  color:var(--sd-text)!important;
  -webkit-text-fill-color:var(--sd-text)!important;
  opacity:1!important;
}
/* Re-assert headings after inline overrides */
.info-block h1,.info-block h2,.info-block h3,
.notice-grid h1,.notice-grid h2,.notice-grid h3,
.content-card h1,.content-card h2,.content-card h3,
.content-wrap h1,.content-wrap h2,.content-wrap h3,
.legal-page h1,.legal-page h2,.legal-page h3,
.policy-page h1,.policy-page h2,.policy-page h3,
.rules-page h1,.rules-page h2,.rules-page h3,
.contact-page h1,.contact-page h2,.contact-page h3{
  color:var(--sd-maroon)!important;
  -webkit-text-fill-color:var(--sd-maroon)!important;
}

/* ---------- BUTTONS ---------- */
.v5-content-btn,.v5-refresh,.sd-disclaimer-readmore,
button,.btn{
  opacity:1!important;
}
.v5-content-btn,.v5-refresh,.sd-disclaimer-readmore{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:900!important;
}

/* Quick links */
.v5-quicklinks a,
.v5-inline-links a,
.link-grid a,
.seo-links a{
  color:var(--sd-gold)!important;
  -webkit-text-fill-color:var(--sd-gold)!important;
  opacity:1!important;
  font-weight:800!important;
}

/* ---------- FOOTER ---------- */
.v5-footer-grid b{
  color:var(--sd-gold)!important;
  -webkit-text-fill-color:var(--sd-gold)!important;
}
.v5-footer-grid a{
  color:#f3f8fb!important;
  -webkit-text-fill-color:#f3f8fb!important;
  opacity:1!important;
}
.v5-copy{
  color:#c9d7df!important;
  -webkit-text-fill-color:#c9d7df!important;
}

/* ---------- EMERGENCY LOW-CONTRAST KILL SWITCH ---------- */
.v5-body main [class*="muted"],
.v5-body main [class*="faded"],
.v5-body main [class*="light-text"]{
  opacity:1!important;
  filter:none!important;
}

/* Mobile readability */
@media(max-width:650px){
  .v5-body main p,
  .v5-body main li{
    line-height:1.5!important;
  }
  .v5-market-card > a,
  .card > a,
  .live-card > a,
  .top-list > a{
    font-size:12px!important;
  }
}
