/* Club-house : salle commune des supporters */

.ch-app {
	--ch-panel: #14132e;
	--ch-line: rgba(255, 255, 255, 0.09);
	--ch-text: #f4f3f8;
	--ch-muted: rgba(244, 243, 248, 0.62);
	--ch-rose: #ff2d86;
	--ch-rose-2: #ff4ba1;
	--ch-violet: #7c3aed;
	container-type: inline-size;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px 12px 22px;
	display: grid;
	gap: 12px;
	color: var(--ch-text);
	font-family: "Titillium Web", system-ui, sans-serif;
}

.ch-app button {
	font: inherit;
	color: inherit;
}

.ch-grid {
	display: grid;
	gap: 12px;
}

.ch-stage {
	display: grid;
	gap: 10px;
	align-content: start;
	min-width: 0;
}

.ch-room {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #100c1f;
	border: 2px solid var(--ch-line);
}

.ch-room canvas {
	display: block;
	touch-action: pan-y;
}

.ch-zoom {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.16);
	background: rgba(12, 10, 28, 0.82);
	cursor: pointer;
	display: grid;
	place-items: center;
}

.ch-zoom:focus-visible,
.ch-app button:focus-visible,
.ch-app a:focus-visible,
.ch-app input:focus-visible {
	outline: 2px solid var(--ch-rose);
	outline-offset: 2px;
}

.ch-pop {
	position: absolute;
	z-index: 4;
	width: 230px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(12, 10, 28, 0.96);
	border: 2px solid rgba(255, 255, 255, 0.16);
	display: grid;
	gap: 6px;
	font-size: 13px;
	line-height: 1.35;
}

.ch-pop[hidden] {
	display: none;
}

.ch-pop b.t {
	display: flex;
	align-items: center;
	gap: 7px;
	font-weight: 800;
}

.ch-pop b.t i {
	width: 9px;
	height: 9px;
	flex: none;
}

.ch-pop span {
	color: var(--ch-muted);
}

.ch-pop .go {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--ch-rose);
	color: #fff !important;
	font-weight: 700;
	font-size: 12.5px;
	text-decoration: none !important;
}

.ch-pop .go.ghost {
	background: rgba(255, 255, 255, 0.07);
}

.ch-pop .links {
	display: grid;
	gap: 4px;
}

@media (min-width: 600px) {
	.ch-app {
		padding: 18px 18px 24px;
	}
}

/* Votre match et messages */
.ch-quick {
	display: grid;
	gap: 8px;
	padding: 10px;
	border-radius: 12px;
	border: 2px solid var(--ch-line);
	background: var(--ch-panel);
}

.ch-mymatch {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	padding: 8px 10px;
	border-radius: 10px;
	border: 2px solid var(--ch-line);
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	text-align: left;
}

.ch-mymatch:hover {
	border-color: rgba(255, 45, 134, 0.55);
}

.ch-mymatch .sq {
	width: 10px;
	height: 10px;
	flex: none;
	background: var(--ch-rose-2);
}

.ch-mymatch span {
	display: grid;
	min-width: 0;
	flex: 1;
	line-height: 1.25;
}

.ch-mymatch small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ch-muted);
}

.ch-mymatch b {
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ch-mymatch .fa-chevron-down {
	color: var(--ch-muted);
	font-size: 12px;
}

.ch-qlock {
	display: grid;
	gap: 8px;
	justify-items: start;
	font-size: 13.5px;
	color: var(--ch-muted);
	line-height: 1.45;
}

.ch-qlock b {
	color: var(--ch-text);
	font-size: 14.5px;
}

.ch-qlock a {
	padding: 8px 16px;
	border-radius: 10px;
	background: var(--ch-rose);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
}

/* Choix du match */
.ch-side {
	display: none;
	min-width: 0;
}

.ch-card {
	border: 2px solid var(--ch-line);
	border-radius: 12px;
	padding: 12px;
	background: var(--ch-panel);
	display: grid;
	gap: 8px;
	align-content: start;
}

.ch-card h2 {
	margin: 0;
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ch-muted);
	font-weight: 700;
}

.ch-card.flash {
	animation: ch-flash 1s ease 2;
}

