/*
 * My Spotting — app styles.
 *
 * The theme (rail.css) already styles the spot-* design vocabulary. This file
 * only adds the interactive pieces the server-rendered shell cannot express:
 * autocomplete, candidate lists, photo drop zone, map canvas, live states,
 * loaders and toasts. Every colour is a theme token (`--bg`, `--surface`,
 * `--surface-2`, `--fg`, `--muted`, `--border`, `--accent`, `--on-accent`) so the
 * app tracks the LopoRail theme and its `[data-theme="light"]` palette.
 */

.lwrail-spot {
	--lwrail-radius: var(--radius-lg, 16px);
	--lwrail-line: var(--border, rgba(255, 255, 255, 0.12));
	--lwrail-panel: var(--surface);
	--lwrail-panel-2: var(--surface-2);
	--lwrail-accent: var(--accent);
	--lwrail-text: var(--fg);
	--lwrail-muted: var(--muted);
	--lwrail-ok: var(--ok);
	--lwrail-warn: var(--warn);
}

/* In-page jump link (hero banner) ------------------------------------ */

.lwrail-jump {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--lwrail-text);
	text-decoration: none;
	cursor: pointer;
}

.lwrail-jump svg {
	width: 15px;
	height: 15px;
	color: var(--lwrail-accent);
	transition: transform 0.18s ease;
}

.lwrail-jump:hover {
	text-decoration: underline;
	text-decoration-color: var(--lwrail-accent);
	text-underline-offset: 4px;
}

.lwrail-jump:hover svg {
	transform: translateY(2px);
}

