/* Premium league category template. */
.gpl-league-page {
	padding-top: 2px;
}

.gpl-league-page__crumbs {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 12px;
	color: #66849a;
	font-family: "Barlow Condensed", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.gpl-league-page__crumbs a {
	color: #66849a;
	text-decoration: none;
}

.gpl-league-page__crumbs strong {
	color: #72caff;
	font-weight: 700;
}

.gpl-league-page__hero {
	display: flex;
	min-height: 72px;
	margin-bottom: 14px;
	padding: 10px 17px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 50%, rgba(18, 157, 243, .14), transparent 31%),
		linear-gradient(112deg, rgba(9, 36, 55, .98), rgba(5, 22, 35, .98));
}

.gpl-league-page__hero-main,
.gpl-league-page__hero-side {
	display: flex;
	align-items: center;
}

.gpl-league-page__hero-main {
	min-width: 0;
	gap: 13px;
}

.gpl-league-page__hero-icon {
	display: grid;
	width: 43px;
	height: 43px;
	flex: 0 0 43px;
	place-items: center;
	border: 1px solid rgba(222, 183, 73, .45);
	border-radius: 50%;
	background: linear-gradient(145deg, rgba(222, 183, 73, .16), rgba(222, 183, 73, .035));
	box-shadow: 0 0 22px rgba(222, 183, 73, .08);
	color: #e2bd52;
}

.gpl-league-page__hero-icon svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
}

.gpl-league-page__hero-icon img,
.gpl-league-page__hero-side img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gpl-league-page__hero h1 {
	margin: 0;
	color: #f4f8fb !important;
	font-family: "Barlow Condensed", Arial, sans-serif !important;
	font-size: 25px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.gpl-league-page__hero p {
	margin: 5px 0 0;
	color: #8ca7b9;
	font-size: 10px;
	line-height: 1.3;
}

.gpl-league-page__hero-side {
	min-height: 34px;
	padding: 0 11px;
	flex: 0 0 auto;
	gap: 8px;
	border: 1px solid rgba(81, 148, 188, .27);
	border-radius: 4px;
	background: rgba(3, 17, 28, .46);
	color: #d3e5ef;
}

.gpl-league-page__hero-side > span {
	display: grid;
	width: 19px;
	height: 19px;
	place-items: center;
	color: #e0b94a;
}

.gpl-league-page__hero-side svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
}

.gpl-league-page__hero-side strong {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.gpl-league-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	align-items: start;
	gap: 18px;
}

.gpl-league-page__main,
.gpl-league-page__sidebar {
	min-width: 0;
}

.gpl-league-panel__head {
	display: flex;
	min-height: 42px;
	padding: 0 13px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid rgba(71, 126, 161, .22);
}

.gpl-league-panel__head h1,
.gpl-league-panel__head h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #edf6fb !important;
	font-family: "Barlow Condensed", Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-transform: uppercase;
}

.gpl-league-panel__head > span {
	color: #6c8da4;
	font-size: 10px;
}

.gpl-league-panel__icon {
	display: grid;
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	place-items: center;
	border: 1px solid rgba(220, 178, 69, .38);
	border-radius: 50%;
	background: rgba(220, 178, 69, .08);
	box-shadow: 0 0 14px rgba(220, 178, 69, .08);
	color: #dfb949;
}

.gpl-league-panel__icon svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
}

.gpl-league-news {
	overflow: hidden;
}

.gpl-league-news__batch[hidden] {
	display: none;
}

.gpl-league-news__batch {
	padding: 3px 11px 0;
}

.gpl-league-news-row {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr) 78px;
	align-items: center;
	gap: 12px;
	min-height: 84px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(71, 126, 161, .2);
}

.gpl-league-news-row:last-child {
	border-bottom: 0;
}

.gpl-league-news-row__image {
	display: block;
	overflow: hidden;
	height: 68px;
	border-radius: 3px;
	background: #03101a;
}

.gpl-league-news-row__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gpl-league-news-row__body {
	min-width: 0;
}

.gpl-league-news-row__meta {
	display: flex;
	gap: 5px;
	margin-bottom: 3px;
	color: #4dbdff;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.gpl-league-news-row__meta time::after {
	margin-left: 5px;
	content: "·";
}

.gpl-league-news-row h2 {
	margin: 0;
	font-family: "Barlow Condensed", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.08;
}

.gpl-league-news-row h2 a {
	color: #eef6fb;
	text-decoration: none;
}

.gpl-league-news-row p {
	display: -webkit-box;
	overflow: hidden;
	margin: 4px 0 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	color: #86a0b3;
	font-size: 10px;
	line-height: 1.35;
}

