@font-face { font-family: 'LBLM Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('nunito-regular.woff2') format('woff2'); }
@font-face { font-family: 'LBLM Nunito'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('nunito-bold.woff2') format('woff2'); }
.lblm-content {
	margin: 0 auto;
	max-width: var(--lbfe-max);
	min-height: calc(100vh - var(--lbfe-nav-h) - 60px);
	padding: calc(var(--lbfe-nav-h) + 2rem) 1.5rem 4rem;
}

.lblm-picker { font-family: 'LBLM Nunito', sans-serif; width: 100%; }
.lblm-content:has(.lblm-picker) { padding-left: 0; padding-right: 0; min-height: auto; padding-bottom: 4rem; }
.lblm-welcome { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; border: 3px solid #1A1A1A; border-radius: 24px; overflow: hidden; background: #F5C400; box-shadow: 0 7px 0 #1A1A1A; }
.lblm-art { display: flex; align-items: center; background: #F5C400; overflow: hidden; }
.lblm-art img { display: block; width: 100%; height: auto; }
.lblm-setup { padding: clamp(1.5rem, 3vw, 3rem); background: #FFFDF5; border-left: 3px solid #1A1A1A; }
.lblm-eyebrow { margin: 0 0 .6rem; font-size: .85rem; font-weight: 800; color: #CC1622; }
.lblm-title { font-family: 'Bangers', sans-serif; font-size: clamp(2.8rem, 4.3vw, 4.6rem); line-height: 1; margin: 0 0 1rem; font-weight: 400; }
.lblm-intro { margin: 0 0 1.7rem; color: #39372f; line-height: 1.55; }
.lblm-field { margin-bottom: 1.25rem; }
.lblm-field-label { display: block; font-weight: 800; margin-bottom: .55rem; }
.lblm-choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.lblm-choice { background: #1A1A1A; color: #FFFDF5; border: 2px solid #1A1A1A; border-radius: 8px; cursor: pointer; padding: .7rem .4rem; font: inherit; font-weight: 800; transition: background .18s, transform .18s; }
.lblm-choice.is-selected { background: #F5C400; color: #1A1A1A; box-shadow: 0 3px 0 #1A1A1A; }
.lblm-choice:hover { background: #CC1622; color: #FFFDF5; }
.lblm-choice:active, .lblm-start:active { transform: translateY(2px); }
.lblm-choice:focus-visible, .lblm-scope-select:focus-visible, .lblm-start:focus-visible { outline: 3px solid #CC1622; outline-offset: 4px; }
.lblm-scope-select { background: #fff; border: 2px solid #1A1A1A; border-radius: 8px; display: block; padding: .75rem; width: 100%; font: inherit; color: #1A1A1A; }
.lblm-start { display: block; width: 100%; padding: .9rem 1.2rem; font: inherit; font-size: 1.2rem; font-weight: 900; background: #CC1622; color: #FFFDF5; border: 2px solid #1A1A1A; border-radius: 9px; box-shadow: 0 4px 0 #1A1A1A; cursor: pointer; transition: background .18s, transform .18s; }
.lblm-start:hover { background: #a40e19; }
.lblm-start:disabled { background: #615c51; cursor: wait; box-shadow: none; }
.lblm-round-note { margin: .9rem 0 0; font-size: .8rem; text-align: center; color: #514c40; }
.lblm-how { margin-top: 3.5rem; }
.lblm-how-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: 1.6rem; }
.lblm-how h2 { margin: 0; font-family: 'Bangers', sans-serif; font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 400; }
.lblm-how-heading p { margin: 0; }
.lblm-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; gap: 2rem; padding: 0; margin: 0; }
.lblm-steps li { display: flex; gap: 1rem; border-top: 2px solid #1A1A1A; padding-top: 1.2rem; }
.lblm-step-number { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #F5C400; border: 2px solid #1A1A1A; font-family: 'Bangers', sans-serif; font-size: 1.7rem; }
.lblm-steps h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.lblm-steps p { margin: 0; font-size: .95rem; line-height: 1.6; }
@media(max-width: 1000px) { .lblm-welcome { grid-template-columns: 1fr 1fr; } .lblm-setup { padding: 1.4rem; } .lblm-how-heading { display: block; } .lblm-how-heading p { margin-top: .7rem; } }
@media(max-width: 760px) { .lblm-content:has(.lblm-picker) { width: calc(100% - 2rem); } .lblm-welcome { grid-template-columns: 1fr; border-radius: 16px; } .lblm-setup { border-left: 0; border-top: 3px solid #1A1A1A; padding: 1.5rem; } .lblm-art img { width: 100%; } .lblm-steps { grid-template-columns: 1fr; gap: 1.3rem; } .lblm-how { margin-top: 2.8rem; } }

.lblm-warn {
	color: var(--lbfe-red);
	margin: 0.75rem 0;
}

.lblm-error {
	color: var(--lbfe-red);
}

.lblm-hud {
	align-items: center;
	display: flex;
	font-weight: 700;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.lblm-hud-item {
	flex-shrink: 0;
}

.lblm-hud-actions {
	display: flex;
	gap: 0.5rem;
	margin-left: auto;
}

.lblm-stage {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr 17rem;
}

.lblm-map {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--lbfe-card-bg);
	border: 1px solid var(--lbfe-border);
	border-radius: var(--lbfe-radius);
	min-height: 420px;
	overflow: hidden;
}

.lblm-tray {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-height: 560px;
	overflow-y: auto;
	padding-right: 0.25rem;
}

.lblm-icon {
	align-items: center;
	cursor: grab;
	display: flex;
	gap: 0.6rem;
	touch-action: none;
	user-select: none;
}

.lblm-icon.is-dragging {
	opacity: 0.35;
}

.lblm-icon-frame {
	align-items: center;
	background: #fff;
	border-radius: var(--lbfe-radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
	display: flex;
	flex-shrink: 0;
	height: 96px;
	justify-content: center;
	width: 96px;
}

.lblm-icon-frame img {
	height: 84%;
	object-fit: contain;
	width: 84%;
}

.lblm-icon-name {
	font-size: 0.85rem;
	font-weight: 600;
}

.lblm-ghost {
	position: fixed;
	left: 0;
	top: 0;
	align-items: center;
	background: #fff;
	border: 3px solid transparent;
	border-radius: var(--lbfe-radius);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	display: flex;
	height: 56px;
	justify-content: center;
	opacity: 0.95;
	pointer-events: none;
	width: 56px;
	z-index: 9999;
}

.lblm-ghost img {
	height: 80%;
	object-fit: contain;
	width: 80%;
}

.lblm-ghost.is-over-target {
	border-color: var(--lbfe-yellow);
}

.lblm-pin {
	background: var(--lbfe-cream);
	border: 2px solid var(--lbfe-black);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	cursor: default;
	height: 1.6rem;
	width: 1.6rem;
}

.lblm-pin.is-wrong {
	background: var(--lbfe-red);
}

.lblm-pin.is-solved,
.lblm-pin.is-revealed {
	background: #fff;
	border: 2px solid var(--lbfe-yellow);
	border-radius: var(--lbfe-radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	height: 2.6rem;
	overflow: hidden;
	width: 2.6rem;
}

.lblm-pin.is-solved img,
.lblm-pin.is-revealed img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.lblm-pin.is-revealed {
	border-color: var(--lbfe-border);
	opacity: 0.8;
}

.lblm-end {
	margin: 0 auto;
	max-width: 28rem;
	text-align: center;
}

.lblm-end-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 0.5rem;
}

@media (max-width: 760px) {
	.lblm-stage {
		grid-template-columns: 1fr;
	}

	.lblm-tray {
		flex-direction: row;
		max-height: none;
		overflow-x: auto;
		overflow-y: visible;
	}

	.lblm-icon {
		flex-direction: column;
		flex-shrink: 0;
	}
}