.lwrail-jump:focus-visible {
	outline: 2px solid var(--lwrail-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Membership tools in the hero --------------------------------------- */

.lwrail-member-tools {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 10px;
}

.lwrail-tier-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--lwrail-line);
	background: var(--lwrail-panel-2);
	color: var(--lwrail-text);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.lwrail-tier-badge:hover {
	border-color: var(--lwrail-accent);
	text-decoration: none;
}

.lwrail-upgrade {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--lwrail-accent);
	color: var(--on-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.lwrail-upgrade:hover {
	filter: brightness(1.08);
	text-decoration: none;
}

/* Offset every jump target so a sticky masthead never covers it. */
#collection,
#add-sighting,
#add-photo,
#live-board,
#passport,
#badges,
#leaderboard,
#wanted,
#statistics {
	scroll-margin-top: 96px;
}

/* Autocomplete ------------------------------------------------------- */

.lwrail-autocomplete {
	position: relative;
}

.lwrail-candidates {
	position: absolute;
	z-index: 40;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 280px;
	overflow-y: auto;
	background: var(--lwrail-panel-2);
	border: 1px solid var(--lwrail-line);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	padding: 6px;
}

.lwrail-candidates[hidden] {
	display: none;
}

/* Photo results sit in the form flow rather than floating like a menu. */
.lwrail-candidates--flow {
	position: static;
	margin-top: 12px;
	box-shadow: none;
}

.lwrail-candidate {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 10px;
	background: none;
	border: 0;
	border-radius: 8px;
	color: var(--lwrail-text);
	text-align: left;
	cursor: pointer;
	font: inherit;
}

.lwrail-candidate:hover,
.lwrail-candidate:focus-visible {
	background: color-mix(in oklch, var(--lwrail-accent) 16%, transparent);
	outline: none;
}

.lwrail-candidate__badge {
	flex: none;
	min-width: 42px;
	padding: 4px 7px;
	border-radius: 7px;
	background: color-mix(in oklch, var(--lwrail-accent) 22%, transparent);
	color: var(--lwrail-text);
	font-size: 12px;
	font-weight: 650;
	text-align: center;
}

.lwrail-candidate__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lwrail-candidate__body b {
	font-weight: 650;
}

.lwrail-candidate__body small {
	color: var(--lwrail-muted);
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lwrail-candidate--empty {
	color: var(--lwrail-muted);
	font-size: 13px;
	cursor: default;
}

/* Photo drop zone ---------------------------------------------------- */

.lwrail-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px 18px;
	border: 1.5px dashed var(--lwrail-line);
	border-radius: 14px;
	background: color-mix(in oklch, var(--lwrail-panel-2) 70%, transparent);
	color: var(--lwrail-muted);
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.lwrail-drop svg {
	width: 30px;
	height: 30px;
}

.lwrail-drop:hover,
.lwrail-drop.is-over {
	border-color: var(--lwrail-accent);
	background: color-mix(in oklch, var(--lwrail-accent) 10%, transparent);
	color: var(--lwrail-text);
}

.lwrail-drop.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.lwrail-preview {
	display: block;
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	margin-top: 14px;
	border-radius: 12px;
	border: 1px solid var(--lwrail-line);
}

.lwrail-preview[hidden] {
	display: none;
}

/* Photo field inside the add form ------------------------------------ */

.lwrail-drop--inline {
	flex-direction: row;
	padding: 12px 16px;
	font-size: 13px;
}

.lwrail-drop--inline svg {
	width: 20px;
	height: 20px;
}

/* Inline sighting editor --------------------------------------------- */

.spot-row--editing {
	display: block;
	padding: 16px 18px;
}

.spot-row--editing .spot-edit {
	margin: 0;
}

.spot-edit .grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.spot-edit__photo {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.spot-edit__photo .lwrail-preview {
	width: 96px;
	height: 96px;
	max-height: 96px;
	margin: 0;
	flex: 0 0 auto;
}

.spot-edit .lwrail-drop--inline {
	padding: 10px 14px;
}

@media (max-width: 560px) {
	.spot-edit .grid-2 {
		grid-template-columns: 1fr;
	}
}

/* Inline input used in the photo panel ------------------------------- */

.lwrail-inline-input {
	width: 100%;
	padding: 9px 12px;
	background: var(--lwrail-panel-2);
	border: 1px solid var(--lwrail-line);
	border-radius: 10px;
	color: var(--lwrail-text);
	font: inherit;
}

.lwrail-inline-input:focus {
	outline: 2px solid color-mix(in oklch, var(--lwrail-accent) 60%, transparent);
	outline-offset: 1px;
}

/* Collection filters ------------------------------------------------- */

.lwrail-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.lwrail-filters input[type="search"] {
	min-width: 200px;
	padding: 8px 12px;
	background: var(--lwrail-panel-2);
	border: 1px solid var(--lwrail-line);
	border-radius: 999px;
	color: var(--lwrail-text);
	font: inherit;
}

.lwrail-filters input[type="search"]:focus {
	outline: 2px solid color-mix(in oklch, var(--lwrail-accent) 60%, transparent);
	outline-offset: 1px;
}

.lwrail-sub {
	color: var(--lwrail-muted);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Sighting list ------------------------------------------------------ */

.spot-row__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.spot-row__when {
	display: block;
	color: var(--lwrail-muted);
	font-size: 12px;
	margin-top: 2px;
}

.lwrail-del,
.lwrail-edit {
	opacity: 0.55;
}

.spot-row:hover .lwrail-del,
.spot-row:hover .lwrail-edit {
	opacity: 1;
}

.spot-row__actions {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.lwrail-loading {
	pointer-events: none;
	opacity: 0.7;
	position: relative;
}

/* Day filter chip state ---------------------------------------------- */

.spot-day.is-selected {
	border-color: var(--lwrail-accent);
	box-shadow: 0 0 0 1px var(--lwrail-accent) inset;
}

/* Map ---------------------------------------------------------------- */

.lwrail-map {
	background: var(--bg);
	border: 1px solid var(--lwrail-line);
	min-height: 260px;
}

.lwrail-map__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lwrail-map__empty {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	text-align: center;
}

.lwrail-map__empty svg {
	width: min(340px, 100%);
}

.lwrail-map__legend {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 60%;
}

.lwrail-map__chip {
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(10, 10, 14, 0.78);
	border: 1px solid var(--lwrail-line);
	color: var(--fg);
	font-size: 11px;
	backdrop-filter: blur(6px);
}

.lwrail-pin {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--fg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.lwrail-pin--passing { background: oklch(68% 0.2 250); }
.lwrail-pin--stationed { background: oklch(70% 0.24 340); }
.lwrail-pin--working { background: oklch(74% 0.18 70); }
.lwrail-pin--depot { background: oklch(66% 0.15 200); }
.lwrail-pin--heritage { background: oklch(72% 0.19 150); }
.lwrail-pin--other { background: oklch(64% 0.02 270); }

.maplibregl-popup-content,
.mapboxgl-popup-content {
	background: var(--surface-2) !important;
	color: var(--fg) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	padding: 10px 12px !important;
}

.maplibregl-popup-tip,
.mapboxgl-popup-tip {
	border-top-color: var(--surface-2) !important;
	border-bottom-color: var(--surface-2) !important;
}

/* Toasts ------------------------------------------------------------- */

.lwrail-toasts {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: min(360px, calc(100vw - 36px));
}

.lwrail-toast {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--lwrail-panel-2);
	border: 1px solid var(--lwrail-line, rgba(255, 255, 255, 0.12));
	border-left: 3px solid var(--lwrail-accent, oklch(70% 0.23 340));
	color: var(--lwrail-text);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
	animation: lwrail-toast-in 0.22s ease both;
}

.lwrail-toast.is-ok { border-left-color: oklch(72% 0.19 150); }
.lwrail-toast.is-error { border-left-color: oklch(62% 0.22 25); }

.lwrail-toast__body b {
	display: block;
	font-weight: 650;
	margin-bottom: 2px;
}

.lwrail-toast__body span {
	color: var(--lwrail-muted);
	font-size: 13px;
}

.lwrail-toast.is-out {
	animation: lwrail-toast-out 0.2s ease both;
}

@keyframes lwrail-toast-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

@keyframes lwrail-toast-out {
	from { opacity: 1; }
	to { opacity: 0; transform: translateY(6px); }
}

.lwrail-spin {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid color-mix(in oklch, currentColor 30%, transparent);
	border-top-color: currentColor;
	animation: lwrail-spin 0.7s linear infinite;
	display: inline-block;
	vertical-align: -2px;
}

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

@media (prefers-reduced-motion: reduce) {
	.lwrail-toast,
	.lwrail-toast.is-out,
	.lwrail-spin {
		animation: none;
	}
}

/* Achievement badges ------------------------------------------------- */

/*
 * Fallbacks use :where() (zero specificity) so the LopoRail theme's own
 * .tm-badge* styles always win, while the app still looks intentional when
 * the plugin is dropped onto another theme.
 */

:where(.lwrail-badges) {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

:where(.lwrail-badge) {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border-radius: 14px;
	border: 1px solid var(--lwrail-line);
	background: var(--lwrail-panel-2);
	color: var(--lwrail-text);
}

:where(.lwrail-badge.is-locked) {
	opacity: 0.55;
}

.lwrail-spot .tm-badge__icon svg {
	width: 20px;
	height: 20px;
}

.lwrail-spot .tm-badge {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lwrail-spot .tm-badge.is-earned:hover {
	transform: translateY(-2px);
}

/* One-off pulse when a sighting unlocks a badge. */
.lwrail-spot .tm-badge.is-new {
	animation: lwrail-badge-pop 1.4s ease both;
}

@keyframes lwrail-badge-pop {
	0% {
		box-shadow: 0 0 0 0 color-mix(in oklch, var(--lwrail-accent) 55%, transparent);
		transform: scale(0.96);
	}
	40% {
		box-shadow: 0 0 0 6px color-mix(in oklch, var(--lwrail-accent) 0%, transparent);
		transform: scale(1.02);
	}
	100% {
		box-shadow: 0 0 0 0 transparent;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lwrail-spot .tm-badge.is-new {
		animation: none;
	}
}

/* CSV export button -------------------------------------------------- */

.lwrail-export {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.lwrail-export svg {
	width: 16px;
	height: 16px;
}

/* Badge share --------------------------------------------------------- */

:where(.lwrail-badge) {
	position: relative;
}

.lwrail-badge__share {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 8px;
	border: 1px solid var(--lwrail-line);
	background: color-mix(in oklch, var(--lwrail-panel) 70%, transparent);
	color: var(--lwrail-muted);
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lwrail-badge__share:hover,
.lwrail-badge__share:focus-visible {
	opacity: 1;
	color: var(--lwrail-accent);
	border-color: color-mix(in oklch, var(--lwrail-accent) 55%, transparent);
}

.lwrail-badge__share svg {
	width: 15px;
	height: 15px;
}

.lwrail-badge__share.lwrail-loading {
	opacity: 1;
}

/* Leaderboard --------------------------------------------------------- */

.lwrail-board {
	padding: clamp(8px, 1.6vw, 18px);
}

.lwrail-board__toggle {
	white-space: nowrap;
}

.lwrail-board__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}

.lwrail-board__row {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) minmax(60px, 34%) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid transparent;
}

.lwrail-board__row.is-me {
	background: color-mix(in oklch, var(--lwrail-accent) 10%, transparent);
	border-color: color-mix(in oklch, var(--lwrail-accent) 40%, transparent);
}

.lwrail-board__rank {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: var(--lwrail-muted);
}

.lwrail-board__row.is-me .lwrail-board__rank {
	color: var(--lwrail-accent);
}

.lwrail-board__name {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--lwrail-text);
}

.lwrail-board__you {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 999px;
	background: color-mix(in oklch, var(--lwrail-accent) 22%, transparent);
	color: var(--lwrail-text);
}

.lwrail-board__track {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: color-mix(in oklch, var(--lwrail-line) 80%, transparent);
	overflow: hidden;
}

.lwrail-board__track i {
	display: block;
	height: 100%;
	width: calc(var(--v, 0) * 1%);
	border-radius: 999px;
	background: var(--lwrail-accent);
}

.lwrail-board__count {
	font-variant-numeric: tabular-nums;
	font-size: 13px;
	color: var(--lwrail-muted);
	text-align: right;
	white-space: nowrap;
}

.lwrail-board__me {
	margin: 12px 4px 4px;
}

@media (max-width: 560px) {
	.lwrail-board__row {
		grid-template-columns: 40px minmax(0, 1fr) auto;
	}

	.lwrail-board__track {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lwrail-badge__share {
		transition: none;
	}
}

/* Offline banner ----------------------------------------------------- */

.lwrail-offline-note {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 9999;
	max-width: min(92vw, 460px);
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--lwrail-panel-2);
	color: var(--lwrail-text);
	border: 1px solid var(--lwrail-line);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
	font-size: 13px;
	text-align: center;
}

.lwrail-offline-note.is-offline {
	border-color: color-mix(in oklch, var(--lwrail-warn) 55%, transparent);
	color: var(--lwrail-warn);
}

/* Wanted / watchlist ------------------------------------------------ */

.lwrail-wanted {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.lwrail-wanted__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 14px;
	align-items: center;
	padding: 12px 14px;
	border: 1px solid var(--lwrail-line);
	border-radius: 14px;
	background: var(--lwrail-panel-2);
}

.lwrail-wanted__item.is-caught {
	border-color: color-mix(in oklch, var(--lwrail-ok) 50%, transparent);
	background: color-mix(in oklch, var(--lwrail-ok) 12%, var(--lwrail-panel-2));
}

.lwrail-wanted__kind {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lwrail-muted);
}

.lwrail-wanted__value {
	font-weight: 600;
}

.lwrail-wanted__meta {
	grid-column: 1 / -1;
	font-size: 12px;
	color: var(--lwrail-muted);
}

.lwrail-wanted__del,
.lwrail-comment-toggle {
	background: none;
	border: 1px solid var(--lwrail-line);
	border-radius: 999px;
	color: var(--lwrail-muted);
	padding: 5px 12px;
	font-size: 12px;
	cursor: pointer;
}

.lwrail-wanted__del:hover,
.lwrail-comment-toggle:hover {
	color: var(--lwrail-text);
	border-color: var(--lwrail-accent);
}

.lwrail-alerts {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
}

.lwrail-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--lwrail-panel-2);
	border: 1px solid var(--lwrail-line);
	font-size: 13px;
}

.lwrail-alert__dot {
	width: 8px;
	height: 8px;
	margin-top: 6px;
	border-radius: 999px;
	background: var(--lwrail-accent);
	flex: none;
}

/* Targets ------------------------------------------------------------ */

.lwrail-targets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin-top: 16px;
	list-style: none;
}

.lwrail-target {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	border: 1px solid var(--lwrail-line);
	border-radius: 14px;
	background: var(--lwrail-panel-2);
}

.lwrail-target.is-tracked {
	border-color: color-mix(in oklch, var(--lwrail-ok) 50%, transparent);
	background: color-mix(in oklch, var(--lwrail-ok) 12%, var(--lwrail-panel-2));
}

.lwrail-target__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lwrail-target__number {
	font-size: 20px;
	letter-spacing: 0.02em;
}

.lwrail-target__class {
	font-size: 12px;
	color: var(--lwrail-muted);
}

.lwrail-target__meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	color: var(--lwrail-text);
}

.lwrail-target__d {
	color: var(--lwrail-accent);
	font-weight: 600;
	white-space: nowrap;
}

.lwrail-target__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--lwrail-line);
}

