/* xenzone — полностью под стиль шаблона (mystyles: #2d2044 / #4D2F6E / градиент #7b2cbf→#e91e63) */
.sortition {
	font-family: 'Exo 2', sans-serif;
	background: transparent;
	border: none;
	padding: 0;
	font-size: 15px;
	text-align: center;
	color: #b7bacd;
}
.sortition #ending {
	font-family: 'Rubik Mono One', sans-serif;
	text-align: center;
	display: inline-flex;
	align-items: stretch;
	justify-content: center;
	margin: 10px auto;
	gap: 6px;
}
.sortition #ending span {
	font-family: 'Rubik Mono One', sans-serif;
	color: #ffffff;
	font-size: 42px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	width: 120px;
	min-width: 120px;
	max-width: 120px;
	padding: 10px 5px 6px;
	box-sizing: border-box;
	background: #32244d;
	border: 1px solid #4D2F6E;
	border-radius: 3px;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
	white-space: nowrap;
	overflow: hidden;
}
.sortition #ending i {
	font-family: 'Exo 2', sans-serif;
	font-size: 12px;
	display: block;
	line-height: 12px;
	color: #b7bacd;
	margin-top: 6px;
	font-style: normal;
	text-transform: lowercase;
	letter-spacing: 0.5px;
}
.sortition h2 {
	font-family: 'Exo 2', sans-serif;
	margin: 10px 0 8px;
	text-align: center;
	font-size: 18px;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.sortition h3 {
	font-family: 'Exo 2', sans-serif;
	color: #b7bacd;
	font-size: 14px;
	margin: 8px 0;
}
.sortition h4 {
	font-family: 'Exo 2', sans-serif;
	font-size: 18px;
	margin-top: 15px;
	color: #ffffff;
}
.sortition h5 {
	font-family: 'Exo 2', sans-serif;
	font-size: 15px;
	margin-top: 12px;
	border-bottom: 1px solid #4D2F6E;
	color: #ffffff;
	padding-bottom: 4px;
}
.sortition h6 {
	font-family: 'Exo 2', sans-serif;
	font-size: 16px;
	margin-top: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #4D2F6E;
	color: #ffffff;
}
#prizes { text-align: left; }
#prizes .well {
	text-align: left;
	background: #32244d;
	border: 1px solid #4D2F6E;
	color: #b7bacd;
	border-radius: 3px;
}
.prize {
	display: grid;
	grid-template-columns: 1fr 155px 285px;
	align-items: center;
	column-gap: 14px;
	position: relative;
	width: 100%;
	margin-bottom: 8px;
	background: #32244d;
	border: 1px solid #4D2F6E;
	border-radius: 3px;
	padding: 12px 14px 12px 36px;
	min-height: 52px;
	line-height: normal;
	transition: background 0.15s;
}
.prize:hover { background: #3b2a5c; }
.prize:last-child { margin-bottom: 10px; }
.prize-main {
	font-family: 'Exo 2', sans-serif;
	font-size: 14px;
	line-height: 16px;
	cursor: pointer;
	text-align: left;
	white-space: normal;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: break-word;
	color: #b7bacd;
	min-width: 0;
	max-width: 100%;
}
.prize-mid {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	text-align: left;
	min-width: 0;
	overflow: visible;
}
.prize-right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	text-align: left;
	min-width: 0;
	overflow: visible;
}
.prize-mid span {
	font-family: 'Exo 2', sans-serif;
	font-size: 12px;
	line-height: 13px;
	cursor: pointer;
	display: block;
	white-space: normal;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
	color: #b7bacd;
	margin: 0;
}
.prize-mid span small {
	color: #8b7ba8;
	font-size: 12px;
	line-height: 13px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.prize-right span {
	font-family: 'Exo 2', sans-serif;
	font-size: 12px;
	line-height: 13px;
	cursor: pointer;
	display: block;
	white-space: normal;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
	color: #b7bacd;
	margin: 0;
}
.prize-right span small {
	color: #8b7ba8;
	font-size: 12px;
	line-height: 13px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}
.prize i.fa, .prize i.fas {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: #e91e63;
}
.prize p { margin: 0px; margin-top: 10px; }

.sortition #prizes .modal { text-align: left; }
.sortition #prizes .modal-content {
	background: #2d2044;
	border: 1px solid #4D2F6E;
	border-radius: 3px;
}
.sortition #prizes .modal-header {
	background: linear-gradient(90deg, #7b2cbf, #e91e63);
	border-bottom: 1px solid #4D2F6E;
}
.sortition #prizes .modal-title { color: #ffffff; font-family: 'Exo 2', sans-serif; }
.sortition #prizes .modal-body {
	position: relative;
	padding: 15px;
	font-size: 14px;
	color: #b7bacd;
	font-family: 'Exo 2', sans-serif;
}
.sortition #prizes .modal-body hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: 1px solid #4D2F6E !important;
	opacity: 1;
}
.sortition h4.modal-title { border-bottom: 0px; }

