
/* Shared scoreboard appearance: HOME and RESULTS */
body:is([data-jt-theme="home"],[data-jt-theme="results"]) .scoreboard{
 background:#0c121a;
}
body:is([data-jt-theme="home"],[data-jt-theme="results"]) .scoreboard :is(th,td){
 border-color:#46505a!important;
}
body:is([data-jt-theme="home"],[data-jt-theme="results"]) .scoreboard thead th{
 background:#172231!important;
 color:#d6af54!important;
}
body:is([data-jt-theme="home"],[data-jt-theme="results"]) .scoreboard tbody :is(th,td){
 color:#fff;
}
body:is([data-jt-theme="home"],[data-jt-theme="results"]) .scoreboard td:last-child{
 background:#172231;
}
.latest-result-columns,
.latest-result-left,
.latest-result-columns > details{
 min-width:0;
}
@media(min-width:1100px){
 .latest-result-columns{
  display:grid;
  grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);
  gap:28px;
  align-items:start;
 }
 .latest-result-columns > details{
  margin-top:0!important;
  overflow-x:auto;
 }
 .latest-result-columns > details > summary{
  display:none!important;
 }
 .latest-result-columns .scoreboard-wrap{
  margin-top:0;
 }
}
@media(max-width:1099px){
 .latest-result-columns{display:block}
 .latest-result-columns > details{margin-top:18px}
}

/* v353: prevent desktop detail tables from collapsing */
@media(min-width:1100px){
 .latest-result-columns{
  width:100%!important;
  grid-template-columns:360px minmax(0,1fr)!important;
  justify-items:stretch!important;
 }
 .latest-result-columns > details{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  justify-self:stretch!important;
 }
 .latest-result-columns > details > :not(summary){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
 }
 .latest-result-columns > details :is(
  .result-overview,.result-tables,.result-lineup,
  .result-pitching,.record-table-wrap
 ){
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
 }
 .latest-result-columns > details .record-table{
  width:100%!important;
  min-width:0!important;
  table-layout:auto!important;
 }
 .latest-result-columns > details a.result-link{
  display:inline-block;
  white-space:nowrap;
 }
}
