.cases-key-info {
    display: flex;
    align-items: center;
    gap: 8px;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
    background: radial-gradient(100% 100% at 50% 0, #2a3673 0, #171e3f 170%);
    padding: 12px 16px;
    margin-top: 16px;
    margin-bottom: -4px;
    color: rgba(255,255,255,.6);
    font-size: 12px;
    flex-wrap: wrap;
}
.cases-key-info i {
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.cases-key-info span:first-of-type {
    flex: 1;
}
.cases-key-count b {
    color: #fff;
}

.cases-main-block
{
      background: #101737;
      padding: 20px;
      position: relative;
      margin-bottom: 20px;
      clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

#open_cases_feed
{
	position: relative;
    display: flex;
    width: 100%;
    min-height: 172px;
    box-sizing: border-box;
    padding: 17px;
    gap: 15px;
    transition: 0.2s;
    background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

#open_cases_feed::-webkit-scrollbar {
	display: none;
}

#my_cases_area
{
	position: relative;
    display: flex;
    width: 100%;
    min-height: 172px;
    box-sizing: border-box;
    padding: 17px;
    gap: 15px;
    transition: 0.2s;
    background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    cursor: grab;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

#my_cases_area::-webkit-scrollbar {
	display: none;
}

#my_cases_area.dragging {
	cursor: grabbing;
}

.live-feed-wrap {
    position: relative;
    width: 100%;
    min-height: 172px;
    padding-left: 64px;
}

.cases-feed-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 138px;
    margin: 0;
    padding: 0 12px;
    text-align: center;
    color: #8b97c9;
    font-size: 13px;
    line-height: 1.4;
    flex: 1 1 100%;
}

#open_cases_feed .loader,
#my_cases_area .loader {
    margin: auto;
}

.live_count {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
	background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.live_count span {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: Furore, sans-serif;
    font-size: 12px;
    font-weight: 100;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c6d0fc;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .cases-top-row::after {
        display: none;
    }
}

.case-img img {
    height: 50px;
}

.opened-case {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    color: rgb(102 118 182);
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Furore', sans-serif;
}

.case-info
{
	display: flex;
    flex-direction: column;
    align-items: center;
	z-index: 1;
}

#open_cases_feed .case-info {
    align-items: center;
    width: 100%;
}

.case-login
{
	display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 11px;
    color: #ff96a3;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Furore', sans-serif;
}

.case-time
{
    color: #ffc696;
    font-size: 8px;
    text-transform: uppercase;
    background: #3c404842;
    border-radius: 50px;
    padding: 0px 10px;
    height: 20px;
    font-weight: 600;
    display: flex;
    margin-top: 3px;
    align-items: center;
    white-space: nowrap;
}

.opened-case {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(10px);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

#open_cases_feed .opened-case .subject {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 16px;
    opacity: 0;
    background: rgba(8, 12, 24, .82);
    backdrop-filter: blur(14px);
    transform: scale(.96);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 5;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

#open_cases_feed .opened-case:hover .subject {
	opacity: 1;
}

#my_cases_area .opened-case .subject {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 16px;
    opacity: 0;
    background: rgba(8, 12, 24, .82);
    backdrop-filter: blur(14px);
    transform: scale(.96);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 5;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

#my_cases_area .opened-case:hover .subject {
	opacity: 1;
}

#my_cases .modal-dialog {
    max-width: 920px;
}

#my_cases .modal-content {
    background: linear-gradient(180deg, #151d42 0%, #0f1737 100%);
    box-shadow: 0 18px 45px rgba(5, 10, 28, 0.45);
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

#my_cases .modal-header {
    padding: 14px 18px;
}

#my_cases .modal-title {
    color: #e8edff;
    font-family: Furore, sans-serif;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

#my_cases .close {
    color: #c6d0fc;
    opacity: 0.85;
    text-shadow: none;
}

#my_cases .close:hover {
    opacity: 1;
}

#my_cases .modal-body#my_cases_area {
    min-height: 140px;
}

#my_cases #my_cases_area .loader {
    margin: 26px auto;
}

