/*
Theme Name: Little Boss Baby
Theme URI: https://example.com/littlebossbaby
Author: GitHub Copilot
Description: Tema invito online elegante per compleanno con timeline evento e sfide fotografiche.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: littlebossbaby
*/

:root {
	--lbb-bg: #f6fbff;
	--lbb-bg-soft: #e0f1fb;
	--lbb-panel: rgba(255, 255, 255, 0.78);
	--lbb-panel-strong: #ffffff;
	--lbb-ink: #18304b;
	--lbb-muted: #5e7289;
	--lbb-line: rgba(24, 48, 75, 0.12);
	--lbb-accent: #1a8fe3;
	--lbb-accent-dark: #0d5ea8;
	--lbb-gold: #c8a75f;
	--lbb-shadow: 0 24px 60px rgba(17, 58, 91, 0.14);
	--lbb-radius: 28px;
	--lbb-radius-sm: 18px;
	--lbb-shell: 70rem;
	--lbb-gutter: clamp(0.75rem, 3vw, 2rem);
	--lbb-section-gap: clamp(1rem, 3vw, 2.125rem);
	--lbb-card-pad: clamp(1rem, 2.6vw, 1.875rem);
	--lbb-stage-pad-x: clamp(0.875rem, 5vw, 3.375rem);
	--lbb-stage-pad-top: clamp(4.75rem, 11vw, 7.75rem);
	--lbb-stage-pad-bottom: clamp(1rem, 3.5vw, 2.25rem);
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	color: var(--lbb-ink);
	overflow-x: clip;
	-webkit-tap-highlight-color: transparent;
	overscroll-behavior-y: none;
	background:
		radial-gradient(circle at top left, rgba(26, 143, 227, 0.16), transparent 32%),
		radial-gradient(circle at right 18%, rgba(200, 167, 95, 0.14), transparent 24%),
		linear-gradient(180deg, #fbfeff 0%, #eef7fc 52%, #d9edf8 100%);
}

body.is-lightbox-open {
	overflow: hidden;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(26, 143, 227, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 143, 227, 0.05) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 85%);
}

a {
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

button {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

a, button, summary, [role="button"] {
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}

img {
	max-width: 100%;
	display: block;
}

.lbb-shell {
	width: min(calc(100% - (var(--lbb-gutter) * 2)), var(--lbb-shell));
	margin: 0 auto;
}

.lbb-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(22px);
	background: rgba(248, 252, 255, 0.74);
	border-bottom: 1px solid rgba(24, 48, 75, 0.08);
}

.lbb-topbar__inner,
.lbb-footer__inner,
.lbb-story {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

.lbb-topbar__inner {
	padding: 0.5rem 0;
}

.lbb-topbar__greeting {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.2rem 0.5rem;
}

.lbb-topbar__greeting .lbb-topbar__eyebrow {
	flex-basis: 100%;
}

.lbb-topbar__eyebrow,
.lbb-section-label,
.lbb-meta-label {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--lbb-accent-dark);
}

.lbb-topbar__title {
	margin: 0;
	font-weight: 800;
	font-size: 0.95rem;
}

.lbb-topbar__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.lbb-topbar__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.08);
	border: 1px solid rgba(26, 143, 227, 0.12);
	text-decoration: none;
	font-weight: 700;
}

.lbb-topbar__score {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	min-height: 2rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.10);
	border: 1.5px solid rgba(26, 143, 227, 0.20);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 800;
	color: var(--lbb-accent-dark);
	letter-spacing: 0.01em;
}

.lbb-topbar__score-label {
	font-size: 0.72rem;
	font-weight: 700;
	opacity: 0.65;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.lbb-topbar__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0 0.85rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lbb-accent), var(--lbb-accent-dark));
	color: #fff;
	border: 1px solid rgba(12, 94, 168, 0.14);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 800;
	box-shadow: 0 12px 24px rgba(13, 94, 168, 0.16);
}

.lbb-topbar__phone:hover,
	.lbb-topbar__phone:focus-visible,
.lbb-topbar__score:hover,
.lbb-topbar__score:focus-visible,
.lbb-topbar__cta:hover,
.lbb-topbar__cta:focus-visible {
	opacity: 0.86;
}

.lbb-site {
	padding-bottom: clamp(1.5rem, 4vw, 3rem);
	overflow-x: clip;
}

.lbb-anchor-section {
	scroll-margin-top: 6.5rem;
}

.lbb-section-index {
	padding: clamp(1rem, 3vw, 1.6rem) 0 0;
}

.lbb-section-index__card {
	display: grid;
	gap: 1rem;
	padding: clamp(1rem, 2.8vw, 1.4rem);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 255, 0.95)),
		radial-gradient(circle at top right, rgba(200, 167, 95, 0.12), transparent 34%);
	border: 1px solid rgba(24, 48, 75, 0.08);
	box-shadow: 0 18px 36px rgba(17, 58, 91, 0.08);
}

.lbb-section-index__copy {
	display: grid;
	gap: 0.35rem;
}

.lbb-section-index__copy h2,
.lbb-section-index__copy p {
	margin: 0;
}

.lbb-section-index__copy h2 {
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	line-height: 1.12;
}

.lbb-section-index__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.lbb-section-index__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.6rem;
	padding: 0 1rem;
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.08);
	border: 1px solid rgba(26, 143, 227, 0.14);
	color: var(--lbb-accent-dark);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.lbb-section-index__link:hover,
.lbb-section-index__link:focus-visible {
	transform: translateY(-1px);
	background: rgba(26, 143, 227, 0.14);
	box-shadow: 0 12px 20px rgba(13, 94, 168, 0.12);
}

.lbb-journey {
	padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
}

.lbb-section-heading--journey {
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
}

.lbb-journey__track {
	position: relative;
	display: grid;
	gap: clamp(1rem, 3vw, 1.5rem);
	padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.lbb-journey__track::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(26, 143, 227, 0.08), rgba(12, 94, 168, 0.22), rgba(200, 167, 95, 0.22));
	box-shadow: 0 0 0 10px rgba(26, 143, 227, 0.04);
}

.lbb-journey__step {
	position: relative;
	width: min(100%, calc(38% - 2.4rem));
	padding: 0;
	border-radius: 1.6rem;
	border: 1px solid rgba(24, 48, 75, 0.08);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.94)),
		radial-gradient(circle at top right, rgba(200, 167, 95, 0.14), transparent 36%);
	box-shadow: 0 18px 34px rgba(17, 58, 91, 0.08);
	overflow: hidden;
}

.lbb-journey__step--left {
	justify-self: start;
	margin-right: auto;
	transform-origin: center right;
}

.lbb-journey__step--right {
	justify-self: end;
	margin-left: auto;
	transform-origin: center left;
}

.lbb-journey__dot {
	position: absolute;
	top: 50%;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lbb-gold), #f8d98a);
	box-shadow: 0 0 0 8px rgba(200, 167, 95, 0.18);
	transform: translateY(-50%);
}

.lbb-journey__step--left .lbb-journey__dot {
	right: -2.56rem;
}

.lbb-journey__step--right .lbb-journey__dot {
	left: -2.56rem;
}

.lbb-journey__month {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 1.8rem;
	padding: 0 0.7rem;
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.09);
	border: 1px solid rgba(26, 143, 227, 0.12);
	color: var(--lbb-accent-dark);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lbb-journey__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) 3.6rem auto;
	align-items: center;
	gap: 0.7rem;
	padding: 0.8rem 0.9rem;
	list-style: none;
	cursor: pointer;
	padding-right: 3rem;
}

.lbb-journey__summary::-webkit-details-marker {
	display: none;
}

.lbb-journey__summary-copy {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
}

.lbb-journey__summary-title {
	font-family: 'Fraunces', serif;
	font-size: 0.98rem;
	line-height: 1.15;
	color: var(--lbb-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lbb-journey__summary-hint {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--lbb-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lbb-journey__thumb {
	aspect-ratio: 1;
	width: 3.6rem;
	display: grid;
	place-items: center;
	padding: 0.22rem;
	border-radius: 1rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(228, 242, 252, 0.94));
	border: 1px solid rgba(24, 48, 75, 0.08);
	overflow: hidden;
	flex-shrink: 0;
}

.lbb-journey__thumb.is-birthday {
	box-shadow: 0 0 0 1px rgba(200, 167, 95, 0.14), 0 8px 18px rgba(200, 167, 95, 0.14);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 219, 0.95));
}

.lbb-journey__thumb img,
.lbb-journey__thumb-media,
.lbb-journey__thumb-placeholder {
	width: 100%;
	height: 100%;
	border-radius: 0.78rem;
}

.lbb-journey__thumb img,
.lbb-journey__thumb-media {
	object-fit: cover;
	object-position: center;
}

.lbb-journey__video-badge {
	position: absolute;
	right: 0.35rem;
	bottom: 0.35rem;
	width: 1.25rem;
	height: 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(24, 48, 75, 0.78);
	color: #fff;
	font-size: 0.7rem;
	line-height: 1;
}

.lbb-journey__thumb-placeholder {
	display: grid;
	place-items: center;
	background: rgba(26, 143, 227, 0.08);
	color: var(--lbb-accent-dark);
	font-family: 'Fraunces', serif;
	font-size: 1rem;
	font-weight: 700;
}

.lbb-journey__chevron {
	width: 0.75rem;
	height: 0.75rem;
	border-right: 2px solid rgba(24, 48, 75, 0.55);
	border-bottom: 2px solid rgba(24, 48, 75, 0.55);
	transform: rotate(45deg);
	transition: transform 220ms ease;
	justify-self: end;
}

.lbb-journey__step[open] .lbb-journey__chevron {
	transform: rotate(225deg);
}

.lbb-journey__edit {
	position: absolute;
	top: 0.65rem;
	right: 0.7rem;
	width: 1.9rem;
	height: 1.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(24, 48, 75, 0.08);
	border: 1px solid rgba(24, 48, 75, 0.12);
	color: var(--lbb-accent-dark);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 800;
	z-index: 2;
	transition: transform 220ms ease, background 220ms ease;
}