.gpl-league-news-row__cta {
	display: inline-flex;
	min-height: 30px;
	padding: 0 9px;
	align-items: center;
	justify-content: center;
	justify-self: end;
	gap: 5px;
	border: 1px solid rgba(222, 183, 73, .42);
	border-radius: 3px;
	background: rgba(222, 183, 73, .09);
	color: #e7c765;
	font-size: 9px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease;
}

.gpl-league-news-row__cta:hover {
	border-color: rgba(222, 183, 73, .7);
	background: rgba(222, 183, 73, .15);
}

.gpl-league-news-row__cta svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
}

.gpl-league-news__pagination {
	display: flex;
	min-height: 48px;
	padding: 0 11px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid rgba(71, 126, 161, .18);
}

.gpl-league-news__pagination > span {
	color: #64859a;
	font-size: 9px;
	font-weight: 600;
}

.gpl-league-news__pagination > div,
.gpl-league-table__pagination,
.gpl-league-upcoming__pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
}

.gpl-league-news__pagination button,
.gpl-league-table__pagination button,
.gpl-league-upcoming__pagination button {
	display: inline-flex;
	min-height: 30px;
	padding: 0 13px;
	align-items: center;
	gap: 7px;
	border: 1px solid #206087;
	border-radius: 3px;
	background: #0b3550;
	color: #d9edf8;
	cursor: pointer;
	font: inherit;
	font-size: 9px;
	font-weight: 700;
}

.gpl-league-news__pagination button:hover,
.gpl-league-table__pagination button:hover,
.gpl-league-upcoming__pagination button:hover {
	border-color: #2f7aa5;
	background: #10415f;
}

.gpl-league-news__pagination button svg,
.gpl-league-table__pagination button svg,
.gpl-league-upcoming__pagination button svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
}

.gpl-league-news__pagination button[hidden],
.gpl-league-table__pagination button[hidden],
.gpl-league-upcoming__pagination button[hidden],
.gpl-league-standings table[hidden],
.gpl-league-upcoming__batch[hidden] {
	display: none;
}

.gpl-league-page__data {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 12px;
	margin-top: 14px;
}

.gpl-league-page__data > .gpl-panel {
	display: flex;
	min-height: 454px;
	flex-direction: column;
}

.gpl-league-standings__body,
.gpl-league-upcoming__body {
	display: flex;
	min-height: 0;
	padding: 5px 10px 9px;
	flex: 1;
	flex-direction: column;
}

.gpl-league-table__pagination,
.gpl-league-upcoming__pagination {
	min-height: 42px;
	margin-top: auto;
	padding-top: 8px;
}

.gpl-league-upcoming__batch {
	flex: 0 0 auto;
}

.gpl-league-standings table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	color: #dceaf3;
	font-size: 10px;
}

.gpl-league-standings th,
.gpl-league-standings td {
	height: 34px;
	padding: 4px 2px;
	border: 0;
	border-bottom: 1px solid rgba(88, 142, 175, .17);
	background: transparent;
	color: inherit;
	text-align: center;
}

