/* CIVITAS eSPORT — visual system for interior pages only. The homepage is intentionally excluded. */
body.cvt-secondary{--page-blue:#2459ef;--page-ink:#081735;--page-muted:#65748f;--page-line:#dce5f2;--page-soft:#f4f7fc;--page-dark:#07142e}
body.cvt-secondary main{isolation:isolate}
body.cvt-secondary .cvt-detail-hero,
body.cvt-secondary .cvt-player-hero{isolation:isolate}
body.cvt-secondary .cvt-detail-hero::before{content:"";position:absolute;z-index:0;inset:auto 0 0;height:3px;background:linear-gradient(90deg,#194af2 0%,#4d83ff 42%,rgba(77,131,255,0) 95%);pointer-events:none}
body.cvt-secondary .cvt-detail-hero__layout{position:relative;z-index:1}
body.cvt-secondary .cvt-detail-hero__cover{transition:transform 1.4s cubic-bezier(.22,1,.36,1);transform:scale(1.025)}
body.cvt-secondary .cvt-detail-hero:hover .cvt-detail-hero__cover{transform:scale(1.055)}
body.cvt-secondary .cvt-detail-crumb{padding-bottom:4px}
body.cvt-secondary .cvt-detail-crumb li{letter-spacing:.015em}
body.cvt-secondary .cvt-detail-crumb a{position:relative;text-decoration:none}
body.cvt-secondary .cvt-detail-crumb a::after{content:"";position:absolute;bottom:-3px;left:0;right:0;height:1px;background:#a9c5ff;transform:scaleX(0);transform-origin:left;transition:transform .25s}
body.cvt-secondary .cvt-detail-crumb a:hover::after,body.cvt-secondary .cvt-detail-crumb a:focus-visible::after{transform:scaleX(1)}
body.cvt-secondary .cvt-detail-hero h1,body.cvt-secondary .cvt-player-hero h1{text-shadow:0 9px 28px rgba(0,8,32,.34)}

/* The match calendar now uses the same restrained editorial framing as the homepage. */
.cvt-secondary.cvt-schedule-page .cvt-schedule{background:linear-gradient(180deg,#f6f8fd,#f9faff 75%,#f3f6fc)}
.cvt-secondary .cvt-schedule__heading{position:relative;padding-bottom:24px;border-bottom:1px solid #dce6f5;margin-bottom:28px}
.cvt-secondary .cvt-schedule__heading::after{content:"";width:70px;height:3px;background:var(--page-blue);position:absolute;left:0;bottom:-2px}
.cvt-secondary .cvt-schedule__heading h2{font-size:clamp(30px,3.2vw,46px);letter-spacing:-.075em}
.cvt-secondary .cvt-schedule__season{border-bottom-color:#2559ed;color:#627398}
.cvt-secondary .cvt-schedule__tools{margin-bottom:30px;gap:22px}
.cvt-secondary .cvt-schedule__game{position:relative;overflow:hidden;isolation:isolate;border:1px solid #cdd9ee;background:#fff;color:#0c2a62;font-size:12px;min-height:52px;padding-inline:20px;transform:none;box-shadow:none;transition:color .28s,border-color .28s,box-shadow .28s}
.cvt-secondary .cvt-schedule__game::before{content:"";position:absolute;inset:0;z-index:-1;background:#2459ef;transform:scaleX(0);transform-origin:left;transition:transform .4s cubic-bezier(.22,1,.36,1)}
.cvt-secondary .cvt-schedule__game:hover,.cvt-secondary .cvt-schedule__game:focus-visible{color:#fff;border-color:#2459ef;transform:none}
.cvt-secondary .cvt-schedule__game:hover::before,.cvt-secondary .cvt-schedule__game:focus-visible::before{transform:scaleX(1)}
.cvt-secondary .cvt-schedule__game:hover img,.cvt-secondary .cvt-schedule__game:focus-visible img{filter:brightness(0) invert(1)}
.cvt-secondary .cvt-schedule__game.is-selected{background:#2459ef;color:#fff;border-color:#2459ef;box-shadow:0 8px 20px rgba(30,78,220,.16)}
.cvt-secondary .cvt-calendar{border:1px solid #d7e2f3;box-shadow:0 22px 62px rgba(9,28,74,.08);overflow:hidden}
.cvt-secondary .cvt-calendar__toolbar{background:#081c42;color:#fff;border:0;padding:29px 32px}
.cvt-secondary .cvt-calendar__month{color:#fff;letter-spacing:-.065em}
.cvt-secondary .cvt-calendar__eyebrow{color:#b8cbfb}
.cvt-secondary .cvt-calendar__today,.cvt-secondary .cvt-calendar__arrow{border-color:rgba(201,217,255,.35);background:rgba(255,255,255,.08);color:#fff}
.cvt-secondary .cvt-calendar__today:hover,.cvt-secondary .cvt-calendar__arrow:hover{background:#2459ef;border-color:#2459ef}
.cvt-secondary .cvt-calendar__weekdays{background:#edf2fc;border-color:#dde6f5}
.cvt-secondary .cvt-calendar__weekdays span{color:#42567d}
.cvt-secondary .cvt-calendar__day{transition:background .26s,box-shadow .26s}
.cvt-secondary .cvt-calendar__day:hover{background:#eff4ff;box-shadow:inset 0 0 0 1px #afc5fc}
.cvt-secondary .cvt-calendar__day.is-selected{background:#e9f0ff;box-shadow:inset 0 0 0 2px #2459ef}
.cvt-secondary .cvt-calendar__day.has-match::after{content:"";position:absolute;inset:auto 11px 0;height:2px;background:#2459ef;opacity:.7;pointer-events:none}
.cvt-secondary .cvt-calendar__day.is-outside::after{display:none}
.cvt-secondary .cvt-schedule__results{padding-top:12px}
.cvt-secondary .cvt-schedule__results-header{padding-bottom:19px;border-bottom:1px solid #dce6f3}
.cvt-secondary .cvt-schedule__count{display:inline-flex;align-items:center;padding:10px 13px;background:#e9efff;color:#204db5;font-size:12px}
.cvt-secondary .cvt-fixture{position:relative;overflow:hidden;border-color:#d9e3f2;box-shadow:0 5px 18px rgba(9,34,84,.035);transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s,border-color .32s}
.cvt-secondary .cvt-fixture::before{content:"";position:absolute;z-index:2;left:0;top:0;bottom:0;width:3px;background:#2459ef;transform:scaleY(0);transform-origin:bottom;transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.cvt-secondary .cvt-fixture:hover,.cvt-secondary .cvt-fixture:focus-visible{transform:translateY(-3px);border-color:#91adf5;box-shadow:0 17px 39px rgba(9,34,84,.115)}
.cvt-secondary .cvt-fixture:hover::before,.cvt-secondary .cvt-fixture:focus-visible::before{transform:scaleY(1)}
.cvt-secondary .cvt-fixture--live::before{background:#e53b60;transform:scaleY(1)}
.cvt-secondary .cvt-fixture__date{background:#eef2fc;border-color:#dce5f6}
.cvt-secondary .cvt-fixture__date strong{color:#194de0;font-size:30px}
.cvt-secondary .cvt-fixture__team img{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.cvt-secondary .cvt-fixture:hover .cvt-fixture__team img{transform:scale(1.09)}
.cvt-secondary .cvt-fixture__versus{color:#0e285d}
.cvt-secondary .cvt-calendar__grid.cvt-calendar-refresh{animation:cvtPageCalendarIn .35s ease-out}
.cvt-secondary .cvt-fixture:not([hidden]){animation:cvtPageFixtureIn .35s both}

/* Match sheets: clean bands, prominent score and editorial content hierarchy. */
.cvt-secondary.cvt-match-detail-page .cvt-md-content{background:linear-gradient(180deg,#f2f5fb 0,#fff 60%,#f4f6fb 100%)}
.cvt-secondary .cvt-md-result{border:1px solid #d5e1f2;box-shadow:0 18px 53px rgba(7,28,74,.12)}
.cvt-secondary .cvt-md-result__top{background:#071b40;padding-top:33px;padding-bottom:31px}
.cvt-secondary .cvt-md-result h2,.cvt-secondary .cvt-md-lower h2{letter-spacing:-.075em}
.cvt-secondary .cvt-md-score{background:#fff}
.cvt-secondary .cvt-md-score__numbers strong{color:#123e9c}
.cvt-secondary .cvt-md-score__team img{transition:transform .35s cubic-bezier(.22,1,.36,1)}
.cvt-secondary .cvt-md-score__team:hover img{transform:scale(1.055)}
.cvt-secondary .cvt-md-facts{background:#f4f7fc;border-top:1px solid #dde6f4}
.cvt-secondary .cvt-md-facts__item{border-color:#dfe7f3}
.cvt-secondary .cvt-md-facts dd{font-size:clamp(14px,1.2vw,17px);line-height:1.5}
.cvt-secondary .cvt-md-lower{gap:18px;margin-top:20px}
.cvt-secondary .cvt-md-about{background:#fff;border-color:#dae3f1;box-shadow:0 8px 25px rgba(10,32,76,.05)}
.cvt-secondary .cvt-md-about::before{width:3px}
.cvt-secondary .cvt-md-about p{color:#455776;font-size:clamp(15px,1.2vw,17px);line-height:1.85}
.cvt-secondary .cvt-md-broadcast{background:#0a214b;border-color:#294c83}
.cvt-secondary .cvt-md-broadcast::after{border-color:rgba(148,180,247,.10)}
.cvt-secondary .cvt-md-broadcast__empty{background:rgba(255,255,255,.055);border-color:#6f99ff}
.cvt-secondary .cvt-md-back{min-height:52px}

/* Team and player pages share the same photo-first treatment used on the homepage. */
.cvt-secondary .cvt-roster{background:#07142e}
.cvt-secondary .cvt-roster__heading-row{padding-bottom:23px;border-bottom:1px solid rgba(173,194,245,.22)}
.cvt-secondary .cvt-roster__heading h2{position:relative;letter-spacing:-.075em}
.cvt-secondary .cvt-roster__heading h2::after{content:"";display:block;background:#376dff;width:64px;height:3px;margin-top:17px}
.cvt-secondary .cvt-roster__filters{gap:8px}
.cvt-secondary .cvt-roster__filter{min-height:52px}
.cvt-secondary .cvt-roster-card{box-shadow:0 14px 40px rgba(1,9,29,.08)}
.cvt-secondary .cvt-roster-card:hover,.cvt-secondary .cvt-roster-card:focus-visible{box-shadow:0 23px 48px rgba(1,9,29,.35)}
.cvt-secondary .cvt-roster-card__image{transition:transform .65s cubic-bezier(.22,1,.36,1),filter .4s}
.cvt-secondary .cvt-player-bio{background:#f7f9fd}
.cvt-secondary .cvt-player-bio__copy p{line-height:1.85;color:#344865}
.cvt-secondary .cvt-player-bio__title{gap:16px}
.cvt-secondary .cvt-player-bio__rule{width:62px;height:3px}
.cvt-secondary .cvt-player-related{background:#07142e}
.cvt-secondary .cvt-player-related__heading{padding-bottom:26px;border-bottom:1px solid rgba(178,198,245,.25)}
.cvt-secondary .cvt-player-related__all{position:relative;isolation:isolate;overflow:hidden;transform:none;transition:color .28s,border-color .28s}
.cvt-secondary .cvt-player-related__all::before{content:"";position:absolute;z-index:-1;inset:0;background:#2459ef;transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.cvt-secondary .cvt-player-related__all:hover,.cvt-secondary .cvt-player-related__all:focus-visible{color:#fff;transform:none}
.cvt-secondary .cvt-player-related__all:hover::before,.cvt-secondary .cvt-player-related__all:focus-visible::before{transform:scaleX(1)}
.cvt-secondary .cvt-player-portrait{border-color:rgba(123,164,255,.5)}
.cvt-secondary .cvt-player-portrait__person{transition:transform .75s cubic-bezier(.22,1,.36,1)}
.cvt-secondary .cvt-player-portrait:hover .cvt-player-portrait__person{transform:translateX(-50%) scale(1.035)}
.cvt-secondary .cvt-player-hero__nickname{color:#97b7ff}
.cvt-secondary .cvt-player-game-tag{position:relative;overflow:hidden}

/* The directory uses the homepage components unchanged, with extra polish only here. */
.cvt-secondary.cvt-teams-directory .cvt-teams{background:#07142e}
.cvt-secondary.cvt-teams-directory .cvt-teams__header{padding-bottom:20px;border-bottom:1px solid rgba(160,186,246,.20)}
.cvt-secondary.cvt-teams-directory .cvt-team{box-shadow:0 12px 33px rgba(0,0,0,.15)}
.cvt-secondary.cvt-teams-directory .cvt-team:hover{box-shadow:0 24px 48px rgba(0,0,0,.28)}
.cvt-secondary.cvt-teams-directory .cvt-matches{background:#f4f7fc}

/* Scroll entrances are enabled only after JS has found an observer. */
@media(prefers-reduced-motion:no-preference){
  .cvt-secondary.cvt-page-motion .cvt-page-reveal{opacity:0;transform:translateY(22px);transition:opacity .66s cubic-bezier(.22,1,.36,1),transform .66s cubic-bezier(.22,1,.36,1);transition-delay:var(--cvt-reveal-delay,0ms)}
  .cvt-secondary.cvt-page-motion .cvt-page-reveal.is-visible{opacity:1;transform:translateY(0)}
  .cvt-secondary.cvt-page-motion .cvt-page-reveal.cvt-page-from-left{transform:translateX(-22px)}
  .cvt-secondary.cvt-page-motion .cvt-page-reveal.cvt-page-from-left.is-visible{transform:translateX(0)}
  .cvt-secondary.cvt-page-motion .cvt-page-reveal.cvt-page-from-right{transform:translateX(22px)}
  .cvt-secondary.cvt-page-motion .cvt-page-reveal.cvt-page-from-right.is-visible{transform:translateX(0)}
  .cvt-secondary .cvt-detail-hero__inner{animation:cvtPageHeroIn .7s .12s both}
  .cvt-secondary .cvt-player-hero__content{animation:cvtPageHeroIn .75s .22s both}
}
@keyframes cvtPageHeroIn{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
@keyframes cvtPageFixtureIn{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes cvtPageCalendarIn{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:780px){
 .cvt-secondary .cvt-schedule__heading{padding-bottom:18px}
 .cvt-secondary .cvt-calendar__toolbar{padding:22px}
 .cvt-secondary .cvt-calendar__day.has-match::after{inset-inline:5px}
 .cvt-secondary .cvt-md-result__top{padding:24px 22px}
 .cvt-secondary .cvt-player-related__heading{padding-bottom:18px}
}
@media(max-width:550px){
 .cvt-secondary .cvt-schedule__heading h2{font-size:clamp(25px,7vw,36px)}
 .cvt-secondary .cvt-schedule__game{min-height:44px;padding:10px 11px;font-size:10px}
 .cvt-secondary .cvt-calendar__toolbar{padding:19px 15px}
 .cvt-secondary .cvt-calendar__day.has-match::after{height:2px;inset-inline:4px}
 .cvt-secondary .cvt-calendar__month{font-size:clamp(18px,5.4vw,24px)}
 .cvt-secondary .cvt-md-facts dd{font-size:12px}
 .cvt-secondary .cvt-fixture:hover{transform:none}
 .cvt-secondary .cvt-roster__heading-row{gap:17px}
 .cvt-secondary.cvt-teams-directory .cvt-teams__header{padding-bottom:17px}
}
@media(prefers-reduced-motion:reduce){
 .cvt-secondary .cvt-detail-hero__cover,.cvt-secondary .cvt-detail-crumb a::after,.cvt-secondary .cvt-fixture,.cvt-secondary .cvt-fixture::before,.cvt-secondary .cvt-calendar__day,.cvt-secondary .cvt-schedule__game,.cvt-secondary .cvt-schedule__game::before,.cvt-secondary .cvt-md-score__team img,.cvt-secondary .cvt-roster-card__image,.cvt-secondary .cvt-player-portrait__person{transition:none!important;animation:none!important}
 .cvt-secondary .cvt-fixture:not([hidden]),.cvt-secondary .cvt-calendar__grid.cvt-calendar-refresh{animation:none!important}
}
@media(max-width:550px){
 .cvt-secondary .cvt-fixture{grid-template-columns:70px minmax(0,1fr)}
 .cvt-secondary .cvt-fixture__date{padding-inline:3px}
 .cvt-secondary .cvt-fixture__date span{white-space:nowrap;overflow:visible;overflow-wrap:normal;font-size:8px;letter-spacing:-.025em}
}
@media(max-width:350px){
 .cvt-secondary .cvt-fixture{grid-template-columns:65px minmax(0,1fr)}
 .cvt-secondary .cvt-fixture__date span{font-size:7.7px}
}
