/* ==========================================================================
   PSSI Jatim Match Center - Frontend Styles (Mobile-First & Core Web Vitals)
   ========================================================================== */

.pssi-jatim-wrap,
.pssi-archive-hub,
.pssi-tab-panel,
.pssi-multi-group-grid,
.pssi-multi-group-grid > div,
.pssi-card {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pssi-jatim-wrap *,
.pssi-jatim-wrap *::before,
.pssi-jatim-wrap *::after {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. Scoreboard Ticker Bar (Header - Tanpa Title Label)
   -------------------------------------------------------------------------- */
.pssi-ticker-bar {
	background: #071930;
	color: #fff;
	border-bottom: 2px solid #d90429;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.pssi-ticker-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
}

.pssi-ticker-nav {
	position: relative;
	z-index: 5;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	width: 30px;
	height: 56px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	font-weight: 700;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.pssi-ticker-nav:hover,
.pssi-ticker-nav:active {
	background: #d90429;
	border-color: #d90429;
	color: #fff;
}

.pssi-ticker-track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	flex: 1;
	min-width: 0;
}

.pssi-ticker-track::-webkit-scrollbar {
	display: none;
}

.pssi-ticker-card {
	flex: 0 0 190px;
	background: #0f294a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	padding: 7px 10px;
	text-decoration: none !important;
	color: #fff !important;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: border-color 0.2s ease;
}

.pssi-ticker-card:hover {
	border-color: #fbbf24;
}

.pssi-ticker-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 10px;
	color: #94a3b8;
	gap: 4px;
}

.pssi-ticker-comp {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pssi-ticker-badge {
	background: rgba(255, 255, 255, 0.12);
	color: #e2e8f0;
	padding: 1px 5px;
	border-radius: 3px;
	font-weight: 700;
	white-space: nowrap;
}

.pssi-ticker-badge.is-live {
	background: #d90429;
	color: #fff;
}

.pssi-ticker-badge.is-ft {
	background: #15803d;
	color: #fff;
}

.pssi-ticker-team-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #cbd5e1;
	gap: 6px;
}

.pssi-ticker-team-row.is-winner {
	color: #fff;
	font-weight: 700;
}

.pssi-ticker-team-info {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.pssi-ticker-logo {
	width: 17px;
	height: 17px;
	min-width: 17px;
	object-fit: contain;
	flex-shrink: 0;
}

.pssi-ticker-logo-fallback {
	width: 17px;
	height: 17px;
	min-width: 17px;
	border-radius: 50%;
	background: #1e3a5f;
	color: #fbbf24;
	font-size: 8px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pssi-ticker-team-info span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pssi-ticker-score {
	font-weight: 800;
	font-size: 12.5px;
	color: #fbbf24;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. Arsip Kompetisi Hub & Tabs
   -------------------------------------------------------------------------- */
.pssi-archive-banner {
	background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
	color: #fff;
	border-radius: 10px;
	padding: 20px 22px;
	border-bottom: 4px solid #d90429;
	margin-bottom: 16px;
}

.pssi-archive-banner-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.pssi-archive-kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	color: #fbbf24;
	margin-bottom: 4px;
}

.pssi-archive-banner h2 {
	margin: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1.25;
}

.pssi-archive-season-pill {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
}

.pssi-archive-stats {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 12px;
}

.pssi-archive-stats div {
	display: flex;
	flex-direction: column;
}

.pssi-archive-stats strong {
	font-size: 18px;
	color: #fff;
	line-height: 1.2;
}

.pssi-archive-stats span {
	font-size: 12px;
	color: #cbd5e1;
}

.pssi-tabs-nav {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	flex-wrap: nowrap;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
	margin-bottom: 16px;
}

.pssi-tab-btn {
	background: #fff;
	border: 1px solid #cbd5e1;
	color: #1e293b;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 13.5px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.pssi-tab-btn.is-active {
	background: #0b2545;
	border-color: #0b2545;
	color: #fff;
}

.pssi-tab-panel {
	display: none;
}

.pssi-tab-panel.is-active {
	display: block;
}

/* --------------------------------------------------------------------------
   3. Card & Klasemen (Hanya Kolom # Sticky, Kolom KLUB Ikut Geser)
   -------------------------------------------------------------------------- */
.pssi-multi-group-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 20px;
}

.pssi-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
	overflow: hidden;
}

.pssi-card-header {
	background: #0b2545;
	color: #fff;
	padding: 13px 16px;
	border-bottom: 3px solid #d90429;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.pssi-header-title {
	font-weight: 800;
	font-size: 14.5px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #fff;
}

.pssi-badge-season {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 11.5px;
	font-weight: 700;
}

.pssi-empty {
	padding: 20px;
	margin: 0;
	color: #64748b;
	text-align: center;
	font-size: 13.5px;
}

.pssi-table-responsive {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto !important;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
	position: relative;
}

.pssi-standings-table {
	width: 100%;
	min-width: 560px;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 !important;
	table-layout: auto !important;
	font-size: 13.5px;
}

.pssi-standings-table th,
.pssi-standings-table td {
	padding: 11px 10px;
	border-bottom: 1px solid #e2e8f0;
	border-left: none;
	border-right: none;
	border-top: none;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.pssi-standings-table thead th {
	background: #f1f5f9;
	color: #334155;
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.pssi-standings-table tbody tr {
	background: #fff;
}

.pssi-standings-table tbody tr:hover {
	background: #f8fafc;
}

.pssi-standings-table tbody tr.is-promoted {
	background: #f0fdf4;
}

.pssi-standings-table tbody tr.is-top-scorer {
	background: #fffbeb;
}

.pssi-standings-table .col-pos {
	width: 44px;
	min-width: 44px;
	text-align: center;
}

.pssi-standings-table .col-team {
	text-align: left;
	min-width: 185px;
}

.pssi-standings-table .col-pts {
	font-weight: 800;
	color: #0b2545;
	min-width: 56px;
}

@media (max-width: 767px) {
	.pssi-table-responsive::before {
		content: "← Geser tabel ke samping untuk statistik & POIN →";
		display: block;
		background: #f8fafc;
		color: #64748b;
		font-size: 11px;
		font-weight: 600;
		text-align: center;
		padding: 6px 10px;
		border-bottom: 1px solid #e2e8f0;
	}

	.pssi-standings-table th.col-pos,
	.pssi-standings-table td.col-pos {
		position: sticky;
		left: 0;
		z-index: 2;
		box-shadow: 3px 0 6px -3px rgba(15, 23, 42, 0.14);
	}

	.pssi-standings-table thead th.col-pos {
		background: #f1f5f9;
		z-index: 3;
	}

	.pssi-standings-table tbody tr td.col-pos {
		background: #ffffff;
	}

	.pssi-standings-table tbody tr.is-promoted td.col-pos {
		background: #f0fdf4;
		box-shadow: inset 4px 0 0 #16a34a, 3px 0 6px -3px rgba(15, 23, 42, 0.14);
	}

	.pssi-standings-table tbody tr.is-top-scorer td.col-pos {
		background: #fffbeb;
	}
}

.pssi-rank-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #1e293b;
	font-weight: 800;
	font-size: 12px;
}

.is-promoted .pssi-rank-pill {
	background: #15803d;
	color: #fff;
}

.pssi-rank-pill.is-gold {
	background: #f59e0b;
	color: #fff;
}

.pssi-team-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	color: #0f172a !important;
	font-weight: 700;
	white-space: nowrap;
}

.pssi-team-link:hover {
	color: #d90429 !important;
}

.pssi-mini-logo {
	width: 28px;
	height: 28px;
	min-width: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.pssi-logo-fallback {
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	background: #0b2545;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	flex-shrink: 0;
}

.pssi-table-legend {
	padding: 10px 14px;
	background: #f8fafc;
	font-size: 12px;
	color: #475569;
	display: flex;
	align-items: center;
	gap: 8px;
	border-top: 1px solid #e2e8f0;
}

.pssi-legend-dot {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: #15803d;
	display: inline-block;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Daftar Pertandingan, Single Pertandingan & Logo Klub Kecil
   -------------------------------------------------------------------------- */
.pssi-filter-pills {
	display: flex;
	gap: 8px;
	padding: 12px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.pssi-pill-btn {
	background: #fff;
	border: 1px solid #cbd5e1;
	color: #334155;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}

.pssi-pill-btn.is-active {
	background: #d90429;
	border-color: #d90429;
	color: #fff;
}

.pssi-match-list {
	display: flex;
	flex-direction: column;
}

.pssi-match-item {
	display: block;
	padding: 13px 16px;
	border-bottom: 1px solid #e2e8f0;
	text-decoration: none !important;
	color: inherit !important;
	transition: background 0.15s ease;
}

.pssi-match-item:last-child {
	border-bottom: none;
}

a.pssi-match-item:hover {
	background: #f8fafc;
}

.pssi-match-item.is-static {
	cursor: default;
	user-select: text;
}

.pssi-match-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 11.5px;
	color: #64748b;
	margin-bottom: 8px;
}

.pssi-comp-tag {
	font-weight: 700;
	color: #0b2545;
}

.pssi-match-body {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
}

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

.pssi-side.is-home {
	justify-content: flex-end;
	text-align: right;
}

.pssi-side.is-away {
	justify-content: flex-start;
	text-align: left;
}

.pssi-match-club-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none !important;
	color: inherit !important;
	min-width: 0;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.pssi-match-club-link:hover .pssi-side-name {
	color: #d90429;
	text-decoration: underline;
}

.pssi-side-name {
	font-weight: 700;
	font-size: 14px;
	color: #0f172a;
	line-height: 1.3;
}

.pssi-match-logo {
	width: 28px;
	height: 28px;
	min-width: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.pssi-match-logo-fallback {
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	background: #0b2545;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0.3px;
	flex-shrink: 0;
}

/* Kotak Skor / Jam / FT: Presisi Center Vertikal & Horizontal */
.pssi-score-center {
	background: #f1f5f9;
	color: #0f172a;
	border-radius: 8px;
	padding: 7px 12px;
	min-width: 76px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	text-align: center;
	line-height: 1;
}

.pssi-score-center.status-ft {
	background: #0b2545;
	color: #fff;
}

.pssi-score-center.status-live {
	background: #d90429;
	color: #fff;
}

.pssi-score-digits,
.pssi-kickoff-time {
	display: block;
	font-weight: 800;
	font-size: 15px;
	line-height: 1.1;
	margin: 0;
}

.pssi-status-pill {
	display: block;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.4px;
	opacity: 0.9;
	margin: 0;
}

@media (max-width: 540px) {
	.pssi-side,
	.pssi-match-club-link {
		gap: 7px;
	}
	.pssi-side-name {
		font-size: 12.5px;
	}
	.pssi-match-logo,
	.pssi-match-logo-fallback {
		width: 24px;
		height: 24px;
		min-width: 24px;
		font-size: 9px;
	}
	.pssi-score-center {
		min-width: 64px;
		padding: 6px 8px;
		gap: 2px;
	}
}

/* --------------------------------------------------------------------------
   5. Bagan Turnamen (Tournament Bracket)
   -------------------------------------------------------------------------- */
.pssi-bracket-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 18px 16px;
}

.pssi-bracket-tree {
	display: flex;
	gap: 24px;
	min-width: max-content;
}

.pssi-bracket-col {
	width: 235px;
	display: flex;
	flex-direction: column;
}

.pssi-bracket-col-title {
	text-align: center;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: #0b2545;
	background: #f1f5f9;
	padding: 7px 10px;
	border-radius: 6px;
	margin-bottom: 14px;
}

.pssi-bracket-col-matches {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 14px;
	flex: 1;
}

.pssi-brk-card {
	display: block;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.pssi-brk-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 12.5px;
	gap: 8px;
}

.pssi-brk-row:last-of-type {
	border-bottom: none;
}

.pssi-brk-row.is-winner {
	background: #f0fdf4;
	font-weight: 800;
	color: #0b2545;
}

.pssi-brk-team {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.pssi-brk-logo {
	width: 18px;
	height: 18px;
	min-width: 18px;
	object-fit: contain;
	flex-shrink: 0;
}

.pssi-brk-logo-fallback {
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 50%;
	background: #0b2545;
	color: #fff;
	font-size: 8px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pssi-brk-team span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pssi-brk-score {
	font-weight: 800;
	color: #0b2545;
}

.pssi-brk-footer {
	background: #f8fafc;
	padding: 5px 10px;
	font-size: 11px;
	color: #64748b;
	border-top: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.pssi-third-place-wrap {
	padding: 14px 16px 18px;
	border-top: 1px dashed #cbd5e1;
	background: #f8fafc;
}

/* --------------------------------------------------------------------------
   6. Detail Pertandingan, Klub & Stadion/Venue
   -------------------------------------------------------------------------- */
.pssi-events-timeline {
	padding: 14px 16px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.pssi-timeline-heading {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: #475569;
	margin-bottom: 10px;
}

.pssi-timeline-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	padding: 5px 0;
}

.pssi-timeline-row.side-away {
	justify-content: flex-end;
}

.pssi-ev-min {
	font-weight: 800;
	color: #d90429;
	min-width: 36px;
}

.pssi-venue-box {
	padding: 14px 16px;
}

.pssi-venue-addr {
	margin: 4px 0 12px;
	color: #475569;
	font-size: 13px;
}

.pssi-map-btn {
	background: #fff;
	color: #0b2545 !important;
	padding: 4px 10px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}

.pssi-map-frame iframe {
	display: block;
	width: 100%;
	border-radius: 6px;
}

.pssi-club-hero {
	background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
	color: #fff;
	padding: 22px;
	border-radius: 10px;
	border-bottom: 4px solid #d90429;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.pssi-club-hero-logo {
	width: 82px;
	height: 82px;
	object-fit: contain;
	background: #fff;
	border-radius: 10px;
	padding: 8px;
}

.pssi-club-hero-info h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 22px;
}

.pssi-club-specs {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #cbd5e1;
}

.pssi-squad-sections {
	padding: 16px;
}

.pssi-pos-heading {
	margin: 14px 0 10px;
	font-size: 13.5px;
	text-transform: uppercase;
	color: #0b2545;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 5px;
}

.pssi-pos-heading:first-child {
	margin-top: 0;
}

.pssi-player-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.pssi-player-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px;
	text-align: center;
	position: relative;
}

.pssi-jersey-num {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #0b2545;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 10px;
}

.pssi-player-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 8px;
	display: block;
}

.pssi-player-name {
	font-weight: 700;
	font-size: 13px;
	color: #0f172a;
}

.pssi-venue-banner {
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	display: block;
}

.pssi-venue-specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	padding: 14px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.pssi-venue-specs-grid span {
	display: block;
	font-size: 11.5px;
	color: #64748b;
}

.pssi-venue-specs-grid strong {
	font-size: 14px;
	color: #0f172a;
}

.pssi-venue-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
	padding: 16px;
}

.pssi-venue-card-item {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit !important;
	background: #fff;
}

.pssi-venue-card-item img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

.pssi-venue-card-body {
	padding: 12px;
}

.pssi-venue-card-body h4 {
	margin: 0 0 4px;
	font-size: 15px;
	color: #0b2545;
}

.pssi-venue-card-meta {
	font-size: 12px;
	color: #64748b;
}
/* =========================================================
   RESPONSIVE MOBILE & SAFE-ZONE PADDING LOGO (2PX)
   ========================================================= */

/* 1. Pastikan kartu & baris pertandingan tidak pernah melebar keluar layar HP */
.pssi-jatim-wrap,
.pssi-jatim-wrap .pssi-card,
.pssi-jatim-wrap .pssi-match-list,
.pssi-jatim-wrap .pssi-match-item {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.pssi-jatim-wrap .pssi-match-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	gap: 4px 10px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* 2. Grid 3 kolom fleksibel (Tim Home | Skor | Tim Away) agar teks klub utuh */
.pssi-jatim-wrap .pssi-match-body {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 8px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.pssi-jatim-wrap .pssi-side,
.pssi-jatim-wrap .pssi-match-club-link {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	min-width: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.pssi-jatim-wrap .pssi-side.is-home,
.pssi-jatim-wrap .pssi-side.is-home .pssi-match-club-link {
	justify-content: flex-end !important;
	text-align: right !important;
}

.pssi-jatim-wrap .pssi-side.is-away,
.pssi-jatim-wrap .pssi-side.is-away .pssi-match-club-link {
	justify-content: flex-start !important;
	text-align: left !important;
}

.pssi-jatim-wrap .pssi-side-name {
	display: block !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	line-height: 1.25 !important;
}

/* 3. Ukuran logo pas + padding tipis 2px di sekeliling tanpa memotong gambar */
.pssi-jatim-wrap .pssi-match-logo,
.pssi-jatim-wrap .pssi-match-logo-fallback {
	width: 34px !important;
	height: 34px !important;
	padding: 2px !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

.pssi-jatim-wrap .pssi-mini-logo,
.pssi-jatim-wrap .pssi-logo-fallback {
	width: 26px !important;
	height: 26px !important;
	padding: 2px !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

.pssi-jatim-wrap .pssi-ticker-logo,
.pssi-jatim-wrap .pssi-ticker-logo-fallback,
.pssi-jatim-wrap .pssi-brk-logo,
.pssi-jatim-wrap .pssi-brk-logo-fallback {
	width: 22px !important;
	height: 22px !important;
	padding: 2px !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

.pssi-jatim-wrap .pssi-match-logo,
.pssi-jatim-wrap .pssi-mini-logo,
.pssi-jatim-wrap .pssi-ticker-logo,
.pssi-jatim-wrap .pssi-brk-logo {
	object-fit: contain !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
}

/* 4. Perisai logo template (DEL, PSL, ARE) sejajar & tidak terpotong */
.pssi-jatim-wrap .pssi-match-logo-fallback,
.pssi-jatim-wrap .pssi-logo-fallback,
.pssi-jatim-wrap .pssi-ticker-logo-fallback,
.pssi-jatim-wrap .pssi-brk-logo-fallback {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: linear-gradient(165deg, #1d4ed8 0%, #0b2545 65%, #071930 100%) !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	letter-spacing: 0.4px !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	clip-path: polygon(50% 6%, 90% 17%, 90% 56%, 50% 94%, 10% 56%, 10% 17%);
	box-shadow: inset 0 4px 0 #d90429, inset 0 5px 0 #fbbf24;
}

.pssi-jatim-wrap .pssi-match-logo-fallback { font-size: 9.5px !important; }
.pssi-jatim-wrap .pssi-logo-fallback { font-size: 8px !important; }
.pssi-jatim-wrap .pssi-ticker-logo-fallback,
.pssi-jatim-wrap .pssi-brk-logo-fallback { font-size: 7.5px !important; }

/* 5. Penyesuaian khusus layar ponsel (<= 480px) */
@media (max-width: 480px) {
	.pssi-jatim-wrap .pssi-match-item {
		padding: 12px 10px !important;
	}
	.pssi-jatim-wrap .pssi-match-body {
		gap: 6px !important;
	}
	.pssi-jatim-wrap .pssi-score-center {
		min-width: 62px !important;
		padding: 5px 7px !important;
	}
	.pssi-jatim-wrap .pssi-score-digits,
	.pssi-jatim-wrap .pssi-kickoff-time {
		font-size: 13.5px !important;
	}
	.pssi-jatim-wrap .pssi-match-logo,
	.pssi-jatim-wrap .pssi-match-logo-fallback {
		width: 30px !important;
		height: 30px !important;
	}
	.pssi-jatim-wrap .pssi-side {
		gap: 5px !important;
	}
	.pssi-jatim-wrap .pssi-side-name {
		font-size: 12px !important;
	}
}

/* =========================================================
   GALERI FOTO KLUB & LIGHTBOX
   ========================================================= */
.pssi-club-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 14px;
	padding: 16px;
}

.pssi-gallery-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	background: #0f172a;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pssi-gallery-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(11, 37, 69, 0.16);
}

.pssi-gallery-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pssi-gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px 10px 8px;
	background: linear-gradient(to top, rgba(11, 37, 69, 0.9), transparent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
	line-height: 1.3;
}

.pssi-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(9, 17, 34, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.pssi-lightbox[hidden] {
	display: none !important;
}

.pssi-lb-stage {
	max-width: 90vw;
	max-height: 85vh;
	text-align: center;
}

.pssi-lb-img {
	max-width: 100%;
	max-height: 76vh;
	border-radius: 6px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.pssi-lb-cap {
	color: #f8fafc;
	font-size: 13.5px;
	margin-top: 10px;
}

.pssi-lb-close,
.pssi-lb-prev,
.pssi-lb-next {
	position: fixed;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.pssi-lb-close { top: 16px; right: 16px; }
.pssi-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.pssi-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 480px) {
	.pssi-club-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 12px;
	}
}

/* =========================================================
   PAGINASI (PAGENAVI) GALERI KLUB
   ========================================================= */
.pssi-gallery-card[hidden],
.pssi-gal-pagination[hidden] {
	display: none !important;
}

.pssi-gal-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 14px 16px 18px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

.pssi-gal-page-btn {
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	color: #0b2545;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.pssi-gal-page-btn:hover:not(:disabled) {
	border-color: #0b2545;
	background: #e2e8f0;
}

.pssi-gal-page-btn.is-active {
	background: #0b2545;
	border-color: #0b2545;
	color: #ffffff;
	box-shadow: inset 0 -2px 0 #d90429;
}

.pssi-gal-page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.pssi-gal-page-dots {
	padding: 0 4px;
	color: #64748b;
	font-weight: 700;
}

/* =========================================================
   4 TAB HALAMAN KLUB & KONTEN PROFIL EDITOR WORDPRESS
   ========================================================= */
.pssi-club-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pssi-club-profile-content {
	padding: 18px 20px;
	color: #1e293b;
	font-size: 14.5px;
	line-height: 1.75;
}

.pssi-club-profile-content p {
	margin: 0 0 14px;
}

.pssi-club-profile-content p:last-child {
	margin-bottom: 0;
}

.pssi-club-profile-content h2,
.pssi-club-profile-content h3,
.pssi-club-profile-content h4 {
	color: #0b2545;
	margin: 18px 0 8px;
	line-height: 1.35;
}

.pssi-club-profile-content ul,
.pssi-club-profile-content ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.pssi-club-profile-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 480px) {
	.pssi-club-tabs-nav {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 4px;
	}
	.pssi-club-tabs-nav .pssi-tab-btn {
		padding: 9px 4px;
		font-size: 12px;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.pssi-club-profile-content {
		padding: 14px 15px;
		font-size: 13.5px;
	}
}
/* =========================================================
   HEADER KLUB DENGAN FOTO SAMPUL (COVER BANNER ALA FACEBOOK)
   ========================================================= */
.pssi-jatim-wrap .pssi-club-hero.pssi-club-hero-fb {
	display: block !important;
	padding: 0 !important;
	overflow: hidden !important;
	border-radius: 12px;
	background: linear-gradient(160deg, #0b2545 0%, #102f56 100%);
	border-bottom: 4px solid #d90429;
}

.pssi-jatim-wrap .pssi-club-cover {
	position: relative;
	width: 100%;
	height: 195px;
	background: linear-gradient(135deg, #071930 0%, #163e73 58%, #9b0b22 100%);
	overflow: hidden;
}

.pssi-jatim-wrap .pssi-club-cover-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
}

.pssi-jatim-wrap .pssi-club-cover-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 25, 48, 0.65) 0%, rgba(7, 25, 48, 0.08) 55%, transparent 100%);
	pointer-events: none;
}

.pssi-jatim-wrap .pssi-club-hero-body {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 16px;
	padding: 0 22px 20px;
}

.pssi-jatim-wrap .pssi-club-hero-badge {
	position: relative;
	z-index: 2;
	width: 92px !important;
	height: 92px !important;
	margin-top: -46px;
	padding: 7px !important;
	box-sizing: border-box !important;
	background: #ffffff !important;
	border: 3px solid #0b2545;
	border-radius: 14px !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pssi-jatim-wrap .pssi-club-hero-badge .pssi-club-hero-logo {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	object-fit: contain !important;
	display: block !important;
}

.pssi-jatim-wrap .pssi-club-hero-fb .pssi-club-hero-info {
	padding-top: 10px;
	min-width: 0;
}

.pssi-jatim-wrap .pssi-club-hero-fb .pssi-club-hero-info h2 {
	margin: 0 0 6px;
	color: #ffffff;
}

@media (max-width: 600px) {
	.pssi-jatim-wrap .pssi-club-cover {
		height: 135px;
	}
	.pssi-jatim-wrap .pssi-club-hero-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 0 16px 16px;
	}
	.pssi-jatim-wrap .pssi-club-hero-badge {
		width: 76px !important;
		height: 76px !important;
		margin-top: -38px;
		padding: 6px !important;
		border-radius: 12px !important;
	}
	.pssi-jatim-wrap .pssi-club-hero-fb .pssi-club-hero-info {
		padding-top: 2px;
	}
	.pssi-jatim-wrap .pssi-club-hero-fb .pssi-club-hero-info h2 {
		font-size: 20px;
	}
}
/* =========================================================
   SCOREBOARD TICKER: AUTO-SLIDE + MANUAL TOUCH SWIPE LOOPING
   ========================================================= */
.pssi-jatim-wrap .pssi-ticker-track,
.pssi-jatim-wrap .pssi-ticker-list,
.pssi-jatim-wrap [class*="ticker"]:has(> div .pssi-ticker-logo),
.pssi-jatim-wrap [class*="ticker"]:has(> div .pssi-ticker-logo-fallback) {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
	scroll-behavior: auto !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

.pssi-jatim-wrap .pssi-ticker-track::-webkit-scrollbar,
.pssi-jatim-wrap .pssi-ticker-list::-webkit-scrollbar {
	display: none !important;
}

/* =========================================================
   AUTO-LIVE BADGE BERKEDIP (PERTANDINGAN & TICKER)
   ========================================================= */
@keyframes pssiLivePulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.55);
	}
	50% {
		opacity: 0.45;
		transform: scale(0.97);
		box-shadow: 0 0 0 6px rgba(217, 4, 41, 0);
	}
}

.pssi-jatim-wrap .pssi-score-center.is-live {
	background: #9b0b22 !important;
	border: 1px solid #ff4d6d !important;
	color: #ffffff !important;
}

.pssi-jatim-wrap .pssi-score-center.is-live .pssi-score-digits {
	color: #ffffff !important;
	font-weight: 800 !important;
}

.pssi-jatim-wrap .pssi-live-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-top: 2px;
	padding: 2px 7px;
	border-radius: 4px;
	background: #d90429;
	color: #ffffff !important;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	line-height: 1.1;
	animation: pssiLivePulse 1.25s infinite ease-in-out;
}

.pssi-jatim-wrap .pssi-live-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ffffff;
	flex-shrink: 0;
}
.pssi-jatim-wrap .pssi-club-dir-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pssi-jatim-wrap .pssi-club-dir-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
@media (max-width: 600px) {
	.pssi-jatim-wrap .pssi-club-dir-grid {
		grid-template-columns: 1fr !important;
	}
	.pssi-jatim-wrap .pssi-club-identity-table th,
	.pssi-jatim-wrap .pssi-club-identity-table td {
		display: block;
		width: 100% !important;
		padding: 4px 0 !important;
	}
	.pssi-jatim-wrap .pssi-club-identity-table th {
		padding-top: 10px !important;
		font-size: 12px;
	}
	.pssi-jatim-wrap .pssi-club-identity-table td {
		padding-bottom: 10px !important;
	}
}

.pssi-jatim-wrap .pssi-level-badge,
.pssi-jatim-wrap .pssi-club-hero-badges span,
.pssi-jatim-wrap .pssi-club-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    background: rgba(255, 183, 3, 0.14) !important;
    border: 1px solid rgba(255, 183, 3, 0.45) !important;
    color: #ffd166 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: none !important;
}

/* Titik indikator kecil di sebelah kiri teks */
.pssi-jatim-wrap .pssi-level-badge::before,
.pssi-jatim-wrap .pssi-club-hero-badges span::before,
.pssi-jatim-wrap .pssi-club-badges span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffb703;
    flex-shrink: 0;
}
