.cov-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.cov-modal[hidden] { display: none; }

.cov-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(5, 8, 14, 0.85);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

.cov-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 1100px;
	height: 80vh;
	max-height: 720px;
	background: var(--cov-bg-2);
	border: 1px solid var(--cov-border);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.cov-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
	background: #0d1118;
	border-bottom: 1px solid var(--cov-border);
}

.cov-modal-title {
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
}

.cov-modal-close {
	color: #fff;
	font-size: 26px;
	line-height: 1;
	padding: 4px 10px;
	border-radius: 8px;
	transition: background 0.2s;
}
.cov-modal-close:hover { background: rgba(255,255,255,0.06); }

.cov-modal-body { flex: 1; background: #000; }

.cov-modal-iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 768px) {
	.cov-modal { padding: 0; }
	.cov-modal-dialog { height: 100vh; max-height: 100vh; border-radius: 0; }
}
