.gf-live {
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #111);
}

body.gf-live-page main,
body.gf-live-page .wp-site-blocks>main,
body.gf-live-page main.wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.gf-live__signin {
	display: flex;
	justify-content: center;
	padding: 4rem 1rem;
}

.gf-live__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: #111;
	color: #fff;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.gf-live__btn:hover {
	background: #2d2d2d;
}

.gf-live__btn:active {
	transform: scale(0.98);
}

.gf-live__btn:focus-visible,
.gf-live__refresh:focus-visible,
.gf-live-card__link:focus-visible,
.gf-live-watch__btn:focus-visible {
	outline: 2px solid #e8334d;
	outline-offset: 2px;
}

.gf-live-card__link:focus-visible {
	border-color: #e8334d;
}

.gf-live__view--list {
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.75rem 1.25rem 3rem;
}

.gf-live__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 1.25rem;
}

.gf-live__head-title {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.gf-live__refresh {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	color: inherit;
	cursor: pointer;
	transition: background 120ms ease, transform 120ms ease;
}

.gf-live__refresh:hover {
	background: rgba(0, 0, 0, 0.04);
}

.gf-live__refresh:active {
	transform: scale(0.97);
}

.gf-live__refresh.is-loading svg {
	animation: gf-live-spin 0.8s linear infinite;
}

@keyframes gf-live-spin {
	to {
		transform: rotate(360deg);
	}
}

.gf-live__section {
	margin-bottom: 2rem;
}

.gf-live__section-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.005em;
}

.gf-live__section--live .gf-live__section-title {
	color: #e8334d;
}

.gf-live__section--upcoming .gf-live__section-title {
	color: #b03963;
}

.gf-live__pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e8334d;
	animation: gf-live-pulse 1.4s ease-in-out infinite;
}

@keyframes gf-live-pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.45;
		transform: scale(1.25);
	}
}

.gf-live__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}

.gf-live-card {
	display: block;
}

.gf-live-card__link {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.gf-live-card--live .gf-live-card__link {
	border-color: rgba(232, 51, 77, 0.22);
}

.gf-live-card__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.22);
}

.gf-live-card__thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: linear-gradient(180deg, #2a2433, #1e1a23);
	color: rgba(255, 255, 255, 0.55);
	overflow: hidden;
}

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

.gf-live-card__thumb-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.gf-live-card__pill {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
}

.gf-live-card__pill--live {
	background: #e8334d;
}

.gf-live-card__pill--time {
	background: rgba(0, 0, 0, 0.6);
	font-weight: 500;
	letter-spacing: 0;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.gf-live-card__body {
	display: flex;
	flex-direction: column;
	padding: 12px 14px 14px;
	min-width: 0;
}

.gf-live-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: inherit;
}

.gf-live-card__status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	font-size: 0.825rem;
	color: rgba(0, 0, 0, 0.55);
}

.gf-live-card__status--live {
	color: #e8334d;
	font-weight: 500;
}

.gf-live-card__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #e8334d;
}

.gf-live__state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 4rem 1rem;
	text-align: center;
	color: rgba(0, 0, 0, 0.6);
}

.gf-live__state svg {
	color: rgba(0, 0, 0, 0.4);
}

.gf-live__state h2 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.78);
}

.gf-live__state p {
	margin: 0;
	font-size: 0.9rem;
	max-width: 36ch;
}

