* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	height: 100%;
	font-family: Arial, Helvetica, sans-serif;
	color: #e6edf3;
	background: #0c1939;
}
a {
	color: #f0f0f0;
}
a:visited {
	color: #f0f0f0;
}
[hidden] {
	display: none !important;
}
.places-shell {
	height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.places-topbar {
	height: 48px;
	flex: none;
	background: #111;
	border-bottom: 1px solid #353535;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 18px;
}
.places-home,
.places-menu summary {
	border: 1px solid #474747;
	border-radius: 6px;
	padding: 8px;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}
.places-menu {
	position: relative;
}
.places-menu summary {
	list-style: none;
}
.places-menu nav {
	position: absolute;
	right: 0;
	top: 35px;
	z-index: 10;
	min-width: 220px;
	padding: 12px;
	background: #202020;
	border: 1px solid #4d4d4d;
	border-radius: 6px;
	display: grid;
	gap: 12px;
}
.places-menu nav a,
.places-menu nav a:visited {
	color: #fff;
	text-decoration: none;
}
.places-menu label {
	display: grid;
	gap: 6px;
}
.places-page {
	width: min(calc(100% - 32px), 960px);
	margin: 0 auto;
	min-height: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 24px 0 12px;
}
.places-page h1 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 30px;
}
.places-controls {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: end;
	margin-bottom: 18px;
}
.places-controls label {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 0.9rem;
}
.places-controls select,
.places-controls input {
	background: #15232d;
	border: 1px solid #52616b;
	color: #fff;
	border-radius: 5px;
	min-height: 40px;
	padding: 8px;
	font: inherit;
}
.places-year select {
	font-size: 1.12rem;
	font-weight: 700;
	min-width: 120px;
}
.places-category select {
	min-width: 225px;
}
.places-text-filter {
	flex: 1 1 230px;
}
.places-text-filter input {
	width: 100%;
}
.places-scroll {
	min-height: 0;
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 5px;
}
.places-results {
	display: grid;
	gap: 15px;
}
.places-entry {
	background: #13232e;
	border: 1px solid #344854;
	border-radius: 8px;
	padding: 16px;
	overflow-wrap: anywhere;
}
.places-entry--with-image {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.places-entry__thumb {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 6px;
}
.places-entry__body {
	min-width: 0;
}
.places-entry__meta {
	font-size: 0.85rem;
	color: #a6bac6;
}
.places-entry h2 {
	font-size: 1.12rem;
	margin: 8px 0 12px;
}
.places-entry details summary {
	cursor: pointer;
	color: #c4d5df;
}
.places-entry details p {
	white-space: pre-wrap;
	line-height: 1.55;
}
.places-entry__links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 14px;
}
.places-more {
	background: #233b48;
	color: #fff;
	border: 1px solid #52616b;
	border-radius: 5px;
	padding: 9px 14px;
	margin-top: 16px;
	cursor: pointer;
}
.places-footer {
	flex: none;
	background: #050505;
	padding: 7px 8px;
	text-align: center;
	font-size: 11px;
}
.places-footer nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}
.places-footer a,
.places-footer a:visited {
	color: #f0f0f0;
	text-decoration: none;
}
@media (max-width: 600px) {
	.places-topbar {
		padding: 0 12px;
	}
	.places-page {
		width: calc(100% - 24px);
		padding: 25px 0 10px;
	}
	.places-page h1 {
		margin-bottom: 30px;
	}
	.places-controls label {
		flex: 1 1 110px;
	}
	.places-category {
		flex-basis: 100% !important;
	}
	.places-category select {
		width: 100%;
		min-width: 0;
	}
	.places-text-filter {
		flex-basis: 100% !important;
	}
	.places-entry--with-image {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}
	.places-entry__thumb {
		width: 72px;
		height: 72px;
	}
	.places-entry {
		padding: 12px;
	}
}
/* Places: title and thumbnail link to the corresponding map cell. */
.places-entry__image-link {
	display: block;
	width: max-content;
	border-radius: 6px;
}
.places-entry__image-link:hover .places-entry__thumb {
	filter: brightness(1.08);
}
.places-entry__title-link,
.places-entry__title-link:visited {
	color: #e6edf3;
	text-decoration: none;
}
.places-entry__title-link:hover,
.places-entry__title-link:focus-visible {
	color: #f0f0f0;
	text-decoration: none;
}

.places-entry__links a {
	color: #44ccff;
	text-decoration: none;
}
.places-entry__links a:hover {
	color: #66ddff;
}

/* Same Home icon and control dimensions as React TopMenu. */
.places-home,
.places-home:visited {
	box-sizing: border-box;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 36px;
	min-height: 36px;
	padding: 6px;
	margin-right: auto;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 7px;
	background: #1b1b1b;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}
.places-home svg {
	display: block;
	width: 19px;
	height: 19px;
	min-width: 19px;
	min-height: 19px;
	flex: none;
	stroke: currentColor;
}
.places-home:hover,
.places-home:focus-visible {
	background: #303030;
	color: #fff;
}
.places-menu summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 7px 10px;
}
.places-menu summary::-webkit-details-marker {
	display: none;
}
.places-menu .menu-trigger-icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	width: 14px;
	height: 16px;
}
.places-menu .menu-trigger-icon span {
	display: block;
	width: 14px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
}
.places-menu summary:hover {
	background: #252525;
}
@media (max-width: 700px) {
	.places-home,
	.places-home:visited {
		width: 44px;
		height: 44px;
		min-height: 44px;
	}
}
