.channel-page {
	max-width: 1080px;
	margin: 0 auto;

	// ── 배너 ─────────────────────────────────────────
	&__banner {
		aspect-ratio: 6.2 / 1;
		background: linear-gradient(135deg, var(--bg-subtle), var(--border-default));
		border-radius: 12px;
		overflow: hidden;
		margin: 20px 20px 0 20px;
	}

	&__banner-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	// ── 프로필: 썸네일 + 채널명/메타/버튼 ─────────────
	&__profile {
		display: flex;
		align-items: flex-start;
		gap: 16px;
		padding: 16px 16px 12px;
	}

	&__avatar {
		width: 72px;
		height: 72px;
		border-radius: 50%;
		overflow: visible;
		background: var(--bg-subtle);
		flex-shrink: 0;
		position: relative;
		display: block;
		text-decoration: none;

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			border-radius: 50%;
		}

		&--live {
			padding: 2px;
			background: linear-gradient(135deg, #f43f5e, #dc2626, #f97316);
			background-origin: border-box;

			img {
				border: 2px solid var(--bg-page, #fff);
			}
		}
	}

	&__live-badge {
		position: absolute;
		bottom: -4px;
		left: 50%;
		transform: translateX(-50%);
		background: #dc2626;
		color: #fff;
		font-size: 0.5625rem;
		font-weight: 700;
		letter-spacing: 0.5px;
		padding: 1px 6px;
		border-radius: 3px;
		line-height: 1.4;
		border: none;
	}

	&__avatar-placeholder {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.75rem;
		font-weight: 700;
		color: var(--text-muted);
		border-radius: 50%;
	}

	&__info {
		flex: 1;
		min-width: 0;
	}

	&__name {
		font-size: 1.25rem;
		font-weight: 700;
		display: flex;
		align-items: center;
		gap: 6px;
		line-height: 1.3;

		a {
			color: inherit;
			text-decoration: none;

			&:hover {
				text-decoration: underline;
			}
		}
	}

	&__verified {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		border-radius: 50%;
		background: #3b82f6;
		color: #fff;
		font-size: 0.5625rem;
		flex-shrink: 0;
	}

	&__meta {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 4px;
		font-size: 0.8125rem;
		color: var(--text-muted);
		margin-top: 2px;

		span + span::before {
			content: ' · ';
		}
	}

	// ── 버튼 ────────────────────────────────────
	&__buttons {
		display: flex;
		align-items: center;
		gap: 8px;

		// 데스크톱 전용 (info 내부)
		&--desktop {
			display: none;
			margin-top: 20px;
		}

		// 모바일 전용 (profile 아래 별도 줄)
		&--mobile {
			padding: 0 16px 4px;
		}
	}

	&__subscribe-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 8px 16px;
		border-radius: 20px;
		background: var(--fg-default, #0f0f0f);
		color: var(--bg-page, #fff);
		font-size: 0.875rem;
		font-weight: 500;
		text-decoration: none;
		white-space: nowrap;

		&:hover {
			opacity: 0.85;
		}
	}

	&__donate-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 8px 16px;
		border-radius: 20px;
		background: #3b82f6;
		color: #fff;
		font-size: 0.875rem;
		font-weight: 500;
		text-decoration: none;
		white-space: nowrap;

		&:hover {
			background: #2563eb;
		}
	}

	// ── 라이브 ───────────────────────────────────────
	&__live {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 16px;
		margin: 0 16px;
		background: rgba(220, 38, 38, 0.05);
		border: 1px solid rgba(220, 38, 38, 0.15);
		border-radius: 8px;
	}

	&__live-dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: #dc2626;
		flex-shrink: 0;
		animation: pulse-live 1.5s ease-in-out infinite;
	}

	&__live-title {
		flex: 1;
		font-size: 0.875rem;
		font-weight: 500;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	&__watch-btn {
		font-size: 0.8125rem;
		color: #3b82f6;
		font-weight: 500;
		flex-shrink: 0;
		white-space: nowrap;

		&:hover {
			text-decoration: underline;
		}
	}

	// ── 탭 네비게이션 ────────────────────────────────
	&__tabs {
		display: flex;
		border-bottom: 1px solid var(--border-default);
		margin-top: 4px;
		padding: 0 16px;
	}

	&__tab {
		padding: 12px 16px;
		font-size: 0.875rem;
		font-weight: 500;
		color: var(--text-muted);
		cursor: pointer;
		position: relative;

		&--active {
			color: var(--fg-default);

			&::after {
				content: '';
				position: absolute;
				bottom: -1px;
				left: 0;
				right: 0;
				height: 2px;
				background: var(--fg-default);
				border-radius: 2px 2px 0 0;
			}
		}

		&:hover:not(&--active) {
			color: var(--fg-default);
		}
	}

	// ── 탭 콘텐츠 ───────────────────────────────────
	&__tab-content {
		padding: 16px;
	}

	&__description {
		font-size: 0.875rem;
		color: var(--text-secondary);
		line-height: 1.6;
		white-space: pre-line;
	}

	&__empty {
		font-size: 0.875rem;
		color: var(--text-muted);
	}

	// ── 모바일: 버튼 풀너비, 별도 줄 ────────────────
	@media (max-width: 767px) {
		&__banner {
			margin: 10px;
		}

		&__buttons--mobile {
			display: flex;
		}

		&__subscribe-btn,
		&__donate-btn {
			flex: 1;
		}
	}

	// ── 데스크톱: 버튼 info 내부, 썸네일 크게 ────────
	@media (min-width: 768px) {
		&__buttons--desktop {
			display: flex;
		}

		&__buttons--mobile {
			display: none;
		}

		&__profile {
			align-items: center;
			gap: 20px;
			padding: 20px 24px 16px;
		}

		&__avatar {
			width: 128px;
			height: 128px;
		}

		&__name {
			font-size: 1.5rem;
		}

		&__meta {
			font-size: 0.875rem;
		}

		&__tabs {
			padding: 0 24px;
		}

		&__tab-content {
			padding: 20px 24px;
		}

		&__live {
			margin: 0 24px;
		}
	}
}

@keyframes pulse-live {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}