/* پلیر زنده */
.rcf-player {
	direction: rtl;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-radius: 10px;
	background: #1c1c1e;
	color: #fff;
	position: sticky;
	bottom: 0;
	z-index: 999;
	box-shadow: 0 -2px 10px rgba(0,0,0,.2);
}
.rcf-player-status { display: flex; align-items: center; gap: 8px; }
.rcf-dot { width: 10px; height: 10px; border-radius: 50%; background: #666; display: inline-block; }
.rcf-player.is-live .rcf-dot { background: #ff3b30; box-shadow: 0 0 0 rgba(255,59,48,.5); animation: rcf-pulse 1.5s infinite; }
@keyframes rcf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255,59,48,.5); }
	70% { box-shadow: 0 0 0 8px rgba(255,59,48,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}
.rcf-program-title { color: #bbb; font-size: 13px; }
.rcf-btn { background: #ff3b30; color: #fff; border: none; padding: 8px 18px; border-radius: 20px; cursor: pointer; font-size: 14px; }
.rcf-btn:hover { background: #e6352b; }
.rcf-btn-mute { background: #3a3a3c; padding: 8px 12px; font-size: 16px; line-height: 1; }
.rcf-btn-mute:hover { background: #4a4a4c; }
.rcf-offline-msg { color: #999; font-size: 13px; margin: 0; }

/* آرشیو */
.rcf-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; direction: rtl; }
.rcf-episode-card { border: 1px solid #eee; border-radius: 10px; padding: 12px; }
.rcf-episode-card img { width: 100% !important; height: auto !important; max-width: 100% !important; display: block; border-radius: 8px; }
.rcf-episode-excerpt { color: #555; font-size: 13px; line-height: 1.6; margin: 6px 0; }
.rcf-episode-excerpt img,
.rcf-article-excerpt img,
.rcf-article-modal-body img {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	display: block !important;
	margin: 8px 0 !important;
	border-radius: 6px !important;
}
.rcf-episode-meta { color: #888; font-size: 12px; }
.rcf-episode-parts { color: #ff3b30; font-weight: bold; }
.rcf-episode-part-label { color: #888; font-size: 12px; margin: 4px 0 0; }

/* مجله */
.rcf-magazine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; direction: rtl; }
.rcf-article-card img { width: 100% !important; height: auto !important; max-width: 100% !important; display: block; border-radius: 8px; }
.rcf-article-meta { color: #999; font-size: 12px; }
.rcf-rating { direction: ltr; text-align: right; }
.rcf-star { cursor: pointer; color: #ccc; font-size: 20px; }
.rcf-star.active { color: #ffb400; }
.rcf-rating-msg { font-size: 12px; color: #4caf50; margin-right: 8px; }

/* گالری */
.rcf-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.rcf-gallery-grid img { width: 100% !important; height: auto !important; max-width: 100% !important; display: block; border-radius: 6px; cursor: pointer; }
.rcf-lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 9999; align-items: center; justify-content: center; }
.rcf-lightbox-overlay.active { display: flex; }
.rcf-lightbox-overlay img { width: auto !important; height: auto !important; max-width: 90% !important; max-height: 90% !important; object-fit: contain !important; border-radius: 8px; }
.rcf-lightbox-close { position: absolute; top: 20px; left: 30px; color: #fff; font-size: 36px; cursor: pointer; }

.rcf-article-full { display: none; }
.rcf-read-more { background: none; border: none; color: #2271b1; cursor: pointer; padding: 0; font-size: 13px; text-decoration: underline; display: block; margin-bottom: 8px; }
.rcf-read-more:hover { color: #135e96; }

.rcf-article-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.rcf-article-modal-overlay.active { display: flex; }
.rcf-article-modal { background: #fff; border-radius: 8px; max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 32px; position: relative; direction: rtl; }
.rcf-article-modal-title { margin: 0 0 16px; padding-left: 24px; }
.rcf-article-modal-body { line-height: 1.9; }
.rcf-article-modal-close { position: absolute; top: 12px; left: 16px; font-size: 28px; cursor: pointer; color: #555; line-height: 1; }
.rcf-article-modal-close:hover { color: #000; }
