.sortition {
	padding: 20px;
}
.sortition h3 {
	    font-size: 14px;
    text-align: center;
    margin-bottom: 0px;
    font-weight: 600;
}

.block_prizes {
	padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    gap: 10px;
    display: flex;
    background: #4d4448d4;
    align-items: center;
}

.block_prizes i{
	    font-size: 20px;
    color: #9f949b;
}

.block_prizes span{font-weight: 600;}

.right_sortion {
	width: 100%;
}

.left_sotion {
	    width: 100%;
    background: linear-gradient(1deg, #2b2528 30%, #2d2629 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

#prizes {

}

.double_flex_sortion {
	display: flex;
	gap: 20px;
	flex-direction: row-reverse;
}

.sortition .ending {display: flex;justify-content: center;margin-bottom: 20px;}
.sortition #ending {
	text-align: center;
}
.sortition #ending span {
	    color: rgb(255 255 255);
    font-size: 40px;
    font-weight: 500;
    display: inline-block;
    min-width: 110px;
    box-shadow: rgb(0 0 0 / 15%) 5px 5px 20px;
    background: linear-gradient(15deg, #3b3235 30%, #41383b 100%) !important;
    line-height: 60px;
    padding: 17px;
    margin: 7px;
    border-radius: 20px;
}
.sortition #ending i {
	    font-style: normal;
    font-size: 12px;
    display: block;
    font-weight: 600;
    line-height: 20px;
    color: #8d8082;
}

.sortition .with_code {
	color: rgb(53, 63, 74);
	background: rgba(255, 255, 255, 0.9);
	padding: 15px;
	margin: 5px;
	border-radius: 5px;
	margin-top: 15px;
}
.sortition #prizes h5 {
	font-size: 12px;
    margin-top: 13px;
    position: relative;
    z-index: 11;
    padding: 10px;
    background: radial-gradient(100% 100% at 50% 0%, #944D60 0%, #723748 100%);
    box-shadow: 0px 0px 20px rgb(148 77 96 / 28%);
    border-radius: 50px;
    margin-left: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    width: 100px;
    text-align: center;
}
.sortition #prizes .prize {
	display: block;
    position: relative;
    margin-bottom: 10px;
    line-height: 0px;
    padding: 20px 22px;
    border-radius: 13px;
    margin: -25px 0 35px 0;
    background: linear-gradient(354deg, #393235 30%, #473e42 100%) !important;
}
.sortition #prizes .prize span {
	font-size: 15px;
	width: 100%;
	display: inline-block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	line-height: 17px;
	font-weight: 600;
}
.sortition #prizes .prize span small {
	    color: #9d9599;
    font-size: 11px;
    line-height: 14px;
}
.sortition #prizes .prize i.bx {
	display: none;
}
.sortition #prizes .prize p {
	margin: 0px;
	margin-top: 10px;
}

.sortition #prizes .modal {
	text-align: left;
}
.sortition #prizes .modal-body hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

.sortition .participate {
	padding: 15px 30px;
    border: none;
   background: radial-gradient(100% 100% at 50% 0%, #944D60 0%, #723748 100%);
    font-size: 13px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 0px 20px rgb(148 77 96 / 28%);
    font-weight: 600;
    transition: 0.2s;
    color: rgb(255, 255, 255);
    display: block;
    margin: 5px auto;
    margin-top: 20px;
}
.sortition .participate:hover {
	opacity: 0.7;
}
.sortition #participants {
	display: block;
	text-align: left;
}
.sortition #participants > p {
	color: #FFF;
}
.sortition #participants a {
	padding: 10px 10px;
    display: inline-block;
    margin-bottom: 5px;
	transition: 0.2s;
    margin-right: 5px;
    padding-right: 18px;
    border-radius: 50px;
    background: linear-gradient(1deg, #433a3e 30%, #554a4f 100%) !important;
    color: #fff;
    font-size: 11px;
}
.sortition #participants a:hover {
	opacity: 0.7;
}
.sortition #participants a img {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	margin-right: 5px;
}