.lwrail-target__prog {
	font-size: 12px;
	color: var(--lwrail-muted);
}

.lwrail-target__track[disabled] {
	opacity: 0.7;
	cursor: default;
}

/* Passport ----------------------------------------------------------- */

.lwrail-passport-grid,
.lwrail-social-grid,
.lwrail-insights-grid,
.lwrail-wrapped__tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--gap-md, 20px);
	margin-top: 18px;
}

.lwrail-stamps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.lwrail-cov {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.lwrail-cov__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 120px 56px;
	gap: 12px;
	align-items: center;
	font-size: 13px;
}

.lwrail-cov__code {
	color: var(--lwrail-muted);
	font-size: 11px;
	letter-spacing: 0.06em;
}

.lwrail-cov__bar,
.lwrail-rarity__bar {
	height: 6px;
	border-radius: 999px;
	background: color-mix(in oklch, var(--lwrail-line) 80%, transparent);
	overflow: hidden;
}

.lwrail-cov__bar i,
.lwrail-rarity__bar i {
	display: block;
	height: 100%;
	width: calc(var(--v, 0) * 1%);
	border-radius: 999px;
	background: var(--lwrail-accent);
}

.lwrail-cov__num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--lwrail-muted);
}

.lwrail-near-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.lwrail-near {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	padding: 8px 0;
	border-bottom: 1px solid var(--lwrail-line);
}

