.alcn-box {
	box-sizing: border-box;
	margin: 12px 0 18px;
	border: 1px solid rgba(248, 89, 3, .42);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .045);
	font-family: Roboto, Arial, sans-serif;
	overflow: hidden;
}

/* ======================================================
   BARRE FERMÉE
====================================================== */

.alcn-summary {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 54px;
	padding: 9px 14px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition:
		background .18s ease,
		color .18s ease;
}

.alcn-summary::-webkit-details-marker {
	display: none;
}

.alcn-summary::marker {
	display: none;
	content: "";
}

.alcn-summary:hover {
	background: #fffaf7;
}

.alcn-summary-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.alcn-bell {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 9px;
	background: #fff2e9;
	font-size: 17px;
	line-height: 1;
}

.alcn-summary-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.alcn-summary-text strong {
	margin: 0;
	color: #171717;
	font-size: .98rem;
	font-weight: 800;
}

.alcn-summary-text small {
	margin-top: 3px;
	color: #777;
	font-size: .75rem;
	font-weight: 500;
}

.alcn-chevron {
	position: relative;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border-radius: 50%;
	background: #fff3eb;
}

.alcn-chevron::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 9px;
	width: 7px;
	height: 7px;
	border-right: 2px solid #f85903;
	border-bottom: 2px solid #f85903;
	transform: rotate(45deg);
	transition: transform .2s ease, top .2s ease;
}

.alcn-box[open] .alcn-summary {
	border-bottom: 1px solid #f0e6e0;
	background: #fffaf7;
}

.alcn-box[open] .alcn-chevron::before {
	top: 11px;
	transform: rotate(225deg);
}

/* ======================================================
   CONTENU DÉPLIÉ
====================================================== */

.alcn-drawer {
	padding: 12px 14px 13px;
}

.alcn-intro,
.alcn-note,
.alcn-ios,
.alcn-status {
	margin: 0;
	color: #666;
	font-size: .82rem;
	line-height: 1.35;
}

.alcn-intro {
	margin-bottom: 10px;
}

.alcn-teams {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin: 0 0 10px;
}

.alcn-team-choice {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 37px;
	padding: 7px 9px;
	border: 1px solid #e5e5e5;
	border-radius: 9px;
	background: #fafafa;
	color: #1d1d1d;
	font-size: .92rem;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	transition:
		border-color .15s ease,
		background .15s ease;
}

.alcn-team-choice:hover {
	border-color: rgba(248, 89, 3, .45);
}

.alcn-team-choice:has(input:checked) {
	border-color: #f85903;
	background: #fff5ef;
}

.alcn-team-choice input {
	width: 16px;
	height: 16px;
	margin: 0;
	flex: 0 0 16px;
	accent-color: #f85903;
}

.alcn-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0 0 6px;
}

.alcn-primary,
.alcn-secondary {
	min-height: 37px;
	padding: 7px 12px;
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.alcn-primary {
	background: #f85903;
	color: #fff;
}

.alcn-secondary {
	background: #ededed;
	color: #222;
}

.alcn-primary:disabled,
.alcn-secondary:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.alcn-status {
	min-height: 0;
	font-weight: 700;
	color: #333;
}

.alcn-status:empty {
	display: none;
}

.alcn-note {
	margin-top: 5px;
	font-size: .72rem;
}

.alcn-ios {
	margin-top: 7px;
	padding: 7px 9px;
	border-radius: 8px;
	background: #fff6f0;
	color: #633016;
	font-size: .76rem;
}

/* ======================================================
   MOBILE
====================================================== */

@media only screen and (max-width: 768px) {

	.alcn-box {
		margin: 10px 0 16px;
		border-radius: 11px;
	}

	.alcn-summary {
		min-height: 50px;
		padding: 8px 11px;
	}

	.alcn-bell {
		width: 31px;
		height: 31px;
		flex-basis: 31px;
		border-radius: 8px;
		font-size: 15px;
	}

	.alcn-summary-text strong {
		font-size: .91rem;
	}

	.alcn-summary-text small {
		font-size: .69rem;
	}

	.alcn-chevron {
		width: 26px;
		height: 26px;
		flex-basis: 26px;
	}

	.alcn-chevron::before {
		top: 8px;
		left: 8px;
	}

	.alcn-box[open] .alcn-chevron::before {
		top: 10px;
	}

	.alcn-drawer {
		padding: 10px 11px 11px;
	}

	.alcn-intro {
		font-size: .76rem;
	}

	.alcn-teams {
		grid-template-columns: 1fr;
		gap: 5px;
		margin-bottom: 9px;
	}

	.alcn-team-choice {
		min-height: 35px;
		padding: 6px 8px;
		font-size: .87rem;
	}

	.alcn-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.alcn-primary,
	.alcn-secondary {
		width: 100%;
		min-height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alcn-summary,
	.alcn-chevron::before,
	.alcn-team-choice {
		transition: none;
	}
}
