/*
 * Courts map base styles.
 *
 * Loaded only for the fullscreen courts map. Keep late cross-component
 * refinements in style.css until they can be moved with visual regression
 * coverage.
 */

/* Fullscreen courts map */
body.ntennis-courts-map-page {
	background: #f5f6f3;
}

body.ntennis-courts-map-page .site-footer,
body.ntennis-courts-map-page .mobile-tabbar {
	display: none;
}

html.is-ntennis-map-standalone,
body.is-ntennis-map-standalone.ntennis-courts-map-page {
	height: 100%;
	overflow: hidden;
}

body.is-ntennis-map-standalone.ntennis-courts-map-page .site-header,
body.is-ntennis-map-standalone.ntennis-courts-map-page .site-footer,
body.is-ntennis-map-standalone.ntennis-courts-map-page .mobile-tabbar,
body.is-ntennis-map-standalone.ntennis-courts-map-page .city-selector-modal {
	display: none;
}

body.is-ntennis-map-standalone.ntennis-courts-map-page .court-map-page,
body.is-ntennis-map-standalone.ntennis-courts-map-page .court-map-app {
	height: 100vh;
	min-height: 100vh;
	height: 100dvh;
	min-height: 100dvh;
}

@media (min-width: 768px) {
	body.is-ntennis-map-standalone.ntennis-courts-map-page .court-map-detail {
		max-height: calc(100dvh - 138px);
	}
}

.court-map-page {
	width: 100%;
	max-width: none;
	min-height: calc(100dvh - 80px);
	margin: 0;
	padding: 0;
	color: var(--ntennis-dark);
	background: #f5f6f3;
}

.court-map-app {
	display: grid;
	min-height: calc(100dvh - 80px);
	grid-template-rows: auto auto minmax(0, 1fr);
	gap: 14px;
	padding: 16px 28px 18px;
}

.court-map-mobile-head,
.court-map-mobile-controls,
.court-map-mobile-surfaces,
.court-map-bottom-nav {
	display: none;
}

.court-map-desktop-head {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
}

.court-map-back,
.court-map-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ntennis-muted-strong);
	text-decoration: none;
}

.court-map-back {
	gap: 7px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 800;
}

.court-map-close {
	width: 44px;
	height: 44px;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	background: #ffffff;
	box-shadow: var(--ntennis-shadow-raised);
}

.court-map-back .nav-icon,
.court-map-close .nav-icon {
	width: 20px;
	height: 20px;
}

.court-map-desktop-head h1 {
	margin: 0;
	color: #091f15;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: 0;
}

.court-map-desktop-head p {
	margin: 4px 0 0;
	color: rgba(15, 47, 33, 0.68);
	font-size: 14px;
	line-height: 20px;
}

.court-map-filter-form {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(250px, 300px) minmax(300px, 360px) minmax(250px, 300px) minmax(164px, 190px) minmax(178px, 210px);
	gap: 10px;
	align-items: stretch;
}

.court-map-search,
.court-map-filter-group,
.court-map-switch,
.court-map-reset {
	min-width: 0;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	background: #ffffff;
	box-shadow: 0 10px 26px rgba(15, 47, 33, 0.06);
}

.court-map-search {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	min-height: 92px;
	padding: 18px;
}

.court-map-search-stack {
	display: grid;
	gap: 7px;
	align-self: stretch;
	min-width: 0;
}

.court-map-search .nav-icon {
	width: 20px;
	height: 20px;
	color: rgba(15, 47, 33, 0.5);
}

.court-map-search input {
	min-width: 0;
	border: 0;
	outline: 0;
	color: #0f2f21;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	background: transparent;
}

.court-map-search input::placeholder {
	color: rgba(15, 47, 33, 0.46);
}

.court-map-active-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.court-map-active-tags[hidden] {
	display: none;
}

.court-map-active-tag {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
	min-height: 28px;
	gap: 6px;
	padding: 4px 8px 4px 10px;
	border: 1px solid rgba(11, 141, 59, 0.24);
	border-radius: var(--ntennis-radius-sm);
	color: #0b8d3b;
	background: #f2fbf5;
	font-size: 12px;
	font-weight: 900;
	line-height: 16px;
	cursor: pointer;
}

.court-map-active-tag span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.court-map-active-tag i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	color: transparent;
	background: #0b8d3b;
	font-style: normal;
	font-size: 0;
	line-height: 0;
}

.court-map-active-tag i::before,
.court-map-active-tag i::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 2px;
	border-radius: 999px;
	background: #ffffff;
	content: "";
	transform-origin: center;
}

.court-map-active-tag i::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.court-map-active-tag i::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.court-map-filter-group {
	min-height: 92px;
	margin: 0;
	padding: 13px 14px 14px;
}

.court-map-filter-group legend {
	margin: 0 0 9px;
	padding: 0;
	color: rgba(15, 47, 33, 0.65);
	font-size: 12px;
	font-weight: 800;
	line-height: 16px;
}

.court-map-surface-options,
.court-map-type-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}

.court-map-type-options {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.court-map-surface-option,
.court-map-type-option {
	min-width: 0;
}

.court-map-surface-option input,
.court-map-type-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.court-map-surface-option span,
.court-map-type-option span {
	display: grid;
	min-height: 50px;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 7px;
	align-items: center;
	padding: 8px;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.court-map-type-option span {
	grid-template-columns: 42px minmax(0, 1fr);
}

.court-map-surface-option img,
.court-map-type-option img {
	display: block;
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.court-map-type-option img {
	width: 42px;
	height: 42px;
}

.court-map-surface-option strong,
.court-map-type-option strong {
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 900;
	line-height: 16px;
}

.court-map-surface-option input:checked + span,
.court-map-type-option input:checked + span {
	border-color: #0b8d3b;
	background: #f2fbf5;
	box-shadow: inset 0 0 0 1px rgba(11, 141, 59, 0.22);
}

.court-map-filter-group--price {
	display: grid;
	align-content: center;
}

.court-map-price-values {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	margin-bottom: 11px;
	color: rgba(15, 47, 33, 0.65);
	font-size: 12px;
	font-weight: 900;
	line-height: 16px;
}

.court-map-price-values strong {
	min-width: 0;
	color: #0f2f21;
	text-align: center;
}

.court-map-range {
	position: relative;
	height: 30px;
}

.court-map-range__track {
	position: absolute;
	top: 12px;
	right: 0;
	left: 0;
	height: 6px;
	border-radius: 999px;
	background:
		linear-gradient(
			to right,
			rgba(15, 47, 33, 0.12) 0,
			rgba(15, 47, 33, 0.12) var(--range-from, 0%),
			#0b8d3b var(--range-from, 0%),
			#0b8d3b var(--range-to, 100%),
			rgba(15, 47, 33, 0.12) var(--range-to, 100%),
			rgba(15, 47, 33, 0.12) 100%
		);
	pointer-events: none;
}

.court-map-range input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	pointer-events: none;
}

.court-map-range input[type="range"]::-webkit-slider-thumb {
	width: 22px;
	height: 22px;
	border: 4px solid #ffffff;
	border-radius: 50%;
	background: #0b8d3b;
	box-shadow: 0 3px 10px rgba(15, 47, 33, 0.22);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	pointer-events: auto;
}

.court-map-range input[type="range"]::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border: 4px solid #ffffff;
	border-radius: 50%;
	background: #0b8d3b;
	box-shadow: 0 3px 10px rgba(15, 47, 33, 0.22);
	cursor: pointer;
	pointer-events: auto;
}

.court-map-switch {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 50px;
	gap: 10px;
	align-items: center;
	min-height: 92px;
	padding: 16px;
	cursor: pointer;
}

.court-map-switch span {
	display: grid;
	min-width: 0;
	gap: 3px;
}

.court-map-switch strong {
	color: #0f2f21;
	font-size: 13px;
	font-weight: 900;
	line-height: 17px;
}

.court-map-switch small {
	color: rgba(15, 47, 33, 0.58);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.court-map-switch input {
	position: absolute;
	opacity: 0;
}

.court-map-switch i {
	position: relative;
	display: block;
	width: 50px;
	height: 30px;
	border-radius: 999px;
	background: rgba(15, 47, 33, 0.13);
	transition: background 160ms ease;
}

.court-map-switch i::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 3px 10px rgba(15, 47, 33, 0.22);
	transition: transform 160ms ease;
}

.court-map-switch input:checked + i {
	background: #0b8d3b;
}

.court-map-switch input:checked + i::before {
	transform: translateX(20px);
}

.court-map-reset {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 14px 16px;
	border-color: var(--ntennis-line-soft);
	color: #0f2f21;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
}

.court-map-reset .nav-icon {
	width: 22px;
	height: 22px;
	color: #0b8d3b;
}

.court-map-workspace {
	display: grid;
	min-height: 520px;
	height: calc(100dvh - 80px - 150px);
	grid-template-columns: minmax(310px, 24vw) minmax(420px, 1fr) minmax(360px, 30vw);
	gap: 14px;
}

.court-map-side,
.court-map-detail,
.court-map-stage,
.court-map-install-panel {
	min-width: 0;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	background: #ffffff;
	box-shadow: 0 14px 34px var(--ntennis-line-soft);
}

.court-map-side,
.court-map-detail {
	overflow: hidden;
}

.court-map-side {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
}

.court-map-side__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
	padding: 0 14px;
	border-bottom: 1px solid var(--ntennis-line-soft);
}

