.fsrs-chamada {
	--fsrs-c-accent: #c9a227;
	--fsrs-c-bg: #0f1114;
	--fsrs-c-card: #1a1d22;
	--fsrs-c-text: #f4f4f4;
	--fsrs-c-muted: #9aa3ad;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: var(--fsrs-c-text);
	max-width: 720px;
	margin: 0 auto;
}

.fsrs-chamada-card {
	background: var(--fsrs-c-card);
	border: 1px solid #2a3038;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.fsrs-chamada-header {
	margin-bottom: 16px;
}

.fsrs-chamada-title {
	margin: 0 0 4px;
	font-size: 1.35rem;
	font-weight: 800;
}

.fsrs-chamada-subtitle {
	margin: 0;
	color: var(--fsrs-c-accent);
	font-weight: 600;
}

.fsrs-chamada-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--fsrs-c-muted);
}

.fsrs-chamada-row,
.fsrs-chamada-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 12px;
}

.fsrs-chamada-input {
	flex: 1 1 180px;
	min-width: 0;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #3a424d;
	background: #0f1114;
	color: var(--fsrs-c-text);
}

.fsrs-chamada-btn {
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	font-weight: 700;
	cursor: pointer;
}

.fsrs-chamada-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.fsrs-chamada-btn--primary,
.fsrs-chamada-btn--call {
	background: var(--fsrs-c-accent);
	color: #111;
}

.fsrs-chamada-btn--secondary {
	background: #2a3038;
	color: var(--fsrs-c-text);
}

.fsrs-chamada-link {
	background: none;
	border: none;
	color: var(--fsrs-c-muted);
	text-decoration: underline;
	cursor: pointer;
	padding: 8px;
}

.fsrs-chamada-hint,
.fsrs-chamada-meta {
	font-size: 0.85rem;
	color: var(--fsrs-c-muted);
	margin: 0 0 12px;
}

.fsrs-chamada-msg--warn {
	color: #ffb347;
	margin: 0;
}

.fsrs-chamada-lista {
	display: grid;
	gap: 12px;
}

.fsrs-chamada-item {
	border: 1px solid #2a3038;
	border-radius: 10px;
	padding: 14px;
	background: #12151a;
}

.fsrs-chamada-item__head {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.fsrs-chamada-item__quadra {
	font-weight: 800;
	color: var(--fsrs-c-accent);
	text-transform: uppercase;
	font-size: 0.9rem;
}

.fsrs-chamada-item__horario {
	font-weight: 700;
}

.fsrs-chamada-item__cat {
	margin: 0 0 6px;
	font-size: 0.85rem;
	color: var(--fsrs-c-muted);
}

.fsrs-chamada-item__vs {
	margin: 0 0 12px;
	line-height: 1.35;
}

.fsrs-chamada-empty {
	color: var(--fsrs-c-muted);
	margin: 0;
}

.fsrs-chamada-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 700;
	z-index: 9999;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.fsrs-chamada-toast.is-ok {
	background: #1e8449;
	color: #fff;
}

.fsrs-chamada-toast.is-error {
	background: #922b21;
	color: #fff;
}

@media (max-width: 480px) {
	.fsrs-chamada-card {
		padding: 14px;
	}
	.fsrs-chamada-btn--call {
		width: 100%;
	}
}
