/* Put your custom CSS here */
.ui-block-b h3{
	margin: 0.3em 0;
	font-size: 1.7em;
}

#ennum{
	color: blueviolet;
}

#kgnum{
	color: green;
}

#runum{
	color: red;
}

#mainnum{
	font-size:50px;
	color: hsl(80, 70%, 55%);
	text-shadow: -1px -1px 0 hsl(80, 70%, 35%),
	             -2px -2px 1px hsl(80, 70%, 35%);
	margin-bottom: 0px;
}

#numberimage
{
	border: 2px solid rgb(186, 186, 190);
	padding: 10px;
	background-color: white;
}

h4{
	color: #999;
	font-size: 30px;
	margin-top: 0px;
}


h3 span
{
	color: #999;
	font-size: small;
}


.ui-listview-inset .ui-li{
	margin: 4px auto;
	width: 350px;
	display: block;
	float: none;
}

.choice_list {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.centered-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}

.centered-list .ui-li {
	margin: 8px auto !important;
	width: 90%;
	max-width: 400px;
	clear: both;
}

@media (min-width: 768px) {
	.centered-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
		justify-items: center;
		gap: 15px;
		max-width: 1200px;
		margin: 20px auto;
		padding: 0 20px;
	}
	
	.centered-list .ui-li {
		width: 100%;
		max-width: 380px;
		margin: 0 !important;
	}
}

.ui-li .ui-icon{
	margin-right: 30px;
}


#prev{
	width: 30px;
	height: 50px;
}

#prev .ui-icon{
	margin: 15px 0 0 6px;
}

#next{
	width: 30px;
	height: 50px;
}

#next .ui-icon{
	margin: 15px 0 0 6px;
}

#mainnum
{
visibility: visible;}

#play {
	min-width: 60px;
	width: 60px;
	height: 60px;
	margin: 10px auto;
	font-size: 30px !important;
	background: linear-gradient(to bottom, #4CAF50 0%, #45a049 100%) !important;
	color: white !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
	display: inline-block;
	line-height: 60px;
	text-align: center;
	padding: 0 !important;
}

#play:hover, #play:active {
	background: linear-gradient(to bottom, #45a049 0%, #3d8b40 100%) !important;
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
	transform: translateY(-1px) scale(1.05);
}

#play .ui-btn-inner {
	padding: 0 !important;
	line-height: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#play .ui-btn-text {
	line-height: 1;
}

/* Стили для header с кнопкой "На главную" */
.ui-header {
	background: #01AAB3 !important;
	border-bottom: 2px solid #008a94;
}

.ui-header h1 {
	color: white !important;
	font-size: 18px !important;
	text-indent: 0 !important;
	background: none !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 44px !important;
}

.ui-header .ui-btn-right {
	background: rgba(255, 255, 255, 0.2) !important;
	color: white !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 6px !important;
	padding: 8px 15px !important;
	margin: 5px 10px 5px 0 !important;
	font-size: 14px !important;
	transition: all 0.3s !important;
}

.ui-header .ui-btn-right:hover,
.ui-header .ui-btn-right:active {
	background: rgba(255, 255, 255, 0.3) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
}

.ui-header .ui-btn-right .ui-icon {
	background-color: white !important;
	opacity: 0.9;
}

.ui-header .ui-btn-right .ui-icon:after {
	background-color: white !important;
}
