﻿#fortune-wheel-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
}

.fortune-wheel-modal {
    z-index: 99998;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.fortune-wheel-show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.fortune-wheel-modal-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border-radius: 0.5rem;
    z-index: 2;
    background-size: cover;
}

.fortune-wheel-body-close {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    display: none;
    z-index: 1;
    position: fixed;
    cursor: default;
}

.fortune-wheel-show-modal .fortune-wheel-body-close {
    display: block;
}

#fortune-wheel-canvas {
    margin-top: -30px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.fortune-wheel-token {
    border: 2px solid #f8e39a;
    border-radius: 7px;
    width: 70px;
    height: 40px;
    text-align: center;
    word-break: break-all;
    background: #272221;
    position: absolute;
    bottom: 10%;
    left: 30%;
    right: 60%;
    color: #fff;
    line-height: 1;
    padding: 4px;
}

.fortune-wheel-spin-button {
    position: absolute;
    left: 50%;
    bottom: 11%;
    color: #272221;
    background-color: #f8e39a;
    z-index: 9;
}

.fortune-wheel-pointer-img {
    position: absolute;
    width: 45px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 10px;
}

.fortune-wheel-center-logo {
    position: absolute;
    width: 55px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 165px;
}

.fortune-wheel-hide {
    opacity: 0;
}

.fortune-wheel-prize {
    width: inherit;
    height: 380px;
    position: relative;
    text-align: center;
    z-index: 7;
    background-image: url('shine.png?v=3');
    display: none;
}

.fortune-wheel-prize div {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-shadow: 0px 1px 6px #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
}