.f88s2-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
}

.f88s2-team-grid .f88s2-team {
	padding: 12px;
	border: 1px solid var(--f88s2-line, #e2e8f0);
	border-radius: 10px;
	background: var(--f88s2-card, #fff);
}

.f88s2-rounds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
	margin: 0 0 14px;
	border-top: 3px solid var(--f88s2-accent);
	border-left: 1px solid var(--f88s2-line);
}

.f88s2-rounds a {
	padding: 9px 6px;
	border-right: 1px solid var(--f88s2-line);
	border-bottom: 1px solid var(--f88s2-line);
	background: var(--f88s2-card);
	color: var(--f88s2-text) !important;
	text-align: center;
	text-decoration: none !important;
}

.f88s2-rounds a.is-active {
	background: var(--f88s2-accent);
	color: #fff !important;
}

.f88s2-round-select {
	display: none;
	margin: 0 0 14px;
}

.f88s2-round-select select {
	width: 100%;
	min-height: 42px;
}

@media (max-width: 680px) {
	.f88s2-rounds { display: none; }
	.f88s2-round-select { display: block; }
}

/* 3.7 device-aware reading mode. Fixture tables become match cards on phones. */
.f88s2,
.f88s2-head,
.f88s2-section,
.f88s2-table-wrap { min-width: 0; max-width: 100%; }

.f88s2-team > span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 680px) {
	.f88s2 { width: 100%; }
	.f88s2-head { margin-bottom: 18px; }
	.f88s2-head__league h2 { display: none; }
	.f88s2-head__league .f88s2-logo { width: 36px; height: 36px; }
	.f88s2-season { width: 100%; }
	.f88s2-season select { min-height: 48px; font-size: 16px; }
	.f88s2-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
	.f88s2-tabs a { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 8px 5px; text-align: center; line-height: 1.25; }
	.f88s2-round-select span { display: block; margin-bottom: 6px; color: var(--f88s2-muted); font-size: .82rem; }
	.f88s2-round-select select { min-height: 48px; border-radius: 10px; padding: 0 12px; font-size: 16px; }
	.f88s2-fixtures-wrap { overflow: visible; border: 0; background: transparent; }
	.f88s2-fixtures { min-width: 0; border-collapse: separate; }
	.f88s2-fixtures thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.f88s2-fixtures tbody { display: grid; gap: 12px; }
	.f88s2-fixtures tr { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); grid-template-areas: "round round status" "home score away" "time time time"; align-items: center; gap: 10px 8px; padding: 14px; border: 1px solid var(--f88s2-line); border-radius: 12px; background: var(--f88s2-card); }
	.f88s2-fixtures td { display: block; min-width: 0; padding: 0; border: 0 !important; white-space: normal; }
	.f88s2-fixture-round { grid-area: round; color: var(--f88s2-muted); font-size: .78rem; }
	.f88s2-fixture-time { grid-area: time; padding-top: 9px !important; border-top: 1px solid var(--f88s2-line) !important; color: var(--f88s2-muted); font-size: .78rem; text-align: center !important; }
	.f88s2-fixture-home { grid-area: home; }
	.f88s2-fixture-away { grid-area: away; }
	.f88s2-fixture-home .f88s2-team { align-items: center; }
	.f88s2-fixture-away .f88s2-team { flex-direction: row-reverse; text-align: right; }
	.f88s2-fixtures .f88s2-score { grid-area: score; min-width: 50px; font-size: 1.05rem; text-align: center; }
	.f88s2-fixtures .f88s2-status { grid-area: status; text-align: right; }
	.f88s2-fixtures .f88s2-team img { width: 30px; height: 30px; flex: 0 0 30px; }
	.f88s2-bracket { scroll-snap-type: x proximity; grid-template-columns: repeat(6,minmax(82vw,1fr)); }
	.f88s2-bracket-round { min-width: 82vw; scroll-snap-align: start; }
	.f88s2-stage-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
	.f88s2-stage-nav span { flex: 0 0 auto; }
}

