

h1.article_title, h1.h2h_title, h2.article_title {
  display: block;
  font-size: 42px;
  -webkit-margin-before: 0 em;
  -webkit-margin-after: 0 em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  font-weight: normal;
  text-align: center;
  color: #333333;
  text-shadow: none;
  font-variant: normal;
  padding-bottom: 10px;
  margin: 0;
}

h2.article_title {
  font-size: 28px;	
}

/*analyis front page cards*/

.analysisHolder {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.Ahold {
    flex: 1 1 320px;
    max-width: 320px;
    min-width: 280px;
}

.Ahold a {
    text-decoration: none;
    color: inherit;
}

.analysis {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    transition: .25s;
}

.analysis:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.cardHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px;
    min-height: 60px;
    box-sizing: border-box;
}

.cards {
	width: 15px;
}

.circle41 {
    color: white;
    height: 35px;
    width: 35px;
    aspect-ratio: 1 / 1;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    vertical-align: middle;
    border-radius: 50%;
    background: #A52A2A;
    border: 1px solid #333333;
}

.circle2 {
    color: #333333;
    height: 35px;
    width: 35px;
    aspect-ratio: 1 / 1;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    vertical-align: middle;
    border-radius: 50%;
    background-color: #73cde5;
    font-size: 14px;
    border: 1px solid #333333;
}


.analTable {
    margin: 0 auto;
    display: table;
    margin-bottom: 20px;
}

.narrow {
    width: 450px;
}

div.analTable > div:nth-of-type(odd), div.table4747 > div:nth-of-type(odd) {
    background: #ececec;
}

.group {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C62828;
}

.slash {
    flex-shrink: 0;
    color: #bbb;
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
}

.summary {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.imageCard img {
    display: block;
    width: auto;
    height: 140px;
    object-fit: cover;
    margin: 0 auto;
}

.analysisID {
    padding: 10px 14px;
    font-size: 9px;
    color: #999;
}








.keyText {
    display: table-cell;
    padding-left: 3px;
    text-align: left;
    vertical-align: middle;
}


img.balls {
	width:auto; 
	height:15px; 
	margin-bottom: 5px; 
	vertical-align: middle; 
	padding:0px;
}

img.yellow_card, img.red_card, img.orange_card {
	width:auto; 
	height:15px; 
	margin-bottom: 5px; 
	vertical-align: middle; 
	padding:1px;
}

.dateHold {
  	vertical-align: middle;
  	display: table-cell;
  	width: 50px;
  	padding: 5px;
}

.dateSVGmonth {
  	font-size: 5.5em;
}

.dateSVGday {
  	font-size: 12.5em;
}

.dateSVGweekday {
  	font-size: 5.5em;
}

.homeScore, .awayScore {
  	font-size: 25px;
  	color: white;
  	text-align: center;
  	background-color: #333333;
  	border-radius: 6px;
  	padding: 3px;
}

.fixturedetails {
  	margin: 8px auto;
  	border-color: #e6e6e6;
  	border-width: 1px;
  	border-style: solid;
 	width: 900px;
 	padding: 10px;
}


.row {
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1.125rem;
    display: table-row;
}

.row.show {
    opacity: 1;
    transform: translateY(0);
}

.metricToggle {
    display: inline-flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
}

.metricBtn {
    padding: 10px 16px;
    border: 0;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 600;
}

.metricBtn.active {
    background: #111;
    color: #fff;
}

.butHold {
	margin-top: 15px;
	text-align: center;
}

.key {
    color: grey;
    margin: 0 auto;
    text-align: center;
    display: table;
    padding: 5px;
}

.legend_note{
	width: inherit;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    font-size: 0.75em;
    margin-bottom: 1em;
    margin-top: 20px;
    color: #808080;
}

.numRank {
    display: table-cell;
    vertical-align: middle;
    min-width: 30px;
    max-width: 30px;
    width: 30px;
}

.seaS, .ptsA, .ptsAw, .gC, .ptsC, .tC, .gameTime {
    width: 40px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

#top {
    width: 100vw;
	height: 100px;
	background-color: #000000;
    margin: 0 auto;
    background-color: white;
    margin-bottom: 10px;
    display: table;
    padding-bottom: 4.5rem;
}

.fade {
    opacity: 0;
    transition: opacity .25s;
}
.fade.show {
    opacity: 1;
}


.headHold {
    position: relative;
    width: 60px;
    height: 60px;
    display: table-cell;
    vertical-align: middle;
}


.head-ref {
    border-radius: 50%;
    vertical-align: middle;
    margin: 8px;
    height: 45px;
    width: 45px;
    border: 0px;
    opacity: 0;
    object-fit: cover;
    display: block;
    filter: blur(4px);
    transform: scale(1.02);
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
    background: var(--primaryColor);
}

.head-ref.loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.badgeLayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
}


