@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;800&display=swap');

.bol-app,
.bol-board,
.bol-gallery {
	--ink: #05261b;
	--forest: #0b4935;
	--forest-light: #126347;
	--lime: #b8ee19;
	--yellow: #ffd126;
	--paper: #f4f2e9;
	--white: #fff;
	font-family: Archivo, Arial, sans-serif;
	background: var(--ink);
	color: var(--white);
	padding: clamp(35px, 6vw, 90px) max(18px, 5vw);
	min-height: 500px;
}

.bol-app *,
.bol-board *,
.bol-gallery * {
	box-sizing: border-box;
}

.bol-gallery [hidden] {
	display: none !important;
}

.bol-loading {
	min-height: 250px;
	display: grid;
	place-items: center;
	color: var(--lime);
	font-weight: 800;
	letter-spacing: .08em;
}

.bol-wrap,
.bol-gallery-wrap {
	max-width: 1400px;
	margin: auto;
}

.bol-hero {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	padding-bottom: 30px;
}

.bol-kicker {
	color: var(--lime);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .2em;
}

.bol-hero h1 {
	font-size: clamp(52px, 10vw, 145px);
	line-height: .78;
	letter-spacing: -.075em;
	margin: 18px 0;
}

.bol-hero h1 em {
	font-style: normal;
	color: var(--yellow);
}

.bol-hero p {
	font-size: 17px;
	color: rgba(255, 255, 255, .7);
	max-width: 700px;
}

.bol-score {
	border: 1px solid rgba(255, 255, 255, .2);
	padding: 25px 35px;
	text-align: center;
	align-self: center;
}

.bol-score b {
	display: block;
	font-size: 60px;
	color: var(--yellow);
}

.bol-score small {
	font-size: 9px;
	letter-spacing: .14em;
}

.bol-login {
	max-width: 700px;
	margin: 55px 0;
	background: var(--white);
	color: var(--ink);
	padding: 35px;
}

.bol-login h2 {
	font-size: 32px;
	margin-top: 0;
}

.bol-login-grid,
.bol-submit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.bol-login input,
.bol-submit input,
.bol-submit select,
.bol-submit textarea {
	width: 100%;
	display: block;
	margin-top: 7px;
	min-height: 48px;
	padding: 11px 12px;
}

.bol-login button,
.bol-submit button {
	border: 0;
	background: var(--yellow);
	color: var(--ink);
	min-height: 55px;
	padding: 0 25px;
	font-weight: 800;
	cursor: pointer;
}

.bol-msg {
	font-size: 12px;
	color: #a4262f;
	min-height: 18px;
}

.bol-profile {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--lime);
	color: var(--ink);
	padding: 20px 25px;
	margin: 30px 0;
}

.bol-profile span,
.bol-progress small {
	font-size: 10px;
	font-weight: 800;
}

.bol-profile b {
	display: block;
	font-size: 22px;
}

.bol-profile button {
	border: 1px solid var(--ink);
	background: transparent;
	padding: 10px 15px;
	font-weight: 700;
}

.bol-progress {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 7px;
	margin: 25px 0;
}

.bol-progress article {
	border: 1px solid rgba(255, 255, 255, .15);
	padding: 16px;
}

.bol-progress article.done {
	background: var(--yellow);
	color: var(--ink);
}

.bol-progress b {
	display: block;
	font-size: 25px;
}

.bol-missions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.bol-mission {
	border: 1px solid rgba(255, 255, 255, .15);
	padding: 28px;
	background: rgba(255, 255, 255, .035);
	min-height: 280px;
	display: flex;
	flex-direction: column;
}

.bol-mission > span {
	color: var(--lime);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
}

.bol-mission h2 {
	font-size: 35px;
	line-height: 1;
	margin: 20px 0 10px;
}

.bol-mission p {
	color: rgba(255, 255, 255, .65);
	line-height: 1.5;
}

.bol-mission strong {
	color: var(--yellow);
	font-size: 26px;
	margin-top: auto;
}

.bol-mission button {
	margin-top: 20px;
	border: 1px solid var(--yellow);
	background: transparent;
	color: var(--yellow);
	padding: 14px;
	font-weight: 800;
	cursor: pointer;
}

.bol-mission button:hover {
	background: var(--yellow);
	color: var(--ink);
}

.bol-mission button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.bol-submission {
	margin-top: 30px;
	background: var(--white);
	color: var(--ink);
	padding: 30px;
}

.bol-help {
	padding: 12px;
	background: #eef5e7;
}

