
/* V15 MAX CONTRAST — final public readability layer */

/* Dark navy page background: every free-standing descriptive line must be bright */
.v5-body main > p,
.v5-body main > div:not(.v5-shell):not(.v5-home):not(.v5-market-grid):not(.v5-table-wrap),
.v5-body main .market-line,
.v5-body main .market-list,
.v5-body main .market-names,
.v5-body main .chart-subtitle,
.v5-body main .archive-subtitle,
.v5-body main .subline,
.v5-body main .muted,
.v5-body main .subtitle,
.v5-body main .description-line{
  color:#f7e7a8!important;
  -webkit-text-fill-color:#f7e7a8!important;
  opacity:1!important;
  filter:none!important;
}

/* Specific text directly below red monthly chart bars */
.v5-chart-heading + p,
.v5-panel-title + p,
.v5-info-title + p,
.v5-chart-block > .v5-chart-heading ~ p,
.v5-chart-block > p,
.monthly-chart-page > p,
.month-chart > p,
.chart-wrap > p{
  color:#f7e7a8!important;
  -webkit-text-fill-color:#f7e7a8!important;
  font-weight:700!important;
  opacity:1!important;
}

/* Archive page headings/subheadings on dark background */
.archive-page > h1,
.archive-page > h2,
.archive-page > h3,
.old-result-page > h1,
.old-result-page > h2,
.old-result-page > h3,
.rd-archive-page > h1,
.rd-archive-page > h2,
.rd-archive-page > h3,
.archive-wrap > h1,
.archive-wrap > h2,
.archive-wrap > h3{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
  opacity:1!important;
}

/* Any direct text on the navy body that is not inside cream/white cards */
.v5-body main > section:not(.v5-welcome):not(.v5-long-content):not(.v5-disclaimer) > p,
.v5-body main > section:not(.v5-welcome):not(.v5-long-content):not(.v5-disclaimer) > span{
  color:#f7e7a8!important;
  -webkit-text-fill-color:#f7e7a8!important;
  opacity:1!important;
}

/* Cream cards: use dark text, never pale yellow */
.v5-ivory h1,.v5-ivory h2,.v5-ivory h3,
.v5-market-card h1,.v5-market-card h2,.v5-market-card h3,
.v5-textbox h1,.v5-textbox h2,.v5-textbox h3,
.v5-blog-card h1,.v5-blog-card h2,.v5-blog-card h3,
.v5-article h1,.v5-article h2,.v5-article h3,
.rd-disclaimer-card h1,.rd-disclaimer-card h2,.rd-disclaimer-card h3,
.top-list h1,.top-list h2,.top-list h3,
.live-card h1,.live-card h2,.live-card h3{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
  opacity:1!important;
}
.v5-ivory p,.v5-textbox p,.v5-blog-card p,.v5-article p,
.v5-market-card p,.rd-disclaimer-card p,.top-list p,.live-card p{
  color:#20272c!important;
  -webkit-text-fill-color:#20272c!important;
  opacity:1!important;
}

/* Market cards names from screenshot */
.v5-market-card h3,
.result-card h3,
.market-card h3{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
  font-weight:900!important;
}

/* Red bars always bright cream */
.v5-panel-title,
.v5-chart-heading,
.v5-info-title,
.record-head,
.chart-title,
.monthly-title,
.archive-title{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
  opacity:1!important;
}

/* Tables */
.v5-body main table th,
.v5-chart th{
  color:#ffe49b!important;
  -webkit-text-fill-color:#ffe49b!important;
  background:#06354b!important;
  opacity:1!important;
}
.v5-body main table td,
.v5-chart td{
  color:#18242c!important;
  -webkit-text-fill-color:#18242c!important;
  opacity:1!important;
}

/* Generic safety: no transparent/faded foreground anywhere public */
.v5-body main [class*="muted"],
.v5-body main [class*="sub"],
.v5-body main [class*="desc"]{
  opacity:1!important;
  filter:none!important;
}

/* The six-market line under monthly heading can come from plain text wrappers */
.v5-body main .v5-chart-block > div:not(.v5-select-row):not(.v5-table-wrap):not(.v5-chart-heading),
.v5-body main .archive-page > div:not(.v5-table-wrap),
.v5-body main .old-result-page > div:not(.v5-table-wrap){
  color:#f7e7a8!important;
  -webkit-text-fill-color:#f7e7a8!important;
}

/* Footer stays readable */
.v5-footer,.v5-footer *{
  opacity:1!important;
}
.v5-footer-grid b{color:#ffe49b!important;-webkit-text-fill-color:#ffe49b!important}
.v5-footer-grid a{color:#f3f8fb!important;-webkit-text-fill-color:#f3f8fb!important}


/* V16 compact homepage disclaimer + full legal page */
.sd-home-disclaimer{
  padding:18px 16px!important;
}
.sd-home-disclaimer p{
  max-width:950px!important;
  margin:8px auto!important;
  line-height:1.45!important;
}
.sd-disclaimer-readmore{
  display:inline-block!important;
  margin-top:10px!important;
  background:#b00035!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:2px solid #d8b657!important;
  border-radius:7px!important;
  padding:9px 18px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.sd-disclaimer-readmore:hover{
  background:#8f1732!important;
}
.sd-legal-full{
  text-align:left!important;
}
.sd-legal-full h2{
  color:#8f1732!important;
  -webkit-text-fill-color:#8f1732!important;
  margin-top:22px!important;
}
.sd-legal-full p{
  color:#20272c!important;
  -webkit-text-fill-color:#20272c!important;
  line-height:1.6!important;
  font-size:15px!important;
}
@media(max-width:650px){
  .sd-home-disclaimer h2{font-size:27px!important}
  .sd-home-disclaimer p{font-size:14px!important}
  .sd-legal-full p{font-size:14px!important;line-height:1.55!important}
}