.case-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 18px 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, rgba(29, 37, 77, 0.95), rgba(20, 27, 58, 0.98));
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.case-card-wrap .case-server-name {
    position: absolute;
    left: 29%;
    transform: translateX(-50%);
    max-width: calc(100% - 24px);
    padding: 6px 12px;
    background: linear-gradient(180deg, #6f7cff 0%, #5a67ee 100%);
    color: #0b1230;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    z-index: 8;
    pointer-events: none;
}

.case-image-block {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.case-image-block img {
    width: 72px;

    object-fit: contain;

    transition: transform .25s ease;

    filter:
        drop-shadow(0 6px 14px rgba(255,186,0,.28));
}

.case-block:hover img {
    transform: scale(1.08);
}

.case-content {
    display: flex;
    flex-direction: column;

    gap: 8px;

    flex: 1;
}

.case-title {
    font-size: 18px;

    font-weight: 700;

    color: #ffffff;

    line-height: 1.2;
}

.case-price {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    background: rgba(255, 255, 255, .05);
    color: #ffb86b;
    font-size: 13px;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.case-arrow {
    padding: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #7c5cff, #6247ea);
    color: white;
    font-size: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.cases_icon {
    position: absolute !important;
    width: 100%;
    height: 100%;
    margin-left: -17px;
    margin-top: -17px;
}

.cases_icon i {
    position: absolute;
    font-size: 86px;
    transform: rotate(336deg);
    right: -14px;
    bottom: -30px;
    background: -webkit-linear-gradient(#2b3771, #2b377114);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cases_feed_icon {
    position: absolute !important;
    width: 100%;
    height: 100%;
    margin-left: -5px;
    margin-top: -17px;
}

.cases_feed_icon i { 
    position: absolute;
    font-size: 86px;
    transform: rotate(336deg);
    right: -14px;
    bottom: -30px;
    background: -webkit-linear-gradient(#2b3771, #2b377114);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-block .subject {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px;
    opacity: 0;
    background: rgba(8, 12, 24, .82);
    backdrop-filter: blur(14px);
    transform: scale(.96);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 5;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.case-block:hover .subject {
    opacity: 1;
    transform: scale(1);
}

.case-block .subject-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Furore', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.case-block .subject-subtext {
    font-size: 11px;
    color: #ffb86b;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cases-header-block {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	position: relative;
}

.left-block {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	justify-content: space-between;
}

.right-block {
	justify-self: end;
	display: flex;
	align-items: center;
}

.cases-header-block h2 {
	margin: 0;
	text-align: center;
	white-space: nowrap;
}

.cases-main-block > a[class^="icon"] {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 12px;
    opacity: 0.45;
    background-size: 100% 100%;
    cursor: pointer;
    z-index: 3;
}

.cases-main-block > a[class^="icon"]:hover {
    opacity: 0.9;
}

.cases-main-block > a[class^="icon"].icon-open-cases {
    right: 46px;
    background-image: url(../img/icon-key.png);
}

.cases-main-block > a[class^="icon"].icon-back-to-cases {
    left: 12px;
    background-image: url(../img/icon-back.png);
}

.cases-main-block > h2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 66px;
    margin-bottom: 18px;
    line-height: 1;
    letter-spacing: 1.4px;
    font-family: Furore, sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
    background: radial-gradient(120% 120% at 50% 0%, rgba(72, 98, 255, 0.18) 0%, rgba(8, 14, 36, 0) 55%), linear-gradient(180deg, #0e173d 0%, #0a1233 100%);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.cases-main-block .roulette {
    padding: 18px 27px 24px;
    position: relative;
    overflow: hidden;
    height: 330px;
    margin: 0 auto;
}

.cases-main-block .roulette > #sound-point {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    opacity: 0.45;
    right: 10px;
    top: 50%;
    transform: translateY(calc(-50% - 16px));
    cursor: pointer;
    z-index: 5;
}

.cases-main-block .roulette > #sound-point > .bx {
    font-size: 19px;
    line-height: 1;
    color: #dbe4ff;
    pointer-events: none;
}

.cases-main-block .roulette > #sound-point .icon-off {
    display: none;
}

.cases-main-block .roulette > #sound-point.sound-off .icon-on {
    display: none;
}

.cases-main-block .roulette > #sound-point.sound-off .icon-off {
    display: block;
}

.cases-main-block .roulette > #sound-point:hover {
    opacity: 1;
}

.cases-main-block .roulette > #sound-point:hover > .bx {
    color: #ffffff;
}

.cases-main-block .roulette > #open-mode-point {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    opacity: 0.45;
    right: 10px;
    top: 50%;
    transform: translateY(calc(-50% + 16px));
    cursor: pointer;
    z-index: 5;
}

.cases-main-block .roulette > #open-mode-point > .bx {
    font-size: 18px;
    line-height: 1;
    color: #dbe4ff;
    pointer-events: none;
}

.cases-main-block .roulette > #open-mode-point::after {
    content: '';
    display: none;
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ff7f7f;
    transform: rotate(-36deg);
    border-radius: 2px;
}

.cases-main-block .roulette > #open-mode-point.open-mode-instant::after {
    display: block;
}

.cases-main-block .roulette > #open-mode-point:hover {
    opacity: 1;
}

.cases-main-block .roulette > #open-mode-point:hover > .bx {
    color: #ffffff;
}

.cases-main-block .roulette .roulette-slider {
    padding: 0 30px;
    position: relative;
    height: 278px;
}

.cases-main-block .roulette .roulette-slider .r-left {
    position: absolute;
    left: -24px;
    top: -8px;
    display: block;
    background: url(../img/r-left.png) no-repeat;
    width: 73px;
    height: 394px;
    z-index: 3;
}

.cases-main-block .roulette .roulette-slider .r-right {
    position: absolute;
    right: -37px;
    top: 3px;
    display: block;
    background: url(../img/r-right.png) no-repeat;
    width: 83px;
    height: 379px;
    z-index: 3;
}

.cases-main-block .roulette .roulette-slider .r-side {
    left: 49px;
    width: calc(50% - 47px);
    top: 4px;
    bottom: -45px;
    position: absolute;
    background: url(../img/r-side.png) repeat-x;
    z-index: 2;
}

.cases-main-block .roulette .roulette-slider .r-side2 {
    right: 46px;
    width: calc(50% - 48px);
    top: 4px;
    bottom: -45px;
    position: absolute;
    background: url(../img/r-side.png) repeat-x;
    z-index: 2;
}

.cases-main-block .roulette .roulette-slider .top-arr {
    background: url(../img/top-arr.png) no-repeat;
    width: 172px;
    height: 28px;
    position: absolute;
    left: 50%;
    top: -11px;
    transform: translate(-50%, 0);
    z-index: 4;
}

.cases-main-block .roulette .roulette-slider .bottom-arr {
    background: url(../img/bottom-arr.png) 0 0 no-repeat;
    width: 172px;
    height: 28px;
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 0);
    z-index: 4;
}

.cases-main-block .roulette .roulette-slider .roulette-area {
    overflow: hidden;
    width: calc(100% + 36px);
    height: 100%;
    margin-left: -18px;
    position: relative;
    z-index: 1;
}
.cases-main-block .roulette .roulette-slider .roulette-area #roulette {
    top: 40px;
    position: relative;
}

