.fzg-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px dashed currentColor;
	border-radius: 6px;
	background: rgba(0, 0, 0, .03);
}
.fzg-banner .button { margin: 0; }
.fzg-free { font-weight: 600; }

body.fzg-lock { overflow: hidden; }

.fzg-modal { position: fixed; inset: 0; z-index: 100000; display: none; }
.fzg-modal.is-open { display: block; }
.fzg-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.fzg-dialog {
	position: relative;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 760px;
	max-height: calc(100vh - 32px);
	margin: 16px auto;
	padding: 24px;
	overflow-y: auto;
	background: #fff;
	border-radius: 8px;
	top: 50%;
	transform: translateY(-50%);
	margin-top: 0;
	margin-bottom: 0;
}
.fzg-dialog h3 { margin: 0 32px 16px 0; }
.fzg-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.fzg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
}
.fzg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 10px;
	border: 2px solid #e5e5e5;
	border-radius: 6px;
	cursor: pointer;
	font-weight: normal;
}
.fzg-card.is-selected { border-color: #111; }
.fzg-card input[type=radio] { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 1; }
.fzg-thumb img { display: block; width: 100%; height: auto; }
.fzg-name { font-size: .9em; line-height: 1.3; }
.fzg-card select { margin: 0; width: 100%; font-size: .9em; }
.fzg-error { margin: 12px 0 0; color: #b20000; }
.fzg-submit { width: 100%; margin: 16px 0 0 !important; }

@media (max-width: 549px) {
	.fzg-dialog { padding: 16px; }
	.fzg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.fzg-test-flag {
	margin: 0 0 8px;
	padding: 4px 8px;
	border-left: 3px solid #d63638;
	background: #fcf0f1;
	font-size: .85em;
}