.sortition .winners {
	margin-left: -16px;
	margin-right: -16px;
	padding: 10px;
}
.sortition #winners {
	text-align: center;
}
.sortition #winners a {
	    display: inline-block;
    background: #453d42 !important;
    border-radius: 15px;
    padding: 10px;
    margin: 5px;
    opacity: 0.75;
    width: 120px;
}

.flex_winner {
	    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: center;
}

.winner_sortition {
	font-size: 11px;
    position: relative;
    padding: 15px 25px;
    box-shadow: 0px 0px 20px rgb(148 77 96 / 28%);
    background: radial-gradient(100% 100% at 50% 0%, #944D60 0%, #723748 100%);
    border-radius: 50px;
    margin-bottom: 5px;
    display: flex;
    font-weight: 600;
    text-align: center;
    align-items: center;
}

.winner_sortition_down {
	font-weight: 600;
}

.sortition #winners a:hover {
	opacity: 0.9;
}
.sortition #winners a i {
	font-size: 13px;
	color: #fff;
	font-style: normal;
}
.sortition #winners a img {
	display: block;
	border-radius: 50%;
	height: 80px;
	width: 80px;
	margin: 10px;
}
.sortition #winners a span {
	display: block;
	color: #ffff;
	font-size: 14px;
	line-height: 20px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	max-width: 150px;
}

.sortition a.read-more {
	display: block;
	width: 100%;
	text-align: right;
	margin-top: -10px;
	margin-bottom: 15px;
	color: rgb(119, 119, 119);
	font-size: 13px;
}

@media (max-width: 991.99px) {
	.double_flex_sortion {
	    display: flex;
	    gap: 20px;
	    flex-direction: column;
	}

	.sortition #ending {
    text-align: center;
    display: flex;
    flex-direction: column;
 }
}
/* Карточка розыгрыша на главной. Только стили модуля sortition. */
.home-giveaway .home-sortition-state {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.home-giveaway .home-sortition-note {
  display: block;
  color: var(--scl-text-secondary, #C4C4C4);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}
.home-giveaway .home-sortition-status {
  color: #e8dfe3;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
.home-giveaway .home-sortition-timer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}
.home-giveaway .home-sortition-timer > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 49px;
  padding: 5px 2px;
  border-radius: 9px;
  border: 1px solid rgba(130, 102, 114, .13);
  background: linear-gradient(180deg, #40363A 0%, #392F33 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.home-giveaway .home-sortition-timer > span:only-of-type:not([data-unit="seconds"]) {
  grid-column: 1 / -1;
}
.home-giveaway .home-sortition-timer > [data-unit="seconds"]:only-of-type {
  grid-column: 2;
}
.home-giveaway .home-sortition-timer > span i {
  display: block;
  margin-top: 4px;
  color: var(--scl-text-secondary, #C4C4C4);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}
.home-giveaway .home-sortition-participate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 0;
  padding: 10px 8px;
  border-radius: 50px;
  background: radial-gradient(100% 100% at 50% 0%, #944D60 0%, #723748 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: opacity .2s;
}
.home-giveaway .home-sortition-participate:hover,
.home-giveaway .home-sortition-participate:focus-visible {
  color: #fff;
  opacity: .7;
  text-decoration: none;
}

#sortition-page .scl-sortition-summary {
  margin-bottom: 0;
  background: transparent;
}
#sortition-page .scl-sortition-participants {
  margin-bottom: 0;
  border: 1px solid #41393a;
  background: linear-gradient(1deg, #6b5b5d1a 30%, #473c41cc 100%);
}
#sortition-page .scl-sortition-prizes {
  padding: 10px 20px;
}
#sortition-page .sortition #ending {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
#sortition-page .sortition #ending > span {
  box-sizing: border-box;
}
@media (max-width: 575.98px) {
  #sortition-page .left_sotion {
    padding: 12px;
  }
  #sortition-page .scl-sortition-summary {
    padding: 12px 0;
  }
  #sortition-page .sortition #ending {
    gap: 6px;
    width: 100%;
  }
  #sortition-page .sortition #ending > span {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 10px 3px;
    font-size: 24px;
    line-height: 1.25;
  }
  #sortition-page .sortition #ending i {
    font-size: 11px;
    line-height: 1.3;
  }
}