.cases-main-block .roulette .roulette-slider .roulette-area #roulette .roulette-inner {
    transition: 0s linear;
    position: relative;
    top: 0;
    white-space: nowrap;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.cases-main-block .roulette .roulette-slider .roulette-area #roulette .roulette-inner .subject-block {
    box-shadow: none !important;
    flex: 0 0 180px;
    margin-right: 10px;
}

#open-case, button.open-case {
    padding: 0 45px;
    height: 56px;
    line-height: 56px;
    background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    border-radius: 8px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin: 16px auto;
    display: block;
    cursor: pointer;
}

#open-case:hover,
button.open-case:hover {
    opacity: 0.85;
}

#case-subjects {
    position: relative;
    margin-top: 26px;
    padding: 22px 28px 28px;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
    background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 22px 38px rgba(0, 0, 0, 0.35);
}

#case-subjects > br {
    display: none;
}

#case-subjects > h2 {
    font-size: 24px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
}

#case-subjects > #subjects {
    padding: 16px 18px 18px;
    background: linear-gradient(180deg, rgba(4, 10, 32, 0.8), rgba(6, 12, 34, 0.92));
    box-shadow: inset 0 0 0 1px rgba(122, 153, 255, 0.2), inset 0 12px 24px rgba(0, 0, 0, 0.35);
    border-radius: 14px;
}

#subjects,
#roulette,
#prize_area {
    text-align: start;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#subjects .subject-block, #roulette .subject-block, #prize_area .subject-block {
    overflow: hidden;
    display: inline-block;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
    height: 200px;
    width: 180px;
    margin: 5px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
}

#subjects .subject-block .b-top,
#subjects .subject-block .b-bottom,
#subjects .subject-block .b-left,
#subjects .subject-block .b-right,
#roulette .subject-block .b-top,
#roulette .subject-block .b-bottom,
#roulette .subject-block .b-left,
#roulette .subject-block .b-right,
#prize_area .subject-block .b-top,
#prize_area .subject-block .b-bottom,
#prize_area .subject-block .b-left,
#prize_area .subject-block .b-right {
    position: absolute;
    display: block;
}

#subjects .subject-block .b-top,
#roulette .subject-block .b-top,
#prize_area .subject-block .b-top {
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

#subjects .subject-block .b-bottom,
#roulette .subject-block .b-bottom,
#prize_area .subject-block .b-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 88px;
    margin-left: auto;
    margin-right: auto;
    height: 2px;
}

#subjects .subject-block .b-left,
#roulette .subject-block .b-left,
#prize_area .subject-block .b-left {
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
}

#subjects .subject-block .b-right,
#roulette .subject-block .b-right,
#prize_area .subject-block .b-right {
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
}

#subjects .subject-block.gold,
#roulette .subject-block.gold,
#prize_area .subject-block.gold,
#subjects .subject-block.orange,
#roulette .subject-block.orange,
#prize_area .subject-block.orange {
    background: linear-gradient(180deg, #424250 30%, #ff7a3b73 160%);
}

#subjects .subject-block.gold > .b-bottom,
#roulette .subject-block.gold > .b-bottom,
#prize_area .subject-block.gold > .b-bottom,
#subjects .subject-block.orange > .b-bottom,
#roulette .subject-block.orange > .b-bottom,
#prize_area .subject-block.orange > .b-bottom {
    background: #ff9a60;
}

#subjects .subject-block.gold .subject > span:nth-child(1),
#roulette .subject-block.gold .subject > span:nth-child(1),
#prize_area .subject-block.gold .subject > span:nth-child(1),
#subjects .subject-block.orange .subject > span:nth-child(1),
#roulette .subject-block.orange .subject > span:nth-child(1),
#prize_area .subject-block.orange .subject > span:nth-child(1) {
    color: #ffb895;
}

#subjects .subject-block.military,
#roulette .subject-block.military,
#prize_area .subject-block.military {
    background: linear-gradient(180deg, #424250 30%, #45764373 160%);
}

#subjects .subject-block.military > .b-bottom,
#roulette .subject-block.military > .b-bottom,
#prize_area .subject-block.military > .b-bottom {
    background: #5a9957;
}

#subjects .subject-block.military .subject > span:nth-child(1),
#roulette .subject-block.military .subject > span:nth-child(1),
#prize_area .subject-block.military .subject > span:nth-child(1) {
    color: #7bb880;
}

#subjects .subject-block.mythic,
#roulette .subject-block.mythic,
#prize_area .subject-block.mythic {
    background: linear-gradient(180deg, #424250 30%, #7a4dff73 160%);
}

#subjects .subject-block.mythic > .b-bottom,
#roulette .subject-block.mythic > .b-bottom,
#prize_area .subject-block.mythic > .b-bottom {
    background: #8d6bff;
}

#subjects .subject-block.mythic .subject > span:nth-child(1),
#roulette .subject-block.mythic .subject > span:nth-child(1),
#prize_area .subject-block.mythic .subject > span:nth-child(1) {
    color: #c0b0ff;
}

#subjects .subject-block.legendary,
#roulette .subject-block.legendary,
#prize_area .subject-block.legendary {
    background: linear-gradient(180deg, #424250 30%, #ff8f3b73 160%);
}

#subjects .subject-block.legendary > .b-bottom,
#roulette .subject-block.legendary > .b-bottom,
#prize_area .subject-block.legendary > .b-bottom {
    background: #ffa14f;
}