.lbb-journey__edit:hover,
.lbb-journey__edit:focus-visible {
	transform: scale(1.04);
	background: rgba(26, 143, 227, 0.12);
}

.lbb-journey__panel {
	display: grid;
	gap: 0.8rem;
	padding: 0 0.9rem 0.95rem;
	border-top: 1px solid rgba(24, 48, 75, 0.08);
}

.lbb-journey__media {
	aspect-ratio: 4 / 5;
	padding: 0.4rem;
	margin-top: 0.9rem;
	border-radius: 1.1rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(228, 242, 252, 0.94));
	border: 1px solid rgba(24, 48, 75, 0.08);
	overflow: hidden;
}

.lbb-journey__media.is-birthday {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 219, 0.95));
	box-shadow: 0 0 0 1px rgba(200, 167, 95, 0.12), 0 18px 34px rgba(200, 167, 95, 0.12);
}

.lbb-journey__media img,
.lbb-journey__media video,
.lbb-journey__placeholder {
	width: 100%;
	height: 100%;
	border-radius: 1rem;
}

.lbb-journey__media-trigger {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	overflow: hidden;
	border-radius: 1rem;
}

.lbb-journey__media img,
.lbb-journey__media video {
	object-fit: cover;
	object-position: center;
	background: #08131f;
}

.lbb-journey__media-badge,
.lbb-journey__media-zoom {
	position: absolute;
	left: 0.75rem;
	z-index: 1;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: rgba(24, 48, 75, 0.76);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
}

.lbb-journey__media-badge {
	top: 0.75rem;
	left: auto;
	right: 0.75rem;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.lbb-journey__media-zoom {
	bottom: 0.75rem;
	width: 1.6rem;
	height: 1.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.lbb-journey__placeholder {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at top, rgba(26, 143, 227, 0.16), transparent 45%),
		linear-gradient(180deg, rgba(241, 248, 254, 0.98), rgba(228, 242, 252, 0.92));
	color: var(--lbb-accent-dark);
	font-family: 'Fraunces', serif;
	font-size: clamp(1.2rem, 2.4vw, 1.6rem);
	text-align: center;
	padding: 1rem;
}

.lbb-journey__copy {
	display: grid;
	gap: 0.3rem;
}

.lbb-journey__copy h3,
.lbb-journey__copy p {
	margin: 0;
}

.lbb-journey__copy h3 {
	font-size: 1.1rem;
	line-height: 1.18;
}

.lbb-journey__copy p {
	color: var(--lbb-muted);
	line-height: 1.55;
	font-size: 0.92rem;
}

.lbb-journey__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
	gap: 0.7rem;
}

.lbb-journey__gallery-item {
	aspect-ratio: 1;
	padding: 0.28rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(24, 48, 75, 0.08);
	overflow: hidden;
	box-shadow: 0 12px 24px rgba(17, 58, 91, 0.06);
}

.lbb-journey__gallery-item .lbb-journey__media-trigger {
	border-radius: 0.8rem;
}

.lbb-journey__gallery-item img,
.lbb-journey__gallery-item video {
	width: 100%;
	height: 100%;
	border-radius: 0.8rem;
	object-fit: cover;
	background: #08131f;
}

.lbb-lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 2rem);
}

.lbb-lightbox[hidden] {
	display: none;
}

.lbb-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 16, 28, 0.82);
	backdrop-filter: blur(8px);
}

.lbb-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 72rem);
	max-height: min(92vh, 56rem);
	display: grid;
	gap: 0.9rem;
	padding: clamp(1rem, 3vw, 1.4rem);
	border-radius: 1.5rem;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.lbb-lightbox__close {
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
	width: 2.4rem;
	height: 2.4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(24, 48, 75, 0.08);
	color: var(--lbb-ink);
	font-size: 1.5rem;
	cursor: pointer;
}

.lbb-lightbox__title {
	margin: 0;
	padding-right: 2.75rem;
	font-family: 'Fraunces', serif;
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	line-height: 1.15;
}

.lbb-lightbox__content {
	min-height: 0;
	overflow: auto;
	border-radius: 1.1rem;
	background: #08131f;
}

.lbb-lightbox__content img,
.lbb-lightbox__content video {
	display: block;
	width: 100%;
	max-height: min(78vh, 48rem);
	object-fit: contain;
	background: #08131f;
}

.lbb-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(1.25rem, 4vw, 2.875rem) 0 clamp(1.5rem, 5vw, 3.5rem);
	background: linear-gradient(180deg, #154d98 0%, #133e7a 42%, #b4e7fa 42%, #b4e7fa 100%);
}

.lbb-hero__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.lbb-hero__backdrop::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 39, 84, 0.34), rgba(17, 73, 132, 0.18)),
		linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(180, 231, 250, 0.28) 100%);
	z-index: 1;
}

.lbb-hero__backdrop-image {
	width: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	transform: scale(1.02);
	transform-origin: center;
	animation: lbb-float-backdrop 9s ease-in-out infinite;
}

.lbb-hero__confetti {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: min(42vw, 300px);
	object-fit: cover;
	object-position: center top;
	opacity: 0.78;
	mix-blend-mode: screen;
	z-index: 2;
	pointer-events: none;
}

.lbb-hero::before,
.lbb-hero::after {
	content: '';
	position: absolute;
	pointer-events: none;
	z-index: 1;
}

.lbb-hero::before {
	inset: clamp(0.75rem, 2vw, 1.125rem) clamp(3%, 4vw, 2rem) auto;
	height: clamp(0.625rem, 1.8vw, 1.125rem);
	top: 35%;
	border-radius: 999px;
	background: repeating-linear-gradient(90deg, rgba(26, 143, 227, 0.15), rgba(26, 143, 227, 0.15) 10px, transparent 10px, transparent 20px);
}

.lbb-hero::after {
	width: clamp(12rem, 28vw, 20rem);
	height: clamp(12rem, 28vw, 20rem);
	right: -6%;
	top: 2%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(26, 143, 227, 0.2), rgba(26, 143, 227, 0));
}

.lbb-hero__inner {
	position: relative;
	padding: clamp(5.5rem, 14vw, 8.75rem) clamp(0.5rem, 3vw, 2.125rem) clamp(1rem, 4vw, 2.625rem);
	border-radius: calc(var(--lbb-radius) + 10px);
	background: transparent;
	box-shadow: none;
	border: 0;
	transform-style: preserve-3d;
	animation: lbb-card-entrance 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
	z-index: 2;
}

.lbb-hero__inner::before {
	display: none;
}

.lbb-hero__inner::after {
	display: none;
}

.lbb-hero__decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 4;
}

.lbb-hero__content,
.lbb-event-meta,
.lbb-hero__actions {
	position: relative;
	z-index: 2;
}

.lbb-poster {
	position: relative;
	width: min(100%, 47.5rem);
	margin: 0 auto;
	text-align: center;
	z-index: 2;
}

.lbb-poster__stage {
	position: relative;
	padding: var(--lbb-stage-pad-top) var(--lbb-stage-pad-x) var(--lbb-stage-pad-bottom);
	border-radius: clamp(1.25rem, 4vw, 3.5rem);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96)),
		linear-gradient(135deg, rgba(20, 85, 156, 0.08), rgba(26, 143, 227, 0.04));
	box-shadow: 0 34px 90px rgba(10, 35, 71, 0.24);
	overflow: hidden;
	border: clamp(0.3125rem, 0.9vw, 0.5rem) solid rgba(14, 76, 144, 0.24);
}

.lbb-poster__stage::before {
	content: '';
	position: absolute;
	inset: clamp(0.5rem, 1.8vw, 1rem);
	border-radius: clamp(0.875rem, 3vw, 2.625rem);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 255, 0.96)),
		repeating-linear-gradient(90deg, rgba(14, 111, 199, 0.06), rgba(14, 111, 199, 0.06) 10px, transparent 10px, transparent 22px);
	border: 2px solid rgba(20, 78, 143, 0.14);
	z-index: 0;
}

.lbb-poster__stage > * {
	position: relative;
	z-index: 1;
}

.lbb-ribbon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(3.75rem, 8vw, 5.875rem);
	max-width: 88%;
	margin: clamp(0.375rem, 1.2vw, 0.625rem) auto clamp(0.875rem, 2.2vw, 1.125rem);
	padding: 0 clamp(1rem, 6vw, 3rem);
	background: linear-gradient(180deg, #234d96 0%, #173c7e 100%);
	color: #fff;
	box-shadow: 0 16px 34px rgba(20, 60, 110, 0.2);
	clip-path: polygon(0 24%, 7% 0, 93% 0, 100% 24%, 95% 50%, 100% 76%, 93% 100%, 7% 100%, 0 76%, 5% 50%);
}

.lbb-ribbon__text {
	display: block;
	font-family: 'Fraunces', serif;
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	font-weight: 700;
	line-height: 0.95;
	text-transform: uppercase;
	text-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.lbb-poster__headline {
	display: grid;
	justify-items: center;
	gap: clamp(0.25rem, 1vw, 0.375rem);
	margin-top: clamp(0.375rem, 1vw, 0.5rem);
}

.lbb-poster__lead {
	font-family: 'Fraunces', serif;
	font-size: clamp(1.1rem, 3vw, 1.8rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #1d3f79;
}

.lbb-character,
.lbb-float {
	position: absolute;
	user-select: none;
	will-change: transform;
	filter: drop-shadow(0 20px 30px rgba(20, 60, 95, 0.18));
}

.lbb-character {
	bottom: 0;
	max-width: 240px;
	animation: lbb-float-character 6s ease-in-out infinite;
	transform-origin: bottom center;
}

.lbb-character--left {
	left: -3%;
	width: min(26vw, 270px);
	animation-delay: -1.6s;
}

.lbb-character--top {
	top: -2%;
	left: 50%;
	bottom: auto;
	width: min(34vw, 360px);
	max-width: none;
	transform: translateX(-50%);
	z-index: 8;
	animation: none;
	filter: drop-shadow(0 22px 34px rgba(20, 60, 95, 0.22));
	opacity: 1;
}

.lbb-float {
	animation: lbb-float-prop 4.8s ease-in-out infinite;
	transform-origin: center;
}

.lbb-float--bow {
	top: 14%;
	left: 50%;
	width: min(18%, 138px);
	transform: translateX(-50%);
	animation-duration: 5.8s;
}

.lbb-float--bottle {
	left: 2.5%;
	top: 12%;
	width: min(10%, 72px);
	animation-delay: -1s;
	transform: rotate(-10deg);
}

.lbb-float--case {
	right: 9%;
	bottom: 3%;
	width: min(11%, 84px);
	border-radius: 18px;
	animation-delay: -2.3s;
	transform: rotate(8deg);
	opacity: 0.9;
}

.lbb-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0) scale(0.98);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--lbb-delay, 0ms);
}

