/* ==========================================================
   v179.9.59 — POSTGAME STICKY HEADER OPACITY FIX
   The Postgame modal header is sticky on mobile. Give it a
   fully opaque surface so scrolling report content never shows
   through the title/subtitle/close control.
   ========================================================== */

#postgameModal .postgame-card > .modal-head{
  z-index:40!important;
  opacity:1!important;
  background-color:var(--ui-surface,var(--panel,#fff))!important;
  background-image:none!important;
  border-bottom:1px solid var(--ui-line,var(--line,#d9dee5))!important;
  box-shadow:0 8px 14px rgba(15,23,42,.08)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  isolation:isolate!important;
}

/* Wrigley has a late global rule that intentionally makes ordinary utility
   headers transparent. Postgame is the exception because its header is sticky. */
body[data-theme-family="wrigley"] #postgameModal .postgame-card > .modal-head{
  background-color:var(--wr-green-850)!important;
  background-image:none!important;
  border-bottom-color:var(--wr-line)!important;
  box-shadow:0 8px 14px rgba(0,15,9,.20)!important;
}

@media(max-width:700px){
  #postgameModal .postgame-card > .modal-head{
    position:sticky!important;
    top:-10px!important;
    margin:0 -10px 8px!important;
    padding:14px 10px 10px!important;
  }
}