@keyframes ch-flash {
	50% {
		border-color: rgba(255, 45, 134, 0.9);
	}
}

.ch-picks {
	display: grid;
	gap: 8px;
	align-content: start;
	min-height: 0;
}

.ch-search {
	width: 100%;
	padding: 8px 10px;
	border-radius: 8px;
	border: 2px solid var(--ch-line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--ch-text);
	font-size: 13.5px;
}

.ch-picklist {
	display: grid;
	gap: 3px;
}

.ch-picklist button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 7px 9px;
	border-radius: 8px;
	border: 2px solid transparent;
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 700;
	text-align: left;
}

.ch-picklist button:hover {
	background: rgba(255, 255, 255, 0.07);
}

.ch-picklist button.on {
	border-color: rgba(255, 45, 134, 0.7);
	background: rgba(255, 45, 134, 0.12);
}

.ch-picklist .league {
	justify-content: flex-start;
	gap: 9px;
}

.ch-picklist .league span {
	flex: 1;
	display: grid;
	line-height: 1.2;
}

.ch-picklist small {
	color: var(--ch-muted);
	font-weight: 600;
	font-size: 12px;
}

.ch-picklist i.c {
	width: 9px;
	height: 9px;
	flex: none;
}

.ch-picklist em {
	font-style: normal;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ch-muted);
	display: inline-flex;
	gap: 6px;
	align-items: center;
	white-space: nowrap;
}

.ch-picklist button.on em {
	color: #ffd1e6;
}

.ch-picklist em .live {
	color: var(--ch-rose-2);
}

.ch-picklist .back,
.ch-picklist .home {
	justify-content: flex-start;
	gap: 8px;
	color: var(--ch-muted);
	background: none;
}

.ch-picklist h3 {
	margin: 4px 0 2px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 800;
	color: var(--ch-text);
}

.ch-picklist h3 i {
	width: 9px;
	height: 9px;
}

.ch-picklist .note {
	margin: 0;
	font-size: 12.5px;
	color: var(--ch-muted);
}

.ch-picker {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: grid;
	grid-template-rows: auto 1fr;
	background: rgba(14, 12, 32, 0.97);
}

.ch-picker[hidden] {
	display: none;
}

.ch-picker header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-bottom: 1px solid var(--ch-line);
	font-weight: 800;
}

.ch-picker header button {
	border: 0;
	background: rgba(255, 255, 255, 0.07);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
}

.ch-picker .ch-picks {
	overflow-y: auto;
	padding: 10px 12px;
}

@container (min-width: 600px) {
	.ch-side {
		display: grid;
	}
}

@container (min-width: 960px) {
	.ch-grid.has-side {
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
	}

	.ch-side .ch-card {
		max-height: 700px;
		overflow-y: auto;
	}
}

.ch-qrow {
	display: grid;
	gap: 5px;
}

.ch-qrow > small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ch-muted);
}

.ch-chips {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.ch-chips::-webkit-scrollbar {
	display: none;
}

.ch-chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	border: 2px solid var(--ch-line);
	background: rgba(255, 255, 255, 0.05);
	font-weight: 700;
	font-size: 13.5px;
	cursor: pointer;
	white-space: nowrap;
}

.ch-chip:hover:not(:disabled) {
	border-color: rgba(255, 45, 134, 0.6);
}

.ch-chip.act {
	border-color: rgba(124, 58, 237, 0.55);
	background: rgba(124, 58, 237, 0.14);
}

.ch-chip:disabled {
	opacity: 0.35;
	cursor: default;
}

.ch-cardg {
	width: 8px;
	height: 11px;
	border-radius: 1px;
}

.ch-cool {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	color: var(--ch-muted);
	font-variant-numeric: tabular-nums;
}

.ch-cool[hidden],
.ch-qhint[hidden] {
	display: none;
}

.ch-cool .bar {
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.ch-cool .bar i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ch-rose);
}

.ch-qhint {
	margin: 0;
	font-size: 12.5px;
	color: #ffd1e6;
}

@container (min-width: 600px) {
	.ch-chips {
		flex-wrap: wrap;
		overflow: visible;
	}
}