.crest {
	background-color: transparent;
	position: relative;
    top: 5px;
    left: 40px;
    width: 25px;
    height: 25px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.awayCrest {
	background-color: var(--awayColor);
	position: relative;
    width: 50px;
    height: 50px;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}

.homeCrest {
	background-color: var(--homeColor);
	position: relative;
    width: 50px;
    height: 50px;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}

.homeTeamName {
	text-align: right;
}

.crest.loaded {
    opacity: 1;
}

.refHead {
	position: relative;
    width: 50px;
    height: 50px;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}

.jerseyNumber {
    position: absolute;
    margin-top: -26px;
    margin-left: 0px;
    text-align: center;
    top: 65px;
    left: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid black;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    color: black;
    transition: opacity 0.2s ease;
}

.row.show .jerseyNumber {
    opacity: 1;
}

.number_block {
    width: 25px;
    padding: 5px;
    background-color: black;
    color: white;
    margin: 2px;
    border-radius: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    display: block;
    text-align: center;
}

.playerName {
    display: table-cell;
    text-align: left;
    width: 165px;
    vertical-align: middle;
}

.loading {
    opacity: 0.4;
    filter: blur(1px);
    transition: opacity .2s, filter .2s;
}

.skeleton {
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#loadingIndicator {
    text-align:center;
    opacity:0;
    transition:opacity .25s ease;
    font-size:14px;
    margin:10px 0;
    font-weight: 800;
}

.dots {
    display:inline-block;
    width: 1.5em;
    text-align:left;
}

.dots::after {
    content: '';
    animation: dots 1.2s infinite steps(4);
}

@keyframes dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}

#seasonLinks {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 50px;
    column-gap: 6px;
    margin-bottom: 60px;
}

#seasonLinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    transition: width .35s ease;
    position: relative;
    overflow: visible;
}

#seasonLinks a.activeSeason {
    width: 140px;
    height: 60px;
}

#seasonLinks img {
    width: 100%;
    height: auto;

    transform: scale(1);
    transform-origin: center center;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

#seasonLinks a.activeSeason img {
    transform: scale(1.15);  /* subtle extra emphasis */
}

/* base icon */
.seasonImg {
    width: 38px;
    height: 38px;
    transition: transform 0.25s ease;
    transform-origin: center;
    cursor: pointer;
}

/* selected icon */
.seasonImgL {
    width: 38px;
    height: 38px;
    transform: scale(2.2);
    z-index: 10;
    position: relative;
}

.season_link {
    width: 75vw;
    margin: 0 auto;
    text-align: center;
}

#seasonLinks a.activeSeason {
    z-index: 5;
}



.td6036 {
    display: table-cell;
    text-align: center;
    font-size: 13px;
    border: 1px solid #808080;
}

.mcw3v {
    display: table-cell;
    text-align: center;
    border: 1px solid #808080;
}


.sc {
    max-height: 15px !important;
    max-width: 15px !important;
}



.clubGameCard {
    display: grid;
    grid-template-columns: 60px 80px 80px 120px 50px 50px 90px 50px 120px 120px 100px 100px;
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: center;
}


.matchGameCard {
    position: relative;
    display: grid;
    grid-template-columns: 45px 70px 1fr 160px 1fr 120px;
    grid-template-rows: auto auto auto;
    gap: 12px;
    align-items: center;
    background: white;
    border-radius: 18px;
    padding: 18px;
    margin: 15px auto;
    width: min(900px, 95%);    
    box-shadow:
        0 8px 20px rgba(0,0,0,.08),
        0 2px 5px rgba(0,0,0,.05);
    border: 1px solid #eee;
    overflow:hidden;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.matchGameCard:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0,0,0,.15);
}