@media (max-width: 600px) {
	.gf-live__view--list {
		padding: 1rem 0.875rem 2rem;
	}

	.gf-live__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.gf-live__view--detail {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.75rem 1.25rem 3rem;
	box-sizing: border-box;
}

.gf-live-detail__hero {
	position: relative;
	margin: 0 0 1.5rem;
	border-radius: 18px;
	overflow: hidden;
	background: linear-gradient(180deg, #2a2433, #1e1a23);
	color: rgba(255, 255, 255, 0.55);
	aspect-ratio: 16 / 9;
}

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

.gf-live-detail__hero-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.gf-live-detail__pill {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(216, 69, 106, 0.92);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.gf-live-detail__title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.gf-live-detail__when {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	margin: 0 0 1.25rem;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 500;
}

.gf-live-detail__when svg {
	flex: 0 0 auto;
	color: #d8456a;
}

.gf-live-detail__about {
	margin: 0 0 1.25rem;
}

.gf-live-detail__about h2 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.gf-live-detail__about p {
	margin: 0;
	color: rgba(0, 0, 0, 0.7);
	line-height: 1.6;
	font-size: 0.95rem;
	white-space: pre-wrap;
}

.gf-live-detail__reminder {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(255, 127, 127, 0.08);
	color: #b03963;
	font-size: 0.9rem;
	line-height: 1.5;
}

.gf-live-detail__reminder svg {
	flex: 0 0 auto;
	color: #d8456a;
}

.gf-live-detail__reminder--ended {
	background: rgba(0, 0, 0, 0.04);
	color: rgba(0, 0, 0, 0.7);
}

.gf-live-detail__reminder--ended svg {
	color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
	.gf-live__view--detail {
		padding: 1rem 0.875rem 2rem;
	}

	.gf-live-detail__hero {
		border-radius: 14px;
	}
}

.gf-live__view--watch {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	box-sizing: border-box;
	font-family: inherit;
}

.gf-live-watch__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 1rem;
}

.gf-live-watch__pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: #e8334d;
	color: #fff;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.gf-live-watch__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

.gf-live-watch__dot.is-buffering {
	animation: gf-live-watch-pulse 1s ease-in-out infinite;
}

@keyframes gf-live-watch-pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.35;
		transform: scale(1.6);
	}
}

.gf-live-watch__title {
	flex: 1 1 auto;
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: inherit;
}

.gf-live-watch__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
	color: #fff;
}

.gf-live-watch__player {
	position: absolute;
	inset: 0;
	background: #000;
}

.gf-live-watch__player .godam-video-wrapper,
.gf-live-watch__player .easydam-video-container,
.gf-live-watch__player .easydam-player,
.gf-live-watch__player .video-js {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	padding: 0 !important;
}

.gf-live-watch__player video,
.gf-live-watch__fallback-video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.gf-live-watch__player .godam-video-placeholder,
.gf-live-watch__player .vjs-poster {
	display: none !important;
}

.gf-live-watch__watermark {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-auto-rows: 90px;
	align-content: start;
	justify-items: center;
	color: rgba(255, 255, 255, 0.06);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	transform: rotate(-22deg);
	transform-origin: center;
}

.gf-live-watch__wm-cell {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	text-align: center;
}

.gf-live-watch__error {
	position: absolute;
	inset: 0;
	z-index: 25;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(0, 0, 0, 0.85);
	color: rgba(255, 255, 255, 0.92);
	text-align: center;
}

.gf-live-watch__error[hidden] {
	display: none !important;
}

.gf-live-watch__error p {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
}

.gf-live-watch__btn {
	margin-top: 4px;
	padding: 9px 18px;
	background: #fff;
	color: #000;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
}

.gf-live-watch__btn:hover {
	opacity: 0.9;
}

.gf-live-watch__btn:active {
	transform: scale(0.98);
}

.gf-live-watch__about {
	margin: 1.5rem 0 0;
}

.gf-live-watch__about h2 {
	margin: 0 0 0.4rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.gf-live-watch__about p {
	margin: 0;
	color: rgba(0, 0, 0, 0.7);
	line-height: 1.6;
	font-size: 0.95rem;
	white-space: pre-wrap;
}

@media (max-width: 600px) {
	.gf-live__view--watch {
		padding: 1rem 0.875rem 2rem;
	}
}

.gf-live-watch__menu {
	flex: 0 0 auto;
	position: relative;
}

.gf-live-watch__menu-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: inherit;
	cursor: pointer;
	transition: background 120ms ease, border-color 120ms ease;
}

.gf-live-watch__menu-trigger:hover,
.gf-live-watch__menu-trigger[aria-expanded="true"] {
	background: rgba(0, 0, 0, 0.06);
	border-color: rgba(0, 0, 0, 0.08);
}

.gf-live-watch__menu-trigger:focus-visible {
	outline: 2px solid #e8334d;
	outline-offset: 2px;
}