.participate {
	font-family: 'Exo 2', sans-serif;
	background: linear-gradient(90deg, #7b2cbf, #e91e63);
	border: 1px solid #9b4dd6;
	display: inline-block;
	padding: 10px 20px 11px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
	transition: filter 0.15s;
}
.participate:hover { filter: brightness(1.08); background: linear-gradient(90deg, #6a1fb0, #d31a6c); }

#participants { text-align: left; }
#participants a {
	padding: 3px 8px 3px 3px;
	background: #32244d;
	border: 1px solid #4D2F6E;
	border-radius: 15px;
	display: inline-block;
	margin-bottom: 4px;
	margin-right: 4px;
	text-decoration: none;
	font-family: 'Exo 2', sans-serif;
	font-size: 13px;
	transition: background 0.15s;
}
#participants a:hover { background: #3b2a5c; }
#participants a img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	vertical-align: middle;
}
#participants a span { vertical-align: middle; margin-left: 4px; }

#winners { text-align: center; }
#winners a {
	display: inline-block;
	background: linear-gradient(135deg, #7b2cbf, #e91e63);
	border: 1px solid #4D2F6E;
	border-radius: 5px;
	padding: 5px 10px 5px 10px;
	margin: 5px;
	text-decoration: none;
}
#winners a i { font-size: 13px; color: #FFF; font-style: normal; font-family: 'Exo 2', sans-serif; }
#winners a img {
	display: block;
	border-radius: 50%;
	height: 90px;
	width: 90px;
	margin: 8px;
	border: 2px solid #FFF;
}
#winners a span {
	display: block;
	color: #FFF;
	font-size: 13px;
	line-height: 18px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: 110px;
	font-family: 'Exo 2', sans-serif;
}

.sortition .block {
	background: #32244d;
	border: 1px solid #4D2F6E;
	color: #b7bacd;
	padding: 15px;
	border-radius: 3px;
}

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 767px) {
	.sortition #ending {
		gap: 4px;
		flex-wrap: wrap;
		justify-content: center;
	}
	.sortition #ending span {
		width: 78px;
		min-width: 78px;
		max-width: 78px;
		font-size: 26px;
		padding: 8px 2px 6px;
	}
	.sortition #ending i {
		font-size: 10px;
		line-height: 10px;
	}
	.r_block_head {
		font-size: 20px !important;
		padding: 10px 8px !important;
		line-height: 1.2 !important;
	}
	.r_block_head a {
		font-size: 20px !important;
	}
	.sortition h2 {
		font-size: 15px;
	}
	.prize {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 10px 10px 10px 34px;
		min-height: auto;
		align-items: flex-start;
	}
	.prize-main {
		font-size: 14px;
		white-space: normal;
	}
	.prize-mid, .prize-right {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		width: 100%;
		justify-content: flex-start;
	}
	.prize-mid span, .prize-right span {
		display: inline;
		font-size: 12px;
	}
	#winners a img {
		width: 70px;
		height: 70px;
	}
	#participants a {
		font-size: 12px;
		padding: 2px 6px 2px 2px;
	}
	#participants a img {
		width: 20px;
		height: 20px;
	}
}
@media (max-width: 480px) {
	.sortition #ending span {
		width: 68px;
		min-width: 68px;
		max-width: 68px;
		font-size: 22px;
	}
	.sortition #ending i {
		font-size: 9px;
	}
	.prize {
		padding-left: 30px;
	}
	.prize i.fa, .prize i.fas {
		left: 8px;
		font-size: 14px;
	}
	.r_block_head {
		font-size: 18px !important;
	}
	.r_block_head a {
		font-size: 18px !important;
	}
}
