/* Live scoring: quiet warm-grey background with a white results surface. */
body:has(#public.active),body:has(#public.active) main{
  background:#f4f3ef!important;
  color:var(--ink)!important;
  color-scheme:light;
}
body:has(#public.active)>header{background:rgba(255,255,255,.94)!important;color:var(--ink)!important}
#public.view{
  position:relative;
  isolation:isolate;
  width:min(calc(100% - 3rem),90rem)!important;
  margin:0 auto 4rem!important;
  max-width:90rem!important;
  padding:.35rem 0 3rem!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#public.view::before,#public.view::after{content:none!important;display:none!important}
#public.view::before{top:-8rem;left:-8rem;background:radial-gradient(circle,rgba(154,207,184,.38),transparent 68%)}
#public.view::after{right:-9rem;bottom:-8rem;background:radial-gradient(circle,rgba(177,204,227,.3),transparent 68%)}
#public .live-event-picker,#public .live-event-head,#public .live-results{width:100%!important;max-width:none!important;box-sizing:border-box}
#public .live-event-picker select,#public .toolbar select{border-color:#c8ccc6!important;background-color:rgba(255,255,255,.9)!important;color:var(--ink)!important}
#public .live-results{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
#public .leaderboard{border-top:0!important;background:transparent!important}
#public .row:first-child,#public .row.podium:first-child{background:transparent!important}
#public .row:hover,#public .row:first-child:hover,#public .row.podium:first-child:hover,#public .row[aria-expanded=true]{background:#eef3f0!important}
#public .inline-result{border-bottom-color:var(--line)!important;background:#edf2ef!important;box-shadow:inset 3px 0 #65aa8d!important;color:var(--ink)!important}
@media(max-width:57.5rem){
  #public.view{width:calc(100% - 2rem)!important;margin:0 auto 2.5rem!important;padding:.35rem 0 2rem!important;border-radius:0!important}
  #public .live-results{padding:0!important;border-radius:0!important}
}

#public .live-event-head h1{font-size:clamp(1.65rem,3vw,2.4rem)!important}
@media(min-width:57.51rem){
  body.home-active .home-hero .hero-slide img{filter:brightness(1)!important}
  body.home-active .home-hero-shade{background:linear-gradient(to bottom left,rgba(0,0,0,.03) 12%,rgba(0,0,0,.18) 50%,rgba(0,0,0,.52) 100%),rgba(0,0,0,.035)!important}
}

/* Cross-page frame and input refinements loaded at the end of the cascade. */
@media(min-width:57.51rem){
  .view:not(#home):not(#public),#athletes.view,#club.view[data-active-section="competitions"]{
    width:min(calc(100% - 3rem),90rem)!important;
    max-width:90rem!important;
  }
  .competition-directory-tools{grid-template-columns:1fr!important;align-items:stretch!important}
}
@media(max-width:57.5rem){
  .competition-search input{font-size:1rem!important}
  body.home-active .home-hero-shade{background:linear-gradient(to bottom left,rgba(0,0,0,.025) 12%,rgba(0,0,0,.12) 52%,rgba(0,0,0,.42) 100%),rgba(0,0,0,.02)!important}
  body.home-active .home-hero .hero-slide img{filter:brightness(.98)!important}
}