.lbb-reveal[data-reveal='left'] {
	transform: translate3d(-32px, 0, 0) scale(0.98);
}

.lbb-reveal[data-reveal='right'] {
	transform: translate3d(32px, 0, 0) scale(0.98);
}

.lbb-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.lbb-kicker,
.lbb-subtitle,
.lbb-section-heading p,
.lbb-card p,
.lbb-card span,
.lbb-form span,
.lbb-form input,
.lbb-form select,
.lbb-notice,
.lbb-footer p {
	position: relative;
	z-index: 1;
}

.lbb-kicker {
	margin: 0 0 10px;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #1d3f79;
}

.lbb-title,
.lbb-card h2,
.lbb-section-heading h2,
.lbb-card h3,
.lbb-age {
	margin: 0;
	font-family: 'Fraunces', serif;
}

.lbb-title {
	max-width: 8ch;
	font-size: clamp(3.6rem, 10vw, 6.5rem);
	line-height: 0.92;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--lbb-accent);
	text-shadow: 0 10px 22px rgba(26, 143, 227, 0.18);
}

.lbb-age {
	margin-top: 0;
	font-size: clamp(2.8rem, 9vw, 6rem);
	line-height: 0.9;
	color: #12a8d8;
	text-shadow: 0 10px 20px rgba(18, 168, 216, 0.16);
}

.lbb-subtitle {
	max-width: 560px;
	margin: clamp(0.625rem, 1.6vw, 0.75rem) auto 0;
	color: #293f59;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
	text-wrap: pretty;
}

.lbb-poster__details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1rem);
	margin-top: clamp(1rem, 3vw, 1.75rem);
	padding-top: clamp(0.875rem, 2.5vw, 1.25rem);
	border-top: 2px dashed rgba(20, 78, 143, 0.22);
}

.lbb-poster__detail {
	display: grid;
	gap: 6px;
	padding: clamp(0.875rem, 2vw, 1.125rem) clamp(0.75rem, 1.8vw, 0.875rem);
	border-radius: clamp(1rem, 2.4vw, 1.5rem);
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(20, 78, 143, 0.12);
	box-shadow: 0 12px 28px rgba(20, 60, 110, 0.08);
}

.lbb-poster__detail strong {
	font-size: 1.28rem;
	line-height: 1.2;
	color: #183d74;
}

.lbb-poster__detail span:last-child,
.lbb-poster__detail a {
	color: #4f657e;
	line-height: 1.55;
}

.lbb-poster__detail span:last-child {
	font-size: 0.92rem;
}

.lbb-poster__detail--countdown {
	gap: 0.75rem;
}

.lbb-countdown {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.lbb-countdown__item {
	display: grid;
	justify-items: center;
	gap: 0.2rem;
	padding: 0.55rem 0.35rem;
	border-radius: 0.9rem;
	background: rgba(26, 143, 227, 0.08);
	border: 1px solid rgba(26, 143, 227, 0.12);
}

.lbb-countdown__value {
	font-family: 'Fraunces', serif;
	font-size: clamp(1.1rem, 2.2vw, 1.5rem);
	line-height: 1;
	color: #183d74;
	font-weight: 700;
}

.lbb-countdown__label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--lbb-muted);
}

.lbb-map-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(2.5rem, 4vw, 2.75rem);
	padding: 0 clamp(0.75rem, 2vw, 0.875rem);
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.12);
	color: #0d5ea8;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid rgba(26, 143, 227, 0.18);
}

.lbb-map-links {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(0.375rem, 1.4vw, 0.5rem);
	margin-top: clamp(0.375rem, 1.4vw, 0.5rem);
}

.lbb-map-link--waze {
	background: rgba(58, 184, 255, 0.12);
	color: #0a6aa8;
	border-color: rgba(58, 184, 255, 0.18);
}

.lbb-map-link:hover,
.lbb-map-link:focus-visible {
	background: rgba(26, 143, 227, 0.18);
}

.lbb-map-link--waze:hover,
.lbb-map-link--waze:focus-visible {
	background: rgba(58, 184, 255, 0.2);
}

.lbb-event-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.125rem);
	margin-top: clamp(1.25rem, 3vw, 2.25rem);
}

.lbb-event-meta > div,
.lbb-card,
.lbb-upload__card {
	border-radius: var(--lbb-radius);
	background: var(--lbb-panel);
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: var(--lbb-shadow);
}

.lbb-event-meta > div {
	padding: clamp(1rem, 2.4vw, 1.375rem);
	display: grid;
	gap: 6px;
}

.lbb-event-meta strong {
	font-size: 1.12rem;
	line-height: 1.35;
}

.lbb-event-meta span:last-child,
.lbb-event-meta a,
.lbb-card p,
.lbb-section-heading p,
.lbb-gallery figcaption span {
	color: var(--lbb-muted);
	line-height: 1.7;
}

.lbb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(0.625rem, 1.8vw, 0.875rem);
	justify-content: center;
	margin-top: clamp(1rem, 3vw, 1.5rem);
}

.lbb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(2.875rem, 5vw, 3.25rem);
	padding: 0 clamp(1rem, 3vw, 1.5rem);
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lbb-accent), #36a7f3);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 14px 32px rgba(26, 143, 227, 0.28);
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.lbb-button:hover,
.lbb-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(26, 143, 227, 0.34);
}

.lbb-button--ghost {
	background: rgba(255, 255, 255, 0.2);
	color: #f8fbff;
	border: 1px solid rgba(255, 255, 255, 0.34);
	box-shadow: none;
}

/* Upload loader */
.lbb-upload-btn-spinner {
	display: none;
	width: 1.1rem;
	height: 1.1rem;
	margin-left: 0.5rem;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: lbb-spin 0.65s linear infinite;
}

[data-upload-submit].is-uploading .lbb-upload-btn-spinner {
	display: inline-block;
}

[data-upload-submit].is-uploading {
	opacity: 0.75;
	pointer-events: none;
	cursor: wait;
}

/* Photo modal (loader + success) */
.lbb-photo-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.lbb-photo-modal[hidden] {
	display: none;
}

.lbb-photo-modal__backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	background: rgba(5, 25, 50, 0.72);
	backdrop-filter: blur(4px);
}

.lbb-photo-modal__box {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	background: #fff;
	border-radius: 1.5rem;
	padding: 1.75rem 1.75rem 1.5rem;
	width: 100%;
	max-width: 20rem;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

/* Success box pop-in */
.lbb-photo-modal__box.is-success {
	animation: lbb-modal-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes lbb-modal-pop {
	from { transform: scale(0.78); opacity: 0; }
	to   { transform: scale(1);    opacity: 1; }
}

/* Spinner */
.lbb-photo-modal__spinner {
	width: 3.5rem;
	height: 3.5rem;
	border: 4px solid rgba(26, 143, 227, 0.15);
	border-top-color: var(--lbb-accent);
	border-radius: 50%;
	animation: lbb-spin 0.75s linear infinite;
}

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

/* Shared text */
.lbb-photo-modal__title {
	margin: 0;
	font-weight: 800;
	font-size: 1rem;
	color: var(--lbb-ink);
}

.lbb-photo-modal__sub {
	margin: 0;
	font-size: 0.8rem;
	color: #888;
}

/* Success panel elements */
.lbb-photo-modal__stars {
	display: flex;
	gap: 0.25rem;
	font-size: 1.1rem;
	justify-content: center;
}

.lbb-star {
	display: inline-block;
	animation: lbb-star-bounce 0.5s ease both;
}

.lbb-star--1 { animation-delay: 0.08s; }
.lbb-star--2 { animation-delay: 0.18s; }
.lbb-star--3 { animation-delay: 0.28s; }
.lbb-star--4 { animation-delay: 0.38s; }
.lbb-star--5 { animation-delay: 0.48s; }

@keyframes lbb-star-bounce {
	0%   { transform: scale(0) translateY(6px); opacity: 0; }
	60%  { transform: scale(1.35) translateY(-4px); opacity: 1; }
	100% { transform: scale(1) translateY(0); opacity: 1; }
}

.lbb-photo-modal__img {
	width: 5.5rem;
	height: auto;
	display: block;
	animation: lbb-modal-rise 0.5s 0.15s ease both;
}

@keyframes lbb-modal-rise {
	from { transform: translateY(12px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.lbb-photo-modal__pts {
	margin: 0;
	font-size: 0.95rem;
	color: var(--lbb-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	flex-wrap: wrap;
}

.lbb-photo-modal__pts strong {
	font-size: 1.15rem;
}

.lbb-photo-modal__actions {
	display: flex;
	gap: 0.6rem;
	width: 100%;
}

.lbb-photo-modal__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0 0.9rem;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: opacity 0.2s;
}

.lbb-photo-modal__btn--ghost {
	background: rgba(26, 143, 227, 0.08);
	border: 1.5px solid rgba(26, 143, 227, 0.18);
	color: var(--lbb-accent-dark);
}

.lbb-photo-modal__btn--primary {
	background: linear-gradient(135deg, var(--lbb-accent), var(--lbb-accent-dark));
	color: #fff;
	box-shadow: 0 8px 20px rgba(26, 143, 227, 0.28);
}

.lbb-photo-modal__btn:hover,
.lbb-photo-modal__btn:focus-visible {
	opacity: 0.84;
}
/* /Photo modal */

/* Coin icon */
.lbb-coin-icon {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 0.12em;
	flex-shrink: 0;
}
/* /Coin icon */

/* Back to top */
.lbb-back-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.25rem;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lbb-accent), var(--lbb-accent-dark));
	color: #fff;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(26, 143, 227, 0.38);
	transition: opacity 0.25s ease, transform 0.25s ease;
	opacity: 0;
	transform: translateY(0.75rem);
}

.lbb-back-top[hidden] {
	display: flex;
	visibility: hidden;
	pointer-events: none;
}

.lbb-back-top.is-visible {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.lbb-back-top:hover,
.lbb-back-top:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(26, 143, 227, 0.45);
}
/* /Back to top */

.lbb-story,
.lbb-timeline,
.lbb-challenges,
.lbb-upload,
.lbb-gallery {
	margin-top: var(--lbb-section-gap);
}

.lbb-story {
	align-items: stretch;
}

.lbb-story > * {
	flex: 1;
}

.lbb-card {
	position: relative;
	padding: var(--lbb-card-pad);
	overflow: hidden;
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.lbb-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 62px rgba(17, 58, 91, 0.18);
	border-color: rgba(26, 143, 227, 0.2);
}

.lbb-card--highlight {
	background:
		linear-gradient(135deg, rgba(15, 100, 174, 0.94), rgba(26, 143, 227, 0.9)),
		linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
	color: #fff;
}

.lbb-card--highlight .lbb-section-label,
.lbb-card--highlight p {
	color: rgba(255, 255, 255, 0.8);
}

.lbb-card h2 {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-top: 12px;
	line-height: 1;
	text-wrap: balance;
}

.lbb-card h3 {
	margin-top: 12px;
	font-size: 1.45rem;
	line-height: 1.15;
	text-wrap: balance;
}

.lbb-timeline__item h3 {
	margin-top: 0;
}

.lbb-section-heading {
	max-width: 720px;
	margin-bottom: clamp(1rem, 2vw, 1.25rem);
}

.lbb-section-heading h2 {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1;
	margin-top: 10px;
	text-wrap: balance;
}

.lbb-timeline__items,
.lbb-challenge-grid,
.lbb-gallery__grid {
	display: grid;
	gap: clamp(0.875rem, 2vw, 1.125rem);
}

.lbb-timeline__items {
	position: relative;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 3vw, 1.5rem);
}

.lbb-timeline__items::before {
	content: '';
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 50%;
	width: 4px;
	transform: translateX(-50%);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(26, 143, 227, 0.18), rgba(13, 94, 168, 0.5), rgba(26, 143, 227, 0.18));
}