.court-map-side__head strong {
	color: #0f2f21;
	font-size: 15px;
	font-weight: 900;
}

.court-map-side__head button {
	display: none;
}

.court-map-list,
.court-map-detail {
	overflow: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.court-map-list {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 12px;
}

.court-map-result-card {
	position: relative;
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 10px;
	min-width: 0;
	padding: 8px;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	background: #ffffff;
	cursor: pointer;
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.court-map-result-card:hover,
.court-map-result-card:focus-visible,
.court-map-result-card.is-active {
	border-color: rgba(11, 141, 59, 0.42);
	box-shadow: 0 10px 24px var(--ntennis-line-medium);
}

.court-map-result-card:focus-visible {
	outline: 2px solid rgba(11, 141, 59, 0.35);
	outline-offset: 2px;
}

.court-map-result-card__media {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--ntennis-radius-sm);
	background: #e8eee6;
	aspect-ratio: 4 / 3;
}

.court-map-result-card__image,
.court-map-mobile-result__image,
.court-map-detail-gallery__image,
.court-map-detail-gallery__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.court-map-favorite,
.court-map-share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(15, 47, 33, 0.12);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 18px rgba(15, 47, 33, 0.12);
	cursor: pointer;
}

.court-map-share.is-copied {
	border-color: rgba(11, 141, 59, 0.3);
	color: #ffffff;
	background: #0b8d3b;
}

.court-map-result-card .court-map-favorite {
	position: absolute;
	top: 7px;
	right: 7px;
}

.court-map-favorite .nav-icon,
.court-map-share .nav-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.35;
}

.court-map-favorite.is-favorite {
	color: #ef4056;
}

.court-map-favorite.is-favorite .nav-icon {
	fill: currentColor;
}

.court-map-result-card__body {
	display: grid;
	min-width: 0;
	gap: 7px;
	align-content: start;
}

.court-map-result-card__title-row,
.court-map-mobile-result__body > div,
.court-map-detail-card__head > div {
	display: flex;
	min-width: 0;
	gap: 7px;
	align-items: center;
}

