/* Poketech – Kartenmarker */
.pt-map-lcd {
	position: relative;
	height: 250px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
/* Eigenes Kartenbild: unverzerrt in voller Breite, Höhe ergibt sich aus dem Bild */
.pt-map-lcd.has-image { height: auto; background: none; box-shadow: none; }
.pt-map-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
	pointer-events: none;
	user-select: none;
}
.pt-map-lcd.has-image .pt-map-city .pt-map-mark { box-shadow: 0 0 0 2px #fff; }
.pt-map-lcd.has-image .pt-map-spot .pt-map-mark { border-color: #fff; background: var(--pt-lcd-ink); }

.pt-map-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	stroke: #6f8f84;
	stroke-width: 2;
	stroke-linecap: round;
	fill: none;
}
.pt-map-pin {
	position: absolute;
	min-width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translate(-50%, -50%);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pt-map-pin:focus-visible { outline: 2px solid var(--pt-lcd-ink); outline-offset: 0; border-radius: 4px; }

.pt-map-mark { display: block; }
.pt-map-city .pt-map-mark {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pt-lcd-ink);
}
.pt-map-spot .pt-map-mark {
	width: 8px;
	height: 8px;
	transform: rotate(45deg);
	background: var(--pt-lcd);
	border: 2px solid var(--pt-lcd-ink);
}
.pt-map-route .pt-map-mark {
	font-family: var(--pt-font-lcd);
	font-size: 13px;
	line-height: 13px;
	padding: 0 3px;
	border-radius: 2px;
	background: var(--pt-lcd-light);
	color: var(--pt-lcd-ink);
	border: 1px solid var(--pt-lcd-ink);
}

/* Ausgewählt */
.pt-map-pin.is-sel { z-index: 2; }
.pt-map-city.is-sel .pt-map-mark {
	width: 14px;
	height: 14px;
	background: var(--pt-copper);
	box-shadow: 0 0 0 3px var(--pt-lcd), 0 0 0 5px var(--pt-lcd-ink);
}
.pt-map-spot.is-sel .pt-map-mark { width: 12px; height: 12px; background: var(--pt-copper); }
.pt-map-route.is-sel .pt-map-mark { background: var(--pt-copper); }
.pt-map-pin.is-sel::after {
	content: attr(data-name);
	position: absolute;
	left: calc(100% + 2px);
	top: 50%;
	transform: translateY(-50%);
	background: var(--pt-lcd-ink);
	color: var(--pt-lcd-light);
	font-family: var(--pt-font-lcd);
	font-size: 17px;
	padding: 0 6px;
	border-radius: 3px;
	white-space: nowrap;
	pointer-events: none;
}
.pt-map-pin.pt-map-flip.is-sel::after { left: auto; right: calc(100% + 2px); }
.pt-map-route.is-sel::after { display: none; }

/* Ebenen */
.pt-map-hide-city .pt-map-city,
.pt-map-hide-route .pt-map-route,
.pt-map-hide-route .pt-map-lines,
.pt-map-hide-spot .pt-map-spot { display: none; }

.pt-chip .pt-map-ico { display: inline-block; margin-right: 7px; background: currentColor; vertical-align: middle; }
.pt-map-ico-city { width: 9px; height: 9px; border-radius: 50%; }
.pt-map-ico-route { width: 13px; height: 8px; border-radius: 2px; }
.pt-map-ico-spot { width: 7px; height: 7px; transform: rotate(45deg); }

/* Infokasten */
.pt-map-panel {
	background: var(--pt-panel);
	border-radius: 12px;
	padding: 12px 14px;
	min-height: 96px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pt-map-hint { margin: 0; font-family: var(--pt-font-lcd); font-size: 18px; color: var(--pt-muted); }
.pt-map-panel.has-sel .pt-map-hint { display: none; }
.pt-map-info { display: flex; flex-direction: column; gap: 6px; }
.pt-map-info-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pt-map-info-name { font-size: 18px; color: var(--pt-copper-light); }
.pt-map-info-kind { font-family: var(--pt-font-lcd); font-size: 17px; color: var(--pt-muted); }
.pt-map-text { margin: 0; font-family: var(--pt-font-lcd); font-size: 18px; line-height: 1.15; color: var(--pt-text-bright); }
.pt-map-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--pt-font-lcd);
	font-size: 18px;
	color: var(--pt-text-bright);
}
.pt-map-row > span:first-child { color: var(--pt-muted); white-space: nowrap; }
.pt-map-row > span:last-child { text-align: right; }
.pt-map-row a { color: var(--pt-copper-light); }
.pt-map-none { color: var(--pt-muted); }
.pt-map-scenelist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-family: var(--pt-font-lcd);
	font-size: 18px;
}
.pt-map-scenelist li { display: flex; justify-content: space-between; gap: 10px; }
.pt-map-scenelist a { color: var(--pt-copper-light); text-decoration: none; }
.pt-map-scenelist a:hover { text-decoration: underline; }
.pt-map-scenedate { color: var(--pt-muted); white-space: nowrap; }
.pt-map-info .pt-link { align-self: flex-start; text-decoration: none; }