.lbb-timeline__row {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
}

.lbb-timeline__row::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 50%;
	width: 18px;
	height: 18px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: #fff;
	border: 4px solid var(--lbb-accent);
	box-shadow: 0 0 0 8px rgba(26, 143, 227, 0.12);
}

.lbb-timeline__row--left .lbb-timeline__item {
	grid-column: 1;
	margin-right: 9%;
}

.lbb-timeline__row--right .lbb-timeline__item {
	grid-column: 2;
	margin-left: 9%;
}

.lbb-timeline__item {
	padding: clamp(1rem, 2.4vw, 1.5rem);
	padding-bottom: clamp(1.125rem, 2.6vw, 1.625rem);
}

.lbb-timeline__item::before {
	content: '';
	position: absolute;
	top: 30px;
	width: min(8%, 30px);
	height: 2px;
	background: rgba(26, 143, 227, 0.26);
}

.lbb-timeline__row--left .lbb-timeline__item::before {
	right: -8%;
}

.lbb-timeline__row--right .lbb-timeline__item::before {
	left: -8%;
}

.lbb-timeline__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: clamp(2.5rem, 5vw, 3rem);
	height: clamp(2.5rem, 5vw, 3rem);
	padding: 0 clamp(0.625rem, 1.8vw, 0.75rem);
	border-radius: clamp(0.875rem, 2vw, 1rem);
	background: rgba(26, 143, 227, 0.1);
	font-size: 1.5rem;
	line-height: 1;
}

.lbb-timeline__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 8px 14px rgba(13, 94, 168, 0.16));
}

.lbb-timeline__header {
	display: flex;
	align-items: center;
	gap: clamp(0.625rem, 1.8vw, 0.75rem);
	margin-bottom: clamp(0.75rem, 2vw, 0.875rem);
}

.lbb-timeline__item p {
	font-size: 0.96rem;
	line-height: 1.65;
}

.lbb-timeline__list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: clamp(0.375rem, 1.5vw, 0.5rem);
	color: var(--lbb-muted);
	font-size: 0.96rem;
	line-height: 1.55;
}

.lbb-timeline__list li {
	position: relative;
	padding-left: 18px;
}

.lbb-timeline__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lbb-accent);
	box-shadow: 0 0 0 4px rgba(26, 143, 227, 0.12);
}

.lbb-timeline__time {
	position: static;
	width: auto;
	height: auto;
	padding: 10px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lbb-accent), var(--lbb-accent-dark));
	color: #fff;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 12px 24px rgba(13, 94, 168, 0.22);
}

.lbb-challenge-card__index {
	position: absolute;
	top: clamp(1rem, 2vw, 1.375rem);
	left: clamp(1rem, 2vw, 1.375rem);
	width: clamp(2.875rem, 6vw, 3.625rem);
	height: clamp(2.875rem, 6vw, 3.625rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lbb-accent), var(--lbb-accent-dark));
	color: #fff;
	font-size: 0.95rem;
	font-weight: 800;
	box-shadow: 0 12px 24px rgba(13, 94, 168, 0.22);
}

.lbb-challenges {
	padding: clamp(1.5rem, 5vw, 3.875rem) 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(211, 236, 248, 0.52));
}

.lbb-challenge-grid {
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: clamp(0.5rem, 1.2vw, 0.75rem);
}

.lbb-challenges__tired-img {
	display: block;
	width: min(100%, 16rem);
	height: auto;
	margin: 2rem auto;
	border-radius: 1rem;
}

.lbb-challenge-card {
	min-height: 0;
	padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
}

.lbb-card.lbb-challenge-card.lbb-reveal.is-visible {
	padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
	min-height: 0;
}

.lbb-card.lbb-challenge-card.lbb-reveal.is-visible h3 {
	margin-top: 0;
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.15;
}

.lbb-card.lbb-challenge-card.lbb-reveal.is-visible p {
	font-size: clamp(0.8rem, 1.5vw, 0.88rem);
	line-height: 1.45;
}

.lbb-challenge-card__details {
	display: grid;
	gap: 0;
}

.lbb-challenge-card__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
	list-style: none;
}

.lbb-challenge-card__summary::-webkit-details-marker {
	display: none;
}

.lbb-challenge-card__summary h3 {
	margin: 0;
}

.lbb-challenge-card__chevron {
	width: 0.8rem;
	height: 0.8rem;
	border-right: 2px solid var(--lbb-accent-dark);
	border-bottom: 2px solid var(--lbb-accent-dark);
	transform: rotate(45deg);
	transition: transform 220ms ease;
	margin-right: 0.1rem;
}

.lbb-challenge-card__details[open] .lbb-challenge-card__chevron {
	transform: rotate(225deg);
	margin-top: 0.3rem;
}

.lbb-challenge-card__content {
	display: grid;
	gap: clamp(0.5rem, 1.4vw, 0.75rem);
	padding-top: 0.875rem;
	margin-top: 0.875rem;
	border-top: 1px solid rgba(24, 48, 75, 0.08);
}

.lbb-challenge-card.is-completed {
	border-color: rgba(50, 172, 107, 0.28);
	box-shadow: 0 20px 44px rgba(17, 58, 91, 0.12);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 249, 241, 0.96));
}

.lbb-challenge-card.has-upload {
	border-color: rgba(50, 172, 107, 0.4);
	box-shadow: 0 20px 44px rgba(17, 100, 58, 0.14);
	background: linear-gradient(180deg, rgba(240, 255, 247, 0.98), rgba(210, 245, 228, 0.96));
}

.lbb-challenge-card__points,
.lbb-challenge-card__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.22rem 0.42rem;
	border-radius: 999px;
	font-size: 0.6rem;
	font-weight: 800;
	line-height: 1;
}

.lbb-challenge-card__points {
	width: fit-content;
	min-width: 0;
	justify-self: start;
	background: rgba(12, 94, 168, 0.12);
	color: var(--lbb-accent-dark);
	border: 1px solid rgba(12, 94, 168, 0.16);
}

.lbb-challenge-card__status {
	margin-top: auto;
	background: rgba(50, 172, 107, 0.14);
	color: #11643d;
	width: fit-content;
}

.lbb-challenge-card__status--pending {
	background: rgba(24, 48, 75, 0.08);
	color: var(--lbb-muted);
}

.lbb-challenge-card__status--uploaded {
	background: rgba(26, 143, 227, 0.12);
	color: var(--lbb-accent-dark);
}

.lbb-challenge-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 2rem;
	padding: 0 0.7rem;
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.1);
	border: 1px solid rgba(26, 143, 227, 0.14);
	color: var(--lbb-accent-dark);
	font-size: 0.74rem;
	font-weight: 700;
	text-decoration: none;
}

.lbb-challenge-card__action:hover,
.lbb-challenge-card__action:focus-visible {
	background: rgba(26, 143, 227, 0.16);
}

.lbb-challenge-card__action.is-replace {
	background: rgba(12, 94, 168, 0.14);
	border-color: rgba(12, 94, 168, 0.18);
}

.lbb-scoreboard,
.lbb-player-panel {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding: 0.75rem 1rem;
	border-radius: 1rem;
	background: linear-gradient(135deg, rgba(15, 100, 174, 0.92), rgba(54, 167, 243, 0.88));
	color: #fff;
	box-shadow: 0 10px 24px rgba(17, 58, 91, 0.14);
}

.lbb-scoreboard strong,
.lbb-player-panel strong,
.lbb-player-panel h3 {
	margin: 0;
	color: #fff;
}

.lbb-scoreboard span,
.lbb-player-panel span,
.lbb-player-panel p,
.lbb-scoreboard__note {
	color: rgba(255, 255, 255, 0.84);
}

.lbb-scoreboard__hero,
.lbb-player-panel__score {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
}