#subjects .subject-block.legendary .subject > span:nth-child(1),
#roulette .subject-block.legendary .subject > span:nth-child(1),
#prize_area .subject-block.legendary .subject > span:nth-child(1) {
    color: #ffc593;
}

#subjects .subject-block.pink,
#roulette .subject-block.pink,
#prize_area .subject-block.pink {
    background: linear-gradient(180deg, #424250 30%, #ff5cb873 160%);
}

#subjects .subject-block.pink > .b-bottom,
#roulette .subject-block.pink > .b-bottom,
#prize_area .subject-block.pink > .b-bottom {
    background: #ff73c4;
}

#subjects .subject-block.pink .subject > span:nth-child(1),
#roulette .subject-block.pink .subject > span:nth-child(1),
#prize_area .subject-block.pink .subject > span:nth-child(1) {
    color: #ffaadb;
}

#subjects .subject-block.yellow,
#roulette .subject-block.yellow,
#prize_area .subject-block.yellow {
    background: linear-gradient(180deg, #424250 30%, #f5d64b73 160%);
}

#subjects .subject-block.yellow > .b-bottom,
#roulette .subject-block.yellow > .b-bottom,
#prize_area .subject-block.yellow > .b-bottom {
    background: #ffe067;
}

#subjects .subject-block.yellow .subject > span:nth-child(1),
#roulette .subject-block.yellow .subject > span:nth-child(1),
#prize_area .subject-block.yellow .subject > span:nth-child(1) {
    color: #fff0ad;
}

#subjects .subject-block.green,
#roulette .subject-block.green,
#prize_area .subject-block.green {
    background: linear-gradient(180deg, #424250 30%, #4bcf6a73 160%);
}

#subjects .subject-block.green > .b-bottom,
#roulette .subject-block.green > .b-bottom,
#prize_area .subject-block.green > .b-bottom {
    background: #63dd81;
}

#subjects .subject-block.green .subject > span:nth-child(1),
#roulette .subject-block.green .subject > span:nth-child(1),
#prize_area .subject-block.green .subject > span:nth-child(1) {
    color: #a9efba;
}

#subjects .subject-block.teal,
#roulette .subject-block.teal,
#prize_area .subject-block.teal {
    background: linear-gradient(180deg, #424250 30%, #2fc8be73 160%);
}

#subjects .subject-block.teal > .b-bottom,
#roulette .subject-block.teal > .b-bottom,
#prize_area .subject-block.teal > .b-bottom {
    background: #49d6cc;
}

#subjects .subject-block.teal .subject > span:nth-child(1),
#roulette .subject-block.teal .subject > span:nth-child(1),
#prize_area .subject-block.teal .subject > span:nth-child(1) {
    color: #97efe8;
}

#subjects .subject-block > .subject-services,
#roulette .subject-block > .subject-services,
#prize_area .subject-block > .subject-services {
    height: 200px;
    width: 100%;
    display: table;
    padding: 8px;
}

#subjects .subject-block > .subject-services .subject-fix,
#roulette .subject-block > .subject-services .subject-fix,
#prize_area .subject-block > .subject-services .subject-fix {
    display: table-cell;
    height: auto;
    text-align: center;
    vertical-align: middle;
}

#subjects .subject-block > .subject-services .subject-fix .subject span,
#roulette .subject-block > .subject-services .subject-fix .subject span,
#prize_area .subject-block > .subject-services .subject-fix .subject span {
    width: 164px;
    display: block;
}

#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(1),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(1),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(1) {
    font-size: 15px;
    text-overflow: ellipsis;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
}

#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(3),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(3),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(3) {
    line-height: 13px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    font-family: "Unbounded", sans-serif;
}

#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(3),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(3),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(3) {
    margin-bottom: 5px;
}

.cases-main-block .roulette {
    position: relative;
    padding: 22px 28px 28px;
    height: 360px;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
    background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 22px 38px rgba(0, 0, 0, 0.35);
}

.cases-main-block .roulette::before,
.cases-main-block .roulette::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 96px;
    height: 250px;
    transform: translateY(-50%);
    background: url(../img/r-left2.png) no-repeat center;
    background-size: contain;
    opacity: 0.65;
    filter: drop-shadow(0 6px 16px rgba(20, 35, 95, 0.75));
    pointer-events: none;
    z-index: 6;
}

.cases-main-block .roulette::before {
    left: -24px;
}

.cases-main-block .roulette::after {
    right: -24px;
    transform: translateY(-50%) scaleX(-1);
}

.cases-main-block .roulette .roulette-slider {
    height: 300px;
    padding: 0 34px;
}

.cases-main-block .roulette .roulette-slider .roulette-area {
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(4, 10, 32, 0.8), rgba(6, 12, 34, 0.92));
    box-shadow: inset 0 0 0 1px rgba(122, 153, 255, 0.2), inset 0 12px 24px rgba(0, 0, 0, 0.35);
}

.cases-main-block .roulette .roulette-slider .top-arr,
.cases-main-block .roulette .roulette-slider .bottom-arr {
    width: 50px;
    background-size: 100% 100%;
}

.cases-main-block .roulette .roulette-slider .top-arr {
    top: -8px;
}

.cases-main-block .roulette .roulette-slider .bottom-arr {
    bottom: -8px;
}

.cases-main-block .roulette .roulette-slider .r-left,
.cases-main-block .roulette .roulette-slider .r-right {
    opacity: 0.92;
    filter: drop-shadow(0 8px 16px rgba(11, 23, 66, 0.8));
}

.cases-main-block .roulette .roulette-slider .r-side,
.cases-main-block .roulette .roulette-slider .r-side2 {
    opacity: 0.78;
}

