.pr-public {
	margin: 24px 0;
	color: #1f2933;
}

.pr-public-table {
	width: 100%;
	border: 1px solid #d7dee8;
	border-collapse: collapse;
	background: #fff;
	font-size: 15px;
}

.pr-ranking-table-wrap {
	position: relative;
	width: 100%;
	border: 1px solid rgba(10, 25, 40, 0.14);
	border-radius: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.pr-ranking-scroll-hint {
	display: none;
}

.pr-public-table th,
.pr-public-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #e3e8ef;
	text-align: center;
	vertical-align: middle;
}

.pr-public-ranking .pr-public-table {
	border: 0;
}

.pr-public-table th {
	background: #f4f7fb;
	color: #111827;
	font-weight: 700;
	white-space: nowrap;
}

.pr-public-table .pr-public-column-pair {
	width: 42%;
	text-align: left;
}

.pr-public-table .pr-public-column-position {
	width: 6%;
	padding-right: 6px;
	padding-left: 6px;
}

.pr-public-table tbody tr:last-child td {
	border-bottom: 0;
}

.pr-public-table tbody tr:nth-child(even) td {
	background: #fafbfc;
}

.pr-public-column-points {
	background: #fff7f7;
	color: #c62828;
	font-weight: 800;
}

.pr-public-table th.pr-public-column-points {
	background: #fdecec;
}

.pr-public-table td.pr-public-column-points,
.pr-public-table tbody tr:nth-child(even) td.pr-public-column-points {
	background: #fff7f7;
}

.pr-public-label-mobile {
	display: none;
}

.pr-round {
	margin: 0 0 28px;
}

.pr-round-title {
	margin: 0 0 12px;
	font-size: 1.15rem;
	line-height: 1.3;
	font-weight: 700;
	color: #b71c1c;
	display: inline-block;
	padding: 10px 14px;
	background: rgba(183, 28, 28, 0.08);
	border-radius: 999px;
}

.pr-match-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
	margin: 0 0 24px;
	padding: 16px;
	border: 1px solid #d7dee8;
	background: #fff;
}