.bol-submit-grid {
	gap: 15px;
}

.bol-submit-grid label {
	font-size: 11px;
	font-weight: 700;
}

.bol-submit-grid .wide {
	grid-column: 1 / -1;
}

.bol-submit textarea {
	min-height: 100px;
}

.bol-submit footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.bol-submit footer button:first-child {
	background: #e8ebe9;
}

.bol-board-list {
	max-width: 1200px;
	margin: auto;
}

.bol-board-head span {
	color: var(--lime);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .15em;
}

.bol-board-head h2 {
	font-size: clamp(43px, 7vw, 90px);
	line-height: .9;
	margin: 15px 0 20px;
}

.bol-board-head p {
	margin: 0 0 35px;
	color: rgba(255, 255, 255, .65);
}

.bol-rank {
	display: grid;
	grid-template-columns: 55px 1fr 120px 130px;
	align-items: center;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	border-left: 4px solid var(--village, var(--lime));
	padding: 18px 14px;
}

.bol-rank:first-of-type {
	background: var(--yellow);
	color: var(--ink);
}

.bol-rank > strong {
	font-size: 28px;
}

.bol-rank h3 {
	margin: 0;
	font-size: 20px;
}

.bol-rank p {
	margin: 3px 0 0;
	font-size: 10px;
	opacity: .65;
}

.bol-rank b {
	font-size: 25px;
	color: var(--lime);
}

.bol-rank:first-of-type b {
	color: var(--ink);
}

.bol-rank small {
	font-size: 9px;
}

/* Galerie publique v1.5 */
.bol-gallery-wrap {
	max-width: 1500px;
}

.bol-gallery-hero {
	padding-bottom: clamp(28px, 5vw, 70px);
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.bol-gallery-hero h2 {
	max-width: 1050px;
	font-size: clamp(44px, 7.5vw, 112px);
	line-height: .84;
	letter-spacing: -.055em;
	margin: 18px 0 24px;
}

.bol-gallery-hero p {
	max-width: 760px;
	font-size: clamp(15px, 1.4vw, 19px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .7);
}

.bol-live-overview {
	padding: clamp(28px, 5vw, 64px) 0;
}

.bol-live-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: rgba(255, 255, 255, .12);
	gap: 1px;
	border: 1px solid rgba(255, 255, 255, .12);
}

.bol-live-stats article {
	background: #083326;
	padding: clamp(20px, 3vw, 34px);
}

.bol-live-stats b {
	display: block;
	font-size: clamp(34px, 5vw, 62px);
	line-height: 1;
	color: var(--yellow);
}

.bol-live-stats span {
	display: block;
	margin-top: 9px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .13em;
	color: rgba(255, 255, 255, .65);
}

.bol-podium-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin: 45px 0 18px;
}

.bol-podium-head h3 {
	font-size: clamp(27px, 4vw, 48px);
	line-height: 1;
	margin: 9px 0 0;
}

.bol-podium-head a {
	color: var(--lime);
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

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

.bol-podium article {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 20px;
	background: #fff;
	color: var(--ink);
	border-top: 5px solid var(--village, var(--lime));
}

.bol-podium article > strong {
	font-size: 28px;
	color: #839188;
}

.bol-podium h4 {
	margin: 0;
	font-size: 18px;
	line-height: 1.05;
}

.bol-podium small {
	display: block;
	margin-top: 4px;
	font-size: 9px;
	color: #68756f;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bol-podium article > b {
	font-size: 17px;
	white-space: nowrap;
}

.bol-gallery-tools {
	position: sticky;
	top: 32px;
	z-index: 20;
	display: grid;
	grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(130px, 1fr)) auto;
	gap: 8px;
	padding: 14px;
	margin: 0 0 16px;
	background: rgba(5, 38, 27, .96);
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 16px 35px rgba(0, 0, 0, .22);
	backdrop-filter: blur(12px);
}

.bol-gallery-tools label {
	display: grid;
	gap: 6px;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .68);
}

.bol-gallery-tools input,
.bol-gallery-tools select {
	width: 100%;
	min-width: 0;
	height: 46px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--white);
	color: var(--ink);
	font: 600 12px Archivo, Arial, sans-serif;
}

.bol-gallery-tools input:focus,
.bol-gallery-tools select:focus {
	outline: 3px solid var(--lime);
	outline-offset: 0;
}

.bol-gallery-tools > button {
	align-self: end;
	height: 46px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, .35);
	background: transparent;
	color: var(--white);
	font: 800 9px Archivo, Arial, sans-serif;
	cursor: pointer;
}