@media (max-width: 480px) {
	.f88s2-table:not(.f88s2-fixtures) { min-width: 470px; font-size: .82rem; }
	.f88s2-table:not(.f88s2-fixtures) th,
	.f88s2-table:not(.f88s2-fixtures) td { padding: 10px 8px; }
	.f88s2-table:not(.f88s2-fixtures) th:nth-child(4),
	.f88s2-table:not(.f88s2-fixtures) td:nth-child(4),
	.f88s2-table:not(.f88s2-fixtures) th:nth-child(5),
	.f88s2-table:not(.f88s2-fixtures) td:nth-child(5),
	.f88s2-table:not(.f88s2-fixtures) th:nth-child(6),
	.f88s2-table:not(.f88s2-fixtures) td:nth-child(6) { display: none; }
}

/* 3.8 single-stage controls, numeric rounds and reusable match cards. */
.f88s2-rounds {
	display: grid;
	grid-template-columns: repeat(12,minmax(44px,1fr));
	gap: 7px;
	overflow: visible;
	margin-bottom: 18px;
	padding: 3px 2px 8px;
	border: 0;
}

.f88s2-rounds a {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 13px;
	border: 1px solid var(--f88s2-line);
	border-radius: 999px;
}

.f88s2-stage-buttons { display: flex; flex-wrap: wrap; }
.f88s2-stage-buttons a { min-width: max-content; }

.f88s2-match-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
	gap: 14px;
}

.f88s2-match-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--f88s2-line);
	border-radius: 13px;
	background: var(--f88s2-card);
	transition: border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.f88s2-match-card:hover,.f88s2-match-card:focus-within { border-color: color-mix(in srgb,var(--f88s2-accent) 65%,var(--f88s2-line)); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.f88s2-match-card.no-hover:hover { transform:none; box-shadow:0 5px 18px rgba(0,0,0,.1); }
.f88s2-match-card-link { display:block; color:inherit; text-decoration:none!important; }
.f88s2-match-card-link:focus-visible { outline:3px solid color-mix(in srgb,var(--f88s2-accent) 70%,transparent); outline-offset:4px; border-radius:18px; }

.f88s2-match-card header,
.f88s2-match-card footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 13px;
	color: var(--f88s2-muted);
	font-size: .78rem;
}

.f88s2-match-card header { border-bottom: 1px solid var(--f88s2-line); font-size: .9rem; flex-direction:column; justify-content:center; text-align:center; gap:6px; }
.f88s2-match-card header time { color: var(--f88s2-text); font-size:clamp(1.15rem,2vw,1.45rem); font-weight:800; letter-spacing:.025em; text-align:center; }
.f88s2-match-card header .f88s2-status { position:static; display:inline-flex; align-self:center; }
.f88s2-analysis-pending { color:var(--f88s2-muted); font-size:.78rem; font-weight:650; }
.f88s2-match-meta { padding: 8px 13px 0; color: var(--f88s2-muted); font-size: .76rem; }
.f88s2-match-card footer { flex-direction: column; align-items: flex-start; border-top: 1px solid var(--f88s2-line); }
.f88s2-match-card footer small { line-height: 1.45; }

.f88s2-match-team {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 10px 13px;
}

.f88s2-match-team + .f88s2-match-team { border-top: 1px solid var(--f88s2-line); }
.f88s2-match-team > strong { min-width: 24px; font-size: 1.05rem; text-align: right; }

.f88s2-match-versus { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px; min-height: 112px; padding: 18px 14px; }
.f88s2-match-side { min-width: 0; }
.f88s2-match-side .f88s2-team { flex-direction: column; justify-content: center; text-align: center; line-height: 1.3; }
.f88s2-match-side .f88s2-team img { width: 42px; height: 42px; }
.f88s2-match-score { min-width: 52px; padding: 8px 7px; border-radius: 9px; background: color-mix(in srgb,var(--f88s2-accent) 13%,transparent); font-size: 1.05rem; text-align: center; white-space: nowrap; }