.gpl-league-standings th {
	height: 29px;
	color: #6f91a8;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.gpl-league-standings th:nth-child(2),
.gpl-league-standings td:nth-child(2) {
	width: 46%;
	text-align: left;
}

.gpl-league-standings tbody tr:nth-child(-n+3) td:first-child {
	color: #9eea49;
	font-weight: 700;
}

.gpl-league-standings td:last-child {
	color: #fff;
	font-weight: 700;
}

.gpl-league-team {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
}

.gpl-league-team strong {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gpl-league-page .gpl-team-badge {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	object-fit: contain;
}

.gpl-league-page .gpl-team-badge--fallback {
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #153f59;
	color: #9ed9fa;
	font-size: 7px;
}

.gpl-league-panel__more {
	display: block;
	margin-top: auto;
	padding: 9px 1px 0;
	color: #59c3fe;
	font-size: 9px;
	font-weight: 600;
	text-align: right;
	text-decoration: none;
}

.gpl-league-match-date {
	display: flex;
	min-height: 28px;
	margin-top: 4px;
	padding: 0 3px;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(228, 185, 79, .22);
	color: #d7c181;
	font-size: 9px;
	font-weight: 700;
}

.gpl-league-match-date span:last-child {
	color: #7895a9;
	font-weight: 500;
	text-transform: uppercase;
}

.gpl-league-quick-match,
.gpl-league-full-match {
	color: #dbe8f0;
	text-decoration: none;
}

.gpl-league-quick-match {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
	min-height: 36px;
	align-items: center;
	gap: 5px;
	border-bottom: 1px solid rgba(88, 142, 175, .16);
	font-size: 9px;
}

.gpl-league-quick-match__team,
.gpl-league-full-match__team {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
}

.gpl-league-quick-match__team strong,
.gpl-league-full-match__team strong {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gpl-league-quick-match__team--away,
.gpl-league-full-match__team--away {
	justify-content: flex-end;
	text-align: right;
}

.gpl-league-quick-match__score,
.gpl-league-full-match__score {
	display: grid;
	min-height: 24px;
	place-items: center;
	border-radius: 3px;
	background: #0d3048;
	color: #fff;
	font-weight: 700;
}

.gpl-league-empty {
	margin: auto 0;
	color: #809aad;
	font-size: 11px;
	text-align: center;
}

.gpl-league-schedule {
	margin-top: 14px;
	overflow: hidden;
}

.gpl-league-schedule__body {
	padding: 9px 11px 11px;
}

.gpl-league-round {
	overflow: hidden;
	border: 1px solid rgba(78, 132, 165, .22);
	border-radius: 4px;
	background: rgba(2, 15, 24, .34);
}

.gpl-league-round + .gpl-league-round {
	margin-top: 10px;
}

.gpl-league-round > header {
	display: flex;
	min-height: 34px;
	padding: 0 10px;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(90deg, rgba(24, 67, 94, .75), rgba(9, 31, 46, .42));
	color: #eaf5fb;
	font-size: 10px;
	text-transform: uppercase;
}

.gpl-league-round > header strong {
	font-weight: 700;
}

.gpl-league-round > header span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #7898ad;
	font-size: 9px;
}

.gpl-league-round.is-upcoming > header span {
	color: #dfb949;
}

.gpl-league-round > header svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
}

.gpl-league-round .gpl-league-match-date {
	margin-top: 0;
	padding-inline: 10px;
	background: rgba(228, 185, 79, .045);
}

.gpl-league-full-match {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 62px minmax(0, 1fr);
	min-height: 39px;
	padding: 3px 10px;
	align-items: center;
	gap: 9px;
	border-bottom: 1px solid rgba(88, 142, 175, .15);
	font-size: 10px;
}

.gpl-league-full-match > time {
	color: #82a0b4;
}

.gpl-league-full-match.is-upcoming .gpl-league-full-match__score {
	border: 1px solid rgba(228, 185, 79, .28);
	background: rgba(228, 185, 79, .07);
	color: #dfb949;
}

.gpl-league-schedule__footer {
	display: flex;
	justify-content: flex-end;
	padding-top: 10px;
}

.gpl-league-schedule__footer a {
	color: #59c3fe;
	font-size: 9px;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 960px) {
	.gpl-league-page__layout { grid-template-columns: minmax(0, 1fr) 260px; }
	.gpl-league-news-row { grid-template-columns: 108px minmax(0, 1fr) 70px; }
}

@media (max-width: 820px) {
	.gpl-league-page__layout { grid-template-columns: 1fr; }
	.gpl-league-page__sidebar { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

@media (max-width: 680px) {
	.gpl-league-page__data { grid-template-columns: 1fr; }
	.gpl-league-page__data > .gpl-panel { min-height: 0; }
	.gpl-league-page__sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
	.gpl-league-page__hero { align-items: flex-start; flex-direction: column; gap: 10px; }
	.gpl-league-page__hero-side { align-self: stretch; justify-content: center; }
	.gpl-league-panel__head { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 10px; }
	.gpl-league-news__pagination { align-items: flex-start; flex-direction: column; padding-block: 8px; }
	.gpl-league-news__pagination > div { width: 100%; justify-content: space-between; }
	.gpl-league-news-row { grid-template-columns: 92px minmax(0, 1fr); min-height: 92px; }
	.gpl-league-news-row__image { height: 64px; }
	.gpl-league-news-row__cta { grid-column: 2; justify-self: start; }
	.gpl-league-news-row p { display: none; }
	.gpl-league-standings th:nth-child(4),
	.gpl-league-standings td:nth-child(4),
	.gpl-league-standings th:nth-child(5),
	.gpl-league-standings td:nth-child(5) { display: none; }
	.gpl-league-full-match { grid-template-columns: 40px minmax(0, 1fr) 44px minmax(0, 1fr); gap: 5px; padding-inline: 7px; }
	.gpl-league-full-match__team { gap: 4px; }
	.gpl-league-full-match .gpl-team-badge { width: 16px; height: 16px; flex-basis: 16px; }
}
