.pcs-widget,
.pcs-box-widget,
.pcs-strip-widget {
	--pcs-primary: #1748ff;
	--pcs-secondary: #6c10ff;
	--pcs-live: #16a34a;
	--pcs-result: #7c3aed;
	--pcs-ink: #101828;
	--pcs-muted: #667085;
	--pcs-line: rgba(16, 24, 40, .10);
	--pcs-soft: #f4f6ff;
	width: 100%;
	font-family: inherit;
	color: var(--pcs-ink);
}

.pcs-widget *,
.pcs-widget *::before,
.pcs-widget *::after,
.pcs-box-widget *,
.pcs-box-widget *::before,
.pcs-box-widget *::after,
.pcs-strip-widget *,
.pcs-strip-widget *::before,
.pcs-strip-widget *::after {
	box-sizing: border-box;
}

.pcs-match-list[hidden],
.pcs-box-matches[hidden],
.pcs-strip-match[hidden],
.pcs-status[hidden],
.pcs-box-status[hidden],
.pcs-strip-status[hidden] {
	display: none !important;
}

.pcs-shell {
	overflow: hidden;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid var(--pcs-line);
	border-radius: 22px;
	background:
		radial-gradient(circle at 96% 0%, rgba(108, 16, 255, .13), transparent 27%),
		linear-gradient(145deg, #fff 0%, #f8f9ff 100%);
	box-shadow: 0 18px 55px rgba(25, 44, 98, .10);
}

.pcs-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.pcs-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 5px 10px;
	margin-bottom: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--pcs-primary), var(--pcs-secondary));
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.pcs-header h2 {
	margin: 0;
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.12;
	letter-spacing: -.035em;
}

.pcs-header p {
	margin: 9px 0 0;
	color: var(--pcs-muted);
	font-size: 14px;
}

.pcs-update-box {
	flex: 0 0 auto;
	min-width: 180px;
	padding: 13px 15px;
	border: 1px solid var(--pcs-line);
	border-radius: 12px;
	background: rgba(255,255,255,.76);
}

.pcs-update-box span {
	display: block;
	margin-bottom: 4px;
	color: var(--pcs-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.pcs-update-box strong {
	font-size: 13px;
}

.pcs-tabs {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	margin-bottom: 16px;
	border: 1px solid var(--pcs-line);
	border-radius: 12px;
	background: #fff;
}

.pcs-tab {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 0 13px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--pcs-muted);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
}

.pcs-tab.is-active {
	background: var(--pcs-ink);
	color: #fff;
}

.pcs-tab-count {
	display: grid;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	place-items: center;
	border-radius: 999px;
	background: rgba(102,112,133,.12);
	color: inherit;
	font-size: 9px;
}

.pcs-tab.is-active .pcs-tab-count {
	background: rgba(255,255,255,.14);
}

.pcs-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.pcs-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 210px;
	color: var(--pcs-muted);
	text-align: center;
}

.pcs-status.is-error,
.pcs-box-status.is-error,
.pcs-strip-status.is-error {
	color: #b42318;
}

.pcs-spinner,
.pcs-box-spinner,
.pcs-strip-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid rgba(23, 72, 255, .14);
	border-top-color: var(--pcs-primary);
	border-radius: 50%;
	animation: pcs-spin .8s linear infinite;
}

.pcs-status.is-error .pcs-spinner,
.pcs-box-status.is-error .pcs-box-spinner,
.pcs-strip-status.is-error .pcs-strip-spinner {
	display: none;
}

@keyframes pcs-spin {
	to { transform: rotate(360deg); }
}

.pcs-match-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.pcs-match-card {
	position: relative;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--pcs-line);
	border-radius: 15px;
	background: #fff;
}

.pcs-match-card.is-pakistan {
	border-color: rgba(22,163,74,.36);
	box-shadow: inset 4px 0 0 #16a34a;
}

.pcs-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--pcs-muted);
	font-size: 10px;
}

.pcs-state {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--pcs-soft);
	color: var(--pcs-primary);
	font-weight: 900;
	text-transform: uppercase;
}

.pcs-state-live {
	background: #dcfce7;
	color: #15803d;
}

.pcs-state-result {
	background: #f3e8ff;
	color: #7e22ce;
}

.pcs-series {
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcs-team-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 40px;
	padding: 5px 0;
}

