.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;
		height: 100%;
    	align-self: center;
	}

	&__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: #38ab23;
		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;
		flex-wrap: wrap;

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

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

	// ── 공통 액션 버튼 base (구독/팔로우) ──
	&__action {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		height: 36px;
		padding: 0 18px;
		border-radius: 999px;
		font-size: 0.875rem;
		font-weight: 600;
		line-height: 1;
		white-space: nowrap;
		text-decoration: none;
		border: 1px solid transparent;
		box-sizing: border-box;
		transition: background 0.15s ease, color 0.15s ease, filter 0.15s ease, opacity 0.15s ease;

		&:disabled {
			opacity: 0.6;
			cursor: not-allowed;
		}
	}

	// 구독 (YouTube 외부 링크) — 검정
	&__subscribe-btn {
		background: var(--fg-default, #0f0f0f);
		color: var(--bg-page, #fff);

		&:hover {
			opacity: 0.85;
		}
	}

	// 팔로우 — 기본 follow-button 색상 유지, 사이즈만 통일
	// (follow-button 자체 padding/font-size/border-radius는 override)
	&__follow.follow-button {
		padding: 0 18px;
		height: 36px;
		font-size: 0.875rem;
		font-weight: 600;
		border-radius: 999px;
		line-height: 1;
		gap: 6px;
	}

	// ── 라이브 ───────────────────────────────────────
	&__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);
	}

	// ── 안내(없음/중단) 화면 ─────────────────────────
	&__notice {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 12px;
		min-height: 50vh;
		padding: 48px 24px;
	}

	&__notice-title {
		font-size: 1.25rem;
		font-weight: 700;
		color: var(--fg-default);
	}

	&__notice-desc {
		font-size: 0.9375rem;
		color: var(--text-muted);
		line-height: 1.6;
	}

	&__notice-home {
		margin-top: 8px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 38px;
		padding: 0 20px;
		border-radius: 999px;
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;
		background: var(--fg-default, #0f0f0f);
		color: var(--bg-page, #fff);
		transition: opacity 0.15s ease;

		&:hover {
			opacity: 0.85;
		}
	}

	// ── Mobile/Tablet: 버튼 풀너비 균등 분할 ──────────
	@media (max-width: 767px) {
		&__banner {
			margin: 10px;
		}

		&__buttons--mobile {
			display: flex;
		}

		// 3개 버튼 완전 균등 분할 (FollowButton 포함)
		&__buttons--mobile > &__action,
		&__buttons--mobile > .follow-button {
			flex: 1 1 0;
			min-width: 0;
		}
	}

	// 매우 좁은 화면: 패딩만 축소 (아이콘+텍스트 유지)
	@media (max-width: 380px) {
		&__buttons--mobile > &__action,
		&__buttons--mobile > .follow-button {
			padding: 0 10px;
			font-size: 0.8125rem;
		}
	}

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

		&__buttons--mobile {
			display: none;
		}

		// Desktop에서 3버튼 최소 폭 통일 — 내용 길이 달라도 균형
		&__buttons--desktop > &__action,
		&__buttons--desktop > .follow-button {
			min-width: 104px;
		}

		&__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; }
}