.pr-match-filter {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.pr-match-filter label {
	color: #0f2233;
	font-size: 0.85rem;
	font-weight: 800;
	line-height: 1.2;
}

.pr-match-filter select,
.pr-match-filter-button {
	width: 100%;
	min-height: 42px;
	border: 1px solid #cfd8e3;
	border-radius: 6px;
	font: inherit;
}

.pr-match-filter select {
	padding: 0 10px;
	background: #fff;
	color: #0f2233;
}

.pr-match-filter-button {
	padding: 0 14px;
	border-color: #c62828;
	background: #c62828;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.pr-match-filter-button:hover,
.pr-match-filter-button:focus {
	background: #a91f1f;
}

.pr-match-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.pr-match-card {
	position: relative;
	overflow: hidden;
	padding: 16px;
	border: 1px solid #d7dee8;
	border-top: 4px solid #c62828;
	background: #fff;
	box-shadow: 0 8px 18px rgba(15, 34, 51, 0.06);
}

.pr-match-meta {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 16px;
	padding: 4px 0 8px;
	color: #667085;
	font-size: 0.86rem;
	line-height: 1.55;
	overflow: hidden;
	white-space: nowrap;
}

.pr-match-meta > span {
	white-space: nowrap;
}

.pr-match-meta > span + span::before {
	content: "\00b7";
	margin-right: 10px;
	color: #aab2bd;
}

.pr-match-meta > .pr-match-meta-time::before {
	content: "";
	margin-right: 0;
}

.pr-match-meta strong {
	color: #0f2233;
	font-weight: 800;
}

.pr-public-matches .pr-match-meta {
	flex-wrap: nowrap;
	gap: 3px 5px;
	overflow: hidden;
	white-space: nowrap;
}

.pr-public-matches .pr-match-meta > span {
	white-space: nowrap;
}

.pr-public-matches .pr-match-meta > span + span::before {
	margin-right: 5px;
}

.pr-match-score-table {
	width: 100%;
	margin-top: 12px;
	border-collapse: collapse;
	table-layout: fixed;
	color: #0f2233;
}

.pr-match-score-table th,
.pr-match-score-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #edf1f5;
	text-align: center;
	vertical-align: middle;
}

.pr-match-score-table thead th {
	color: #667085;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pr-match-score-table tbody tr:last-child th,
.pr-match-score-table tbody tr:last-child td {
	border-bottom: 0;
}

.pr-match-score-pair {
	width: 52%;
	text-align: left;
}

.pr-match-score-table th.pr-match-score-pair,
.pr-match-score-table td.pr-match-score-pair {
	text-align: left;
}

.pr-match-score-table tbody .pr-match-score-pair {
	color: #0f2233;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.25;
}

.pr-match-score-set {
	width: 16%;
	border-left: 1px solid #edf1f5;
}

.pr-match-score-table tbody .pr-match-score-set {
	color: #c62828;
	font-size: 1.15rem;
	font-weight: 900;
}

.pr-match-meta-date,
.pr-match-meta-time {
	font-size: inherit;
}

.pr-match-meta-date {
	margin-right: -6px;
}

.pr-match-meta-round {
	color: #0f2233;
	font-size: inherit;
}

.pr-match-card--postponed {
	border-color: rgba(198, 40, 40, 0.6);
	border-top-color: #b71c1c;
	background: linear-gradient(180deg, #fff6f6 0%, #fff0f0 20%, #ffffff 45%);
}

.pr-match-postponed-label {
	margin-top: 14px;
	color: #c62828;
	font-size: 0.95rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

@media screen and (max-width: 700px) {
	.pr-public-table,
	.pr-public-table thead,
	.pr-public-table tbody,
	.pr-public-table tr,
	.pr-public-table th,
	.pr-public-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.pr-public-table {
		border: 0;
		background: transparent;
	}

	.pr-public-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		white-space: nowrap;
	}

	.pr-public-table tr {
		margin: 0 0 12px;
		border: 1px solid #d7dee8;
		background: #fff;
	}

	.pr-public-table th,
	.pr-public-table td {
		border-bottom: 1px solid #e3e8ef;
	}

	.pr-public-table td {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		text-align: right;
	}

	.pr-public-table td::before {
		content: attr(data-label);
		color: #526071;
		font-weight: 700;
		text-align: left;
	}

	.pr-public-table tbody tr:last-child td,
	.pr-public-table tr td:last-child {
		border-bottom: 0;
	}

	.pr-public-ranking .pr-public-table {
		display: table;
		width: 100%;
		min-width: 620px;
		table-layout: auto;
		border-collapse: separate;
		border-spacing: 0;
		background: #fff;
	}

	.pr-public-ranking .pr-public-table thead {
		display: table-header-group;
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}

	.pr-public-ranking .pr-public-table tbody {
		display: table-row-group;
		width: auto;
	}

	.pr-public-ranking .pr-public-table tr {
		display: table-row;
		margin: 0;
		border: 0;
		background: transparent;
	}

	.pr-public-ranking .pr-public-table th,
	.pr-public-ranking .pr-public-table td {
		display: table-cell;
		width: auto;
		padding: 8px 4px;
		border-bottom: 1px solid #e3e8ef;
		font-size: inherit;
		line-height: 1.15;
		text-align: center;
		vertical-align: middle;
		white-space: nowrap;
	}

	.pr-public-ranking .pr-public-table td::before {
		content: none;
	}

	.pr-public-ranking .pr-ranking-table-wrap {
		box-shadow: inset -42px 0 28px -22px rgba(15, 34, 51, 0.42);
	}

	.pr-public-ranking .pr-ranking-scroll-hint {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		margin: 8px 2px 0;
		color: rgba(8, 24, 39, 0.72);
		font-size: 12px;
		font-weight: 700;
		line-height: 1.2;
	}

	.pr-public-ranking .pr-public-table tr td:last-child {
		border-bottom: 1px solid #e3e8ef;
	}

	.pr-public-ranking .pr-public-table tbody tr:last-child td {
		border-bottom: 0;
	}

	.pr-public-ranking .pr-public-column-pair {
		width: 1%;
		min-width: max-content;
		padding-right: 30px;
		padding-left: 8px;
		text-align: left !important;
		white-space: nowrap;
	}

	.pr-public-ranking .pr-public-column-position {
		padding-right: 3px;
		padding-left: 3px;
		text-align: center;
	}

	.pr-public-ranking .pr-public-column-points,
	.pr-public-ranking .pr-public-column-played,
	.pr-public-ranking .pr-public-column-won,
	.pr-public-ranking .pr-public-column-lost,
	.pr-public-ranking .pr-public-column-sets_diff,
	.pr-public-ranking .pr-public-column-games_diff {
		padding-left: 4px;
		padding-right: 4px;
		text-align: center;
	}

	.pr-public-ranking .pr-public-column-sets_for,
	.pr-public-ranking .pr-public-column-sets_against,
	.pr-public-ranking .pr-public-column-games_for,
	.pr-public-ranking .pr-public-column-games_against {
		display: none;
	}

	.pr-public-ranking .pr-public-label-full {
		display: none;
	}

	.pr-public-ranking .pr-public-label-mobile {
		display: inline;
	}

	.pr-match-filters {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.pr-match-list {
		grid-template-columns: 1fr;
	}

	.pr-public-matches .pr-match-list {
		grid-template-columns: 1fr;
	}

	.pr-match-card {
		padding: 14px;
	}

	.pr-public-matches .pr-match-card {
		padding: 10px;
	}

	.pr-match-meta {
		min-width: 0;
		gap: 3px 4px;
		margin-bottom: 10px;
		padding: 2px 0 5px;
		font-size: 0.78rem;
		line-height: 1.3;
	}

	.pr-match-meta > span + span::before {
		margin-right: 4px;
	}

	.pr-match-meta-date {
		margin-right: -2px;
	}

	.pr-public-matches .pr-match-meta {
		gap: 2px 3px;
		font-size: 0.72rem;
	}

	.pr-public-matches .pr-match-meta > span + span::before {
		margin-right: 3px;
	}

	.pr-match-score-table th,
	.pr-match-score-table td {
		padding: 7px 5px;
	}

	.pr-match-score-pair {
		width: 48%;
	}

	.pr-match-score-set {
		width: 17.333%;
	}

	.pr-match-score-table thead th {
		font-size: 0.58rem;
		letter-spacing: 0.04em;
	}

	.pr-match-score-table tbody .pr-match-score-pair {
		font-size: 0.86rem;
	}

	.pr-match-score-table tbody .pr-match-score-set {
		font-size: 1rem;
	}
}

@media screen and (max-width: 768px) {
	.pr-ranking-table-wrap .pr-ranking-table {
		table-layout: auto;
	}

	.pr-ranking-table-wrap .pr-ranking-table th,
	.pr-ranking-table-wrap .pr-ranking-table td {
		padding-right: 4px;
		padding-left: 4px;
		font-size: inherit;
		text-align: center;
		white-space: nowrap;
	}

	.pr-ranking-table-wrap .pr-ranking-table th.pr-col-pair,
	.pr-ranking-table-wrap .pr-ranking-table td.pr-col-pair {
		width: 1%;
		min-width: max-content;
		padding-right: 30px;
		padding-left: 8px;
		text-align: left;
		white-space: nowrap;
	}

	.pr-ranking-table-wrap .pr-ranking-table th.pr-col-pos,
	.pr-ranking-table-wrap .pr-ranking-table td.pr-col-pos {
		padding-right: 3px;
		padding-left: 3px;
	}
}
