:root {
	--ALL_BTN: #63C2EE;
	
	/*	Cricket Livescore  */
	--BODY_TXT_COLOR: var(--color2);
	--THIRD_BTN_BG: #000C40;
	--THIRD_BTN_HOVER_BG: #000C40;
	--THIRD_BTN_COLOR: var(--color2);
	--CARD_1_BG: #13171F;
	
	--LEFT_RIGTH_CONTROL_BG: #B8BABF80;
	
	--TXT_COLOR_1: var(--color2);
	--SCROLLBAR_BG: #3B3F47;
	--MODAL_HEADER_BG: #000C40;
	--MODAL_CONTENT_BG: var(--color2);
	--MODAL_TXT_COLOR: var(--color1);
	--INPUT_BG: #c9ccd2;
	--DISABLED_INPUT_BORDER: var(--color1);
	--CARD_2_BG: #c9ccd2;
	--TXT_COLOR_4: var(--color1);
	
	--STATUS_APPROVED_COLOR: #06CC16;
	
	--DRPDOWN_BG: #D5D7DC !important;
	--DRPDOWN_TXT: var(--color1) !important;
	--DRPDOWN_MENU_BG: #D5D7DC !important;
	--DRPDOWN_ITEM_TXT: var(--color1) !important;
}

/* Layout wrapper */
.cricket-menu {
	padding-bottom: 16px !important;
	margin-top: 1rem;
}

.container.cricket-menu { 
	position: relative; 
}

.cricket-menu .cricket-wrapper {
	display: grid !important;
	align-items: center !important;
	margin-top: 50px !important;
	margin-bottom: 20px;
	margin: 0;
	column-gap: 8px;
}

.cricket-title{
	display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: calc(100% + 3rem);
    max-width: 1300px;
    padding: 55px 1.5rem 25px;
    margin: 0 -1.5rem;
}

.cricket-title-light {
    position: absolute;
    width: 1300px;
    height: 100px;
    top: 27px;
    background: var(--hot1_HOTGAME_CONTENT_TITLE_LIGHT_BG);
}

.cricket-title-light:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 45px;
    width: 820px;
    height: 10px;
    background: var(--hot1_HOTGAME_CONTENT_TITLE_LIGHT_BEFORE);
}

.cricket-title-light:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    background: var(--hot1_HOTGAME_CONTENT_TITLE_LIGHT_AFTER);
    width: 482px;
    height: 72px;
    top: 14px;
}

.cricket-menu .cricket-wrapper .title_cricketDesktop {
	text-align: center;
    pointer-events: none;
    font-size: 18px;
    padding: 12px 3px 3px 3px;
    font-weight: 900;
    position: relative;
    
    margin: 0;
    font-size: var(--SECTION_HEADER_LARGE_FONT_SIZE);
    font-weight: var(--MED_FONT_WEIGHT);
    font-family: var(--SECONDARY_FONT_FAMILY);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--homepromo1_TITLE_H3_TXT_COLOR);
}

.cricket-title-highlight {
	position: relative;
	width: calc(100% + 2rem);
    height: 1px;
    min-width: 280px;
    background: var(--hot1_HOTGAME_CONTENT_TITLE_WRAPPER_HIGHLIGHT_BG);
}

.cricket-title-highlight:before {
	content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translate(-50%);
    height: 3px;
    border-radius: 100px;
    width: 112px;
    filter: var(--hot1_HOTGAME_CONTENT_TITLE_WRAPPER_HIGHLIGHT_BEFORE_FILTER);
    background: var(--hot1_HOTGAME_CONTENT_TITLE_WRAPPER_HIGHLIGHT_BEFORE_BG);
}

.cricket-title-highlight:after {
	content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translate(-50%);
    height: 3px;
    border-radius: 100px;
    width: 112px;
    background: var(--hot1_HOTGAME_CONTENT_TITLE_WRAPPER_HIGHLIGHT_AFTER_BG);
}

.cricketNavi-wrapper { 
	padding: 0; 
}

.cricketNavi_Container { 
	justify-content: flex-end; 
}

.cricketNaviList { 
	display: flex; 
	gap: 8px; 
}