.lbb-scoreboard__hero strong,
.lbb-player-panel__score strong {
	font-family: 'Fraunces', serif;
	font-size: clamp(1.6rem, 5vw, 2.2rem);
	line-height: 1;
}

.lbb-scoreboard__hero span,
.lbb-player-panel__score span {
	font-size: 0.8rem;
	font-weight: 700;
	opacity: 0.8;
}

.lbb-scoreboard__meta,
.lbb-player-panel__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.lbb-scoreboard__meta > div,
.lbb-player-panel__stats > div {
	display: flex;
	align-items: baseline;
	gap: 0.3rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 0.8rem;
}

.lbb-scoreboard__meta > div strong,
.lbb-player-panel__stats > div strong {
	font-size: 0.9rem;
}

.lbb-scoreboard__meta > div span,
.lbb-player-panel__stats > div span {
	font-size: 0.75rem;
	opacity: 0.8;
}

.lbb-player-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.lbb-player-panel__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.lbb-player-panel__note,
.lbb-scoreboard__note {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
    color: white !important;
}

.lbb-upload__card {
	padding: clamp(1rem, 3vw, 2.125rem);
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: clamp(1rem, 3vw, 1.625rem);
	align-items: start;
}

.lbb-upload__card > * {
	min-width: 0;
}

.lbb-form {
	display: grid;
	gap: clamp(0.875rem, 2vw, 1.125rem);
	min-width: 0;
}

.lbb-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.8vw, 0.875rem);
	min-width: 0;
}

.lbb-form label {
	display: grid;
	gap: clamp(0.375rem, 1vw, 0.5rem);
	min-width: 0;
}

.lbb-form span {
	font-size: 0.9rem;
	font-weight: 700;
}

.lbb-form input,
.lbb-form select,
.lbb-form textarea {
	width: 100%;
	min-height: clamp(3rem, 5vw, 3.25rem);
	padding: 0 clamp(0.75rem, 2vw, 1rem);
	box-sizing: border-box;
	border-radius: 16px;
	border: 1px solid var(--lbb-line);
	background: rgba(255, 255, 255, 0.92);
	font: inherit;
	font-size: 16px;
	color: var(--lbb-ink);
}

.lbb-form__upload input {
	padding: clamp(0.625rem, 1.8vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
	min-height: auto;
}

/* Custom upload trigger */
.lbb-form__upload {
	position: relative;
}

.lbb-upload-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	min-height: 3.25rem;
	padding: 0 1.25rem;
	border-radius: 16px;
	border: 2px dashed rgba(26, 143, 227, 0.35);
	background: rgba(26, 143, 227, 0.05);
	color: var(--lbb-accent-dark);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.18s, background 0.18s;
	box-sizing: border-box;
}

.lbb-upload-trigger:hover,
.lbb-upload-trigger:focus-visible {
	border-color: var(--lbb-accent);
	background: rgba(26, 143, 227, 0.1);
	outline: none;
}

.lbb-upload-trigger.has-files {
	border-style: solid;
	border-color: var(--lbb-accent);
	background: rgba(26, 143, 227, 0.08);
}

.lbb-upload-trigger__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4rem;
	height: 1.4rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: var(--lbb-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 900;
	flex-shrink: 0;
}

.lbb-upload-trigger__badge[hidden] {
	display: none;
}

.lbb-upload-trigger__hint {
	margin: 0.4rem 0 0;
	padding: 0 0.25rem;
	font-size: 0.78rem;
	color: var(--lbb-muted);
	min-height: 1em;
}
/* /Custom upload trigger */

.lbb-form__helper {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 0.9rem;
	border-radius: 14px;
	background: rgba(26, 143, 227, 0.08);
	color: var(--lbb-accent-dark);
	font-size: 0.86rem;
	font-weight: 700;
}

.lbb-form__helper-action {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lbb-accent-dark);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.lbb-form__hint {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.55;
	color: var(--lbb-muted);
}

.lbb-notice {
	margin-bottom: clamp(0.625rem, 1.8vw, 0.875rem);
	padding: clamp(0.75rem, 1.8vw, 0.875rem) clamp(0.875rem, 2vw, 1rem);
	border-radius: 14px;
	font-weight: 700;
}

.lbb-notice--success {
	background: rgba(50, 172, 107, 0.12);
	color: #11643d;
}

.lbb-notice--error {
	background: rgba(201, 68, 79, 0.12);
	color: #8d1e28;
}

.lbb-gallery__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lbb-community {
	display: grid;
	gap: clamp(1rem, 3vw, 1.5rem);
	margin-top: clamp(1rem, 3vw, 2rem);
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.lbb-community__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.4vw, 1.5rem);
}

.lbb-community__panel,
.lbb-leaderboard {
	display: grid;
	gap: clamp(0.875rem, 2vw, 1.125rem);
}

.lbb-community__header {
	display: grid;
	gap: 0.35rem;
}

.lbb-community__header h2 {
	margin-bottom: 0;
}

.lbb-community__empty {
	margin: 0;
	color: var(--lbb-muted);
}

.lbb-photo-stack,
.lbb-recent-grid,
.lbb-leaderboard__list {
	display: grid;
	gap: 0.35rem;
}

.lbb-photo-stack {
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(0.4rem, 1.5vw, 0.75rem);
}

.lbb-photo-stack__item,
.lbb-recent-grid__item {
	display: grid;
	gap: 0.75rem;
	padding: clamp(0.75rem, 2vw, 0.875rem);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(24, 48, 75, 0.08);
}

.lbb-photo-stack__item[hidden] {
	display: none;
}


.lbb-photo-stack__media,
.lbb-recent-grid__media {
	display: grid;
	place-items: center;
	padding: clamp(0.35rem, 1.4vw, 0.5rem);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 252, 0.92)),
		radial-gradient(circle at top, rgba(26, 143, 227, 0.08), transparent 58%);
	overflow: hidden;
}

.lbb-photo-stack__media {
	aspect-ratio: 1 / 1;
	max-height: 220px;
}

.lbb-photo-stack__media-trigger {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	overflow: hidden;
	border-radius: 12px;
}

.lbb-photo-stack__media-zoom {
	position: absolute;
	bottom: 0.55rem;
	right: 0.55rem;
	width: 1.6rem;
	height: 1.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(24, 48, 75, 0.70);
	color: #fff;
	pointer-events: none;
}

.lbb-recent-grid__media {
	aspect-ratio: 1 / 1;
}

.lbb-photo-stack__item img,
.lbb-recent-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.4);
}

.lbb-photo-stack__item figcaption,
.lbb-recent-grid__item figcaption {
	display: grid;
	gap: 0.25rem;
}

.lbb-photo-stack__item figcaption span,
.lbb-recent-grid__item figcaption span {
	font-size: 0.86rem;
	color: var(--lbb-muted);
}

.lbb-photo-stack__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.lbb-photo-stack__actions form {
	margin: 0;
}

.lbb-photo-stack__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(26, 143, 227, 0.16);
	background: rgba(26, 143, 227, 0.12);
	color: var(--lbb-accent-dark);
	font: inherit;
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.lbb-photo-stack__button--ghost {
	background: rgba(24, 48, 75, 0.06);
	border-color: rgba(24, 48, 75, 0.12);
	color: var(--lbb-ink);
}

.lbb-photo-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.6rem 0 0.25rem;
}

.lbb-photo-pagination__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	border: 1px solid rgba(24, 48, 75, 0.14);
	background: rgba(255, 255, 255, 0.9);
	color: var(--lbb-ink);
	cursor: pointer;
	transition: background 180ms ease, transform 180ms ease;
}

.lbb-photo-pagination__btn:hover:not(:disabled) {
	background: rgba(26, 143, 227, 0.1);
	transform: scale(1.06);
}

.lbb-photo-pagination__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.lbb-photo-pagination__info {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--lbb-muted);
	min-width: 3rem;
	text-align: center;
}

.lbb-recent-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(0.4rem, 1.5vw, 0.75rem);
}

.lbb-leaderboard__row {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 12px;
	background: rgba(24, 48, 75, 0.04);
	border: 1px solid rgba(24, 48, 75, 0.07);
}

.lbb-leaderboard__row.is-active {
	background: rgba(26, 143, 227, 0.1);
	border-color: rgba(26, 143, 227, 0.22);
}

.lbb-leaderboard__place {
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--lbb-muted);
	text-align: center;
	white-space: nowrap;
}

.lbb-leaderboard__score {
	font-weight: 800;
	font-size: 0.85rem;
	white-space: nowrap;
	color: var(--lbb-accent-dark);
}

.lbb-leaderboard__identity {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	overflow: hidden;
}

.lbb-leaderboard__name {
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flexible: 1 1 0;
	flex: 1 1 0;
	min-width: 0;
}

.lbb-leaderboard__meta {
	font-size: 0.72rem;
	color: var(--lbb-muted);
	white-space: nowrap;
	flex-shrink: 0;
}

.lbb-leaderboard__avatar {
	width: 1.75rem;
	height: 1.75rem;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(26, 143, 227, 0.18), rgba(12, 94, 168, 0.26));
	color: var(--lbb-accent-dark);
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: inset 0 0 0 1px rgba(12, 94, 168, 0.08);
}

.lbb-gallery__item {
	padding: clamp(0.75rem, 1.8vw, 0.875rem);
}

.lbb-gallery__item img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
	border-radius: 20px;
	transition: transform 350ms ease;
}

.lbb-gallery__item:hover img {
	transform: scale(1.03);
}

.lbb-gallery figcaption {
	display: grid;
	gap: 4px;
	padding: clamp(0.75rem, 1.8vw, 0.875rem) clamp(0.25rem, 1vw, 0.375rem) clamp(0.125rem, 0.5vw, 0.25rem);
}

.lbb-footer {
	padding: clamp(1rem, 2.5vw, 1.375rem) 0 clamp(1.5rem, 3.5vw, 2.375rem);
}

.lbb-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 1.5rem);
	padding-top: clamp(0.75rem, 1.8vw, 0.875rem);
	border-top: 1px solid rgba(24, 48, 75, 0.1);
}

