/* Couzeix TT Club Plugin Styles — Vert (#19a73b), Noir (#111412), Blanc (#ffffff) */
.ctt-grid {
	display: grid;
	gap: 1.5rem;
	margin: 1.5rem 0;
}
.ctt-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ctt-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ctt-grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.ctt-card {
	background: #ffffff;
	border: 1px solid #e2e8e4;
	border-top: 4px solid #19a73b;
	border-radius: 12px;
	padding: 1.4rem;
	box-shadow: 0 6px 20px rgba(17, 20, 18, 0.05);
}

.ctt-card h3 {
	margin-top: 0;
	margin-bottom: 0.6rem;
	color: #111412;
}

.ctt-card-head,
.ctt-team-head,
.ctt-player-head,
.ctt-session-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.ctt-pill,
.ctt-badge {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: #eaf7ee;
	color: #127d2c;
}

.ctt-badge-regionale {
	background: #19a73b;
	color: #ffffff;
}

.ctt-badge-departementale {
	background: #111412;
	color: #ffffff;
}

.ctt-badge-dark {
	background: #2c322e;
	color: #ffffff;
}

.ctt-session-list,
.ctt-price-list,
.ctt-clean-list,
.ctt-link-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
}

.ctt-session-item {
	padding: 0.85rem 0;
	border-bottom: 1px solid #edf2ee;
}
.ctt-session-item:last-child { border-bottom: 0; }

