.em-fbreel-app {
	max-width: 720px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #14161c;
}

.em-fbreel-header h2 {
	margin-bottom: 4px;
}

.em-fbreel-note,
.em-fbreel-hint {
	color: #5c6b7a;
	font-size: 0.88em;
	margin: 4px 0 0;
}

.em-fbreel-section {
	border: 1px solid #e2e6ea;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 18px;
	background: #fafbfc;
}

.em-fbreel-section h3 {
	margin-top: 0;
	margin-bottom: 6px;
}

.em-fbreel-dropzone {
	border: 2px dashed #1C5FA3;
	border-radius: 10px;
	padding: 28px 16px;
	text-align: center;
	background: #eef4fb;
	cursor: pointer;
	transition: background 0.15s ease;
}

.em-fbreel-dropzone.is-dragover {
	background: #dcebfa;
}

.em-fbreel-btn-link {
	background: none;
	border: none;
	color: #1C5FA3;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	font-size: 1em;
}

.em-fbreel-clip-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.em-fbreel-clip-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.em-fbreel-clip-item video {
	width: 64px;
	height: 114px;
	object-fit: cover;
	border-radius: 6px;
	background: #000;
}

.em-fbreel-clip-meta {
	flex: 1 1 160px;
	min-width: 160px;
}

.em-fbreel-clip-name {
	font-weight: 600;
	font-size: 0.92em;
	word-break: break-all;
}

.em-fbreel-clip-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	font-size: 0.85em;
}

.em-fbreel-clip-controls select,
.em-fbreel-clip-controls input[type="range"] {
	font-size: 0.9em;
}

.em-fbreel-icon-btn {
	background: #eef4fb;
	border: 1px solid #cfe0f2;
	border-radius: 6px;
	width: 28px;
	height: 28px;
	line-height: 1;
	cursor: pointer;
	font-weight: 700;
	color: #1C5FA3;
}

.em-fbreel-icon-btn:hover {
	background: #dcebfa;
}

.em-fbreel-text-fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.em-fbreel-text-input {
	padding: 10px 12px;
	border: 1px solid #cfd6dd;
	border-radius: 6px;
	font-size: 1em;
}

.em-fbreel-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.em-fbreel-row:first-of-type {
	margin-top: 6px;
}

.em-fbreel-btn-primary {
	background: #1C5FA3;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 22px;
	font-size: 1.05em;
	font-weight: 700;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	text-align: center;
}

.em-fbreel-btn-primary:hover {
	background: #164b82;
}

.em-fbreel-btn-primary[disabled] {
	background: #9fb7cf;
	cursor: not-allowed;
}

.em-fbreel-progress-wrap {
	margin-top: 16px;
}

.em-fbreel-progress-bar {
	background: #e2e6ea;
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.em-fbreel-progress-fill {
	background: #1C5FA3;
	height: 100%;
	width: 0%;
	transition: width 0.2s ease;
}

.em-fbreel-result {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.em-fbreel-result video {
	width: 240px;
	border-radius: 10px;
	background: #000;
}
