/**
 * FC2 Live プラグイン（ショートコード・ウィジェット共通）
 * テーマで上書きする場合は同ハンドル後に差し替え
 */

.fc2-live-section {
	margin: 1.5rem 0;
}

.fc2-live-section__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.fc2-live-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem 0.65rem;
}

@media (min-width: 600px) {
	.fc2-live-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}
}

.fc2-live-card {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #111;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.fc2-live-card a {
	color: #fff;
	text-decoration: none;
}

.fc2-live-card a:hover {
	text-decoration: underline;
}

.fc2-live-thumb {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	background: #222;
}

.fc2-live-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fc2-live-badge-live {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	background: #e50914;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 3px 8px;
	border-radius: 4px;
	line-height: 1.2;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.fc2-live-badge-live__dot {
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
}

.fc2-live-count-badge {
	position: absolute;
	bottom: 6px;
	right: 6px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
	line-height: 1.2;
}

.fc2-live-meta {
	padding: 0.45rem 0.5rem 0.55rem;
	font-size: 0.78rem;
}

.fc2-live-title {
	font-size: 0.78rem;
	font-weight: 600;
	margin: 0 0 0.2rem;
	line-height: 1.35;
}

.fc2-live-name {
	margin: 0;
	opacity: 0.85;
	font-size: 0.72rem;
}

/* === [fc2_live_now] 現代UI（ショートコード・ウィジェット共通ラッパー） === */
section.fc2-live-section.fc2-live-now,
.fc2-live-now-widget-inner.fc2-live-now {
	--fc2-now-text: #e8eaef;
	--fc2-now-muted: rgba(232, 234, 239, 0.62);
	--fc2-now-surface: linear-gradient(168deg, rgba(32, 36, 48, 0.92) 0%, rgba(14, 16, 22, 0.98) 48%, rgba(10, 11, 16, 1) 100%);
	--fc2-now-card: linear-gradient(180deg, rgba(34, 38, 50, 0.95) 0%, rgba(18, 20, 28, 1) 100%);
	--fc2-now-border: rgba(255, 255, 255, 0.09);
	--fc2-now-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.45);
	margin: 1.75rem 0;
	padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem) clamp(1.15rem, 3vw, 1.5rem);
	border-radius: 20px;
	background: var(--fc2-now-surface);
	border: 1px solid var(--fc2-now-border);
	box-shadow: var(--fc2-now-glow);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

section.fc2-live-section.fc2-live-now .fc2-live-section__title {
	margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
	font-size: clamp(1.05rem, 2.4vw, 1.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--fc2-now-text);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

section.fc2-live-section.fc2-live-now .fc2-live-section__title::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e50914;
	box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.35);
	animation: fc2-now-pulse 2s ease-in-out infinite;
}

@keyframes fc2-now-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.75;
		transform: scale(0.92);
	}
}

@media (prefers-reduced-motion: reduce) {
	section.fc2-live-section.fc2-live-now .fc2-live-section__title::before {
		animation: none;
	}
}

section.fc2-live-section.fc2-live-now .fc2-live-grid,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
	gap: clamp(0.75rem, 2vw, 1.1rem);
}

@media (min-width: 600px) {
	section.fc2-live-section.fc2-live-now .fc2-live-grid,
	.fc2-live-now-widget-inner.fc2-live-now .fc2-live-grid {
		grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
	}
}

@media (min-width: 960px) {
	section.fc2-live-section.fc2-live-now .fc2-live-grid,
	.fc2-live-now-widget-inner.fc2-live-now .fc2-live-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

section.fc2-live-section.fc2-live-now .fc2-live-card,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card {
	border-radius: 16px;
	overflow: hidden;
	background: var(--fc2-now-card);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}

section.fc2-live-section.fc2-live-now .fc2-live-card:hover,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card:hover {
	transform: translateY(-5px);
	border-color: rgba(229, 9, 20, 0.35);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(229, 9, 20, 0.2);
}

section.fc2-live-section.fc2-live-now .fc2-live-thumb,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-thumb {
	background: #0d0f14;
	position: relative;
}

section.fc2-live-section.fc2-live-now .fc2-live-thumb::after,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 9, 12, 0.65) 0%, transparent 45%);
	pointer-events: none;
	z-index: 1;
}

