/* Surin V25 — exact corrections requested, preserving overall theme */
/* Homepage: score/schedule content starts at top and scrolls when long */
html body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board,
html body.public-site.page-index .home-primary-dashboard-grid .live-now-list{
  display:block!important;
  align-content:start!important;
  justify-content:flex-start!important;
  place-content:start!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  padding:12px!important;
  scrollbar-width:thin;
  scrollbar-color:#a9b8ca #f4f7fa;
}
html body.public-site.page-index .home-primary-dashboard-grid .live-now-list>.premium-schedule-row{
  display:grid!important;
  align-self:start!important;
  margin:0 0 9px!important;
}
html body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board .live-score-grid{
  display:block!important;
  margin:0!important;
}
html body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board .live-score-sport{
  margin-bottom:9px!important;
}
html body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board .live-score-match-list{
  display:grid!important;
  align-content:start!important;
}
/* Keep no-data states centered without centering actual matches */
html body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board:has(>.home-dashboard-empty),
html body.public-site.page-index .home-primary-dashboard-grid .live-now-list:has(>.home-dashboard-empty){
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
html body.public-site.page-index .home-primary-dashboard-grid .home-dashboard-empty{margin:auto!important}

/* Homepage latest results: vertical full-width list and full school names */
html body.public-site.page-index .home-latest-result-card .home-result-list{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:start!important;
  gap:10px!important;
  max-height:470px;
  overflow-y:auto;
  overflow-x:hidden;
  padding:12px!important;
  scrollbar-width:thin;
  scrollbar-color:#b5c5c0 #f8fbfa;
}
html body.public-site.page-index .home-latest-result-card .home-result-row{
  grid-template-columns:48px minmax(0,1fr) 15px!important;
  min-height:108px!important;
  width:100%!important;
  gap:12px!important;
  align-items:center!important;
  padding:12px 13px!important;
}
html body.public-site.page-index .home-latest-result-card .home-result-main,
html body.public-site.page-index .home-latest-result-card .home-result-main>div{min-width:0!important}
html body.public-site.page-index .home-latest-result-card .home-result-medals{
  flex-wrap:wrap!important;
  overflow:visible!important;
  gap:7px!important;
  align-items:flex-start!important;
  margin-top:8px!important;
}
html body.public-site.page-index .home-latest-result-card .home-result-medals b{
  display:inline-flex!important;
  flex:0 1 auto!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  font-size:10.5px!important;
  line-height:1.55!important;
  padding:6px 10px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:break-word!important;
  background:#fff!important;
  border:1px solid #dce8e3!important;
  color:#30475b!important;
}
html body.public-site.page-index .home-latest-result-card .home-result-main>div strong{
  font-size:13px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body.public-site.page-index .home-latest-result-card .home-result-main>small{
  white-space:normal!important;
  text-overflow:clip!important;
  overflow:visible!important;
  font-size:10.5px!important;
}

/* Live badge label: centered, crisp pale dot on evergreen */
html body.public-site.page-index .premium-live-badge,
html body.public-site.page-index .premium-live-badge.is-live{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  gap:6px!important;
  line-height:1!important;
  padding:6px 10px!important;
  min-height:26px!important;
  background:#0f7250!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid rgba(230,255,240,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
}
html body.public-site.page-index .premium-live-badge>i,
html body.public-site.page-index .premium-live-badge.is-live>i{
  display:block!important;
  flex:0 0 8px!important;
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.16)!important;
  opacity:1!important;
}
html body.public-site.page-index .premium-live-badge>span{
  display:block!important;
  text-align:center!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.03em!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body.public-site.page-index .premium-card-head>a .home-cta-arrow,
html body.public-site.page-index .home-discovery-head>a .home-cta-arrow{
  display:inline-block!important;
  margin-left:5px!important;
  font-size:16px!important;
  font-weight:900!important;
  vertical-align:middle!important;
  line-height:0.7!important;
  opacity:1!important;
  visibility:visible!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}

/* All scoreboards: logo sits ABOVE the team name and long names wrap, never truncate */
html body.public-site .live-score-versus strong{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.5!important;
  overflow:visible!important;
  overflow-wrap:break-word!important;
  white-space:normal!important;
  word-break:normal!important;
  text-overflow:clip!important;
  color:#1f3553!important;
}
html body.public-site .live-score-versus strong :is(.school-logo,.school-logo-fallback){
  display:grid!important;
  place-items:center!important;
  flex:none!important;
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  min-width:38px!important;
  object-fit:contain!important;
  border-radius:10px!important;
  margin:0 0 3px!important;
}
html body.public-site .live-score-versus>div:last-child strong{
  color:#1e6b54!important;
}
html body.public-site .live-score-sport-head h3{
  font-size:16px!important;
  line-height:1.45!important;
  color:#123d67!important;
}
html body.public-site .live-score-meta{color:#5d6f85!important}
html body.public-site .live-score-meta .live-status.live{
  background:#097e55!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body.public-site .live-score-match.live .live-score-meta>span:not(.live-status){
  color:#5c7391!important;
}
html body.public-site .live-score-versus{align-items:center!important}
html body.public-site .live-score-versus>div{align-items:center!important;min-width:0!important}
html body.public-site .live-score-match{height:auto!important}

/* Admin headline chips on WHITE pills must have DARK ink */
html body.admin-body .dashboard-hero .dashboard-chip-row .dashboard-chip{
  background:#f7f8fc!important;
  border:1px solid rgba(220,228,239,.9)!important;
  color:#263c51!important;
  -webkit-text-fill-color:#263c51!important;
  font-weight:800!important;
  text-shadow:none!important;
}
html body.admin-body .dashboard-hero .dashboard-chip-row .dashboard-chip.is-live{
  background:#e5f6ee!important;
  border-color:#bde4d1!important;
  color:#125b42!important;
  -webkit-text-fill-color:#125b42!important;
}
html body.admin-body .dashboard-hero .dashboard-chip-row .dashboard-chip.is-warn{
  background:#fff1e3!important;
  border-color:#f3d0a7!important;
  color:#8b481d!important;
  -webkit-text-fill-color:#8b481d!important;
}
html body.admin-body .dashboard-hero .dashboard-chip-row .dashboard-chip :is(b,strong,small,span){
  color:inherit!important;-webkit-text-fill-color:currentColor!important;
}

/* Register: elegant alternating steps like other dashboard strips */
html body.public-site.page-apply .registration-steps{gap:9px!important}
html body.public-site.page-apply .registration-steps span{
  background:#f2f7fb!important;
  border:1px solid #d3e2ed!important;
  border-top:3px solid #2b6a98!important;
  color:#20425b!important;
  -webkit-text-fill-color:#20425b!important;
  border-radius:13px!important;
  font-size:12px!important;
  font-weight:850!important;
}
html body.public-site.page-apply .registration-steps span:nth-child(2){
  background:#f0f7f3!important;
  border-color:#c7e3d4!important;
  border-top-color:#268364!important;
  color:#1b5943!important;
  -webkit-text-fill-color:#1b5943!important;
}
html body.public-site.page-apply .registration-steps span:nth-child(3){
  background:#fff6ef!important;
  border-color:#efd9c3!important;
  border-top-color:#ce7c39!important;
  color:#82431e!important;
  -webkit-text-fill-color:#82431e!important;
}

/* Previously submitted team officials: select all or an individual person */
html body.public-site.page-apply .registration-staff-reuse{
  display:grid!important;
  gap:7px!important;
  padding:14px!important;
  margin:0 0 13px!important;
  border:1px solid #d4e5dd!important;
  border-radius:13px!important;
  background:#f4faf6!important;
}
html body.public-site.page-apply .registration-staff-reuse label{
  font-weight:900!important;
  color:#205642!important;
}
html body.public-site.page-apply .registration-staff-reuse select{
  width:100%!important;
  max-width:100%!important;
  min-height:40px!important;
  background:#fff!important;
  border:1px solid #cddfda!important;
  border-radius:10px!important;
  color:#24394c!important;
}
html body.public-site.page-apply .registration-staff-reuse small{
  color:#587a6b!important;
  font-size:11px!important;
}
html body.public-site.page-apply .staff-reuse-picker{
  background:#f7fafc!important;
  border:1px solid #dde8ee!important;
  padding:10px!important;
  border-radius:10px!important;
  margin-bottom:9px!important;
}
html body.public-site.page-apply .staff-reuse-picker label{
  color:#284768!important;
}
html body.public-site.page-apply .staff-reuse-picker small{
  color:#677a89!important;
}

/* Document/menu page headings: fix ink on darker gradient and cramped top */
html body.public-site.page-documents .section-heading,
html body.public-site.page-announcements .section-heading{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  min-height:116px!important;
  padding:18px 25px!important;
  border-radius:19px!important;
}
html body.public-site.page-documents .section-heading h1.section-title,
html body.public-site.page-announcements .section-heading h1.section-title{
  margin:7px 0 0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.14)!important;
}
html body.public-site.page-documents .section-heading .eyebrow,
html body.public-site.page-announcements .section-heading .eyebrow{
  color:#ffe1a1!important;
  -webkit-text-fill-color:#ffe1a1!important;
}

@media(max-width:820px){
  html body.public-site.page-index .home-latest-result-card .home-result-medals b{
    font-size:10px!important;
    line-height:1.45!important;
  }
  html body.public-site .live-score-versus strong,
  html body.public-site.page-index .home-live-score-board .live-score-versus strong{
    font-size:10px!important;
    line-height:1.45!important;
  }
  html body.public-site .live-score-versus strong :is(.school-logo,.school-logo-fallback){
    width:31px!important;min-width:31px!important;max-width:31px!important;height:31px!important;
  }
  html body.public-site.page-index .home-primary-dashboard-grid .home-live-score-board,
  html body.public-site.page-index .home-primary-dashboard-grid .live-now-list{padding:10px!important}
}

html body.public-site.page-apply .staff-registration-card.is-reusing-staff .registration-field input[readonly],
html body.public-site.page-apply .staff-registration-card.is-reusing-staff .registration-field select:disabled{
  background:#f1f5f5!important;
  border-color:#dae5e3!important;
  color:#2b4950!important;
  -webkit-text-fill-color:#2b4950!important;
  opacity:1!important;
}