.lwrail-near__d {
	color: var(--lwrail-muted);
	white-space: nowrap;
}

/* Insights & wrapped ------------------------------------------------- */

.lwrail-streaks__row,
.lwrail-rarity__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.lwrail-rarity__score {
	font-size: 28px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.lwrail-bar {
	margin-top: 12px;
}

.lwrail-bars .lwrail-bar + .lwrail-bar {
	margin-top: 14px;
}

.lwrail-stat__v {
	font-size: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.lwrail-wrapped__hero {
	padding: clamp(22px, 3vw, 36px);
}

.lwrail-wrapped__big {
	display: block;
	font-size: clamp(34px, 7vw, 64px);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	margin: 6px 0 4px;
}

/* Gallery ------------------------------------------------------------ */

.lwrail-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.lwrail-gallery__item {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--lwrail-line);
	background: var(--lwrail-panel-2);
}

.lwrail-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lwrail-potw {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: var(--gap-md, 20px);
	align-items: center;
	margin-top: 18px;
	overflow: hidden;
}

.lwrail-potw__media img {
	width: 100%;
	height: 100%;
	max-height: 340px;
	object-fit: cover;
	display: block;
	border-radius: 12px;
}

@media (max-width: 640px) {
	.lwrail-potw {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Social feed -------------------------------------------------------- */

.lwrail-solo {
	max-width: 720px;
}

.lwrail-feed {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 16px;
}

.lwrail-feed__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--lwrail-line);
	border-radius: 16px;
	background: var(--lwrail-panel-2);
}

.lwrail-feed__thumb {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--lwrail-panel);
}