.court-map-result-card h2,
.court-map-mobile-result h2,
.court-map-detail-card h2 {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	color: #091f15;
	font-size: 15px;
	font-weight: 900;
	line-height: 19px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.court-map-verified {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 4px;
	align-items: center;
	color: #0b8d3b;
	font-size: 11px;
	font-weight: 900;
	line-height: 14px;
}

.court-map-verified .nav-icon {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.court-map-result-card .court-map-verified span,
.court-map-mobile-result .court-map-verified span {
	display: none;
}

.court-map-trust {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 6px;
	align-items: center;
}

.court-map-trust .court-card__trust-icon {
	flex: 0 0 auto;
}

.court-map-result-card__meta,
.court-map-detail-card__meta {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	gap: 6px 9px;
	align-items: center;
	margin: 0;
	color: rgba(15, 47, 33, 0.68);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.court-map-rating {
	display: inline-flex;
	gap: 3px;
	align-items: center;
	color: #0b8d3b;
	white-space: nowrap;
}

.court-map-rating .nav-icon {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.court-map-rating span,
.court-map-meta {
	color: var(--ntennis-muted-soft);
}

.court-map-result-card__address,
.court-map-mobile-result__address {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 5px;
	align-items: start;
	min-width: 0;
	margin: 0;
	color: var(--ntennis-muted-soft);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.court-map-result-card__address .nav-icon,
.court-map-mobile-result__address .nav-icon {
	width: 15px;
	height: 15px;
	color: #0b8d3b;
}

.court-map-result-card__address span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.court-map-mobile-result__address span {
	min-width: 0;
	overflow: visible;
	overflow-wrap: anywhere;
	text-overflow: clip;
	white-space: normal;
}

.court-map-distance {
	display: inline-flex;
	flex: 0 1 auto;
	min-width: 0;
	gap: 4px;
	align-items: center;
	color: #0b8d3b;
	font-size: 12px;
	font-weight: 900;
	line-height: 16px;
	white-space: nowrap;
}

.court-map-distance .nav-icon {
	width: 14px;
	height: 14px;
}

.court-map-result-card__foot {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
}

.court-map-result-card__foot strong,
.court-map-mobile-result strong,
.court-map-detail-card__head > strong {
	color: #091f15;
	font-size: 15px;
	font-weight: 900;
	line-height: 18px;
}

.court-map-result-card__foot strong {
	margin-left: auto;
}

.court-map-result-card__foot a {
	color: #0b8d3b;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.court-map-stage {
	position: relative;
	overflow: hidden;
	min-height: 0;
	background: #e6eee2;
}

.court-map-canvas {
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.court-map-canvas > p {
	display: grid;
	min-height: 100%;
	place-items: center;
	margin: 0;
	padding: 24px;
	color: rgba(15, 47, 33, 0.68);
	font-weight: 800;
}

.court-map-cluster {
	display: grid;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	place-items: center;
	border: 3px solid #ffffff;
	border-radius: 50%;
	color: #ffffff;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	background: #0b8d3b;
	box-shadow: 0 8px 18px rgba(11, 141, 59, 0.26);
	transform: translate(-50%, -50%);
}

.court-map-area-search,
.court-map-locate {
	position: absolute;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(15, 47, 33, 0.14);
	cursor: pointer;
}

.court-map-area-search {
	top: 18px;
	left: 50%;
	gap: 9px;
	min-height: 44px;
	padding: 0 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	transform: translateX(-50%);
}

.court-map-area-search .nav-icon,
.court-map-locate .nav-icon {
	width: 21px;
	height: 21px;
	color: #0b8d3b;
}

.court-map-area-search.is-active,
.court-map-locate.is-active {
	border-color: rgba(11, 141, 59, 0.34);
	color: #0b8d3b;
	background: #f2fbf5;
}

.court-map-locate {
	right: 18px;
	top: 18px;
	width: 46px;
	height: 46px;
	padding: 0;
}

.court-map-locate.is-loading .nav-icon {
	animation: court-map-spin 720ms linear infinite;
}

.court-map-locate:disabled {
	cursor: wait;
}

.court-map-geo-status {
	position: absolute;
	top: 74px;
	right: 18px;
	z-index: 6;
	max-width: min(340px, calc(100% - 36px));
	padding: 10px 12px;
	border: 1px solid rgba(11, 141, 59, 0.2);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	font-size: 13px;
	font-weight: 800;
	line-height: 18px;
	background: #f2fbf5;
	box-shadow: 0 12px 28px rgba(15, 47, 33, 0.14);
}

.court-map-geo-status[hidden] {
	display: none;
}

.court-map-geo-status.is-error {
	border-color: rgba(239, 64, 86, 0.22);
	color: #8d1b2d;
	background: #fff5f6;
}

.court-map-geo-status.is-success {
	color: #0b8d3b;
}

@keyframes court-map-spin {
	to {
		transform: rotate(360deg);
	}
}

.court-map-detail {
	padding: 18px;
}

.court-map-detail-card {
	display: grid;
	gap: 15px;
}

.court-map-detail-card__head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	justify-content: space-between;
	min-width: 0;
}

.court-map-detail-card h2 {
	font-size: 24px;
	line-height: 30px;
}

.court-map-detail-gallery {
	display: block;
}

.court-map-detail-gallery__main,
.court-map-detail-gallery__thumbs > div {
	position: relative;
	overflow: hidden;
	border-radius: var(--ntennis-radius-sm);
	background: #e8eee6;
}

.court-map-detail-gallery__main {
	aspect-ratio: 16 / 9;
	min-height: 240px;
}

.court-map-detail-gallery__thumbs {
	display: grid;
	gap: 10px;
}

.court-map-detail-gallery__thumbs > div {
	min-height: 0;
	aspect-ratio: 4 / 3;
}

.court-map-detail-gallery__thumbs span,
.court-map-detail-gallery__main > span {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 5px 8px;
	border-radius: var(--ntennis-radius-sm);
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	line-height: 15px;
	background: rgba(6, 18, 13, 0.72);
}

.court-map-detail-gallery__main > span .nav-icon {
	width: 14px;
	height: 14px;
}

.court-map-detail-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 24px rgba(15, 47, 33, 0.14);
	cursor: pointer;
	transform: translateY(-50%);
}

.court-map-detail-gallery__nav--prev {
	left: 10px;
}

.court-map-detail-gallery__nav--next {
	right: 10px;
}

.court-map-detail-gallery__nav .nav-icon {
	width: 21px;
	height: 21px;
	stroke-width: 2.35;
}

.court-map-detail-gallery__actions {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.court-map-detail-gallery__actions .court-map-favorite,
.court-map-detail-gallery__actions .court-map-share {
	position: static;
}

.court-map-detail-card__contacts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--ntennis-line-soft);
	list-style: none;
}

.court-map-detail-card__contacts li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 8px;
	min-width: 0;
	color: #0f2f21;
	font-size: 13px;
	font-weight: 800;
	line-height: 18px;
}

.court-map-detail-card__contacts .nav-icon {
	width: 20px;
	height: 20px;
	color: #0b8d3b;
}

.court-map-detail-card__contacts span {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.court-map-detail-card__contacts small {
	color: rgba(15, 47, 33, 0.54);
	font-size: 11px;
	font-weight: 800;
	line-height: 14px;
}

.court-map-detail-card__contacts a {
	min-width: 0;
	overflow-wrap: anywhere;
	color: inherit;
	text-decoration: none;
}

.court-map-detail-card__description {
	margin: 0;
	color: var(--ntennis-muted-strong);
	font-size: 14px;
	line-height: 22px;
}

.court-map-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.court-map-amenities span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 10px;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	font-size: 12px;
	font-weight: 800;
	line-height: 16px;
	background: #ffffff;
}

.court-map-detail-card__actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.court-map-page .nt-button--primary,
.court-map-detail-card__actions .nt-button,
.court-map-mobile-result__actions .nt-button {
	min-height: 48px;
	border-radius: var(--ntennis-radius-sm);
	background: #0b8d3b;
	box-shadow: 0 12px 24px rgba(11, 141, 59, 0.18);
}

.court-map-detail-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	background: #ffffff;
}

.court-map-detail-card__actions .court-map-detail-card__link {
	color: #ffffff;
	background: #0b8d3b;
	box-shadow: 0 12px 24px rgba(11, 141, 59, 0.18);
}

.court-map-detail-card__booking-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(15, 47, 33, 0.12);
	border-radius: var(--ntennis-radius-sm);
	color: #0b8d3b;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	background: #ffffff;
}

.court-map-detail-card__booking-link:hover,
.court-map-detail-card__booking-link:focus-visible {
	border-color: rgba(11, 141, 59, 0.36);
	color: #0b8d3b;
	background: #eef9f1;
}

.court-map-empty {
	display: grid;
	place-items: center;
	align-content: center;
	min-height: 220px;
	padding: 24px;
	text-align: center;
}

.court-map-empty h2 {
	margin: 0;
	color: #091f15;
	font-size: 20px;
	font-weight: 900;
	line-height: 26px;
}

.court-map-empty p {
	max-width: 360px;
	margin: 8px 0 0;
	color: var(--ntennis-muted-soft);
	font-size: 14px;
	line-height: 22px;
}

.court-map-install-banner {
	position: absolute;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 8;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(15, 47, 33, 0.16);
}

.court-map-install-banner[hidden] {
	display: none;
}

.court-map-install-banner div {
	display: grid;
	gap: 2px;
}

.court-map-install-banner strong {
	color: #0f2f21;
	font-size: 14px;
	font-weight: 900;
}

.court-map-install-banner span {
	color: var(--ntennis-muted-soft);
	font-size: 12px;
	font-weight: 700;
}

.court-map-install-banner button {
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	background: #ffffff;
	cursor: pointer;
}

.court-map-install-banner button:first-of-type {
	border-color: #0b8d3b;
	color: #ffffff;
	background: #0b8d3b;
}

.court-map-install-panel {
	display: grid;
	align-content: start;
	gap: 16px;
	min-height: calc(100dvh - 80px - 32px);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.court-map-install-panel[hidden] {
	display: none;
}

.court-map-install-panel__bar {
	display: flex;
	gap: 14px;
	align-items: center;
}

.court-map-install-panel__head > div {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.court-map-install-panel__bar button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ntennis-line-medium);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(15, 47, 33, 0.06);
	cursor: pointer;
}

.court-map-install-panel__bar .court-map-install-panel__back {
	display: none;
}

.court-map-install-panel h2 {
	margin: 0;
	color: #091f15;
	font-size: 26px;
	font-weight: 900;
	line-height: 32px;
}

.court-map-install-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.court-map-install-card {
	display: grid;
	grid-template-rows: auto auto auto auto minmax(54px, auto);
	align-content: stretch;
	gap: 14px;
	min-width: 0;
	min-height: 504px;
	padding: 18px;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(15, 47, 33, 0.07);
}

.court-map-install-card__top {
	display: block;
	align-items: center;
	min-height: 26px;
	color: #091f15;
	font-size: 13px;
	font-weight: 900;
	line-height: 18px;
}

.court-map-install-card__visual {
	position: relative;
	overflow: hidden;
	display: block;
	height: clamp(210px, 15.4vw, 258px);
	margin: 0;
	border-radius: var(--ntennis-radius-sm);
	background: #f6faf4;
}

.court-map-install-card__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
}