.gf-live-watch__menu-pop {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 30;
	min-width: 180px;
	padding: 6px;
	background: var(--wp--preset--color--base, #fff);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.22);
}

.gf-live-watch__menu-pop[hidden] {
	display: none !important;
}

.gf-live-watch__menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: inherit;
	font: inherit;
	font-size: 0.9rem;
	text-align: left;
	cursor: pointer;
}

.gf-live-watch__menu-item:hover:not(:disabled) {
	background: rgba(0, 0, 0, 0.05);
}

.gf-live-watch__menu-item:focus-visible {
	outline: 2px solid #e8334d;
	outline-offset: -2px;
}

.gf-live-watch__menu-item:disabled {
	opacity: 0.5;
	cursor: default;
}

.gf-live-watch__menu-item svg {
	flex: 0 0 auto;
	color: rgba(0, 0, 0, 0.55);
}

.gf-live-report {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.gf-live-report[hidden] {
	display: none !important;
}

.gf-live-report__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 12, 20, 0.55);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.gf-live-report__dialog {
	position: relative;
	width: 100%;
	max-width: 480px;
	background: var(--wp--preset--color--base, #fff);
	color: inherit;
	border-radius: 16px;
	padding: 22px 22px 18px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
	animation: gf-live-report-in 160ms ease-out;
}

@keyframes gf-live-report-in {
	from { transform: translateY(8px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

.gf-live-report__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 6px;
}

.gf-live-report__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.gf-live-report__close {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.gf-live-report__close:hover {
	background: rgba(0, 0, 0, 0.05);
	color: inherit;
}

.gf-live-report__close:focus-visible {
	outline: 2px solid #e8334d;
	outline-offset: 2px;
}

.gf-live-report__desc {
	margin: 0 0 14px;
	color: rgba(0, 0, 0, 0.62);
	font-size: 0.92rem;
	line-height: 1.5;
}

.gf-live-report__field {
	display: block;
	margin: 0 0 6px;
}

.gf-live-report__field .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.gf-live-report__field textarea {
	width: 100%;
	min-height: 110px;
	padding: 12px 14px;
	background: var(--wp--preset--color--base, #fff);
	color: inherit;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 10px;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.45;
	resize: vertical;
	box-sizing: border-box;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}

.gf-live-report__field textarea:focus {
	outline: 0;
	border-color: #e8334d;
	box-shadow: 0 0 0 3px rgba(232, 51, 77, 0.18);
}

.gf-live-report__meta {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 10px;
	font-size: 0.78rem;
	color: rgba(0, 0, 0, 0.5);
	font-variant-numeric: tabular-nums;
}

.gf-live-report__error {
	margin: 0 0 12px;
	padding: 10px 12px;
	background: rgba(232, 51, 77, 0.08);
	color: #b32742;
	border-radius: 8px;
	font-size: 0.88rem;
	line-height: 1.45;
}

.gf-live-report__error[hidden] {
	display: none !important;
}

.gf-live-report__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.gf-live-report__btn {
	padding: 9px 16px;
	border-radius: 999px;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 120ms ease, transform 120ms ease, opacity 120ms ease;
}

.gf-live-report__btn:focus-visible {
	outline: 2px solid #e8334d;
	outline-offset: 2px;
}

.gf-live-report__btn:active {
	transform: scale(0.98);
}

.gf-live-report__btn--ghost {
	background: transparent;
	border-color: rgba(0, 0, 0, 0.16);
	color: inherit;
}

.gf-live-report__btn--ghost:hover {
	background: rgba(0, 0, 0, 0.04);
}

.gf-live-report__btn--primary {
	background: #e8334d;
	color: #fff;
}

.gf-live-report__btn--primary:hover {
	background: #d22a44;
}

.gf-live-report__btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

.gf-live-report.is-success .gf-live-report__title,
.gf-live-report.is-success .gf-live-report__desc {
	text-align: center;
}

.gf-live-report.is-success .gf-live-report__field,
.gf-live-report.is-success .gf-live-report__meta,
.gf-live-report.is-success .gf-live-report__actions {
	display: none;
}

@media (max-width: 480px) {
	.gf-live-report__dialog {
		padding: 18px 18px 14px;
		border-radius: 14px;
	}
}