/**
 * Mobile match filters — fixtures/results (M4).
 */

@media (max-width: 767px) {
	.pl-match-filters {
		margin: 0 0 16px;
		padding: 12px;
		border-radius: 8px;
		background: #f7f5f8;
		border: 1px solid rgba(55, 0, 60, 0.08);
	}

	.pl-match-filters *,
	.pl-match-filters *::before,
	.pl-match-filters *::after {
		box-sizing: border-box;
	}

	.pl-match-filters__tabs {
		display: flex;
		gap: 6px;
		margin-bottom: 10px;
	}

	.pl-match-filters__tab {
		flex: 1 1 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		margin: 0;
		padding: 8px 6px;
		border: 1px solid #d7d6d6 !important;
		border-radius: 6px !important;
		background: #fff !important;
		background-image: none !important;
		color: #333 !important;
		font-family: inherit;
		font-size: 13px;
		font-style: normal;
		font-weight: 600;
		line-height: 1.2;
		text-align: center;
		text-transform: none;
		letter-spacing: 0;
		box-shadow: none !important;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		appearance: none;
	}

	.pl-match-filters__tab::before,
	.pl-match-filters__tab::after {
		display: none !important;
		content: none !important;
	}

	.pl-match-filters__tab.is-active {
		border-color: #37003c !important;
		background: #37003c !important;
		color: #fff !important;
	}

	.pl-match-filters__tab:focus,
	.pl-match-filters__tab:active {
		outline: none;
		box-shadow: none !important;
	}

	.pl-match-filters__team-wrap,
	.pl-match-filters__search-wrap,
	.pl-match-filters__date-row {
		margin-bottom: 8px;
	}

	.pl-match-filters__team {
		display: block;
		width: 100%;
		min-height: 44px;
		margin: 0;
		padding: 0 36px 0 12px;
		border: 1px solid #d7d6d6;
		border-radius: 6px;
		background: #fff;
		color: #333;
		font-size: 14px;
		line-height: 42px;
		appearance: auto;
		-webkit-appearance: menulist;
	}

	.pl-match-filters__search-wrap {
		position: relative;
	}

	.pl-match-filters__search-icon {
		position: absolute;
		top: 50%;
		left: 12px;
		width: 18px;
		height: 18px;
		color: #37003c;
		pointer-events: none;
		transform: translateY(-50%);
	}

	.pl-match-filters__search {
		display: block;
		width: 100%;
		min-height: 44px;
		margin: 0;
		padding: 0 12px 0 40px;
		border: 1px solid #d7d6d6;
		border-radius: 6px;
		background: #fff;
		color: #333;
		font-size: 14px;
		line-height: 42px;
		-webkit-text-fill-color: #333;
	}

	.pl-match-filters__search::placeholder {
		color: #777;
		opacity: 1;
	}

	.pl-match-filters__search:focus {
		outline: none;
		border-color: #37003c;
		background: #fff;
		color: #333;
	}

	.pl-match-filters__date-row {
		display: flex;
		gap: 8px;
		align-items: stretch;
	}

	.pl-match-filters__date-field {
		position: relative;
		display: flex;
		flex: 1 1 auto;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 0 12px;
		border: 1px solid #d7d6d6;
		border-radius: 6px;
		background: #fff;
		overflow: hidden;
	}

	.pl-match-filters__date-icon {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
		color: #37003c;
	}

	.pl-match-filters__date-label {
		flex: 1 1 auto;
		color: #777;
		font-size: 14px;
		line-height: 1.2;
		pointer-events: none;
	}

	.pl-match-filters__date-field.has-value .pl-match-filters__date-label {
		color: #333;
		font-weight: 600;
	}

	.pl-match-filters__date-input {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		opacity: 0;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
	}

	.pl-match-filters__clear-date {
		display: inline-flex;
		flex: 0 0 44px;
		align-items: center;
		justify-content: center;
		width: 44px;
		min-width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 1px solid #d7d6d6 !important;
		border-radius: 6px !important;
		background: #fff !important;
		background-image: none !important;
		color: #37003c !important;
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
		box-shadow: none !important;
		cursor: pointer;
	}

	.pl-match-filters__clear-date::before,
	.pl-match-filters__clear-date::after {
		display: none !important;
		content: none !important;
	}

	.pl-match-filters__clear-date[hidden],
	.pl-match-filters button[hidden] {
		display: none !important;
		width: 0 !important;
		min-width: 0 !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		overflow: hidden !important;
		visibility: hidden !important;
	}

	.pl-match-filters__clear-date:focus,
	.pl-match-filters__clear-date:active {
		outline: none;
		border-color: #37003c !important;
		background: #fff !important;
		color: #37003c !important;
	}

	.pl-match-filters__empty {
		display: none;
		margin: 0 0 12px;
		padding: 14px 12px;
		border-radius: 6px;
		background: rgba(55, 0, 60, 0.06);
		color: #37003c;
		font-size: 13px;
		font-weight: 600;
		line-height: 1.4;
		text-align: center;
	}

	.pl-match-filters__empty.is-visible {
		display: block;
	}
}

@media (min-width: 768px) {
	.pl-match-filters,
	.pl-match-filters__empty {
		display: none !important;
	}
}
