/* LosersLeague white surfaces v1
   Final visual layer: every page/shell/card uses a white surface.
   Accent colours, text, borders and hero media remain available for hierarchy. */
:root{
  --v15-bg:#ffffff!important;
  --v15-panel:#ffffff!important;
  --v15-panel2:#ffffff!important;
  --v15-line:#d9e0e6!important;
  --ll15-bg:#ffffff!important;
  --ll15-surface:#ffffff!important;
  --ll15-surface2:#ffffff!important;
  --ll15-surface3:#ffffff!important;
  --ll15-line:#d9e0e6!important;
  --ll15-line2:#cfd8df!important;
  --ll15-text:#07131a!important;
  --ll15-muted:#5d6b75!important;
}

html,body,
body.v15-home-active,body.v15-legacy-active,body.v15-wc-active,body.v15-og-active,
body>.wrap,.competition-panel,
.v15-home-panel,.v15-unified-page,
.v15-main,.v15-unified-main,.v15-tournament-main,
.v15-unified-content,.v15-tournament-content,
.v15-shell,.v15-unified-shell,.v15-tournament-shell{
  background:#ffffff!important;
  background-image:none!important;
}

/* Sidebar + chrome */
.v15-sidebar,.v15-unified-sidebar,.v15-sidebar-inner,.topbar,.competition-nav,.ll-site-footer{
  background:#ffffff!important;
  background-image:none!important;
}
.v15-sidebar,.v15-unified-sidebar{border-color:#d9e0e6!important}

/* Global cards and framed surfaces */
.v15-panel,.v15-intro,.v15-metrics article,.home-results,.home-featured,.home-philosophy,.home-beliefs,.llw-card,.llw-card>header,.llw-card-head,.competition-panel .card,.competition-panel .comp-card,.competition-panel .ll-rules-card,.competition-panel .ll-rules-strength,.competition-panel .ll-rules-example,.history-global-card,.history-backup-card,#comp-nhl .nhl41-card,#comp-nhl .nhl41-card>header,#comp-nhl .nhl41-section-head,#comp-nhl .nhl41-scorecard,#comp-pl .nhl41-scorecard,#comp-ucl .nhl41-scorecard,.v15-wc-overview-card,.v15-wc-overview-card.hero,.v15-wc-total,.v15-wc-shell .card,.v15-wc-shell .wc-group-title,.v15-wc-shell .wc-ko-help,.v15-wc-shell .wc-match,.v15-wc-shell .wc-round,.v15-wc-shell .wc-ko-bracket-scroll,.v15-wc-shell .wc-ko-bracket,.v15-wc-shell .wc-ko-card,.v15-og-shell .og26-card,.v15-og-shell .card,.v15-og-shell [class*="og26-"][class*="card"],#comp-pl .headline,#comp-pl .recap-card,#comp-pl .recap-hero,#comp-pl .record-card,#comp-pl .recap-insights>div,#comp-pl .person-card,#comp-pl .draw-card,#comp-pl .h2h-meta>div{
  background:#ffffff!important;
  background-image:none!important;
}

/* Navigation surfaces */
#comp-nhl .nhl41-nav,#comp-nhl .nhl41-subnav,.v15-unified-local-nav,.v15-local-nav,.v15-local-nav.og26-local-nav,.v15-og-facts{
  background:#ffffff!important;
  background-image:none!important;
}

/* Tables and rows */
#comp-pl .table th,#comp-pl .stats-table th,#comp-pl .table td,#comp-pl .stats-table td,
#comp-ucl .ucl-table th,#comp-ucl .ucl-table td,
.v15-wc-shell .wc-table th,.v15-wc-shell .wc-table td,
.v15-og-shell table,.v15-og-shell th,.v15-og-shell td{
  background:#ffffff!important;
  background-image:none!important;
}

/* Remove dark/blue page strips and gradients. */
#comp-nhl .nhl41-shell,
#comp-pl,#comp-ucl,#comp-wc26,#comp-og26,#comp-rules,#comp-history,
.v15-tournament-main,.v15-unified-main,
.v15-wc-shell,.v15-og-shell{
  background:#ffffff!important;
  background-image:none!important;
}

/* Text must remain readable after killing dark surfaces. */
.v15-unified-page,.v15-unified-page h1,.v15-unified-page h2,.v15-unified-page h3,.v15-unified-page b,.v15-unified-page strong,
.v15-wc-shell,.v15-wc-shell h1,.v15-wc-shell h2,.v15-wc-shell h3,.v15-wc-shell b,.v15-wc-shell strong,
.v15-og-shell,.v15-og-shell h1,.v15-og-shell h2,.v15-og-shell h3,.v15-og-shell b,.v15-og-shell strong{
  color:#07131a!important;
}
.v15-unified-page p,.v15-unified-page small,
.v15-wc-shell p,.v15-wc-shell small,
.v15-og-shell p,.v15-og-shell small{
  color:#5d6b75!important;
}