.matchGameCard::before,
.matchGameCard::after {
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    width:8px;
}

.matchGameCard::before {
    left:0;
    background:var(--homeColor);
}

.matchGameCard::after {
    right:0;
    background:var(--awayColor);
}

[data-field="metricDisplay"] {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:10px;
	background: linear-gradient(
	    135deg,
	    var(--homeColor),
	    var(--awayColor)
	);
	color:white;
	border-radius:18px;
}



.metricValue {
    font-size:64px;
    line-height:1;
    font-weight:900;
    color:white;
    letter-spacing:-2px;
}

.metricLabel {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:2px;
    color:#999;
    margin-top:6px;
}

.metricBar {
    width:120px;
    height:5px;
    border-radius:10px;
    background:#eee;
    margin-top:15px;
}

.metricBarFill {
    height:100%;
    background:#00958F;
    border-radius:10px;
}


.number_block {
	width:40px;
	height:40px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:18px;
	font-weight:800;
	background:#111;
	color:white;
}


.refereeHolder {
    display: flex;
    align-items: center; 
    gap: 4px;
}

.refHead {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.refName {
}

.bar1 {
	rx: 12px; /* Rounded corners */
	ry: 12px; /* Rounded corners */
}

.bar2 {
	rx: 12px; /* Rounded corners */
	ry: 12px; /* Rounded corners */
}
        
.axis text {
	text-anchor: middle;
	font-size: 16px;
}
        	
.axis path, .axis line {
	fill: none;
	stroke: none; /* Remove axis lines */
	shape-rendering: crispEdges;
}

.circle-textSum {
	font-size: 10px;
	text-anchor: middle;
	dominant-baseline: middle;
	font-weight: 800;
}

.circleSum {
	fill: white;
	stroke: black;
}
        
.comparisonHeadHold {
  	display: flex; 
  	margin: 0 auto;
  	width: 95%;
  	max-width: 800px;
}
  
#playerAnalysis, #coachAnalysis, #clubAnalysis, #refereeAnalysis {
  	border: 1px solid #333333;
  	width: 95%;
  	max-width: 800px;
  	margin: 0 auto;
  	background: white;
  	border-radius: 25px;
  	padding-bottom: 150px;
}


.leftHead,
.rightHead {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
}
  

  
.ratingHold {
  	text-align: center;
  	vertical-align: top;
}
  
  
.Count2, .Count1 {
  	font-size: 60px;
  	display: block; 
  	text-align: center;
}
  
.ratingText {
  	font-size: 18px;
  	display: block;
    text-align: center;
    margin-top: 30px;
}
  
.playerHeadz {
  	border-radius: 50%; 
  	height: 80px;
  	margin-top: 20px;
}
  
.clubCrest img {
	width: 30px;
    height: 30px;
    position: absolute;
    margin-top: 20px;
    margin-left: 20px;
}
  

@media (max-width: 768px) {
	
	.metricToggle {
		max-width: 80vw;
	}
	
	.season_link {
		width: 95vw;
	}
	
	#loadingIndicator {
		margin: 0px;
	}

    #seasonLinks {
    	display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        margin: 0 auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        height: 100px;
    }    

    #seasonLinks::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    #seasonLinks img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    #seasonLinks a {
        flex: 0 0 auto;  /* prevents shrinking/wrapping */
        width: 40px;
        height: 40px;
        scroll-snap-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: width 0.25s ease, height 0.25s ease;
    }
 
	#seasonLinks a img {
	    transition: transform .25s ease;
	}
    
    #seasonLinks a.activeSeason {
	    width: 80px;
	    height: 60px;
	}    
    
    #seasonLinks a.activeSeason img {
	    width: 78px;
        height: 78px;
	}

    .seasonImg {
        width: 30px;
        height: 30px;
        padding: 0px;
    }

    .seasonImgL {
        transform: scale(1.1); /* reduce aggression on mobile */
    }
    
    .jerseyNumber {
    	font-size: 9px;
    	padding: 0;
    }
    
    .legend_note {
    	margin: 0px;
    }
    
    .butHold {
    	margin-top: 0px;
    }
    
    .keyText {
    	font-size: 0.75em;
    }
    
    .metricBtn {
    	font-size: 0.75em;
    	padding: 5px 8px;
    }

	.axis text {
		font-size: 12px;
	}
}