/* Movie Widgets Pro – front end */
.mwp-zone {
	--mwp-accent: #e11d48;
	--mwp-bg: #ffffff;
	--mwp-text: inherit;
	--mwp-muted: #6b7280;
	--mwp-line: rgba(0, 0, 0, .09);
	--mwp-soft: rgba(0, 0, 0, .04);
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
}
.mwp-zone *, .mwp-zone *::before, .mwp-zone *::after { box-sizing: border-box; }
.mwp-style-dark {
	--mwp-bg: #16151c;
	--mwp-text: #f1f0f5;
	--mwp-muted: #a3a1b0;
	--mwp-line: rgba(255, 255, 255, .1);
	--mwp-soft: rgba(255, 255, 255, .06);
}

.mwp-widget { color: var(--mwp-text); margin: 0; }
.mwp-style-card .mwp-widget, .mwp-style-dark .mwp-widget {
	background: var(--mwp-bg);
	border: 1px solid var(--mwp-line);
	border-radius: 8px;
	padding: 16px;
}
.mwp-title {
	margin: 0 0 12px;
	font-size: 1.05em;
	line-height: 1.3;
	padding-left: 10px;
	border-left: 3px solid var(--mwp-accent);
	color: inherit;
}
.mwp-zone a { color: inherit; text-decoration: none; }
.mwp-zone a:hover { color: var(--mwp-accent); }
.mwp-zone a:focus-visible, .mwp-zone button:focus-visible, .mwp-zone select:focus-visible, .mwp-zone input:focus-visible {
	outline: 2px solid var(--mwp-accent);
	outline-offset: 2px;
}
.mwp-meta { display: block; font-size: .8em; color: var(--mwp-muted); margin-top: 3px; }
.mwp-sep { opacity: .5; }
.mwp-empty { color: var(--mwp-muted); margin: 0; }

/* devices */
@media (max-width: 767px) { .mwp-only-desktop { display: none !important; } }
@media (min-width: 768px) { .mwp-only-mobile { display: none !important; } }

/* ---------- posters ---------- */
.mwp-zone img { max-width: 100%; height: auto; display: block; }
.mwp-noposter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--mwp-soft);
	color: var(--mwp-muted);
	font-weight: 700;
	font-size: 1.4em;
	text-transform: uppercase;
}

/* list */
.mwp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mwp-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; }
.mwp-thumb { flex: none; width: 56px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--mwp-soft); }
.mwp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mwp-info { min-width: 0; }
.mwp-ptitle { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* grid */
.mwp-grid { display: grid; grid-template-columns: repeat(var(--mwp-cols, 3), minmax(0, 1fr)); gap: 10px; }
.mwp-card { display: flex; flex-direction: column; gap: 6px; }
.mwp-poster { display: block; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--mwp-soft); }
.mwp-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mwp-card:hover .mwp-poster img { transform: scale(1.04); }
.mwp-ctitle { font-size: .85em; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* compact */
.mwp-compact { margin: 0; padding: 0; list-style: none; counter-reset: mwp; }
.mwp-compact li { counter-increment: mwp; display: grid; grid-template-columns: 2em 1fr; padding: 8px 0; border-bottom: 1px solid var(--mwp-line); margin: 0; }
.mwp-compact li:last-child { border-bottom: 0; }
.mwp-compact li::before { content: counter(mwp); font-weight: 800; color: var(--mwp-accent); grid-row: span 2; }
.mwp-compact a { font-weight: 600; }

/* ---------- tabs ---------- */
.mwp-tabnav { display: flex; gap: 4px; margin-bottom: 12px; background: var(--mwp-soft); border-radius: 6px; padding: 4px; }
.mwp-tabnav button {
	flex: 1;
	border: 0;
	background: transparent;
	color: inherit;
	padding: 7px 8px;
	border-radius: 4px;
	font: inherit;
	font-size: .9em;
	font-weight: 600;
	cursor: pointer;
}
.mwp-tabnav button[aria-selected="true"] { background: var(--mwp-accent); color: #fff; }

/* ---------- terms ---------- */
.mwp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mwp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid var(--mwp-line);
	border-radius: 99px;
	font-size: .85em;
	background: var(--mwp-soft);
}
.mwp-zone a.mwp-chip:hover, .mwp-zone a.mwp-chip.is-current { background: var(--mwp-accent); border-color: var(--mwp-accent); color: #fff; }
.mwp-count { font-size: .85em; opacity: .7; }
.mwp-termlist { list-style: none; margin: 0; padding: 0; }
.mwp-termlist li { margin: 0; border-bottom: 1px solid var(--mwp-line); }
.mwp-termlist li:last-child { border-bottom: 0; }
.mwp-termlist .mwp-chip { display: flex; justify-content: space-between; background: none; border: 0; border-radius: 0; padding: 8px 0; font-size: 1em; }
.mwp-zone .mwp-termlist a.mwp-chip:hover, .mwp-zone .mwp-termlist a.mwp-chip.is-current { background: none; color: var(--mwp-accent); }
.mwp-select { width: 100%; padding: 8px 10px; border: 1px solid var(--mwp-line); border-radius: 6px; background: var(--mwp-bg); color: inherit; }

/* ---------- search ---------- */
.mwp-search { display: flex; gap: 6px; margin: 0; }
.mwp-search input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--mwp-line); border-radius: 6px; background: var(--mwp-bg); color: inherit; font: inherit; }
.mwp-search button { padding: 9px 14px; border: 0; border-radius: 6px; background: var(--mwp-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- banner / button / notice ---------- */
.mwp-banner { width: 100%; border-radius: 6px; }
.mwp-btn { display: block; text-align: center; padding: 12px 16px; border-radius: 6px; font-weight: 700; }
.mwp-zone a.mwp-btn:hover { filter: brightness(1.08); color: inherit; }
.mwp-notice { padding: 12px 14px; border-radius: 6px; line-height: 1.5; }

/* ---------- social ---------- */
.mwp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.mwp-social.is-full { flex-direction: column; }
.mwp-soc {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--mwp-soc);
	color: #fff !important;
	font-weight: 700;
}
.mwp-soc:hover { filter: brightness(1.1); }
.mwp-social:not(.is-full) .mwp-soc { flex: 1 1 auto; }

@media (prefers-reduced-motion: reduce) {
	.mwp-poster img { transition: none; }
	.mwp-card:hover .mwp-poster img { transform: none; }
}