/* Keep only structural grey borders, never tinted page fills. */
.v15-panel,.v15-intro,.home-results,.home-featured,.home-philosophy,.llw-card,.competition-panel .card,.competition-panel .comp-card,#comp-nhl .nhl41-card,#comp-nhl .nhl41-scorecard,#comp-pl .nhl41-scorecard,#comp-ucl .nhl41-scorecard,.v15-wc-overview-card,.v15-wc-total,#comp-pl .headline,.v15-wc-titlebar,.v15-og-titlebar{
  border-color:#d9e0e6!important;
}

/* Hero banners may keep photographic/video media, but their surrounding page frame stays white. */
#comp-home .v15-hero-card,
#comp-home .v15-hero-carousel,
#comp-home [class*="hero"] video,
#comp-home [class*="hero"] img{
  background-color:#ffffff!important;
}

/* Selected controls may use accent borders/text, never coloured panel fills. */
#comp-nhl .nhl41-nav button.on,#comp-nhl .nhl41-subnav button.on,.v15-unified-local-nav button.on,.v15-local-nav button.on,.v15-local-nav.og26-local-nav button.on,.v15-wc-shell .wc-group-tabs button.on,.v15-wc-shell .wc-ko-mobile-tabs button.on{
  background:#ffffff!important;
}

/* Form controls are white too. */
.v15-unified-page input,.v15-unified-page select,.v15-unified-page textarea,
.v15-wc-shell input,.v15-wc-shell select,.v15-wc-shell textarea,
.v15-og-shell input,.v15-og-shell select,.v15-og-shell textarea,
#comp-nhl input,#comp-nhl select,#comp-nhl textarea{
  background:#ffffff!important;
  color:#07131a!important;
  -webkit-text-fill-color:#07131a!important;
}

/* Borderless content blocks across the public site.
   Keep table/grid lines, form controls and navigation controls intact; only remove
   the thin frames that visually separate major content blocks. */
.v15-panel,.v15-intro,.v15-metrics article,.home-results,.home-featured,.home-philosophy,.home-beliefs,.llw-card,.llw-card>header,.llw-card-head,.competition-panel .card,.competition-panel .comp-card,.competition-panel .ll-rules-card,.competition-panel .ll-rules-strength,.competition-panel .ll-rules-example,.history-global-card,.history-backup-card,#comp-nhl .nhl41-card,#comp-nhl .nhl41-card>header,#comp-nhl .nhl41-section-head,#comp-nhl .nhl41-scorecard,#comp-pl .nhl41-scorecard,#comp-ucl .nhl41-scorecard,.v15-wc-overview-card,.v15-wc-overview-card.hero,.v15-wc-total,.v15-wc-shell .card,.v15-wc-shell .wc-group-title,.v15-wc-shell .wc-ko-help,.v15-wc-shell .wc-match,.v15-wc-shell .wc-round,.v15-wc-shell .wc-ko-bracket-scroll,.v15-wc-shell .wc-ko-bracket,.v15-wc-shell .wc-ko-card,.v15-og-shell .og26-card,.v15-og-shell .card,.v15-og-shell [class*="og26-"][class*="card"],#comp-pl .headline,#comp-pl .recap-card,#comp-pl .recap-hero,#comp-pl .record-card,#comp-pl .recap-insights>div,#comp-pl .person-card,#comp-pl .draw-card,#comp-pl .h2h-meta>div{
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Hard-refresh anti-FOUC.
   The legacy header/navigation DOM is still kept as an internal routing target for
   old handlers, but it must never become visible while JavaScript is still starting. */
body>header.topbar{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
#comp-home .v15-topline{
  display:none!important;
  visibility:hidden!important;
}

/* NHL head-to-head: keep the white theme, but restore comparative meaning.
   Every metric is green for the better value and red for the worse value.
   The JS already inverts penalty minutes (lower is better) and leaves ties neutral. */
html body #comp-nhl .nhl41-h2h-card .nhl41-h2h-rows b.win{
  color:var(--nhl-green,#269767)!important;
}
html body #comp-nhl .nhl41-h2h-card .nhl41-h2h-rows b.lose{
  color:var(--nhl-red,#8d001c)!important;
}