.lbb-footer__gift {
	display: grid;
	gap: 0.8rem;
	padding: clamp(1rem, 2.4vw, 1.375rem);
	min-width: 0;
	border-radius: 1.75rem;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(236, 247, 253, 0.94)),
		radial-gradient(circle at top right, rgba(200, 167, 95, 0.12), transparent 34%);
	border: 1px solid rgba(24, 48, 75, 0.08);
	box-shadow: 0 18px 38px rgba(17, 58, 91, 0.08);
}

.lbb-footer__gift h2,
.lbb-footer__gift p {
	margin: 0;
}

.lbb-footer__gift h2 {
	max-width: 24ch;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.12;
}

.lbb-footer__gift-lead {
	font-size: 1rem;
	font-weight: 700;
	color: var(--lbb-ink);
}

.lbb-footer__gift-note {
	max-width: 62ch;
	color: var(--lbb-muted);
	line-height: 1.65;
}

.lbb-footer__gift-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.lbb-footer__gift-options span {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.1rem;
	min-height: 2.25rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: rgba(26, 143, 227, 0.08);
	border: 1px solid rgba(26, 143, 227, 0.12);
	color: var(--lbb-accent-dark);
	font-size: 0.85rem;
	font-weight: 700;
}

.lbb-footer__gift-options span small {
	font-size: 0.72rem;
	font-weight: 500;
	color: #888;
}

.lbb-footer__gift-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: min(100%, 20rem);
	max-width: 100%;
	min-height: 2.75rem;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--lbb-accent), var(--lbb-accent-dark));
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	box-shadow: 0 12px 24px rgba(13, 94, 168, 0.16);
}

.lbb-footer__gift-link:hover,
.lbb-footer__gift-link:focus-visible {
	opacity: 0.88;
}

/* IBAN card */
.lbb-footer__iban-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 30rem;
	background: rgba(26, 143, 227, 0.06);
	border: 1px solid rgba(26, 143, 227, 0.18);
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.lbb-footer__iban-row {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.lbb-footer__iban-label {
	flex: 0 0 auto;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--lbb-accent-dark);
	min-width: 5.5rem;
}

.lbb-footer__iban-value {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--lbb-ink);
	word-break: break-word;
}

.lbb-footer__iban-code {
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.88rem;
	letter-spacing: 0.05em;
}

.lbb-footer__iban-row--iban {
	align-items: center;
}

.lbb-footer__iban-copy {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-left: 0.25rem;
	padding: 0.25rem 0.6rem;
	background: rgba(26, 143, 227, 0.1);
	border: 1px solid rgba(26, 143, 227, 0.22);
	border-radius: 999px;
	color: var(--lbb-accent-dark);
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.lbb-footer__iban-copy:hover,
.lbb-footer__iban-copy:focus-visible {
	background: var(--lbb-accent);
	color: #fff;
}

.lbb-footer__iban-copy.is-copied {
	background: #17a34a;
	border-color: #17a34a;
	color: #fff;
}

/* /IBAN card */

.lbb-footer__gift-img {
	display: block;
	width: min(100%, 18rem);
	height: auto;
	border-radius: 1rem;
	margin: 0 auto;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.lbb-footer__signature {
	grid-column: 1 / -1;
	margin: 0;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--lbb-accent-dark);
	letter-spacing: 0.04em;
}

@keyframes lbb-card-entrance {
	0% {
		opacity: 0;
		transform: perspective(1400px) rotateX(8deg) translateY(36px) scale(0.97);
	}
	100% {
		opacity: 1;
		transform: perspective(1400px) rotateX(0deg) translateY(0) scale(1);
	}
}

@keyframes lbb-float-character {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-10px) rotate(1.2deg);
	}
}

@keyframes lbb-float-prop {
	0%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
	50% {
		transform: translate3d(0, -8px, 0) rotate(4deg);
	}
}