section.fc2-live-section.fc2-live-now .fc2-live-thumb img,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-thumb img {
	transition: transform 0.35s ease;
}

section.fc2-live-section.fc2-live-now .fc2-live-card:hover .fc2-live-thumb img,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card:hover .fc2-live-thumb img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	section.fc2-live-section.fc2-live-now .fc2-live-card,
	.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card,
	section.fc2-live-section.fc2-live-now .fc2-live-thumb img,
	.fc2-live-now-widget-inner.fc2-live-now .fc2-live-thumb img {
		transition: none;
	}

	section.fc2-live-section.fc2-live-now .fc2-live-card:hover,
	.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card:hover {
		transform: none;
	}

	section.fc2-live-section.fc2-live-now .fc2-live-card:hover .fc2-live-thumb img,
	.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card:hover .fc2-live-thumb img {
		transform: none;
	}
}

section.fc2-live-section.fc2-live-now .fc2-live-badge-live,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-badge-live {
	top: 8px;
	left: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.65rem;
	letter-spacing: 0.06em;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 2px 12px rgba(229, 9, 20, 0.4);
	z-index: 2;
}

section.fc2-live-section.fc2-live-now .fc2-live-count-badge,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-count-badge {
	bottom: 8px;
	right: 8px;
	padding: 4px 10px;
	font-size: 0.7rem;
	font-variant-numeric: tabular-nums;
	background: rgba(8, 10, 14, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 2;
}

section.fc2-live-section.fc2-live-now .fc2-live-meta,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-meta {
	padding: 0.65rem 0.75rem 0.75rem;
	position: relative;
	z-index: 2;
}

section.fc2-live-section.fc2-live-now .fc2-live-title,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-title,
section.fc2-live-section.fc2-live-now .fc2-live-title .fc2-live-title__text,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-title .fc2-live-title__text {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.15rem;
	color: var(--fc2-now-text);
}

section.fc2-live-section.fc2-live-now .fc2-live-card a,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card a {
	color: var(--fc2-now-text);
	text-decoration: none;
}

section.fc2-live-section.fc2-live-now .fc2-live-card a:hover,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card a:hover {
	color: #fff;
	text-decoration: none;
}

section.fc2-live-section.fc2-live-now .fc2-live-name,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-name {
	font-size: 0.74rem;
	color: var(--fc2-now-muted);
	opacity: 1;
}

section.fc2-live-section.fc2-live-now .fc2-live-card__external,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card__external {
	background: rgba(12, 14, 20, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

section.fc2-live-section.fc2-live-now .fc2-live-card--modal .fc2-live-card__trigger,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card--modal .fc2-live-card__trigger {
	color: var(--fc2-now-text);
}

section.fc2-live-section.fc2-live-now .fc2-live-card--channel .fc2-live-card__main,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card--channel .fc2-live-card__main {
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: left;
	border-radius: inherit;
}

section.fc2-live-section.fc2-live-now .fc2-live-card--channel .fc2-live-card__main:hover,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card--channel .fc2-live-card__main:hover {
	text-decoration: none;
	color: inherit;
}

section.fc2-live-section.fc2-live-now .fc2-live-card--channel .fc2-live-card__main:focus-visible,
.fc2-live-now-widget-inner.fc2-live-now .fc2-live-card--channel .fc2-live-card__main:focus-visible {
	outline: 2px solid #e50914;
	outline-offset: 2px;
}

.fc2-live-error {
	color: #b00020;
	font-size: 0.9rem;
}

/* ランキング見出し */
.fc2-live-ranking__catch {
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 0.6rem;
	color: #111;
}

.fc2-live-ranking__note {
	font-size: 0.75rem;
	color: #555;
	margin: 0 0 0.75rem;
}

/* 動画ページ: ライブ中 CTA */
.fc2-live-cta {
	margin: 1rem 0;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: linear-gradient(135deg, #2a0000 0%, #5a1010 100%);
	border: 1px solid #e50914;
	text-align: center;
}

.fc2-live-cta__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	background: #e50914;
	color: #fff;
	font-weight: 800;
	font-size: 0.75rem;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 0.5rem;
}

.fc2-live-cta__btn {
	display: inline-block;
	margin-top: 0.35rem;
	padding: 0.55rem 1.25rem;
	background: #e50914;
	color: #fff !important;
	font-weight: 800;
	border-radius: 999px;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(229, 9, 20, 0.45);
}

.fc2-live-cta__btn:hover {
	filter: brightness(1.08);
	color: #fff !important;
}

.fc2-live-cta--offline {
	display: none;
}

/* --- PiP 風「ながら見」フローティング --- */
.fc2-live-pip {
	position: fixed;
	z-index: 99998;
	width: min(280px, 42vw);
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
	background: #0a0a0a;
	font-size: 0.75rem;
	line-height: 1.3;
}

.fc2-live-pip--br {
	right: max(0.65rem, env(safe-area-inset-right, 0px));
	bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
}

.fc2-live-pip--bl {
	left: max(0.65rem, env(safe-area-inset-left, 0px));
	bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
}

.fc2-live-pip__close {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 3;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.fc2-live-pip__close:hover {
	background: rgba(229, 9, 20, 0.85);
}

.fc2-live-pip__link {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	color: #fff;
	text-decoration: none;
	background: #111;
}

.fc2-live-pip__link:hover {
	color: #fff;
}

.fc2-live-pip__img,
.fc2-live-pip__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fc2-live-pip__placeholder {
	background: linear-gradient(125deg, #1a0505 0%, #2a1010 40%, #1a0505 80%);
	background-size: 200% 200%;
	animation: fc2-live-pip-shimmer 4s ease-in-out infinite;
}

.fc2-live-pip__live {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	background: #e50914;
	color: #fff;
	font-weight: 800;
	font-size: 0.65rem;
	padding: 3px 7px;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.fc2-live-pip__count {
	position: absolute;
	bottom: 8px;
	right: 8px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
}

.fc2-live-pip__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0.35rem 0.5rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
	font-weight: 600;
	font-size: 0.68rem;
	text-align: center;
}

.fc2-live-pip--nophoto .fc2-live-pip__caption {
	position: relative;
	padding: 2rem 0.5rem 0.75rem;
	background: transparent;
}

@keyframes fc2-live-pip-shimmer {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fc2-live-pip__placeholder {
		animation: none;
		background: #1a0a0a;
	}
}

/* --- 自サイト「この配信者の過去作」レコメンド --- */
.fc2-live-recommend__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fc2-live-recommend__item {
	margin: 0 0 0.45rem;
	padding: 0;
	line-height: 1.45;
}

.fc2-live-recommend__item:last-child {
	margin-bottom: 0;
}

.fc2-live-recommend__item a {
	font-weight: 600;
	text-decoration: none;
}

.fc2-live-recommend__item a:hover {
	text-decoration: underline;
}

/* 詳細モーダル内: オフライン時のサイト内レコメンド */
.fc2-live-detail__offline-rec {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fc2-live-detail__offline-rec .fc2-live-section.fc2-live-recommend {
	margin: 0;
	padding: 0.85rem 1rem 1rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: none;
}

.fc2-live-detail__offline-rec .fc2-live-section__title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: #e8eaef;
}

.fc2-live-detail__offline-rec .fc2-live-recommend__item a {
	color: #f0f2f6;
}

.fc2-live-detail__offline-rec .fc2-live-recommend__item a:hover {
	color: #fff;
}

/* 公開チャンネルページ: オフライン時レコメンド（ダーク帯の下） */
.fc2-live-channel-offline-rec {
	margin-top: 1.25rem;
}

.fc2-live-channel-offline-rec .fc2-live-section.fc2-live-recommend {
	margin: 0;
}

/* --- 配信傾向ヒートマップ（曜日 × 時刻） --- */
.fc2-live-schedule__sub,
.fc2-live-schedule__peak,
.fc2-live-schedule__note {
	font-size: 0.82rem;
	line-height: 1.45;
	margin: 0 0 0.65rem;
	color: #333;
}

.fc2-live-schedule__peak {
	margin-top: 0.85rem;
}

.fc2-live-schedule__note {
	color: #666;
	font-size: 0.75rem;
	margin-bottom: 0;
}

.fc2-live-schedule__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0.5rem 0 0;
}

.fc2-live-schedule__table {
	border-collapse: collapse;
	width: 100%;
	min-width: 520px;
	font-size: 0.7rem;
	background: #fff;
}

.fc2-live-schedule__table th,
.fc2-live-schedule__table td {
	border: 1px solid #ddd;
	padding: 3px 4px;
	text-align: center;
	vertical-align: middle;
}

.fc2-live-schedule__table thead th {
	background: #f2f2f2;
	font-weight: 700;
}

.fc2-live-schedule__table tbody th {
	background: #f8f8f8;
	font-weight: 600;
	white-space: nowrap;
	padding-right: 6px;
}

.fc2-live-schedule__corner {
	min-width: 2.5rem;
}

.fc2-live-schedule__cell {
	min-width: 2.25rem;
	line-height: 1.2;
}

.fc2-live-schedule__n {
	font-weight: 700;
	font-size: 0.65rem;
}

.fc2-live-schedule__lvl-0 {
	background: #fafafa;
	color: #999;
}

.fc2-live-schedule__lvl-1 {
	background: #fde8e8;
	color: #4a1515;
}

.fc2-live-schedule__lvl-2 {
	background: #f8c4c4;
	color: #2a0a0a;
}

.fc2-live-schedule__lvl-3 {
	background: #f09090;
	color: #1a0505;
}

.fc2-live-schedule__lvl-4 {
	background: #e55a5a;
	color: #fff;
}

.fc2-live-schedule__lvl-5 {
	background: #c41e1e;
	color: #fff;
}

/* --- 配信傾向: 全チャンネル一覧（IDのみ） --- */
.fc2-live-schedule-index__note,
.fc2-live-schedule-index__meta {
	font-size: 0.82rem;
	color: #444;
	margin: 0 0 0.5rem;
	line-height: 1.45;
}

.fc2-live-schedule-index__sort {
	margin: 0.65rem 0 0.75rem;
	font-size: 0.88rem;
}

.fc2-live-schedule-index__sort-label {
	font-weight: 600;
	margin-right: 0.35rem;
}

.fc2-live-schedule-index__sort-link {
	font-weight: 600;
	text-decoration: none;
}

.fc2-live-schedule-index__sort-link:hover {
	text-decoration: underline;
}

.fc2-live-schedule-index__sort-link.is-active {
	color: #c41e1e;
	pointer-events: none;
}

.fc2-live-schedule-index__sep {
	margin: 0 0.25rem;
	color: #999;
}

.fc2-live-schedule-index__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0.5rem 0 0;
}

.fc2-live-schedule-index__table {
	width: 100%;
	min-width: 280px;
	border-collapse: collapse;
	font-size: 0.85rem;
	background: #fff;
}

.fc2-live-schedule-index__table th,
.fc2-live-schedule-index__table td {
	border: 1px solid #ddd;
	padding: 0.45rem 0.55rem;
	text-align: left;
	vertical-align: middle;
}

.fc2-live-schedule-index__table thead th {
	background: #f2f2f2;
	font-weight: 700;
}

.fc2-live-schedule-index__id code {
	font-size: 0.82rem;
	word-break: break-all;
}

.fc2-live-schedule-index__num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.fc2-live-schedule-index__action {
	white-space: nowrap;
}

.fc2-live-schedule-index__pager {
	margin-top: 0.85rem;
	font-size: 0.88rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.65rem;
}

.fc2-live-schedule-index__page-prev,
.fc2-live-schedule-index__page-next {
	font-weight: 700;
	text-decoration: none;
}

.fc2-live-schedule-index__page-prev:hover,
.fc2-live-schedule-index__page-next:hover {
	text-decoration: underline;
}

.fc2-live-schedule-index__page-num {
	color: #555;
}

.fc2-live-schedule-index__back {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
}

.fc2-live-schedule-index__detail {
	margin-bottom: 1rem;
}

/* --- FC2 Live NOW: カード → memberApi 詳細モーダル --- */
.fc2-live-card {
	position: relative;
}

.fc2-live-card--modal .fc2-live-card__trigger {
	all: unset;
	display: block;
	width: 100%;
	cursor: pointer;
	box-sizing: border-box;
	text-align: left;
	font: inherit;
	color: inherit;
	border-radius: inherit;
}

.fc2-live-card--modal .fc2-live-card__trigger:focus-visible {
	outline: 2px solid #e50914;
	outline-offset: 2px;
}

.fc2-live-card--modal .fc2-live-thumb--btn {
	display: block;
	pointer-events: none;
}

.fc2-live-card--modal .fc2-live-thumb--btn img {
	pointer-events: none;
}

.fc2-live-card--channel .fc2-live-card__main {
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: left;
}

.fc2-live-card--channel .fc2-live-card__main:hover {
	text-decoration: none;
	color: inherit;
}

.fc2-live-card__external {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.fc2-live-card__external:hover {
	background: rgba(229, 9, 20, 0.9);
	color: #fff;
}

html.fc2-live-detail--open {
	overflow: hidden;
}

.fc2-live-detail {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
		max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
	box-sizing: border-box;
}

.fc2-live-detail[hidden] {
	display: none !important;
}

.fc2-live-detail__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 8, 12, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.fc2-live-detail__panel {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(92vh, 900px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	background: linear-gradient(160deg, #141820 0%, #0c0e12 100%);
	color: #e8eaef;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.fc2-live-detail__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.fc2-live-detail__close:hover {
	background: rgba(229, 9, 20, 0.85);
}

.fc2-live-detail__body {
	overflow: auto;
	padding: 1.25rem 1.35rem 1.5rem;
	-webkit-overflow-scrolling: touch;
}

.fc2-live-detail__loading {
	text-align: center;
	padding: 2rem;
	font-size: 0.95rem;
	opacity: 0.85;
}

.fc2-live-detail__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.fc2-live-detail__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: start;
	}
}

.fc2-live-detail__hero {
	border-radius: 14px;
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
}

.fc2-live-detail__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fc2-live-detail__hero-ph {
	width: 100%;
	height: 100%;
	min-height: 140px;
	background: linear-gradient(135deg, #1a0a0c, #2a1218);
}

.fc2-live-detail__main {
	min-width: 0;
}

.fc2-live-detail__head {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.fc2-live-detail__picon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.fc2-live-detail__headtext {
	flex: 1;
	min-width: 0;
}

.fc2-live-detail__title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.02em;
}

.fc2-live-detail__pname {
	margin: 0 0 0.25rem;
	font-size: 0.95rem;
	font-weight: 600;
	opacity: 0.92;
}

.fc2-live-detail__cid {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	opacity: 0.65;
}

.fc2-live-detail__cid code {
	font-size: inherit;
}

.fc2-live-detail__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.fc2-live-detail__chip {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.fc2-live-detail__chip--live {
	background: #e50914;
	border-color: transparent;
	color: #fff;
}

.fc2-live-detail__sec {
	margin: 1rem 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	opacity: 0.55;
}

.fc2-live-detail__sec:first-of-type {
	margin-top: 0;
}

.fc2-live-detail__dl {
	margin: 0;
}

.fc2-live-detail__row {
	display: grid;
	grid-template-columns: minmax(7rem, 34%) 1fr;
	gap: 0.35rem 0.65rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.82rem;
}

.fc2-live-detail__dt {
	margin: 0;
	font-weight: 600;
	opacity: 0.65;
}

.fc2-live-detail__dd {
	margin: 0;
	word-break: break-word;
}

.fc2-live-detail__dd--pre {
	white-space: pre-wrap;
}

.fc2-live-detail__cta {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fc2-live-detail__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.fc2-live-detail__btn--primary {
	background: linear-gradient(135deg, #ff2244 0%, #c41020 100%);
	color: #fff !important;
	box-shadow: 0 6px 24px rgba(229, 9, 20, 0.45);
}

.fc2-live-detail__btn--primary:hover {
	filter: brightness(1.08);
	color: #fff !important;
}

/* --- 観測一覧: 表示名列 --- */
.fc2-live-schedule-index__table {
	min-width: 420px;
}

.fc2-live-schedule-index__title {
	font-weight: 600;
	max-width: 14rem;
}

.fc2-live-schedule-index__untitled {
	color: #888;
	font-style: italic;
	font-weight: 400;
}

/* --- 公開チャンネルページ（/fc2-live/channel/{id}/） --- */
.fc2-live-channel-page {
	max-width: 900px;
	margin: 0 auto 2.5rem;
	padding: 0 1rem;
}

.fc2-live-channel-page__nav {
	margin-bottom: 1rem;
}

.fc2-live-channel-page__back {
	font-weight: 700;
	text-decoration: none;
	font-size: 0.9rem;
}

.fc2-live-channel-page__back:hover {
	text-decoration: underline;
}

.fc2-live-channel-page__header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e5e5e5;
}

.fc2-live-channel-page__h1 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.fc2-live-channel-page__id {
	margin: 0;
	font-size: 0.85rem;
	color: #666;
}

/* liveBlogParts 埋め込み（縦型ウィジェットのアスペクト比を維持） */
.fc2-live-channel-page__embed.fc2-live-channel-embed {
	margin-bottom: 1.75rem;
}

.fc2-live-channel-embed__inner {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: #0a0a0c;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	padding: 0.5rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.fc2-live-channel-embed__inner {
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
	}
}

.fc2-live-channel-embed__aspect {
	position: relative;
	width: var(--fc2-embed-w, 190px);
	max-width: 100%;
	margin: 0 auto;
	height: 0;
	padding-bottom: var(--fc2-embed-pad, 186.8421%);
	overflow: hidden;
	border-radius: 8px;
	box-sizing: border-box;
}

.fc2-live-channel-embed__frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	vertical-align: top;
}

.fc2-live-channel-embed__note {
	margin: 0.5rem 0 0;
	font-size: 0.72rem;
	color: #777;
	text-align: center;
}

.fc2-live-channel-page__block {
	margin-bottom: 2rem;
}

.fc2-live-channel-page__block .fc2-live-section {
	margin-top: 0;
}

/* memberApi 詳細（公開ページ） */
.fc2-live-channel-detail {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	padding: clamp(1rem, 2vw, 1.25rem);
	border-radius: 18px;
	background: linear-gradient(168deg, rgba(32, 36, 48, 0.96) 0%, rgba(12, 14, 18, 1) 100%);
	border: 1px solid rgba(255, 255, 255, 0.09);
	color: #e8eaef;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 720px) {
	.fc2-live-channel-detail {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
	}
}

.fc2-live-channel-detail__hero {
	border-radius: 14px;
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
}

.fc2-live-channel-detail__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fc2-live-channel-detail__hero-ph {
	width: 100%;
	height: 100%;
	min-height: 160px;
	background: linear-gradient(135deg, #1a0a0c, #2a1218);
}

.fc2-live-channel-detail__main {
	min-width: 0;
}

.fc2-live-channel-detail__headrow {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.fc2-live-channel-detail__picon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.fc2-live-channel-detail__headtext {
	flex: 1;
	min-width: 0;
}

.fc2-live-channel-detail__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
}

.fc2-live-channel-detail__pname {
	margin: 0 0 0.25rem;
	font-size: 0.92rem;
	font-weight: 600;
	opacity: 0.9;
}

.fc2-live-channel-detail__cid {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	opacity: 0.65;
}

.fc2-live-channel-detail__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.fc2-live-channel-detail__chip {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.fc2-live-channel-detail__chip--live {
	background: #e50914;
	border-color: transparent;
	color: #fff;
}

.fc2-live-channel-detail__sec {
	margin: 1rem 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	opacity: 0.55;
}

.fc2-live-channel-detail__sec:first-of-type {
	margin-top: 0;
}

.fc2-live-channel-detail__dl {
	margin: 0;
}

.fc2-live-channel-detail__row {
	display: grid;
	grid-template-columns: minmax(6.5rem, 32%) 1fr;
	gap: 0.35rem 0.65rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.82rem;
}

.fc2-live-channel-detail__dt {
	margin: 0;
	font-weight: 600;
	opacity: 0.65;
}

.fc2-live-channel-detail__dd {
	margin: 0;
	word-break: break-word;
}

.fc2-live-channel-detail__dd--pre {
	white-space: pre-wrap;
}

.fc2-live-channel-detail__cta {
	margin-top: 1.1rem;
}

.fc2-live-channel-detail__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.88rem;
	text-decoration: none !important;
	background: linear-gradient(135deg, #ff2244 0%, #c41020 100%);
	color: #fff !important;
	box-shadow: 0 6px 24px rgba(229, 9, 20, 0.4);
}

.fc2-live-channel-detail__btn:hover {
	filter: brightness(1.08);
	color: #fff !important;
}

/* --- 盛り上がり（観測ログの増加率ランキング） --- */
.fc2-live-surge {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem 1.15rem;
	border-radius: 14px;
	background: linear-gradient(165deg, #fff8f4 0%, #fff 42%, #fafafa 100%);
	border: 1px solid rgba(229, 9, 20, 0.18);
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
}

.fc2-live-surge .fc2-live-section__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 800;
	color: #1a1a1a;
}

.fc2-live-surge__sub {
	margin: 0 0 0.85rem;
	font-size: 0.8rem;
	color: #555;
	line-height: 1.45;
}

.fc2-live-surge__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: fc2-surge;
}

.fc2-live-surge__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fc2-live-surge__item:last-child {
	border-bottom: 0;
}

.fc2-live-surge__rank {
	flex: 0 0 1.5rem;
	font-weight: 800;
	font-size: 0.95rem;
	color: #e50914;
	line-height: 1.3;
}

.fc2-live-surge__thumb {
	flex: 0 0 auto;
	border-radius: 6px;
	overflow: hidden;
	background: #111;
	width: 72px;
	height: 40px;
}

.fc2-live-surge__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fc2-live-surge__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.fc2-live-surge__name {
	font-weight: 700;
	font-size: 0.92rem;
	color: #111;
	text-decoration: none;
	word-break: break-word;
}

.fc2-live-surge__name:hover {
	color: #e50914;
	text-decoration: underline;
}

.fc2-live-surge__badge {
	display: inline-block;
	width: fit-content;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff6b35 0%, #e50914 100%);
	color: #fff;
	line-height: 1.3;
}

.fc2-live-surge__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	font-size: 0.78rem;
	color: #444;
}

.fc2-live-surge__now {
	font-weight: 600;
	color: #222;
}

.fc2-live-surge__delta {
	font-weight: 800;
	color: #0a7a2f;
}

.fc2-live-surge__pct {
	color: #666;
	font-variant-numeric: tabular-nums;
}

.fc2-live-surge__note {
	margin: 0.75rem 0 0;
	font-size: 0.72rem;
	color: #777;
	line-height: 1.45;
}