.cases-main-block .roulette::before,
.cases-main-block .roulette::after,
.cases-main-block .roulette .roulette-slider .r-left,
.cases-main-block .roulette .roulette-slider .r-right,
.cases-main-block .roulette .roulette-slider .r-side,
.cases-main-block .roulette .roulette-slider .r-side2 {
    display: none !important;
}

.cases-main-block .roulette .roulette-slider .top-arr,
.cases-main-block .roulette .roulette-slider .bottom-arr {
    display: block;
    z-index: 6;
}

.cases-main-block .roulette .roulette-slider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    bottom: 18px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        rgba(111, 139, 255, 0),
        rgba(111, 139, 255, 0.95) 12%,
        rgba(58, 85, 232, 1) 50%,
        rgba(111, 139, 255, 0.95) 88%,
        rgba(111, 139, 255, 0)
    );
    box-shadow: 0 0 12px rgba(75, 102, 242, 0.7);
    pointer-events: none;
    z-index: 5;
}

.cases-main-block .roulette .roulette-slider .top-arr,
.cases-main-block .roulette .roulette-slider .bottom-arr {
    background: none;
    overflow: visible;
}

.cases-main-block .roulette .roulette-slider .top-arr::before,
.cases-main-block .roulette .roulette-slider .bottom-arr::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #8aa4ff 0%, #4b66f2 45%, #3a55e8 100%);
    filter: drop-shadow(0 2px 10px rgba(58, 85, 232, 0.45));
}

.cases-main-block .roulette .roulette-slider .top-arr::before {
    clip-path: polygon(50% 100%, 100% 0, 82% 0, 50% 62%, 18% 0, 0 0);
}

.cases-main-block .roulette .roulette-slider .bottom-arr::before {
    clip-path: polygon(50% 0, 100% 100%, 82% 100%, 50% 38%, 18% 100%, 0 100%);
}

#roulette .subject-block > .subject-services {
    position: relative;
    z-index: 3;
}

#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(3) {
    white-space: normal;
    overflow-wrap: anywhere;
}

.cases-main-block .roulette .roulette-slider::before {
    z-index: 2;
}

.cases-main-block {
    position: relative;
}

.cases-main-block > h2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 66px;
    margin-bottom: 18px;
    line-height: 1;
    letter-spacing: 1.4px;
    font-family: Furore, sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
    background: linear-gradient(15deg, #1d254d 30%, #222d5f 100%);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(8, 14, 38, 0.3);
}

.cases-main-block > h2::before,
.cases-main-block > h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(36px, 9vw, 120px);
    height: 2px;
    background: linear-gradient(90deg, rgba(126, 150, 231, 0) 0%, rgba(126, 150, 231, 0.85) 100%);
    transform: translateY(-50%);
    pointer-events: none;
}

.cases-main-block > h2::before {
    left: 58px;
    transform: translateY(-50%) scaleX(-1);
}

.cases-main-block > h2::after {
    right: 58px;
}

.cases-main-block .cases-section-title {
    width: 100%;
    margin: 15px 0 15px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    clip-path: none;
    text-align: center;
}

.cases-main-block .cases-section-title span {
    position: relative;
    display: inline-block;
    padding: 0 24px 18px;
    font-family: Furore, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
}

.cases-main-block .cases-section-title span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100%, 240px);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(126, 150, 231, 0) 0%,
        rgba(126, 150, 231, 0.95) 50%,
        rgba(126, 150, 231, 0) 100%
    );
}

.cases-main-block .cases-section-title_common {
    width: 100%;
    padding: 15px 0 0 0;
    border: 0;
    background: none;
    box-shadow: none;
    clip-path: none;
    text-align: center;
}

.cases-main-block .cases-section-title_common span {
    position: relative;
    display: inline-block;
    padding: 0 24px 18px;
    font-family: Furore, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
}

.cases-main-block .cases-section-title_common span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100%, 240px);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(126, 150, 231, 0) 0%,
        rgba(126, 150, 231, 0.95) 50%,
        rgba(126, 150, 231, 0) 100%
    );
}

.cases-main-block > a[class^="icon"] {
    top: 27px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    background-color: #303c7b;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.cases-main-block > a[class^="icon"].icon-back-to-cases {
    left: 30px;
    background-image: none;
}

.cases-main-block > a[class^="icon"].icon-open-cases {
    right: 30px;
    background-image: none;
}

.cases-main-block > a[class^="icon"] > .bx {
    font-size: 18px;
    line-height: 1;
    color: #dbe4ff;
    pointer-events: none;
}

.cases-main-block > a[class^="icon"]:hover {
    opacity: 1;
    border-color: rgba(161, 178, 245, 0.72);
    background-color: #313f82;
}

.cases-main-block > a[class^="icon"]:hover > .bx {
    color: #ffffff;
}

#open-case:hover,
button.open-case:hover {
    background: #18204d;
}

#case_modals .modal-dialog {
    margin: 28px auto;
}

#case_modals .modal-dialog.modal-lg {
    max-width: 920px;
}

#case_modals .modal-dialog.modal-sm {
    max-width: 420px;
}

#case_modals > .modal[id^="subject"] .modal-dialog {
    max-width: 800px;
}

#case_modals .modal-content {
    border-radius: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    background: linear-gradient(8deg, #131939 30%, #151c43 100%);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

#case_modals .modal-header {
    position: relative;
    border-bottom: none;
    padding: 17px 20px 14px;
    display: flex;
}

#case_modals .modal-header .close {
    position: absolute;
    right: 20px;
    top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0;
    height: 28px;
    width: 28px;
    opacity: 1;
    padding: 0;
    line-height: 1;
    font-weight: 500;
    color: #ff7373 !important;
    border-radius: 0;
    background: linear-gradient(14deg, #ff4b4b21 10%, #ff4b4b3d 100%);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    transition: .2s all;
}