.cricketNavi-Search,
.cricketNavi-Search-btn,
.cricketNavi-All {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--THIRD_BTN_BG);
	color: var(--THIRD_BTN_COLOR);
	border: none;
	border-radius: 10px;
	width: 42px; 
	height: 40px; 
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
}

.cricketNavi-All {
	width: 140px !important; 	
	height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--ALL_BTN);
    border-radius: 6px;

    background: transparent;
    color: #FFFFFF;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
    transition: all 0.2s ease;
    
    margin: 0 auto;
}

.cricketNavi-Search i {
	 font-size: 16px;
}

.cricketNavi-All i {
	 margin-left: 6px;
	 font-size: 12px;
}

.cricketNavi-Search:focus,
.cricketNavi-All:focus {
	outline: none;
	background-color: var(--THIRD_BTN_BG);
	box-shadow: none;
}

.cricketNavi-Search:hover,
.cricketNavi-All:hover {
	 filter: var(--THIRD_BTN_HOVER_BG);
}

.cricketNavi-All span {
	 font-weight: 500;
}

/* Live Score List */
.cricket-menu .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cricket-menu .cricketlist-content {
    --grid-cols: 7.5;
    --grid-gap: 10px;
    --item-width: calc((100% - var(--grid-gap) * (var(--grid-cols) - 1)) / var(--grid-cols));

    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px 0 0;
    margin: 0;
    width: 100%;
    scrollbar-width: none;
    justify-content: flex-start;
    direction: ltr;
}

.cricket-menu .cricketlist-content > .col-xl-4,
.cricket-menu .cricketlist-content > .col-lg-4,
.cricket-menu .cricketlist-content > .col-md-6 {
    padding-left: 0;
    padding-right: 0;
    margin-top: 8px;
}

@media (max-width: 1680px) {
    .cricket-menu .cricketlist-content { 
   		--grid-cols: 7.5; 
    }
}
@media (max-width: 1366px) {
    .cricket-menu .cricketlist-content { 
    	--grid-cols: 5.5; 
    }
}
@media (max-width: 1200px) {
    .cricket-menu .cricketlist-content { 
    	--grid-cols: 4.5; 
    }
}
@media (max-width: 1024px) {
    .cricket-menu .cricketlist-content { 
    	--grid-cols: 3.5; 
    }
}
.cricket-menu .cricketlist-content::-webkit-scrollbar { 
	display: none; 
}

.cricketlist-content > div:last-child .match-card {
    margin-right: 0;          /* remove margin from last card */
}

/* Live Sport List */
/* ====== Card Container ====== */
.match-card {
    background: var(--CARD_1_BG);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    margin-right: 12px;
    color: var(--TXT_COLOR_1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
    cursor: pointer;
    transform: translateY(-3px);
}

/* ====== Card Header Section ====== */
.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--TXT_COLOR_1);
    margin-bottom: 14px;
}

.match-header .league-name {
    display: flex;
    align-items: center;
    color: var(--TXT_COLOR_1);
    font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
    font-weight: var(--REG_FONT_WEIGHT);
    font-family: var(--PRIMARY_FONT_FAMILY);
}

.match-header .league-logo {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-bottom: 1px;
}

.match-header .season {
    display: flex;
    align-items: center;
    color: var(--TXT_COLOR_1);
    font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
    font-weight: var(--REG_FONT_WEIGHT);
    font-family: var(--PRIMARY_FONT_FAMILY);
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--STATUS_APPROVED_COLOR);
    margin-right: 5px;
    margin-bottom: 1px;
}

/* ====== Middle: TEAMS + SCORE ====== */
.cricket-all-teams-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 12px 0 4px;
}

/* each row: logo | name | score pill */
.cricket-all-teams-wrapper .team-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* logo */
.cricket-all-teams-wrapper .team-row .team-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 32px;
    object-fit: contain;
    margin-right: 12px;
    margin-bottom: 0;
}