.pcs-team {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

.pcs-team img,
.pcs-team-placeholder {
	flex: 0 0 29px;
	width: 29px;
	height: 29px;
	border-radius: 50%;
	object-fit: cover;
	background: #eef2ff;
}

.pcs-team-placeholder {
	display: grid;
	place-items: center;
	color: var(--pcs-primary);
	font-size: 10px;
	font-weight: 900;
}

.pcs-team-name {
	overflow: hidden;
	font-size: 13px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcs-team-score {
	font-size: 15px;
	font-weight: 900;
	white-space: nowrap;
}

.pcs-match-status {
	margin: 12px 0 0;
	padding-top: 11px;
	border-top: 1px solid var(--pcs-line);
	color: var(--pcs-muted);
	font-size: 11px;
	line-height: 1.45;
}

.pcs-empty {
	display: grid;
	grid-column: 1 / -1;
	min-height: 180px;
	place-items: center;
	padding: 20px;
	border: 1px dashed rgba(16,24,40,.18);
	border-radius: 14px;
	color: var(--pcs-muted);
	text-align: center;
}

.pcs-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 14px;
	color: var(--pcs-muted);
	font-size: 11px;
}

.pcs-footer p {
	margin: 0;
}

.pcs-footer a {
	color: var(--pcs-primary);
	font-weight: 800;
	text-decoration: none;
}

/* Sidebar box */
.pcs-box-widget {
	max-width: 390px;
}

.pcs-box-shell {
	overflow: hidden;
	min-height: 390px;
	padding: 18px;
	border: 1px solid var(--pcs-line);
	border-radius: 18px;
	background:
		radial-gradient(circle at 100% 0%, rgba(108,16,255,.15), transparent 35%),
		linear-gradient(150deg, #fff 0%, #f7f8ff 100%);
	box-shadow: 0 14px 38px rgba(16,24,40,.10);
}

.pcs-box-header {
	display: flex;
	align-items: center;
	gap: 11px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--pcs-line);
}

.pcs-box-icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--pcs-primary), var(--pcs-secondary));
	font-size: 20px;
	box-shadow: 0 10px 22px rgba(55,59,238,.22);
}

.pcs-box-header span {
	display: block;
	margin-bottom: 2px;
	color: var(--pcs-secondary);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.pcs-box-header h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.15;
}

.pcs-box-updated {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0 9px;
	color: var(--pcs-muted);
	font-size: 10px;
}

.pcs-box-updated span {
	font-weight: 900;
	text-transform: uppercase;
}

.pcs-box-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 230px;
	color: var(--pcs-muted);
	font-size: 12px;
	text-align: center;
}

.pcs-box-matches {
	display: grid;
	gap: 8px;
}

.pcs-box-match {
	padding: 11px;
	border: 1px solid var(--pcs-line);
	border-radius: 11px;
	background: rgba(255,255,255,.82);
}

.pcs-box-match.is-pakistan {
	border-color: rgba(22,163,74,.36);
}

.pcs-box-match-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--pcs-muted);
	font-size: 9px;
}

.pcs-box-teams {
	display: grid;
	gap: 5px;
}

.pcs-box-team {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 11px;
}

.pcs-box-team span {
	overflow: hidden;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcs-box-team strong {
	white-space: nowrap;
}

.pcs-box-match-status {
	margin: 8px 0 0;
	color: var(--pcs-muted);
	font-size: 9px;
	line-height: 1.35;
}

.pcs-box-link,
.pcs-box-link:link,
.pcs-box-link:visited,
.pcs-box-link:hover,
.pcs-box-link:focus,
.pcs-box-link:active {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	margin-top: 11px;
	border-radius: 10px;
	background: var(--pcs-ink);
	color: #fff !important;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
}

/* Homepage strip */
.pcs-strip-shell {
	display: grid;
	grid-template-columns: minmax(180px, 1.1fr) minmax(520px, 3.8fr) auto;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--pcs-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(16,24,40,.08);
}

.pcs-strip-intro {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 13px 15px;
	background: linear-gradient(135deg, var(--pcs-primary), var(--pcs-secondary));
	color: #fff;
}

.pcs-strip-icon {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 50%;
	background: rgba(255,255,255,.13);
	font-size: 19px;
}

.pcs-strip-intro span {
	display: block;
	color: rgba(255,255,255,.68);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.pcs-strip-intro strong {
	display: block;
	font-size: 16px;
}

.pcs-strip-intro small {
	display: block;
	margin-top: 4px;
	color: rgba(255,255,255,.75);
	font-size: 9px;
}

.pcs-strip-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 72px;
	color: var(--pcs-muted);
	font-size: 11px;
}

.pcs-strip-spinner {
	width: 17px;
	height: 17px;
	border-width: 2px;
}

.pcs-strip-match {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 10px 16px;
}

.pcs-strip-state {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 0 8px;
	border-radius: 999px;
	background: #dcfce7;
	color: #15803d;
	font-size: 9px;
	font-weight: 900;
	text-transform: uppercase;
}

.pcs-strip-teams {
	min-width: 0;
}

.pcs-strip-team-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 11px;
}

.pcs-strip-team-line + .pcs-strip-team-line {
	margin-top: 5px;
}

.pcs-strip-team-line span {
	overflow: hidden;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcs-strip-team-line strong {
	white-space: nowrap;
}

.pcs-strip-status-copy {
	max-width: 250px;
	color: var(--pcs-muted);
	font-size: 10px;
	line-height: 1.35;
}

.pcs-strip-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0 16px;
	background: #f8f9fc;
	color: var(--pcs-ink);
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 850px) {
	.pcs-match-list {
		grid-template-columns: 1fr;
	}

	.pcs-strip-shell {
		display: block;
	}

	.pcs-strip-match {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.pcs-strip-status-copy {
		grid-column: 1 / -1;
		max-width: none;
	}

	.pcs-strip-link {
		min-height: 40px;
		border-top: 1px solid var(--pcs-line);
	}
}

@media (max-width: 680px) {
	.pcs-shell {
		padding: 18px;
		border-radius: 16px;
	}

	.pcs-header {
		flex-direction: column;
	}

	.pcs-update-box {
		width: 100%;
	}

	.pcs-tabs {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
	}

	.pcs-tab {
		justify-content: center;
		padding: 0 8px;
	}

	.pcs-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.pcs-box-widget {
		max-width: none;
	}
}