.f88s2-match-analysis { border-top: 1px solid var(--f88s2-line); }
.f88s2-match-analysis summary { min-height: 44px; padding: 12px 13px; cursor: pointer; color: var(--f88s2-accent); font-size: .82rem; font-weight: 700; }
.f88s2-match-analysis-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--f88s2-line); }
.f88s2-match-analysis-grid > div { display: grid; gap: 7px; padding: 12px 13px; background: var(--f88s2-card); font-size: .75rem; }
.f88s2-form { display: flex; flex-wrap: wrap; gap: 4px; }
.f88s2-form b { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; font-size: .68rem; }
.f88s2-form-w { background: #159947; }.f88s2-form-d { background: #287bc1; }.f88s2-form-l { background: #d64545; }

.f88s2-date-buttons { display: grid; grid-template-columns: repeat(auto-fit,minmax(112px,1fr)); gap: 8px; margin: -5px 0 20px; padding: 4px 2px 9px; }
.f88s2-date-buttons a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--f88s2-line); border-radius: 10px; color: var(--f88s2-text) !important; text-decoration: none !important; }
.f88s2-date-buttons a.is-active { border-color: var(--f88s2-accent); background: var(--f88s2-accent); color: #fff !important; }

.f88s2-group-section { margin: 4px 0 22px; }
.f88s2-group-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.f88s2-group-card { overflow: hidden; border: 1px solid var(--f88s2-line); border-radius: 13px; background: var(--f88s2-card); }
.f88s2-group-card summary { padding: 12px 14px; cursor: pointer; font-weight: 700; list-style-position: inside; }
.f88s2-group-head,
.f88s2-group-row { display: grid; grid-template-columns: 28px minmax(0,1fr) repeat(6,28px); align-items: center; gap: 5px; padding: 9px 10px; }
.f88s2-group-head { background: color-mix(in srgb,var(--f88s2-accent) 16%,var(--f88s2-card)); color: var(--f88s2-muted); font-size: .7rem; }
.f88s2-group-row { border-top: 1px solid var(--f88s2-line); font-size: .82rem; }
.f88s2-group-row .f88s2-team { min-width: 0; }
.f88s2-group-row .f88s2-team img { width: 22px; height: 22px; }
.f88s2-group-row > span:not(.f88s2-team),.f88s2-group-row > strong { text-align: center; }

.f88s2-state-card { padding: clamp(18px,4vw,30px); border: 1px solid var(--f88s2-line); border-radius: 14px; background: var(--f88s2-card); }
.f88s2-state-card h4 { margin: 0 0 9px; font-size: 1.12rem; }
.f88s2-state-card p { margin: 0 0 16px; color: var(--f88s2-muted); line-height: 1.7; }
.f88s2-state-action { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--f88s2-accent); color: #fff !important; text-decoration: none !important; }

@media (max-width: 900px) {
	.f88s2-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.f88s2-round-numbers { grid-template-columns: repeat(8,minmax(44px,1fr)); }
}
@media (max-width: 680px) {
	.f88s2-rounds { display: grid; }
	.f88s2-round-numbers { grid-template-columns: repeat(5,minmax(44px,1fr)); }
	.f88s2-round-select { display: none; }
	.f88s2-match-grid,.f88s2-group-grid { grid-template-columns: 1fr; }
	.f88s2-match-card { width: 100%; }
	.f88s2-group-card:not([open]) { min-height: 48px; }
	.f88s2-group-head,.f88s2-group-row { grid-template-columns: 28px minmax(0,1fr) 30px 36px 38px; }
	.f88s2-group-extra { display: none; }
}

/* 4.0 analysis tables and device-aware team-stat cards. */
.f88s2-stat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.f88s2-stat-tabs button { min-height: 44px; padding: 9px 15px; border: 1px solid var(--f88s2-line); border-radius: 999px; background: var(--f88s2-card); color: var(--f88s2-text); cursor: pointer; }
.f88s2-stat-tabs button.is-active { border-color: var(--f88s2-accent); background: var(--f88s2-accent); color: #fff; }
.f88s2-stat-panel[hidden] { display: none !important; }
.f88s2-stat-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--f88s2-line); border-radius: 12px; }
.f88s2-stat-table { width: 100%; min-width: 820px; border-collapse: collapse; background: var(--f88s2-card); }
.f88s2-stat-table--wide { min-width: 1560px; }
.f88s2-stat-table th,.f88s2-stat-table td { padding: 9px 10px; border-right: 1px solid var(--f88s2-line); border-bottom: 1px solid var(--f88s2-line); text-align: center; white-space: nowrap; }
.f88s2-stat-table thead th { background: color-mix(in srgb,var(--f88s2-accent) 10%,var(--f88s2-card)); color: var(--f88s2-text); }
.f88s2-stat-table .f88s2-team { min-width: 190px; text-align: left; }
.f88s2-stat-mobile { display: none; }
.f88s2-stat-card { overflow: hidden; border: 1px solid var(--f88s2-line); border-radius: 13px; background: var(--f88s2-card); }
.f88s2-stat-card > header { padding: 13px; border-bottom: 1px solid var(--f88s2-line); }
.f88s2-stat-card__section { padding: 12px 13px; }
.f88s2-stat-card__section + .f88s2-stat-card__section { border-top: 1px solid var(--f88s2-line); }
.f88s2-stat-card__section h4 { margin: 0 0 9px; font-size: .88rem; }
.f88s2-stat-card__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.f88s2-stat-card__grid span { display: grid; gap: 3px; padding: 8px 5px; border-radius: 8px; background: color-mix(in srgb,var(--f88s2-accent) 7%,var(--f88s2-card)); text-align: center; font-size: .72rem; }
.f88s2-stat-card__grid strong { font-size: .92rem; }