.lwrail-feed__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lwrail-feed__body {
	font-size: 13px;
}

.lwrail-feed__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
}

.lwrail-like {
	background: none;
	border: 0;
	color: var(--lwrail-muted);
	cursor: pointer;
	font-size: 13px;
	padding: 0;
}

.lwrail-like.is-liked {
	color: var(--lwrail-accent);
}

.lwrail-likes {
	font-size: 12px;
	color: var(--lwrail-muted);
}

.lwrail-comments {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
}

/* Public widget ------------------------------------------------------ */

.lwrail-widget {
	border: 1px solid var(--lwrail-line);
	border-radius: var(--lwrail-radius, 16px);
	background: var(--lwrail-panel-2);
	padding: 18px;
	max-width: 420px;
}

.lwrail-widget--light {
	background: var(--surface);
	color: var(--fg);
	border-color: rgba(0, 0, 0, 0.12);
}

.lwrail-widget__brand {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lwrail-muted);
}

.lwrail-widget__head {
	font-size: 18px;
	font-weight: 600;
	margin: 6px 0 12px;
}

.lwrail-widget__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.lwrail-widget__grid b {
	display: block;
	font-size: 20px;
	font-variant-numeric: tabular-nums;
}

.lwrail-widget__foot {
	margin-top: 12px;
	font-size: 12px;
	color: var(--lwrail-muted);
}

