/**
 * Team State Cycler — rotation/fade layer around .mms-tc--slim cards.
 *
 * The cards themselves are styled entirely by team-card-slim.css (shared
 * class family); this file only handles stacking, cross-fade, and dots.
 *
 * Stacking model: every item is absolutely positioned except the active
 * one, which is position:relative — so the container always auto-sizes
 * to the active card's natural height (cards can differ slightly when a
 * badge wraps to two lines).
 */

.mms-tsc { position: relative; }

.mms-tsc-track { position: relative; }

.mms-tsc-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}
.mms-tsc-item.is-active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

/* ── Dots ─────────────────────────────────────────────────────────── */
.mms-tsc-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}
/* Size/shape props carry !important: themes style bare <button> with
   padding/min-width/min-height that inflates the dots into giant pills
   (button.mms-tsc-dot loses to the theme's higher-specificity button
   rules otherwise). Colors stay overridable via the widget controls. */
.mms-tsc-dot {
	display: inline-block;
	box-sizing: border-box !important;
	width: 8px !important;
	height: 8px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	line-height: 0 !important;
	font-size: 0 !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	background: #d1d5db;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.mms-tsc-dot:hover { transform: scale(1.25); }
.mms-tsc-dot.is-active { background: #1f2937; }
.mms-tsc-dot:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
