.live-page {
	display: flex;
	flex-direction: column;
	gap: 16px;

	&__head {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	&__title {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 1.25rem;
		font-weight: 700;
	}

	&__count {
		font-size: 0.875rem;
		font-weight: 600;
		color: var(--text-secondary);
		background-color: var(--bg-elevated);
		padding: 2px 8px;
		border-radius: 999px;
	}

	&__controls {
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
	}

	&__sort,
	&__search {
		height: 38px;
		padding: 0 12px;
		border: 1px solid var(--border-default);
		border-radius: 8px;
		background-color: var(--bg-elevated);
		color: inherit;
		font-size: 0.875rem;

		&:focus {
			outline: none;
			border-color: var(--text-link);
		}
	}

	&__search {
		min-width: 200px;
	}

	&__search-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0;
		border: none;
		border-radius: 8px;
		background-color: #FFD700;
		color: #333;
		cursor: pointer;

		&:hover {
			background-color: #FFC400;
		}
	}

	@media (max-width: 640px) {
		&__head {
			flex-direction: column;
			align-items: stretch;
		}

		&__controls {
			width: 100%;
		}

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