.lwrail-certs {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lwrail-certs li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

/* Panels: shared card + import + season ------------------------------ */

.lwrail-panel {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(20px, 2.6vw, 30px);
	background: var(--lwrail-panel-2);
	border: 1px solid var(--lwrail-line);
	border-radius: var(--lwrail-radius);
}

.lwrail-panel__title {
	margin: 0;
	font-size: var(--fs-h3, 24px);
	line-height: 1.15;
}

.lwrail-panel__intro {
	margin: 0;
	max-width: 60ch;
}

.lwrail-import {
	display: grid;
	gap: 14px;
	margin: 0;
}

.lwrail-field {
	display: grid;
	gap: 7px;
}

.lwrail-field__label {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lwrail-muted);
}

.lwrail-file {
	width: 100%;
	padding: 11px 12px;
	background: var(--lwrail-panel);
	border: 1px dashed var(--lwrail-line);
	border-radius: 12px;
	color: var(--lwrail-muted);
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.lwrail-file:hover {
	border-color: var(--lwrail-accent);
}

.lwrail-file:focus-visible {
	outline: none;
	border-color: var(--lwrail-accent);
	box-shadow: 0 0 0 3px color-mix(in oklch, var(--lwrail-accent) 30%, transparent);
}

.lwrail-file::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 1px solid var(--lwrail-line);
	border-radius: 999px;
	background: var(--lwrail-panel-2);
	color: var(--lwrail-text);
	font: inherit;
	cursor: pointer;
}

.lwrail-file::file-selector-button:hover {
	border-color: var(--lwrail-accent);
	color: var(--lwrail-accent);
}

.lwrail-textarea {
	width: 100%;
	min-height: 128px;
	resize: vertical;
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 12.5px;
	line-height: 1.5;
}

.lwrail-import__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.lwrail-import__foot .meta {
	margin-left: auto;
}

.lwrail-season__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.lwrail-season__bar .lwrail-select {
	flex: 1 1 170px;
	min-width: 150px;
}

.spot-season {
	margin-top: 2px;
}

.lwrail-season__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.lwrail-season__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: center;
	padding: 11px 14px;
	background: var(--lwrail-panel);
	border: 1px solid var(--lwrail-line);
	border-radius: 14px;
}

.lwrail-season__row.is-me {
	border-color: var(--lwrail-accent);
	background: color-mix(in oklch, var(--lwrail-accent) 10%, var(--lwrail-panel));
}

.lwrail-season__rank {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--lwrail-muted);
}

.lwrail-season__name {
	font-weight: 600;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lwrail-season__meta {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 11.5px;
	color: var(--lwrail-muted);
}

/* 50/50 band: season + import sit side by side on wide screens -------- */

.lwrail-duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--lwrail-line);
}

.lwrail-duo > .section {
	border-top: 0;
	padding-block: clamp(38px, 4.5vw, 64px);
}

.lwrail-duo > .section > .container {
	height: 100%;
	max-width: none;
}

.lwrail-duo > .section + .section {
	border-top: 0;
	border-left: 1px solid var(--lwrail-line);
}

.lwrail-duo + .section {
	border-top: 1px solid var(--lwrail-line);
}

@media (max-width: 920px) {
	.lwrail-duo {
		grid-template-columns: 1fr;
	}

	.lwrail-duo > .section + .section {
		border-left: 0;
		border-top: 1px solid var(--lwrail-line);
	}

	.lwrail-duo > .section {
		padding-block: clamp(32px, 8vw, 48px);
	}
}

/* Vertical stack used to tuck an advert under a panel ----------------- */

.lwrail-stack {
	display: grid;
	gap: clamp(14px, 1.8vw, 22px);
	align-content: start;
	height: 100%;
}

/* Advert slot --------------------------------------------------------- */

.lwrail-ad {
	position: relative;
	display: grid;
	gap: 4px;
	align-content: center;
	min-height: 132px;
	padding: clamp(18px, 2vw, 24px);
	border: 1px dashed color-mix(in oklch, var(--lwrail-line) 120%, transparent);
	border-radius: var(--radius-lg, 24px);
	background: color-mix(in oklch, var(--lwrail-panel-2, var(--lwrail-panel)) 60%, transparent);
	text-align: center;
}

.lwrail-ad__tag {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lwrail-muted);
}

.lwrail-ad__title {
	margin: 0;
	font-weight: 700;
	font-size: 17px;
	color: var(--lwrail-text);
}

.lwrail-ad__copy {
	margin: 0;
	font-size: 13.5px;
	color: var(--lwrail-muted);
}

/* Community locations directory (#269) ------------------------------- */

.lwrail-locations {
	--lwrail-loc-line: var(--border, rgba(255, 255, 255, 0.12));
	--lwrail-loc-text: var(--fg);
	--lwrail-loc-muted: var(--muted);
	--lwrail-loc-accent: var(--accent);
}