#case_modals .modal-header .close:hover {
    opacity: 0.7;
}

#case_modals .modal-header .modal-title,
#case_modals .modal-header h4 {
    margin: 0;
    padding-right: 44px;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
}

#case_modals .modal-header h4::after,
#case_modals .modal-header .modal-title::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 8px;
    background: linear-gradient(90deg, #7f8fff 0%, #5f75ff 100%);
}

#case_modals .modal-body {
    padding: 0 20px 20px;
    color: #e5ebff;
}

#case_modals .modal-body h4 {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

#case_modals .modal-body b {
    color: #ffffff;
}

#case_modals .modal-body hr {
    border-color: rgba(255, 255, 255, 0.12);
}

#subjects .subject-block,
#roulette .subject-block,
#prize_area .subject-block {
    background: linear-gradient(180deg, #47485a 6%, #2f3446 56%, color-mix(in srgb, var(--card-glow, #5a9957) 52%, transparent) 150%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#subjects .subject-block .b-bottom,
#roulette .subject-block .b-bottom,
#prize_area .subject-block .b-bottom {
    background: var(--card-accent, #5a9957);
    box-shadow: 0 0 8px color-mix(in srgb, var(--card-accent, #5a9957) 70%, transparent);
}

#subjects .subject-block .subject > span:nth-child(1),
#roulette .subject-block .subject > span:nth-child(1),
#prize_area .subject-block .subject > span:nth-child(1) {
    color: var(--card-title, #9fd6aa);
    text-shadow: 0 1px 8px color-mix(in srgb, var(--card-title, #9fd6aa) 30%, transparent);
}

#subjects .subject-block.military,
#roulette .subject-block.military,
#prize_area .subject-block.military {
    --card-glow: #5a9957;
    --card-accent: #5a9957;
    --card-title: #8ecf95;
}

#subjects .subject-block.teal,
#roulette .subject-block.teal,
#prize_area .subject-block.teal {
    --card-glow: #45cfc4;
    --card-accent: #45d7cc;
    --card-title: #97efe8;
}

#subjects .subject-block.green,
#roulette .subject-block.green,
#prize_area .subject-block.green {
    --card-glow: #52d872;
    --card-accent: #63dd81;
    --card-title: #a9efba;
}

#subjects .subject-block.blue,
#roulette .subject-block.blue,
#prize_area .subject-block.blue {
    --card-glow: #4d79ff;
    --card-accent: #6d92ff;
    --card-title: #afc3ff;
}

#subjects .subject-block.purple,
#roulette .subject-block.purple,
#prize_area .subject-block.purple {
    --card-glow: #7a5bff;
    --card-accent: #947bff;
    --card-title: #c2b5ff;
}

#subjects .subject-block.yellow,
#roulette .subject-block.yellow,
#prize_area .subject-block.yellow {
    --card-glow: #e0bd3f;
    --card-accent: #ffe067;
    --card-title: #fff0ad;
}

#subjects .subject-block.red,
#roulette .subject-block.red,
#prize_area .subject-block.red {
    --card-glow: #e54b55;
    --card-accent: #ff6f7a;
    --card-title: #ffb1b8;
}

#subjects .subject-block.pink,
#roulette .subject-block.pink,
#prize_area .subject-block.pink {
    --card-glow: #dd54ab;
    --card-accent: #ff73c4;
    --card-title: #ffb0dd;
}

#subjects .subject-block.orange,
#roulette .subject-block.orange,
#prize_area .subject-block.orange {
    --card-glow: #ff8748;
    --card-accent: #ff9a60;
    --card-title: #ffc39b;
}

#subjects .subject-block.legendary,
#roulette .subject-block.legendary,
#prize_area .subject-block.legendary {
    --card-glow: #ff9a4a;
    --card-accent: #ffb067;
    --card-title: #ffd1a8;
}

#subjects .subject-block.mythic,
#roulette .subject-block.mythic,
#prize_area .subject-block.mythic {
    --card-glow: #8a63ff;
    --card-accent: #9d7dff;
    --card-title: #cdc0ff;
}

#subjects .subject-block.gold,
#roulette .subject-block.gold,
#prize_area .subject-block.gold {
    --card-glow: #f2bf46;
    --card-accent: #ffd367;
    --card-title: #ffe8ab;
}

#subjects .subject-block,
#roulette .subject-block,
#prize_area .subject-block {
    border-radius: 20px;
    clip-path: none;
    box-shadow: none;
    background: linear-gradient(180deg, #161616 30%, color-mix(in srgb, var(--card-accent, #ff9a60) 45%, transparent) 160%);
}

#subjects .subject-block::before,
#roulette .subject-block::before,
#prize_area .subject-block::before,
#subjects .subject-block::after,
#roulette .subject-block::after,
#prize_area .subject-block::after {
    content: none;
}

#subjects .subject-block > .subject-services,
#roulette .subject-block > .subject-services,
#prize_area .subject-block > .subject-services {
    height: 200px;
    width: 100%;
    display: table;
    padding: 8px;
    position: relative;
    z-index: 2;
}

#subjects .subject-block > .subject-services .subject-center-svg-wrap,
#roulette .subject-block > .subject-services .subject-center-svg-wrap,
#prize_area .subject-block > .subject-services .subject-center-svg-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

#subjects .subject-block > .subject-services .subject-center-svg,
#roulette .subject-block > .subject-services .subject-center-svg,
#prize_area .subject-block > .subject-services .subject-center-svg {
    width: 118px;
    height: 118px;
    color: rgba(255, 255, 255, 0.18);
    opacity: 0.95;
}

