/**
 * Live blog iframe scorecard — masthead-live-widget.php layout.
 * Enqueued by Enqueues::enqueueLiveScorecardEmbedStyles() for the standalone widget iframe.
 *
 * @package ISPV2
 */

/*.is-score-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 45%),
		linear-gradient(180deg, #2f63ff, #2a55f3);
	border-radius: 8px;
	padding: 14px 18px 16px;
	box-shadow: 0 2px 8px rgba(15, 35, 95, 0.22);
}*/

.is-sa-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
	max-width: 100%;
	gap: 0;
}

.is-left-team {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

.is-right-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	text-align: center;
}

.is-left-team .lt-team_name {
	padding-bottom: 0;
	width: 100%;
	max-width: 100%;
}

.lt-team_name {
	font-size: 13px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.96);
	text-transform: uppercase;
	margin: 0 0 8px;
	display: block;
	width: 100%;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.strike .lts-score {
	color: #fff;
}

.strike .lts-ov {
	color: rgba(251, 251, 251, 0.76);
}

.is-left-team .lt-score {
	justify-content: flex-end;
}

.is-right-team .lt-score {
	justify-content: flex-start;
}

.is-left-team .lts-right {
	margin-left: 10px;
}

/* Fixed logo slot — any intrinsic image size is clipped to this box */
.is-score-area .team-flag {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	max-width: 40px;
	max-height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
	border: 2px solid rgba(255, 255, 255, 0.95);
}

.is-score-area .team-flag img.team-logo-new,
.is-score-area .team-flag img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position: center;
	border: 0;
	border-radius: 0;
	vertical-align: middle;
}

.is-score-area .team-flag .team-logo-new:not(img) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 2px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	color: #fff;
	overflow: hidden;
	word-break: break-word;
}

.is-score-area .vs {
	flex-shrink: 0;
	align-self: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #1a1d2e;
	font-size: 9px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.is-right-team .lt-team_name {
	padding-bottom: 0;
	width: 100%;
	max-width: 100%;
}

.lt-score {
	display: flex;
	align-items: center;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

.is-score-area .lts-left,
.is-score-area .lts-right {
	min-width: 0;
}

.is-right-team .lts-left {
	margin-right: 10px;
}

.lts-score {
	font-size: 17px;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2px;
	font-variant-numeric: tabular-nums;
}

.lts-ov {
	font-size: 11px;
	line-height: 1.25;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78);
}

/*.is-score-area .isp-live-scorecard-full-match {
	display: block;
	text-align: center;
	flex-shrink: 0;
	line-height: 1;
	margin-top: 2px;
	padding-top: 2px;
}*/


.isp-live-scorecard-full-match {
    display: block;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0px;
    padding-top: 0px;
    float: right;
    width: 19%;
    right: 0;
    top: 50px;
    position: absolute;
}
/*.is-score-area .isp-live-scorecard-full-match a {
	display: inline-block;
	padding: 7px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.38);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}*/

.isp-live-scorecard-full-match a {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    /* border: 1px solid rgba(255, 255, 255, 0.38); */
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); */
}


.is-score-area {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 40%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 45%), linear-gradient(180deg, #2f63ff, #2a55f3);
    border-radius: 8px;
    padding: 8px 5px 7px;
    box-shadow: 0 2px 8px rgba(15, 35, 95, 0.22);
}

 .isp-live-scorecard-full-match a:hover {
	background: rgba(255, 255, 255, 0.26);
	border-color: rgba(255, 255, 255, 0.45);
}

 .isp-live-scorecard-full-match a:active {
	background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 720px) {
  .isp-live-scorecard-full-match {
	    width: 100%;
	    text-align: center;
	    top: 0px;
	    position: initial;
	}
	iframe.live-blog-live-scorecard-iframe {
		height: 120px;
	}
}