.lwrail-locations__head {
	margin-bottom: 16px;
}

.lwrail-locations__title {
	margin: 8px 0 6px;
	font-size: var(--fs-h3, 1.35rem);
}

.lwrail-locations__lede {
	max-width: 62ch;
}

.lwrail-locations__search {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 20px;
}

.lwrail-locations__search .spot-field {
	flex: 1 1 260px;
}

.lwrail-locations__search input {
	width: 100%;
}

.lwrail-loc-grid {
	gap: 14px;
}

.lwrail-loc {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--lwrail-loc-text);
	text-decoration: none;
}

.lwrail-loc:hover {
	border-color: var(--lwrail-loc-accent);
	text-decoration: none;
}

.lwrail-loc__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-loc__name {
	font-weight: 700;
}

.lwrail-loc__crs,
.lwrail-loc__where,
.lwrail-loc__seen {
	color: var(--lwrail-loc-muted);
}

.lwrail-loc__where,
.lwrail-loc__seen {
	display: block;
}

.lwrail-loc__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.lwrail-loc__stats b {
	color: var(--lwrail-loc-text);
}

.lwrail-loc__back {
	display: inline-block;
	margin-bottom: 10px;
}

.lwrail-loc__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.lwrail-kpi {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lwrail-kpi b {
	font-size: 20px;
}

.lwrail-loc-classes,
.lwrail-loc-recent {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwrail-loc-classes li,
.lwrail-loc-recent li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-loc-recent li {
	justify-content: flex-start;
}

.lwrail-loc-recent__veh {
	font-weight: 600;
}

#locations,
#location {
	scroll-margin-top: 96px;
}

/* Lineside vantage points (#296) ------------------------------------- */

.lwrail-vantage {
	--lwrail-vp-line: var(--border, rgba(255, 255, 255, 0.12));
	--lwrail-vp-text: var(--fg);
	--lwrail-vp-muted: var(--muted);
	--lwrail-vp-accent: var(--accent);
}

.lwrail-vantage__head {
	margin-bottom: 16px;
}

.lwrail-vantage__title {
	margin: 8px 0 6px;
	font-size: var(--fs-h3, 1.35rem);
}

.lwrail-vantage__lede {
	max-width: 62ch;
}

.lwrail-vantage__search {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 20px;
}

.lwrail-vantage__search .spot-field {
	flex: 1 1 260px;
}

.lwrail-vantage__search input {
	width: 100%;
}

.lwrail-vantage-grid {
	gap: 14px;
}

.lwrail-vpoint {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lwrail-vpoint__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-vpoint__name {
	font-weight: 700;
}

.lwrail-vpoint__todo {
	color: var(--lwrail-vp-muted);
	font-style: italic;
}

.lwrail-vpoint__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwrail-vpoint__amen,
.lwrail-vpoint__notes {
	margin: 0;
}

.lwrail-vpoint__notes {
	color: var(--lwrail-vp-text);
	font-size: 13.5px;
}

.lwrail-vantage__form {
	margin-top: 22px;
}

.lwrail-vantage__form .spot-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lwrail-vantage__form input,
.lwrail-vantage__form select,
.lwrail-vantage__form textarea {
	width: 100%;
}

#vantage {
	scroll-margin-top: 96px;
}

/* Spotter density map (#296, stage 2) -------------------------------- */

.lwrail-density {
	--lwrail-dency-text: var(--fg);
	--lwrail-dency-muted: var(--muted);
}

.lwrail-density__head {
	margin-bottom: 16px;
}

.lwrail-density__title {
	margin: 8px 0 6px;
	font-size: var(--fs-h3, 1.35rem);
}

.lwrail-density__lede {
	max-width: 62ch;
}

.lwrail-density__panel {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 14px;
	margin-top: 18px;
}

.lwrail-density__map {
	width: 100%;
	min-height: 240px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--surface-2);
}

.lwrail-density__points {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwrail-density__points li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-density-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
	font-size: 12px;
	border: 2px solid var(--surface);
}

.lwrail-density__checkin {
	margin-top: 16px;
}

#density {
	scroll-margin-top: 96px;
}

@media (max-width: 720px) {
	.lwrail-density__panel {
		grid-template-columns: 1fr;
	}
}

/* Onboard HUD (#296, stage 3) ---------------------------------------- */

.lwrail-hud__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.lwrail-hud__where {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
}