.ctt-day { color: #111412; font-size: 1.02rem; }
.ctt-hours {
	font-weight: 700;
	color: #19a73b;
	background: #eaf7ee;
	padding: 0.2rem 0.6rem;
	border-radius: 6px;
	font-size: 0.9rem;
}

.ctt-session-meta {
	margin-top: 0.35rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.88rem;
	color: #4b554e;
}

.ctt-note { color: #8c5a00; font-style: italic; }
.ctt-role { color: #19a73b; font-weight: 700; margin: 0.25rem 0 0.5rem; }
.ctt-division { font-weight: 600; color: #2b322d; margin: 0.25rem 0; }
.ctt-standing { font-size: 0.82rem; font-weight: 700; color: #127d2c; }
.ctt-players { font-size: 0.9rem; color: #3c453f; margin-top: 0.5rem; }
.ctt-meta-line { margin: 0.3rem 0; font-size: 0.93rem; }
.ctt-muted { color: #5b665f; font-size: 0.88rem; margin-bottom: 0; }

/* Team active player chips */
.ctt-team-players {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.75rem;
}

.ctt-player-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.6rem;
	background: #f4f7f5;
	border: 1px solid #dce5df;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #111412;
}

.ctt-player-chip small {
	color: #127d2c;
	font-weight: 700;
}

.ctt-chip-avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
}

/* Dirigeants & Trombinoscope photos */
.ctt-member-row {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 0.6rem;
}

.ctt-member-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	border: 2px solid #19a73b;
}

.ctt-trombi-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 1rem 0 1.5rem;
}

.ctt-tab-btn {
	padding: 0.6rem 1.2rem;
	border-radius: 999px;
	border: 2px solid #111412;
	background: #ffffff;
	color: #111412;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ctt-tab-btn.is-active,
.ctt-tab-btn:hover {
	background: #19a73b;
	border-color: #19a73b;
	color: #ffffff;
}

.ctt-trombi-panel { display: none; }
.ctt-trombi-panel.is-active { display: block; }

.ctt-player-photo {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 8px;
	background: #111412;
	margin-bottom: 0.85rem;
}

.ctt-player-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.ctt-photo-placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: #19a73b;
	font-size: 2rem;
	font-weight: 800;
}

.ctt-status-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
}

.ctt-status-actif {
	background: #19a73b;
	color: #ffffff;
}

.ctt-status-ancien {
	background: rgba(17, 20, 18, 0.85);
	color: #ffffff;
}

.ctt-price-featured {
	border-top-width: 6px;
	box-shadow: 0 10px 28px rgba(25, 167, 59, 0.14);
}

.ctt-price-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
	padding: 0.55rem 0;
	border-bottom: 1px dashed #dde5df;
}
.ctt-price-list li:last-child { border-bottom: 0; }
.ctt-price-list strong { color: #19a73b; font-size: 1.05rem; white-space: nowrap; }

.ctt-callout {
	background: #111412;
	color: #ffffff;
	padding: 1.1rem 1.4rem;
	border-left: 5px solid #19a73b;
	border-radius: 10px;
	margin-top: 1rem;
}

.ctt-link-list li {
	padding: 0.45rem 0;
	border-bottom: 1px solid #edf2ee;
}
.ctt-link-list li:last-child { border-bottom: 0; }
.ctt-link-list a {
	color: #127d2c;
	font-weight: 600;
	text-decoration: none;
}
.ctt-link-list a:hover { text-decoration: underline; }

.ctt-contact-form p { margin-bottom: 0.9rem; }
.ctt-contact-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.ctt-contact-form input[type="text"],
.ctt-contact-form input[type="email"],
.ctt-contact-form textarea {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid #cdd6cf;
	border-radius: 8px;
	font: inherit;
	box-sizing: border-box;
}
.ctt-contact-form input:focus,
.ctt-contact-form textarea:focus {
	outline: 2px solid #19a73b;
	border-color: #19a73b;
}
.ctt-hp { display: none !important; }

.ctt-btn {
	display: inline-block;
	padding: 0.7rem 1.35rem;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.ctt-btn-primary { background: #19a73b; color: #ffffff; }
.ctt-btn-primary:hover { background: #127d2c; color: #ffffff; transform: translateY(-1px); }

.ctt-alert {
	padding: 0.85rem 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	font-weight: 600;
}
.ctt-alert-success { background: #eaf7ee; color: #127d2c; border: 1px solid #19a73b; }
.ctt-alert-error { background: #fdecec; color: #9c1d1d; border: 1px solid #e06c6c; }
.ctt-alert-info { background: #f2f4f3; color: #111412; border: 1px solid #9aa59d; }

/* PingPocket FFTT iframe box */
.ctt-pingpocket-box {
	background: #ffffff;
	border: 1px solid #e2e8e4;
	border-top: 4px solid #19a73b;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(17, 20, 18, 0.05);
}

.ctt-pingpocket-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	background: #f5f7f6;
	border-bottom: 1px solid #e2e8e4;
	font-size: 0.86rem;
}

.ctt-pingpocket-bar a {
	color: #127d2c;
	font-weight: 700;
	text-decoration: none;
}

.ctt-pp-frame {
	display: block;
	width: 100%;
	border: 0;
}

/* Competition Bricks (Cesson-style) */
.ctt-brick-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.ctt-brick {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #0d100e;
	color: #ffffff;
	border: 1px solid #262e29;
	border-top: 5px solid #19a73b;
	border-radius: 12px;
	padding: 1.5rem;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(13, 16, 14, 0.12);
	transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.ctt-brick:hover {
	transform: translateY(-3px);
	background: #141b16;
	border-color: #19a73b;
	color: #ffffff;
}

.ctt-brick h3 {
	margin: 0 0 0.45rem;
	color: #ffffff;
	font-size: 1.22rem;
}

.ctt-brick p {
	margin: 0 0 1rem;
	color: #c8d4cc;
	font-size: 0.92rem;
}

.ctt-brick-cta {
	color: #5ee37d;
	font-weight: 700;
	font-size: 0.9rem;
}

/* Championship Feature Cards */
.ctt-champ-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 1.75rem;
	margin: 1.75rem 0;
}

.ctt-champ-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #ffffff;
	border: 1px solid #dce5df;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(13, 16, 14, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ctt-champ-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(25, 167, 59, 0.16);
}

.ctt-champ-banner {
	background: linear-gradient(135deg, #0d100e 0%, #17271d 100%);
	color: #ffffff;
	padding: 1.35rem 1.5rem;
	border-bottom: 4px solid #19a73b;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.ctt-champ-banner h3 {
	margin: 0;
	color: #ffffff;
	font-size: 1.28rem;
	line-height: 1.3;
}

.ctt-champ-count {
	flex-shrink: 0;
	background: #19a73b;
	color: #ffffff;
	font-weight: 800;
	font-size: 0.82rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
}

.ctt-champ-body {
	padding: 1.4rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
	gap: 1.1rem;
}

.ctt-champ-body p {
	margin: 0;
	color: #46524a;
}

.ctt-champ-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}
