/* 1. Prevent your page's global element styling from resizing widget typography */ 
#game-root h1, #game-root h2, #game-root h3, #game-root h4, #game-root h5, #game-root h6, #game-root p, #game-root span, #game-root a, #game-root table, #game-root td, #game-root th,
#player-root h1, #player-root h2, #player-root h3, #player-root h4, #player-root h5, #player-root h6, #player-root p, #player-root span, #player-root a, #player-root table, #player-root td, #player-root th,
#team-root h1, #team-root h2, #team-root h3, #team-root h4, #team-root h5, #team-root h6, #team-root p, #game-root span, #team-root a, #team-root table, #team-root td, #team-root th,
#site-root h1, #site-root h2, #site-root h3, #site-root h4, #site-root h5, #site-root h6, #site-root p, #site-root span, #site-root a, #site-root table, #site-root td, #site-root th,
#scorebug-root h1, #scorebug-root h2, #scorebug-root h3, #scorebug-root h4, #scorebug-root h5, #scorebug-root h6, #scorebug-root p, #scorebug-root span, #scorebug-root a, #scorebug-root table, #scorebug-root td, #scorebug-root th,
player-header h1, player-header h2, player-header h3, player-header h4, player-header h5, player-header h6, player-header p, player-header span, player-header a,
player-section h1, player-section h2, player-section h3, player-section h4, player-section h5, player-section h6, player-section p, player-section span, player-section a,
team-header h1, team-header h2, team-header h3, team-header h4, team-header h5, team-header h6, team-header p, team-header span, team-header a,
team-section h1, team-section h2, team-section h3, team-section h4, team-section h5, team-section h6, team-section p, team-section span, team-section a,
team-tab-panel h1, team-tab-panel h2, team-tab-panel h3, team-tab-panel h4, team-tab-panel h5, team-tab-panel h6, team-tab-panel p, team-tab-panel span, team-tab-panel a { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; 
  font-size: unset !important; 
  line-height: normal !important; 
  letter-spacing: normal !important; 
  text-transform: none !important; 
} 

/* 2. Block layout constraints (like custom margins, borders, or list bullets) from warping structural elements */ 
#game-root ul, #game-root li,
#player-root ul, #player-root li,
#team-root ul, #team-root li,
#site-root ul, #site-root li,
#scorebug-root ul, #scorebug-root li,
player-header ul, player-header li,
player-section ul, player-section li,
team-header ul, team-header li,
team-section ul, team-section li,
team-tab-panel ul, team-tab-panel li { 
  list-style: none !important; 
  margin: 0 !important; 
  padding: 0 !important; 
} 

/* 3. Strip custom structural layout limits enforced by your site theme */ 
#game-root div, #game-root section,
#player-root div, #player-root section,
#team-root div, #team-root section,
#site-root div, #site-root section,
#scorebug-root div, #scorebug-root section,
player-header div, player-header section,
player-section div, player-section section,
team-header div, team-header section,
team-section div, team-section section,
team-tab-panel div, team-tab-panel section { 
  max-width: none !important; 
  min-width: 0 !important; 
  background-image: none !important; 
} 

/* 4. Neutralize aggressive global table configurations & fix column squeezing */ 
#game-root table,
#player-root table,
#team-root table,
#site-root table,
#scorebug-root table,
player-header table,
player-section table,
team-header table,
team-section table,
team-tab-panel table { 
  border-collapse: collapse !important; 
  width: 100% !important; 
  margin: 0 !important; 
  table-layout: auto !important; /* Forces columns to size smoothly based on content */ 
} 

/* 5. Strip custom structural layout limits from headers and sections */ 
game-header, .game-header, #game-header, 
game-section, .game-section, #game-section,
player-header, .player-header, #player-header, 
player-section, .player-section, #player-section,
team-header, .team-header, #team-header,
team-section, .team-section, #team-section,
team-tab-panel, .team-tab-panel, #team-tab-panel { 
  max-width: none !important; 
  min-width: 0 !important; 
  background-image: none !important; 
  margin: 0 !important; 
  padding: 0 !important; 
  display: block !important; 
} 

/* 6. Neutralize typography and colors bleeding into game-header and game-section */ 
game-header *, .game-header *, #game-header *, 
game-section *, .game-section *, #game-section *,
player-header *, .player-header *, #player-header *, 
player-section *, .player-section *, #player-section *,
team-header *, .team-header *, #team-header *,
team-section *, .team-section *, #team-section *,
team-tab-panel *, .team-tab-panel *, #team-tab-panel *,
#scorebug-root * { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; 
  font-size: unset !important; 
  line-height: normal !important; 
  text-transform: none !important; 
} 

/* 7. Revert Bootstrap box-sizing ONLY inside the widget so padding doesn't pinch layouts */ 
#game-root *, #player-root *, #team-root *, #site-root *, #scorebug-root *, 
game-header *, game-section *,
player-header *, player-section *,
team-header *, team-section *,
team-tab-panel * { 
  box-sizing: content-box !important; 
}