#subjects .subject-block > .subject-services .subject-fix,
#roulette .subject-block > .subject-services .subject-fix,
#prize_area .subject-block > .subject-services .subject-fix {
    display: table-cell;
    height: auto;
    text-align: center;
    vertical-align: middle;
    position: relative;
    z-index: 2;
}

#subjects .subject-block > .subject-services .subject-fix > img,
#roulette .subject-block > .subject-services .subject-fix > img,
#prize_area .subject-block > .subject-services .subject-fix > img,
#subjects .subject-block > .subject-services .subject-fix > img.roulette_weapon,
#roulette .subject-block > .subject-services .subject-fix > img.roulette_weapon,
#prize_area .subject-block > .subject-services .subject-fix > img.roulette_weapon {
    width: 134px;
    height: 134px;
    object-fit: cover;
    display: inline-block;
}

#subjects .subject-block > .subject-services .subject-fix .subject,
#roulette .subject-block > .subject-services .subject-fix .subject,
#prize_area .subject-block > .subject-services .subject-fix .subject {
    display: block;
}

#subjects .subject-block > .subject-services .subject-fix .subject > img,
#roulette .subject-block > .subject-services .subject-fix .subject > img,
#prize_area .subject-block > .subject-services .subject-fix .subject > img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px;
    border-radius: 12px;
    margin-top: 30px;
}

#subjects .subject-block > .subject-services .subject-fix .subject span,
#roulette .subject-block > .subject-services .subject-fix .subject span,
#prize_area .subject-block > .subject-services .subject-fix .subject span {
    width: 164px;
    display: block;
    margin: 0 auto;
    text-align: center;
    text-shadow: none;
}

#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(1),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(1),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(1) {
    font-size: 15px;
    line-height: normal;
    font-weight: 600;
    color: var(--card-title, #ffc8a7);
    text-transform: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#subjects .subject-block > .subject-services .subject-fix .subject span:nth-child(3),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#roulette .subject-block > .subject-services .subject-fix .subject span:nth-child(3),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(2),
#prize_area .subject-block > .subject-services .subject-fix .subject span:nth-child(3) {
    font-size: 9.6px;
    line-height: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}

#subjects .subject-block .b-bottom,
#roulette .subject-block .b-bottom,
#prize_area .subject-block .b-bottom {
    left: 0;
    right: 0;
    width: 88px;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
    background: var(--card-accent, #ff9a60);
    box-shadow: none;
}

#subjects .subject-block.orange,
#roulette .subject-block.orange,
#prize_area .subject-block.orange {
    --card-accent: #ff9a60;
    --card-title: #ffc8a7;
}

#subjects .subject-block.red,
#roulette .subject-block.red,
#prize_area .subject-block.red {
    --card-accent: #ff6161;
    --card-title: #ff9191;
}

#subjects .subject-block.purple,
#roulette .subject-block.purple,
#prize_area .subject-block.purple {
    --card-accent: #9a7cff;
    --card-title: #b49fff;
}

#subjects .subject-block.blue,
#roulette .subject-block.blue,
#prize_area .subject-block.blue {
    --card-accent: #6b9bff;
    --card-title: #a7c4ff;
}

#subjects .subject-block.military,
#roulette .subject-block.military,
#prize_area .subject-block.military {
    --card-accent: #53cc71;
    --card-title: #8de3a0;
}

#subjects .subject-block,
#roulette .subject-block,
#prize_area .subject-block {
    position: relative;
    overflow: hidden;
}

#subjects .subject-block::before,
#roulette .subject-block::before,
#prize_area .subject-block::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 62px;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg%20fill%3D%27none%27%20viewBox%3D%270%200%20120%2098%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20clip-rule%3D%27evenodd%27%20d%3D%27M74.319%2021.354c-3.526%203.122-5.748%207.67-5.748%2012.733%200%202.186.415%204.277%201.17%206.198A17.147%2017.147%200%200085.713%2051.13c9.468%200%2017.143-7.63%2017.143-17.043L120%2025.565l-8.571%2059.652C111.429%2092.277%2088.403%2098%2060%2098%2031.597%2098%208.571%2092.277%208.571%2085.217L0%2025.565l17.143%208.522c0%209.413%207.675%2017.043%2017.143%2017.043s17.143-7.63%2017.143-17.043c0-5.064-2.221-9.612-5.748-12.733L60.001%200l14.318%2021.354zM60%2089.478c23.67%200%2042.857-3.815%2042.857-8.521%200-4.707-19.188-8.522-42.857-8.522-23.67%200-42.857%203.815-42.857%208.522%200%204.706%2019.188%208.521%2042.857%208.521z%27%20fill%3D%27%23ffffff%27%20fill-opacity%3D%27.1%27/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

#subjects .subject-block > .subject-services,
#roulette .subject-block > .subject-services,
#prize_area .subject-block > .subject-services {
    position: relative;
    z-index: 2;
}

#subjects .subject-block::before,
#roulette .subject-block::before,
#prize_area .subject-block::before,
#subjects .subject-block::after,
#roulette .subject-block::after,
#prize_area .subject-block::after {
    content: none !important;
    background: none !important;
}

#subjects .subject-block.orange,
#roulette .subject-block.orange,
#prize_area .subject-block.orange {
    background: linear-gradient(180deg, #161616 30%, rgba(255, 122, 59, 0.45) 160%);
}

#subjects .subject-block.red,
#roulette .subject-block.red,
#prize_area .subject-block.red {
    background: linear-gradient(180deg, #161616 30%, rgba(255, 63, 63, 0.45) 160%);
}