.bol-sort-tabs {
	display: flex;
	gap: 4px;
	margin: 18px 0 10px;
}

.bol-sort-tabs button {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: transparent;
	color: rgba(255, 255, 255, .72);
	font: 800 10px Archivo, Arial, sans-serif;
	letter-spacing: .04em;
	cursor: pointer;
}

.bol-sort-tabs button:hover,
.bol-sort-tabs button.active {
	border-color: var(--yellow);
	background: var(--yellow);
	color: var(--ink);
}

.bol-results-head {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 13px 0;
	font-size: 9px;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .58);
}

.bol-results-head b {
	color: var(--white);
}

.bol-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bol-content-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: var(--white);
	color: var(--ink);
	border: 3px solid transparent;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
	transition: transform .2s ease, border-color .2s ease;
}

.bol-content-card:hover,
.bol-content-card:focus-within {
	transform: translateY(-3px);
	border-color: var(--lime);
}

.bol-content-card > span {
	display: block;
	min-height: 35px;
	padding: 10px 14px;
	background: var(--yellow);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .07em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bol-card-media,
.bol-tiktok,
.bol-media-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
	background: #031b13;
}

.bol-card-media {
	object-fit: cover;
}

.bol-media-placeholder {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 7px;
	background: linear-gradient(145deg, #0b4935, #05261b);
	color: var(--lime);
}

.bol-media-placeholder b {
	font-size: 46px;
	line-height: 1;
}

.bol-media-placeholder span {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .15em;
}

.bol-media-video {
	background: linear-gradient(145deg, #151515, #3e1735);
	color: #fff;
}

.bol-media-story {
	background: linear-gradient(145deg, #ffd126, #f2ab00);
	color: var(--ink);
}

.bol-content-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.bol-content-body > small {
	font-size: 9px;
	font-weight: 800;
	color: #5e6d66;
}

.bol-content-body h3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 48px;
	font-size: clamp(21px, 2vw, 28px);
	line-height: .98;
	letter-spacing: -.03em;
	margin: 10px 0;
}

.bol-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: 58px;
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.58;
	color: #526159;
}

.bol-read {
	align-self: flex-start;
	padding: 0 0 3px;
	border: 0;
	border-bottom: 1px solid var(--forest);
	background: transparent;
	color: var(--forest);
	font: 800 9px Archivo, Arial, sans-serif;
	letter-spacing: .04em;
	cursor: pointer;
}

.bol-card-footer {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #e3e7e4;
}

.bol-stars {
	display: flex;
	gap: 1px;
	margin: 0 0 7px;
}

.bol-stars button {
	border: 0;
	background: transparent;
	color: #e5a900;
	font-size: 26px;
	line-height: 1;
	padding: 2px;
	cursor: pointer;
}

.bol-stars button:hover,
.bol-stars button:focus {
	transform: scale(1.12);
	outline: 2px solid var(--yellow);
}

.bol-vote-status > b {
	display: block;
	font-size: 10px;
	color: var(--ink);
}

.bol-vote-status progress {
	display: block;
	width: 100%;
	height: 6px;
	margin: 8px 0 5px;
	border: 0;
	background: #dfe5e1;
	accent-color: var(--forest-light);
}

.bol-vote-status progress::-webkit-progress-bar {
	background: #dfe5e1;
}

.bol-vote-status progress::-webkit-progress-value {
	background: var(--forest-light);
}

.bol-vote-status progress::-moz-progress-bar {
	background: var(--forest-light);
}

.bol-vote-status > small {
	display: block;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .05em;
	color: #65746c;
}

.bol-card-actions,
.bol-modal-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin-top: 13px;
}

.bol-card-actions a,
.bol-modal-actions a {
	display: grid;
	place-items: center;
	min-height: 38px;
	padding: 7px 9px;
	border: 1px solid var(--forest);
	color: var(--forest);
	font-size: 8px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.bol-card-actions .bol-share,
.bol-card-actions a:only-child,
.bol-modal-actions a:last-child {
	background: var(--forest);
	color: var(--white);
}

.bol-empty {
	grid-column: 1 / -1;
	padding: 45px;
	background: rgba(255, 255, 255, .08);
	color: rgba(255, 255, 255, .78);
	text-align: center;
}

.bol-load-more {
	display: flex;
	justify-content: center;
	padding: 35px 0 5px;
}

.bol-load-more button {
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--yellow);
	background: transparent;
	color: var(--yellow);
	font: 800 10px Archivo, Arial, sans-serif;
	cursor: pointer;
}

