:root{--navy:#020b34;--ink:#000936;--muted:#6d7290;--white:#fff;--footer:#242424;--accent:#f4e500}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}.side-nav{position:fixed;left:0;top:0;width:250px;height:100vh;background:#fff;z-index:20;padding:34px 20px;display:flex;flex-direction:column;border-right:1px solid #eef0f6}.league-logo img{width:176px;max-height:70px;object-fit:contain;object-position:left}.side-nav nav{display:flex;flex-direction:column;gap:17px;margin-top:34px}.side-nav nav a{font-family:Libre Baskerville,serif;text-decoration:none;color:var(--ink);font-size:18px}.side-card{margin-top:auto;background:#f6f6fb;border-radius:8px;padding:18px 14px;text-align:center;clip-path:polygon(0 12px,12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%)}.side-card img{width:72px;height:72px;object-fit:contain}.side-card strong,.side-card span{display:block;font-size:13px;margin-top:8px}.side-card button,.hero-button,.match-centre-card button{border:1px solid rgba(255,255,255,.2);background:#fff;color:var(--ink);padding:10px 18px;border-radius:4px;margin-top:14px;font-family:Libre Baskerville,serif}.site-shell{margin-left:250px;min-height:100vh}.mobile-header{display:none}.score-widget{position:sticky;top:0;background:#fff;z-index:15;border-bottom:1px solid #eef0f6}.score-track{display:flex;overflow-x:auto;gap:34px;padding:10px 20px 14px;cursor:grab;scroll-behavior:auto;scrollbar-width:none;-ms-overflow-style:none}.score-track::-webkit-scrollbar{display:none}.score-track.dragging{cursor:grabbing;user-select:none}.matchday-group{min-width:760px}.matchday-date{position:sticky;left:20px;z-index:3;display:block;width:max-content;margin:0 0 7px;font-size:13px;font-weight:300;color:#9aa0b8;text-transform:uppercase;letter-spacing:.08em;background:#fff;padding:1px 12px 1px 0}.match-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.score-card{background:#fff;border-right:1px solid #eef0f6;padding:6px 10px;text-align:center;min-width:170px}.score-card span{display:block;font-size:7px;letter-spacing:.08em;text-transform:uppercase;color:#666b84;font-weight:800;margin-bottom:6px}.score-card div{display:flex;align-items:center;justify-content:center;gap:11px}.score-card img{width:34px;height:34px;object-fit:contain}.score-card b{font-size:17px;white-space:nowrap;background:#f1f3f8;border-radius:5px;padding:2px 9px}.score-card small{display:block;color:#7b8096;font-size:11px;margin-top:6px}.hero{position:relative;min-height:620px;overflow:hidden;background:#071140}.hero-image{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(2,8,42,.96) 0%,rgba(2,8,42,.7) 23%,rgba(2,8,42,.1) 46%,rgba(2,8,42,.25) 65%,rgba(2,8,42,.92) 100%),url('https://theufleague.com/img/ufl_news_3.jpg');background-size:cover;background-position:center}.hero-copy{position:relative;z-index:2;max-width:850px;padding:350px 36px 50px;color:#fff}.kicker{font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:var(--accent)}.hero h1{font-family:Libre Baskerville,serif;font-style:italic;font-size:54px;line-height:.98;margin:12px 0;text-transform:uppercase}.hero p{font-size:18px;max-width:650px}.hero-button{display:inline-block;text-decoration:none;background:var(--accent);font-weight:900;border:0}.match-centre-card{position:absolute;right:28px;bottom:82px;width:355px;z-index:3;background:#141e55;color:#fff;padding:26px;border-radius:7px;clip-path:polygon(0 10px,10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px))}.teams-line{display:flex;align-items:center;justify-content:center;gap:24px}.teams-line img{width:64px;height:64px;object-fit:contain}.teams-line strong{font-family:Libre Baskerville,serif;font-style:italic;font-size:38px}.match-centre-card p{text-align:center;margin:10px 0 4px}.match-centre-card small{display:block;text-align:center;color:#bac1de}.match-centre-card button{width:100%;background:transparent;color:#fff}.top-stories{position:relative;display:grid;grid-template-columns:1fr 1.04fr;gap:34px;padding:44px 44px 72px;background:#fff}.stories-label{position:absolute;left:22px;top:44px;width:46%;height:260px;background:linear-gradient(135deg,#060042,#230079);color:#fff;font-family:Libre Baskerville,serif;font-style:italic;text-transform:uppercase;font-size:20px;font-weight:700;letter-spacing:.04em;padding:22px 30px}.story-featured{position:relative;margin-top:62px;z-index:1;background:#fff}.story-featured img{width:100%;height:430px;object-fit:cover;display:block;clip-path:polygon(0 14px,14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%)}.story-featured h2{font-family:Libre Baskerville,serif;font-size:30px;line-height:1.14;margin:24px 0 10px}.story-featured p{font-size:17px;margin:0;color:#1c274f}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 22px}.story-grid article img{width:100%;height:220px;object-fit:cover;border-radius:4px}.story-grid h3{font-family:Libre Baskerville,serif;font-size:22px;line-height:1.15;margin:12px 0 0}.site-footer{background:var(--footer);color:#fff;padding:54px 8% 70px}.partner-wall{display:grid;grid-template-columns:repeat(10,1fr);gap:42px 38px;align-items:center;text-align:center}.partner-wall img{display:block;width:100%;max-width:118px;max-height:54px;margin:0 auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.96}.footer-line{height:1px;background:#5c5c5c;margin:58px 0 70px}.footer-links{display:grid;grid-template-columns:repeat(4,1fr);gap:50px}.footer-links h4{font-size:14px;margin:0 0 46px}.footer-links a{display:block;color:#9f9f9f;margin-bottom:18px;font-size:14px;text-decoration:none}.footer-clubs{display:flex;justify-content:space-between;align-items:center;gap:34px;margin-top:72px}.footer-clubs img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 3px 8px rgba(0,0,0,.3))}@media(max-width:1000px){.side-nav{display:none}.site-shell{margin-left:0}.mobile-header{display:flex;position:sticky;top:0;z-index:30;align-items:center;justify-content:space-between;padding:14px 18px;background:#fff;border-bottom:1px solid #eee}.mobile-header img{height:44px}.menu-button{font-size:24px;background:none;border:0;color:var(--ink)}.score-widget{top:73px}.matchday-group{min-width:720px}.hero{min-height:580px}.hero-copy{padding:330px 20px 34px}.hero h1{font-size:38px}.top-stories{grid-template-columns:1fr;padding:28px 18px 42px}.stories-label{position:relative;left:auto;top:auto;width:100%;height:auto;margin-bottom:-42px}.story-featured{margin-top:0}.story-featured img{height:330px}.story-grid{grid-template-columns:1fr}.site-footer{padding:40px 22px}.partner-wall{grid-template-columns:repeat(3,1fr);gap:28px 24px}.partner-wall img{max-width:112px;max-height:48px}.footer-links{grid-template-columns:1fr 1fr}.footer-clubs{flex-wrap:wrap;justify-content:center}}@media(max-width:560px){.partner-wall{grid-template-columns:repeat(2,1fr)}.matchday-group{min-width:670px}.score-card{min-width:150px;padding:6px}.score-card img{width:30px;height:30px}.hero h1{font-size:30px}.hero p{font-size:15px}.story-featured h2{font-size:25px}.story-grid h3{font-size:20px}.footer-links{grid-template-columns:1fr}}

/* Mobile refinements v9 */
.menu-button{width:44px;height:44px;border:0;background:#f5f6fb;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer;transition:transform .3s ease,background .3s ease}.menu-button span{width:19px;height:2px;background:var(--ink);border-radius:999px;transition:transform .35s ease,opacity .25s ease}.menu-button.is-open{background:var(--ink);transform:rotate(90deg)}.menu-button.is-open span{background:#fff}.mobile-menu{position:fixed;inset:0;z-index:60;display:none;pointer-events:none}.mobile-menu::before{content:"";position:absolute;inset:0;background:rgba(0,4,26,.52);opacity:0;transition:opacity .35s ease;backdrop-filter:blur(8px)}.mobile-menu-panel{position:absolute;top:0;right:0;width:min(86vw,390px);height:100%;background:#050b2f;color:#fff;transform:translateX(105%);transition:transform .45s cubic-bezier(.18,.88,.22,1);padding:22px;box-shadow:-24px 0 60px rgba(0,0,0,.35);overflow:hidden}.mobile-menu-panel::after{content:"";position:absolute;right:-80px;top:120px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(244,229,0,.36),rgba(244,229,0,0) 64%);pointer-events:none}.mobile-menu.is-active{pointer-events:auto}.mobile-menu.is-active::before{opacity:1}.mobile-menu.is-active .mobile-menu-panel{transform:translateX(0)}.mobile-menu-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between}.mobile-menu-top img{height:58px;max-width:180px;object-fit:contain}.mobile-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.06);color:#fff;font-size:30px;line-height:1;cursor:pointer}.mobile-nav-links{position:relative;z-index:2;margin-top:52px;display:flex;flex-direction:column;gap:0}.mobile-nav-links a{color:#fff;text-decoration:none;font-family:Libre Baskerville,serif;font-size:25px;font-style:italic;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.12);opacity:0;transform:translateX(22px);transition:opacity .35s ease,transform .35s ease}.mobile-menu.is-active .mobile-nav-links a{opacity:1;transform:translateX(0)}.mobile-menu.is-active .mobile-nav-links a:nth-child(1){transition-delay:.09s}.mobile-menu.is-active .mobile-nav-links a:nth-child(2){transition-delay:.14s}.mobile-menu.is-active .mobile-nav-links a:nth-child(3){transition-delay:.19s}.mobile-menu.is-active .mobile-nav-links a:nth-child(4){transition-delay:.24s}.mobile-menu.is-active .mobile-nav-links a:nth-child(5){transition-delay:.29s}.mobile-menu.is-active .mobile-nav-links a:nth-child(6){transition-delay:.34s}.mobile-menu-card{position:relative;z-index:2;margin-top:34px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:18px}.mobile-menu-card span{display:block;color:var(--accent);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.mobile-menu-card strong{display:block;margin-top:8px;font-size:24px}.mobile-menu-card small{display:block;color:#bfc5e8;margin-top:5px}.footer-accordion button{display:none}

@media(max-width:1000px){
  .mobile-menu{display:block}.mobile-header img{height:55px}.score-widget{top:84px}.score-track{gap:18px;padding:7px 12px 10px}.matchday-group{min-width:532px}.matchday-date{left:12px;font-size:9px;margin-bottom:5px;padding-right:8px}.match-row{gap:8px}.score-card{min-width:119px;padding:4px 6px}.score-card span{font-size:5px;margin-bottom:4px}.score-card div{gap:7px}.score-card img{width:24px;height:24px}.score-card b{font-size:12px;border-radius:4px;padding:2px 6px}.score-card small{font-size:8px;margin-top:4px}.partner-wall{grid-template-columns:repeat(4,1fr);gap:28px 24px;padding:0 6px}.partner-wall img{max-width:82px;max-height:42px}.footer-line{margin:34px -22px 0;background:#474747}.footer-links{display:block;margin-left:-22px;margin-right:-22px}.footer-accordion{border-bottom:1px solid #474747}.footer-accordion button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:transparent;color:#fff;padding:22px;font-size:16px;font-weight:800;text-align:left}.footer-accordion button b{font-size:21px;line-height:1;transition:transform .25s ease}.footer-accordion.open button b{transform:rotate(45deg)}.footer-panel{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s ease;padding:0 22px}.footer-accordion.open .footer-panel{max-height:240px;padding:0 22px 18px}.footer-panel a{display:block;color:#a7a7a7;text-decoration:none;margin:0 0 14px;font-size:14px}.footer-clubs{display:grid;grid-template-columns:repeat(4,1fr);gap:30px 28px;justify-items:center;align-items:center;margin-top:44px}.footer-clubs img{width:52px;height:52px}.site-footer{padding-top:38px}.hero{margin-top:0}
}
@media(max-width:560px){.partner-wall{grid-template-columns:repeat(4,1fr);gap:26px 18px}.partner-wall img{max-width:72px;max-height:36px}.matchday-group{min-width:470px}.score-card{min-width:104px}.score-card img{width:22px;height:22px}.score-card b{font-size:11px;padding:2px 5px}.footer-clubs{grid-template-columns:repeat(4,1fr);gap:28px 18px}.footer-clubs img{width:48px;height:48px}.site-footer{padding-left:18px;padding-right:18px}.footer-line,.footer-links{margin-left:-18px;margin-right:-18px}.mobile-header img{height:55px}}


/* Standings page v10 */
.side-nav nav a.active{font-weight:900;color:var(--ink)}
.standings-body{background:#fff;color:var(--ink)}
.standings-shell{background:#fff;min-height:100vh}
.standings-page{padding:46px 7.2% 64px;background:#fff;min-height:760px}
.standings-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.standings-page h1{font-family:Libre Baskerville,serif;font-style:italic;font-size:44px;letter-spacing:-.04em;line-height:1;margin:0;color:#06113a}
.standings-meta{display:flex;gap:10px;align-items:center;color:#626a8f;font-size:13px}.standings-meta strong{background:#f5f6fb;color:#06113a;border:1px solid #e1e5f2;padding:8px 12px;border-radius:8px}.team-tabs{display:flex;gap:22px;align-items:center;margin-bottom:34px;overflow-x:auto;scrollbar-width:none}.team-tabs::-webkit-scrollbar{display:none}.team-tabs a{font-family:Libre Baskerville,serif;text-decoration:none;color:#626a8f;font-size:20px;white-space:nowrap}.team-tabs a.active{color:#06113a;font-weight:900}.standings-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:32px}.standings-filters button{height:40px;border:1px solid #e1e5f2;background:#fff;color:#06113a;border-radius:7px;padding:0 14px;font-weight:700;font-size:14px;display:flex;align-items:center;gap:8px}.standings-filters button.selected{background:#f0f1fa}.filter-icon{width:42px;justify-content:center;padding:0!important}.mini-ball{color:#2b196e;font-size:10px}.mobile-table-hint{display:none;color:#7b819d;font-size:12px;margin:0 0 12px}.table-wrap{width:100%;overflow-x:auto;scrollbar-width:thin}.standings-table{width:100%;min-width:1080px;border-collapse:collapse;color:#06113a}.standings-table th{font-size:12px;color:#626a8f;font-weight:500;text-align:center;padding:10px 8px 20px}.standings-table th:nth-child(1),.standings-table th:nth-child(2){text-align:left}.standings-table td{padding:18px 8px;border-bottom:1px solid #e6e9f3;text-align:center;font-size:15px}.standings-table tbody tr{transition:background .2s ease}.standings-table tbody tr:hover{background:#fafbff}.pos-cell{display:grid;grid-template-columns:26px 30px 22px;align-items:center;gap:8px;text-align:left!important}.competition-mark{font-size:18px;color:#06113a}.pos-number{font-weight:800}.movement{font-size:14px;color:#d7d9df}.movement.up{color:#35c56b}.movement.down{color:#d71920}.club-cell{text-align:left!important;display:flex;align-items:center;gap:16px;font-family:Libre Baskerville,serif;font-size:17px}.club-cell img{width:42px;height:42px;object-fit:contain}.club-cell b{display:none;font-family:Inter,sans-serif;font-size:12px}.form-cell{white-space:nowrap}.form-cell i{display:inline-flex;width:11px;height:11px;border-radius:50%;align-items:center;justify-content:center;margin-left:4px;text-indent:-999px;overflow:hidden}.form-w{background:#33c777}.form-l{background:#d71920}.form-t{background:#d7d9df}.standings-notes{display:flex;gap:14px;margin-top:22px}.standings-notes div{border:1px solid #e1e5f2;border-radius:12px;padding:14px 16px;background:#fafbff}.standings-notes b{display:block;font-size:13px}.standings-notes span{display:block;color:#6c728c;font-size:12px;margin-top:3px}.standings-stat-preview{margin-top:46px}.standings-stat-preview h2{font-family:Libre Baskerville,serif;font-style:italic;font-size:28px;margin:0 0 18px}.leader-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.leader-cards article{background:#06113a;color:#fff;border-radius:16px;padding:22px;min-height:110px}.leader-cards span{display:block;color:#cbd2ee;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:900}.leader-cards strong{display:block;font-size:42px;line-height:1;margin-top:10px}.leader-cards small{display:block;color:#dfe4ff;margin-top:8px}.standings-side-card{background:#f5f6fb!important}
@media(max-width:1000px){.standings-page{padding:32px 18px 44px}.standings-title-row{display:block}.standings-page h1{font-size:34px}.standings-meta{margin-top:14px}.team-tabs{gap:18px;margin-bottom:24px}.team-tabs a{font-size:17px}.standings-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-18px;margin-right:-18px;padding:0 18px 8px}.standings-filters::-webkit-scrollbar{display:none}.standings-filters button{white-space:nowrap}.mobile-table-hint{display:block}.table-wrap{margin-left:-18px;margin-right:-18px;padding-left:18px}.standings-table{min-width:820px}.standings-table th{font-size:11px}.standings-table td{padding:14px 8px}.club-cell span{display:none}.club-cell b{display:inline}.club-cell img{width:36px;height:36px}.pos-cell{grid-template-columns:22px 26px 20px}.leader-cards{grid-template-columns:1fr}.standings-notes{flex-direction:column}.standings-stat-preview h2{font-size:25px}}
@media(max-width:560px){.standings-page h1{font-size:29px}.standings-table{min-width:760px}.standings-table td{font-size:13px}.form-cell i{width:10px;height:10px}.leader-cards strong{font-size:36px}}

/* Standings clean layout v11 */
.clean-standings-page{padding-top:54px;}
.clean-title-row{margin-bottom:34px;align-items:center;}
.clean-standings-page h1{text-transform:uppercase;font-size:46px;}
.clean-table-wrap{overflow-x:auto;scrollbar-width:none;}
.clean-table-wrap::-webkit-scrollbar{display:none;}
.clean-standings-table{width:100%;min-width:960px;table-layout:fixed;}
.clean-standings-table th,.clean-standings-table td{white-space:nowrap;vertical-align:middle;}
.clean-standings-table th{padding:12px 8px 18px;}
.clean-standings-table td{padding:16px 8px;}
.clean-standings-table th:nth-child(1),.clean-standings-table td:nth-child(1){width:58px;text-align:left;}
.clean-standings-table th:nth-child(2),.clean-standings-table td:nth-child(2){width:38%;text-align:left;}
.clean-standings-table th:nth-child(n+3),.clean-standings-table td:nth-child(n+3){width:6%;text-align:center;}
.clean-standings-table th:nth-child(11),.clean-standings-table td:nth-child(11){width:130px;text-align:right;}
.pos-simple{font-weight:800;color:#06113a;}
.clean-standings-table .club-cell{display:flex;align-items:center;gap:14px;min-width:0;white-space:nowrap;}
.clean-standings-table .club-cell img{flex:0 0 auto;width:38px;height:38px;}
.clean-standings-table .club-cell span{display:inline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.clean-standings-table .club-cell b{display:none;}
.clean-standings-table .form-cell{white-space:nowrap;text-align:right;}
.clean-standings-table tbody tr:last-child td{border-bottom:0;}

@media(max-width:1000px){
  .clean-standings-page{padding:34px 18px 44px;}
  .clean-standings-page h1{font-size:34px;}
  .clean-table-wrap{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px;}
  .clean-standings-table{min-width:820px;}
  .clean-standings-table th:nth-child(2),.clean-standings-table td:nth-child(2){width:230px;}
  .clean-standings-table .club-cell span{display:inline;}
  .clean-standings-table .club-cell b{display:none;}
}

@media(max-width:560px){
  .clean-standings-page h1{font-size:30px;}
  .clean-standings-table{min-width:760px;}
  .clean-standings-table .club-cell img{width:34px;height:34px;}
  .clean-standings-table td{font-size:13px;}
}

/* v12: Solid FORM circles */
.form-cell i,
.clean-standings-table .form-cell i{
  display:inline-block !important;
  width:11px !important;
  height:11px !important;
  min-width:11px !important;
  min-height:11px !important;
  border-radius:999px !important;
  margin-left:5px !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  line-height:0 !important;
  font-size:0 !important;
  color:transparent !important;
  text-indent:-9999px !important;
  overflow:hidden !important;
  vertical-align:middle !important;
  background-image:none !important;
  background-clip:border-box !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
}
.form-cell i::before,
.form-cell i::after{content:none !important;display:none !important;}
.form-cell .form-w{background:#33c777 !important;}
.form-cell .form-l{background:#d71920 !important;}
.form-cell .form-t{background:#d7d9df !important;}
@media(max-width:560px){.form-cell i,.clean-standings-table .form-cell i{width:10px !important;height:10px !important;min-width:10px !important;min-height:10px !important;}}


/* v13: Desktop standings alignment + subtle promotion highlight */
.clean-table-wrap{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
}
.clean-standings-table{
  width:100%;
  min-width:1040px;
  table-layout:auto;
  border-collapse:collapse;
}
.clean-standings-table th,
.clean-standings-table td{
  border-bottom:1px solid #e6e9f3;
}
.clean-standings-table th:nth-child(1),
.clean-standings-table td:nth-child(1){width:64px;text-align:left;}
.clean-standings-table th:nth-child(2),
.clean-standings-table td:nth-child(2){width:auto;min-width:270px;text-align:left;}
.clean-standings-table th:nth-child(n+3),
.clean-standings-table td:nth-child(n+3){width:62px;text-align:center;}
.clean-standings-table th:nth-child(11),
.clean-standings-table td:nth-child(11){width:145px;text-align:right;}
.clean-standings-table .club-cell{
  display:table-cell !important;
  align-items:initial !important;
  gap:0 !important;
  min-width:270px;
  white-space:nowrap;
  font-family:Libre Baskerville,serif;
  font-size:17px;
}
.clean-standings-table .club-cell img{
  display:inline-block;
  width:38px;
  height:38px;
  object-fit:contain;
  vertical-align:middle;
  margin-right:14px;
}
.clean-standings-table .club-cell span{
  display:inline-block;
  vertical-align:middle;
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.clean-standings-table .club-cell b{display:none;}
.clean-standings-table tbody tr:first-child{
  background:linear-gradient(90deg, rgba(189,147,255,.18), rgba(189,147,255,.07) 58%, rgba(189,147,255,0));
}
.clean-standings-table tbody tr:first-child td:first-child{
  box-shadow:inset 4px 0 0 #BD93FF;
}
.clean-standings-table tbody tr:first-child td{
  border-bottom-color:rgba(189,147,255,.38);
}
.standings-legend{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:18px;
  color:#06113a;
  font-size:13px;
}
.legend-square{
  display:inline-block;
  width:13px;
  height:13px;
  border-radius:2px;
}
.legend-square.promotion{background:#BD93FF;}
@media(max-width:1000px){
  .clean-standings-table{min-width:900px;}
  .clean-standings-table .club-cell{min-width:240px;}
  .clean-standings-table th:nth-child(2),
  .clean-standings-table td:nth-child(2){min-width:240px;width:auto;}
  .clean-standings-table .club-cell span{max-width:200px;}
  .standings-legend{padding-left:0;}
}
@media(max-width:560px){
  .clean-standings-table{min-width:820px;}
  .clean-standings-table .club-cell img{width:34px;height:34px;}
  .clean-standings-table .club-cell span{max-width:180px;}
}

/* v15 - Mobile standings table reduced proportionally by approx. 15% */
@media(max-width:560px){
  .clean-table-wrap{
    padding-left:12px;
    padding-right:12px;
  }
  .clean-standings-table{
    min-width:697px !important;
    font-size:85%;
  }
  .clean-standings-table th{
    font-size:12px !important;
    padding:10px 6px 12px !important;
  }
  .clean-standings-table td{
    font-size:11px !important;
    padding:12px 6px !important;
  }
  .clean-standings-table th:nth-child(1),
  .clean-standings-table td:nth-child(1){
    width:54px !important;
  }
  .clean-standings-table th:nth-child(2),
  .clean-standings-table td:nth-child(2){
    min-width:204px !important;
    width:auto !important;
  }
  .clean-standings-table th:nth-child(n+3),
  .clean-standings-table td:nth-child(n+3){
    width:53px !important;
  }
  .clean-standings-table th:nth-child(11),
  .clean-standings-table td:nth-child(11){
    width:123px !important;
  }
  .clean-standings-table .club-cell{
    gap:11px !important;
    min-width:204px !important;
    font-size:12px !important;
  }
  .clean-standings-table .club-cell img{
    width:29px !important;
    height:29px !important;
  }
  .clean-standings-table .club-cell span{
    max-width:153px !important;
  }
  .form-cell i,
  .clean-standings-table .form-cell i{
    width:11px !important;
    height:11px !important;
    min-width:11px !important;
    min-height:11px !important;
    margin-left:3px !important;
  }
  .standings-legend{
    font-size:12px !important;
    margin-top:12px !important;
  }
  .legend-square{
    width:11px !important;
    height:11px !important;
  }
}


/* v16: Schedule page */
.schedule-page{background:#f2f2f2;padding-top:54px;}
.schedule-title-row h1{text-transform:uppercase;}
.schedule-date-nav{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:2px 0 22px;padding-bottom:4px;}
.schedule-date-nav::-webkit-scrollbar{display:none;}
.schedule-date-nav button{border:1px solid #d8d8d8;background:#fff;color:#333;border-radius:999px;padding:10px 16px;font-weight:800;white-space:nowrap;cursor:pointer;}
.schedule-date-nav button.active{background:#06113a;color:#fff;border-color:#06113a;}
.schedule-day{margin-bottom:14px;scroll-margin-top:20px;}
.schedule-date-bar{height:68px;background:#dcdcdc;border-radius:12px;display:grid;grid-template-columns:64px 1fr 64px;align-items:center;margin-bottom:18px;color:#333;}
.schedule-date-bar h2{font-family:Inter,sans-serif;text-align:center;margin:0;font-size:17px;font-weight:900;}
.schedule-arrow{width:42px;height:42px;border-radius:999px;border:1px solid rgba(6,17,58,.18);background:rgba(255,255,255,.72);box-shadow:0 8px 20px rgba(6,17,58,.10);color:transparent;font-size:0;line-height:0;display:flex;align-items:center;justify-content:center;margin:auto;cursor:pointer;transition:transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;}
.schedule-arrow::before{content:"";width:11px;height:11px;border-top:3px solid #06113a;border-right:3px solid #06113a;display:block;}
.schedule-date-bar .schedule-arrow:first-child::before{transform:rotate(-135deg);margin-left:4px;}
.schedule-date-bar .schedule-arrow:last-child::before{transform:rotate(45deg);margin-right:4px;}
.schedule-arrow:hover{transform:translateY(-1px) scale(1.04);background:#fff;border-color:rgba(6,17,58,.32);box-shadow:0 12px 24px rgba(6,17,58,.16);}
.schedule-arrow:active{transform:scale(.96);}
.schedule-list{display:grid;gap:12px;}
.schedule-card{background:#fff;border-radius:12px;min-height:108px;display:grid;grid-template-columns:220px 1fr 220px;align-items:center;padding:18px 18px;border:1px solid rgba(0,0,0,.03);}
.schedule-card.played{background:#fbfbfb;}
.schedule-competition{font-size:11px;font-weight:900;color:#777;}
.schedule-matchup{display:grid;grid-template-columns:1fr 96px 1fr;align-items:center;gap:16px;}
.schedule-team{display:flex;align-items:center;gap:12px;font-weight:900;font-size:16px;color:#222;white-space:nowrap;}
.schedule-team.home{justify-content:flex-end;text-align:right;}
.schedule-team.away{justify-content:flex-start;text-align:left;}
.schedule-team img{width:44px;height:44px;object-fit:contain;flex:0 0 auto;}
.schedule-time,.schedule-score{text-align:center;color:#333;}
.schedule-time strong,.schedule-score strong{font-size:13px;font-weight:900;white-space:nowrap;}
.schedule-score strong{font-size:18px;background:#f0f1f6;border-radius:8px;padding:5px 12px;display:inline-block;}
.schedule-time span,.schedule-score span{display:block;margin-top:5px;color:#777;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.schedule-info{justify-self:center;color:#777;font-size:11px;line-height:1.55;font-weight:800;}
.schedule-info span,.schedule-info strong{display:block;}
.schedule-info strong{color:#777;}
@media(max-width:1000px){
  .schedule-page{padding-top:34px;background:#f2f2f2;}
  .schedule-date-nav{margin-left:-4px;margin-right:-4px;}
  .schedule-date-nav button{font-size:12px;padding:9px 13px;}
  .schedule-date-bar{height:58px;grid-template-columns:52px 1fr 52px;margin-bottom:12px;border-radius:11px;}
  .schedule-date-bar h2{font-size:15px;}
  .schedule-arrow{width:36px;height:36px;}
  .schedule-arrow::before{width:9px;height:9px;border-width:2.5px;}
  .schedule-card{grid-template-columns:1fr;gap:12px;min-height:132px;padding:16px;border-radius:12px;}
  .schedule-competition{font-size:10px;}
  .schedule-matchup{grid-template-columns:1fr 76px 1fr;gap:8px;}
  .schedule-team{font-size:13px;gap:7px;}
  .schedule-team img{width:34px;height:34px;}
  .schedule-score strong{font-size:14px;padding:4px 9px;}
  .schedule-info{justify-self:start;display:flex;gap:12px;font-size:10px;}
}
@media(max-width:560px){
  .schedule-page{padding-left:14px;padding-right:14px;}
  .schedule-title-row h1{font-size:30px;}
  .schedule-card{padding:14px 12px;}
  .schedule-matchup{grid-template-columns:1fr 64px 1fr;}
  .schedule-team{font-size:12px;}
  .schedule-team img{width:31px;height:31px;}
}

/* Schedule v17: single visible matchday controlled by arrows */
.schedule-date-nav{display:none!important;}
.schedule-days{position:relative;}
.schedule-day{display:none;margin-bottom:0;animation:scheduleFade .24s ease both;}
.schedule-day.active{display:block;}
@keyframes scheduleFade{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.schedule-info strong:empty{display:none;}
.schedule-info{min-height:0;}
@media (max-width: 760px){
  .schedule-competition{text-align:center;width:100%;}
  .schedule-info{justify-self:center;text-align:center;display:block;width:100%;}
  .schedule-info span{display:block;text-align:center;}
}

.schedule-arrow.is-hidden {
  visibility: hidden;
  pointer-events: none;
}


/* v20: Footer color, Clubs, Team Schedule and News pages */
:root{--footer:#06113a;}
.site-footer{background:#06113a!important;}
.side-nav nav a.active,.mobile-nav-links a.active{color:#BD93FF;}
.clubs-page,.news-page,.team-schedule-page{background:#f2f2f2;min-height:520px;}
.clubs-grid{border-top:1px solid rgba(6,17,58,.08);border-bottom:1px solid rgba(6,17,58,.08);padding:28px 22px 34px;display:grid;grid-template-columns:repeat(4,1fr);gap:34px 52px;background:#f2f2f2;}
.club-card{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:18px;min-height:78px;}
.club-card img{width:56px;height:56px;object-fit:contain;}
.club-card h2{margin:0 0 7px;font-size:18px;line-height:1.05;color:#333;font-weight:900;}
.club-actions{display:flex;align-items:center;gap:7px;}
.club-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:22px;border-radius:7px;background:#fff;color:#111;text-decoration:none;font-size:10px;font-weight:800;padding:0 10px;box-shadow:0 1px 0 rgba(0,0,0,.04);}
.club-actions span{width:1px;height:18px;background:#d8d8d8;display:block;}
.team-schedule-title{display:flex!important;align-items:center;justify-content:space-between;gap:24px;}
.team-schedule-badge{display:flex;align-items:center;gap:12px;background:#fff;border-radius:999px;padding:8px 15px;font-weight:900;color:#222;box-shadow:0 8px 20px rgba(6,17,58,.06);}
.team-schedule-badge img{width:38px;height:38px;object-fit:contain;}
.team-schedule-list{display:grid;gap:12px;}
.team-schedule-list .schedule-card{grid-template-columns:230px 1fr 210px;}
.team-schedule-list .schedule-competition{display:flex;flex-direction:column;gap:5px;}
.team-schedule-list .schedule-competition em{font-style:normal;color:#9a9a9a;font-size:11px;font-weight:800;}
.news-grid-page{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding-bottom:20px;}
.news-card{background:#08090d;border:0;border-radius:16px;overflow:hidden;color:#fff;min-height:385px;display:flex;flex-direction:column;box-shadow:none;}
.news-image{height:205px;position:relative;background:#111;overflow:hidden;}
.news-image::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,rgba(0,0,0,0),#08090d 90%);}
.news-image img{width:100%;height:100%;object-fit:cover;display:block;}
.news-content{padding:18px 18px 16px;display:flex;flex-direction:column;flex:1;}
.news-content span{font-size:11px;line-height:1;color:#BD93FF;text-transform:uppercase;font-weight:900;letter-spacing:.04em;}
.news-content h2{font-family:Inter,Arial,sans-serif;font-size:21px;line-height:1.08;margin:10px 0 20px;color:#fff;font-weight:900;letter-spacing:-.04em;}
.news-meta{border-top:1px solid rgba(255,255,255,.09);margin-top:auto;padding-top:16px;display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;color:#aaa;font-size:11px;font-weight:900;}
.news-meta b{display:block;width:18px;height:3px;background:#BD93FF;border-radius:999px;}
.news-meta time{justify-self:end;}
@media(max-width:1200px){.clubs-grid{grid-template-columns:repeat(3,1fr);gap:30px}.news-grid-page{grid-template-columns:repeat(3,1fr);}}
@media(max-width:1000px){.clubs-grid{grid-template-columns:repeat(2,1fr);padding:22px 0;gap:26px 20px}.club-card{grid-template-columns:52px 1fr}.club-card img{width:50px;height:50px}.news-grid-page{grid-template-columns:repeat(2,1fr)}.team-schedule-title{display:block!important}.team-schedule-badge{width:max-content;margin-top:14px}.team-schedule-list .schedule-card{grid-template-columns:1fr;}.team-schedule-list .schedule-competition{align-items:center;text-align:center}.team-schedule-list .schedule-info{justify-self:center;text-align:center;}}
@media(max-width:560px){.clubs-grid{grid-template-columns:1fr;gap:24px;padding:18px 0}.club-card{grid-template-columns:58px 1fr}.club-card h2{font-size:17px}.club-actions a{min-width:52px}.news-grid-page{grid-template-columns:1fr;gap:18px}.news-card{min-height:380px}.news-image{height:215px}.news-content h2{font-size:22px}.team-schedule-badge img{width:34px;height:34px}}

/* v21: News accents and active page highlight */
.news-content span{color:#BD93FF!important;}
.news-meta b{background:#3f4652!important;}
.news-card{border:0!important;box-shadow:none!important;}
.side-nav nav a.active,.mobile-nav-links a.active{color:#BD93FF!important;}

/* v24 team schedule header + mobile abbreviations */
.team-schedule-title{display:flex!important;align-items:center;justify-content:space-between;gap:24px;}
.team-schedule-title-logo{width:76px;height:76px;object-fit:contain;display:block;filter:drop-shadow(0 8px 16px rgba(6,17,58,.10));}
.team-schedule-badge{background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;}
.team-schedule-badge span{display:none!important;}
.team-schedule-badge img{width:76px!important;height:76px!important;}
@media(max-width:1000px){
  .team-schedule-title{display:flex!important;align-items:center;justify-content:space-between;gap:16px;}
  .team-schedule-title h1{margin:0;}
  .team-schedule-title-logo{width:58px;height:58px;margin-left:auto;flex:0 0 auto;}
}
@media(max-width:560px){
  .team-schedule-title-logo{width:48px;height:48px;}
  .team-schedule-list .schedule-team span[data-abbr]{font-size:0!important;line-height:1;}
  .team-schedule-list .schedule-team span[data-abbr]::after{content:attr(data-abbr);font-size:13px;font-weight:900;letter-spacing:.02em;}
}


/* v25 roster page */
.roster-page{background:#f2f2f2;min-height:560px;}
.roster-search-bar{display:grid;grid-template-columns:1fr 360px;align-items:center;gap:24px;background:#fff;border:1px solid #d8d8d8;padding:26px 28px;margin:0 0 24px;box-shadow:0 1px 0 rgba(0,0,0,.03);}
.roster-search-bar label{font-size:18px;font-weight:900;color:#111;}
.roster-search-bar input{width:100%;height:54px;border:1px solid #cfcfcf;border-radius:999px;background:#f7f7f7;padding:0 24px;font-size:15px;font-weight:800;color:#111;outline:none;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;}
.roster-search-bar input:focus{background:#fff;border-color:#BD93FF;box-shadow:0 0 0 4px rgba(189,147,255,.16);}
.roster-table-wrap{background:#fff;border:1px solid #d8d8d8;overflow-x:auto;}
.roster-table{width:100%;min-width:980px;border-collapse:collapse;color:#111;}
.roster-table th{padding:18px 20px 22px;text-align:left;border-bottom:1px solid #bfc1c7;font-size:16px;font-weight:900;white-space:nowrap;cursor:pointer;user-select:none;}
.roster-table th:not(:first-child),.roster-table td:not(:first-child){text-align:center;}
.roster-table th span{display:block;width:12px;height:2px;background:#9b9b9b;margin-top:8px;border-radius:99px;position:relative;}
.roster-table th.sorted-desc span::after{content:"";position:absolute;left:3px;top:4px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #BD93FF;}
.roster-table th.sorted-asc span::after{content:"";position:absolute;left:3px;bottom:4px;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:5px solid #BD93FF;}
.roster-table td{padding:25px 20px;font-size:18px;font-weight:700;vertical-align:middle;white-space:nowrap;}
.roster-table tbody tr{border-bottom:0;transition:background .18s ease;}
.roster-table tbody tr:hover{background:#faf7ff;}
.roster-player strong{font-weight:900;}
@media(max-width:1000px){
  .roster-search-bar{grid-template-columns:1fr;gap:14px;padding:20px 18px;}
  .roster-search-bar input{height:48px;font-size:14px;}
  .roster-table-wrap{margin-left:-18px;margin-right:-18px;border-left:0;border-right:0;}
  .roster-table{min-width:760px;}
  .roster-table th{font-size:13px;padding:15px 14px 18px;}
  .roster-table td{font-size:14px;padding:20px 14px;}
}
@media(max-width:560px){
  .roster-search-bar label{font-size:16px;}
  .roster-table{min-width:690px;}
  .roster-table td{font-size:13px;}
}

/* v26 roster title logo + lighter roster data */
.roster-title-row{display:flex!important;align-items:center;justify-content:space-between;gap:24px;}
.roster-title-logo{width:76px;height:76px;object-fit:contain;display:block;filter:drop-shadow(0 8px 16px rgba(6,17,58,.10));}
.roster-table td{font-weight:100!important;}
.roster-table th{font-weight:900!important;}
.roster-table .roster-player strong,
.roster-table tbody td:first-child{font-weight:900!important;}
@media(max-width:1000px){.roster-title-row{display:flex!important;}.roster-title-row h1{margin:0;}.roster-title-logo{width:58px;height:58px;margin-left:auto;}}
@media(max-width:560px){.roster-title-logo{width:48px;height:48px;}}

/* v26 stats overview */
.stats-page{background:#eee;min-height:700px;color:#111;}
.stats-page .clean-title-row{margin-bottom:34px;}
.stats-block{margin:0 0 54px;}
.stats-block h2{font-family:Inter,Arial,sans-serif;font-size:31px;line-height:1;margin:0 0 24px;font-weight:900;letter-spacing:-.055em;color:#111;}
.stats-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;}
.leader-stat-card{background:#fff;min-height:420px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.04);}
.leader-visual{height:210px;position:relative;background:linear-gradient(110deg,#fff 0%,#fff 58%,#e8e8e8 58%,#f3f3f3 100%);overflow:hidden;}
.leader-visual::before{content:"";position:absolute;right:17%;top:-20%;width:220px;height:280px;background:rgba(0,0,0,.035);clip-path:polygon(45% 0,100% 0,62% 100%,0 100%);transform:skew(-6deg);}
.leader-visual h3{position:absolute;left:24px;top:24px;margin:0;font-size:20px;font-weight:900;letter-spacing:-.04em;z-index:2;}
.leader-team-logo{position:absolute;left:28px;bottom:42px;width:64px;height:64px;object-fit:contain;z-index:2;}
.team-main-logo{position:absolute;left:50%;top:50%;width:142px;height:142px;object-fit:contain;transform:translate(-50%,-46%);z-index:2;}
.player-silhouette{position:absolute;right:44px;bottom:0;width:235px;height:195px;background:linear-gradient(180deg,#d9d9d9,#a9a9a9);clip-path:ellipse(38% 47% at 50% 52%);opacity:.52;}
.player-silhouette.player-photo{background:url('https://theufleague.com/img/ufl_news_3.jpg') center/cover no-repeat;clip-path:inset(0 0 0 0 round 0);width:245px;opacity:.95;}
.leader-band{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;background:#0d5c22;color:#fff;}
.assists-card .leader-band{background:#BD93FF;color:#fff;}
.team-goals-card .leader-band{background:#06113a;}
.team-assists-card .leader-band{background:#1769d8;}
.leader-band strong{display:block;font-size:27px;line-height:1;font-weight:900;letter-spacing:-.05em;}
.leader-band span{display:block;font-size:15px;font-weight:900;margin-top:4px;opacity:.94;}
.leader-band b{font-size:44px;line-height:1;font-weight:900;}
.leader-stat-card ul{list-style:none;margin:0;padding:13px 24px 18px;}
.leader-stat-card li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #d8d8d8;font-size:17px;}
.leader-stat-card li span{display:flex;gap:12px;align-items:baseline;min-width:0;}
.leader-stat-card li b{font-weight:900;white-space:nowrap;}
.leader-stat-card li em{font-style:normal;color:#777;font-weight:800;white-space:nowrap;}
.leader-stat-card li strong{font-weight:900;}
.leader-stat-card>a,.suspension-card>a{margin:auto 24px 18px auto;color:#111;text-decoration:none;font-weight:900;font-size:17px;display:flex;align-items:center;gap:10px;}
.leader-stat-card>a i,.suspension-card>a i{font-size:36px;font-style:normal;line-height:.7;}
.discipline-card{min-height:370px;}
.discipline-head{height:136px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;color:#111;}
.discipline-head.yellow{background:#f5cf45;}
.discipline-head.red{background:#db3035;color:#fff;}
.discipline-head strong{font-size:30px;font-weight:900;letter-spacing:-.055em;}
.discipline-head b{font-size:58px;font-weight:900;letter-spacing:-.07em;}
.suspension-card{background:#fff;margin-top:8px;overflow:hidden;}
.suspension-head{height:145px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px;}
.suspension-head h2{color:#fff!important;margin:0!important;font-size:26px!important;}
.suspension-head span{display:none;}
.suspension-card ul{list-style:none;margin:0;padding:0 34px;}
.suspension-card li{display:grid;grid-template-columns:1.4fr 1fr auto;gap:20px;align-items:center;border-bottom:1px solid #cfcfcf;padding:27px 0;font-size:22px;}
.suspension-card li span{display:flex;gap:18px;align-items:baseline;min-width:0;}
.suspension-card li span b{font-size:25px;font-weight:900;white-space:nowrap;}
.suspension-card li em{font-style:normal;color:#777;font-weight:900;white-space:nowrap;}
.suspension-card li>strong{justify-self:end;color:#777;font-weight:900;}
.suspension-card li>b{font-weight:900;white-space:nowrap;}
@media(max-width:1000px){.stats-card-grid{grid-template-columns:1fr;gap:24px}.stats-block{margin-bottom:44px}.stats-block h2{font-size:28px}.leader-visual{height:190px}.suspension-card li{grid-template-columns:1fr;gap:8px;font-size:18px}.suspension-card li>strong{justify-self:start}.suspension-head{height:118px}.suspension-head h2{font-size:26px!important}.suspension-head span{display:none}}
@media(max-width:560px){.stats-page{padding-left:18px!important;padding-right:18px!important}.stats-card-grid{gap:18px}.leader-stat-card{min-height:390px}.leader-visual{height:168px}.leader-band{min-height:68px}.leader-band strong{font-size:22px}.leader-band b{font-size:38px}.leader-stat-card li{font-size:14px}.leader-stat-card li span{gap:8px}.leader-stat-card li em{font-size:13px}.player-silhouette{right:12px;width:190px;height:160px}.leader-team-logo{width:48px;height:48px}.team-main-logo{width:108px;height:108px}.discipline-head{height:112px}.discipline-head strong{font-size:24px}.discipline-head b{font-size:46px}.suspension-head{padding:0 22px}.suspension-card ul{padding:0 22px}.suspension-card li span{display:block}.suspension-card li span b,.suspension-card li em{display:block}.leader-stat-card>a,.suspension-card>a{font-size:14px}}

/* v26 all stats page */
.all-stats-page{background:#eee;color:#111;min-height:650px;}
.stats-tabs{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 34px;}
.stats-tabs button{border:0;border-radius:999px;background:#dedede;color:#111;font-weight:900;padding:14px 24px;cursor:pointer;transition:.2s ease;font-size:14px;}
.stats-tabs button.active{background:#111;color:#fff;box-shadow:0 0 0 2px #BD93FF;}
.all-stats-search{display:grid;grid-template-columns:1fr 360px;align-items:center;gap:24px;background:#fff;border:1px solid #d8d8d8;padding:20px 24px;margin:0 0 22px;}
.all-stats-search label{font-size:17px;font-weight:900;}
.all-stats-search input{height:52px;border:1px solid #cfcfcf;border-radius:999px;background:#f7f7f7;padding:0 22px;font-size:15px;font-weight:800;outline:none;}
.all-stats-search input:focus{background:#fff;border-color:#BD93FF;box-shadow:0 0 0 4px rgba(189,147,255,.16);}
.all-stats-table-panel{display:none;}
.all-stats-table-panel.active{display:block;}
.all-stats-table td{font-weight:100!important;}
.all-stats-table td:first-child,.all-stats-table th{font-weight:900!important;}
@media(max-width:1000px){.all-stats-search{grid-template-columns:1fr;gap:12px}.stats-tabs{gap:10px}.stats-tabs button{padding:12px 18px}.all-stats-page .roster-table-wrap{margin-left:-18px;margin-right:-18px;border-left:0;border-right:0}}
@media(max-width:560px){.stats-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.stats-tabs button{white-space:nowrap}.all-stats-search input{height:48px}}

/* v27 stats refinements */
.stats-block h2{
  font-family:Libre Baskerville,serif;
  font-style:italic;
  font-size:23px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.04em;
  color:#06113a;
  text-transform:uppercase;
}
.stats-page .leader-visual{
  height:92px;
  background:linear-gradient(110deg,#fff 0%,#fff 62%,#f0f0f0 62%,#fafafa 100%);
}
.stats-page .leader-visual::before{opacity:.45;}
.stats-page .leader-visual img,
.stats-page .player-silhouette,
.stats-page .leader-team-logo,
.stats-page .team-main-logo{display:none!important;}
.stats-page .leader-visual h3{top:50%;transform:translateY(-50%);}
.stats-page .leader-stat-card li,
.stats-page .suspension-card li{font-size:13px;}
.stats-page .leader-stat-card li em,
.stats-page .leader-stat-card li b,
.stats-page .leader-stat-card li strong{font-size:13px;}
.stats-page .suspension-card li span b,
.stats-page .suspension-card li em,
.stats-page .suspension-card li>strong,
.stats-page .suspension-card li>b{font-size:13px;}
.stats-page .suspension-card{width:calc(50% - 17px);}
.all-stats-page .roster-table th,
.all-stats-page .roster-table td,
.all-stats-table th,
.all-stats-table td{font-size:13px!important;}
@media(max-width:1000px){
  .stats-block h2{font-size:21px;}
  .stats-page .leader-visual{height:86px;}
  .stats-page .suspension-card{width:100%;}
}
@media(max-width:560px){
  .stats-block h2{font-size:19px;}
  .stats-page .leader-stat-card li,
  .stats-page .suspension-card li{font-size:13px;}
}

/* v28 suspension card layout refinements */
.stats-page .suspension-card{
  width:100%;
  max-width:none;
}
.stats-page .suspension-head{
  height:145px;
  padding:0 34px;
}
.stats-page .suspension-head h2{
  font-size:44px!important;
}
.stats-page .suspension-head span{
  font-size:22px;
}
.stats-page .suspension-card ul{
  padding:0 34px;
}
.stats-page .suspension-card li{
  grid-template-columns:1.25fr 1fr auto;
  gap:24px;
  padding:27px 0;
  align-items:center;
}
.stats-page .suspension-card li span{
  display:flex;
  align-items:baseline;
  gap:18px;
}
.stats-page .suspension-card li span b,
.stats-page .suspension-card li em,
.stats-page .suspension-card li>strong,
.stats-page .suspension-card li>b{
  font-size:22px!important;
}
.stats-page .suspension-card li span b,
.stats-page .suspension-card li>b{
  font-weight:900!important;
}
.stats-page .suspension-card li em,
.stats-page .suspension-card li>strong{
  color:#777;
  font-weight:900!important;
}
.stats-page .suspension-card li>strong{
  justify-self:end;
  text-align:right;
}
.stats-page .suspension-card>a{
  font-size:22px;
  margin:48px 34px 22px auto;
}
@media(max-width:760px){
  .stats-page .suspension-head{
    height:120px;
    padding:0 22px;
  }
  .stats-page .suspension-head h2{
    font-size:34px!important;
  }
  .stats-page .suspension-head span{
    font-size:16px;
  }
  .stats-page .suspension-card ul{
    padding:0 22px;
  }
  .stats-page .suspension-card li{
    grid-template-columns:minmax(0,1fr) minmax(116px,.82fr);
    grid-template-areas:"player reason" "player games";
    column-gap:18px;
    row-gap:8px;
    padding:24px 0;
  }
  .stats-page .suspension-card li span{
    grid-area:player;
    display:block;
    min-width:0;
  }
  .stats-page .suspension-card li>strong{
    grid-area:reason;
    justify-self:end;
    text-align:right;
    line-height:1.08;
  }
  .stats-page .suspension-card li>b{
    grid-area:games;
    justify-self:end;
    text-align:right;
  }
  .stats-page .suspension-card li span b,
  .stats-page .suspension-card li em,
  .stats-page .suspension-card li>strong,
  .stats-page .suspension-card li>b{
    font-size:18px!important;
  }
  .stats-page .suspension-card li span b,
  .stats-page .suspension-card li em{
    display:block;
    line-height:1.25;
  }
  .stats-page .suspension-card li em{
    margin-top:8px;
  }
  .stats-page .suspension-card>a{
    font-size:18px;
    margin:38px 22px 20px auto;
  }
}

/* v29 suspension sizing + alignment refinements */
.stats-page .suspension-card{
  width:calc(50% - 17px)!important;
  max-width:none;
}
.stats-page .suspension-card li span b,
.stats-page .suspension-card li em,
.stats-page .suspension-card li>strong,
.stats-page .suspension-card li>b{
  font-size:13px!important;
  line-height:1.35;
}
.stats-page .suspension-card li{
  grid-template-columns:1.25fr 1fr auto;
  gap:18px;
  padding:18px 0;
}
.stats-page .suspension-card>a{
  margin:28px 34px 20px auto!important;
  justify-content:flex-end;
  text-align:right;
  width:max-content;
  font-size:17px!important;
}
@media(max-width:760px){
  .stats-page .suspension-card{
    width:100%!important;
  }
  .stats-page .suspension-card li{
    grid-template-columns:minmax(0,1fr) minmax(116px,.82fr);
    grid-template-areas:"player reason" "player games";
    column-gap:18px;
    row-gap:8px;
    padding:24px 0;
  }
  .stats-page .suspension-card li span b,
  .stats-page .suspension-card li em,
  .stats-page .suspension-card li>strong,
  .stats-page .suspension-card li>b{
    font-size:18px!important;
  }
  .stats-page .suspension-card li>strong,
  .stats-page .suspension-card li>b{
    justify-self:end;
    text-align:right;
  }
  .stats-page .suspension-card>a{
    margin:38px 22px 20px auto!important;
    justify-content:flex-end;
    text-align:right;
    font-size:18px!important;
  }
}

/* v30 mobile suspension card refinements */
@media(max-width:760px){
  .stats-page .suspension-head{
    height:88px!important;
    padding:0 22px!important;
  }
  .stats-page .suspension-head h2{
    font-size:17px!important;
    line-height:1!important;
  }
  .stats-page .suspension-head span{
    display:none!important;
  }
  .stats-page .suspension-card li span b,
  .stats-page .suspension-card li em,
  .stats-page .suspension-card li>strong,
  .stats-page .suspension-card li>b{
    font-size:13px!important;
    line-height:1.35!important;
  }
  .stats-page .suspension-card li{
    padding:18px 0!important;
    column-gap:14px!important;
    row-gap:6px!important;
  }
  .stats-page .suspension-card li em{
    margin-top:5px!important;
  }
  .stats-page .suspension-card>a{
    font-size:13px!important;
    margin:28px 22px 18px auto!important;
  }
  .stats-page .suspension-card>a i{
    font-size:28px!important;
  }
}


/* v31 suspension header refinement */
.suspension-head{justify-content:flex-start;}
.suspension-head h2{font-size:26px!important;}
.suspension-head span{display:none!important;}
@media(max-width:560px){.suspension-head h2{font-size:22px!important;}}


/* UC League v32 - Light premium Clubs page refresh */
.clubs-page{
  background:linear-gradient(180deg,#f7f7fb 0%,#ffffff 42%,#f4f5fb 100%);
  min-height:560px;
}
.clubs-page .clean-title-row{
  border-bottom:0;
  margin-bottom:18px;
}
.clubs-page .clean-title-row h1{
  color:#06113a;
}
.clubs-grid{
  border:0!important;
  background:transparent!important;
  padding:14px 0 34px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:26px!important;
}
.club-card{
  position:relative;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  min-height:250px!important;
  padding:28px 18px 20px;
  overflow:hidden;
  border-radius:24px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(6,17,58,.08);
  box-shadow:0 18px 48px rgba(6,17,58,.08);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.club-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,rgba(45,45,45,.08),#4f5663,rgba(45,45,45,.08));
}
.club-card::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-55px;
  top:-55px;
  background:radial-gradient(circle,rgba(54,59,68,.14),rgba(54,59,68,0) 66%);
  pointer-events:none;
}
.club-card:hover{
  transform:translateY(-7px);
  border-color:rgba(54,59,68,.32);
  box-shadow:0 26px 65px rgba(6,17,58,.13);
}
.club-card img{
  width:104px!important;
  height:104px!important;
  object-fit:contain;
  margin:4px 0 16px;
  filter:drop-shadow(0 12px 16px rgba(6,17,58,.12));
  transition:transform .28s ease;
}
.club-card:hover img{transform:scale(1.06)}
.club-info{
  width:100%;
  text-align:center;
}
.club-card h2{
  margin:0 0 18px!important;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:Libre Baskerville,serif;
  font-style:italic;
  font-size:22px!important;
  line-height:1.05!important;
  color:#06113a!important;
  font-weight:700!important;
  letter-spacing:-.03em;
}
.club-actions{
  width:100%;
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:8px!important;
  padding:16px 10px 0;
  border-top:1px solid rgba(6,17,58,.08);
}
.club-actions a{
  min-width:auto!important;
  flex:0 0 auto;
  height:34px!important;
  padding:0 13px!important;
  border-radius:999px!important;
  background:#f4f5f7!important;
  color:#06113a!important;
  border:1px solid rgba(54,59,68,.18);
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase;
  letter-spacing:.04em;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.club-actions a:hover{
  background:#3f4652!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.club-actions span{display:none!important;}
@media(max-width:1200px){
  .clubs-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;}
  .club-card{min-height:240px!important;padding:26px 14px 18px;}
  .club-card img{width:92px!important;height:92px!important;}
  .club-card h2{font-size:20px!important;}
  .club-actions{gap:6px!important;}
  .club-actions a{font-size:10px!important;padding:0 10px!important;}
}
@media(max-width:1000px){
  .clubs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px 0 28px!important;gap:18px!important;}
  .club-card{min-height:220px!important;}
}
@media(max-width:560px){
  .clubs-page{background:#f7f7fb;}
  .clubs-grid{grid-template-columns:1fr!important;gap:16px!important;padding:8px 0 20px!important;}
  .club-card{
    min-height:150px!important;
    display:grid!important;
    grid-template-columns:82px 1fr;
    align-items:center;
    text-align:left;
    padding:20px 16px 18px;
    border-radius:20px;
  }
  .club-card img{width:70px!important;height:70px!important;margin:0;}
  .club-info{text-align:left;}
  .club-card h2{justify-content:flex-start;min-height:auto;margin:0 0 14px!important;font-size:20px!important;text-align:left;}
  .club-actions{justify-content:flex-start;padding:12px 4px 0;overflow-x:auto;scrollbar-width:none;}
  .club-actions::-webkit-scrollbar{display:none;}
  .club-actions a{height:30px!important;font-size:9px!important;padding:0 10px!important;white-space:nowrap;}
}

/* v34 Clubs links refinement - plain text links separated by pipes */
.club-actions{
  gap:10px!important;
  padding:18px 12px 0!important;
  border-top:1px solid rgba(6,17,58,.08)!important;
  flex-wrap:wrap;
}
.club-actions a{
  height:auto!important;
  min-width:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#333b49!important;
  font-size:11px!important;
  line-height:1.2!important;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.club-actions a:hover{
  background:transparent!important;
  color:#06113a!important;
  transform:none!important;
  text-decoration:underline;
  text-underline-offset:3px;
}
.club-actions span{
  display:inline-flex!important;
  width:auto!important;
  height:auto!important;
  background:transparent!important;
  color:#9aa0ad!important;
  font-size:12px!important;
  line-height:1!important;
}
.club-actions span::before{content:"|";}
@media(max-width:560px){
  .club-actions{
    gap:8px!important;
    padding:12px 2px 0!important;
    overflow:visible!important;
  }
  .club-actions a{font-size:9.5px!important;white-space:nowrap;}
  .club-actions span{font-size:10px!important;}
}

/* v35 - Current leader card in every menu */
.side-card.current-leader-card strong{
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#6d7290;
  font-size:11px;
  font-weight:900;
}
.side-card.current-leader-card span{
  font-family:Libre Baskerville,serif;
  font-style:italic;
  color:#06113a;
  font-size:17px;
  line-height:1.05;
}
.side-card-link{
  display:inline-block;
  border:1px solid rgba(6,17,58,.14);
  background:#fff;
  color:var(--ink);
  padding:10px 18px;
  border-radius:4px;
  margin-top:14px;
  font-family:Libre Baskerville,serif;
  font-size:13px;
  text-decoration:none;
}
.mobile-menu-card.current-leader-mobile small{
  letter-spacing:.08em;
  text-transform:uppercase;
}


/* v36 roster + timeline refinements */
.roster-page .roster-table th,
.roster-page .roster-table td{font-size:13px!important;}
.roster-page .roster-table td{font-weight:100!important;}
.roster-page .roster-table th,
.roster-page .roster-table .roster-player strong,
.roster-page .roster-table tbody td:first-child{font-weight:900!important;}

.timeline-body{background:#eee;}
.timeline-shell{background:#eee;min-height:100vh;}
.timeline-hero{position:relative;min-height:360px;background-image:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.5)),url('https://theufleague.com/img/timeline_bg.jpg');background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;padding:60px 24px;}
.timeline-hero-content{width:100%;max-width:1100px;margin:0 auto;}
.timeline-meta{font-size:15px;font-weight:900;margin-bottom:6px;}
.timeline-date{font-size:20px;font-weight:800;margin-bottom:34px;}
.timeline-status{font-size:15px;font-weight:900;margin-bottom:18px;}
.timeline-scoreboard{display:grid;grid-template-columns:1fr auto 1fr;gap:28px;align-items:center;}
.timeline-team{display:flex;align-items:center;gap:16px;font-size:30px;font-weight:900;line-height:1;}
.timeline-team.home{justify-content:flex-end;}
.timeline-team.away{justify-content:flex-start;}
.timeline-team img{width:58px;height:58px;object-fit:contain;}
.timeline-pos{font-size:14px;font-weight:800;opacity:.82;}
.timeline-score{background:rgba(255,255,255,.2);border-radius:6px;padding:13px 24px;font-size:42px;font-weight:900;letter-spacing:.02em;backdrop-filter:blur(3px);}
.timeline-score span{opacity:.65;margin:0 12px;font-weight:300;}
.timeline-tabs{background:#f7f7f7;border-bottom:1px solid #dadada;position:sticky;top:0;z-index:8;}
.timeline-tabs-inner{max-width:1100px;margin:0 auto;display:flex;gap:34px;padding:0 24px;}
.timeline-tab{border:0;background:transparent;padding:22px 0 18px;font-size:16px;font-weight:900;color:#9a9a9a;cursor:pointer;border-bottom:3px solid transparent;}
.timeline-tab.active{color:#111;border-bottom-color:#20c9ef;}
.timeline-panel{display:none;max-width:1100px;margin:0 auto;padding:55px 24px 80px;}
.timeline-panel.active{display:block;}
.match-timeline{position:relative;max-width:820px;margin:0 auto;}
.match-timeline:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:#d7d7d7;}
.timeline-event{display:grid;grid-template-columns:1fr 70px 1fr;align-items:center;min-height:78px;border-bottom:1px solid #d6d6d6;position:relative;}
.timeline-event .event-left{text-align:right;padding-right:18px;}
.timeline-event .event-right{text-align:left;padding-left:18px;}
.event-marker{justify-self:center;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #d9d9d9;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;z-index:1;box-shadow:0 1px 4px rgba(0,0,0,.08);}
.event-card{display:inline-flex;align-items:center;gap:12px;max-width:100%;}
.event-card img{width:32px;height:32px;object-fit:contain;}
.event-card b{display:block;font-size:15px;font-weight:900;color:#111;}
.event-card small{display:block;font-size:13px;font-weight:700;color:#777;margin-top:2px;}
.event-card .yellow-card{display:inline-block;width:10px;height:14px;border-radius:2px;background:#ffd629;box-shadow:0 0 0 2px rgba(255,214,41,.18);}
.event-card .red-card{display:inline-block;width:10px;height:14px;border-radius:2px;background:#ff3b30;box-shadow:0 0 0 2px rgba(255,59,48,.18);}
.event-card .goal-icon{font-size:17px;}
.event-score{background:#e8e8e8;border-radius:4px;padding:5px 11px;font-size:14px;font-weight:900;color:#111;}
.lineups-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;}
.lineup-team-title{display:flex;align-items:center;gap:18px;font-size:25px;font-weight:900;margin-bottom:26px;}
.lineup-team-title img{width:50px;height:50px;object-fit:contain;}
.lineup-list{list-style:none;margin:0;padding:0;}
.lineup-list li{display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center;border-bottom:1px solid #d6d6d6;padding:16px 0;font-size:18px;color:#333;}
.lineup-list b{font-weight:900;color:#111;}
.lineup-list span{font-weight:700;}
.lineup-list em{font-style:normal;color:#777;font-size:14px;font-weight:800;}
.lineup-list .goal-note{font-size:16px;color:#111;}
@media(max-width:1000px){.timeline-tabs{top:73px}.timeline-hero{min-height:330px}.timeline-scoreboard{gap:16px}.timeline-team{font-size:22px}.timeline-team img{width:48px;height:48px}.timeline-score{font-size:32px;padding:12px 18px}.lineups-grid{grid-template-columns:1fr;gap:44px}.timeline-panel{padding:42px 20px 64px}}
@media(max-width:560px){.timeline-tabs{top:84px}.timeline-hero{min-height:310px;padding:38px 16px}.timeline-meta{font-size:12px}.timeline-date{font-size:16px;margin-bottom:28px}.timeline-status{font-size:13px}.timeline-scoreboard{grid-template-columns:1fr;gap:12px}.timeline-team,.timeline-team.home,.timeline-team.away{justify-content:center;font-size:24px}.timeline-team.home{flex-direction:row}.timeline-score{order:2;font-size:30px;padding:10px 18px}.timeline-team.away{order:3}.timeline-tabs-inner{gap:30px;padding:0 18px}.timeline-tab{font-size:15px;padding:18px 0 14px}.timeline-panel{padding:34px 18px 58px}.match-timeline:before{left:34px}.timeline-event{grid-template-columns:68px 1fr;min-height:86px}.timeline-event .event-left,.timeline-event .event-right{text-align:left;padding:0 0 0 12px;grid-column:2}.event-marker{grid-column:1;grid-row:1;justify-self:start;margin-left:17px}.timeline-event .event-left:empty{display:none}.event-card{gap:9px}.event-card b{font-size:13px}.event-card small{font-size:12px}.lineup-team-title{font-size:22px}.lineup-list li{font-size:15px;grid-template-columns:34px 1fr auto;padding:14px 0}.lineup-list em{font-size:12px}}

/* v36 final requested tweaks */
@media (min-width:1001px){
  .roster-table th,
  .roster-table td{font-size:13px!important;}
}

/* Timeline page */
.timeline-body{background:#eee;color:#111;}
.timeline-hero{position:relative;min-height:360px;background-image:linear-gradient(rgba(0,0,0,.58),rgba(0,0,0,.58)),url('https://theufleague.com/img/timeline_bg.jpg');background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;overflow:hidden;}
.timeline-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(255,255,255,.08),rgba(0,0,0,.35));pointer-events:none;}
.timeline-scoreboard{position:relative;z-index:2;width:min(1040px,92%);margin:auto;}
.timeline-meta{font-weight:900;font-size:14px;line-height:1.7;margin-bottom:28px;}
.timeline-meta span{display:block;font-size:19px;font-weight:800;}
.timeline-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;}
.timeline-team{display:flex;align-items:center;gap:18px;min-width:0;}
.timeline-team.home{justify-content:flex-end;text-align:right;}
.timeline-team.away{justify-content:flex-start;text-align:left;}
.timeline-team img{width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));}
.timeline-team strong{font-size:33px;font-weight:900;letter-spacing:-.05em;white-space:nowrap;}
.timeline-team small{font-size:17px;color:rgba(255,255,255,.78);font-weight:900;margin:0 2px;}
.timeline-score{display:flex;flex-direction:column;align-items:center;gap:8px;}
.timeline-status{font-size:13px;font-weight:900;}
.timeline-score-box{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px);border-radius:8px;padding:10px 22px;font-size:40px;line-height:1;font-weight:900;letter-spacing:.02em;display:flex;align-items:center;gap:14px;}
.timeline-score-box i{font-style:normal;color:rgba(255,255,255,.55);font-weight:300;}
.timeline-tabs{height:70px;background:#fff;border-bottom:1px solid #d9d9d9;display:flex;align-items:flex-end;justify-content:center;gap:38px;}
.timeline-tabs button{height:70px;border:0;background:transparent;padding:0 0 18px;font-size:16px;font-weight:900;color:#8b8b8b;cursor:pointer;position:relative;}
.timeline-tabs button.active{color:#111;}
.timeline-tabs button.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#20cfff;border-radius:3px 3px 0 0;}
.timeline-content{max-width:1080px;margin:0 auto;padding:58px 24px 84px;}
.timeline-panel{display:none;}
.timeline-panel.active{display:block;}
.match-timeline{position:relative;max-width:820px;margin:0 auto;}
.match-timeline::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:#d2d2d2;transform:translateX(-50%);}
.timeline-event{position:relative;display:grid;grid-template-columns:1fr 64px 1fr;align-items:center;min-height:76px;border-bottom:1px solid #d5d5d5;}
.timeline-event:last-child{border-bottom:0;}
.event-left,.event-right{padding:18px 20px;}
.event-left{text-align:right;}
.event-right{text-align:left;}
.event-center{display:flex;justify-content:center;align-items:center;z-index:2;}
.event-badge{width:33px;height:33px;border-radius:50%;background:#fff;border:1px solid #d9d9d9;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;box-shadow:0 1px 5px rgba(0,0,0,.05);}
.event-badge.yellow i,.event-badge.red i{display:block;width:10px;height:15px;border-radius:2px;background:#ffd400;}
.event-badge.red i{background:#ef2c32;}
.event-badge.goal{font-size:17px;}
.event-card{display:inline-grid;grid-template-columns:auto auto;align-items:center;gap:12px;}
.event-card img{width:32px;height:32px;object-fit:contain;}
.event-name{font-size:16px;font-weight:900;line-height:1.15;}
.event-name b{font-weight:900;}
.event-type{font-size:14px;font-weight:700;color:#6c6c6c;margin-top:2px;}
.timeline-score-note{background:#e6e6e6;border-radius:4px;padding:7px 14px;font-weight:900;font-size:14px;display:inline-block;}
.lineups-grid{display:grid;grid-template-columns:1fr 1fr;gap:54px;max-width:960px;margin:20px auto 0;}
.lineup-team-title{display:flex;align-items:center;gap:18px;font-size:26px;font-weight:900;letter-spacing:-.04em;margin-bottom:24px;}
.lineup-team-title img{width:48px;height:48px;object-fit:contain;}
.lineup-list{list-style:none;margin:0;padding:0;}
.lineup-list li{display:grid;grid-template-columns:46px 1fr auto;gap:8px;align-items:center;border-bottom:1px solid #d5d5d5;padding:15px 0;font-size:20px;}
.lineup-list b{font-size:19px;font-weight:900;}
.lineup-list span{font-weight:700;color:#333;}
.lineup-list em{font-style:normal;font-size:18px;}
@media(max-width:1000px){
  .timeline-hero{min-height:320px;}
  .timeline-teams{gap:18px;}
  .timeline-team strong{font-size:24px;}
  .timeline-team img{width:58px;height:58px;}
  .timeline-score-box{font-size:32px;padding:9px 18px;}
  .lineups-grid{gap:28px;}
}
@media(max-width:680px){
  .timeline-hero{min-height:360px;padding:34px 0;}
  .timeline-meta{font-size:12px;margin-bottom:22px;}
  .timeline-meta span{font-size:15px;}
  .timeline-teams{grid-template-columns:1fr;gap:14px;}
  .timeline-team.home,.timeline-team.away{justify-content:center;text-align:center;}
  .timeline-team.home{flex-direction:row-reverse;}
  .timeline-team strong{font-size:23px;white-space:normal;}
  .timeline-score{order:2;}
  .timeline-team.home{order:1;}.timeline-team.away{order:3;}
  .timeline-tabs{justify-content:flex-start;overflow-x:auto;padding:0 22px;gap:34px;}
  .timeline-content{padding:36px 16px 62px;}
  .match-timeline::before{left:32px;}
  .timeline-event{grid-template-columns:64px 1fr;min-height:76px;}
  .event-center{grid-column:1;grid-row:1;}
  .event-left,.event-right{grid-column:2;grid-row:1;text-align:left;padding:16px 10px;}
  .event-left:empty{display:none;}
  .event-card{grid-template-columns:auto 1fr;}
  .event-name{font-size:14px;}
  .event-type{font-size:13px;}
  .lineups-grid{grid-template-columns:1fr;gap:36px;}
  .lineup-team-title{font-size:22px;}
  .lineup-list li{font-size:16px;grid-template-columns:38px 1fr auto;}
  .lineup-list b{font-size:16px;}.lineup-list em{font-size:15px;}
}

/* v37 timeline mobile refinements */
.timeline-status-top{margin-bottom:18px;}
.team-form{display:flex;gap:7px;margin-top:10px;align-items:center;justify-content:center;}
.team-form span{width:24px;height:24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#fff;line-height:1;}
.team-form .win{background:#19c95d;}
.team-form .loss{background:#ef3b3b;}
.team-form .tie{background:#e9e9e9;color:#333;}
.event-score-badge{background:#e2e2e2;border-radius:5px;padding:8px 14px;font-size:16px;font-weight:900;color:#111;line-height:1;white-space:nowrap;}
.event-card-left{grid-template-columns:auto auto;}
@media(max-width:680px){
  .timeline-body .mobile-header{display:none;}
  .timeline-shell{padding-top:0;}
  .timeline-hero{min-height:315px;padding:30px 10px 28px;background-position:center top;}
  .timeline-scoreboard{width:100%;}
  .timeline-meta{font-size:16px;line-height:1.45;margin-bottom:24px;}
  .timeline-meta span{font-size:17px;font-weight:800;}
  .timeline-status-top{font-size:16px;margin-bottom:18px;}
  .timeline-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;width:100%;}
  .timeline-team.home,.timeline-team.away{display:grid;grid-template-columns:auto auto;gap:8px;justify-content:center;align-items:center;text-align:center;}
  .timeline-team.home{order:1;grid-template-areas:'pos name' 'form logo';}
  .timeline-team.away{order:3;grid-template-areas:'logo name' 'logo form';}
  .timeline-team.home small{grid-area:pos;align-self:center;}
  .timeline-team.away small{grid-area:name;justify-self:end;transform:translateX(22px);font-size:11px;margin-top:28px;}
  .timeline-team.home img{grid-area:logo;justify-self:end;}
  .timeline-team.away img{grid-area:logo;justify-self:start;}
  .timeline-team-text{grid-area:name;}
  .timeline-team.home .team-form{grid-area:form;}
  .timeline-team.away .team-form{grid-area:form;}
  .timeline-team strong{font-size:29px;line-height:1;letter-spacing:-.06em;white-space:nowrap;}
  .timeline-team img{width:55px;height:55px;}
  .timeline-team small{font-size:12px;color:rgba(255,255,255,.82);}
  .team-form{gap:5px;margin-top:8px;}
  .team-form span{width:22px;height:22px;font-size:10px;}
  .timeline-score{order:2;align-self:center;}
  .timeline-score-box{font-size:40px;padding:14px 18px;border-radius:7px;gap:12px;}
  .timeline-tabs{height:84px;justify-content:center;gap:54px;padding:0;background:#f6f6f6;overflow:visible;}
  .timeline-tabs button{height:84px;font-size:25px;padding:0 0 26px;}
  .timeline-tabs button.active::after{height:3px;}
  .timeline-content{max-width:none;width:100%;padding:62px 14px 78px;}
  .match-timeline{max-width:100%;}
  .match-timeline::before{left:50%;background:#d7d7d7;}
  .timeline-event{grid-template-columns:1fr 58px 1fr;min-height:114px;border-bottom:1px solid #d6d6d6;}
  .timeline-event.kickoff-event{min-height:92px;}
  .event-center{grid-column:2;grid-row:1;justify-self:center;}
  .event-left{grid-column:1;grid-row:1;text-align:right;padding:16px 12px 16px 0;display:block!important;}
  .event-right{grid-column:3;grid-row:1;text-align:left;padding:16px 0 16px 12px;display:block!important;}
  .event-left:empty,.event-right:empty{display:block;}
  .event-badge{width:44px;height:44px;font-size:16px;}
  .event-score-badge{font-size:24px;padding:12px 18px;border-radius:6px;}
  .event-card{gap:10px;}
  .event-card img{width:34px;height:34px;}
  .event-card-left{justify-content:end;}
  .event-name{font-size:24px;line-height:1.05;}
  .event-type{font-size:20px;line-height:1.15;margin-top:5px;}
  .lineups-grid{grid-template-columns:1fr 1fr;gap:28px;max-width:none;margin:0 auto;}
  .lineup-team-title{font-size:22px;gap:12px;margin-bottom:20px;letter-spacing:-.05em;white-space:nowrap;}
  .lineup-team-title img{width:40px;height:40px;}
  .lineup-list li{font-size:20px;grid-template-columns:42px 1fr auto;gap:8px;padding:16px 0;}
  .lineup-list b{font-size:20px;}
  .lineup-list span{font-weight:700;line-height:1.1;}
  .lineup-list em{font-size:16px;}
}
@media(max-width:430px){
  .timeline-hero{min-height:285px;padding-left:6px;padding-right:6px;}
  .timeline-meta{font-size:14px;}.timeline-meta span{font-size:14px;}
  .timeline-team strong{font-size:23px;}
  .timeline-team img{width:43px;height:43px;}
  .timeline-score-box{font-size:32px;padding:11px 13px;}
  .team-form span{width:18px;height:18px;font-size:8px;}
  .timeline-tabs{height:74px;gap:40px;}.timeline-tabs button{height:74px;font-size:21px;padding-bottom:22px;}
  .timeline-content{padding-left:10px;padding-right:10px;}
  .timeline-event{grid-template-columns:1fr 48px 1fr;min-height:98px;}
  .event-score-badge{font-size:18px;padding:9px 12px;}
  .event-badge{width:36px;height:36px;font-size:13px;}
  .event-name{font-size:17px;}.event-type{font-size:14px;}
  .event-card img{width:28px;height:28px;}
  .lineups-grid{gap:18px;}
  .lineup-team-title{font-size:18px;gap:8px;}.lineup-team-title img{width:32px;height:32px;}
  .lineup-list li{font-size:15px;grid-template-columns:30px 1fr auto;padding:13px 0;}
  .lineup-list b{font-size:15px;}
}

/* v38 timeline mobile cleanup */
@media(max-width:680px){
  .timeline-body{overflow-x:hidden;}
  .timeline-hero{min-height:270px!important;padding:26px 10px 24px!important;background-position:center top!important;}
  .timeline-scoreboard{width:100%!important;max-width:430px!important;}
  .timeline-meta{font-size:13px!important;line-height:1.35!important;margin-bottom:16px!important;}
  .timeline-meta span{font-size:15px!important;}
  .timeline-status-top{font-size:13px!important;margin-bottom:12px!important;}
  .timeline-teams{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:7px!important;align-items:center!important;width:100%!important;}
  .timeline-team.home,.timeline-team.away{display:flex!important;align-items:center!important;gap:5px!important;text-align:center!important;min-width:0!important;}
  .timeline-team.home{justify-content:flex-end!important;flex-direction:row!important;order:1!important;}
  .timeline-team.away{justify-content:flex-start!important;flex-direction:row!important;order:3!important;}
  .timeline-team small{font-size:10px!important;margin:0!important;color:rgba(255,255,255,.82)!important;transform:none!important;align-self:center!important;}
  .timeline-team strong{font-size:21px!important;line-height:1!important;letter-spacing:-.055em!important;white-space:nowrap!important;}
  .timeline-team img{width:40px!important;height:40px!important;flex:0 0 auto!important;}
  .timeline-team-text{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important;}
  .team-form{gap:4px!important;margin-top:7px!important;justify-content:center!important;}
  .team-form span{width:17px!important;height:17px!important;font-size:8px!important;}
  .timeline-score{order:2!important;align-self:center!important;}
  .timeline-score-box{font-size:32px!important;padding:10px 12px!important;border-radius:6px!important;gap:10px!important;}
  .timeline-tabs{height:62px!important;justify-content:center!important;gap:42px!important;padding:0!important;background:#f6f6f6!important;overflow:visible!important;}
  .timeline-tabs button{height:62px!important;font-size:18px!important;padding:0 0 18px!important;}
  .timeline-content{padding:34px 12px 58px!important;max-width:none!important;width:100%!important;}
  .match-timeline{max-width:100%!important;}
  .match-timeline::before{left:50%!important;background:#d6d6d6!important;}
  .timeline-event{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important;min-height:88px!important;border-bottom:1px solid #d6d6d6!important;}
  .timeline-event.kickoff-event{min-height:72px!important;}
  .event-center{grid-column:2!important;grid-row:1!important;justify-self:center!important;}
  .event-left{grid-column:1!important;grid-row:1!important;text-align:right!important;padding:12px 8px 12px 0!important;display:block!important;}
  .event-right{grid-column:3!important;grid-row:1!important;text-align:left!important;padding:12px 0 12px 8px!important;display:block!important;}
  .event-badge{width:34px!important;height:34px!important;font-size:12px!important;}
  .event-score-badge{font-size:16px!important;padding:8px 10px!important;border-radius:5px!important;}
  .event-card{gap:7px!important;align-items:center!important;}
  .event-card img{width:24px!important;height:24px!important;}
  .event-card-left{justify-content:end!important;}
  .event-name{font-size:15px!important;line-height:1.08!important;}
  .event-type{font-size:12px!important;line-height:1.15!important;margin-top:3px!important;}
  .lineups-grid{grid-template-columns:1fr 1fr!important;gap:22px!important;max-width:100%!important;margin:0 auto!important;}
  .lineup-team-title{font-size:16px!important;gap:8px!important;margin-bottom:15px!important;letter-spacing:-.04em!important;white-space:nowrap!important;}
  .lineup-team-title img{width:30px!important;height:30px!important;}
  .lineup-list li{font-size:13px!important;grid-template-columns:27px minmax(0,1fr) auto!important;gap:6px!important;padding:10px 0!important;}
  .lineup-list b{font-size:13px!important;}
  .lineup-list span{font-size:13px!important;line-height:1.1!important;font-weight:600!important;overflow:hidden;text-overflow:ellipsis;}
  .lineup-list em{font-size:12px!important;}
}
@media(max-width:390px){
  .timeline-hero{min-height:250px!important;padding-left:8px!important;padding-right:8px!important;}
  .timeline-meta{font-size:12px!important;margin-bottom:14px!important;}
  .timeline-meta span{font-size:14px!important;}
  .timeline-team strong{font-size:19px!important;}
  .timeline-team img{width:36px!important;height:36px!important;}
  .timeline-score-box{font-size:28px!important;padding:9px 10px!important;gap:8px!important;}
  .team-form span{width:15px!important;height:15px!important;font-size:7px!important;}
  .timeline-tabs{height:58px!important;gap:36px!important;}
  .timeline-tabs button{height:58px!important;font-size:17px!important;padding-bottom:16px!important;}
  .timeline-content{padding-left:10px!important;padding-right:10px!important;}
  .timeline-event{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;min-height:82px!important;}
  .event-score-badge{font-size:14px!important;padding:7px 8px!important;}
  .event-badge{width:31px!important;height:31px!important;font-size:11px!important;}
  .event-name{font-size:13px!important;}
  .event-type{font-size:11px!important;}
  .event-card img{width:22px!important;height:22px!important;}
  .lineups-grid{gap:16px!important;}
  .lineup-team-title{font-size:14px!important;gap:6px!important;}
  .lineup-team-title img{width:26px!important;height:26px!important;}
  .lineup-list li{font-size:12px!important;grid-template-columns:24px minmax(0,1fr) auto!important;padding:9px 0!important;}
  .lineup-list b,.lineup-list span{font-size:12px!important;}
}


/* v39 timeline header proportions - desktop and mobile cleanup */
.mobile-team-name{display:none;}
.desktop-team-name{display:inline;}
.timeline-score{background:transparent!important;border-radius:0!important;padding:0!important;font-size:inherit!important;letter-spacing:normal!important;backdrop-filter:none!important;}
.timeline-hero{min-height:395px!important;padding:54px 24px!important;background-position:center center!important;}
.timeline-scoreboard{width:min(1160px,92%)!important;max-width:1160px!important;}
.timeline-meta{font-size:15px!important;line-height:1.35!important;margin-bottom:30px!important;font-weight:900!important;}
.timeline-meta span{font-size:21px!important;font-weight:800!important;}
.timeline-status-top{font-size:15px!important;margin-bottom:20px!important;font-weight:900!important;}
.timeline-teams{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:30px!important;align-items:center!important;}
.timeline-team.home,.timeline-team.away{display:flex!important;align-items:center!important;gap:17px!important;min-width:0!important;}
.timeline-team.home{justify-content:flex-end!important;text-align:right!important;flex-direction:row!important;}
.timeline-team.away{justify-content:flex-start!important;text-align:left!important;flex-direction:row!important;}
.timeline-team strong{font-size:34px!important;line-height:1!important;letter-spacing:-.055em!important;white-space:nowrap!important;}
.timeline-team small{font-size:15px!important;font-weight:900!important;color:rgba(255,255,255,.82)!important;margin:0!important;transform:none!important;}
.timeline-team img{width:76px!important;height:76px!important;object-fit:contain!important;}
.timeline-team-text{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important;}
.timeline-team.home .timeline-team-text{align-items:flex-end!important;}
.timeline-team.away .timeline-team-text{align-items:flex-start!important;}
.team-form{display:flex!important;gap:7px!important;margin-top:12px!important;align-items:center!important;justify-content:center!important;}
.team-form span{width:24px!important;height:24px!important;font-size:11px!important;}
.timeline-score-box{font-size:48px!important;padding:16px 32px!important;border-radius:8px!important;gap:18px!important;line-height:1!important;background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;}
.timeline-score-box i{font-size:.78em!important;color:rgba(255,255,255,.48)!important;font-weight:300!important;}
@media(max-width:680px){
  .desktop-team-name{display:none!important;}
  .mobile-team-name{display:inline!important;}
  .timeline-body .mobile-header{display:none!important;}
  .timeline-shell{padding-top:0!important;}
  .timeline-hero{min-height:312px!important;padding:28px 8px 24px!important;background-position:center top!important;}
  .timeline-scoreboard{width:100%!important;max-width:430px!important;}
  .timeline-meta{font-size:21px!important;line-height:1.15!important;margin-bottom:24px!important;}
  .timeline-meta span{display:block!important;font-size:18px!important;margin-top:7px!important;line-height:1.25!important;}
  .timeline-status-top{font-size:20px!important;line-height:1!important;margin-bottom:18px!important;}
  .timeline-teams{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important;align-items:center!important;width:100%!important;}
  .timeline-team.home,.timeline-team.away{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;}
  .timeline-team.home{justify-content:flex-end!important;text-align:right!important;order:1!important;}
  .timeline-team.away{justify-content:flex-start!important;text-align:left!important;order:3!important;}
  .timeline-team strong{font-size:28px!important;letter-spacing:-.06em!important;line-height:1!important;white-space:nowrap!important;}
  .timeline-team small{font-size:13px!important;line-height:1!important;align-self:center!important;color:rgba(255,255,255,.82)!important;}
  .timeline-team img{width:54px!important;height:54px!important;flex:0 0 auto!important;}
  .timeline-team-text{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important;}
  .timeline-team.home .timeline-team-text,.timeline-team.away .timeline-team-text{align-items:center!important;}
  .team-form{gap:5px!important;margin-top:9px!important;}
  .team-form span{width:20px!important;height:20px!important;font-size:9px!important;}
  .timeline-score{order:2!important;align-self:center!important;background:transparent!important;padding:0!important;border-radius:0!important;}
  .timeline-score-box{font-size:40px!important;padding:14px 18px!important;border-radius:7px!important;gap:12px!important;background:rgba(255,255,255,.2)!important;border:1px solid rgba(255,255,255,.12)!important;}
}
@media(max-width:430px){
  .timeline-hero{min-height:294px!important;padding-left:6px!important;padding-right:6px!important;}
  .timeline-scoreboard{max-width:390px!important;}
  .timeline-meta{font-size:20px!important;margin-bottom:22px!important;}
  .timeline-meta span{font-size:17px!important;}
  .timeline-status-top{font-size:19px!important;margin-bottom:17px!important;}
  .timeline-teams{gap:6px!important;}
  .timeline-team{gap:5px!important;}
  .timeline-team strong{font-size:27px!important;}
  .timeline-team small{font-size:12px!important;}
  .timeline-team img{width:49px!important;height:49px!important;}
  .timeline-score-box{font-size:38px!important;padding:13px 15px!important;gap:10px!important;}
  .team-form{gap:4px!important;margin-top:8px!important;}
  .team-form span{width:18px!important;height:18px!important;font-size:8px!important;}
}
@media(max-width:370px){
  .timeline-team strong{font-size:23px!important;}
  .timeline-team img{width:43px!important;height:43px!important;}
  .timeline-score-box{font-size:34px!important;padding:11px 12px!important;}
  .team-form span{width:16px!important;height:16px!important;font-size:7px!important;}
}

/* v40 timeline header final alignment */
.timeline-body .side-nav{display:flex!important;}
.timeline-body .site-shell{margin-left:250px!important;width:calc(100% - 250px)!important;}
.timeline-body .mobile-header{display:none!important;}
.timeline-hero{min-height:350px!important;padding:0 24px!important;background-position:center!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.timeline-hero::after{background:linear-gradient(rgba(0,0,0,.38),rgba(0,0,0,.42))!important;}
.timeline-scoreboard{width:100%!important;max-width:1080px!important;margin:0 auto!important;position:relative!important;z-index:3!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;}
.timeline-meta{margin:0 0 30px!important;font-size:15px!important;line-height:1.25!important;font-weight:900!important;text-align:center!important;color:#fff!important;}
.timeline-meta span{display:block!important;margin-top:7px!important;font-size:20px!important;font-weight:800!important;line-height:1.25!important;}
.timeline-status-top{margin:0 0 18px!important;font-size:15px!important;font-weight:900!important;color:#fff!important;text-align:center!important;}
.timeline-teams{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:34px!important;width:100%!important;}
.timeline-team{display:flex!important;align-items:center!important;gap:18px!important;min-width:0!important;}
.timeline-team.home{justify-content:flex-end!important;text-align:right!important;flex-direction:row!important;order:initial!important;}
.timeline-team.away{justify-content:flex-start!important;text-align:left!important;flex-direction:row!important;order:initial!important;}
.timeline-team img{width:72px!important;height:72px!important;object-fit:contain!important;flex:0 0 auto!important;}
.timeline-team-text{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important;}
.timeline-team.home .timeline-team-text{align-items:flex-end!important;}
.timeline-team.away .timeline-team-text{align-items:flex-start!important;}
.timeline-team strong{font-size:32px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.045em!important;white-space:nowrap!important;color:#fff!important;}
.timeline-team small{font-size:15px!important;font-weight:900!important;color:rgba(255,255,255,.84)!important;margin:0!important;transform:none!important;}
.team-form{display:flex!important;gap:7px!important;margin-top:12px!important;align-items:center!important;justify-content:center!important;}
.team-form span{width:23px!important;height:23px!important;font-size:10px!important;}
.timeline-score{order:initial!important;align-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.timeline-score-box{font-size:40px!important;line-height:1!important;font-weight:900!important;padding:14px 24px!important;gap:16px!important;border-radius:7px!important;background:rgba(255,255,255,.2)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;}
.timeline-score-box i{font-style:normal!important;font-weight:300!important;color:rgba(255,255,255,.55)!important;}
.mobile-team-name{display:none!important;}
.desktop-team-name{display:inline!important;}

@media(max-width:680px){
  .timeline-hero{min-height:305px!important;padding:26px 14px 24px!important;background-position:center top!important;}
  .timeline-scoreboard{max-width:440px!important;}
  .timeline-meta{font-size:18px!important;line-height:1.18!important;margin-bottom:18px!important;}
  .timeline-meta span{font-size:16px!important;margin-top:6px!important;}
  .timeline-status-top{font-size:16px!important;margin-bottom:14px!important;}
  .timeline-teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important;}
  .timeline-team{gap:6px!important;}
  .timeline-team.home{justify-content:flex-end!important;}
  .timeline-team.away{justify-content:flex-start!important;}
  .desktop-team-name{display:none!important;}
  .mobile-team-name{display:inline!important;}
  .timeline-team strong{font-size:26px!important;letter-spacing:-.05em!important;}
  .timeline-team img{width:51px!important;height:51px!important;}
  .timeline-team small{font-size:11px!important;}
  .timeline-team.home .timeline-team-text{align-items:flex-end!important;}
  .timeline-team.away .timeline-team-text{align-items:flex-start!important;}
  .team-form{gap:5px!important;margin-top:8px!important;}
  .team-form span{width:20px!important;height:20px!important;font-size:9px!important;}
  .timeline-score-box{font-size:38px!important;padding:12px 16px!important;gap:12px!important;}
}
@media(max-width:390px){
  .timeline-hero{min-height:285px!important;padding-left:10px!important;padding-right:10px!important;}
  .timeline-meta{font-size:16px!important;}
  .timeline-meta span{font-size:14px!important;}
  .timeline-status-top{font-size:14px!important;}
  .timeline-team strong{font-size:22px!important;}
  .timeline-team img{width:43px!important;height:43px!important;}
  .timeline-team small{font-size:10px!important;}
  .team-form span{width:17px!important;height:17px!important;font-size:8px!important;}
  .timeline-score-box{font-size:31px!important;padding:10px 12px!important;gap:9px!important;}
}

/* v40b timeline mobile form cleanup */
@media(max-width:680px){
  .timeline-team.home .timeline-team-text,
  .timeline-team.away .timeline-team-text{align-items:center!important;}
  .timeline-team small{flex:0 0 auto!important;}
  .team-form{gap:3px!important;margin-top:7px!important;max-width:100%!important;}
  .team-form span{width:17px!important;height:17px!important;font-size:8px!important;flex:0 0 17px!important;}
  .timeline-team{gap:4px!important;overflow:visible!important;}
  .timeline-teams{gap:6px!important;}
  .timeline-score-box{font-size:36px!important;padding:11px 14px!important;}
}
@media(max-width:390px){
  .team-form span{width:15px!important;height:15px!important;font-size:7px!important;flex-basis:15px!important;}
  .team-form{gap:2px!important;}
  .timeline-team strong{font-size:21px!important;}
  .timeline-score-box{font-size:30px!important;padding:9px 11px!important;}
}

@media(max-width:1000px){
  .timeline-body .side-nav{display:none!important;}
  .timeline-body .site-shell{margin-left:0!important;width:100%!important;}
}

/* v42 timeline mobile header scale adjustment */
@media(max-width:680px){
  .timeline-team img{width:36px!important;height:36px!important;}
  .timeline-score-box{font-size:25px!important;padding:8px 10px!important;gap:8px!important;border-radius:6px!important;}
}
@media(max-width:390px){
  .timeline-team img{width:30px!important;height:30px!important;}
  .timeline-score-box{font-size:21px!important;padding:7px 9px!important;gap:7px!important;}
}

/* v43 timeline mobile menu fix */
@media(max-width:1000px){
  .timeline-body .mobile-header{
    display:flex!important;
    position:sticky!important;
    top:0!important;
    z-index:80!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:14px 18px!important;
    background:#fff!important;
    border-bottom:1px solid #eee!important;
  }
  .timeline-body .mobile-header img{height:55px!important;max-width:170px!important;object-fit:contain!important;}
  .timeline-body .mobile-menu{display:block!important;z-index:120!important;}
  .timeline-body.menu-open{overflow:hidden!important;}
}

/* Game info hover and link state for completed matches */
.score-card.played,
.schedule-card.played{
  position:relative;
  overflow:hidden;
  cursor:pointer;
}
.score-card.played:focus-visible,
.schedule-card.played:focus-visible{
  outline:3px solid rgba(6,17,58,.35);
  outline-offset:3px;
}
@media (hover:hover) and (min-width: 769px){
  .score-card.played::before,
  .schedule-card.played::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgb(184 184 184 / 76%);
    opacity:0;
    transition:opacity .22s ease;
    z-index:15;
    pointer-events:none;
  }
  .score-card.played::after,
  .schedule-card.played::after{
    content:"Game Info";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-42%) scale(.96);
    background:#fff;
    color:#06113a;
    border-radius:999px;
    padding:10px 18px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:0;
    transition:opacity .22s ease, transform .22s ease;
    z-index:16;
    pointer-events:none;
    box-shadow:0 16px 40px rgba(0,0,0,.22);
    white-space:nowrap;
  }
  .score-card.played:hover::before,
  .score-card.played:hover::after,
  .score-card.played:focus-visible::before,
  .score-card.played:focus-visible::after,
  .schedule-card.played:hover::before,
  .schedule-card.played:hover::after,
  .schedule-card.played:focus-visible::before,
  .schedule-card.played:focus-visible::after{
    opacity:1;
  }
  .score-card.played:hover::after,
  .score-card.played:focus-visible::after,
  .schedule-card.played:hover::after,
  .schedule-card.played:focus-visible::after{
    transform:translate(-50%,-50%) scale(1);
  }
  .score-card:not(.played),
  .schedule-card:not(.played){
    cursor:default;
  }
}

/* Patch v105 - Schedule/Game Widget refinements */
.score-track{gap:7px!important;}
.matchday-group{margin-right:0!important;}
.score-card span em{display:none!important;}

.schedule-competition span,
.schedule-competition em{
  display:block;
}
.schedule-competition em{
  margin-top:3px;
  font-style:normal;
  font-size:10px;
  color:#8a8fa5;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:900;
}
.schedule-score.schedule-score-time span{display:none!important;}
.team-name-abbr{display:none;}

@media(max-width:760px){
  .schedule-page .team-name-full{display:none!important;}
  .schedule-page .team-name-abbr{display:inline!important;}
  .schedule-page .schedule-score.schedule-score-time strong,
  .schedule-page .schedule-time strong{
    font-size:12px!important;
    padding:3px 7px!important;
  }
  .schedule-page .schedule-score strong{
    font-size:12px!important;
  }
}

/* Patch v106 - Home game widget spacing and scale */
.score-widget .score-track{
  gap:3.5px!important;
}

.score-widget .matchday-group{
  min-width:912px!important;
}

.score-widget .match-row{
  gap:14px!important;
}

.score-widget .score-card{
  min-width:204px!important;
  padding:8px 12px!important;
}

.score-widget .score-card span{
  font-size:8.4px!important;
  margin-bottom:7px!important;
}

.score-widget .score-card div{
  gap:13px!important;
}

.score-widget .score-card img{
  width:41px!important;
  height:41px!important;
}

.score-widget .score-card b{
  font-size:20px!important;
  padding:3px 11px!important;
}

.score-widget .score-card small{
  font-size:13px!important;
  margin-top:7px!important;
}

.score-widget .matchday-date{
  font-size:15.5px!important;
  margin-bottom:8px!important;
}

@media(max-width:760px){
  .score-widget .score-track{
    gap:3.5px!important;
  }

  .score-widget .matchday-group{
    min-width:988px!important;
  }

  .score-widget .match-row{
    gap:16px!important;
  }

  .score-widget .score-card{
    min-width:221px!important;
    padding:8px 13px!important;
  }

  .score-widget .score-card span{
    font-size:9px!important;
    margin-bottom:8px!important;
  }

  .score-widget .score-card div{
    gap:14px!important;
  }

  .score-widget .score-card img{
    width:44px!important;
    height:44px!important;
  }

  .score-widget .score-card b{
    font-size:22px!important;
    padding:3px 12px!important;
  }

  .score-widget .score-card small{
    font-size:14px!important;
    margin-top:8px!important;
  }

  .score-widget .matchday-date{
    font-size:17px!important;
    margin-bottom:9px!important;
  }
}

/* Patch v107 - Remove game widget matchday gaps and reduce mobile size */
.score-widget .score-track{
  gap:0!important;
  column-gap:0!important;
}

.score-widget .matchday-group{
  min-width:0!important;
  width:max-content!important;
  flex:0 0 max-content!important;
  margin-right:0!important;
  padding-right:0!important;
}

.score-widget .match-row{
  display:flex!important;
  grid-template-columns:none!important;
  gap:14px!important;
  width:max-content!important;
}

@media(max-width:760px){
  .score-widget .score-track{
    gap:0!important;
    column-gap:0!important;
  }

  .score-widget .matchday-group{
    min-width:0!important;
    width:max-content!important;
    flex:0 0 max-content!important;
    margin-right:0!important;
    padding-right:0!important;
  }

  .score-widget .match-row{
    display:flex!important;
    grid-template-columns:none!important;
    gap:13px!important;
    width:max-content!important;
  }

  .score-widget .score-card{
    min-width:177px!important;
    padding:6px 10px!important;
  }

  .score-widget .score-card span{
    font-size:7.2px!important;
    margin-bottom:6px!important;
  }

  .score-widget .score-card div{
    gap:11px!important;
  }

  .score-widget .score-card img{
    width:35px!important;
    height:35px!important;
  }

  .score-widget .score-card b{
    font-size:18px!important;
    padding:2px 10px!important;
  }

  .score-widget .score-card small{
    font-size:11px!important;
    margin-top:6px!important;
  }

  .score-widget .matchday-date{
    font-size:13.5px!important;
    margin-bottom:7px!important;
  }
}

/* Patch v108 - Tighten home game widget rows and reduce mobile 30% */
.score-widget .score-track{
  gap:0!important;
  column-gap:0!important;
  row-gap:0!important;
}

.score-widget .matchday-group{
  min-width:0!important;
  width:max-content!important;
  flex:0 0 max-content!important;
  margin-right:0!important;
  padding-right:0!important;
}

.score-widget .match-row{
  display:flex!important;
  grid-template-columns:none!important;
  gap:3px!important;
  column-gap:3px!important;
  row-gap:3px!important;
  width:max-content!important;
}

.score-widget .score-card{
  margin-right:0!important;
}

@media(max-width:760px){
  .score-widget .score-track{
    gap:0!important;
    column-gap:0!important;
    row-gap:0!important;
  }

  .score-widget .matchday-group{
    min-width:0!important;
    width:max-content!important;
    flex:0 0 max-content!important;
    margin-right:0!important;
    padding-right:0!important;
  }

  .score-widget .match-row{
    display:flex!important;
    grid-template-columns:none!important;
    gap:3px!important;
    column-gap:3px!important;
    row-gap:3px!important;
    width:max-content!important;
  }

  .score-widget .score-card{
    min-width:124px!important;
    padding:4px 7px!important;
    margin-right:0!important;
  }

  .score-widget .score-card span{
    font-size:5px!important;
    margin-bottom:4px!important;
  }

  .score-widget .score-card div{
    gap:8px!important;
  }

  .score-widget .score-card img{
    width:25px!important;
    height:25px!important;
  }

  .score-widget .score-card b{
    font-size:13px!important;
    padding:2px 7px!important;
  }

  .score-widget .score-card small{
    font-size:8px!important;
    margin-top:4px!important;
  }

  .score-widget .matchday-date{
    font-size:9.5px!important;
    margin-bottom:5px!important;
  }
}

/* Patch v109 - Home widget date title style + mobile scale up */
.score-widget .matchday-date{
  font-size:12.5px!important;
  color:#050b1d!important;
  font-weight:800!important;
}

@media(max-width:760px){
  .score-widget .score-card{
    min-width:161px!important;
    padding:5px 9px!important;
  }

  .score-widget .score-card span{
    font-size:6.5px!important;
    margin-bottom:5px!important;
  }

  .score-widget .score-card div{
    gap:10px!important;
  }

  .score-widget .score-card img{
    width:33px!important;
    height:33px!important;
  }

  .score-widget .score-card b{
    font-size:17px!important;
    padding:2px 9px!important;
  }

  .score-widget .score-card small{
    font-size:10.5px!important;
    margin-top:5px!important;
  }

  .score-widget .matchday-date{
    font-size:12.5px!important;
    color:#050b1d!important;
    font-weight:800!important;
    margin-bottom:6px!important;
  }
}

/* Patch v110 - Game widget date only, title size, playoffs schedule, timeline hover */
.score-widget .matchday-date{
  font-size:10.5px!important;
  color:#050b1d!important;
  font-weight:800!important;
}

@media(max-width:760px){
  .score-widget .matchday-date{
    font-size:10.5px!important;
    color:#050b1d!important;
    font-weight:800!important;
  }
}

.score-card.played,
.schedule-card.played,
.score-card[data-timeline],
.schedule-card[data-timeline]{
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.score-card.played:hover,
.schedule-card.played:hover,
.score-card[data-timeline]:hover,
.schedule-card[data-timeline]:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(5,11,29,.10);
  background:#f7f8fc;
}

/* Patch v111 - Live timer bubbles and schedule hour size */
.schedule-page .schedule-time strong,
.schedule-page .schedule-score.schedule-score-time strong{
  font-size:13px!important;
}

.score-card,
.schedule-card{
  position:relative;
}

.live-timer-bubble{
  position:absolute;
  top:7px;
  right:7px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:20px;
  padding:0 7px;
  border-radius:999px;
  background:#e00018;
  color:#fff;
  font-size:10px;
  line-height:1;
  font-style:normal;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
  box-shadow:0 6px 14px rgba(224,0,24,.26);
}

.score-card.is-live,
.schedule-card.is-live{
  border-color:rgba(224,0,24,.25)!important;
}

@media(max-width:760px){
  .schedule-page .schedule-time strong,
  .schedule-page .schedule-score.schedule-score-time strong{
    font-size:13px!important;
  }

  .live-timer-bubble{
    top:5px;
    right:5px;
    min-width:28px;
    height:18px;
    padding:0 6px;
    font-size:9px;
  }
}

/* Patch v112 - Live bubble only for active games + widget live focus */
.schedule-card.played .live-timer-bubble,
.score-card.played .live-timer-bubble{
  display:none!important;
}

/* Patch v113 - Front bubble must match admin timer and hide FT */
.score-card:not(.is-live) .live-timer-bubble,
.schedule-card:not(.is-live) .live-timer-bubble,
.score-card.played .live-timer-bubble,
.schedule-card.played .live-timer-bubble{
  display:none!important;
}

/* Patch v116 - Dynamic team roster table */
.roster-table{min-width:1180px;}
.roster-table td{font-size:14px;}
.roster-table th{font-size:13px;}
.roster-table td:nth-child(10){font-size:12px;color:#686d80;}
@media(max-width:760px){
  .roster-table{min-width:1080px;}
  .roster-table td{font-size:12px;}
  .roster-table th{font-size:11px;}
}

/* Patch v117 - Roster front columns + Instagram links */
.roster-table{min-width:1120px;}
.roster-table td{font-size:13px;}
.roster-table th{font-size:12px;}
.roster-instagram-link{
  color:#050b1d;
  font-weight:900;
  text-decoration:none;
}
.roster-instagram-link:hover{
  color:#BD93FF;
  text-decoration:underline;
}
@media(max-width:760px){
  .roster-table{min-width:1040px;}
  .roster-table td{font-size:12px;}
  .roster-table th{font-size:11px;}
}

/* Patch v123 - Front stats tables from admin previews */
.front-stats-error{
  background:#fee2e2;
  color:#991b1b;
  padding:16px 18px;
  border-radius:14px;
  font-weight:900;
  margin-bottom:24px;
}
.stats-full-link{
  display:inline-flex;
  margin-top:18px;
  align-items:center;
  gap:8px;
  color:#06113a;
  font-weight:900;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:13px;
}
.stats-full-link:hover{
  color:#BD93FF;
}
.all-stats-table th,
.all-stats-table td{
  font-size:13px!important;
}
.all-stats-table td strong{
  font-weight:900;
}
@media(max-width:760px){
  .all-stats-table th,
  .all-stats-table td{
    font-size:12px!important;
  }
}

/* Patch v127 - Restore Game Info hover and timeline links */
.score-card.played,
.schedule-card.played,
.score-card.has-game-info,
.schedule-card.has-game-info,
.score-card[data-timeline],
.schedule-card[data-timeline]{
  position:relative!important;
  overflow:hidden!important;
  cursor:pointer!important;
}

.score-card.played:focus-visible,
.schedule-card.played:focus-visible,
.score-card.has-game-info:focus-visible,
.schedule-card.has-game-info:focus-visible,
.score-card[data-timeline]:focus-visible,
.schedule-card[data-timeline]:focus-visible{
  outline:3px solid rgba(6,17,58,.35)!important;
  outline-offset:3px!important;
}

@media (hover:hover) and (min-width:769px){
  .score-card.played::before,
  .schedule-card.played::before,
  .score-card.has-game-info::before,
  .schedule-card.has-game-info::before,
  .score-card[data-timeline]::before,
  .schedule-card[data-timeline]::before{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    background:rgb(184 184 184 / 76%)!important;
    opacity:0!important;
    transition:opacity .22s ease!important;
    z-index:15!important;
    pointer-events:none!important;
  }

  .score-card.played::after,
  .schedule-card.played::after,
  .score-card.has-game-info::after,
  .schedule-card.has-game-info::after,
  .score-card[data-timeline]::after,
  .schedule-card[data-timeline]::after{
    content:"Game Info"!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-42%) scale(.96)!important;
    background:#fff!important;
    color:#06113a!important;
    border-radius:999px!important;
    padding:10px 18px!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
    opacity:0!important;
    transition:opacity .22s ease, transform .22s ease!important;
    z-index:16!important;
    pointer-events:none!important;
    box-shadow:0 12px 28px rgba(0,0,0,.18)!important;
  }

  .score-card.played:hover::before,
  .schedule-card.played:hover::before,
  .score-card.has-game-info:hover::before,
  .schedule-card.has-game-info:hover::before,
  .score-card[data-timeline]:hover::before,
  .schedule-card[data-timeline]:hover::before,
  .score-card.played:hover::after,
  .schedule-card.played:hover::after,
  .score-card.has-game-info:hover::after,
  .schedule-card.has-game-info:hover::after,
  .score-card[data-timeline]:hover::after,
  .schedule-card[data-timeline]:hover::after{
    opacity:1!important;
  }

  .score-card.played:hover::after,
  .schedule-card.played:hover::after,
  .score-card.has-game-info:hover::after,
  .schedule-card.has-game-info:hover::after,
  .score-card[data-timeline]:hover::after,
  .schedule-card[data-timeline]:hover::after{
    transform:translate(-50%,-50%) scale(1)!important;
  }
}

/* Patch v136 - Live matches open timeline too */
.score-card.is-live.has-game-info::after,
.schedule-card.is-live.has-game-info::after,
.score-card.is-live[data-timeline]::after,
.schedule-card.is-live[data-timeline]::after{
  content:"Live Timeline"!important;
}



/* Patch v128 - Timeline yellow/red card icons */
.timeline-card-icon{
  display:inline-block;
  width:11px;
  height:15px;
  border-radius:2px;
  margin-right:7px;
  vertical-align:-2px;
  box-shadow:0 3px 8px rgba(0,0,0,.18);
  flex:0 0 auto;
}
.yellow-card-icon{
  background:#ffd400;
  border:1px solid rgba(120,90,0,.22);
}
.red-card-icon{
  background:#ef233c;
  border:1px solid rgba(120,0,0,.22);
}
.double-card-icon{
  position:relative;
  width:18px;
  height:16px;
  margin-right:8px;
  box-shadow:none;
}
.double-card-icon i,
.double-card-icon b{
  position:absolute;
  top:1px;
  width:10px;
  height:15px;
  border-radius:2px;
  content:"";
  display:block;
  box-shadow:0 3px 8px rgba(0,0,0,.18);
}
.double-card-icon i{
  left:0;
  background:#ffd400;
  border:1px solid rgba(120,90,0,.22);
}
.double-card-icon b{
  right:0;
  background:#ef233c;
  border:1px solid rgba(120,0,0,.22);
}
.card-minute-badge{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:52px!important;
  justify-content:center!important;
}
.card-minute-badge .timeline-card-icon{
  margin-right:0;
}
.card-minute-badge .double-card-icon{
  margin-right:0;
}
.event-type{
  display:flex;
  align-items:center;
  gap:0;
}
.timeline-event.yellow-card-event .event-badge,
.timeline-event.red-card-event .event-badge,
.timeline-event.second-yellow-red-event .event-badge{
  background:#ffffff;
  border:1px solid rgba(6,17,58,.10);
}
@media(max-width:760px){
  .timeline-card-icon{
    width:10px;
    height:14px;
    margin-right:6px;
  }
  .double-card-icon{
    width:17px;
    height:15px;
  }
  .double-card-icon i,
  .double-card-icon b{
    width:9px;
    height:14px;
  }
}


/* Patch v130 - Squad icons for assists and cards */
.lineup-list li em{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  min-width:42px!important;
  min-height:18px!important;
}
.squad-event-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  line-height:1;
}
.squad-goal-icon{
  font-size:14px;
}
.squad-yellow-card-icon,
.squad-red-card-icon{
  width:9px;
  height:13px;
  border-radius:2px;
  box-shadow:0 2px 5px rgba(0,0,0,.16);
}
.squad-yellow-card-icon{
  background:#ffd400;
  border:1px solid rgba(120,90,0,.22);
}
.squad-red-card-icon{
  background:#ef233c;
  border:1px solid rgba(120,0,0,.22);
}
.squad-double-card-icon{
  position:relative;
  width:16px;
  height:14px;
}
.squad-double-card-icon i,
.squad-double-card-icon b{
  position:absolute;
  top:0;
  width:9px;
  height:13px;
  border-radius:2px;
  display:block;
  box-shadow:0 2px 5px rgba(0,0,0,.16);
}
.squad-double-card-icon i{
  left:0;
  background:#ffd400;
  border:1px solid rgba(120,90,0,.22);
}
.squad-double-card-icon b{
  right:0;
  background:#ef233c;
  border:1px solid rgba(120,0,0,.22);
}
.squad-assist-icon{
  width:17px;
  height:17px;
  color:#06113a;
  font-size:15px;
}
.squad-assist-icon i{
  display:block;
  line-height:1;
}
@media(max-width:760px){
  .lineup-list li em{
    min-width:36px!important;
    gap:4px!important;
  }
  .squad-goal-icon{
    font-size:13px;
  }
  .squad-assist-icon{
    width:15px;
    height:15px;
    font-size:14px;
  }
}


/* Patch v131 - Font Awesome assist icon */
.squad-assist-icon .fa-handshake{
  color:#06113a;
}


/* Patch v132 - Squad player names size */
.lineup-list li span{
  font-size:15px!important;
}


/* Patch v133 - Mobile squad player names size */
@media(max-width:760px){
  .lineup-list li span{
    font-size:11px!important;
  }
}

/* Patch v138 - Timeline live timer bubble and checked-in-only squads */
.timeline-live-timer{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  height:28px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:#dc2626!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:1000!important;
  letter-spacing:.04em!important;
  box-shadow:0 10px 24px rgba(220,38,38,.22)!important;
}
.timeline-live-timer::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  margin-right:7px;
  animation:timelineLivePulse 1s infinite;
}
@keyframes timelineLivePulse{
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:.45;transform:scale(.78);}
}
.lineup-list li.lineup-empty span{
  color:#8b91a3!important;
  font-style:italic!important;
  font-weight:700!important;
}
@media(max-width:760px){
  .timeline-live-timer{
    min-width:40px!important;
    height:25px!important;
    font-size:11px!important;
    padding:0 10px!important;
  }
}

/* Patch v139 - Menu/logo/footer teams adjustments */
.mobile-header-logo,
.mobile-menu-logo{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.mobile-header-logo img,
.mobile-menu-logo img{
  display:block;
}
.footer-league-teams{
  display:grid!important;
  grid-template-columns:repeat(6, 1fr)!important;
  gap:26px!important;
  align-items:center!important;
  justify-items:center!important;
  max-width:720px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.footer-league-teams img{
  width:56px!important;
  height:56px!important;
  object-fit:contain!important;
}
@media(max-width:760px){
  .footer-league-teams{
    grid-template-columns:repeat(3, 1fr)!important;
    gap:22px 28px!important;
    max-width:280px!important;
    margin-top:44px!important;
  }
  .footer-league-teams img{
    width:48px!important;
    height:48px!important;
  }
}

/* Patch v140 - Footer team logos full width + mobile no live timeline text */
.footer-league-teams{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:repeat(6, minmax(0, 1fr))!important;
  gap:0!important;
  justify-items:center!important;
  align-items:center!important;
}
@media(max-width:760px){
  .footer-league-teams{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(6, minmax(0, 1fr))!important;
    gap:0!important;
    margin-top:44px!important;
  }
  .footer-league-teams img{
    width:38px!important;
    height:38px!important;
  }

  .score-card.is-live.has-game-info::before,
  .schedule-card.is-live.has-game-info::before,
  .score-card.is-live[data-timeline]::before,
  .schedule-card.is-live[data-timeline]::before,
  .score-card.is-live.has-game-info::after,
  .schedule-card.is-live.has-game-info::after,
  .score-card.is-live[data-timeline]::after,
  .schedule-card.is-live[data-timeline]::after{
    content:none!important;
    display:none!important;
  }
}

/* Patch v147 - Main home news image from admin, preserving layout */
.story-featured-link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.story-featured-link img{
  aspect-ratio:16 / 9;
}

/* Patch v148 - Main news only in home hero image */
.hero.hero-main-news .hero-image{
  background-size:cover!important;
  background-position:center!important;
}

/* Patch v149 - Keep 5 Top Stories boxes and fill from news data */
.story-featured-link,
.story-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.story-featured-link img,
.story-card-link img{
  width:100%;
}
.news-article-page{
  background:#f2f2f2;
  padding:34px 44px 70px;
  min-height:600px;
}
.news-article-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.75fr);
  gap:28px;
  align-items:stretch;
}
.news-article-hero img{
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(6,17,58,.12);
}
.news-article-hero div,
.news-article-card{
  background:#06113a;
  color:#fff;
  border-radius:24px;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  clip-path:polygon(0 18px,18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%);
}
.news-article-hero span,
.news-article-card span{
  color:#BD93FF;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:1000;
}
.news-article-hero time{
  color:#d7dcf2;
  margin:9px 0 22px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.news-article-hero h1,
.news-article-card h1{
  font-family:Libre Baskerville,serif;
  font-size:42px;
  line-height:1.05;
  margin:0 0 16px;
}
.news-article-hero p,
.news-article-card p{
  color:#edf0ff;
  line-height:1.5;
  margin:0;
}
.news-article-body{
  width:min(820px,100%);
  margin:38px auto 0;
  background:#fff;
  border-radius:24px;
  padding:36px;
  box-shadow:0 18px 45px rgba(6,17,58,.08);
}
.news-article-body p{
  font-size:18px;
  line-height:1.72;
  color:#202a4a;
  margin:0 0 22px;
}
.news-article-body p:last-child{margin-bottom:0;}
.news-article-card a{
  display:inline-flex;
  width:max-content;
  margin-top:22px;
  background:#fff;
  color:#06113a;
  text-decoration:none;
  border-radius:999px;
  padding:12px 18px;
  font-weight:1000;
  text-transform:uppercase;
  font-size:12px;
}
@media(max-width:900px){
  .news-article-page{padding:24px 18px 50px;}
  .news-article-hero{grid-template-columns:1fr;}
  .news-article-hero img{height:320px;}
  .news-article-hero h1,.news-article-card h1{font-size:31px;}
  .news-article-body{padding:26px;}
}

/* Patch v150 - News article alternative layout: centered, not full width, full image visible */
.news-article-page{
  background:#f2f2f2!important;
  padding:46px 24px 74px!important;
}
.news-article-hero{
  width:min(1080px,100%)!important;
  margin:0 auto!important;
  display:block!important;
  position:relative!important;
}
.news-article-hero img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  border-radius:26px!important;
  background:#e8ebf2!important;
  box-shadow:0 22px 58px rgba(6,17,58,.14)!important;
}
.news-article-hero div{
  width:min(760px, calc(100% - 44px))!important;
  margin:-72px auto 0!important;
  position:relative!important;
  z-index:2!important;
  background:#06113a!important;
  color:#fff!important;
  border-radius:24px!important;
  padding:30px 34px 32px!important;
  display:block!important;
  clip-path:polygon(0 16px,16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%)!important;
  box-shadow:0 22px 55px rgba(6,17,58,.24)!important;
}
.news-article-hero span{
  display:inline-flex!important;
  color:#BD93FF!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.1em!important;
  font-weight:1000!important;
  margin:0 12px 14px 0!important;
}
.news-article-hero time{
  display:inline-flex!important;
  color:#d7dcf2!important;
  margin:0 0 14px!important;
  font-size:12px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
}
.news-article-hero h1{
  font-family:Libre Baskerville,serif!important;
  font-size:40px!important;
  line-height:1.06!important;
  margin:0 0 14px!important;
}
.news-article-hero p{
  color:#edf0ff!important;
  line-height:1.5!important;
  margin:0!important;
  font-size:16px!important;
}
.news-article-body{
  width:min(760px,100%)!important;
  margin:30px auto 0!important;
  background:#fff!important;
  border-radius:24px!important;
  padding:34px!important;
  box-shadow:0 18px 45px rgba(6,17,58,.08)!important;
}
.news-article-body p{
  font-size:17px!important;
  line-height:1.72!important;
  color:#202a4a!important;
}
@media(max-width:760px){
  .news-article-page{
    padding:28px 14px 52px!important;
  }
  .news-article-hero img{
    border-radius:20px!important;
  }
  .news-article-hero div{
    width:calc(100% - 20px)!important;
    margin:-34px auto 0!important;
    padding:24px!important;
    border-radius:20px!important;
  }
  .news-article-hero h1{
    font-size:29px!important;
  }
  .news-article-hero p{
    font-size:15px!important;
  }
  .news-article-body{
    margin-top:22px!important;
    padding:24px!important;
  }
  .news-article-body p{
    font-size:16px!important;
  }
}

/* Patch v151 - News listing data + mobile article typography */
.news-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
  height:100%;
}
.news-card-link .news-image{
  position:relative;
}
.news-main-badge{
  position:absolute;
  left:12px;
  top:12px;
  background:#facc15;
  color:#06113a;
  border-radius:999px;
  padding:6px 10px;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.news-content p{
  color:#697084;
  font-size:13px;
  line-height:1.45;
  margin:8px 0 12px;
}
@media(max-width:760px){
  .news-article-hero h1{
    font-size:21px!important;
    line-height:1.12!important;
  }
  .news-article-hero span,
  .news-article-hero time{
    font-size:10px!important;
  }
}

/* Patch v152 - News listing cleanup + subtle hero text gradient */
.news-page .news-card .news-content span,
.news-page .news-card .news-meta{
  display:none!important;
}
.news-page .news-card .news-content h2{
  margin-top:0!important;
}
.hero{
  position:relative!important;
  overflow:hidden!important;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(0,9,54,.42) 0%, rgba(0,9,54,.22) 38%, rgba(0,9,54,.05) 70%, rgba(0,9,54,0) 100%);
}
.hero .hero-copy{
  position:relative!important;
  z-index:2!important;
}

/* Patch v153 - News cards show tag/date, hide only body preview and Main badge */
.news-page .news-card .news-content span{
  display:inline-flex!important;
}
.news-page .news-card .news-meta{
  display:flex!important;
}
.news-page .news-main-badge{
  display:none!important;
}

/* Patch v154 - News preview subtitles fixed to two lines */
.news-page .news-card .news-content{
  display:flex!important;
  flex-direction:column!important;
}
.news-page .news-card .news-content p{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  min-height:40px!important;
  max-height:40px!important;
  line-height:20px!important;
  margin:8px 0 12px!important;
}
.news-page .news-card .news-meta{
  margin-top:auto!important;
}

/* Patch v155 - Team logos link to roster everywhere */
.team-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:inherit;
  text-decoration:none;
  line-height:0;
  flex:0 0 auto;
}
.team-logo-link img{
  display:block;
}
.team-logo-link:hover img{
  transform:scale(1.04);
  transition:transform .16s ease;
}
.score-card .team-logo-link,
.schedule-card .team-logo-link,
.schedule-team .team-logo-link,
.timeline-team .team-logo-link,
.event-card .team-logo-link,
.lineup-team-title .team-logo-link{
  position:relative;
  z-index:4;
}
.footer-league-teams .footer-team-logo-link{
  width:100%;
}
.club-card .club-logo-link{
  width:56px;
  height:56px;
}
.club-card .club-logo-link img{
  width:56px;
  height:56px;
  object-fit:contain;
}
.club-cell .standings-logo-link{
  margin-right:8px;
}
@media(max-width:760px){
  .footer-league-teams .footer-team-logo-link{
    width:auto;
  }
}

/* Patch v157 - Restore dynamic standings/clubs and keep logo roster links */
.team-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:inherit;
  text-decoration:none;
  line-height:0;
  flex:0 0 auto;
}
.team-logo-link img{display:block;}
.team-logo-link:hover img{transform:scale(1.04);transition:transform .16s ease;}
.club-card .club-logo-link{width:56px;height:56px;}
.club-card .club-logo-link img{width:56px;height:56px;object-fit:contain;}
.club-cell .standings-logo-link{margin-right:8px;}

/* Patch v158 - Fix linked team logo spacing/alignment */
.clubs-page .clubs-grid{
  padding-top:42px!important;
}
.clubs-page .club-card{
  align-items:center!important;
}
.clubs-page .club-logo-link{
  align-self:center!important;
  margin-top:0!important;
}
.standings-table .club-cell{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
.standings-table .club-cell .standings-logo-link{
  width:42px!important;
  height:42px!important;
  margin-right:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 42px!important;
}
.standings-table .club-cell .standings-logo-link img{
  width:42px!important;
  height:42px!important;
  object-fit:contain!important;
}
.standings-table .club-cell span{
  display:inline-flex!important;
  align-items:center!important;
  line-height:1.1!important;
}

