@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--navy:#101e35;--navy2:#182d4d;--blue:#2364b5;--red:#e94b42;--ink:#17243a;--muted:#778397;--line:#e5eaf0;--bg:#f4f6f9;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}.site-header{height:72px;background:#101d32;color:#fff;display:flex;align-items:center;padding:0 max(calc((100% - 1180px)/2),24px);gap:48px;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:1.3px;font-size:17px;white-space:nowrap}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:var(--red);clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);font-family:'Barlow Condensed';font-size:24px}.brand-light{font-weight:400;color:#aab7c9}.main-nav{display:flex;gap:30px;height:100%;align-items:center}.main-nav a{font-size:13px;color:#c1ccda;height:100%;display:flex;align-items:center;border-bottom:3px solid transparent;padding-top:3px}.main-nav a:hover,.main-nav a.active{color:#fff;border-color:var(--red)}.admin-link{margin-left:auto;color:#fff;font-size:12px;font-weight:700;letter-spacing:1px}.admin-link span{color:#ff7168}.hero{background:linear-gradient(110deg,#101e35 0%,#19365c 100%);color:white;min-height:390px;padding:65px max(calc((100% - 1120px)/2),32px);display:flex;justify-content:space-between;align-items:center;overflow:hidden}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#ff756c;margin-bottom:13px}.eyebrow.dark{color:#4773a7}h1,h2,p{margin-top:0}.hero h1{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;font-size:66px;line-height:.92;letter-spacing:.4px;margin:0 0 17px}.hero h1 span{color:#ff6b61}.hero p{color:#bdc9d8;font-size:14px;margin-bottom:25px}.primary-btn{display:inline-flex;gap:22px;align-items:center;background:var(--red);color:#fff;border:0;border-radius:3px;padding:13px 18px;font-size:12px;font-weight:800;cursor:pointer}.primary-btn:hover{background:#d83e36}.hero-art{width:340px;height:270px;position:relative;display:grid;place-items:center;margin-right:40px}.hero-orbit{position:absolute;border:1px solid #ffffff26;border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:330px;height:210px}.orbit-two{width:250px;height:290px;transform:rotate(55deg)}.hero-ball{font-size:115px;filter:drop-shadow(0 18px 18px #0006);z-index:1}.hero-tag{position:absolute;background:#fff;color:#14243d;font-size:10px;font-weight:800;letter-spacing:1.5px;padding:9px 13px;box-shadow:0 8px 20px #0003}.tag-top{top:20px;right:0;transform:rotate(5deg)}.tag-bottom{bottom:20px;left:0;transform:rotate(-5deg)}.content-section{max-width:1120px;margin:0 auto;padding:43px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-heading h2,.admin-main h1{font-family:'Barlow Condensed';font-size:34px;text-transform:uppercase;margin:0;letter-spacing:.4px}.sport-grid{display:flex;gap:10px;flex-wrap:wrap}.sport-chip{border:1px solid var(--line);background:white;border-radius:3px;padding:12px 17px;font-weight:700;font-size:12px;color:#526176;cursor:pointer}.sport-chip.selected,.sport-chip:hover{background:var(--navy);border-color:var(--navy);color:white}.search-box{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:9px 12px;border-radius:3px;color:#8390a1}.search-box input{border:0;outline:0;font:inherit;font-size:12px;width:190px}.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.match-card{display:block;background:white;border:1px solid var(--line);border-radius:4px;padding:17px 18px;transition:.18s;box-shadow:0 2px 5px #152b4510}.match-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px #152b4518;border-color:#c8d4e3}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;color:#8190a3;font-size:10px;font-weight:700;letter-spacing:.3px}.status{background:#edf2f7;color:#52657c;padding:5px 8px;border-radius:2px;text-transform:uppercase;font-size:9px;font-weight:800}.status.live{background:#fff0ed;color:#d63c32}.card-team-row{display:flex;align-items:center;gap:12px;margin:17px 0}.team-logo{width:42px;height:42px;flex:0 0 42px;background:#19365c;color:#fff;display:grid;place-items:center;font-family:'Barlow Condensed';font-size:20px;font-weight:700;clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%)}.card-team-row:nth-of-type(3) .team-logo{background:#8e3344}.image-logo{clip-path:none;border-radius:50%;background:#fff;border:1px solid var(--line);overflow:hidden}.image-logo img{width:100%;height:100%;object-fit:contain}.team-info{display:flex;flex-direction:column;gap:4px;min-width:0}.team-info b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-info small{font-size:10px;color:#8995a5}.score{margin-left:auto;font-size:20px;font-family:'Barlow Condensed'}.card-bottom{border-top:1px solid #edf0f4;padding-top:12px;margin-top:8px;font-weight:600;letter-spacing:0}.card-bottom span:last-child{color:#326bb0}.cta-band{max-width:1120px;margin:20px auto 55px;background:#172b49;color:white;padding:30px 38px;display:flex;align-items:center;justify-content:space-between}.cta-band h2{font-family:'Barlow Condensed';font-size:34px;line-height:1.02;text-transform:uppercase;margin:0}.outline-btn{border:1px solid #8091a8;color:#fff;padding:13px 17px;font-size:12px;font-weight:700}.outline-btn:hover{background:#fff;color:#172b49}footer{background:#101d32;color:#91a0b4;display:flex;justify-content:space-between;padding:23px max(calc((100% - 1120px)/2),24px);font-size:10px;align-items:center}.brand.small{font-size:11px;color:#fff}.brand.small .brand-mark{width:25px;height:25px;font-size:17px}.loading,.empty{padding:35px;background:#fff;color:#758398;text-align:center;border:1px solid var(--line);grid-column:1/-1}.detail-main{max-width:1040px;margin:30px auto 65px;min-height:500px}.back-link{display:inline-block;color:#52749b;font-size:12px;font-weight:700;margin:0 0 18px}.match-hero-card{background:#fff;border:1px solid var(--line);padding:22px 35px 25px;box-shadow:0 3px 12px #172b4910}.match-meta{display:flex;justify-content:space-between;color:#8090a2;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px}.matchup{display:grid;grid-template-columns:1fr 140px 1fr;align-items:center;text-align:center;padding:28px 0 20px}.match-team{display:flex;flex-direction:column;align-items:center}.big-logo{width:108px;height:108px;display:grid;place-items:center;background:#18365d;color:white;font-family:'Barlow Condensed';font-size:48px;font-weight:800;clip-path:polygon(12% 0,88% 0,100% 50%,88% 100%,12% 100%,0 50%);margin-bottom:12px}.match-team:last-child .big-logo{background:#873246}.big-logo.image-logo{clip-path:none;border-radius:50%;background:#fff;border:1px solid var(--line);overflow:hidden}.big-logo img{width:100%;height:100%;object-fit:contain}.match-team h2{font-family:'Barlow Condensed';font-size:25px;text-transform:uppercase;margin:0 0 4px}.match-team span{font-size:12px;color:#758397}.match-team small{font-size:9px;letter-spacing:2px;font-weight:800;color:#a3adba;margin-top:9px}.versus{display:flex;flex-direction:column;align-items:center;gap:9px}.versus span{font-family:'Barlow Condensed';font-size:31px;font-weight:800;color:#e54b43}.versus small{font-size:9px;color:#9aa5b2;letter-spacing:1.5px;font-weight:800}.versus strong{font-family:'Barlow Condensed';font-size:26px}.match-date{text-align:center;border-top:1px solid #edf0f4;padding-top:17px;font-size:12px;color:#65758b;font-weight:700}.match-date b{color:#e64c43;padding:0 8px}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:17px}.panel{background:white;border:1px solid var(--line);padding:20px}.panel-heading{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#48698f;padding-bottom:13px;border-bottom:1px solid #edf0f4;margin-bottom:4px}.info-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #f0f2f5;font-size:11px}.info-row span{color:#8793a2}.info-row b{text-align:right}.stat-head,.stat-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:12px 0;border-bottom:1px solid #f0f2f5;font-size:10px}.stat-head{font-size:9px;color:#8290a1;font-weight:800}.stat-head b,.stat-row b{text-align:center}.stat-row span{color:#8793a2}.muted-note{font-size:10px;color:#9aa4b0;line-height:1.5;margin:14px 0 0}.description-panel{margin-top:16px}.description-panel p{font-size:12px;color:#65758b;margin:14px 0 0;line-height:1.6}.team-profile{background:white;border:1px solid var(--line);padding:30px;display:flex;align-items:center;gap:25px;margin-bottom:35px}.profile-logo{width:115px;height:115px;background:#19365c;color:white;display:grid;place-items:center;font:800 48px 'Barlow Condensed';clip-path:polygon(12% 0,88% 0,100% 50%,88% 100%,12% 100%,0 50%)}.profile-logo.image-logo{clip-path:none;border-radius:50%;background:#fff;border:1px solid var(--line);overflow:hidden}.profile-logo img{width:100%;height:100%;object-fit:contain}.team-profile h1{font:800 38px 'Barlow Condensed';text-transform:uppercase;margin:0}.team-profile p{font-size:12px;color:#8190a2;margin:5px 0 8px}.record{font-size:12px;color:#2b68a8}.admin-main{max-width:1000px;margin:42px auto 70px;min-height:600px}.admin-main h1{font-size:45px;margin-bottom:8px}.admin-intro{color:#758397;font-size:12px;line-height:1.6;max-width:700px;margin-bottom:25px}.admin-form{background:white;border:1px solid var(--line);padding:24px}.form-title,.admin-list-head{display:flex;align-items:center;justify-content:space-between}.form-title h2,.admin-list-head h2{font:700 25px 'Barlow Condensed';text-transform:uppercase;margin:0 0 18px}.text-btn{background:none;border:0;color:#4674a7;font-size:11px;font-weight:700;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label,.full-label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:800;color:#65758a}.form-grid input,.form-grid select,.full-label textarea{border:1px solid #dfe5ec;border-radius:3px;padding:11px;font:12px 'DM Sans';outline-color:#5c8cc0;background:white;color:#26364c}.full-label{margin-top:14px}.full-label textarea{resize:vertical}.submit-btn{margin-top:17px}.admin-list-head{margin-top:34px}.admin-list-head h2{margin:0}.admin-actions{display:flex;gap:9px;align-items:center}.admin-actions .primary-btn{padding:10px 13px}.import-btn{font-size:11px;font-weight:700;color:#4774a5;border:1px solid #cbd6e2;padding:10px 13px;cursor:pointer}.admin-list{margin-top:15px;background:#fff;border:1px solid var(--line)}.admin-item{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border-bottom:1px solid #edf0f4;gap:15px}.admin-item:last-child{border-bottom:0}.admin-item>div:first-child{display:flex;flex-direction:column;gap:5px}.admin-item b{font-size:12px}.admin-item small{font-size:10px;color:#8793a2}.item-actions{display:flex;gap:8px}.item-actions button{border:1px solid #dce3eb;background:white;padding:7px 10px;font-size:10px;font-weight:700;cursor:pointer;color:#456d9a}.item-actions .delete-btn{color:#c74c45}.admin-note{font-size:10px;color:#8995a5;line-height:1.6;margin-top:15px}code{background:#e9eef4;padding:2px 4px}
@media(max-width:1150px){.content-section,.cta-band,.detail-main,.admin-main{margin-left:24px;margin-right:24px}.hero{padding-left:35px;padding-right:35px}}
@media(max-width:700px){.site-header{height:62px;padding:0 16px;gap:18px}.brand{font-size:14px}.main-nav{gap:12px}.main-nav a{font-size:10px}.admin-link{font-size:10px}.hero{min-height:350px;padding:48px 24px}.hero h1{font-size:54px}.hero-art{position:absolute;right:-90px;opacity:.35;width:260px}.hero-copy{z-index:1}.content-section{padding:30px 0;margin:0 16px}.section-heading{align-items:start;gap:12px;flex-direction:column}.search-box{width:100%}.search-box input{width:100%}.match-grid{grid-template-columns:1fr}.cta-band{margin:10px 16px 35px;padding:24px;gap:20px;align-items:start;flex-direction:column}.cta-band h2{font-size:30px}footer{padding:20px 16px;gap:15px;flex-direction:column;align-items:flex-start}.detail-main,.admin-main{margin:22px 14px 45px}.match-hero-card{padding:17px 12px}.matchup{grid-template-columns:1fr 60px 1fr;padding:25px 0 18px}.big-logo{width:72px;height:72px;font-size:32px}.match-team h2{font-size:17px}.versus span{font-size:24px}.versus strong{font-size:19px}.match-team span{font-size:10px}.detail-columns{grid-template-columns:1fr}.team-profile{padding:20px;gap:16px}.profile-logo{width:78px;height:78px;font-size:32px;flex:0 0 78px}.team-profile h1{font-size:27px}.admin-main h1{font-size:38px}.admin-form{padding:16px}.form-grid{grid-template-columns:1fr}.admin-list-head{align-items:flex-start;flex-direction:column;gap:12px}.admin-actions{flex-wrap:wrap}.admin-item{align-items:flex-start}.item-actions{flex-direction:column}.sport-grid{gap:7px}.sport-chip{padding:10px 12px}}
/* VarsityHub schedule upgrade — keeps the original navy/blue/red visual identity. */
.hero-photo{position:relative;background:linear-gradient(90deg,rgba(10,22,42,.96) 0%,rgba(13,30,54,.78) 48%,rgba(13,30,54,.34) 100%),url('assets/varsityhub-hero-stadium.jpg') center 52%/cover no-repeat;min-height:420px}
.hero-photo:after{content:"";position:absolute;inset:auto 0 0;height:70px;background:linear-gradient(transparent,rgba(10,20,36,.22));pointer-events:none}
.hero-photo .hero-copy{max-width:620px}.hero-photo .hero-art{opacity:.82}.hero-photo .hero-ball{font-size:100px}
.schedule-section{padding-top:10px}.schedule-filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.date-filter{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:8px 10px;font-size:11px;font-weight:700;color:#8190a3}.date-filter input{border:0;background:transparent;font:inherit;color:#526176;outline:0}.clear-filter,.secondary-btn{border:1px solid #cbd6e2;background:#fff;color:#476f9e;padding:10px 13px;font-size:11px;font-weight:800;cursor:pointer}.clear-filter:hover,.secondary-btn:hover{background:#edf2f7}
.schedule-group{margin:25px 0 34px}.schedule-title{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #e3e8ef;padding:0 0 11px;margin-bottom:15px}.schedule-title h2{font:800 20px 'Barlow Condensed';letter-spacing:1.1px;color:#172b49;margin:0;display:flex;align-items:center;gap:10px}.section-count{font-size:10px;color:#8592a2;font-weight:700}.live-dot{display:inline-block;width:9px;height:9px;background:#e3433a;border-radius:50%;box-shadow:0 0 0 0 #e3433a80;animation:livePulse 1.25s infinite}.status.live{background:#fff0ed;color:#cf342c;display:inline-flex;align-items:center;gap:6px}.status.live:before{content:"";width:6px;height:6px;border-radius:50%;background:#e3433a;animation:liveBlink 1s steps(2,start) infinite}.status.replay{background:#eaf0f8;color:#355e91}.status.upcoming{background:#edf2f7;color:#52657c}
@keyframes liveBlink{to{visibility:hidden}}@keyframes livePulse{70%{box-shadow:0 0 0 7px #e3433a00}}
.match-card{padding:15px 16px 13px;min-width:0}.card-match-link{display:block}.card-match-link:hover .card-bottom span:last-child{color:var(--red)}.card-team-row{margin:13px 0}.card-descriptions{display:flex;flex-direction:column;gap:4px;border-top:1px solid #f0f2f5;padding-top:10px;margin-top:5px;color:#63738a;font-size:10px;line-height:1.45}.card-descriptions span:first-child{font-weight:700;color:#425875}.card-venue{font-size:10px;color:#8a96a5;margin-top:8px;line-height:1.4}.card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #edf0f4}.watch-btn,.register-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;background:var(--red);color:#fff;font-size:9px;font-weight:800;letter-spacing:.7px;border-radius:2px}.watch-btn:hover{background:#d83e36}.watch-btn.disabled{background:#e9edf2;color:#9aa5b3;cursor:not-allowed}.register-btn{background:#172b49}.register-btn:hover{background:#274c7b}.detail-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.large-watch,.large-register{padding:13px 19px;font-size:11px}.description-panel p+p{padding-top:12px;border-top:1px solid #edf0f4}.schedule-disclaimer{font-size:10px;color:#98a3b1;line-height:1.55;margin:14px 0 0}.detail-main .schedule-disclaimer{text-align:center;margin-top:20px}
.admin-main{max-width:1040px}.admin-panel{background:#fff;border:1px solid var(--line);padding:22px 24px;margin:20px 0}.admin-panel .form-title h2{font:700 25px 'Barlow Condensed';text-transform:uppercase;margin:0}.helper-copy{font-size:11px;color:#7c8999;line-height:1.6;margin:10px 0 16px}.file-drop{display:flex;align-items:center;gap:14px;padding:18px;border:1px dashed #aab9cb;background:#f8fafc;cursor:pointer}.file-drop:hover{border-color:#4778b4;background:#f2f6fb}.file-drop-icon{width:38px;height:38px;display:grid;place-items:center;background:#e8eef6;color:#2e6198;font-size:24px}.file-drop span:nth-child(2){display:flex;flex-direction:column;gap:4px}.file-drop b{font-size:12px;color:#32465f}.file-drop small{font-size:10px;color:#8a97a7}.file-drop input{margin-left:auto;max-width:230px;font-size:10px}.or-divider{display:flex;align-items:center;gap:12px;color:#9aa5b2;font-size:9px;font-weight:800;letter-spacing:1px;margin:15px 0}.or-divider:before,.or-divider:after{content:"";height:1px;background:#e8edf2;flex:1}.full-label input{border:1px solid #dfe5ec;border-radius:3px;padding:11px;font:12px 'DM Sans';outline-color:#5c8cc0;background:#fff;color:#26364c}.settings-panel .form-grid{margin-top:15px}.global-note{font-size:9px;color:#6f83a0;letter-spacing:1px;font-weight:800}.inline-status{font-size:10px;color:#3d7b57;margin-left:10px}.import-status{font-size:11px;color:#61738a;line-height:1.55;margin-top:13px;overflow-wrap:anywhere}.import-status details{margin-top:10px}.import-status ul{padding-left:18px;max-height:180px;overflow:auto}.import-status li{margin:5px 0}.import-status a{color:#356da9;text-decoration:underline}.progress-track{height:6px;background:#e9eef4;margin-top:8px;overflow:hidden}.progress-track span{display:block;height:100%;background:#e94b42;transition:width .2s}.result-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.result-summary b{color:#2e7850}.result-summary span{font-size:10px;color:#8794a3}.text-link{font-size:10px;font-weight:800;color:#4774a7}.csv-actions{flex-wrap:wrap;margin-top:14px}.csv-actions .primary-btn{padding:10px 13px}.admin-list-head{margin-top:30px}.admin-note{line-height:1.7}
@media(max-width:1150px){.admin-panel{margin-left:0;margin-right:0}}
@media(max-width:700px){.hero-photo{min-height:370px;background-position:58% center}.hero-photo .hero-art{right:-105px;opacity:.24}.filters-heading{align-items:stretch}.schedule-filters{width:100%}.schedule-filters .search-box{flex:1;min-width:170px}.date-filter{flex:1;justify-content:space-between}.date-filter input{min-width:0;width:115px}.schedule-title h2{font-size:18px}.admin-panel{padding:16px}.file-drop{align-items:flex-start;flex-wrap:wrap}.file-drop input{margin-left:0;width:100%;max-width:none}.inline-status{display:block;margin:10px 0 0}.detail-actions{gap:7px}}
.home-match-detail:empty{display:none}.home-match-detail:not(:empty){margin-top:28px;margin-bottom:34px}.home-match-detail .back-link{margin-bottom:12px}
.status.live{display:inline-flex;align-items:center;gap:6px}.status.live:before{content:"";width:7px;height:7px;border-radius:50%;background:#e33d35;display:inline-block;box-shadow:0 0 0 0 rgba(227,61,53,.55);animation:livePulse 1.15s infinite}@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(227,61,53,.55)}70%{box-shadow:0 0 0 6px rgba(227,61,53,0)}100%{box-shadow:0 0 0 0 rgba(227,61,53,0)}}
/* Theme control and high-contrast dark mode */
.theme-toggle{margin-left:auto;border:1px solid #63738b;background:#1b2d49;color:#fff;border-radius:4px;padding:9px 13px;font:700 11px 'DM Sans',Arial,sans-serif;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{background:#29466d}
html[data-theme="dark"]{color-scheme:dark;--bg:#090f1b;--ink:#f2f5fa;--line:#29364a;--white:#111c2d}
html[data-theme="dark"] body{background:#090f1b;color:#f2f5fa}
html[data-theme="dark"] .content-section{color:#f2f5fa}
html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .team-profile h1{color:#f5f7fb}
html[data-theme="dark"] .eyebrow.dark{color:#8fb8e8}
html[data-theme="dark"] .match-card,html[data-theme="dark"] .match-hero-card,html[data-theme="dark"] .panel,html[data-theme="dark"] .team-profile,html[data-theme="dark"] .loading,html[data-theme="dark"] .empty{background:#111c2d;color:#edf2fa;border-color:#2a3a51}
html[data-theme="dark"] .match-card{box-shadow:0 3px 12px #0005}
html[data-theme="dark"] .match-card:hover{border-color:#526d91;box-shadow:0 9px 24px #0008}
html[data-theme="dark"] .sport-chip,html[data-theme="dark"] .search-box,html[data-theme="dark"] .date-filter,html[data-theme="dark"] .clear-filter{background:#142238;color:#eaf0f8;border-color:#344760}
html[data-theme="dark"] .sport-chip.selected,html[data-theme="dark"] .sport-chip:hover{background:#315783;border-color:#4777ad;color:#fff}
html[data-theme="dark"] .search-box input,html[data-theme="dark"] input{background:transparent;color:#fff}
html[data-theme="dark"] input::placeholder{color:#a7b4c6}
html[data-theme="dark"] .team-info b,html[data-theme="dark"] .match-team h2,html[data-theme="dark"] .card-top,html[data-theme="dark"] .match-meta,html[data-theme="dark"] .match-date,html[data-theme="dark"] .info-row b{color:#f0f4fa}
html[data-theme="dark"] .team-info small,html[data-theme="dark"] .match-team span,html[data-theme="dark"] .match-team small,html[data-theme="dark"] .info-row span,html[data-theme="dark"] .description-panel p,html[data-theme="dark"] .card-descriptions,html[data-theme="dark"] .card-venue,html[data-theme="dark"] .schedule-disclaimer{color:#b2bfd0}
html[data-theme="dark"] .card-bottom,html[data-theme="dark"] .match-date,html[data-theme="dark"] .description-panel p+p,html[data-theme="dark"] .card-descriptions,html[data-theme="dark"] .card-actions,html[data-theme="dark"] .info-row,html[data-theme="dark"] .stat-head,html[data-theme="dark"] .stat-row{border-color:#2b3a50}
html[data-theme="dark"] .status{background:#24364d;color:#e1eaf5}
html[data-theme="dark"] .status.live{background:#512a2c;color:#ffaaa4}
html[data-theme="dark"] .watch-btn.disabled{background:#34445a;color:#c0cad8}
html[data-theme="dark"] .back-link,html[data-theme="dark"] .card-bottom span:last-child{color:#9bc5f5}
html[data-theme="dark"] footer{background:#060b14;color:#aebbd0}
html[data-theme="dark"] .big-logo,html[data-theme="dark"] .profile-logo{color:#fff}
@media(max-width:700px){.theme-toggle{padding:8px 9px;font-size:10px}.site-header{gap:12px}.main-nav{gap:9px}}
/* VARSITYHUB FLEXIBLE LOGO FIX */
.team-logo.image-logo,.big-logo.image-logo,.profile-logo.image-logo{display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;box-sizing:border-box;}
.image-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;}
/* =========================================================
   VARSITYHUB V5 — visual refresh and responsive schedule rails
   ========================================================= */
:root{--red:#f05249;--navy:#09172a;--navy2:#132944;--blue:#4c91d8;--line:#263b56;--bg:#081321;--ink:#edf3fb;--muted:#9aaec5}
html[data-theme="dark"]{--bg:#081321;--ink:#edf3fb;--line:#263b56;--white:#111f33}
body{background:radial-gradient(ellipse at 50% -18%,#1a3557 0,transparent 42%),var(--bg);color:var(--ink);min-height:100vh}
.site-header{height:76px;position:sticky;top:0;background:rgba(7,18,33,.92);backdrop-filter:blur(16px);border-bottom:1px solid #ffffff12;padding-left:max(calc((100% - 1180px)/2),24px);padding-right:max(calc((100% - 1180px)/2),24px);gap:44px}
.brand{font-size:18px;letter-spacing:1.6px}.brand-mark{width:38px;height:38px;border-radius:8px;clip-path:none;font-size:25px;box-shadow:0 7px 18px #e94b4240}
.main-nav a{font-size:12px;letter-spacing:.4px}.theme-toggle{border-radius:999px;padding:10px 15px;background:#162b45;border-color:#39516e}
.hero-photo{min-height:480px;padding-top:68px;padding-bottom:78px;background-image:linear-gradient(90deg,rgba(5,15,29,.97) 0%,rgba(7,20,38,.84) 48%,rgba(8,22,40,.42) 100%),url('assets/varsityhub-hero-stadium.jpg');background-position:center 53%;border-bottom:1px solid #ffffff10}
.hero-photo:after{height:120px;background:linear-gradient(transparent,rgba(5,14,26,.55))}
.hero-photo .hero-copy{max-width:690px}.hero .eyebrow{display:flex;align-items:center;gap:9px;color:#ff8a80;font-size:10px;letter-spacing:2.1px}.eyebrow-mark{width:7px;height:7px;background:#f05249;border-radius:50%;box-shadow:0 0 0 5px #f0524924}
.hero h1{font-size:clamp(54px,7vw,82px);letter-spacing:.8px;line-height:.88;text-shadow:0 6px 28px #0007}.hero h1 span{color:#ff766e}.hero p{font-size:15px;color:#d1dbea;line-height:1.7;max-width:490px;margin:20px 0 25px}
.hero-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.primary-btn{border-radius:6px;padding:14px 19px;box-shadow:0 8px 24px #e94b4233}.hero-text-link{font-size:12px;font-weight:700;color:#d8e4f2}.hero-text-link:hover{color:#fff}
.hero-stats{display:flex;gap:0;margin-top:38px;border-top:1px solid #ffffff25;padding-top:19px;max-width:530px}.hero-stats>div{display:flex;flex-direction:column;gap:4px;min-width:130px;padding:0 24px;border-right:1px solid #ffffff25}.hero-stats>div:first-child{padding-left:0}.hero-stats>div:last-child{border:0}.hero-stats strong{font:800 28px 'Barlow Condensed';color:#fff}.hero-stats span{font-size:9px;font-weight:800;letter-spacing:1.2px;color:#9fb1c8}.stat-live-dot{display:inline-block;width:6px;height:6px;background:#f05249;border-radius:50%;margin:0 5px 1px 0;box-shadow:0 0 0 4px #f0524928}
.hero-art{margin-right:15px}.hero-ball{filter:drop-shadow(0 18px 24px #0008)}.hero-tag{border-radius:4px;letter-spacing:1.4px}.hero-bottom-line{position:absolute;bottom:17px;left:max(calc((100% - 1120px)/2),32px);right:max(calc((100% - 1120px)/2),32px);display:flex;justify-content:space-between;color:#ffffff83;font-size:8px;font-weight:800;letter-spacing:1.6px;z-index:1}
.content-section{max-width:1120px;padding:55px 0}.section-heading{align-items:end}.section-heading h2{font-size:38px;letter-spacing:.3px}.section-subtitle{font-size:12px;color:#91a4bc;margin:7px 0 0}.section-kicker{border:1px solid #30445e;border-radius:999px;padding:8px 12px;font-size:9px;font-weight:800;letter-spacing:1.4px;color:#9db5d0}
.sport-grid{gap:9px}.sport-chip{background:#11243b;border:1px solid #2b405b;color:#b9c9dc;border-radius:999px;padding:9px 13px;font-size:10px;transition:.2s}.sport-chip.selected,.sport-chip:hover{background:#244d78;border-color:#4a81b5;box-shadow:0 5px 15px #0003}
.schedule-section{padding-top:28px}.filters-heading{align-items:end;gap:24px}.schedule-filters{gap:8px}.search-box,.date-filter{border-radius:7px;background:#101f33;border-color:#2a405b;padding:11px 13px;color:#8da3bd}.search-box input{width:210px;color:#f3f7fc;background:transparent}.search-box input::placeholder{color:#8195ad}.date-filter{color:#9fb1c8}.date-filter input{color:#dce7f5}.clear-filter{border-radius:7px;background:#1b304b;color:#d7e3f1;border-color:#38516d;padding:11px 14px}.clear-filter:hover{background:#294b70}
.schedule-group{margin:31px 0 42px}.schedule-title{border-bottom:1px solid #293d56;padding-bottom:13px;margin-bottom:17px}.schedule-title h2{font-size:23px;letter-spacing:1.4px;color:#f1f5fb}.schedule-title>div{display:flex;flex-direction:column;gap:3px}.section-overline{font-size:8px;font-weight:800;letter-spacing:1.8px;color:#7f9bb9}.schedule-heading-meta{display:flex;align-items:center;gap:10px}.scroll-hint{font-size:8px;font-weight:800;letter-spacing:1px;color:#718eae}.section-count{color:#91a5bd;background:#13253b;border:1px solid #2b405a;padding:6px 10px;border-radius:999px;font-size:9px}
.match-grid{gap:15px}.match-card{background:linear-gradient(145deg,#14263d,#0f1d30);border:1px solid #2b405b;border-radius:10px;padding:17px;box-shadow:0 8px 22px #0002;transition:transform .2s,border-color .2s,box-shadow .2s}.match-card:hover{transform:translateY(-3px);border-color:#557ba5;box-shadow:0 15px 30px #0004}.card-top{color:#9eb0c5}.card-team-row{gap:12px}.team-logo{border-radius:9px;clip-path:none;background:linear-gradient(145deg,#28517b,#17304e);border:1px solid #52749a}.card-team-row:nth-of-type(3) .team-logo{background:linear-gradient(145deg,#874451,#4e293a)}.team-info b{font-size:13px;color:#f1f5fb}.team-info small{color:#9cb0c8}.card-bottom{border-top:1px solid #263a52;padding-top:12px;color:#9eb1c8}.card-bottom span:last-child{color:#8fb9e6}.card-descriptions{border-color:#263a52;color:#9fb1c8}.card-descriptions span:first-child{color:#c8d7e9}.card-venue{color:#92a7bf}.card-actions{border-color:#263a52}.watch-btn,.register-btn{border-radius:5px;padding:10px 13px;font-size:9px}.watch-btn{background:#e84e45}.register-btn{background:#203d60}.empty,.loading{border:1px dashed #344b67;border-radius:10px;background:#101f33;color:#9db0c6;padding:20px}
/* Live and Replay are horizontal, swipeable rails. Upcoming remains a normal vertical list. */
#live-games.vh-horizontal-schedule,#replay-games.vh-horizontal-schedule{display:flex!important;flex-wrap:nowrap!important;gap:15px;overflow-x:auto;overflow-y:hidden;padding:3px 2px 17px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#526f91 #14243a;align-items:stretch}
#live-games.vh-horizontal-schedule>.match-card,#replay-games.vh-horizontal-schedule>.match-card{flex:0 0 clamp(285px,32vw,355px);width:clamp(285px,32vw,355px);min-width:0;scroll-snap-align:start;height:fit-content}
#live-games.vh-horizontal-schedule>.empty,#replay-games.vh-horizontal-schedule>.empty{flex:0 0 100%}
@media(max-width:700px){#live-games.vh-horizontal-schedule,#replay-games.vh-horizontal-schedule{gap:11px}#live-games.vh-horizontal-schedule>.match-card,#replay-games.vh-horizontal-schedule>.match-card{flex-basis:min(84vw,340px);width:min(84vw,340px)}}
#upcoming-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.cta-band{border:1px solid #2b405b;border-radius:14px;background:linear-gradient(115deg,#172e4b,#0e1c30);padding:34px 38px;margin-top:10px;margin-bottom:55px}.cta-band h2{font:800 36px 'Barlow Condensed';line-height:1.02;color:#fff;text-transform:uppercase;margin:0 0 8px}.cta-band p{font-size:12px;color:#9eb1c8;margin:0}.cta-band .primary-btn{white-space:nowrap}
footer{background:#050d18;color:#8da1ba;padding:24px max(calc((100% - 1120px)/2),24px);border-top:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px}.brand.small{color:#d9e4f1;font-size:11px}.brand.small .brand-mark{width:26px;height:26px;font-size:17px}
/* Detail and team views inherit the same V5 surface treatment. */
.detail-main{max-width:1120px}.match-hero-card,.panel,.team-profile{background:linear-gradient(145deg,#14263d,#0f1d30);border:1px solid #2b405b;border-radius:12px;box-shadow:0 10px 30px #0002}.panel{padding:20px}.match-hero-card{padding:25px}.match-meta,.match-date{color:#a7bad0}.panel-heading{color:#eaf1fa;border-color:#30445d}.info-row,.stat-head,.stat-row{border-color:#293e58}.info-row span{color:#9fb1c8}.info-row b,.stat-row b{color:#eaf1fa}.team-profile{padding:25px}.match-team h2{color:#f1f5fb}.back-link{color:#9bc5f5}.description-panel p{color:#b9c8da}
html[data-theme="light"]{--bg:#f3f6fa;--ink:#17243a;--line:#dce4ee;color-scheme:light}html[data-theme="light"] body{background:#f3f6fa;color:#17243a}html[data-theme="light"] .site-header{background:rgba(12,29,51,.96)}html[data-theme="light"] .content-section{color:#17243a}html[data-theme="light"] .section-heading h2,html[data-theme="light"] .team-profile h1{color:#17243a}html[data-theme="light"] .section-subtitle{color:#687d95}html[data-theme="light"] .sport-chip,html[data-theme="light"] .search-box,html[data-theme="light"] .date-filter,html[data-theme="light"] .clear-filter{background:#fff;color:#526176;border-color:#d7e0ea}html[data-theme="light"] .search-box input{color:#17243a}html[data-theme="light"] .search-box input::placeholder{color:#8b99a9}html[data-theme="light"] .schedule-title{border-color:#dce4ee}html[data-theme="light"] .schedule-title h2{color:#17243a}html[data-theme="light"] .section-count{background:#fff;color:#64768c;border-color:#dce4ee}html[data-theme="light"] .match-card,html[data-theme="light"] .match-hero-card,html[data-theme="light"] .panel,html[data-theme="light"] .team-profile,html[data-theme="light"] .empty,html[data-theme="light"] .loading{background:#fff;color:#17243a;border-color:#dce4ee}html[data-theme="light"] .team-info b,html[data-theme="light"] .match-team h2,html[data-theme="light"] .card-top,html[data-theme="light"] .match-meta,html[data-theme="light"] .match-date,html[data-theme="light"] .info-row b,html[data-theme="light"] .info-row span,html[data-theme="light"] .stat-row b{color:#263a53}html[data-theme="light"] .team-info small,html[data-theme="light"] .card-descriptions,html[data-theme="light"] .card-venue,html[data-theme="light"] .schedule-disclaimer{color:#718197}html[data-theme="light"] .card-bottom,html[data-theme="light"] .card-descriptions,html[data-theme="light"] .card-actions,html[data-theme="light"] .info-row,html[data-theme="light"] .stat-head,html[data-theme="light"] .stat-row{border-color:#e7edf3}html[data-theme="light"] .empty,html[data-theme="light"] .loading{border-color:#d7e0ea}html[data-theme="light"] .panel-heading{color:#253b55}html[data-theme="light"] .description-panel p{color:#526176}
@media(max-width:900px){.site-header{gap:22px}.hero-art{margin-right:-45px;opacity:.45}.filters-heading{align-items:stretch;flex-direction:column}.schedule-filters{width:100%}.schedule-filters .search-box{flex:1}.search-box input{width:100%}}
/* Premium search spotlight: one selected matchup is featured above the untouched schedule. */
.featured-match-section{margin:24px 0 34px;animation:featuredReveal .42s ease both}
.featured-match-section[hidden]{display:none!important}
@keyframes featuredReveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.featured-match-card{position:relative;overflow:hidden;padding:clamp(20px,3.5vw,34px);border:1px solid #557ba5;border-radius:18px;background:radial-gradient(ellipse at 50% 0%,#31577d70 0,transparent 58%),linear-gradient(125deg,#172f4d 0%,#0c192b 58%,#172a43 100%);box-shadow:0 18px 48px #0005,inset 0 1px #ffffff18;color:#f4f8ff}
.featured-match-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0 42%,#ffffff06 50%,transparent 58%);}
.featured-match-top,.featured-match-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px}
.featured-match-kicker{display:inline-flex;align-items:center;gap:8px;color:#b9d2ed;font-size:9px;font-weight:900;letter-spacing:1.8px}
.featured-spark{color:#ffd27a;font-size:17px}
.featured-match-meta{position:relative;z-index:1;margin-top:20px;text-align:center;color:#8fa9c5;font-size:9px;font-weight:800;letter-spacing:2px;text-transform:uppercase}
.featured-matchup{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);align-items:center;gap:16px;max-width:800px;margin:22px auto 28px;text-align:center}
.featured-team{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.featured-team-logo{width:clamp(70px,10vw,104px);height:clamp(70px,10vw,104px);flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:22px;border:1px solid #8aa9ca66;background:linear-gradient(145deg,#31577d,#152c48);color:white;font:800 clamp(25px,4vw,38px) 'Barlow Condensed';box-shadow:0 10px 28px #0005}
.featured-team-logo.image-logo{background:#fff;border-radius:22px}.featured-team-logo img{width:100%;height:100%;object-fit:contain}
.featured-team>b{max-width:100%;color:#f5f8fd;font:800 clamp(17px,2.5vw,25px) 'Barlow Condensed';letter-spacing:.3px;line-height:1.05;overflow-wrap:anywhere}
.featured-team>small{color:#92abc5;font-size:9px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase}
.featured-vs{display:flex;flex-direction:column;align-items:center;gap:8px;color:#ffcb78;font:800 25px 'Barlow Condensed';font-style:italic}
.featured-vs i{width:34px;height:2px;background:linear-gradient(90deg,transparent,#e9b968,transparent)}
.featured-match-footer{border-top:1px solid #ffffff20;padding-top:18px;flex-wrap:wrap}
.featured-match-info{display:flex;flex-direction:column;gap:7px;color:#9db2ca;font-size:10px;font-weight:600}
.featured-match-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.featured-details-btn{display:inline-flex;align-items:center;gap:13px;padding:12px 16px;border:1px solid #6f91b5;border-radius:8px;color:#eaf3ff;font-size:9px;font-weight:900;letter-spacing:1px;transition:.2s}
.featured-details-btn:hover{background:#ffffff12;border-color:#b4d4f4}
.featured-watch-btn{padding:13px 17px!important;border-radius:8px!important;font-size:9px!important;letter-spacing:1px}
.featured-no-match{display:flex;align-items:center;gap:15px;padding:18px 22px;border:1px solid #3b526e;border-radius:13px;background:linear-gradient(120deg,#142a44,#101d30);color:#eaf2fc}
.featured-no-match>span{font-size:28px;color:#9fc3eb}.featured-no-match div{display:flex;flex-direction:column;gap:5px}.featured-no-match b{font-size:12px}.featured-no-match small{font-size:10px;color:#9aafc7}
html[data-theme="light"] .featured-match-card{background:radial-gradient(ellipse at 50% 0%,#d8e9f8 0,transparent 58%),linear-gradient(125deg,#fafdff,#eaf2fa 58%,#f7fbff);border-color:#c2d4e8;box-shadow:0 14px 35px #19385818;color:#172b45}
html[data-theme="light"] .featured-team>b{color:#172b45}html[data-theme="light"] .featured-team>small,html[data-theme="light"] .featured-match-meta,html[data-theme="light"] .featured-match-info{color:#607b98}html[data-theme="light"] .featured-match-kicker{color:#456b92}html[data-theme="light"] .featured-match-footer{border-color:#cbd9e8}html[data-theme="light"] .featured-details-btn{color:#24486e;border-color:#a9bfd7}html[data-theme="light"] .featured-no-match{background:#fff;border-color:#d4dfeb;color:#233a55}html[data-theme="light"] .featured-no-match small{color:#70839a}
@media(max-width:600px){.featured-match-section{margin:17px 0 27px}.featured-match-card{padding:18px 14px;border-radius:14px}.featured-match-top{align-items:flex-start}.featured-match-kicker{font-size:8px;letter-spacing:1.1px}.featured-matchup{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:5px;margin:22px auto}.featured-team-logo{border-radius:16px}.featured-team-logo.image-logo{border-radius:16px}.featured-team>b{font-size:clamp(14px,4vw,19px)}.featured-team>small{font-size:8px;letter-spacing:.5px}.featured-vs{font-size:20px}.featured-match-footer{align-items:stretch;flex-direction:column}.featured-match-actions{display:grid;grid-template-columns:1fr 1fr}.featured-match-actions>a{justify-content:center;padding:12px 8px}.featured-match-info{font-size:9px}}
/* VARSITYHUB PREMIUM FINISH — layered surfaces and calmer light theme */
:root{--vh-surface:#13243a;--vh-surface-raised:#182d47;--vh-gold:#f0c77a;--vh-light-bg:#e9eff5;--vh-light-surface:#f2f6fa;--vh-light-raised:#e6edf4}
html[data-theme="dark"] body{background:radial-gradient(ellipse at 12% 34%,#142b46 0,transparent 32%),radial-gradient(ellipse at 88% 70%,#10243b 0,transparent 34%),linear-gradient(180deg,#081321 0%,#0b192a 48%,#091625 100%)}
html[data-theme="dark"] .sports-section,html[data-theme="dark"] .schedule-section{position:relative}
html[data-theme="dark"] .sports-section:before,html[data-theme="dark"] .schedule-section:before{content:"";position:absolute;inset:14px -5vw auto;height:1px;background:linear-gradient(90deg,transparent,#54708f35,transparent);pointer-events:none}
html[data-theme="dark"] .sport-chip{background:linear-gradient(145deg,#172d48,#102139);border-color:#314965;box-shadow:0 5px 16px #0002}
html[data-theme="dark"] .sport-chip.selected,html[data-theme="dark"] .sport-chip:hover{background:linear-gradient(135deg,#315f8c,#1b3e63);border-color:#6c9bc8}
html[data-theme="dark"] .match-card{background:linear-gradient(145deg,#192d46 0%,#101f33 72%,#14253a 100%);border-color:#314963;box-shadow:0 12px 28px #0003,inset 0 1px #ffffff08}
html[data-theme="dark"] .match-card:hover{border-color:#6a8fb5;box-shadow:0 18px 36px #0005,inset 0 1px #ffffff12}
html[data-theme="dark"] .cta-band{position:relative;overflow:hidden;background:radial-gradient(ellipse at 92% 0%,#365b7c88,transparent 42%),linear-gradient(115deg,#1b3655,#0d1b2e 78%);box-shadow:0 20px 42px #0003,inset 0 1px #ffffff12}
html[data-theme="dark"] .cta-band:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #ffffff10;border-radius:50%;right:8%;top:-175px;box-shadow:0 0 0 28px #ffffff05,0 0 0 58px #ffffff03;pointer-events:none}
html[data-theme="dark"] footer{background:linear-gradient(110deg,#050c16,#0a1726);border-top-color:#ffffff18}
.hero-art{isolation:isolate}
.hero-athlete{position:relative;z-index:1;display:block;width:min(100%,350px);height:270px;object-fit:cover;object-position:center 42%;border:1px solid #ffffff70;border-radius:18px;box-shadow:0 22px 48px #0009,0 0 0 8px #ffffff0b;transform:rotate(1.5deg)}.hero-photo-credit{position:absolute;z-index:2;right:4px;bottom:-17px;color:#c4d2e3;font-size:8px;font-weight:700;letter-spacing:1px;text-shadow:0 1px 5px #000;white-space:nowrap}.hero-photo-credit:hover{color:#fff;text-decoration:underline}
@keyframes trophyFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}
.hero-orbit{border-color:#f4d79a35;box-shadow:0 0 30px #f0c77a0b}
.hero-tag{border:1px solid #ffffff55;background:linear-gradient(135deg,#fff7e5,#d9b56e);color:#182941;border-radius:5px;box-shadow:0 10px 28px #0005}
.upcoming-heading-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
50%{box-shadow:0 0 0 6px #5ee0a02c}}
/* Softer light theme: pearl-blue surfaces instead of bright white panels. */
html[data-theme="light"]{--bg:#e9eff5;--ink:#20334a;--line:#d1dce7;--white:#f2f6fa;color-scheme:light}
html[data-theme="light"] body{background:radial-gradient(ellipse at 12% 24%,#dce7f1 0,transparent 35%),linear-gradient(180deg,#edf2f7 0%,#e5edf4 100%);color:#20334a}
html[data-theme="light"] .content-section{color:#20334a}
html[data-theme="light"] .section-heading h2,html[data-theme="light"] .team-profile h1,html[data-theme="light"] .schedule-title h2{color:#233b55}
html[data-theme="light"] .section-subtitle{color:#687f98}
html[data-theme="light"] .sport-chip,html[data-theme="light"] .search-box,html[data-theme="light"] .date-filter,html[data-theme="light"] .clear-filter{background:linear-gradient(145deg,#f4f7fa,#e8eef4);color:#52677f;border-color:#cfdae5;box-shadow:0 4px 12px #263f5810}
html[data-theme="light"] .sport-chip.selected,html[data-theme="light"] .sport-chip:hover{background:linear-gradient(135deg,#294e75,#1b3858);color:#fff;border-color:#315c87}
html[data-theme="light"] .search-box input,html[data-theme="light"] .date-filter input{color:#263d56}
html[data-theme="light"] .search-box input::placeholder{color:#8798aa}
html[data-theme="light"] .schedule-title{border-color:#ccd8e4}
html[data-theme="light"] .section-count{background:#e4ebf2;color:#62778e;border-color:#cbd7e3}
html[data-theme="light"] .match-card,html[data-theme="light"] .match-hero-card,html[data-theme="light"] .panel,html[data-theme="light"] .team-profile,html[data-theme="light"] .empty,html[data-theme="light"] .loading{background:linear-gradient(145deg,#f4f7fa 0%,#eaf0f5 100%);color:#263b53;border-color:#cfdae5;box-shadow:0 9px 24px #203b5510}
html[data-theme="light"] .match-card:hover{border-color:#aebfd0;box-shadow:0 14px 28px #203b5518}
html[data-theme="light"] .team-info b,html[data-theme="light"] .match-team h2,html[data-theme="light"] .card-top,html[data-theme="light"] .match-meta,html[data-theme="light"] .match-date,html[data-theme="light"] .info-row b,html[data-theme="light"] .info-row span,html[data-theme="light"] .stat-row b{color:#2a4059}
html[data-theme="light"] .team-info small,html[data-theme="light"] .card-descriptions,html[data-theme="light"] .card-venue,html[data-theme="light"] .schedule-disclaimer{color:#71849a}
html[data-theme="light"] .card-bottom,html[data-theme="light"] .card-descriptions,html[data-theme="light"] .card-actions,html[data-theme="light"] .info-row,html[data-theme="light"] .stat-head,html[data-theme="light"] .stat-row{border-color:#d7e1ea}
html[data-theme="light"] .panel-heading{color:#47627f;border-color:#d5dfe8}
html[data-theme="light"] .description-panel p{color:#5f748b}
html[data-theme="light"] .cta-band{background:radial-gradient(ellipse at 90% 0%,#426a8c 0,transparent 45%),linear-gradient(115deg,#1d3b5c,#10243a);box-shadow:0 15px 34px #1a38531c}
html[data-theme="light"] footer{background:linear-gradient(110deg,#10243a,#0b1a2c)}
@media(max-width:700px){.hero-athlete{height:205px;width:245px;object-position:center 40%}.hero-art{top:12px}.upcoming-heading-meta{gap:6px}.schedule-title{gap:10px}.schedule-title>div:first-child{min-width:0}.schedule-title h2{font-size:18px}}

.schedule-title>.upcoming-heading-meta{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:10px}

/* YouTube spotlight: horizontal video cards with inline playback. */
.youtube-section{padding-top:34px;padding-bottom:34px}
.youtube-video-list{display:flex;flex-wrap:nowrap;gap:16px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 16px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#526f91 #14243a;align-items:stretch}
.youtube-video-card{flex:0 0 270px;width:270px;min-width:0;overflow:hidden;border:1px solid #2b405b;border-radius:13px;background:linear-gradient(145deg,#14263d,#0c192b);box-shadow:0 9px 24px #0003;color:#edf4fc;scroll-snap-align:start}
.youtube-video-frame{position:relative;aspect-ratio:16/9;background:#050b13;overflow:hidden}
.youtube-video-frame>img,.youtube-video-frame>iframe{display:block;width:100%;height:100%;object-fit:cover;border:0}
.youtube-play{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;border:0;background:linear-gradient(0deg,#0005,#0001);color:#fff;cursor:pointer}
.youtube-play span{display:grid;place-items:center;width:58px;height:58px;border:1px solid #ffffffaa;border-radius:50%;background:#d71920e8;font-size:22px;padding-left:4px;box-shadow:0 5px 22px #0007;transition:transform .18s}
.youtube-play:hover span{transform:scale(1.09)}
.youtube-video-copy{display:flex;flex-direction:column;gap:5px;padding:13px 15px 15px}
.youtube-video-copy>b{font-size:13px;line-height:1.35;color:#f3f7fc}
.youtube-video-copy>small{font-size:10px;color:#91a8c2}
html[data-theme="light"] .youtube-video-card{background:#fff;border-color:#dce4ee;color:#17243a}
html[data-theme="light"] .youtube-video-copy>b{color:#20364f}
html[data-theme="light"] .youtube-video-copy>small{color:#718197}
@media(max-width:700px){.youtube-video-list{gap:11px}.youtube-video-card{flex-basis:min(78vw,290px);width:min(78vw,290px)}}

/* V5.9 hero artwork: restore the trophy inside a circular frame and keep it fully visible on phones. */
.hero-art{width:340px;height:310px;flex:0 0 340px;margin-right:18px;position:relative;display:grid;place-items:center;isolation:isolate;opacity:1}
.hero-art:before{content:"";position:absolute;width:238px;height:238px;border-radius:50%;z-index:0;background:radial-gradient(circle at 35% 28%,#355477 0%,#172d49 68%,#0d1b2e 100%);border:2px solid #d8b66f;box-shadow:0 0 0 9px #d8b66f18,0 18px 42px #0007,inset 0 0 24px #f5d99a20}
.hero-trophy{position:relative;z-index:1;display:block;width:190px;height:205px;max-width:75%;object-fit:contain;filter:drop-shadow(0 12px 13px #0008);animation:trophyFloat 5s ease-in-out infinite}
.hero-art .hero-orbit{z-index:-1}
.hero-art .hero-tag{z-index:2}
@media(max-width:700px){
  /* Keep the original V5.9 stadium background and side-by-side hero layout.
     The trophy remains at the upper-right; only its artwork is reduced on phones. */
  .hero-photo{min-height:0;padding:30px 16px 24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:2px;background-position:center center;background-repeat:no-repeat;background-size:100% 100%;background-color:#0b1a2d}
  .hero-photo:after{height:100%;inset:0;background:linear-gradient(90deg,rgba(5,15,29,.30) 0%,rgba(7,20,38,.18) 58%,rgba(8,22,40,.30) 100%)}
  .hero-photo .hero-copy{width:auto;max-width:none;min-width:0;flex:1 1 auto;z-index:1}
  .hero-photo .hero h1,.hero-photo h1{font-size:clamp(28px,7.4vw,42px);line-height:.94;letter-spacing:0}
  .hero-photo .hero-copy>p{font-size:10px;line-height:1.4;margin:12px 0 14px;max-width:300px}
  .hero-photo .eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:8px}
  .hero-photo .hero-actions{gap:7px}
  .hero-photo .primary-btn{padding:9px 10px;font-size:9px;gap:7px}
  .hero-photo .hero-text-link{font-size:9px}
  .hero-photo .hero-stats{gap:6px;margin-top:13px;padding-top:10px}
  .hero-photo .hero-stats>div{min-width:0;padding:0 7px}
  .hero-photo .hero-stats>div:first-child{padding-left:0}
  .hero-photo .hero-stats strong{font-size:17px}
  .hero-photo .hero-stats span{font-size:6px;letter-spacing:.5px}
  .hero-photo .hero-art{position:relative;top:auto;right:auto;bottom:auto;width:clamp(76px,23vw,112px);height:clamp(96px,29vw,132px);flex:0 0 clamp(76px,23vw,112px);margin:0 0 0 2px;opacity:1;z-index:1}
  .hero-art:before{width:clamp(68px,20vw,102px);height:clamp(68px,20vw,102px);border-width:1px;box-shadow:0 0 0 4px #d8b66f18,0 8px 18px #0007,inset 0 0 12px #f5d99a20}
  .hero-trophy{width:clamp(52px,16vw,88px);height:clamp(62px,19vw,98px);max-width:90%}
  .hero-orbit.orbit-one{width:clamp(92px,28vw,145px);height:clamp(62px,19vw,92px)}
  .hero-orbit.orbit-two{width:clamp(78px,24vw,122px);height:clamp(96px,29vw,142px)}
  .hero-tag{font-size:5px;letter-spacing:.4px;padding:4px 5px}
  .tag-top{top:5px;right:-2px}.tag-bottom{bottom:5px;left:-2px}
  .hero-bottom-line{position:relative;left:auto;right:auto;bottom:auto;margin-top:12px;z-index:1;font-size:6px;gap:7px;flex-basis:100%;flex-wrap:wrap}
}
@media(max-width:380px){
  .hero-photo{padding:25px 11px 20px;gap:1px}
  .hero-photo .hero h1,.hero-photo h1{font-size:clamp(25px,7vw,29px)}
  .hero-photo .hero-art{width:70px;height:88px;flex-basis:70px}
  .hero-art:before{width:64px;height:64px}
  .hero-trophy{width:49px;height:58px}
  .hero-photo .hero-stats{gap:4px}
  .hero-photo .hero-stats>div{padding:0 5px}
}

/* V5.9.2: schedule stays above the YouTube rail with a clear separation. */
.schedule-section{padding-bottom:30px}
.youtube-section{padding-top:34px;margin-top:0}
@media(max-width:700px){.hero-photo{background-size:100% 100%;background-position:center center}.schedule-section{padding-top:30px;padding-bottom:22px}.youtube-section{padding-top:26px;padding-bottom:28px}}

/* V5.9.4 mobile refinements: left-align sports heading, move trophy beside stats, improve season tag. */
.tag-bottom{font-size:11px;padding:10px 14px;letter-spacing:1.6px}
@media(max-width:700px){
  .sports-section .section-heading{align-items:flex-start;justify-content:flex-start;text-align:left}
  .sports-section .section-heading>div{width:100%;text-align:left}
  .sports-section .section-kicker{display:none}
  .hero-photo{background-size:cover;background-position:center center}
  .hero-photo .hero-copy{padding-right:3px}
  .hero-photo .hero-art{position:absolute;right:12px;bottom:44px;top:auto;width:62px;height:70px;flex:0 0 62px;margin:0;opacity:1}
  .hero-art:before{width:56px;height:56px;border-width:1px;box-shadow:0 0 0 3px #d8b66f18,0 5px 12px #0007,inset 0 0 8px #f5d99a20}
  .hero-trophy{width:40px;height:46px;max-width:100%}
  .hero-orbit.orbit-one,.hero-orbit.orbit-two{display:none}
  .hero-tag{font-size:5px;padding:3px 4px;letter-spacing:.3px}
  .tag-top{top:-3px;right:-3px}.tag-bottom{bottom:-3px;left:-4px;font-size:6px;padding:4px 5px}
  .hero-photo .hero-stats{padding-right:58px}
}
@media(max-width:380px){
  .hero-photo .hero-art{right:8px;bottom:40px;width:52px;height:60px;flex-basis:52px}
  .hero-art:before{width:48px;height:48px}
  .hero-trophy{width:34px;height:40px}
  .hero-photo .hero-stats{padding-right:50px}
}

/* V5.9.5: football-field background for schedule cards and match detail surfaces only. */
.match-card,
.match-hero-card,
.detail-main .panel{
  background-image:linear-gradient(135deg,rgba(7,17,31,.90),rgba(10,25,43,.78)),url('./assets/varsityhub-hero-stadium.png') !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  color:#f5f8fc !important;
  border-color:#526a83 !important;
}
.match-card .card-top,
.match-card .card-bottom,
.match-card .team-info small,
.match-card .card-descriptions,
.match-card .card-venue,
.match-hero-card .match-meta,
.match-hero-card .match-team span,
.match-hero-card .match-team small,
.match-hero-card .match-date,
.detail-main .panel .info-row span,
.detail-main .panel .stat-head,
.detail-main .panel .stat-row span,
.detail-main .panel .muted-note,
.detail-main .panel p{
  color:#d0d9e5 !important;
}
.match-card .team-info b,
.match-card .card-bottom span:last-child,
.match-hero-card .match-team h2,
.match-hero-card .match-date b,
.detail-main .panel .info-row b,
.detail-main .panel .stat-row b,
.detail-main .panel .stat-head b{
  color:#fff !important;
}
.match-card .card-bottom{border-top-color:#ffffff30 !important}
.match-hero-card .match-date{border-top-color:#ffffff30 !important}
.detail-main .panel .panel-heading{color:#ffb3ac !important;border-bottom-color:#ffffff30 !important}

/* V5.9.6: optional lightweight MP4 background on match detail only.
   If the MP4 is absent or cannot play, the existing stadium image remains visible. */
.match-hero-video-ready{position:relative;isolation:isolate;overflow:hidden;background-color:#0b192b !important}
.match-hero-video-ready .match-background-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;opacity:.58;pointer-events:none}
.match-hero-video-ready .match-hero-content{position:relative;z-index:1}
.match-hero-video-ready{background-image:linear-gradient(135deg,rgba(7,17,31,.84),rgba(10,25,43,.72)),url('./assets/varsityhub-hero-stadium.png') !important;background-size:cover !important;background-position:center !important}