@keyframes lbb-float-backdrop {
	0%,
	100% {
		transform: translateY(0) scale(1.02);
	}
	50% {
		transform: translateY(-12px) scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lbb-hero__backdrop-image {
		animation: none;
	}
}

@media (max-width: 980px) {
	:root {
		--lbb-gutter: clamp(0.75rem, 3.5vw, 1.5rem);
	}

	.lbb-journey__step {
		width: min(100%, calc(42% - 1.4rem));
	}

	.lbb-section-index__nav {
		gap: 0.6rem;
	}

	.lbb-event-meta,
	.lbb-gallery__grid,
	.lbb-upload__card,
	.lbb-community__grid,
	.lbb-timeline__items,
	.lbb-form__grid,
	.lbb-story {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.lbb-challenge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lbb-hero__inner {
		padding: clamp(5.5rem, 15vw, 7.875rem) clamp(0.875rem, 3vw, 1.25rem) clamp(1.25rem, 4vw, 2rem);
	}

	.lbb-character {
		max-width: 180px;
	}

	.lbb-character--top {
		top: -1.5%;
		width: min(34vw, 260px);
		max-width: none;
	}

	.lbb-character--left {
		left: -1.5%;
		width: min(27vw, 190px);
	}

	.lbb-upload__card {
		display: grid;
	}

	.lbb-challenge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lbb-scoreboard__meta,
	.lbb-player-panel__stats {
		grid-template-columns: 1fr 1fr;
	}

	.lbb-event-meta {
		margin-top: clamp(1.125rem, 3vw, 1.75rem);
	}

	.lbb-poster__stage {
		padding: clamp(5.25rem, 14vw, 6.875rem) clamp(1rem, 4vw, 1.75rem) clamp(1.125rem, 3vw, 1.75rem);
		border-radius: clamp(1.5rem, 4vw, 2.5rem);
	}

	.lbb-poster__stage::before {
		inset: clamp(0.625rem, 1.8vw, 0.75rem);
		border-radius: clamp(1rem, 3vw, 1.875rem);
	}

	.lbb-poster__details {
		grid-template-columns: 1fr;
	}

	.lbb-challenge-card,
	.lbb-timeline__item {
		min-height: 0;
	}

	.lbb-timeline__items::before {
		left: 3.5%;
		transform: none;
	}

	.lbb-timeline__row {
		grid-template-columns: 1fr;
	}

	.lbb-timeline__row::before {
		left: 3.5%;
		transform: none;
	}

	.lbb-timeline__row--left .lbb-timeline__item,
	.lbb-timeline__row--right .lbb-timeline__item {
		grid-column: 1 / -1;
		margin-left: 7.5%;
		margin-right: 0;
	}

	.lbb-timeline__item::before,
	.lbb-timeline__row--left .lbb-timeline__item::before,
	.lbb-timeline__row--right .lbb-timeline__item::before {
		left: -5%;
		right: auto;
		width: 5%;
	}
}

@media (max-width: 820px) {
	:root {
		--lbb-gutter: clamp(0.75rem, 4vw, 1.25rem);
	}

	.lbb-footer__inner {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.lbb-challenge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lbb-topbar__inner {
		gap: 12px;
	}

	.lbb-topbar__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.lbb-footer__gift-link {
		width: 100%;
	}

	.lbb-topbar__phone {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 0 16px;
		border-radius: 999px;
		background: rgba(26, 143, 227, 0.1);
	}

	.lbb-topbar__cta {
		min-height: 44px;
		padding: 0 16px;
	}

	.lbb-hero {
		padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.25rem);
	}

	.lbb-hero__backdrop {
		inset: 0;
	}

	.lbb-hero__backdrop-image {
		object-position: 58% top;
	}

	.lbb-hero__confetti {
		height: min(48vw, 260px);
	}

	.lbb-hero::before {
		inset: clamp(0.625rem, 1.5vw, 0.75rem) clamp(3%, 4vw, 1.125rem) auto;
		height: clamp(0.5rem, 1.4vw, 0.75rem);
	}

	.lbb-hero::after {
		width: clamp(10rem, 26vw, 13.75rem);
		height: clamp(10rem, 26vw, 13.75rem);
		right: -9%;
		top: 2%;
	}

	.lbb-hero__inner {
		padding: clamp(5rem, 14vw, 7.5rem) clamp(0.75rem, 2.4vw, 0.875rem) clamp(1rem, 3vw, 1.5rem);
		border-radius: clamp(1.5rem, 4vw, 1.875rem);
	}

	.lbb-poster__stage {
		padding: clamp(4.75rem, 13vw, 6.5rem) clamp(0.875rem, 3vw, 1.375rem) clamp(1rem, 3vw, 1.5rem);
	}

	.lbb-ribbon {
		min-height: clamp(3.5rem, 7vw, 5.125rem);
		padding: 0 clamp(1rem, 5vw, 2rem);
	}

	.lbb-float--bow {
		top: 10%;
		width: 116px;
		left: auto;
		right: 3%;
		transform: rotate(8deg);
	}

	.lbb-float--bottle {
		left: 1%;
		top: auto;
		bottom: 10%;
		width: 76px;
		transform: rotate(-12deg);
	}

	.lbb-float--case {
		right: 1%;
		bottom: 3%;
		width: 96px;
		transform: rotate(-2deg);
	}

	.lbb-hero__inner::before {
		inset: 12px;
		border-radius: 22px;
	}

	.lbb-title {
		max-width: none;
	}

	.lbb-event-meta > div {
		padding: clamp(0.875rem, 2vw, 1.125rem);
	}

	.lbb-upload__card {
		padding: clamp(1rem, 3vw, 1.75rem) clamp(0.875rem, 2.8vw, 1.375rem);
		gap: clamp(0.875rem, 2vw, 1.125rem);
		grid-template-columns: 1fr;
	}

	.lbb-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lbb-player-panel__header {
		flex-direction: column;
	}
}

@media (max-width: 680px) {
	:root {
		--lbb-gutter: clamp(0.625rem, 4vw, 1rem);
	}

	.lbb-journey__track::before {
		left: 0.625rem;
		transform: none;
	}

	.lbb-journey__step,
	.lbb-journey__step--left,
	.lbb-journey__step--right {
		width: calc(100% - 1.75rem);
		justify-self: end;
		margin: 0 0 0 auto;
	}

	.lbb-journey__summary {
		grid-template-columns: auto minmax(0, 1fr) 3.2rem auto;
	}

	.lbb-section-index__link {
		flex: 1 1 calc(50% - 0.6rem);
	}

	.lbb-journey__step--left .lbb-journey__dot,
	.lbb-journey__step--right .lbb-journey__dot {
		left: -1.55rem;
		right: auto;
	}

	.lbb-challenge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(0.75rem, 3vw, 1rem);
	}

	.lbb-topbar__inner,
	.lbb-footer__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.lbb-footer__gift-options {
		flex-direction: column;
	}

	.lbb-footer__gift-link {
		width: 100%;
	}

	.lbb-topbar__actions {
		justify-content: stretch;
	}

	.lbb-topbar {
		position: relative;
	}

	.lbb-topbar__title {
		font-size: 0.95rem;
        flex: 1;
	}

	.lbb-topbar__phone,
	.lbb-topbar__cta {
		width: 100%;
		box-sizing: border-box;
	}

	.lbb-character {
		opacity: 0.85;
		max-width: 132px;
	}

	.lbb-character--top {
		top: -0.5%;
		left: 50%;
		width: min(42vw, 200px);
		max-width: none;
		opacity: 1;
	}

	.lbb-character--left {
		left: -4%;
		bottom: -1%;
		width: min(28vw, 132px);
	}

	.lbb-hero {
		padding: clamp(1.5rem, 5vw, 1.75rem) 0 clamp(1.25rem, 4vw, 1.625rem);
	}

	.lbb-hero__backdrop {
		inset: 0;
	}

	.lbb-hero__backdrop-image {
		object-position: 60% top;
	}

	.lbb-hero__confetti {
		height: min(52vw, 220px);
		opacity: 0.7;
	}

	.lbb-poster__stage {
		padding: clamp(4.25rem, 12vw, 5.625rem) clamp(0.875rem, 3vw, 1rem) clamp(0.875rem, 2.4vw, 1.125rem);
		border-width: clamp(0.3125rem, 1vw, 0.375rem);
		border-radius: clamp(1.25rem, 4vw, 1.875rem);
	}

	.lbb-ribbon {
		min-height: clamp(3rem, 7vw, 4.25rem);
		width: min(100%, 290px);
		padding: 0 clamp(0.875rem, 4vw, 1rem);
		margin-bottom: clamp(0.625rem, 2vw, 0.875rem);
	}

	.lbb-ribbon__text {
		font-size: clamp(1.8rem, 9vw, 3rem);
	}

	.lbb-poster__lead {
		font-size: 0.92rem;
	}

	.lbb-title {
		font-size: clamp(2.8rem, 18vw, 4rem);
	}

	.lbb-age {
		font-size: clamp(2.2rem, 14vw, 4rem);
	}

	.lbb-kicker,
	.lbb-topbar__eyebrow,
	.lbb-section-label,
	.lbb-meta-label {
		letter-spacing: 0.14em;
		font-size: 0.68rem;
	}

	.lbb-subtitle,
	.lbb-card p,
	.lbb-section-heading p {
		font-size: 0.88rem;
		line-height: 1.65;
	}

	.lbb-subtitle {
		max-width: 34ch;
		font-size: 0.74rem;
		line-height: 1.28;
	}

	.lbb-poster__detail strong {
		font-size: 1.08rem;
	}

	.lbb-countdown__value {
		font-size: 1.1rem;
	}

	.lbb-poster__details {
		gap: clamp(0.5rem, 1.6vw, 0.625rem);
		margin-top: clamp(0.875rem, 2.4vw, 1.125rem);
		padding-top: clamp(0.75rem, 1.8vw, 0.875rem);
	}

	.lbb-poster__detail {
		gap: 5px;
		padding: clamp(0.75rem, 2vw, 0.875rem) clamp(0.625rem, 1.8vw, 0.75rem);
		border-radius: clamp(0.875rem, 3vw, 1.125rem);
	}

	.lbb-map-links {
		flex-direction: column;
	}

	.lbb-map-link {
		width: 100%;
		box-sizing: border-box;
	}

	.lbb-card,
	.lbb-upload__card {
		padding: clamp(1rem, 3vw, 1.25rem);
		border-radius: clamp(1.125rem, 4vw, 1.5rem);
	}

	.lbb-scoreboard__meta,
	.lbb-player-panel__stats {
		grid-template-columns: 1fr;
	}

	.lbb-upload__card > :first-child {
		text-align: center;
	}

	.lbb-event-meta {
		gap: clamp(0.625rem, 1.8vw, 0.75rem);
	}

	.lbb-event-meta strong {
		font-size: 1rem;
	}

	.lbb-section-heading {
		margin-bottom: 16px;
	}

	.lbb-section-heading h2,
	.lbb-card h2 {
		font-size: clamp(1.8rem, 9vw, 2.5rem);
	}

	.lbb-card h3 {
		font-size: 1.24rem;
	}

	.lbb-timeline__header {
		gap: clamp(0.5rem, 1.8vw, 0.625rem);
		margin-bottom: clamp(0.5rem, 1.8vw, 0.625rem);
	}

	.lbb-timeline__time {
		padding: clamp(0.5rem, 1.6vw, 0.5625rem) clamp(0.625rem, 2vw, 0.75rem);
		font-size: 0.8rem;
	}

	.lbb-timeline__icon {
		min-width: clamp(2.25rem, 8vw, 2.625rem);
		height: clamp(2.25rem, 8vw, 2.625rem);
		padding: 0 clamp(0.5rem, 2vw, 0.625rem);
		font-size: 1.25rem;
	}

	.lbb-timeline__item p {
		font-size: 0.9rem;
		line-height: 1.6;
	}

	.lbb-timeline__list {
		font-size: 0.9rem;
		gap: 7px;
	}

	.lbb-timeline__item,
	.lbb-challenge-card {
		padding-top: clamp(1rem, 3vw, 1.375rem);
	}

	.lbb-challenge-card {
		min-height: 0;
		padding-top: clamp(0.875rem, 3vw, 1rem);
	}

	.lbb-card.lbb-challenge-card.lbb-reveal.is-visible {
		padding: 0.9rem;
		min-height: 0;
	}

	.lbb-challenge-card__index {
		width: clamp(2.625rem, 8vw, 3.25rem);
		height: clamp(2.625rem, 8vw, 3.25rem);
		font-size: 0.86rem;
	}

	.lbb-challenge-card__points {
		padding: 0.22rem 0.4rem;
	}

	.lbb-form {
		gap: clamp(0.75rem, 2vw, 0.875rem);
	}

	.lbb-form label {
		gap: clamp(0.25rem, 1.2vw, 0.375rem);
	}

	.lbb-form input,
	.lbb-form select,
	.lbb-form textarea {
		min-height: 50px;
	}

	.lbb-form__upload {
		width: 100%;
	}

	.lbb-upload-trigger {
		font-size: 0.85rem;
	}

	.lbb-hero__actions,
	.lbb-button {
		width: 100%;
	}

	.lbb-hero__actions {
		gap: clamp(0.5rem, 1.8vw, 0.625rem);
		margin-top: clamp(0.875rem, 2vw, 1rem);
	}

	.lbb-button {
		min-height: clamp(2.875rem, 8vw, 3.125rem);
		padding: 0 clamp(0.875rem, 3vw, 1.125rem);
		font-size: 0.95rem;
	}

	.lbb-gallery__grid {
		grid-template-columns: 1fr;
	}

	.lbb-photo-stack__actions {
		grid-template-columns: 1fr;
	}

	.lbb-leaderboard__row {
		grid-template-columns: 2rem minmax(0, 1fr) auto;
	}

	.lbb-leaderboard__meta {
		display: none;
	}

	.lbb-form__helper {
		flex-direction: column;
		align-items: flex-start;
	}

	.lbb-gallery__item img {
		aspect-ratio: 1 / 1;
	}

	.lbb-card:hover,
	.lbb-gallery__item:hover img {
		transform: none;
	}
}

@media (max-width: 480px) {
	:root {
		--lbb-gutter: clamp(0.5rem, 3vw, 0.75rem);
	}

	.lbb-journey__step,
	.lbb-journey__step--left,
	.lbb-journey__step--right {
		width: calc(100% - 1.4rem);
	}

	.lbb-journey__month {
		font-size: 0.68rem;
	}

	.lbb-journey__summary {
		grid-template-columns: 1fr auto auto;
		grid-template-areas:
			'month edit thumb'
			'title title chevron';
		gap: 0.55rem;
		padding-right: 2.9rem;
	}

	.lbb-journey__month {
		grid-area: month;
	}

	.lbb-journey__summary-copy {
		grid-area: title;
	}

	.lbb-journey__thumb {
		grid-area: thumb;
		width: 3rem;
	}

	.lbb-journey__chevron {
		grid-area: chevron;
		align-self: center;
	}

	.lbb-journey__copy h3 {
		font-size: 1rem;
	}

	.lbb-section-index__card {
		padding: 0.95rem;
	}

	.lbb-section-index__link {
		flex-basis: 100%;
		width: 100%;
	}

	.lbb-challenge-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 0.875rem;
	}

	body::before,
	.lbb-hero::after {
		display: none;
	}

	.lbb-float--case,
	.lbb-float--bottle {
		display: none;
	}

	.lbb-topbar__inner {
		padding: 10px 0;
		gap: 10px;
	}

	.lbb-topbar__phone {
		width: 100%;
		box-sizing: border-box;
		min-height: 42px;
		justify-content: center;
	}

	.lbb-hero {
		padding: clamp(1rem, 4vw, 1.25rem) 0 clamp(0.875rem, 3vw, 1.125rem);
	}

	.lbb-hero__backdrop {
		inset: 0;
	}

	.lbb-hero__backdrop-image {
		object-position: 62% top;
		transform: scale(1.04);
	}

	.lbb-hero__confetti {
		height: min(56vw, 180px);
		opacity: 0.64;
	}

	.lbb-hero::before {
		display: none;
	}

	.lbb-hero__inner {
		padding: clamp(4.5rem, 18vw, 5.875rem) 1% clamp(0.75rem, 3vw, 0.875rem);
		border-radius: clamp(1rem, 4vw, 1.375rem);
	}

	.lbb-poster__stage {
		padding: clamp(4rem, 16vw, 4.75rem) clamp(0.75rem, 3vw, 0.875rem) clamp(0.875rem, 3vw, 1rem);
		border-width: clamp(0.25rem, 1vw, 0.3125rem);
		border-radius: clamp(1rem, 4vw, 1.25rem);
	}

	.lbb-poster__stage::before {
		inset: clamp(0.375rem, 1.5vw, 0.5rem);
		border-radius: clamp(0.75rem, 3vw, 0.875rem);
	}

	.lbb-character {
		max-width: 108px;
	}

	.lbb-character--top {
		left: 50%;
		width: min(54vw, 178px);
		max-width: none;
		opacity: 1;
		top: 0;
	}

	.lbb-character--left {
        top: 67%;
		left: -5%;
		width: min(30vw, 112px);
	}

	.lbb-float--bow {
	    top: 18%;
        right: 38%;
		left: auto;
		width: min(24%, 82px);
		transform: rotate(358deg) !important;
		z-index: 7;
	}

	.lbb-float--bottle,
	.lbb-float--case {
		display: block;
		z-index: 6;
	}

	.lbb-float--bottle {
		top: 33%;
		left: -2%;
		width: min(18%, 62px);
		transform: rotate(20deg) !important;
	}

	.lbb-float--case {
		right: -2%;
		top: 47%;
		width: min(22%, 85px);
		transform: rotate(-3deg);
	}

	.lbb-hero__inner::before {
		inset: 10px;
		border-radius: 18px;
	}

	.lbb-title {
		font-size: clamp(2.25rem, 16vw, 3.2rem);
		line-height: 0.95;
	}

	.lbb-age {
		font-size: clamp(1.85rem, 13vw, 2.8rem);
	}

	.lbb-subtitle {
		max-width: 30ch;
		margin-top: 10px;
		font-size: 0.68rem;
		line-height: 1.2;
	}

	.lbb-poster__lead {
		font-size: 0.82rem;
	}

	.lbb-ribbon {
		min-height: 60px;
		width: min(100%, 250px);
		padding: 0 clamp(0.75rem, 4vw, 0.875rem);
		margin: clamp(0.25rem, 1vw, 0.375rem) auto clamp(0.5rem, 2vw, 0.625rem);
	}

	.lbb-ribbon__text {
		font-size: clamp(1.5rem, 10vw, 2.25rem);
	}

	.lbb-event-meta {
		margin-top: clamp(0.875rem, 3vw, 1.25rem);
		font-size: 0.9rem;
	}

	.lbb-poster__detail {
		padding: clamp(0.625rem, 2vw, 0.75rem) clamp(0.5rem, 1.8vw, 0.625rem);
		border-radius: clamp(0.875rem, 3vw, 1rem);
		gap: 4px;
	}

	.lbb-poster__detail strong {
		font-size: 0.98rem;
	}

	.lbb-countdown {
		gap: 0.375rem;
	}

	.lbb-countdown__item {
		padding: 0.45rem 0.2rem;
	}

	.lbb-countdown__value {
		font-size: 0.96rem;
	}

	.lbb-countdown__label {
		font-size: 0.62rem;
	}

	.lbb-poster__detail span:last-child {
		font-size: 0.8rem;
		line-height: 1.45;
	}

	.lbb-event-meta > div,
	.lbb-card,
	.lbb-upload__card {
		border-radius: clamp(1rem, 4vw, 1.25rem);
	}

	.lbb-event-meta > div,
	.lbb-card,
	.lbb-upload__card,
	.lbb-gallery__item {
		padding: clamp(0.875rem, 3vw, 1rem);
	}

	.lbb-upload__card {
		gap: clamp(0.75rem, 2vw, 0.875rem);
	}

	.lbb-upload__card > :first-child {
		text-align: left;
	}

	.lbb-story,
	.lbb-timeline,
	.lbb-challenges,
	.lbb-upload,
	.lbb-gallery {
		margin-top: clamp(0.875rem, 3vw, 1rem);
	}

	.lbb-challenges {
		padding: clamp(1rem, 4vw, 1.5rem) 0;
	}

	.lbb-timeline__item,
	.lbb-challenge-card {
		padding-top: clamp(0.875rem, 3vw, 1.125rem);
	}

	.lbb-challenge-card {
		padding-top: 3.1rem;
		min-height: 0;
	}

	.lbb-card.lbb-challenge-card.lbb-reveal.is-visible {
		padding: 0.82rem;
	}

	.lbb-card.lbb-challenge-card.lbb-reveal.is-visible h3 {
		font-size: 0.98rem;
	}

	.lbb-card.lbb-challenge-card.lbb-reveal.is-visible p {
		font-size: 0.8rem;
		line-height: 1.4;
	}

	.lbb-timeline__header {
		align-items: flex-start;
		gap: clamp(0.375rem, 1.8vw, 0.5rem);
		margin-bottom: clamp(0.5rem, 1.8vw, 0.625rem);
	}

	.lbb-timeline__time {
		padding: clamp(0.4375rem, 1.6vw, 0.5rem) clamp(0.5rem, 2vw, 0.625rem);
		font-size: 0.74rem;
	}

	.lbb-timeline__icon {
		min-width: clamp(2rem, 9vw, 2.375rem);
		height: clamp(2rem, 9vw, 2.375rem);
		padding: 0 clamp(0.375rem, 1.8vw, 0.5rem);
		font-size: 1.1rem;
	}

	.lbb-timeline__item p {
		font-size: 0.86rem;
		line-height: 1.55;
	}

	.lbb-timeline__list {
		font-size: 0.84rem;
		gap: 6px;
	}

	.lbb-timeline__list li {
		padding-left: 16px;
	}

	.lbb-timeline__row--left .lbb-timeline__item,
	.lbb-timeline__row--right .lbb-timeline__item {
		margin-left: 10%;
	}

	.lbb-timeline__items::before {
		left: 2.5%;
	}

	.lbb-timeline__row::before {
		top: 22px;
		left: 2.5%;
		width: 14px;
		height: 14px;
		border-width: 3px;
		box-shadow: 0 0 0 6px rgba(26, 143, 227, 0.1);
	}

	.lbb-timeline__item::before,
	.lbb-timeline__row--left .lbb-timeline__item::before,
	.lbb-timeline__row--right .lbb-timeline__item::before {
		left: -6%;
		width: 6%;
	}

	.lbb-challenge-card__points {
		top: 0.62rem;
		right: 0.62rem;
		font-size: 0.56rem;
		padding: 0.2rem 0.34rem;
	}

	.lbb-challenge-card__status {
		font-size: 0.7rem;
	}

	.lbb-challenge-card__action {
		font-size: 0.7rem;
		min-height: 1.85rem;
		padding: 0 0.62rem;
	}

	.lbb-gallery figcaption {
		padding: clamp(0.625rem, 2vw, 0.75rem) 0.125rem 0.125rem;
	}

	.lbb-footer {
		padding: clamp(0.875rem, 3vw, 1.125rem) 0 clamp(1.25rem, 4vw, 1.75rem);
	}

	.lbb-map-link,
	.lbb-button {
		min-height: 46px;
	}
}