/* team name */
.cricket-all-teams-wrapper .team-row .team-name {
    flex: 1 1 auto;
    font-family: var(--PRIMARY_FONT_FAMILY);
    font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
    font-weight: var(--REG_FONT_WEIGHT);
    color: var(--TXT_COLOR_1);
    line-height: 32px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* small score box on the right */
.cricket-all-teams-wrapper .team-row .score-box {
    flex: 0 0 auto;
    margin-left: 12px;
    width: 70px;
    height: 26px;
    padding: 4px 10px;
    border-radius: 5px;         /* capsule / pill */
    background: var(--SCROLLBAR_BG);
    color: var(--TXT_COLOR_1);
    font-family: var(--PRIMARY_FONT_FAMILY);
    font-size: var(--BODY_TXT_FONT_SIZE);
    font-weight: var(--MED_FONT_WEIGHT);
    text-align: center;
    line-height: 1.2;
    border: 1px solid var(--ICON_DISABLED_BG);
}

/* ====== Responsive Fix ====== */
@media (max-width: 768px) {
    .cricketlist-content .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Live score control */
.cricket-controls { 
	position: absolute !important;
    top: 60%;
    
    left: -34px;
    width: calc(100% + 58px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    transform: translateY(-50%);

    pointer-events: none;
    z-index: 5;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cricket-scroll { 
	pointer-events: auto;
	width: 42px; 
	height: 40px; 
	border-radius: 50%; 
	background: var(--LEFT_RIGTH_CONTROL_BG); 
	color: var(--THIRD_BTN_COLOR); 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	cursor: pointer; 
	z-index: 1; 
	opacity: .9; 
}

.cricket-scroll:hover { 
	filter: var(--THIRD_BTN_HOVER_BG);
}

.cricket-scroll.disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Preloader spinner */
.cricket-preloader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    color: var(--BODY_TXT_COLOR);
    transition: opacity 0.3s ease-out;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--PRIMARY_INACTIVE_BTN_BG);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.cricket-preloader .spinner {
    border-top-color: var(--TXT_COLOR_3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Game card animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cricket_content {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.cricket_content .gamelist_name,
.cricket_content .gamelist_providername {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.cricket_content:nth-child(1) {
	animation-delay: 0.05s; 
}

.cricket_content:nth-child(2) { 
	animation-delay: 0.1s; 
}

.cricket_content:nth-child(3) { 
	animation-delay: 0.15s; 
}

.cricket_content:nth-child(4) { 
	animation-delay: 0.2s; 
}

.cricket_content:nth-child(5) { 
	animation-delay: 0.25s; 
}

.cricket_content:nth-child(6) { 
	animation-delay: 0.3s; 
}

.cricket_content:nth-child(7) { 
	animation-delay: 0.35s; 
}

.cricket_content:nth-child(8) { 
	animation-delay: 0.4s; 
}

.cricket_content:nth-child(9) { 
	animation-delay: 0.45s; 
}

.cricket_content:nth-child(10) { 
	animation-delay: 0.5s; 
}

.cricket_content:nth-child(11) { 
	animation-delay: 0.55s; 
}

.cricket_content:nth-child(12) {
	animation-delay: 0.6s; 
}

.cricket_content:nth-child(13) { 
	animation-delay: 0.65s; 
}

.cricket_content:nth-child(14) { 
	animation-delay: 0.7s; 
}

.cricket_content:nth-child(15) { 
	animation-delay: 0.75s; 
}

.cricket_content:nth-child(16) { 
	animation-delay: 0.8s; 
}

.cricket-preloader.fade-out {
    opacity: 0;
}

/* Search Modal */
.search-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

.search-modal-content {
	margin: 10% auto;
	border-radius: 10px;
	width: 655px;
	height: 429px;
	color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	background-color: var(--MODAL_BG);
}

.search-modal-header {
	background-color: var(--MODAL_HEADER_BG);
	display: flex;
	justify-content: flex-end;
	position: relative;
	align-items: center;
	border-bottom: 1px solid #333;
	width: 655px;
	height: 68px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.search-modal-header h3{
	font-family: var(--SECONDARY_FONT_FAMILY) !important;
	font-size: var(--HEADER_FONT_SIZE) !important;
	font-weight: var(--MED_FONT_WEIGHT) !important;
	line-height: 100% !important;
    letter-spacing: 0.54px !important;
    width: 65px !important;
    height: 23px !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.cricket-search .close-btn {
	background: var(--MODAL_CLOSE_BTN_BG);
	border: none;
	color: var(--MODAL_CLOSE_BTN_COLOR);
	font-size: 24px;
	cursor: pointer;
	width: 40px;
	height: 38px;
	border-radius: 10px;
	margin-right: 3%;
}

.cricket-search .search-modal-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 0;
	height: 361px;
}

.cricket-search  .form-group {
	display: flex;
	flex-direction: column;
	width: 565px;
	margin-bottom: 35px;
}

.cricket-search label {
	font-size: var(--BODY_TXT_FONT_SIZE);
	color: var(--TXT_COLOR_1);
	font-weight: var(--MED_FONT_WEIGHT);
	font-family: var(--PRIMARY_FONT_FAMILY) !important;
}

/* Input Wrapper */
.score-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--INPUT_BG);
	border: var(--INPUT_BORDER);
	border-radius: 10px;
	width: 565px;
	height: 42px;
	padding: 0 16px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.date-input-label {
    background: var(--INPUT_BG);
    color: var(--TXT_COLOR_1);
    border: none;
    outline: none;
}

.date-input-label:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Remove native calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	cursor: pointer;
	position: absolute;
	right: 10px;
	width: 20px;
	height: 20px;
}

/* Icons */
.input-icon-left {
	width: 24px;
	height: 24px;
	margin-right: 12px;
}

.input-icon-right {
	position: absolute;
	right: 10px;
	color: var(--TXT_COLOR_1);
	font-size: 12px;
	pointer-events: none;
	background-color: var(--THIRD_BTN_BG);
	padding: 10px;
    border-radius: 5px;
}

/* Apply Button */
.modal-actions {
	display: flex;
	justify-content: center;
	padding-top: 30px;
}

.cricket-search .btn-search {
	width: 218px;
	height: 44px;
	background: var(--PRIMARY_BTN_BG);
	border: none;
	border-radius: 10px;
	padding: 13px 23px 13px 13px;
	gap: 10px;
	color: var(--MODAL_TXT_COLOR);
	
	font-family: var(--PRIMARY_FONT_FAMILY);
	font-size: var(--BUTTON_LARGE_FONT_SIZE);
	font-weight: var(--MED_FONT_WEIGHT);
	line-height: 100%;
    letter-spacing: 0;
}


/* --- Live Dot Base --- */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* --- Status Colors --- */
.live-dot.FIXTURE {
    background-color: #FFC12B; /* Green for Finished */
}

.live-dot.RESULT {
    background-color: #1FA2DE; /* Gray for Not Started */
}

.live-dot.LIVE {
    background-color: var(--STATUS_APPROVED_COLOR); /* Gray for Not Started */
}

/* ===== cricket Modal ===== */
.cr-modal {
    display: none;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
}

.cr-modal.active {
    display: flex;
    pointer-events: auto;
}

/* --- Modal Background Panel --- */
.cr-modal-panel {
    background: var(--MODAL_CONTENT_BG);
    border-radius: 10px;
    width: 780px;
    max-height: 655px;
    color: var(--MODAL_TXT_COLOR);
    font-family: var(--PRIMARY_FONT_FAMILY);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.96);
    opacity: 0;
    transition: all 0.25s ease-out;
}

.cr-modal.active .cr-modal-panel {
    transform: scale(1);
    opacity: 1;
}

/* --- Header --- */
#cr-modal-content .cr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--MODAL_HEADER_BG);
    padding: 10px 16px;
    margin-bottom: 5px;
    height: 68px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

#cr-modal-content .cr-modal-header .left {
    display: flex;
    align-items: center;
    gap: 5px;
}

#cr-modal-content .cr-modal-header .league-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

#cr-modal-content .cr-modal-header .league-name {
    font-size: var(--BODY_TXT_FONT_SIZE);
    font-weight: var(--LIGHT_FONT_WEIGHT);
    color: var(--TXT_COLOR_1);
}

#cr-modal-content .cr-modal-header .right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- Round group with green dot --- */
#cr-modal-content .cr-modal-header .round-group {
    display: flex;
    align-items: center;
    gap: 6px; /* spacing between dot and text */
}

#cr-modal-content .cr-modal-header .live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--STATUS_APPROVED_COLOR); /* Figma green */
    border-radius: 50%;
    display: inline-block;
}

#cr-modal-content .cr-modal-header .live-dot.FIXTURE {
    background-color: #FFC12B; /* Green for Finished */
}
#cr-modal-content .cr-modal-header .live-dot.RESULT {
    background-color: #1FA2DE; /* Gray for Not Started */
}