@media (max-width: 680px) {
	.f88s2-stat-table { display: none; }
	.f88s2-stat-panel > .f88s2-table-wrap { display: none; }
	.f88s2-stat-mobile { display: grid; gap: 12px; }
	.f88s2-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.f88s2-standings-table { min-width: 650px !important; }
	.f88s2-standings-table th:nth-child(4),.f88s2-standings-table td:nth-child(4),
	.f88s2-standings-table th:nth-child(5),.f88s2-standings-table td:nth-child(5),
	.f88s2-standings-table th:nth-child(6),.f88s2-standings-table td:nth-child(6) { display: none; }
}

.f88s2-stage-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.f88s2-stage-nav span {
	padding: 7px 11px;
	border: 1px solid var(--f88s2-line);
	border-radius: 999px;
	font-size: .82rem;
}

.f88s2-bracket {
	display: grid;
	grid-template-columns: repeat(6, minmax(190px, 1fr));
	gap: 18px;
	overflow-x: auto;
	padding: 4px 4px 18px;
	scrollbar-width: thin;
}

.f88s2-bracket-round {
	display: flex;
	min-width: 190px;
	flex-direction: column;
}

.f88s2-bracket-round h4 {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 0 0 10px;
	padding: 8px;
	border-radius: 8px;
	background: var(--f88s2-accent);
	color: #fff;
	text-align: center;
}

.f88s2-bracket-matches {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-around;
	gap: 12px;
}

.f88s2-bracket-match {
	position: relative;
	padding: 8px;
	border: 1px solid var(--f88s2-line);
	border-radius: 10px;
	background: var(--f88s2-card);
}

.f88s2-bracket-match::after {
	position: absolute;
	top: 50%;
	right: -19px;
	width: 18px;
	border-top: 1px solid var(--f88s2-line);
	content: '';
}

.f88s2-bracket-round:last-child .f88s2-bracket-match::after {
	display: none;
}

.f88s2-bracket-team {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	align-items: center;
	gap: 7px;
	min-height: 34px;
}

.f88s2-bracket-team + .f88s2-bracket-team,
.f88s2-bracket-match > div + div {
	border-top: 1px solid var(--f88s2-line);
}

.f88s2-bracket-team img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.f88s2-team-fallback {
	font-size: 16px;
	text-align: center;
}

.f88s2-bracket-team strong {
	font-variant-numeric: tabular-nums;
}

.f88s2-bracket-match time {
	display: block;
	margin-top: 6px;
	color: var(--f88s2-muted);
	font-size: .72rem;
	text-align: right;
}

.f88s2-description {
	line-height: 1.75;
}

.f88s2-stages {
	display: grid;
	gap: 8px;
	padding-left: 1.4rem;
}