/* ── Gallery page ─────────────────────────────────────────────────────────── */

.lbb-gallery-page {
	padding-top: clamp(1rem, 3vw, 1.75rem);
}

.lbb-gallery-page__wrap {
	display: grid;
	gap: clamp(1rem, 3vw, 1.75rem);
}

.lbb-gallery-page__header {
	display: grid;
	gap: 0.35rem;
}

.lbb-gallery-page__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--lbb-accent-dark);
	text-decoration: none;
	margin-bottom: 0.25rem;
}

.lbb-gallery-page__back:hover {
	text-decoration: underline;
}

.lbb-gallery-page__header h1 {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2.4rem);
	line-height: 1.1;
}

.lbb-gallery-page__count {
	font-size: 0.9rem;
	color: var(--lbb-muted);
	margin: 0;
}

.lbb-gallery-page__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem;
	padding: clamp(0.75rem, 2vw, 1rem);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(24, 48, 75, 0.08);
}

.lbb-gallery-page__filter-group {
	display: grid;
	gap: 0.3rem;
	flex: 1 1 10rem;
}

.lbb-gallery-page__filter-label {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--lbb-accent-dark);
}

.lbb-gallery-page__filter-select {
	min-height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(24, 48, 75, 0.16);
	background: #fff;
	color: var(--lbb-ink);
	font: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	appearance: auto;
}

.lbb-gallery-page__filter-reset {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid rgba(24, 48, 75, 0.16);
	background: rgba(24, 48, 75, 0.06);
	color: var(--lbb-ink);
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
}

.lbb-gallery-page__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(0.4rem, 1.5vw, 0.75rem);
}

.lbb-gallery-page__item {
	margin: 0;
	display: grid;
	gap: 0.4rem;
}

.lbb-gallery-page__item[hidden] {
	display: none;
}

.lbb-gallery-page__media-btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: rgba(240, 247, 252, 0.9);
	border-radius: 14px;
	overflow: hidden;
	cursor: zoom-in;
	aspect-ratio: 1 / 1;
}

.lbb-gallery-page__media-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 14px;
}

.lbb-gallery-page__zoom-icon {
	position: absolute;
	bottom: 0.45rem;
	right: 0.45rem;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(7, 16, 28, 0.60);
	color: #fff;
	pointer-events: none;
	opacity: 0;
	transition: opacity 160ms ease;
}

.lbb-gallery-page__media-btn:hover .lbb-gallery-page__zoom-icon,
.lbb-gallery-page__media-btn:focus-visible .lbb-gallery-page__zoom-icon {
	opacity: 1;
}

.lbb-gallery-page__caption {
	display: none;
}

.lbb-gallery-page__caption-author {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--lbb-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lbb-gallery-page__caption-challenge {
	font-size: 0.72rem;
	color: var(--lbb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lbb-gallery-page__empty-msg {
	text-align: center;
	color: var(--lbb-muted);
	padding: 2rem 0;
}

/* ── Gallery link (in community section) ─────────────────────────────────── */

.lbb-community__gallery-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.75rem;
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--lbb-accent-dark);
	text-decoration: none;
}

.lbb-community__gallery-link:hover {
	text-decoration: underline;
}
