/* V40: restrained schedule logos and consistent filters for public directories */
html body.public-site.page-schedule .schedule-desktop-table td:nth-child(3) {
  vertical-align:middle!important;
  font-size:12.5px!important;
  line-height:1.55!important;
  overflow-wrap:anywhere;
  max-width:450px;
}
/* Logos must never inherit large generic table image sizing. */
html body.public-site.page-schedule .schedule-desktop-table td:nth-child(3) img.school-logo,
html body.public-site.page-schedule .mobile-schedule-versus img.school-logo {
  display:inline-block!important;
  vertical-align:middle!important;
  width:30px!important;
  max-width:30px!important;
  min-width:30px!important;
  height:30px!important;
  max-height:30px!important;
  min-height:30px!important;
  aspect-ratio:1 / 1!important;
  object-fit:contain!important;
  border:1px solid #dbe5eb!important;
  border-radius:9px!important;
  background:#fff!important;
  padding:3px!important;
  margin:0 5px 0 0!important;
  box-sizing:border-box!important;
}
html body.public-site.page-schedule .schedule-desktop-table td:nth-child(3) span.school-logo-fallback,
html body.public-site.page-schedule .mobile-schedule-versus span.school-logo-fallback {
  display:inline-grid!important;
  place-items:center!important;
  vertical-align:middle!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  flex:0 0 30px!important;
  border-radius:9px!important;
  font-size:14px!important;
  margin:0 5px 0 0!important;
}
html body.public-site.page-schedule .schedule-desktop-table .versus-text{
  display:inline-block;
  margin:0 7px;
  color:#738598;
  font-weight:900;
  font-size:10px;
}
html body.public-site.page-schedule .mobile-schedule-versus img.school-logo,
html body.public-site.page-schedule .mobile-schedule-versus span.school-logo-fallback{
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  max-width:27px!important;
  max-height:27px!important;
  flex-basis:27px!important;
}
html body.public-site :is(.public-result-filters,.live-score-facet-panel,.athlete-facet-panel){
  margin:15px 0 18px!important;
  background:linear-gradient(140deg,#ffffff 0%,#f8fafc 100%)!important;
  border:1px solid #dce6ed!important;
  border-radius:18px!important;
  box-shadow:0 8px 20px rgba(24,44,63,.045)!important;
}
html body.public-site :is(.public-result-filters,.live-score-facet-panel,.athlete-facet-panel) .facet-heading{
  color:#26465d!important;
  font-size:13px!important;
}
html body.public-site :is(.public-result-filters,.live-score-facet-panel,.athlete-facet-panel) .sport-facet-chip{
  font-size:12px!important;
  border-radius:13px!important;
  min-height:36px!important;
  text-decoration:none!important;
  line-height:1.45!important;
}
html body.public-site :is(.public-result-filters,.live-score-facet-panel,.athlete-facet-panel) .sport-facet-chip.is-active{
  background:#145d49!important;
  color:white!important;
  -webkit-text-fill-color:white!important;
  border-color:#145d49!important;
}
html body.public-site :is(.public-result-filters,.live-score-facet-panel,.athlete-facet-panel) .sport-facet-chip.is-active small{
  color:#e2f8ee!important;
  -webkit-text-fill-color:#e2f8ee!important;
}
html body.public-site.page-live-scores .live-score-all-shell .live-score-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
html body.public-site.page-live-scores .live-score-all-shell .live-score-sport{
  min-width:0;
}
@media(max-width:820px){
  html body.public-site.page-live-scores .live-score-all-shell .live-score-grid{grid-template-columns:minmax(0,1fr)}
  html body.public-site.page-schedule .schedule-desktop-table td:nth-child(3) img.school-logo,
  html body.public-site.page-schedule .schedule-desktop-table td:nth-child(3) span.school-logo-fallback{
    width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;
    max-width:26px!important;max-height:26px!important;
  }
  html body.public-site :is(.public-result-filters,.live-score-facet-panel,.athlete-facet-panel){padding:12px!important}
}

/* Compact, two-line versus information in desktop schedule tables */
html body.public-site.page-schedule .schedule-desktop-table .schedule-matchup-cell{
  min-width:225px;
  width:32%;
  padding-block:12px;
}
html body.public-site.page-schedule .schedule-desktop-table .schedule-school-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  font-weight:700;
  color:#27445c;
}
html body.public-site.page-schedule .schedule-desktop-table .schedule-school-row span:last-child{
  display:block;
  min-width:0;
  overflow-wrap:anywhere;
  line-height:1.4;
}
html body.public-site.page-schedule .schedule-desktop-table .schedule-versus-label{
  display:block;
  width:30px;
  margin:3px 0 3px 0;
  text-align:center;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
  color:#7b8897;
}
html body.public-site.page-schedule .schedule-desktop-table .schedule-school-row :is(img.school-logo,span.school-logo-fallback){
  margin:0!important;
  flex:0 0 30px!important;
}
html body.public-site.page-results .results-table .medal-col :is(img.school-logo,span.school-logo-fallback){
  display:inline-grid!important;
  vertical-align:middle!important;
  width:27px!important;height:27px!important;
  max-width:27px!important;max-height:27px!important;
  min-width:27px!important;min-height:27px!important;
  object-fit:contain!important;
  border-radius:8px!important;
  padding:2px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}

/* Public result cards on phones: school emblems must stay thumbnails, never full-size. */
html body.public-site.page-results .mobile-result-list .mobile-medal-list strong :is(img.school-logo,span.school-logo-fallback){
  display:inline-grid!important;
  vertical-align:middle!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  aspect-ratio:1 / 1!important;
  object-fit:contain!important;
  border:1px solid #dce5ee!important;
  border-radius:8px!important;
  padding:2px!important;
  background:#fff!important;
  margin-right:6px!important;
  box-sizing:border-box!important;
}
html body.public-site.page-results .mobile-result-list .mobile-medal-list strong{
  color:#233e56!important;
  overflow-wrap:anywhere;
  line-height:1.5!important;
}