#subjects .subject-block.purple,
#roulette .subject-block.purple,
#prize_area .subject-block.purple {
    background: linear-gradient(180deg, #161616 30%, rgba(158, 112, 255, 0.45) 160%);
}

#subjects .subject-block.blue,
#roulette .subject-block.blue,
#prize_area .subject-block.blue {
    background: linear-gradient(180deg, #161616 30%, rgba(107, 155, 255, 0.45) 160%);
}

#subjects .subject-block.military,
#roulette .subject-block.military,
#prize_area .subject-block.military {
    background: linear-gradient(180deg, #161616 30%, rgba(83, 204, 113, 0.45) 160%);
}

#subjects .subject-block.green,
#roulette .subject-block.green,
#prize_area .subject-block.green {
    background: linear-gradient(180deg, #161616 30%, rgba(83, 204, 113, 0.45) 160%);
}

#subjects .subject-block.teal,
#roulette .subject-block.teal,
#prize_area .subject-block.teal {
    background: linear-gradient(180deg, #161616 30%, rgba(69, 199, 192, 0.45) 160%);
}

#subjects .subject-block.yellow,
#roulette .subject-block.yellow,
#prize_area .subject-block.yellow {
    background: linear-gradient(180deg, #161616 30%, rgba(255, 204, 95, 0.45) 160%);
}

#subjects .subject-block.pink,
#roulette .subject-block.pink,
#prize_area .subject-block.pink {
    background: linear-gradient(180deg, #161616 30%, rgba(255, 115, 196, 0.45) 160%);
}

#subjects .subject-block.legendary,
#roulette .subject-block.legendary,
#prize_area .subject-block.legendary {
    background: linear-gradient(180deg, #161616 30%, rgba(255, 176, 103, 0.45) 160%);
}

#subjects .subject-block.mythic,
#roulette .subject-block.mythic,
#prize_area .subject-block.mythic {
    background: linear-gradient(180deg, #161616 30%, rgba(154, 124, 255, 0.45) 160%);
}

#subjects .subject-block.gold,
#roulette .subject-block.gold,
#prize_area .subject-block.gold {
    background: linear-gradient(180deg, #161616 30%, rgba(255, 183, 92, 0.45) 160%);
}

:is(#case_modals, #hidden_modals) .modal-dialog {
    margin: 28px auto;
}

:is(#case_modals, #hidden_modals) .modal-dialog.modal-lg {
    max-width: 920px;
}

:is(#case_modals, #hidden_modals) .modal-dialog.modal-sm {
    max-width: 420px;
}

:is(#case_modals, #hidden_modals) > .modal[id^="subject"] .modal-dialog {
    max-width: 800px;
}

:is(#case_modals, #hidden_modals) .modal-content {
    border-radius: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    background: linear-gradient(8deg, #131939 30%, #151c43 100%);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

:is(#case_modals, #hidden_modals) .modal-header {
    position: relative;
    border-bottom: none;
    padding: 17px 20px 14px;
    display: flex;
}

:is(#case_modals, #hidden_modals) .modal-header .close {
    position: absolute;
    right: 20px;
    top: 14px;
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0;
    height: 28px;
    width: 28px;
    opacity: 1;
    padding: 0;
    line-height: 1;
    font-weight: 500;
    color: #ff7373 !important;
    border-radius: 0;
    background: linear-gradient(14deg, #ff4b4b21 10%, #ff4b4b3d 100%);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

:is(#case_modals, #hidden_modals) .modal-body {
    padding: 0 20px 20px;
    color: #e5ebff;
}

#hidden_modals #prize .modal-header {
    min-height: 46px;
}

#hidden_modals #prize .modal-body h4 {
    margin-bottom: 12px;
}

#hidden_modals #prize #prize_area {
    display: flex;
    justify-content: center;
    padding: 14px 0 18px;
}

:is(#case_modals, #hidden_modals) #prize .modal-header {
    min-height: 46px;
}

:is(#case_modals, #hidden_modals) #prize .modal-body h4 {
    margin-bottom: 12px;
}

:is(#case_modals, #hidden_modals) #prize #prize_area {
    display: flex;
    justify-content: center;
    padding: 14px 0 18px;
}

:is(#case_modals, #hidden_modals) #prize #prize_area .subject-block {
    transform: scale(1.05);
    transform-origin: center top;
}

:is(#case_modals, #hidden_modals) #prize .modal-body p {
    margin-top: 10px;
}

#case_modals #prize .modal-body,
#hidden_modals #prize .modal-body {
    text-align: center;
    padding: 4px 24px 22px !important;
}

#case_modals #prize .modal-body h4,
#hidden_modals #prize .modal-body h4 {
    display: inline-block;
    margin: 0 auto 14px !important;
    padding: 0;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
}

#case_modals #prize .modal-body h4::after,
#hidden_modals #prize .modal-body h4::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #7f8fff 0%, #5f75ff 100%);
}

#case_modals #prize #prize_area,
#hidden_modals #prize #prize_area {
    display: flex !important;
    justify-content: center !important;
    padding: 6px 0 22px !important;
}

#case_modals #prize .modal-body p,
#hidden_modals #prize .modal-body p {
    margin: 0 auto;
    max-width: 420px;
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
    color: #eef2ff;
}

#case_modals #prize .modal-header .close,
#hidden_modals #prize .modal-header .close {
    display: none !important;
}

#prize .modal-header > .close,
#prize .modal-header > button.close {
    display: none !important;
}

.modal.show#prize .modal-header .close,
.modal.show#prize .modal-header > .close,
.modal.show#prize .modal-header > button.close {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