.bol-load-more button:hover,
.bol-load-more button:focus {
	background: var(--yellow);
	color: var(--ink);
}

.bol-load-more button:disabled {
	opacity: .5;
}

.bol-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 24px;
}

.bol-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(1, 17, 12, .88);
	backdrop-filter: blur(7px);
}

.bol-modal > section {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

.bol-modal-close {
	position: sticky;
	top: 12px;
	left: calc(100% - 54px);
	z-index: 3;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 12px 12px -54px auto;
	border: 0;
	background: var(--yellow);
	color: var(--ink);
	font: 700 28px/1 Arial, sans-serif;
	cursor: pointer;
}

.bol-modal-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	min-height: 620px;
}

.bol-modal-grid > .bol-card-media,
.bol-modal-grid > .bol-tiktok,
.bol-modal-grid > .bol-media-placeholder {
	height: 100%;
	min-height: 620px;
	aspect-ratio: auto;
}

.bol-modal-grid > article {
	display: flex;
	flex-direction: column;
	padding: clamp(35px, 5vw, 70px);
}

.bol-modal-grid > article > small {
	display: block;
	margin-top: 14px;
	font-size: 10px;
	font-weight: 800;
	color: #66756d;
}

.bol-modal-grid h2 {
	font-size: clamp(32px, 4vw, 58px);
	line-height: .92;
	letter-spacing: -.045em;
	margin: 20px 0;
}

.bol-modal-grid article > p {
	font-size: 14px;
	line-height: 1.75;
	white-space: pre-line;
	color: #44564c;
}

.bol-modal-grid .bol-stars {
	margin-top: auto;
}

.bol-toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100000;
	max-width: min(390px, calc(100vw - 48px));
	padding: 16px 20px;
	background: var(--lime);
	color: var(--ink);
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}

.bol-toast.show {
	opacity: 1;
	transform: translateY(0);
}

.bol-toast.error {
	background: #f05a55;
	color: #fff;
}

.bol-modal-open {
	overflow: hidden;
}

@media (max-width: 1050px) {
	.bol-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bol-gallery-tools {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bol-gallery-tools > button {
		align-self: auto;
	}

	.bol-podium {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.bol-app,
	.bol-board,
	.bol-gallery {
		padding: 38px 16px;
	}

	.bol-hero,
	.bol-login-grid,
	.bol-missions,
	.bol-submit-grid,
	.bol-gallery-grid,
	.bol-modal-grid {
		grid-template-columns: 1fr;
	}

	.bol-score {
		display: none;
	}

	.bol-submit-grid .wide {
		grid-column: auto;
	}

	.bol-progress {
		grid-template-columns: 1fr 1fr;
	}

	.bol-rank {
		grid-template-columns: 40px 1fr 76px;
		padding: 15px 8px;
	}

	.bol-rank small {
		display: none;
	}

	.bol-rank b {
		font-size: 18px;
	}

	.bol-gallery-hero h2 {
		font-size: clamp(39px, 13vw, 62px);
	}

	.bol-live-stats {
		grid-template-columns: 1fr;
	}

	.bol-live-stats article {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 15px;
	}

	.bol-live-stats b {
		font-size: 36px;
	}

	.bol-podium-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.bol-podium article {
		padding: 16px;
	}

	.bol-gallery-tools {
		position: relative;
		top: auto;
		grid-template-columns: 1fr;
		box-shadow: none;
	}

	.bol-sort-tabs {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.bol-sort-tabs button {
		min-height: 48px;
		padding: 6px;
		font-size: 8px;
	}

	.bol-results-head span {
		display: none;
	}

	.bol-card-media,
	.bol-tiktok,
	.bol-media-placeholder {
		aspect-ratio: 4 / 3;
	}

	.bol-modal {
		padding: 0;
	}

	.bol-modal > section {
		width: 100%;
		max-height: 100vh;
	}

	.bol-modal-grid {
		min-height: 100vh;
	}

	.bol-modal-grid > .bol-card-media,
	.bol-modal-grid > .bol-tiktok,
	.bol-modal-grid > .bol-media-placeholder {
		height: auto;
		min-height: 300px;
		aspect-ratio: 4 / 3;
	}

	.bol-modal-grid > article {
		padding: 30px 22px 45px;
	}

	.bol-modal-grid .bol-stars {
		margin-top: 20px;
	}

	.bol-toast {
		right: 16px;
		bottom: 16px;
		max-width: calc(100vw - 32px);
	}
}