#cr-modal-content .cr-modal-header .live-dot.LIVE {
    background-color: var(--STATUS_APPROVED_COLOR); /* Gray for Not Started */
}

#cr-modal-content .cr-modal-header .round {
    font-size: var(--BODY_TXT_FONT_SIZE);
    color: var(--TXT_COLOR_1);
    font-weight: var(--LIGHT_FONT_WEIGHT);
}

#cr-modal-content .cr-modal-header .cr-modal-close {
    background: var(--THIRD_BTN_BG);
    border: none;
    color: var(--THIRD_BTN_COLOR);
    font-size: var(--ICON_SMALL_FONT_SIZE);
    width: 40px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* --- Teams Section --- */
#cr-modal-content .teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0 60px;
}

/* Each team container */
#cr-modal-content .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 140px; /* consistent width for symmetry */
}

/* Team logo */
#cr-modal-content .team img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

#cr-modal-content .team img:hover {
    transform: scale(1.05);
}

/* Team name */
#cr-modal-content .team .team-name {
    font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
    font-weight: var(--LIGHT_FONT_WEIGHT);
    color: var(--MODAL_TXT_COLOR);
    text-align: center;
    line-height: 1;
}

/* --- Middle Section --- */
#cr-modal-content .status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#cr-modal-content .score .statusCricket {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

