/* LopoRail Games Integration — "What's That Train?" upload + sounds card.
 *
 * Token-driven like sim-hq.css: colours come ENTIRELY from the theme's custom
 * properties (--fg, --muted, --surface, --border, --accent, --on-accent…) so
 * nothing is hardcoded and a theme retune propagates. Layout only otherwise.
 */

/* Upload tool ------------------------------------------------------- */

.lg-wtt-upload__tool {
	display: grid;
	gap: 16px;
	max-width: 640px;
}

.lg-wtt-upload__gate {
	max-width: 640px;
}

.lg-wtt-upload__field {
	display: grid;
	gap: 6px;
}

.lg-wtt-upload__field label {
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.lg-wtt-upload__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface-2);
	color: var(--fg);
	font: inherit;
}

.lg-wtt-upload__input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
}

.lg-wtt-upload__capture,
.lg-wtt-upload__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.lg-wtt-upload__preview {
	width: 100%;
	margin-top: 4px;
}

.lg-wtt-upload__out {
	padding: 12px 14px;
	border: 1px solid var(--accent);
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--fg);
}

/* Sounds card ------------------------------------------------------- */

.lg-wtt-sounds-card {
	padding: 24px;
}

.lg-wtt-sounds-card__lead {
	max-width: 62ch;
	margin: 6px 0 18px;
	color: var(--muted);
	line-height: 1.6;
}

.lg-wtt-sounds-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lg-wtt-sounds-card__note {
	margin-top: 16px;
	color: var(--muted);
}
