/* MC Mod Comparison */
.mcmc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.mcmc-header__title {
	font-size: 1.2rem;
	font-weight: 700;
}

.mcmc-table-wrap {
	overflow-x: auto;
}

.mcmc-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--mc-bg-glass);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--mc-border);
}

.mcmc-table th,
.mcmc-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--mc-border);
	font-size: 0.9rem;
}

.mcmc-table th {
	background: rgba(0, 212, 170, 0.05);
	font-weight: 700;
	color: var(--mc-text);
}

.mcmc-table th a {
	color: var(--mc-text);
	text-decoration: none;
}

.mcmc-table th a:hover {
	color: var(--mc-accent);
}

.mcmc-table__thumb {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	margin-right: 8px;
	vertical-align: middle;
}

.mcmc-table__label {
	font-weight: 600;
	color: var(--mc-text-secondary);
	white-space: nowrap;
}

.mcmc-table__na {
	color: var(--mc-text-muted);
}

.mcmc-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--mc-text-muted);
}

.mcmc-empty svg {
	margin-bottom: 12px;
	opacity: 0.5;
}

/* Modal */
.mcmc-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	backdrop-filter: blur(4px);
}

.mcmc-modal__content {
	width: 90%;
	max-width: 500px;
	max-height: 80vh;
	background: var(--mc-bg-card);
	border-radius: 16px;
	border: 1px solid var(--mc-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.mcmc-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--mc-border);
}

.mcmc-modal__header h3 {
	font-size: 1rem;
	font-weight: 700;
}

.mcmc-modal__close {
	background: none;
	border: none;
	color: var(--mc-text-muted);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 4px 8px;
}

.mcmc-modal__search {
	padding: 12px 20px;
	border-bottom: 1px solid var(--mc-border);
}

.mcmc-modal__list {
	flex: 1;
	overflow-y: auto;
	max-height: 400px;
}

.mcmc-modal__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px;
	cursor: pointer;
	transition: background 0.15s;
}

.mcmc-modal__item:hover {
	background: rgba(0, 212, 170, 0.05);
}

.mcmc-modal__check {
	width: 18px;
	height: 18px;
	accent-color: var(--mc-accent);
}

.mcmc-modal__meta {
	margin-left: auto;
	font-size: 0.75rem;
	color: var(--mc-text-muted);
}

.mcmc-modal__footer {
	padding: 12px 20px;
	border-top: 1px solid var(--mc-border);
	display: flex;
	justify-content: flex-end;
}