#cr-modal-content .resultStatus {
    display: flex;
    align-items: center;
}

/* Score boxes */
#cr-modal-content .score-box {
    width: 80px;
    height: 41px;
    background: var(--INPUT_BG);
    border: var(--DISABLED_INPUT_BORDER);
    border-radius: 6px;
    font-family: var(--PRIMARY_FONT_FAMILY);
    color: var(--MODAL_TXT_COLOR);
    font-weight: var(--REG_FONT_WEIGHT);
    font-size: var(--BODY_TXT_FONT_SIZE);
    display: flex;
    align-items: center;
    justify-content: center;
}

#cr-modal-content .score-box.winner {
    color: var(--SECONDARY_COLOR); /* Winner number color */
}

/* Separator */
#cr-modal-content .score-separator {
    font-size: var(--BODY_TXT_FONT_SIZE);
    font-weight: var(--REG_FONT_WEIGHT);
    color: var(--MODAL_TXT_COLOR);
}

/* --- Winner Arrow --- */
#cr-modal-content .winner-arrow {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--SECONDARY_COLOR);
    display: inline-block;
    position: absolute;
    top: 61%;
    transform: translateY(-50%);
}

/* Position tweaks */
#cr-modal-content .home-arrow {
    left: calc(27% - 62px); /* shift slightly left from center */
}

#cr-modal-content .away-arrow {
    right: calc(27% - 62px); /* shift slightly right from center */
    transform: translateY(-50%) rotate(180deg);
}

/* Make it responsive */
@media (max-width: 768px) {
    #cr-modal-content .teams {
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;
    }

    #cr-modal-content .score {
        font-size: 32px;
        padding: 10px 24px;
    }

    #cr-modal-content .team img {
        width: 70px;
        height: 70px;
    }

    #cr-modal-content .team .team-name {
        font-size: 14px;
    }
}

/* --- Info Grid --- */
#cr-modal-content .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-bottom: 15px;
    padding: 0px 35px;
}

#cr-modal-content .info-grid div {
    display: flex;
    flex-direction: column;
    background: var(--CARD_2_BG);
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 52px;
    justify-content: center;
}

#cr-modal-content .info-grid b {
	font-family: var(--PRIMARY_FONT_FAMILY);
    font-size: var(--SUBBODY_TXT_FONT_SIZE);
    color: var(--TXT_COLOR_4);
    font-weight: var(--LIGHT_FONT_WEIGHT);
    display: block;
    margin-bottom: 4px;
}

#cr-modal-content .info-grid span {
    font-family: var(--PRIMARY_FONT_FAMILY);
    font-size: var(--SUBBODY_TXT_FONT_SIZE);
    color: var(--MODAL_TXT_COLOR);
    font-weight: var(--LIGHT_FONT_WEIGHT);
}