.lwrail-hud__station {
	font-weight: 700;
}

.lwrail-hud__today-v {
	font-size: 20px;
	font-weight: 700;
}

.lwrail-hud__form {
	margin-top: 14px;
}

.lwrail-hud__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.lwrail-hud__form .spot-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lwrail-hud__form input {
	width: 100%;
}

.lwrail-hud__note {
	margin-top: 8px;
}

#hud {
	scroll-margin-top: 96px;
}

@media (max-width: 640px) {
	.lwrail-hud__grid {
		grid-template-columns: 1fr;
	}
}

/* Retrospective ledger (#296, stage 4) ------------------------------- */

.lwrail-ledger__head {
	margin-bottom: 16px;
}

.lwrail-ledger__title {
	margin: 8px 0 6px;
	font-size: var(--fs-h3, 1.35rem);
}

.lwrail-ledger__lede {
	max-width: 62ch;
}

.lwrail-ledger-grid {
	gap: 14px;
}

.lwrail-ledger__month {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lwrail-ledger__mhead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-ledger__mname {
	font-weight: 700;
}

.lwrail-ledger__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwrail-ledger__top,
.lwrail-ledger__badges {
	margin: 0;
}

.lwrail-ledger__detail {
	margin-top: 18px;
}

.lwrail-ledger__entries {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwrail-ledger__entries li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
}

.lwrail-ledger__entry-veh {
	font-weight: 600;
}

#ledger {
	scroll-margin-top: 96px;
}

/* Lineside Spotter Suite (#307) -------------------------------------- */

.lwrail-milepost__map {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: var(--surface-2);
	margin-top: 14px;
}

.lwrail-milepost__form {
	margin-top: 14px;
}

.lwrail-milepost__form .spot-field,
.lwrail-trackside__form .spot-field,
.lwrail-scanner__filter .spot-field,
.lwrail-trackside__filter .spot-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lwrail-milepost__form input,
.lwrail-milepost__form textarea,
.lwrail-trackside__form input,
.lwrail-trackside__form textarea {
	width: 100%;
}

.lwrail-milepost__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.lwrail-milepost__list li {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: baseline;
}

.lwrail-scanner__filter,
.lwrail-trackside__filter,
.lwrail-ancestry__pick {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: end;
	margin: 4px 0 18px;
}

.lwrail-scanner__table-wrap {
	overflow-x: auto;
	padding: 0;
}

.lwrail-scanner__table {
	width: 100%;
	border-collapse: collapse;
}

.lwrail-scanner__table th,
.lwrail-scanner__table td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.lwrail-scanner__note {
	display: block;
}

.lwrail-trackside-grid {
	gap: 14px;
}

.lwrail-asset {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lwrail-asset__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-asset__title {
	font-weight: 700;
}

.lwrail-asset__vote {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lwrail-asset__score {
	min-width: 2ch;
	font-weight: 700;
	text-align: center;
}

.lwrail-trackside__form {
	margin-top: 20px;
}

.lwrail-acoustic__canvas {
	width: 100%;
	max-width: 640px;
	height: auto;
	border-radius: 10px;
	background: var(--surface-2);
}

.lwrail-acoustic__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 10px;
}

.lwrail-acoustic__result {
	margin-top: 12px;
}

.lwrail-acoustic__class {
	font-weight: 700;
}

.lwrail-ancestry__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.lwrail-ancestry__flags,
.lwrail-ancestry__timeline {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lwrail-ancestry__flags li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.lwrail-ancestry__timeline li {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 10px;
	align-items: center;
}

.lwrail-ancestry__bar {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: var(--surface-2);
	overflow: hidden;
}

.lwrail-ancestry__bar span {
	display: block;
	height: 100%;
	background: var(--accent);
}

#milepost,
#scanner,
#trackside,
#acoustic,
#ancestry {
	scroll-margin-top: 96px;
}

/* Collection — per-class coverage + seen/not-seen lists ------------- */

.lwrail-collect {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lwrail-cclass__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.lwrail-cclass__name {
	font-weight: 700;
}

.lwrail-cclass .spot-bar__track {
	margin-top: 8px;
}

.lwrail-cclass__lists {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 10px;
}

.lwrail-units {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.lwrail-units li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

.lwrail-units img {
	border-radius: 4px;
	object-fit: cover;
}

@media (max-width: 640px) {
	.lwrail-cclass__lists {
		grid-template-columns: 1fr;
	}
}