.court-map-install-card h3 {
	margin: 0;
	color: #091f15;
	font-size: 18px;
	font-weight: 900;
	line-height: 23px;
}

.court-map-install-steps {
	counter-reset: install-step;
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--ntennis-muted-strong);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	list-style: none;
}

.court-map-install-steps li {
	counter-increment: install-step;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 9px;
	align-items: start;
}

.court-map-install-steps li::before {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #0b8d3b;
	background: #dcedcf;
	content: counter(install-step);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.court-map-install-card p {
	margin: 0;
	color: rgba(15, 47, 33, 0.66);
	font-size: 14px;
	line-height: 22px;
}

.court-map-install-card__note {
	align-self: end;
	padding: 16px;
	border-radius: var(--ntennis-radius-sm);
	color: var(--ntennis-muted-strong);
	text-align: center;
	background: #f4f8ef;
}

.court-map-install-ready {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(210px, 15.4vw, 258px);
	overflow: hidden;
	border-radius: var(--ntennis-radius-sm);
	background:
		radial-gradient(circle at 24% 70%, rgba(141, 190, 43, 0.12) 0 20%, transparent 21%),
		radial-gradient(circle at 78% 24%, rgba(141, 190, 43, 0.12) 0 24%, transparent 25%),
		#f8fbf6;
}

.court-map-install-ready__logo {
	width: 118px;
	height: 118px;
	border-radius: 18px;
	box-shadow: 0 14px 28px var(--ntennis-line-soft);
}

.court-map-install-ready > span {
	position: absolute;
	right: calc(50% - 82px);
	bottom: 46px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #ffffff;
	background: #0b8d3b;
	box-shadow: 0 14px 28px rgba(11, 141, 59, 0.2);
}

.court-map-install-ready .nav-icon {
	width: 28px;
	height: 28px;
}

.court-map-install-card--ready {
	text-align: center;
}

.court-map-install-card--ready h3 {
	text-align: center;
}

.court-map-install-card--ready p {
	text-align: center;
}

.court-map-install-card__open {
	width: 100%;
	min-height: 48px;
	border-radius: var(--ntennis-radius-sm);
}

.court-map-app.is-screen-install {
	grid-template-rows: minmax(0, 1fr);
}

.court-map-app.is-screen-install .court-map-desktop-head,
.court-map-app.is-screen-install .court-map-desktop-filters,
.court-map-app.is-screen-install .court-map-workspace,
.court-map-page.is-screen-install .court-map-desktop-head,
.court-map-page.is-screen-install .court-map-desktop-filters,
.court-map-page.is-screen-install .court-map-workspace {
	display: none;
}

.court-map-region-gate {
	display: grid;
	min-height: calc(100dvh - 80px);
	place-items: center;
	padding-top: 48px;
	padding-bottom: 48px;
}

.court-map-region-gate__panel {
	width: min(760px, 100%);
	padding: 32px;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	text-align: center;
	background: #ffffff;
	box-shadow: 0 18px 44px var(--ntennis-line-medium);
}

.court-map-region-gate__logo {
	display: inline-flex;
	margin-bottom: 14px;
}

.court-map-region-gate h1 {
	margin: 0;
	color: #091f15;
	font-size: 32px;
	font-weight: 900;
	line-height: 40px;
}

.court-map-region-gate p {
	max-width: 560px;
	margin: 10px auto 0;
	color: rgba(15, 47, 33, 0.66);
	font-size: 15px;
	line-height: 24px;
}

.court-map-region-gate__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 22px;
}

.court-map-region-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 8px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--ntennis-line-soft);
	border-radius: var(--ntennis-radius-sm);
	color: #0f2f21;
	text-align: left;
	text-decoration: none;
	background: #f9faf7;
}

.court-map-region-card span {
	min-width: 0;
	font-size: 15px;
	font-weight: 900;
}

.court-map-region-card strong {
	grid-column: 1 / 2;
	color: var(--ntennis-muted-soft);
	font-size: 12px;
	font-weight: 800;
}

.court-map-region-card .nav-icon {
	grid-row: 1 / 3;
	grid-column: 2;
	width: 18px;
	height: 18px;
	color: #0b8d3b;
}

@media (max-width: 1440px) {
	.court-map-filter-form {
		grid-template-columns: minmax(210px, 1fr) minmax(240px, 300px) minmax(300px, 360px);
	}

	.court-map-workspace {
		grid-template-columns: minmax(300px, 27vw) minmax(420px, 1fr) minmax(340px, 32vw);
	}
}

@media (max-width: 1180px) {
	.court-map-workspace {
		grid-template-columns: minmax(300px, 32vw) minmax(420px, 1fr);
	}

	.court-map-detail {
		display: none;
	}
}

