/* Channel page */
.channel-banner {
	height: 200px;
	border-radius: 16px;
	background: linear-gradient(120deg, var(--primary), var(--primary-dark));
	background-size: cover;
	background-position: center;
	margin-bottom: 20px;
}
@media (max-width: 700px) {
	.channel-banner {
		height: 110px;
	}
}
.channel-header {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}
.channel-avatar {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 44px;
	font-weight: 700;
	flex-shrink: 0;
	object-fit: cover;
	overflow: hidden;
}
.channel-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.channel-info h1 {
	font-size: 26px;
	font-weight: 800;
}
.channel-stats {
	color: var(--text-secondary);
	font-size: 14px;
	margin: 6px 0 12px;
}
.channel-stats b {
	color: var(--text);
}
.channel-cta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
@media (max-width: 700px) {
	.channel-header {
		flex-direction: column;
		text-align: center;
	}
	.channel-avatar {
		width: 88px;
		height: 88px;
		font-size: 34px;
	}
	.channel-cta {
		justify-content: center;
	}
}

.channel-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 24px;
}
.channel-tab {
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-secondary);
	border-bottom: 2px solid transparent;
	cursor: pointer;
	background: none;
	border-top: none;
	border-left: none;
	border-right: none;
	font-family: inherit;
}
.channel-tab.active {
	color: var(--text);
	border-bottom-color: var(--primary);
}

.about-box {
	max-width: 720px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text);
	white-space: pre-wrap;
}

/* Tier cards */
.tier-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.tier-card {
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.tier-card:hover {
	border-color: var(--primary);
	box-shadow: var(--shadow);
}
.tier-card.current {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px var(--primary-soft);
}
.tier-name {
	font-size: 18px;
	font-weight: 700;
}
.tier-price {
	font-size: 28px;
	font-weight: 800;
	margin: 8px 0;
}
.tier-price span {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-secondary);
}
.tier-desc {
	color: var(--text-secondary);
	font-size: 14px;
	margin-bottom: 12px;
}
.tier-benefits {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	flex: 1;
}
.tier-benefits li {
	display: flex;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 8px;
	color: var(--text);
}
.tier-benefits li::before {
	content: '✓';
	color: var(--primary);
	font-weight: 700;
}

/* Edit modal */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 300;
	padding: 16px;
}
.modal {
	background: var(--bg-elevated);
	border-radius: 16px;
	padding: 28px;
	width: 100%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
}
.modal h2 {
	font-size: 20px;
	margin-bottom: 20px;
}
.modal-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 12px;
}
.avatar-edit {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