.f88s2-stages li,
.f88s2-ties article {
	padding: 12px;
	border: 1px solid var(--f88s2-line, #e2e8f0);
	border-radius: 10px;
	background: var(--f88s2-card, #fff);
}

.f88s2-stages li span {
	float: right;
	opacity: .72;
}

.f88s2-ties {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.f88s2-odds-note {
	color: var(--f88s2-muted, #64748b);
	font-size: .88rem;
}

.f88s2-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.f88s2-odds table {
	width: 100%;
	min-width: 880px;
	border-collapse: collapse;
	font-size: .88rem;
}

.f88s2-odds th,
.f88s2-odds td {
	padding: 11px 12px;
	border-bottom: 1px solid var(--f88s2-line, #e2e8f0);
	text-align: left;
	vertical-align: top;
}

.f88s2-odds th {
	background: var(--f88s2-card, #fff);
	white-space: nowrap;
}

.f88s2-odds td:nth-child(2),
.f88s2-odds td:nth-child(5),
.f88s2-odds td:nth-child(7) {
	white-space: nowrap;
}

.f88s2-empty p {
	color: var(--f88s2-muted, #64748b);
}
.f88s2-section,
.f88s2-card,
.f88s2-table-wrap {
	box-shadow: 0 8px 26px rgba(36, 50, 71, .045);
}

.f88s2-table th {
	color: #66758a;
	font-weight: 650;
}

.f88s2-table td,
.f88s2-fixture-time,
.f88s2-score {
	font-variant-numeric: tabular-nums;
}

.f88s2-match-analysis-preview {
	line-height: 1.75;
	color: var(--f88-text, #dce7df);
}
.f88s2-match-analysis-preview article > section {
	margin-top: 1rem;
	padding: clamp(1rem, 2vw, 1.4rem);
	border: 1px solid rgba(92, 198, 126, .18);
	border-radius: 14px;
	background: rgba(6, 20, 12, .55);
}
.f88s2-match-analysis-preview li { margin-block: .38rem; }
.f88s2-analysis-news {
	margin-top: 1rem;
	padding: .85rem 1rem;
	border-radius: 12px;
	background: rgba(60, 180, 102, .08);
}

/* 4.6 shared league/cup reading and interaction layer. */
.f88s2-view-shell > .f88s2-section > h3:first-child,
.f88s2-view-shell .f88s2-goal-stats .f88s2-section > h3:first-child {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
}

.f88s2-view-shell .f88s2-head {
	position: relative;
	min-height: 96px;
	align-items: flex-start;
}

.f88s2-view-shell .f88s2-head__league {
	position: absolute;
	top: 0;
	left: 50%;
	display: grid;
	width: clamp(72px, 9vw, 104px);
	height: clamp(72px, 9vw, 104px);
	place-items: center;
	transform: translateX(-50%);
}

.f88s2-view-shell .f88s2-head__league .f88s2-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .16));
}

.f88s2-league-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	border: 1px solid var(--f88s2-line);
	border-radius: 22px;
	background: color-mix(in srgb, var(--f88s2-accent) 9%, var(--f88s2-card));
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.f88s2-view-shell .f88s2-season {
	position: relative;
	z-index: 1;
	margin-left: auto;
}

.f88s2-stage-buttons {
	display: flex;
	max-width: 100%;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 3px 11px;
	scroll-padding-inline: 10px;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.f88s2-stage-buttons a {
	flex: 0 0 auto;
	min-height: 44px;
	scroll-snap-align: center;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.f88s2-stage-buttons a:hover,
.f88s2-stage-buttons a:focus-visible,
.f88s2-date-buttons a:hover,
.f88s2-date-buttons a:focus-visible,
.f88s2-tabs a:hover,
.f88s2-tabs a:focus-visible {
	border-color: var(--f88s2-accent);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.f88s2-stage-buttons a:active,
.f88s2-date-buttons a:active,
.f88s2-tabs a:active {
	transform: scale(.97);
}

.f88s2-match-grid {
	gap: clamp(16px, 2.5vw, 24px);
}

.f88s2-match-card {
	border-radius: clamp(14px, 2vw, 18px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
}

.f88s2-match-analysis summary {
	position: relative;
	padding-right: 36px;
	list-style: none;
}

.f88s2-match-analysis summary::-webkit-details-marker { display: none; }
.f88s2-match-analysis summary::after {
	position: absolute;
	top: 50%;
	right: 14px;
	content: '⌄';
	transform: translateY(-54%);
	transition: transform .2s ease;
}
.f88s2-match-analysis[open] summary::after { transform: translateY(-44%) rotate(180deg); }
.f88s2-match-analysis-grid > .is-empty { color: var(--f88s2-muted); }

.f88s2-standings-table {
	table-layout: auto;
	font-size: clamp(.78rem, 1.5vw, .94rem);
}

.f88s2-standings-table .f88s2-team {
	min-width: clamp(150px, 24vw, 270px);
}

.f88s2-standings-table .f88s2-team img {
	width: clamp(24px, 3vw, 34px);
	height: clamp(24px, 3vw, 34px);
	flex: 0 0 auto;
}

@media (max-width: 680px) {
	.f88s2-view-shell .f88s2-head {
		display: flex;
		min-height: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.f88s2-view-shell .f88s2-head__league {
		position: relative;
		top: auto;
		left: auto;
		width: clamp(76px, 24vw, 104px);
		height: clamp(76px, 24vw, 104px);
		align-self: center;
		transform: none;
	}

	.f88s2-view-shell .f88s2-head__league .f88s2-logo {
		width: 100%;
		height: 100%;
	}

	.f88s2-view-shell .f88s2-season {
		width: 100%;
		margin: 0;
	}

	.f88s2-tabs {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 7px;
	}

	.f88s2-tabs a {
		min-width: 0;
		padding-inline: 6px;
		font-size: clamp(.76rem, 3.2vw, .9rem);
	}

	.f88s2-stage-buttons {
		margin-inline: -2px;
		padding-bottom: 13px;
		overscroll-behavior-inline: contain;
		scroll-snap-type: x mandatory;
	}

	.f88s2-stage-buttons a {
		min-height: 46px;
		padding-inline: 17px;
		font-size: .9rem;
	}

	.f88s2-date-buttons {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 9px;
	}

	.f88s2-date-buttons a {
		min-height: 48px;
		padding: 8px 5px;
		font-size: clamp(.78rem, 3.3vw, .92rem);
	}

	.f88s2-match-analysis-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.f88s2-match-analysis-grid > div {
		min-height: 126px;
		padding: 13px 11px;
		overflow-wrap: anywhere;
	}

	.f88s2-standings-wrap {
		overflow: hidden;
		border-radius: 14px;
	}

	.f88s2-standings-table {
		width: 100%;
		min-width: 0 !important;
		table-layout: fixed;
		font-size: clamp(.72rem, 3vw, .84rem);
	}

	.f88s2-standings-table th,
	.f88s2-standings-table td {
		padding: 11px 5px;
		white-space: normal;
	}

	.f88s2-standings-table th:nth-child(1),
	.f88s2-standings-table td:nth-child(1) { width: 34px; }
	.f88s2-standings-table th:nth-child(2),
	.f88s2-standings-table td:nth-child(2) { width: auto; }
	.f88s2-standings-table th:nth-child(3),
	.f88s2-standings-table td:nth-child(3) { width: 38px; text-align: center; }
	.f88s2-standings-table th:nth-child(4), .f88s2-standings-table td:nth-child(4),
	.f88s2-standings-table th:nth-child(5), .f88s2-standings-table td:nth-child(5),
	.f88s2-standings-table th:nth-child(6), .f88s2-standings-table td:nth-child(6),
	.f88s2-standings-table th:nth-child(8), .f88s2-standings-table td:nth-child(8),
	.f88s2-standings-table th:nth-child(9), .f88s2-standings-table td:nth-child(9) { display: none; }
	.f88s2-standings-table th:nth-child(7),
	.f88s2-standings-table td:nth-child(7) { width: 58px; text-align: center; }
	.f88s2-standings-table th:nth-child(10),
	.f88s2-standings-table td:nth-child(10) { width: 48px; text-align: center; }

	.f88s2-standings-table .f88s2-team {
		min-width: 0;
		gap: 7px;
		line-height: 1.25;
	}

	.f88s2-standings-table .f88s2-team img {
		width: clamp(23px, 7vw, 30px);
		height: clamp(23px, 7vw, 30px);
	}

	.f88s2-standings-table .f88s2-team > span {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
}

@media (max-width: 390px) {
	.f88s2-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.f88s2-date-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.f88s2 *,
	.f88s2 *::before,
	.f88s2 *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