@media (max-width: 767px) {
	html.is-ntennis-map-standalone,
	body.ntennis-courts-map-page {
		height: 100%;
		overflow: hidden;
	}

	body.ntennis-courts-map-page .site-header,
	body.ntennis-courts-map-page .site-footer,
	body.ntennis-courts-map-page .city-selector-modal {
		display: none;
	}

	.court-map-page {
		height: 100dvh;
		min-height: 100dvh;
		overflow: hidden;
		background: #ffffff;
	}

	.court-map-app {
		position: relative;
		height: 100dvh;
		min-height: 100dvh;
		grid-template-rows: 72px 62px 62px minmax(0, 1fr);
		gap: 0;
		overflow: hidden;
		padding: 0;
		background: #ffffff;
	}

	.court-map-desktop-head,
	.court-map-desktop-filters,
	.court-map-detail {
		display: none;
	}

	.court-map-mobile-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 72px;
		padding: 12px 18px 8px;
		border-bottom: 1px solid var(--ntennis-line-soft);
		background: #ffffff;
	}

	.court-map-mobile-head__brand {
		display: inline-flex;
		gap: 10px;
		align-items: center;
		min-width: 0;
		color: #0f2f21;
		font-size: 20px;
		font-weight: 900;
		text-decoration: none;
	}

	.court-map-mobile-head__logo {
		width: 44px;
		height: 44px;
	}

	.court-map-mobile-head__menu {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: var(--ntennis-radius-sm);
		color: #0f2f21;
		font: inherit;
		background: transparent;
		appearance: none;
		-webkit-appearance: none;
		cursor: pointer;
		text-decoration: none;
	}

	.court-map-mobile-head__menu.is-copied {
		color: #0b8d3b;
		background: #f2fbf5;
	}

	.court-map-mobile-head__menu .nav-icon {
		width: 26px;
		height: 26px;
	}

	.court-map-mobile-controls {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		padding: 10px 18px;
		background: #ffffff;
	}

	.court-map-control-button {
		position: relative;
		display: inline-flex;
		gap: 8px;
		align-items: center;
		justify-content: center;
		min-width: 0;
		min-height: 42px;
		border: 1px solid var(--ntennis-line-medium);
		border-radius: var(--ntennis-radius-sm);
		color: #0f2f21;
		font: inherit;
		font-size: 14px;
		font-weight: 800;
		text-decoration: none;
		background: #ffffff;
		box-shadow: 0 5px 12px rgba(15, 47, 33, 0.04);
	}

	.court-map-control-button .nav-icon {
		width: 19px;
		height: 19px;
	}

	.court-map-control-button b {
		position: absolute;
		top: -6px;
		right: -6px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 20px;
		height: 20px;
		padding: 0 5px;
		border-radius: 999px;
		color: #ffffff;
		font-size: 11px;
		font-weight: 900;
		background: #0b8d3b;
	}

	.court-map-mobile-surfaces {
		display: flex;
		gap: 35px;
		align-items: center;
		justify-content: center;
		padding: 6px 18px;
		border-bottom: 1px solid var(--ntennis-line-soft);
		background: #ffffff;
	}

	.court-map-mobile-surface {
		display: grid;
		width: 78px;
		height: 50px;
		min-width: 78px;
		min-height: 50px;
		place-items: center;
		padding: 3px;
		border: 1px solid var(--ntennis-line-medium);
		border-radius: var(--ntennis-radius-sm);
		color: #0f2f21;
		font: inherit;
		font-size: 13px;
		font-weight: 900;
		background: #ffffff;
		box-shadow: 0 7px 16px rgba(15, 47, 33, 0.05);
	}

	.court-map-mobile-surface img {
		width: 72px;
		height: 44px;
		object-fit: contain;
	}

	.court-map-mobile-surface.is-active {
		border-color: #0b8d3b;
		background: #f2fbf5;
		box-shadow: inset 0 0 0 1px rgba(11, 141, 59, 0.22);
	}

	.court-map-workspace {
		position: relative;
		display: block;
		height: 100%;
		min-height: 0;
	}

	.court-map-stage {
		height: 100%;
		min-height: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.court-map-canvas {
		height: 100%;
	}

	.court-map-area-search {
		top: 14px;
		right: 82px;
		bottom: auto;
		left: 16px;
		min-height: 54px;
		padding: 0 12px;
		font-size: 13px;
		transform: none;
		white-space: nowrap;
	}

	.court-map-locate {
		top: 14px;
		right: 16px;
		width: 54px;
		height: 54px;
	}

	.court-map-geo-status {
		top: 78px;
		right: 16px;
		left: 16px;
		max-width: none;
		padding: 9px 11px;
		font-size: 12px;
		line-height: 17px;
	}

	.court-map-mobile-card {
		position: absolute;
		right: 16px;
		bottom: calc(82px + env(safe-area-inset-bottom));
		left: 16px;
		z-index: 7;
	}

	.court-map-mobile-card[hidden] {
		display: none;
	}

	.court-map-mobile-result {
		display: grid;
		gap: 10px;
		padding: 10px;
		border: 1px solid var(--ntennis-line-soft);
		border-radius: var(--ntennis-radius-sm);
		background: #ffffff;
		box-shadow: 0 16px 38px rgba(15, 47, 33, 0.18);
		transition: opacity 160ms ease, transform 160ms ease;
	}

	.court-map-mobile-result__top {
		display: grid;
		grid-template-columns: 136px minmax(0, 1fr);
		gap: 10px;
	}

	.court-map-mobile-result__media {
		position: relative;
		min-width: 0;
		overflow: hidden;
		border-radius: var(--ntennis-radius-sm);
		aspect-ratio: 4 / 3;
		background: #e8eee6;
	}

	.court-map-mobile-result__media span {
		position: absolute;
		right: 8px;
		bottom: 8px;
		padding: 3px 7px;
		border-radius: var(--ntennis-radius-sm);
		color: #ffffff;
		font-size: 11px;
		font-weight: 900;
		background: rgba(6, 18, 13, 0.72);
	}

	.court-map-mobile-result__body {
		display: grid;
		min-width: 0;
		gap: 7px;
		align-content: start;
	}

	.court-map-mobile-result h2 {
		font-size: 17px;
		line-height: 21px;
	}

	.court-map-mobile-result__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 52px 52px;
		gap: 10px;
	}

	.court-map-mobile-result__actions .nt-button {
		min-width: 0;
		min-height: 52px;
		padding: 0 12px;
		overflow: hidden;
		font-size: 15px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.court-map-mobile-result__actions .court-map-favorite,
	.court-map-mobile-result__actions .court-map-share {
		width: 52px;
		height: 52px;
		box-shadow: none;
	}

	.court-map-side {
		position: absolute;
		inset: 0 0 74px;
		z-index: 10;
		display: grid;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(calc(100% + 90px));
		transition: transform 180ms ease;
	}

	.court-map-side.is-open,
	.court-map-app.is-screen-favorites .court-map-side,
	.court-map-page.is-screen-favorites .court-map-side {
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.court-map-side__head {
		min-height: 54px;
		background: #ffffff;
	}

	.court-map-side__head button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0;
		border: 0;
		border-radius: var(--ntennis-radius-sm);
		color: #0f2f21;
		background: transparent;
	}

	.court-map-list {
		padding: 12px 14px 18px;
		background: #f5f6f3;
	}

	.court-map-result-card {
		grid-template-columns: 116px minmax(0, 1fr);
	}

	.court-map-filter-sheet {
		position: fixed;
		inset: 0;
		z-index: 1200;
		display: grid;
		align-items: end;
		background: rgba(6, 18, 13, 0.44);
		opacity: 0;
		transition: opacity 180ms ease;
	}

	.court-map-filter-sheet[hidden] {
		display: none;
	}

	.court-map-filter-sheet.is-open {
		opacity: 1;
	}

	.court-map-filter-sheet__panel {
		display: grid;
		max-height: min(86dvh, 760px);
		overflow: auto;
		padding: 12px 22px calc(22px + env(safe-area-inset-bottom));
		border-radius: 8px 8px 0 0;
		background: #ffffff;
		transform: translateY(24px);
		transition: transform 180ms ease;
	}

	.court-map-filter-sheet.is-open .court-map-filter-sheet__panel {
		transform: translateY(0);
	}

	.court-map-filter-sheet__handle {
		justify-self: center;
		width: 42px;
		height: 5px;
		margin: 3px 0 11px;
		border-radius: 999px;
		background: rgba(15, 47, 33, 0.13);
		touch-action: none;
	}

	.court-map-filter-sheet__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 11px;
		touch-action: pan-y;
	}

	.court-map-filter-sheet__head h2 {
		margin: 0;
		color: #091f15;
		font-size: 24px;
		font-weight: 900;
		line-height: 30px;
	}

	.court-map-filter-sheet__head button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 0;
		border-radius: var(--ntennis-radius-sm);
		color: #0f2f21;
		background: transparent;
	}

	.court-map-filter-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.court-map-filter-form--sheet .court-map-search {
		min-height: 48px;
		padding: 0 12px;
		border: 1px solid rgba(15, 47, 33, 0.14);
		border-radius: var(--ntennis-radius-sm);
		box-shadow: none;
	}

	.court-map-filter-form--sheet .court-map-search-stack {
		gap: 8px;
	}

	.court-map-filter-form--sheet .court-map-filter-group,
	.court-map-filter-form--sheet .court-map-switch,
	.court-map-filter-form--sheet .court-map-reset {
		border: 0;
		box-shadow: none;
	}

	.court-map-filter-form--sheet .court-map-filter-group {
		min-height: 0;
		padding: 0;
	}

	.court-map-filter-form--sheet .court-map-filter-group legend {
		margin-bottom: 14px;
		color: #091f15;
		font-size: 18px;
		line-height: 24px;
	}

	.court-map-filter-form--sheet .court-map-surface-options {
		grid-template-columns: repeat(3, minmax(0, clamp(82px, 24vw, 92px)));
		gap: 10px;
		justify-content: center;
	}

	.court-map-filter-form--sheet .court-map-type-options {
		grid-template-columns: repeat(2, minmax(0, clamp(130px, 37vw, 146px)));
		gap: 12px;
		justify-content: center;
	}

	.court-map-filter-form--sheet .court-map-surface-option span,
	.court-map-filter-form--sheet .court-map-type-option span {
		min-height: 104px;
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 7px;
		padding: 10px;
		text-align: center;
	}

	.court-map-filter-form--sheet .court-map-surface-option img,
	.court-map-filter-form--sheet .court-map-type-option img {
		width: 58px;
		height: 58px;
	}

	.court-map-filter-form--sheet .court-map-surface-option strong,
	.court-map-filter-form--sheet .court-map-type-option strong {
		font-size: 15px;
		line-height: 19px;
	}

	.court-map-filter-form--sheet .court-map-price-values {
		margin-bottom: 12px;
		font-size: 15px;
		line-height: 20px;
	}

	.court-map-filter-form--sheet .court-map-switch {
		min-height: 62px;
		grid-template-columns: minmax(0, 1fr) 58px;
		padding: 0;
	}

	.court-map-filter-form--sheet .court-map-switch strong {
		font-size: 18px;
		line-height: 24px;
	}

	.court-map-filter-form--sheet .court-map-switch i {
		width: 58px;
		height: 34px;
	}

	.court-map-filter-form--sheet .court-map-switch i::before {
		width: 26px;
		height: 26px;
	}

	.court-map-filter-form--sheet .court-map-switch input:checked + i::before {
		transform: translateX(24px);
	}

	.court-map-filter-form--sheet .court-map-reset {
		min-height: 48px;
		box-shadow: none;
	}

	.court-map-filter-sheet__apply {
		width: 100%;
		margin-top: 20px;
		font-size: 18px;
	}

	.court-map-bottom-nav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 900;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		min-height: calc(68px + env(safe-area-inset-bottom));
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--ntennis-line-soft);
		background: #ffffff;
		box-shadow: 0 -10px 26px var(--ntennis-line-soft);
	}

	.court-map-bottom-nav a,
	.court-map-bottom-nav button {
		position: relative;
		display: grid;
		min-width: 0;
		place-items: center;
		gap: 3px;
		padding: 5px 2px;
		border: 0;
		border-radius: var(--ntennis-radius-sm);
		color: rgba(15, 47, 33, 0.66);
		font: inherit;
		font-size: 10px;
		font-weight: 800;
		line-height: 13px;
		text-decoration: none;
		background: transparent;
	}

	.court-map-bottom-nav .nav-icon {
		width: 22px;
		height: 22px;
	}

	.court-map-bottom-nav__ball {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		margin-top: -5px;
	}

	.court-map-bottom-nav__ball img {
		display: block;
		width: 38px;
		height: 38px;
		object-fit: contain;
	}

	.court-map-bottom-nav .is-active {
		color: #0b8d3b;
	}

	.court-map-bottom-nav__primary span:last-child {
		margin-top: -4px;
	}

	.court-map-bottom-nav i {
		position: absolute;
		top: 6px;
		right: 11px;
		display: inline-flex;
	}

	.court-map-bottom-nav i .nav-icon {
		width: 10px;
		height: 10px;
	}

	.court-map-install-banner {
		right: 12px;
		bottom: calc(82px + env(safe-area-inset-bottom));
		left: 12px;
		grid-template-columns: minmax(0, 1fr);
	}

	.court-map-install-banner button {
		width: 100%;
	}

	.court-map-install-panel {
		position: absolute;
		inset: 0 0 calc(68px + env(safe-area-inset-bottom));
		z-index: 11;
		gap: 14px;
		overflow: auto;
		min-height: 0;
		padding: 14px 14px 22px;
		border: 0;
		border-radius: 0;
		background: #f5f6f3;
		box-shadow: none;
		-webkit-overflow-scrolling: touch;
	}

	.court-map-install-panel__bar {
		position: sticky;
		top: 0;
		z-index: 2;
		margin: -14px -14px 0;
		min-height: 54px;
		padding: 12px 14px;
		border-bottom: 1px solid var(--ntennis-line-soft);
		background: #ffffff;
	}

	.court-map-install-panel__bar .court-map-install-panel__back {
		display: inline-flex;
	}

	.court-map-install-panel h2 {
		font-size: 17px;
		line-height: 22px;
	}

	.court-map-install-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.court-map-install-card {
		grid-template-rows: auto auto auto auto auto;
		gap: 12px;
		min-height: 0;
		padding: 16px;
	}

	.court-map-install-card__visual,
	.court-map-install-ready {
		min-height: 0;
		height: min(68vw, 260px);
	}

	.court-map-install-card h3 {
		font-size: 17px;
		line-height: 22px;
	}

	.court-map-install-card__note {
		padding: 13px;
	}

	.court-map-onboarding {
		position: fixed;
		inset: 0;
		z-index: 1300;
		display: grid;
		place-items: stretch;
		background: #ffffff;
		opacity: 0;
		transition: opacity 180ms ease;
	}

	.court-map-onboarding[hidden] {
		display: none;
	}

	.court-map-onboarding.is-open {
		opacity: 1;
	}

	.court-map-onboarding__panel {
		position: relative;
		display: grid;
		min-height: 100dvh;
		grid-template-rows: minmax(0, 1fr) auto;
		padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
		background: #ffffff;
	}

	.court-map-onboarding__skip {
		position: absolute;
		top: 22px;
		right: 22px;
		z-index: 2;
		padding: 0;
		border: 0;
		color: var(--ntennis-muted-strong);
		font: inherit;
		font-size: 12px;
		font-weight: 800;
		background: transparent;
	}

	.court-map-onboarding__slide {
		display: none;
		min-width: 0;
		align-content: center;
		justify-items: center;
		gap: 18px;
		text-align: center;
	}

	.court-map-onboarding__slide.is-active {
		display: grid;
	}

	.court-map-onboarding__step {
		justify-self: start;
		color: #0b8d3b;
		font-size: 20px;
		font-weight: 900;
		line-height: 24px;
	}

	.court-map-onboarding__art {
		position: relative;
		display: block;
		width: min(78vw, 312px);
		height: clamp(190px, 30dvh, 248px);
		overflow: visible;
		border-radius: 0;
		color: #0b8d3b;
		background: transparent;
	}

	.court-map-onboarding__art--detail {
		height: clamp(138px, 24dvh, 176px);
		overflow: hidden;
	}

	.court-map-onboarding__art--detail::before {
		display: none;
	}

	.court-map-onboarding__art::before {
		position: absolute;
		inset: 18px 4px 6px;
		z-index: 0;
		border-radius: 40% 52% 44% 48%;
		background:
			radial-gradient(circle at 16% 72%, rgba(141, 190, 43, 0.12) 0 22%, transparent 23%),
			radial-gradient(circle at 82% 28%, rgba(141, 190, 43, 0.11) 0 20%, transparent 21%),
			rgba(242, 251, 245, 0.78);
		content: "";
	}

	.court-map-onboarding__art .nav-icon {
		width: 18px;
		height: 18px;
		stroke-width: 2;
	}

	.court-map-onboarding-phone,
	.court-map-onboarding-filter-card,
	.court-map-onboarding-club-card,
	.court-map-onboarding-geo-map,
	.court-map-onboarding-favorite-list {
		position: absolute;
		z-index: 1;
	}

	.court-map-onboarding-phone {
		overflow: hidden;
		border: 4px solid #202823;
		border-radius: var(--ntennis-radius-card);
		background: #ffffff;
		box-shadow: 0 18px 36px rgba(15, 47, 33, 0.12);
	}

	.court-map-onboarding-phone__notch {
		position: absolute;
		top: 7px;
		left: 50%;
		z-index: 4;
		width: 34px;
		height: 6px;
		border-radius: 999px;
		background: #202823;
		transform: translateX(-50%);
	}

	.court-map-onboarding-phone--map {
		top: 4px;
		left: 13%;
		width: 126px;
		height: 190px;
		background:
			linear-gradient(118deg, transparent 0 18%, rgba(15, 47, 33, 0.06) 19% 22%, transparent 23% 100%),
			linear-gradient(28deg, transparent 0 38%, rgba(15, 47, 33, 0.06) 39% 42%, transparent 43% 100%),
			#fbfdfb;
	}

	.court-map-onboarding-map-line {
		position: absolute;
		border-radius: 999px;
		background: rgba(15, 47, 33, 0.07);
	}

	.court-map-onboarding-map-line--one {
		top: 0;
		left: 34px;
		width: 7px;
		height: 205px;
		transform: rotate(36deg);
	}

	.court-map-onboarding-map-line--two {
		top: 38px;
		left: -16px;
		width: 170px;
		height: 7px;
		transform: rotate(-23deg);
	}

	.court-map-onboarding-map-line--three {
		top: 94px;
		left: 10px;
		width: 150px;
		height: 7px;
		transform: rotate(18deg);
	}

	.court-map-onboarding-pin {
		position: absolute;
		display: block;
		border-radius: 50% 50% 50% 0;
		background: linear-gradient(145deg, #0b8d3b, #00752e);
		box-shadow: 0 12px 22px rgba(11, 141, 59, 0.2);
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.court-map-onboarding-pin::after {
		position: absolute;
		border-radius: 50%;
		background: #ffffff;
		content: "";
	}

	.court-map-onboarding-pin--main {
		top: 48%;
		left: 53%;
		width: 58px;
		height: 58px;
	}

	.court-map-onboarding-pin--main::after,
	.court-map-onboarding-pin--geo::after {
		top: 16px;
		left: 16px;
		width: 26px;
		height: 26px;
	}

	.court-map-onboarding-pin--small {
		width: 24px;
		height: 24px;
		background: #8dbe2b;
		box-shadow: 0 8px 16px rgba(11, 141, 59, 0.16);
	}

	.court-map-onboarding-pin--small::after {
		top: 7px;
		left: 7px;
		width: 10px;
		height: 10px;
	}

	.court-map-onboarding-pin--one {
		top: 30%;
		left: 23%;
	}

	.court-map-onboarding-pin--two {
		top: 31%;
		left: 82%;
	}

	.court-map-onboarding-pin--three {
		top: 76%;
		left: 22%;
	}

	.court-map-onboarding-racket {
		position: absolute;
		right: 32px;
		bottom: 42px;
		z-index: 2;
		width: 58px;
		height: 70px;
		border: 5px solid #202823;
		border-radius: 50%;
		background:
			repeating-linear-gradient(90deg, transparent 0 9px, rgba(32, 40, 35, 0.12) 10px 11px),
			repeating-linear-gradient(0deg, transparent 0 9px, rgba(32, 40, 35, 0.12) 10px 11px),
			rgba(255, 255, 255, 0.62);
		transform: rotate(28deg);
	}

	.court-map-onboarding-racket::after {
		position: absolute;
		right: 8px;
		bottom: -54px;
		width: 11px;
		height: 64px;
		border-radius: 999px;
		background: #202823;
		content: "";
		transform: rotate(7deg);
		transform-origin: top center;
	}

	.court-map-onboarding-ball {
		position: absolute;
		right: 22px;
		bottom: 20px;
		z-index: 3;
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background: radial-gradient(circle at 65% 30%, #b8de48, #8dbe2b 62%, #6a9d16);
		box-shadow: 0 10px 22px rgba(11, 141, 59, 0.18);
	}

	.court-map-onboarding-ball::before {
		position: absolute;
		inset: 9px 11px;
		border-left: 2px solid rgba(255, 255, 255, 0.82);
		border-radius: 50%;
		content: "";
		transform: rotate(28deg);
	}

	.court-map-onboarding-filter-card {
		top: 16px;
		left: 50%;
		display: grid;
		width: min(100%, 278px);
		gap: 14px;
		padding: 22px;
		border: 1px solid rgba(15, 47, 33, 0.12);
		border-radius: 18px;
		background: #ffffff;
		box-shadow: 0 18px 34px var(--ntennis-line-medium);
		transform: translateX(-50%);
	}

	.court-map-onboarding-filter-card__bar {
		display: block;
		width: 62px;
		height: 7px;
		border-radius: 999px;
		background: var(--ntennis-line-medium);
	}

	.court-map-onboarding-surface-row,
	.court-map-onboarding-mini-row {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.court-map-onboarding-surface-row span,
	.court-map-onboarding-mini-row span {
		display: grid;
		place-items: center;
		border-radius: var(--ntennis-radius-sm);
		background: #f7faf7;
		box-shadow: 0 8px 18px rgba(15, 47, 33, 0.06);
	}

	.court-map-onboarding-surface-row span {
		height: 52px;
	}

	.court-map-onboarding-surface-row img {
		width: 42px;
		height: 42px;
		object-fit: contain;
	}

	.court-map-onboarding-mini-row {
		width: 72%;
	}

	.court-map-onboarding-mini-row span {
		width: 34px;
		height: 34px;
		color: #0f2f21;
	}

	.court-map-onboarding-mini-row .nav-icon {
		color: #0b8d3b;
	}

	.court-map-onboarding-slider {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 10px;
		align-items: center;
		color: #091f15;
		font-size: 13px;
		font-weight: 900;
	}

	.court-map-onboarding-slider i {
		position: relative;
		display: block;
		height: 5px;
		border-radius: 999px;
		background: #0b8d3b;
	}

	.court-map-onboarding-slider i::before,
	.court-map-onboarding-slider i::after {
		position: absolute;
		top: 50%;
		width: 18px;
		height: 18px;
		border: 4px solid #0b8d3b;
		border-radius: 50%;
		background: #ffffff;
		content: "";
		transform: translateY(-50%);
	}

	.court-map-onboarding-slider i::before {
		left: -2px;
	}

	.court-map-onboarding-slider i::after {
		right: -2px;
	}

	.court-map-onboarding-club-card {
		top: 2px;
		left: 50%;
		width: min(100%, 284px);
		padding: 12px;
		border: 1px solid var(--ntennis-line-medium);
		border-radius: 18px;
		background: #ffffff;
		box-shadow: 0 18px 34px var(--ntennis-line-medium);
		transform: translateX(-50%) rotate(-2deg);
	}

	.court-map-onboarding__art--detail .court-map-onboarding-club-card {
		top: 0;
		width: min(100%, 292px);
		height: 100%;
		max-height: 100%;
		padding: 8px;
		overflow: hidden;
		transform: translateX(-50%) rotate(-1deg);
	}

	.court-map-onboarding-club-card__image {
		position: relative;
		overflow: hidden;
		height: 106px;
		border-radius: var(--ntennis-radius-sm);
		background: #eef4ed;
	}

	.court-map-onboarding-club-card__image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.court-map-onboarding__art--detail .court-map-onboarding-club-card__image {
		height: 100%;
		min-height: 0;
	}

	.court-map-onboarding__art--detail .court-map-onboarding-club-card h3,
	.court-map-onboarding__art--detail .court-map-onboarding-club-card p,
	.court-map-onboarding__art--detail .court-map-onboarding-club-card strong,
	.court-map-onboarding__art--detail .court-map-onboarding-club-card__icons {
		display: none;
	}

	.court-map-onboarding-club-card__image span,
	.court-map-onboarding-club-card__icons span {
		display: grid;
		place-items: center;
		border-radius: var(--ntennis-radius-sm);
		background: #f8fbf8;
		color: #0b8d3b;
	}

	.court-map-onboarding-club-card__image span {
		position: absolute;
		top: 8px;
		right: 8px;
		width: 30px;
		height: 30px;
		color: #ffffff;
		background: rgba(0, 0, 0, 0.32);
	}

	.court-map-onboarding-club-card h3,
	.court-map-onboarding-club-card p,
	.court-map-onboarding-club-card strong {
		margin: 0;
		color: #091f15;
		text-align: left;
	}

	.court-map-onboarding-club-card h3 {
		display: flex;
		gap: 5px;
		align-items: center;
		margin-top: 10px;
		font-size: 15px;
		font-weight: 900;
		line-height: 20px;
	}

	.court-map-onboarding-club-card h3 .nav-icon {
		width: 16px;
		height: 16px;
		color: #0b8d3b;
	}

	.court-map-onboarding-club-card p {
		display: flex;
		gap: 5px;
		align-items: center;
		margin-top: 5px;
		color: #0b8d3b;
		font-size: 14px;
		font-weight: 900;
		line-height: 18px;
	}

	.court-map-onboarding-club-card strong {
		display: block;
		margin-top: 6px;
		font-size: 15px;
		line-height: 20px;
	}

	.court-map-onboarding-club-card__icons {
		display: grid;
		grid-template-columns: repeat(4, 34px);
		gap: 10px;
		margin-top: 12px;
	}

	.court-map-onboarding-club-card__icons span {
		height: 34px;
		font-size: 16px;
		font-weight: 900;
	}

	.court-map-onboarding-geo-map {
		inset: 10px 0 0;
		overflow: hidden;
		border-radius: 34px;
		background:
			linear-gradient(122deg, transparent 0 32%, rgba(15, 47, 33, 0.06) 33% 36%, transparent 37% 100%),
			linear-gradient(32deg, transparent 0 46%, rgba(15, 47, 33, 0.06) 47% 50%, transparent 51% 100%),
			rgba(242, 251, 245, 0.86);
	}

	.court-map-onboarding-geo-ring {
		position: absolute;
		top: 50%;
		left: 55%;
		border: 1.5px solid rgba(11, 141, 59, 0.42);
		border-radius: 50%;
		transform: translate(-50%, -50%);
	}

	.court-map-onboarding-geo-ring--one {
		width: 72px;
		height: 72px;
	}

	.court-map-onboarding-geo-ring--two {
		width: 116px;
		height: 116px;
	}

	.court-map-onboarding-geo-ring--three {
		width: 164px;
		height: 164px;
	}

	.court-map-onboarding-pin--geo {
		top: 52%;
		left: 55%;
		width: 58px;
		height: 58px;
	}

	.court-map-onboarding-geo-locate {
		position: absolute;
		left: 24px;
		bottom: 24px;
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		border-radius: 50%;
		color: #0b8d3b;
		background: #ffffff;
		box-shadow: 0 12px 24px rgba(15, 47, 33, 0.12);
	}

	.court-map-onboarding-geo-locate .nav-icon {
		width: 27px;
		height: 27px;
	}

	.court-map-onboarding-favorite-list {
		inset: 44px 8px auto;
		display: grid;
		gap: 16px;
	}

	.court-map-onboarding-favorite-list article {
		position: relative;
		display: grid;
		grid-template-columns: 46px minmax(0, 1fr) 34px;
		gap: 14px;
		align-items: center;
		min-height: 64px;
		padding: 10px 14px;
		border: 1px solid var(--ntennis-line-soft);
		border-radius: var(--ntennis-radius-sm);
		background: #ffffff;
		box-shadow: 0 14px 28px var(--ntennis-line-soft);
	}

	.court-map-onboarding-favorite-list article:nth-child(2) {
		transform: translateX(24px);
	}

	.court-map-onboarding-favorite-list article > span {
		width: 42px;
		height: 42px;
		border-radius: var(--ntennis-radius-sm);
		background: linear-gradient(145deg, #eef1ef, #f9faf9);
	}

	.court-map-onboarding-favorite-list i {
		grid-column: 2;
		display: block;
		height: 9px;
		border-radius: 999px;
		background: var(--ntennis-line-soft);
	}

	.court-map-onboarding-favorite-list i + i {
		width: 72%;
	}

	.court-map-onboarding-favorite-list b {
		display: grid;
		grid-column: 3;
		grid-row: 1 / 3;
		place-items: center;
		width: 34px;
		height: 34px;
		color: #ffffff;
		border-radius: 50%;
		background: #0b8d3b;
	}

	.court-map-onboarding-favorite-list b.is-outline {
		color: #0f2f21;
		background: #ffffff;
	}

	.court-map-onboarding-favorite-list .nav-icon {
		width: 21px;
		height: 21px;
	}

	.court-map-onboarding-phone--install {
		top: 14px;
		left: 50%;
		display: grid;
		place-items: center;
		width: 138px;
		height: 202px;
		transform: translateX(-50%);
	}

	.court-map-onboarding-phone--install img {
		display: block;
		width: 92px;
		height: 92px;
		object-fit: contain;
	}

	.court-map-onboarding-download {
		position: absolute;
		right: -18px;
		bottom: 18px;
		width: 54px;
		height: 54px;
		border-radius: 50%;
		background: #0b8d3b;
		box-shadow: 0 14px 28px rgba(11, 141, 59, 0.24);
	}

	.court-map-onboarding-download::before {
		position: absolute;
		top: 14px;
		left: 50%;
		width: 4px;
		height: 20px;
		border-radius: 999px;
		background: #ffffff;
		content: "";
		transform: translateX(-50%);
	}

	.court-map-onboarding-download::after {
		position: absolute;
		top: 26px;
		left: 50%;
		width: 15px;
		height: 15px;
		border-right: 4px solid #ffffff;
		border-bottom: 4px solid #ffffff;
		content: "";
		transform: translateX(-50%) rotate(45deg);
	}

	.court-map-onboarding__slide h2 {
		max-width: 300px;
		margin: 0;
		color: #091f15;
		font-size: 21px;
		font-weight: 900;
		line-height: 27px;
	}

	.court-map-onboarding__slide p {
		max-width: 310px;
		margin: 0;
		color: rgba(15, 47, 33, 0.66);
		font-size: 14px;
		font-weight: 700;
		line-height: 22px;
	}

	.court-map-onboarding__foot {
		position: relative;
		z-index: 3;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 52px;
		gap: 14px;
		align-items: center;
	}

	.court-map-onboarding__dots {
		display: flex;
		grid-column: 1;
		grid-row: 1;
		gap: 8px;
		justify-content: center;
	}

	.court-map-onboarding__dots button {
		width: 7px;
		height: 7px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgba(15, 47, 33, 0.18);
	}

	.court-map-onboarding__dots button.is-active {
		background: #0b8d3b;
	}

	.court-map-onboarding__next {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		width: 52px;
		height: 52px;
		border: 0;
		border-radius: var(--ntennis-radius-sm);
		color: #ffffff;
		background: #0b8d3b;
	}

	.court-map-onboarding__next:not([hidden]) {
		display: inline-flex;
		color: #ffffff;
		background: #0b8d3b;
		opacity: 1;
		visibility: visible;
	}

	.court-map-onboarding__next .nav-icon {
		width: 23px;
		height: 23px;
	}

	.court-map-onboarding__start {
		grid-column: 1 / 3;
		grid-row: 2;
		min-height: 52px;
	}

	.court-map-onboarding__start:not([hidden]) {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.court-map-region-gate {
		min-height: 100dvh;
		padding: 20px;
	}

	.court-map-region-gate__panel {
		padding: 22px;
	}

	.court-map-region-gate h1 {
		font-size: 24px;
		line-height: 31px;
	}

	.court-map-region-gate__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 380px) {
	.court-map-mobile-result__top,
	.court-map-result-card {
		grid-template-columns: 104px minmax(0, 1fr);
	}

	.court-map-mobile-result h2,
	.court-map-result-card h2 {
		font-size: 15px;
		line-height: 19px;
	}

	.court-map-mobile-result__actions .nt-button {
		font-size: 13px;
	}
}
