/* X動画アドオン（Core の mfaf.css の上に重ねる） */

/* ---- プレイヤー ---- */
.mfxv-player {
	position: relative;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.mfxv-player__poster {
	position: relative;
	display: block;
	width: 100%;
	min-height: 200px;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
}

.mfxv-player__poster img {
	display: block;
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.mfxv-player__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .85);
	transition: transform .15s ease, background .15s ease;
}

.mfxv-player__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -14px 0 0 -9px;
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent #fff;
}

.mfxv-player__poster:hover .mfxv-player__play,
.mfxv-player__poster:focus-visible .mfxv-player__play {
	transform: scale(1.08);
	background: rgba(0, 0, 0, .75);
}

.mfxv-player__dur {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .7);
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
}

.mfxv-player__video {
	display: block;
	width: 100%;
	max-height: 80vh;
	background: #000;
}

.mfxv-player__error {
	padding: 48px 16px;
	color: #fff;
	text-align: center;
	font-size: 14px;
	line-height: 1.8;
}

.mfxv-player__error a {
	color: #8ab4f8;
}

.mfxv-credit {
	max-width: 720px;
	margin: 8px auto 0;
	color: #646970;
	font-size: 12px;
	text-align: right;
}

/* ---- 誘導ボタン ---- */
.mfxv-cta {
	max-width: 720px;
	margin: 16px auto;
	text-align: center;
}

.mfxv-cta .mfaf-btn {
	width: 100%;
	max-width: 480px;
	box-sizing: border-box;
}

/* ---- 動画情報 ---- */
.mfxv-info {
	max-width: 720px;
	margin: 16px auto;
}

.mfxv-info__text {
	white-space: normal;
	line-height: 1.8;
}

.mfxv-info__meta {
	color: #646970;
	font-size: 13px;
}

.mfxv-info__meta span + span {
	margin-left: 12px;
}

.mfxv-tag {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 2px 10px;
	border-radius: 999px;
	background: #f0f0f1;
	color: #1d2327;
	font-size: 13px;
	text-decoration: none !important;
}

/* ---- クリエイター紹介 ---- */
.mfxv-creator {
	display: flex;
	gap: 14px;
	align-items: center;
	max-width: 720px;
	margin: 20px auto;
	padding: 14px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
}

.mfxv-creator__thumb img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.mfxv-creator__name {
	margin: 0 0 4px;
	font-weight: 700;
}

.mfxv-creator__catch {
	margin: 0 0 6px;
	color: #50575e;
	font-size: 13px;
}

/* ---- 一覧グリッド（Core の .mfaf-grid を利用し、タイトル行を追加） ---- */
.mfxv-grid__item {
	display: flex;
	flex-direction: column;
}

.mfxv-grid__cap {
	display: block;
	padding: 6px 8px 8px;
	background: #111;
	color: #fff;
	line-height: 1.4;
}

.mfxv-grid__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.mfxv-grid__meta {
	display: block;
	margin-top: 2px;
	color: #b4b9be;
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mfxv-h {
	max-width: 720px;
	margin: 32px auto 0;
	font-size: 18px;
}

.mfxv-page .mfaf-grid {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.mfxv-pager {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	margin: 16px 0 32px;
}

.mfxv-takedown-link {
	margin-top: 32px;
	font-size: 12px;
	text-align: center;
}

.mfxv-takedown-link a {
	color: #646970;
}

/* ---- 削除依頼フォーム ---- */
.mfxv-td input[type="text"],
.mfxv-td input[type="email"],
.mfxv-td textarea {
	width: 100%;
	max-width: 560px;
	box-sizing: border-box;
}

.mfxv-req {
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 3px;
	background: #b32d2e;
	color: #fff;
	font-size: 11px;
}

.mfxv-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.mfxv-grid.mfaf-grid {
		--mfaf-cols: 2 !important;
	}
}
